1 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3 * version.h (RELEASE): Set to "development".
4 (VERSION): Set to "2.29.9000".
5 * NEWS: Add section for 2.30.
7 * version.h (RELEASE): Set to "stable".
8 (VERSION): Set to "2.29".
9 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
11 * NEWS: Add the list of bugs fixed in 2.29.
12 * manual/contrib.texi: Update contributors list with some more
14 * manual/install.texi: Update latest versions of packages
16 * INSTALL: Regenerated.
18 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
20 * po/be.po: Update translations.
43 * po/pt_BR.po: Likewise.
52 * po/zh_CN.po: Likewise.
53 * po/zh_TW.po: Likewise.
55 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
58 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
59 of $f3 register on $y_is_neg path.
61 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
64 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
67 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
70 * manual/time.texi (strftime): Document "%Ey".
71 * time/strftime_l.c (__strftime_internal): Set the default width
72 padding with zero of "%Ey" to 2.
75 * manual/time.texi (strftime): Document "%EC" and "%EY".
76 * time/Makefile (tests): Add tst-strftime2.
77 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
78 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
79 override padding for "%Ey".
80 If an optional flag ('_' or '-') is specified to "%EY", interpret the
81 "%Ey" in the subformat as if decorated with that flag.
82 * time/tst-strftime2.c: New file.
84 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
86 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
90 * elf/Makefile (tests): Add tst-audit13.
91 (modules-names): Add tst-audit13mod1.
92 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
94 * elf/rtld.c (dl_main): Handle invalid audit module version.
95 * elf/tst-audit13.c: New file.
96 * elf/tst-audit13mod1.c: Likewise.
98 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
100 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
101 returned by __hurd_at_flags.
102 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
103 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
104 directly instead of __hurd_file_name_lookup.
106 2019-01-21 Joseph Myers <joseph@codesourcery.com>
108 * scripts/build-many-glibcs.py (Context.checkout): Default
109 binutils version to 2.32 branch.
111 2019-01-21 Florian Weimer <fweimer@redhat.com>
115 resolv: Reject trailing characters in host names
116 * include/arpa/inet.h (__inet_aton_exact): Declare.
117 (inet_aton): Remove hidden prototype. No longer used internally.
118 * nscd/gai.c (__inet_aton): Do not define.
119 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
120 * nss/digits_dots.c (__inet_aton): Likewise.
121 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
122 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
123 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
124 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
125 (tst-resolv-trailing): Likewise.
126 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
128 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
129 Make static. Add endp parameter.
130 (__inet_aton_exact): New function.
131 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
132 (__inet_addr): Call inet_aton_end.
133 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
134 not just IPv6. Call __inet_aton_exact.
135 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
136 (tests): Make const. Add additional test cases with trailing
138 (do_test): Use array_length.
139 * resolv/tst-inet_aton_exact.c: New file.
140 * resolv/tst-resolv-trailing.c: Likewise.
141 * resolv/tst-resolv-nondecimal.c: Likewise.
142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
144 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
148 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
149 Clear the upper 32 bits of RSI register.
150 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
151 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
152 and tst-size_t-wcsnlen.
153 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
154 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
156 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
160 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
161 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
162 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
163 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
164 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
166 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
170 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
171 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
172 * sysdeps/x86_64/strcmp.S: Likewise.
173 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
174 tst-size_t-strncmp and tst-size_t-wcsncmp.
175 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
176 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
177 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
179 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
183 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
184 RDX_LP for length. Clear the upper 32 bits of RDX register.
185 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
186 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
187 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
188 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
190 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
194 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
195 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
196 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
197 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
199 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
203 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
204 length. Clear the upper 32 bits of RDX register.
205 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
206 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
208 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
210 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
212 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
214 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
218 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
219 length. Clear the upper 32 bits of RDX register.
220 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
221 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
222 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
224 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
225 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
227 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
231 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
232 upper 32 bits of RDX register.
233 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
234 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
236 * sysdeps/x86_64/x32/test-size_t.h: New file.
237 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
238 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
240 2019-01-18 Florian Weimer <fweimer@redhat.com>
243 resolv: Do not send queries for non-host-names in nss_dns.
244 * resolv/nss_dns/dns-host.c (check_name): New function.
245 (_nss_dns_gethostbyname2_r): Use it.
246 (_nss_dns_gethostbyname_r): Likewise.
247 (_nss_dns_gethostbyname4_r): Likewise.
249 2019-01-21 Florian Weimer <fweimer@redhat.com>
251 * resolv/inet_addr.c: Reformat to GNU style.
252 (__inet_addr, __inet_aton): Update comment.
254 2019-01-18 Florian Weimer <fweimer@redhat.com>
256 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
257 ("malloc: Use current (C11-style) atomics for fastbin access").
258 This commit introduces a substantial performance regression on
260 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
262 (_int_malloc): Use it and reindent.
263 (_int_free): Use CAS loop with
264 catomic_compare_and_exchange_val_rel.
265 (malloc_consolidate): Use atomic_exchange_acq.
268 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
270 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
272 (LDFLAGS-tst-minsigstksz-2): Likewise.
273 (LDFLAGS-tst-minsigstksz-3): Likewise.
274 (LDFLAGS-tst-minsigstksz-3a): Likewise.
275 (LDFLAGS-tst-minsigstksz-4): Likewise.
277 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
279 * manual/time.texi (strftime): Fix the wording to "alternative" rather
282 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
284 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
286 2019-01-16 Zack Weinberg <zackw@panix.com>
288 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
289 (xget_sigstack_location): New test support functions.
290 * support/xsigstack.c: New file, implementing them.
291 * support/tst-xsigstack.c: New test for them.
292 * support/Makefile: Update.
294 * signal/tst-minsigstksz-1.c
295 * signal/tst-minsigstksz-2.c
296 * signal/tst-minsigstksz-3.c
297 * signal/tst-minsigstksz-3a.c
298 * signal/tst-minsigstksz-4.c: New tests.
299 * signal/Makefile: Run them.
301 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
303 * po/libc.pot: Regenerate.
305 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
307 * math/libm-test-fma.inc (fma_test_data): Set
308 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
310 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
312 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
313 (do_test): Changed __vector __int128_t to __vector unsigned int.
315 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
318 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
319 stpcpy-avx2 and stpncpy-avx2.
320 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
321 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
322 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
324 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
325 ifunc-strcpy.h}: rename header for a more generic name.
326 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
327 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
328 AVX unaligned load is fast and vzeroupper is preferred.
329 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
330 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
331 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
332 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
333 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
334 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
336 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
338 * argp/argp-help.c: Fix typo in comment.
339 * misc/sys/cdefs.h: Likewise.
340 * posix/regexec.c (sift_states_iter_mb): Likewise.
341 * socket/sockatmark.c: Likewise.
342 * socket/sys/socket.h: Likewise.
343 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
344 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
345 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
347 * sysdeps/unix/sockatmark.c: Likewise.
348 * time/strptime_l.c: Likewise.
350 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
352 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
353 missing space after the cast of "_NL_CURRENT".
355 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
357 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
358 ifdef to fix read of VSCR.
359 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
360 tst-ucontext-ppc64-vscr.c to test list.
361 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
363 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
365 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
368 2019-01-09 Jim Wilson <jimw@sifive.com>
370 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
372 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
374 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
375 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
376 __memcpy_falkor for ares.
377 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
379 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
382 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
385 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
386 4_FP_W_TYPEs are used for IEEE quad precision.
387 * soft-fp/extendhftf2.c: Likewise.
388 * soft-fp/extendsftf2.c: Likewise.
389 * soft-fp/extendxftf2.c: Likewise.
390 * soft-fp/trunctfdf2.c: Likewise.
391 * soft-fp/trunctfhf2.c: Likewise.
392 * soft-fp/trunctfsf2.c: Likewise.
393 * soft-fp/trunctfxf2.c: Likewise.
394 * sysdeps/alpha/ots_cvttx.c: Likewise.
395 * sysdeps/alpha/ots_cvtxt.c: Likewise.
396 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
397 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
398 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
399 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
400 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
401 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
402 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
403 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
404 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
405 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
406 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
407 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
408 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
409 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
410 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
411 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
413 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
416 * Makeconfig: Build libm with -fno-math-errno but build the remaining
417 code with -fmath-errno.
418 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
419 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
420 * string/test-strerror-errno.c: New file.
422 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
425 * localedata/locales/en_US (date_fmt): Add, set to
428 2019-01-07 Florian Weimer <fweimer@redhat.com>
431 * manual/arith.texi (Math Error Reporting): Use @code{errno}
432 instead of @var{errno}.
433 (Parsing of Integers): Likewise.
434 (Parsing of Floats): Likewise.
435 * manual/filesys.texi (Working with Directory Trees): Likewise.
436 (Temporary Files): Likewise.
437 * manual/job.texi (Terminal Access Functions): Likewise.
438 * manual/llio.texi (Synchronizing I/O): Likewise.
439 * manual/math.texi (SVID Random): Likewise.
440 * manual/message.texi (The catgets Functions): Likewise.
441 (Translation with gettext): Likewise.
442 (Locating gettext catalog): Likewise.
443 (Charset conversion in gettext): Likewise.
444 * manual/nss.texi (NSS Module Function Internals): Likewise.
445 * manual/search.texi (Hash Search Function): Likewise.
446 * manual/setjmp.texi (System V contexts): Likewise.
447 * manual/time.texi (Sleeping): Likewise.
448 * manual/users.texi (Lookup User): Likewise.
449 (Lookup Group): Likewise.
451 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
453 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
456 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
459 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
460 __builtin_unreachable for default case in switch.
461 (__ieee754_yn): Likewise.
462 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
463 (__ieee754_ynl): Likewise.
464 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
465 (__ieee754_ynl): Likewise.
466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
467 (__ieee754_ynl): Likewise.
469 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
471 * manual/maint.texi: Use @{ and @}.
473 2019-01-04 Florian Weimer <fweimer@redhat.com>
475 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
477 (do_in_chroot_1): Call it.
479 Improve error reporting in case it is not possible to create a
480 collision for the PTY name required by the test.
482 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
484 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
485 lll_wait_tid with timeout.
486 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
487 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
488 futex_reltimed_wait_cancelable for cancelabla mode.
489 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
490 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
492 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
493 * sysdeps/posix/waitid.c (__sigwait): Likewise.
494 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
495 SYSCALL_CANCEL_NCS): New macro.
496 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
497 (lll_timedwait_tid): Remove macro.
498 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
500 (lll_timedwait_tid): Likewise.
501 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
503 (lll_timedwait_tid): Likewise.
504 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
506 (lll_timedwait_tid): Likewise.
507 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
508 Use INTERNAL_SYSCALL_CANCEL.
509 * sysdeps/unix/sysv/linux/futex-internal.h
510 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
511 instead of __pthread_{enable,disable}_asynccancel.
512 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
513 (lll_futex_wait_cancel): New macro.
515 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
516 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
518 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
519 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
521 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
522 in backtrace analysis.
523 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
527 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
528 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
529 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
530 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
531 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
532 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
533 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
534 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
535 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
536 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
537 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
538 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
540 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
541 tst-cancel-wrappers.sh.
542 (generated): Remove tst-cancel-wrappers.out.
543 (tst-cancel-wrappers.out): Remove rule.
544 * nptl/tst-cancel-wrappers.sh: Remove file.
546 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
548 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
549 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
552 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
555 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
556 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
557 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
558 close-on-exec reset for adddup2 file action.
559 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
561 2019-01-03 Zack Weinberg <zackw@panix.com>
563 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
564 parameter. Only use deprecated scanf when __USE_GNU is defined
565 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
566 than 201103L, whichever is relevant for the language being compiled.
568 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
569 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
570 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
571 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
572 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
581 * stdio-common/fscanf.c
582 * stdio-common/scanf.c
583 * stdio-common/vfscanf.c
584 * stdio-common/vfwscanf.c
585 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
586 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
587 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
588 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
589 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
590 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
591 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
592 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
593 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
594 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
595 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
596 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
597 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
598 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
599 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
601 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
602 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
603 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
605 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
606 with a preprocessor macro.
608 * stdio-common/bug21.c, stdio-common/scanf14.c:
609 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
610 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
611 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
612 to xscanf, xfscanf, xsscanf.
614 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
615 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
616 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
617 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
619 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
620 override feature selection macros or provide definitions of u_char etc.
621 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
622 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
623 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
626 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
630 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
631 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
632 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
633 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
634 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
635 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
637 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
638 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
639 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
640 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
641 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
642 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
644 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
645 (sysdep_headers): Add termios-misc.h.
647 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
648 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
649 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
653 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
654 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
655 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
656 TCSAFLUSH): Move to termios-tcflow.h.
657 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
658 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
659 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
660 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
664 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
665 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
666 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
667 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
668 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
669 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
670 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
671 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
673 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
674 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
675 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
676 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
680 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
681 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
682 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
683 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
684 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
686 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
687 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
688 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
689 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
694 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
695 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
696 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
697 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
698 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
699 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
700 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
701 __MAX_BAUD): Move to termios-baud.h.
702 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
703 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
704 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
705 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
706 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
708 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
710 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
711 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
712 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
713 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
714 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
715 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
717 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
718 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
720 [USE_MISC] (XTABS): Likewise.
721 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
722 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
723 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
724 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
726 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
728 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
729 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
730 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
731 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
732 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
733 IUTF8): Move to termios-c_iflag.h.
734 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
735 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
736 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
737 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
739 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
741 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
742 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
743 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
744 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
745 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
746 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
747 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
748 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
749 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
750 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
752 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
754 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
755 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
756 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
757 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
760 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
762 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
764 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
766 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
768 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
770 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
771 _HAVE_C_OSPEED): Define.
772 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
773 _HAVE_C_OSPEED): Likewise.
774 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
775 _HAVE_C_OSPEED): Likewise.
776 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
777 (cfsetospeed): Check for define value instead of existence.
778 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
779 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
780 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
781 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
782 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
785 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
787 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
788 (TIOCSER_TEMT): Likewise.
789 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
790 (TEOCSER_TEMT): Likewise.
792 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
795 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
797 2019-01-02 Joseph Myers <joseph@codesourcery.com>
799 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
801 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
803 * sysdeps/htl/pt-barrierattr-setpshared.c
804 (pthread_barrierattr_setpshared): Add stub warning.
805 * sysdeps/htl/pt-condattr-setpshared.c
806 (pthread_condattr_setpshared): Likewise.
807 * sysdeps/htl/pt-mutexattr-setpshared.c
808 (pthread_mutexattr_setpshared): Likewise.
809 * sysdeps/htl/pt-rwlockattr-setpshared.c
810 (pthread_rwlockattr_setpshared): Likewise.
811 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
812 (pthread_mutexattr_setpshared): Likewise.
814 2019-01-02 Joseph Myers <joseph@codesourcery.com>
816 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
817 constants to match with Linux 4.20.
819 * sysdeps/mips/mips32/libm-test-ulps: Update.
820 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
822 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
825 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
826 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
827 than __typeof (...) for the a_ptr variable.
829 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
831 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
832 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
833 * libio/Makefile (tests): Add tst-sprintf-ub and
835 (CFLAGS-tst-sprintf-ub.c): New variable.
836 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
837 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
838 destination buffer and check for overflows in fortified mode.
839 * libio/libioP.h (PRINTF_CHK): New macro.
840 * libio/tst-sprintf-chk-ub.c: New file.
841 * libio/tst-sprintf-ub.c: Likewise.
843 2019-01-02 Florian Weimer <fweimer@redhat.com>
846 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
849 2019-01-02 Florian Weimer <fweimer@redhat.com>
851 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
853 2019-01-01 Joseph Myers <joseph@codesourcery.com>
855 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
858 * sysdeps/unix/sysv/linux/netpacket/packet.h
859 (PACKET_IGNORE_OUTGOING): New macro.
861 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
864 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
866 (riscv_flush_icache): New syscall.
868 * manual/texinfo.tex: Update to version 2018-12-28.17 with
869 trailing whitespace removed.
870 * scripts/config.guess: Update to version 2019-01-01.
871 * scripts/config.sub: Update to version 2019-01-01.
872 * scripts/move-if-change: Update from gnulib.
874 * NEWS: Update copyright dates.
875 * catgets/gencat.c (print_version): Likewise.
876 * csu/version.c (banner): Likewise.
877 * debug/catchsegv.sh: Likewise.
878 * debug/pcprofiledump.c (print_version): Likewise.
879 * debug/xtrace.sh (do_version): Likewise.
880 * elf/ldconfig.c (print_version): Likewise.
881 * elf/ldd.bash.in: Likewise.
882 * elf/pldd.c (print_version): Likewise.
883 * elf/sotruss.sh: Likewise.
884 * elf/sprof.c (print_version): Likewise.
885 * iconv/iconv_prog.c (print_version): Likewise.
886 * iconv/iconvconfig.c (print_version): Likewise.
887 * locale/programs/locale.c (print_version): Likewise.
888 * locale/programs/localedef.c (print_version): Likewise.
889 * login/programs/pt_chown.c (print_version): Likewise.
890 * malloc/memusage.sh (do_version): Likewise.
891 * malloc/memusagestat.c (print_version): Likewise.
892 * malloc/mtrace.pl: Likewise.
893 * manual/libc.texinfo: Likewise.
894 * nptl/version.c (banner): Likewise.
895 * nscd/nscd.c (print_version): Likewise.
896 * nss/getent.c (print_version): Likewise.
897 * nss/makedb.c (print_version): Likewise.
898 * posix/getconf.c (main): Likewise.
899 * scripts/test-installation.pl: Likewise.
900 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
902 * All files with FSF copyright notices: Update copyright dates
903 using scripts/update-copyrights.
904 * locale/programs/charmap-kw.h: Regenerated.
905 * locale/programs/locfile-kw.h: Likewise.
907 2018-12-31 Joseph Myers <joseph@codesourcery.com>
909 * timezone/zdump.c: Update from tzcode 2018i.
910 * timezone/zic.c: Likewise.
912 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
914 regex: improve Gnulib port to AIX
915 From the glibc point of view, this removes duplicate macro
916 definitions and is obviously safe.
917 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
918 * posix/regex_internal.h:
919 (__attribute__, __attribute_warn_unused_result__):
920 Remove; already defined elsewhere.
922 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
925 * malloc/malloc.c (_int_realloc): Always call memcpy for the
926 copying operation. (ncopies had the wrong type, resulting in an
927 integer wraparound and too few elements being copied.)
929 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
932 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
933 <asm/syscalls.h> exists with __has_include__ before including it.
935 2018-12-31 Joseph Myers <joseph@codesourcery.com>
937 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
940 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
942 * hurd/lookup-retry: Include <unistd.h>.
943 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
944 Release it on return. Handle "pid" magical lookup retry.
946 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
949 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
950 (t_fmt_ampm): Likewise.
951 * localedata/locales/aa_ER (t_fmt): Likewise.
952 (t_fmt_ampm): Likewise.
953 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
954 (t_fmt_ampm): Likewise.
955 * localedata/locales/aa_ET (t_fmt): Likewise.
956 (t_fmt_ampm): Likewise.
957 * localedata/locales/am_ET (t_fmt): Likewise.
958 (t_fmt_ampm): Likewise.
959 * localedata/locales/byn_ER (t_fmt): Likewise.
960 (t_fmt_ampm): Likewise.
961 * localedata/locales/om_ET (t_fmt): Likewise.
962 (t_fmt_ampm): Likewise.
963 * localedata/locales/sid_ET (t_fmt): Likewise.
964 (t_fmt_ampm): Likewise.
965 * localedata/locales/so_DJ (t_fmt): Likewise.
966 (t_fmt_ampm): Likewise.
967 * localedata/locales/so_ET (t_fmt): Likewise.
968 (t_fmt_ampm): Likewise.
969 * localedata/locales/so_SO (t_fmt): Likewise.
970 (t_fmt_ampm): Likewise.
971 * localedata/locales/ti_ER (t_fmt): Likewise.
972 (t_fmt_ampm): Likewise.
973 * localedata/locales/ti_ET (t_fmt): Likewise.
974 (t_fmt_ampm): Likewise.
975 * localedata/locales/tig_ER (t_fmt): Likewise.
976 (t_fmt_ampm): Likewise.
977 * localedata/locales/wal_ET (t_fmt): Likewise.
978 (t_fmt_ampm): Likewise.
980 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
981 * localedata/locales/ar_IN (t_fmt): Likewise.
982 * localedata/locales/bhb_IN (t_fmt): Likewise.
983 * localedata/locales/bho_IN (t_fmt): Likewise.
984 * localedata/locales/bi_VU (t_fmt): Likewise.
985 * localedata/locales/bn_BD (t_fmt): Likewise.
986 * localedata/locales/bn_IN (t_fmt): Likewise.
987 * localedata/locales/brx_IN (t_fmt): Likewise.
988 * localedata/locales/doi_IN (t_fmt): Likewise.
989 * localedata/locales/en_HK (t_fmt): Likewise.
990 (t_fmt_ampm): Likewise.
991 * localedata/locales/en_IN (t_fmt): Likewise.
992 * localedata/locales/en_PH (t_fmt): Likewise.
993 * localedata/locales/gu_IN (t_fmt): Likewise.
994 * localedata/locales/hi_IN (t_fmt): Likewise.
995 * localedata/locales/hif_FJ (t_fmt): Likewise.
996 * localedata/locales/hne_IN (t_fmt): Likewise.
997 * localedata/locales/kn_IN (t_fmt): Likewise.
998 * localedata/locales/kok_IN (t_fmt): Likewise.
999 * localedata/locales/ks_IN (t_fmt): Likewise.
1000 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1001 * localedata/locales/mag_IN (t_fmt): Likewise.
1002 * localedata/locales/mai_IN (t_fmt): Likewise.
1003 * localedata/locales/mjw_IN (t_fmt): Likewise.
1004 * localedata/locales/ml_IN (t_fmt): Likewise.
1005 * localedata/locales/mni_IN (t_fmt): Likewise.
1006 * localedata/locales/mr_IN (t_fmt): Likewise.
1007 * localedata/locales/ms_MY (t_fmt): Likewise.
1008 * localedata/locales/pa_IN (t_fmt): Likewise.
1009 * localedata/locales/raj_IN (t_fmt): Likewise.
1010 * localedata/locales/sa_IN (t_fmt): Likewise.
1011 * localedata/locales/sat_IN (t_fmt): Likewise.
1012 * localedata/locales/sd_IN (t_fmt): Likewise.
1013 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1014 * localedata/locales/tcy_IN (t_fmt): Likewise.
1015 * localedata/locales/the_NP (t_fmt): Likewise.
1016 * localedata/locales/to_TO (t_fmt): Likewise.
1017 * localedata/locales/ur_IN (t_fmt): Likewise.
1019 * localedata/locales/hif_FJ (d_t_fmt): Set to
1020 "%A %d %b %Y %I:%M:%S %p".
1021 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1023 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1024 * localedata/locales/ar_BH (t_fmt): Likewise.
1025 * localedata/locales/ar_DZ (t_fmt): Likewise.
1026 * localedata/locales/ar_EG (t_fmt): Likewise.
1027 * localedata/locales/ar_IQ (t_fmt): Likewise.
1028 * localedata/locales/ar_JO (t_fmt): Likewise.
1029 * localedata/locales/ar_KW (t_fmt): Likewise.
1030 * localedata/locales/ar_LB (t_fmt): Likewise.
1031 * localedata/locales/ar_LY (t_fmt): Likewise.
1032 * localedata/locales/ar_OM (t_fmt): Likewise.
1033 * localedata/locales/ar_QA (t_fmt): Likewise.
1034 * localedata/locales/ar_SD (t_fmt): Likewise.
1035 * localedata/locales/ar_SS (t_fmt): Likewise.
1036 * localedata/locales/ar_SY (t_fmt): Likewise.
1037 * localedata/locales/ar_TN (t_fmt): Likewise.
1038 * localedata/locales/ar_YE (t_fmt): Likewise.
1040 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1041 (t_fmt_ampm): Likewise.
1042 * localedata/locales/gez_ET (t_fmt): Likewise.
1043 (t_fmt_ampm): Likewise.
1045 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1046 (t_fmt_ampm): Likewise.
1047 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1049 * localedata/locales/zh_HK (t_fmt):
1050 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1052 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1053 because this locale does not use the 12-hour clock.
1054 (t_fmt): Set to "%Z %H:%M:%S".
1055 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1057 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1058 because this locale does not use the 12-hour clock.
1059 (t_fmt): Set to "%H:%M:%S %Z".
1060 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1062 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1063 because this locale does not use the 12-hour clock.
1064 (t_fmt): Set to "%T".
1065 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1066 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1068 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1069 because this locale does not use the 12-hour clock.
1070 (t_fmt): Set to "%H:%M:%S %Z".
1071 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1073 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1074 because this locale does not use the 12-hour clock.
1075 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1076 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1078 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1082 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1083 (t_fmt_ampm): Likewise.
1084 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1085 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1086 (d_fmt): Set to "%-d.%-m.%y".
1088 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1090 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1091 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1092 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1094 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1095 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1096 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1098 * support/blob_repeat.c (check_mul_overflow_size_t,
1099 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1101 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1103 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1105 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1107 regex: simplify Gnulib port
1108 This simplifies the code, by removing stuff intended for porting
1109 to Gnulib but no longer needed there.
1110 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1111 uses of libc_hidden_def, weak_alias.
1112 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1113 _Restrict_ except for public-facing headers.
1114 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1115 Remove; already defined elsewhere.
1116 * posix/regex.c, posix/regex_internal.h:
1117 Use __GNUC_PREREQ instead of rolling our own.
1118 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1120 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1122 * benchtests/bench-strlen.c (generic_strlen): New function.
1123 (memchr_strlen): New function.
1125 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1127 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1128 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1129 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1131 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1133 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1135 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1137 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1138 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1139 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1140 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1141 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1142 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1143 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1145 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1148 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1149 PLT reference in libc.so.
1150 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1151 _Q_lltoq and _Q_qtod PLT references in libc.so.
1153 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1155 * benchtests/bench-memchr.c: Cleanup defines.
1156 * benchtests/bench-memcmp.c: Likewise.
1157 * benchtests/bench-memset.c: Likewise.
1158 * benchtests/bench-memset-large.c: Likewise.
1159 * benchtests/bench-memset-walk.c: Likewise.
1160 * benchtests/bench-stpcpy.c: Likewise.
1161 * benchtests/bench-stpncpy.c: Likewise.
1162 * benchtests/bench-strcat.c: Likewise.
1163 * benchtests/bench-strchr.c: Likewise.
1164 * benchtests/bench-strcmp.c: Likewise.
1165 * benchtests/bench-strcpy.c: Likewise.
1166 * benchtests/bench-strcspn.c: Likewise.
1167 * benchtests/bench-string.h: Likewise.
1168 * benchtests/bench-strlen.c: Likewise.
1169 * benchtests/bench-strncat.c: Likewise.
1170 * benchtests/bench-strncmp.c: Likewise.
1171 * benchtests/bench-strncpy.c: Likewise.
1172 * benchtests/bench-strnlen.c: Likewise.
1173 * benchtests/bench-strpbrk.c: Likewise.
1174 * benchtests/bench-strrchr.c: Likewise.
1175 * benchtests/bench-strspn.c: Likewise.
1177 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1179 * stdlib/longlong.h: Update from GCC.
1182 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1183 * configure: Regenerated.
1184 * manual/install.texi (Tools for Compilation): Update minimum GCC
1186 * INSTALL: Regenerated.
1188 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1190 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1192 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1194 * malloc/malloc.c (mremap_chunk): Additional checks.
1196 2018-12-21 Mao Han <han_mao@c-sky.com>
1198 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1199 * scripts/build-many-glibcs.py: Add C-SKY targets.
1200 * sysdeps/csky/Implies: New file.
1201 * sysdeps/csky/Makefile: Likewise.
1202 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1203 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1204 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1205 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1206 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1207 * sysdeps/csky/abiv2/memmove.S: Likewise.
1208 * sysdeps/csky/abiv2/memset.S: Likewise.
1209 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1210 * sysdeps/csky/abiv2/start.S: Likewise.
1211 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1212 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1213 * sysdeps/csky/abiv2/strlen.S: Likewise.
1214 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1215 * sysdeps/csky/abort-instr.h: Likewise.
1216 * sysdeps/csky/atomic-machine.h: Likewise.
1217 * sysdeps/csky/bits/endian.h: Likewise.
1218 * sysdeps/csky/bits/fenv.h: Likewise.
1219 * sysdeps/csky/bits/link.h: Likewise.
1220 * sysdeps/csky/bits/setjmp.h: Likewise.
1221 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1222 * sysdeps/csky/bsd-setjmp.S: Likewise.
1223 * sysdeps/csky/configure: Likewise.
1224 * sysdeps/csky/configure.ac: Likewise.
1225 * sysdeps/csky/dl-machine.h: Likewise.
1226 * sysdeps/csky/dl-procinfo.c: Likewise.
1227 * sysdeps/csky/dl-procinfo.h: Likewise.
1228 * sysdeps/csky/dl-sysdep.h: Likewise.
1229 * sysdeps/csky/dl-tls.h: Likewise.
1230 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1231 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1232 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1233 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1234 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1235 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1236 * sysdeps/csky/fpu/fegetround.c: Likewise.
1237 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1238 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1239 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1240 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1241 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1242 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1243 * sysdeps/csky/fpu/fesetround.c: Likewise.
1244 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1245 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1246 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1247 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1248 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1249 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1250 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1251 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1252 * sysdeps/csky/fpu_control.h: Likewise.
1253 * sysdeps/csky/gccframe.h: Likewise.
1254 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1255 * sysdeps/csky/ldsodefs.h: Likewise.
1256 * sysdeps/csky/libc-tls.c: Likewise.
1257 * sysdeps/csky/linkmap.h: Likewise.
1258 * sysdeps/csky/machine-gmon.h: Likewise.
1259 * sysdeps/csky/memusage.h: Likewise.
1260 * sysdeps/csky/nofpu/Implies: Likewise.
1261 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1262 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1263 * sysdeps/csky/nptl/Makefile: Likewise.
1264 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1265 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1266 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1267 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1268 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1269 * sysdeps/csky/nptl/tls.h: Likewise.
1270 * sysdeps/csky/preconfigure: Likewise.
1271 * sysdeps/csky/sfp-machine.h: Likewise.
1272 * sysdeps/csky/sotruss-lib.c: Likewise.
1273 * sysdeps/csky/stackinfo.h: Likewise.
1274 * sysdeps/csky/sysdep.h: Likewise.
1275 * sysdeps/csky/tininess.h: Likewise.
1276 * sysdeps/csky/tst-audit.h: Likewise.
1277 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1278 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1279 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1280 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1281 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1282 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1283 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1284 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1285 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1286 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1287 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1288 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1289 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1290 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1291 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1292 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1293 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1294 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1295 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1296 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1297 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1298 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1299 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1300 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1301 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1302 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1303 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1304 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1305 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1306 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1307 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1308 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1309 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1310 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1311 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1312 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1313 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1314 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1315 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1316 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1317 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1318 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1319 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1320 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1322 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1324 * include/time.h (__difftime64): Add.
1325 * time/difftime.c (subtract): convert to 64-bit time.
1326 * time/difftime.c (__difftime64): Add.
1327 * time/difftime.c (__difftime): Wrap around __difftime64.
1329 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1331 * manual/examples/add.c: Remove redundant "if not".
1332 * manual/examples/argp-ex1.c: Likewise.
1333 * manual/examples/argp-ex2.c: Likewise.
1334 * manual/examples/argp-ex3.c: Likewise.
1335 * manual/examples/argp-ex4.c: Likewise.
1336 * manual/examples/atexit.c: Likewise.
1337 * manual/examples/db.c: Likewise.
1338 * manual/examples/dir.c: Likewise.
1339 * manual/examples/dir2.c: Likewise.
1340 * manual/examples/execinfo.c: Likewise.
1341 * manual/examples/filecli.c: Likewise.
1342 * manual/examples/filesrv.c: Likewise.
1343 * manual/examples/fmtmsgexpl.c: Likewise.
1344 * manual/examples/genpass.c: Likewise.
1345 * manual/examples/inetcli.c: Likewise.
1346 * manual/examples/inetsrv.c: Likewise.
1347 * manual/examples/isockad.c: Likewise.
1348 * manual/examples/longopt.c: Likewise.
1349 * manual/examples/memopen.c: Likewise.
1350 * manual/examples/memstrm.c: Likewise.
1351 * manual/examples/mkdirent.c: Likewise.
1352 * manual/examples/mkfsock.c: Likewise.
1353 * manual/examples/mkisock.c: Likewise.
1354 * manual/examples/mygetpass.c: Likewise.
1355 * manual/examples/pipe.c: Likewise.
1356 * manual/examples/popen.c: Likewise.
1357 * manual/examples/rprintf.c: Likewise.
1358 * manual/examples/search.c: Likewise.
1359 * manual/examples/select.c: Likewise.
1360 * manual/examples/setjmp.c: Likewise.
1361 * manual/examples/sigh1.c: Likewise.
1362 * manual/examples/sigusr.c: Likewise.
1363 * manual/examples/stpcpy.c: Likewise.
1364 * manual/examples/strdupa.c: Likewise.
1365 * manual/examples/strftim.c: Likewise.
1366 * manual/examples/subopt.c: Likewise.
1367 * manual/examples/swapcontext.c: Likewise.
1368 * manual/examples/termios.c: Likewise.
1369 * manual/examples/testopt.c: Likewise.
1370 * manual/examples/testpass.c: Likewise.
1371 * manual/examples/timeval_subtract.c: Likewise.
1373 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1375 * sysdeps/x86/fpu/math_private.h: New file.
1376 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1378 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1383 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1385 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1386 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1387 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1388 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1390 (_dl_show_auxv): Give a special treatment to
1391 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1392 and AT_L3_CACHEGEOMETRY.
1393 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1394 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1395 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1396 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1398 2018-12-19 Andreas Schwab <schwab@suse.de>
1400 * nscd/connections.c (check_use): Don't abort on invalid len.
1402 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1404 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1405 values in the 64bit value cases.
1407 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1413 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1419 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1422 (__gmtime64_r): Add.
1424 (__gmtime64_r): Add.
1425 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1431 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1434 (__localtime64_r): Add.
1436 (__localtime64_r): Add.
1437 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1439 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1441 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1442 kernel_sigction definition.
1444 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1446 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1448 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1449 __syscall_rt_sigaction.
1450 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1451 (kernel_sigaction): Use Linux generic defintion.
1453 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1454 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1455 (__syscall_rt_sigaction): Remove implementation.
1456 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1458 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1459 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1460 INTERNAL_SYSCALL): Remove definitions.
1461 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1462 action and signal set size.
1463 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1464 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1466 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1467 James Clarke <jrtc27@jrtc27.com>
1470 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1471 Define if SA_RESTORER is defined.
1472 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1473 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1475 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1476 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1478 (HAS_SA_RESTORER): Define.
1479 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1480 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1481 (HAS_SA_RESTORER): Define.
1482 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1483 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1484 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1485 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1486 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1488 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1490 * sysdeps/unix/sysv/linux/kernel-features.h
1491 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1492 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1493 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1494 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1495 (__ASSUME_ST_INO_64_BIT): Likewise.
1496 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1497 <kernel-features.h>.
1498 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1499 Remove conditional code.
1500 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1501 <kernel-features.h>.
1502 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1503 Remove conditional code.
1504 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1505 <kernel-features.h>.
1506 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1507 Remove conditional code.
1508 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1509 <kernel-features.h>.
1510 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1511 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1513 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1515 * sysdeps/s390/multiarch/ifunc-resolve.h
1516 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1517 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1518 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1519 Delete macro definition.
1520 (s390_libc_ifunc_init): Rename to
1521 s390_libc_ifunc_expr_stfle_init.
1522 * sysdeps/s390/bzero: Use
1523 s390_libc_ifunc_expr_stfle_init instead of
1524 s390_libc_ifunc_init.
1525 * sysdeps/s390/memcmp.c: Likewise.
1526 * sysdeps/s390/memcpy.c: Likewise.
1527 * sysdeps/s390/mempcpy.c: Likewise.
1528 * sysdeps/s390/memset.c: Likewise.
1530 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1532 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1533 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1535 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1537 * sysdeps/s390/multiarch/Makefile
1538 (sysdep_routines): Remove wmemcmp variants.
1539 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1540 * sysdeps/s390/multiarch/ifunc-impl-list.c
1541 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1542 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1543 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1544 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1545 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1546 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1547 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1548 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1550 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1552 * sysdeps/s390/multiarch/Makefile
1553 (sysdep_routines): Remove wmemset variants.
1554 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1555 * sysdeps/s390/multiarch/ifunc-impl-list.c
1556 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1557 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1558 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1559 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1560 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1561 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1562 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1563 * sysdeps/s390/ifunc-wmemset.h: New file.
1565 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1567 * sysdeps/s390/multiarch/Makefile
1568 (sysdep_routines): Remove wmemchr variants.
1569 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1570 * sysdeps/s390/multiarch/ifunc-impl-list.c
1571 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1572 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1573 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1574 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1575 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1576 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1577 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1578 * sysdeps/s390/ifunc-wmemchr.h: New file.
1580 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1582 * sysdeps/s390/multiarch/Makefile
1583 (sysdep_routines): Remove wcscspn variants.
1584 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1585 * sysdeps/s390/multiarch/ifunc-impl-list.c
1586 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1587 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1588 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1589 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1590 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1591 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1592 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1593 * sysdeps/s390/ifunc-wcscspn.h: New file.
1595 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1597 * sysdeps/s390/multiarch/Makefile
1598 (sysdep_routines): Remove wcspbrk variants.
1599 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1600 * sysdeps/s390/multiarch/ifunc-impl-list.c
1601 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1602 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1603 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1604 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1605 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1606 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1607 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1608 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1610 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1612 * sysdeps/s390/multiarch/Makefile
1613 (sysdep_routines): Remove wcsspn variants.
1614 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1615 * sysdeps/s390/multiarch/ifunc-impl-list.c
1616 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1617 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1618 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1619 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1620 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1621 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1622 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1623 * sysdeps/s390/ifunc-wcsspn.h: New file.
1625 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1627 * sysdeps/s390/multiarch/Makefile
1628 (sysdep_routines): Remove wcsrchr variants.
1629 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1630 * sysdeps/s390/multiarch/ifunc-impl-list.c
1631 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1632 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1633 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1634 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1635 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1636 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1637 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1638 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1640 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1642 * sysdeps/s390/multiarch/Makefile
1643 (sysdep_routines): Remove wcschrnul variants.
1644 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1645 * sysdeps/s390/multiarch/ifunc-impl-list.c
1646 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1647 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1648 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1649 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1650 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1651 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1652 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1653 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1655 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1657 * sysdeps/s390/multiarch/Makefile
1658 (sysdep_routines): Remove wcschr variants.
1659 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1660 * sysdeps/s390/multiarch/ifunc-impl-list.c
1661 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1662 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1663 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1664 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1665 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1666 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1667 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1668 * sysdeps/s390/ifunc-wcschr.h: New file.
1670 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1672 * sysdeps/s390/multiarch/Makefile
1673 (sysdep_routines): Remove wcsncmp variants.
1674 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1675 * sysdeps/s390/multiarch/ifunc-impl-list.c
1676 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1677 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1678 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1679 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1680 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1681 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1682 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1683 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1685 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1687 * sysdeps/s390/multiarch/Makefile
1688 (sysdep_routines): Remove wcscmp variants.
1689 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1690 * sysdeps/s390/multiarch/ifunc-impl-list.c
1691 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1692 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1693 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1694 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1695 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1696 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1697 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1698 * sysdeps/s390/ifunc-wcscmp.h: New file.
1700 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1702 * sysdeps/s390/multiarch/Makefile
1703 (sysdep_routines): Remove wcsncat variants.
1704 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1705 * sysdeps/s390/multiarch/ifunc-impl-list.c
1706 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1707 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1708 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1709 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1710 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1711 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1712 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1713 * sysdeps/s390/ifunc-wcsncat.h: New file.
1715 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1717 * sysdeps/s390/multiarch/Makefile
1718 (sysdep_routines): Remove wcscat variants.
1719 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1720 * sysdeps/s390/multiarch/ifunc-impl-list.c
1721 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1722 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1723 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1724 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1725 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1726 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1727 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1728 * sysdeps/s390/ifunc-wcscat.h: New file.
1730 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1732 * sysdeps/s390/multiarch/Makefile
1733 (sysdep_routines): Remove wcpncpy variants.
1734 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
1735 * sysdeps/s390/multiarch/ifunc-impl-list.c
1736 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
1737 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
1738 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
1739 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
1740 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
1741 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
1742 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
1743 * sysdeps/s390/ifunc-wcpncpy.h: New file.
1745 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1747 * sysdeps/s390/multiarch/Makefile
1748 (sysdep_routines): Remove wcsncpy variants.
1749 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
1750 * sysdeps/s390/multiarch/ifunc-impl-list.c
1751 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
1752 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
1753 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
1754 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
1755 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
1756 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
1757 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
1758 * sysdeps/s390/ifunc-wcsncpy.h: New file.
1760 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1762 * sysdeps/s390/multiarch/Makefile
1763 (sysdep_routines): Remove wcpcpy variants.
1764 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
1765 * sysdeps/s390/multiarch/ifunc-impl-list.c
1766 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
1767 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
1768 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
1769 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
1770 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
1771 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
1772 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
1773 * sysdeps/s390/ifunc-wcpcpy.h: New file.
1775 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1777 * sysdeps/s390/multiarch/Makefile
1778 (sysdep_routines): Remove wcscpy variants.
1779 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
1780 * sysdeps/s390/multiarch/ifunc-impl-list.c
1781 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
1782 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
1783 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
1784 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
1785 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
1786 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
1787 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
1788 * sysdeps/s390/ifunc-wcscpy.h: New file.
1790 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1792 * sysdeps/s390/multiarch/Makefile
1793 (sysdep_routines): Remove wcsnlen variants.
1794 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
1795 * sysdeps/s390/multiarch/ifunc-impl-list.c
1796 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
1797 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
1798 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
1799 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
1800 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
1801 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
1802 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
1803 * sysdeps/s390/ifunc-wcsnlen.h: New file.
1805 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1807 * sysdeps/s390/multiarch/Makefile
1808 (sysdep_routines): Remove wcslen variants.
1809 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
1810 * sysdeps/s390/multiarch/ifunc-impl-list.c
1811 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
1812 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
1813 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
1814 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
1815 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
1816 * sysdeps/s390/multiarch/wcslen.c: Move to ...
1817 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
1818 * sysdeps/s390/ifunc-wcslen.h: New file.
1820 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1822 * sysdeps/s390/multiarch/Makefile
1823 (sysdep_routines): Remove memrchr variants.
1824 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
1825 * sysdeps/s390/multiarch/ifunc-impl-list.c
1826 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
1827 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
1828 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
1829 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
1830 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
1831 * sysdeps/s390/multiarch/memrchr.c: Move to ...
1832 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
1833 * sysdeps/s390/ifunc-memrchr.h: New file.
1835 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1837 * sysdeps/s390/multiarch/Makefile
1838 (sysdep_routines): Remove memccpy variants.
1839 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
1840 * sysdeps/s390/multiarch/ifunc-impl-list.c
1841 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
1842 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
1843 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
1844 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
1845 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
1846 * sysdeps/s390/multiarch/memccpy.c: Move to ...
1847 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
1848 * sysdeps/s390/ifunc-memccpy.h: New file.
1850 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1852 * sysdeps/s390/multiarch/Makefile
1853 (sysdep_routines): Remove rawmemchr variants.
1854 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
1855 * sysdeps/s390/multiarch/ifunc-impl-list.c
1856 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
1857 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
1858 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
1859 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
1860 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
1861 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
1862 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
1863 * sysdeps/s390/ifunc-rawmemchr.h: New file.
1865 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1867 * sysdeps/s390/multiarch/Makefile
1868 (sysdep_routines): Remove memchr variants.
1869 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
1870 * sysdeps/s390/multiarch/ifunc-impl-list.c
1871 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
1872 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
1873 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
1874 * sysdeps/s390/multiarch/memchr.c: Move to ...
1875 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
1876 * sysdeps/s390/ifunc-memchr.h: New file.
1877 * sysdeps/s390/s390-64/memchr.S: Move to ...
1878 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
1879 for 31/64bit and ifunc handling.
1880 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
1881 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1882 * sysdeps/s390/s390-32/memchr.S: Likewise.
1884 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1886 * sysdeps/s390/multiarch/Makefile
1887 (sysdep_routines): Remove strcspn variants.
1888 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
1889 * sysdeps/s390/multiarch/ifunc-impl-list.c
1890 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
1891 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
1892 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
1893 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
1894 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
1895 * sysdeps/s390/multiarch/strcspn.c: Move to ...
1896 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
1897 * sysdeps/s390/ifunc-strcspn.h: New file.
1899 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1901 * sysdeps/s390/multiarch/Makefile
1902 (sysdep_routines): Remove strpbrk variants.
1903 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
1904 * sysdeps/s390/multiarch/ifunc-impl-list.c
1905 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
1906 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
1907 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
1908 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
1909 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
1910 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
1911 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
1912 * sysdeps/s390/ifunc-strpbrk.h: New file.
1914 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1916 * sysdeps/s390/multiarch/Makefile
1917 (sysdep_routines): Remove strspn variants.
1918 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
1919 * sysdeps/s390/multiarch/ifunc-impl-list.c
1920 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
1921 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
1922 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
1923 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
1924 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
1925 * sysdeps/s390/multiarch/strspn.c: Move to ...
1926 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
1927 * sysdeps/s390/ifunc-strspn.h: New file.
1929 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1931 * sysdeps/s390/multiarch/Makefile
1932 (sysdep_routines): Remove strrchr variants.
1933 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
1934 * sysdeps/s390/multiarch/ifunc-impl-list.c
1935 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
1936 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
1937 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
1938 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
1939 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
1940 * sysdeps/s390/multiarch/strrchr.c: Move to ...
1941 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
1942 * sysdeps/s390/ifunc-strrchr.h: New file.
1944 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1946 * sysdeps/s390/multiarch/Makefile
1947 (sysdep_routines): Remove strchrnul variants.
1948 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
1949 * sysdeps/s390/multiarch/ifunc-impl-list.c
1950 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
1951 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
1952 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
1953 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
1954 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
1955 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
1956 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
1957 * sysdeps/s390/ifunc-strchrnul.h: New file.
1959 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1961 * sysdeps/s390/multiarch/Makefile
1962 (sysdep_routines): Remove strchr variants.
1963 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
1964 * sysdeps/s390/multiarch/ifunc-impl-list.c
1965 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
1966 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
1967 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
1968 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
1969 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
1970 * sysdeps/s390/multiarch/strchr.c: Move to ...
1971 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
1972 * sysdeps/s390/ifunc-strchr.h: New file.
1974 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1976 * sysdeps/s390/multiarch/Makefile
1977 (sysdep_routines): Remove strncmp variants.
1978 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
1979 * sysdeps/s390/multiarch/ifunc-impl-list.c
1980 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
1981 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
1982 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
1983 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
1984 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
1985 * sysdeps/s390/multiarch/strncmp.c: Move to ...
1986 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
1987 * sysdeps/s390/ifunc-strncmp.h: New file.
1989 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1991 * sysdeps/s390/multiarch/Makefile
1992 (sysdep_routines): Remove strcmp variants.
1993 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
1994 * sysdeps/s390/multiarch/ifunc-impl-list.c
1995 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
1996 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
1997 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
1998 * sysdeps/s390/multiarch/strcmp.c: Move to ...
1999 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2000 * sysdeps/s390/ifunc-strcmp.h: New file.
2001 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2002 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2003 for 31/64bit and ifunc handling.
2004 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2005 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2006 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2008 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2010 * sysdeps/s390/multiarch/Makefile
2011 (sysdep_routines): Remove strncat variants.
2012 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2013 * sysdeps/s390/multiarch/ifunc-impl-list.c
2014 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2015 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2016 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2017 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2018 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2019 * sysdeps/s390/multiarch/strncat.c: Move to ...
2020 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2021 * sysdeps/s390/ifunc-strncat.h: New file.
2023 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2025 * sysdeps/s390/multiarch/Makefile
2026 (sysdep_routines): Remove strcat variants.
2027 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2028 * sysdeps/s390/multiarch/ifunc-impl-list.c
2029 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2030 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2031 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2032 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2033 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2034 * sysdeps/s390/multiarch/strcat.c: Move to ...
2035 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2036 * sysdeps/s390/ifunc-strcat.h: New file.
2038 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2040 * sysdeps/s390/multiarch/Makefile
2041 (sysdep_routines): Remove stpncpy variants.
2042 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2043 * sysdeps/s390/multiarch/ifunc-impl-list.c
2044 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2045 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2046 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2047 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2048 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2049 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2050 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2051 * sysdeps/s390/ifunc-stpncpy.h: New file.
2053 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2055 * sysdeps/s390/multiarch/Makefile
2056 (sysdep_routines): Remove strncpy variants.
2057 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2058 * sysdeps/s390/multiarch/ifunc-impl-list.c
2059 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2060 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2061 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2062 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2063 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2064 * sysdeps/s390/ifunc-strncpy.h: New file.
2065 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2066 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2067 and adjust ifunc handling.
2068 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2069 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2070 and adjust ifunc handling.
2071 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2072 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2074 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2076 * sysdeps/s390/multiarch/Makefile
2077 (sysdep_routines): Remove stpcpy variants.
2078 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2079 * sysdeps/s390/multiarch/ifunc-impl-list.c
2080 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2081 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2082 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2083 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2084 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2085 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2086 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2087 * sysdeps/s390/ifunc-stpcpy.h: New file.
2089 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2091 * sysdeps/s390/multiarch/Makefile
2092 (sysdep_routines): Remove strcpy variants.
2093 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2094 * sysdeps/s390/multiarch/ifunc-impl-list.c
2095 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2096 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2097 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2098 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2099 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2100 * sysdeps/s390/ifunc-strcpy.h: New file.
2101 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2102 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2103 for 31/64bit and ifunc handling.
2104 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2105 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2106 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2108 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2110 * sysdeps/s390/multiarch/Makefile
2111 (sysdep_routines): Remove strnlen variants.
2112 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2113 * sysdeps/s390/multiarch/ifunc-impl-list.c
2114 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2115 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2116 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2117 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2118 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2119 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2120 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2121 * sysdeps/s390/ifunc-strnlen.h: New file.
2123 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2125 * sysdeps/s390/multiarch/Makefile
2126 (sysdep_routines): Remove strlen variants.
2127 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2128 * sysdeps/s390/multiarch/ifunc-impl-list.c
2129 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2130 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2131 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2132 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2133 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2134 * sysdeps/s390/multiarch/strlen.c: Move to ...
2135 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2136 * sysdeps/s390/ifunc-strlen.h: New file.
2138 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2140 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2141 * sysdeps/s390/multiarch/ifunc-impl-list.c
2142 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2143 * sysdeps/s390/ifunc-memmem.h: New file.
2144 * sysdeps/s390/memmem.c: Likewise.
2145 * sysdeps/s390/memmem-c.c: Likewise.
2146 * sysdeps/s390/memmem-vx.c: Likewise.
2148 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2150 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2151 * sysdeps/s390/multiarch/ifunc-impl-list.c
2152 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2153 * sysdeps/s390/ifunc-strstr.h: New file.
2154 * sysdeps/s390/strstr.c: Likewise.
2155 * sysdeps/s390/strstr-c.c: Likewise.
2156 * sysdeps/s390/strstr-vx.c: Likewise.
2158 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2160 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2161 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2162 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2163 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2165 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2166 * sysdeps/s390/memmove-c.c: New file.
2167 * sysdeps/s390/memmove.c: Likewise.
2168 * sysdeps/s390/multiarch/ifunc-impl-list.c
2169 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2171 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2173 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2174 * sysdeps/s390/configure.ac: Add check for z13 support.
2175 * sysdeps/s390/configure: Regenerated.
2177 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2179 * sysdeps/s390/memcopy.h: New file.
2181 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2183 * sysdeps/s390/s390-32/bcopy.S: Remove.
2184 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2186 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2188 * sysdeps/s390/ifunc-memcpy.h: New File.
2189 * sysdeps/s390/memcpy.S: Move to ...
2190 * sysdeps/s390/memcpy-z900.S ... here.
2191 Move implementations from memcpy-s390x.s to here.
2192 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2193 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2194 Remove memcpy/mempcpy variants.
2195 * sysdeps/s390/Makefile (sysdep_routines):
2196 Add memcpy/mempcpy variants.
2197 * sysdeps/s390/multiarch/ifunc-impl-list.c
2198 (__libc_ifunc_impl_list): Adjust ifunc variants for
2200 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2202 * sysdeps/s390/memcpy.c: ... here.
2203 Adjust ifunc variants for memcpy.
2204 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2205 * sysdeps/s390/mempcpy.c: ... here.
2206 Adjust ifunc variants for mempcpy.
2207 * sysdeps/s390/mempcpy.S: Delete file.
2209 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2211 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2212 * sysdeps/s390/memcpy.S: ... here.
2213 Adjust to be usable for 31/64bit.
2214 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2215 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2216 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2217 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2218 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2219 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2220 Adjust to be usable for 31/64bit.
2221 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2222 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2223 * sysdeps/s390/multiarch/memcpy.c: ... here.
2224 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2226 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2228 * sysdeps/s390/ifunc-memcmp.h: New File.
2229 * sysdeps/s390/memcmp.S: Move to ...
2230 * sysdeps/s390/memcmp-z900.S ... here.
2231 Move implementations from memcmp-s390x.s to here.
2232 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2233 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2234 Remove memcmp variants.
2235 * sysdeps/s390/Makefile (sysdep_routines):
2236 Add memcmp variants.
2237 * sysdeps/s390/multiarch/ifunc-impl-list.c
2238 (__libc_ifunc_impl_list): Adjust ifunc variants for
2240 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2242 * sysdeps/s390/memcmp.c: ... here.
2243 Adjust ifunc variants for memcmp.
2245 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2247 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2248 * sysdeps/s390/memcmp.S: ... here.
2249 Adjust to be usable for 31/64bit.
2250 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2251 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2252 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2254 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2255 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2256 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2257 Adjust to be usable for 31/64bit.
2258 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2259 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2260 * sysdeps/s390/multiarch/memcmp.c: ... here.
2261 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2263 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2265 * sysdeps/s390/s390-32/bzero.S: Delete file.
2266 * sysdeps/s390/s390-64/bzero.S: Likewise.
2267 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2268 * sysdeps/s390/bzero.c: New file.
2269 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2270 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2271 * sysdeps/s390/multiarch/ifunc-impl-list.c
2272 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2274 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2276 * sysdeps/s390/ifunc-memset.h: New File.
2277 * sysdeps/s390/memset.S: Move to ...
2278 * sysdeps/s390/memset-z900.S ... here.
2279 Move implementations from memset-s390x.s to here.
2280 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2281 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2282 Remove memset variants.
2283 * sysdeps/s390/Makefile (sysdep_routines):
2284 Add memset variants.
2285 * sysdeps/s390/multiarch/ifunc-impl-list.c
2286 (__libc_ifunc_impl_list): Adjust ifunc variants for
2288 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2290 * sysdeps/s390/memset.c: ... here.
2291 Adjust ifunc variants for memset.
2293 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2295 * sysdeps/s390/s390-64/memset.S: Move to ...
2296 * sysdeps/s390/memset.S: ... here.
2297 Adjust to be usable for 31/64bit.
2298 * sysdeps/s390/s390-32/memset.S: Delete File.
2299 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2300 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2302 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2303 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2304 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2305 Adjust to be usable for 31/64bit.
2306 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2307 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2308 * sysdeps/s390/multiarch/memset.c: ... here.
2309 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2311 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2313 * sysdeps/s390/multiarch/ifunc-resolve.h
2314 (s390_libc_ifunc_init, s390_libc_ifunc,
2315 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2317 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2319 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2320 * sysdeps/s390/configure.ac: Add check for z10 support.
2321 * sysdeps/s390/configure: Regenerated.
2323 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2325 * sysdeps/i386/atomic-machine.h: Merged with ...
2326 * sysdeps/x86_64/atomic-machine.h: To ...
2327 * sysdeps/x86/atomic-machine.h: This. New file.
2329 2018-12-18 Florian Weimer <fweimer@redhat.com>
2331 Rewrite locale/gen-translit.pl in Python.
2332 * locale/Makefile (generated): Add C-translit.h.
2333 (before-compile): Add $(objpfx)C-translit.h.
2334 (C-translit.h): Move to $(objpfx). Create target directory.
2335 Build using Python script.
2336 * locale/gen-translit.py: New file.
2337 * locale/gen-translit.pl: Remove file.
2338 * locale/C-translit.h.in: Change comment character to '#' for
2339 easier parsing without a C preprocessor.
2340 * locale/C-translit.h: Remove generated file.
2341 * manual/install.texi (Tools for Compilation): Do not mention
2343 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2344 Remove locale/C-translit.h.
2345 * scripts/update-copyrights: Likewise.
2346 * INSTALL: Regenerate.
2348 2018-12-18 Florian Weimer <fweimer@redhat.com>
2351 * localedata/locales/bi_VU: Remove executable bit from file.
2353 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2356 (__localtime64): Add.
2357 * manual/maint.texi: Document Y2038 symbol handling.
2359 (__localtime64): Add.
2360 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2362 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2364 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2367 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2368 to allow extra macros from first or second sources.
2369 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2370 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2371 (tests-special): Add $(objpfx)tst-mman-consts.out.
2372 ($(objpfx)tst-mman-consts.out): New makefile target.
2374 2018-12-17 Mao Han <han_mao@c-sky.com>
2376 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2377 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2378 without stat64 system call support.
2379 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2380 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2381 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2382 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2383 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2384 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2385 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2386 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2387 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2388 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2389 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2391 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2393 regex: fix storage-exhaustion error
2395 * posix/regexec.c (get_subexp):
2396 Do not continue if storage is exhausted.
2398 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2400 regex: fix heap-use-after-free error
2402 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2403 https://debbugs.gnu.org/32592
2404 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2405 call extend_buffers which reallocates the re_string_t internal buffer.
2406 Local variable 'buf' was not updated in such case, resulting in
2408 * posix/regexec.c (get_subexp): Update 'buf' after call to
2411 2018-12-15 Florian Weimer <fweimer@redhat.com>
2413 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2414 (minimum_stride_size): Use it.
2415 (support_blob_repeat_allocate): Likewise.
2417 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2419 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2424 2018-12-14 Florian Weimer <fweimer@redhat.com>
2426 * manual/process.texi (Process Creation Concepts): Remove
2427 documentation of process (ID) lifetime. List more process
2428 creation functions. Reference Process Identification section.
2429 (Process Identification): Add information about process ID
2430 lifetime. Describe Linux thread/task IDs.
2431 * manual/signal.texi (Signaling Another Process): Mention that the
2432 signal is always sent to the process.
2434 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2436 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2437 and tst-ldbl-efgcvt.
2438 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2439 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2440 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2441 (fcvt_tests, output_error, output_r_error, do_test): Use the
2442 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2443 select the type of floating-point variables and arguments; to
2444 produce extra tests for double and conversion specifiers for
2445 printf; and to set the names of called functions.
2446 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2447 in tst-efgcvt-template.c.
2448 * misc/tst-ldbl-efgcvt.c: Likewise.
2450 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2452 * nss/Makefile (tst-nss-test3.out): New rule.
2454 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2456 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2459 2018-12-13 fanjinke <fanjinke@hygon.cn>
2461 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2464 2018-12-13 Andreas Schwab <schwab@suse.de>
2467 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2468 (__pthread_rwlock_rdlock_full): Update expected value for
2469 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2470 * nptl/tst-rwlock-pwn.c: New file.
2471 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2473 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2475 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2478 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2480 * benchtests/scripts/compare_bench.py (do_compare): write to
2481 stderr in casestat is not present.
2482 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2483 stderr in case timings field is not present. Also string showing
2484 the output filename goes into the stderr.
2486 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2488 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2489 and ZeroDivisorError exceptions.
2490 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2491 argument to loop through user provided statistics.
2492 * benchtests/scripts/compare_bench.py (main): Include the --stats
2495 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2497 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2500 2018-12-12 Florian Weimer <fweimer@redhat.com>
2502 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2503 clause to copyright header.
2505 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2508 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2509 registers saved in the stack frame.
2510 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2511 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2513 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2515 * include/bits/monetary-ldbl.h: New file.
2516 * include/bits/printf-ldbl.h: Likewise.
2517 * include/bits/stdio-ldbl.h: Likewise.
2518 * include/bits/stdlib-ldbl.h: Likewise.
2519 * include/bits/syslog-ldbl.h: Likewise.
2520 * include/bits/wchar-ldbl.h: Likewise.
2522 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2524 * libio/libio.h: Remove redirection for _IO_vfprintf.
2526 2018-12-11 Andreas Schwab <schwab@suse.de>
2528 * Makerules: Remove all references to abilist-pattern.
2529 (update-all-abi): Simplify find expression.
2531 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2534 * math/auto-libm-test-in: Add new test case.
2535 * math/auto-libm-test-out-pow: Regenerated.
2536 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2538 2018-12-10 DJ Delorie <dj@redhat.com>
2541 * support/test-container.c: Move postclean step to before we
2544 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2546 * scripts/gen-as-const.py (main): Handle --python option.
2547 * scripts/gen-py-const.awk: Remove.
2548 * Makerules (py-const-script): Use gen-as-const.py.
2549 ($(py-const)): Likewise.
2550 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2551 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2552 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2553 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2554 ~PTHREAD_MUTEX_NO_ELISION_NP.
2555 * manual/README.pretty-printers: Update reference to
2558 * scripts/glibcextract.py: New file.
2559 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2560 or tempfile. Import glibcexctract.
2561 (compute_c_consts): Remove. Moved to glibcextract.py.
2562 (gen_test): Update reference to compute_c_consts.
2564 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2565 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2566 * sysdeps/unix/sysv/linux/Makefile
2567 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2568 Redirect stderr as well as stdout.
2570 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2573 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2574 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2575 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2576 ALWAYS_USE_VSYSCALL.
2577 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2578 ALWAYS_USE_VSYSCALL.
2579 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2580 ALWAYS_USE_VSYSCALL.
2582 2018-12-10 Florian Weimer <fweimer@redhat.com>
2585 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2586 offset instead of count for clarity. Fix typo in comment.
2587 (__old_getdents64): Keep track of previous offset. Use it to call
2589 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2590 that d_off is never zero.
2592 2018-12-10 Andreas Schwab <schwab@suse.de>
2594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2595 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2597 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2598 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2600 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2602 * timezone/private.h: Update from tzcode 2018g.
2603 * timezone/tzfile.h: Likewise.
2604 * timezone/tzselect.ksh: Likewise.
2605 * timezone/zdump.c: Likewise.
2606 * timezone/zic.c: Likewise.
2608 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2611 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2612 (do_test): Adjust buffer size and fix format.
2614 2018-12-07 DJ Delorie <dj@redhat.com>
2617 * malloc/tst-tcfree3.c: New.
2618 * malloc/Makefile: Add it.
2620 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2622 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2624 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2626 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2627 used as a mask for the mode argument of __vfscanf_internal and
2628 __vfwscanf_internal.
2629 * stdio-common/vfscanf-internal.c
2630 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2631 (__strtof128_internal): Define to __wcstof128_internal.
2632 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2633 __strtof128_internal or __wcstof128_internal when the format of
2634 long double is the same as _Float128.
2636 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2638 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2639 * posix/confstr.c (confstr): Rename to __confstr.
2640 (__confstr): Add hidden def.
2641 (confstr): Add weak alias for __confstr.
2642 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2645 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2647 * NEWS: Mention getcpu.
2648 * include/sched.h (__getcpu): New libc_hidden_proto.
2649 * manual/resource.texi: Document getcpu.
2650 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2651 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2652 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2653 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2654 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2655 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2656 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2657 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2658 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2659 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2660 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2661 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2662 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2664 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2665 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2666 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2675 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2676 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2677 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2678 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2679 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2680 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2681 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2682 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2683 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2684 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2685 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2688 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2690 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2692 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2694 2018-12-07 Florian Weimer <fweimer@redhat.com>
2697 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2698 * posix/Versions (GLIBC_2.29): Export
2699 posix_spawn_file_actions_addfchdir_np.
2700 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2701 * posix/spawn_faction_destroy.c
2702 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2703 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2704 and the field action.fchdir_action.
2705 * posix/tst-spawn-chdir.c (add_chdir): New function.
2706 (do_test): Add do_fchdir loop. Call add_chdir.
2707 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2708 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2709 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2710 posix_spawn_file_actions_addfchdir_np.
2711 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2713 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2715 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2716 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2718 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2720 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2722 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2724 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2726 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2728 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2729 (GLIBC_2.29): Likewise.
2730 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2731 (GLIBC_2.29): Likewise.
2732 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2733 (GLIBC_2.29): Likewise.
2734 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2735 (GLIBC_2.29): Likewise.
2736 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2739 (GLIBC_2.29): Likewise.
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2741 (GLIBC_2.29): Likewise.
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2743 (GLIBC_2.29): Likewise.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2745 (GLIBC_2.29): Likewise.
2746 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2748 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2750 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2752 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2753 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2755 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2757 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2759 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2762 2018-12-06 Joseph Myers <joseph@codesourcery.com>
2764 * manual/texinfo.tex: Update to version 2018-09-21.20 with
2765 trailing whitespace removed.
2766 * scripts/config.guess: Update to version 2018-11-28.
2767 * scripts/config.sub: Update to version 2018-11-28.
2768 * scripts/install-sh: Update to version 2018-03-11.20.
2769 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
2770 * scripts/move-if-change: Update to version 2018-03-07 03:47.
2772 2018-12-07 Florian Weimer <fweimer@redhat.com>
2776 * inet/tst-if_index-long.c: New file.
2777 * inet/Makefile (tests): Add tst-if_index-long.
2779 2018-12-07 Florian Weimer <fweimer@redhat.com>
2781 * support/check.h (support_record_failure_is_failed): Declare.
2782 * support/descriptors.h: New file.
2783 * support/support_descriptors.c: Likewise.
2784 * support/tst-support_descriptors.c: Likewise.
2785 * support/support_record_failure.c
2786 (support_record_failure_is_failed): New function.
2787 * support/Makefile (libsupport-routines): Add support_descriptors.
2788 (tests): Add tst-support_descriptors.
2790 2018-12-05 Zack Weinberg <zackw@panix.com>
2791 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2793 * stdio-common/vfprintf-internal.c
2794 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
2795 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
2796 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
2797 and __no_long_double.
2798 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
2799 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
2800 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
2801 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
2802 and __nldbl_*syslog* functions.
2803 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
2804 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
2805 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
2806 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
2807 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
2808 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
2809 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
2810 (__nldbl_vwprintf, __nldbl_wprintf):
2811 Directly call the appropriate __v*printf_internal routine, passing
2812 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
2814 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
2815 (__nldbl___printf_chk, __nldbl___snprintf_chk)
2816 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
2817 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
2818 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
2819 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2820 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
2821 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
2822 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
2823 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
2824 Likewise, and also pass PRINTF_FORTIFY when appropriate.
2825 (__nldbl_syslog, __nldbl_vsyslog):
2826 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
2827 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2829 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2832 2018-12-05 Zack Weinberg <zackw@panix.com>
2833 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2836 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
2837 Moved here from debug/vsprintf_chk.c.
2838 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
2839 and completion logic for the strfile to match exactly what
2840 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
2841 _IO_str_init_static_internal instead of maxlen-1.
2842 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2843 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
2844 __vsprintf_internal.
2846 * debug/vsprintf_chk.c (__vsprintf_chk)
2847 * debug/sprintf_chk.c (__sprintf_chk):
2848 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
2849 'flags' argument is positive, and slen as maxlen. No need to lock
2850 the FILE and/or construct a temporary FILE. Minimize and normalize
2851 header inclusions and variable names. Do not libc_hidden_def anything.
2853 * debug/asprintf_chk.c (__asprintf_chk)
2854 * debug/dprintf_chk.c (__dprintf_chk)
2855 * debug/fprintf_chk.c (__fprintf_chk)
2856 * debug/fwprintf_chk.c (__fwprintf_chk)
2857 * debug/printf_chk.c (__printf_chk)
2858 * debug/snprintf_chk.c (__snprintf_chk)
2859 * debug/swprintf_chk.c (__swprintf_chk)
2860 * debug/vasprintf_chk.c (__vasprintf_chk)
2861 * debug/vdprintf_chk.c (__vdprintf_chk)
2862 * debug/vfprintf_chk.c (__vfprintf_chk)
2863 * debug/vfwprintf_chk.c (__vfwprintf_chk)
2864 * debug/vprintf_chk.c (__vprintf_chk)
2865 * debug/vsnprintf_chk.c (__vsnprintf_chk)
2866 * debug/vswprintf_chk.c (__vswprintf_chk)
2867 * debug/vwprintf_chk.c (__vwprintf_chk)
2868 * debug/wprintf_chk.c (__wprintf_chk):
2869 Directly call the corresponding vxxprintf_internal function, passing
2870 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
2871 the FILE and/or construct a temporary FILE. Minimize and normalize
2872 header inclusions and variable names. Do not libc_hidden_def anything.
2874 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
2875 __obstack_vprintf_internal.
2876 (__obstack_vprintf_chk): Convert into a wrapper that calls
2877 __obstack_vprintf_internal (these two functions already had the
2878 same code) and move to new file...
2879 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
2881 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
2882 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
2883 * debug/Makefile (routines): Add vobprintf_chk.
2885 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2886 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2887 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
2888 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2889 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
2890 (__nldbl___obstack_vfprintf_chk):
2891 Directly call the corresponding vxxprintf_internal function,
2892 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
2893 duplicate comparison of slen with 0 or maxlen from the corresponding
2894 non-__nldbl function.
2896 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
2897 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
2898 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
2899 Remove libc_hidden_proto.
2901 * stdio-common/vfprintf-internal.c
2902 (__vfprintf_internal, __vfwprintf_internal):
2903 Do not check _IO_FLAGS2_FORTIFY.
2904 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
2905 * libio/libioP.h: Update prototype of __vsprintf_internal and add
2906 a comment explaining why it has the maxlen argument.
2907 (_IO_acquire_lock_clear_flags2_fct): Remove.
2908 (_IO_acquire_lock_clear_flags2): Remove.
2909 (_IO_release_lock): Remove conditional statement which will
2911 (_IO_acquire_lock): Remove variable which is now unused.
2912 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2913 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2915 * stdio-common/Makefile (tests): Add tst-bz11319 and
2916 tst-bz11319-fortify2.
2917 (CFLAGS-tst-bz11319-fortify2.c): New macro.
2918 * stdio-common/tst-bz11319-fortify2.c: New file.
2919 * stdio-common/tst-bz11319.c: Likewise.
2921 2018-12-05 Zack Weinberg <zackw@panix.com>
2922 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2924 * misc/syslog.c: Include libioP.h, not iolibio.h.
2925 (__vsyslog_internal): New function with the former body of
2926 __vsyslog_chk; takes mode_flags argument same as
2927 __v*printf_internal. Call __vfprintf_internal directly.
2929 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
2930 Remove libc_hidden_def.
2931 (__syslog, __syslog_chk): Use __vsyslog_internal.
2932 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
2934 * include/sys/syslog.h: Add multiple inclusion guard.
2935 Add prototype for __vsyslog_internal.
2936 Remove declaration and libc_hidden_proto for __vsyslog_chk.
2938 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
2939 Use __vsyslog_internal.
2941 2018-12-05 Zack Weinberg <zackw@panix.com>
2942 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2944 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
2945 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
2946 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
2948 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
2949 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
2951 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
2952 Include wctype.h here if COMPILE_WPRINTF is defined.
2953 Define __vfprintf_internal or __vfwprintf_internal, depending
2955 Temporarily, on entry to this function, update mode_flags
2956 according to the environmental settings corresponding to
2957 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
2958 Throughout, check mode_flags instead of __ldbl_is_dbl and
2959 _IO_FLAGS2_FORTIFY on the destination FILE.
2960 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
2961 Include vfprintf-internal.c. Don't include wctype.h.
2962 * stdio-common/vfprintf.c: New file. Just define __vfprintf
2963 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
2965 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
2966 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
2968 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
2970 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
2971 and add mode_flags argument; use __vfprintf_internal.
2972 (__vdprintf): New function. Alias vdprintf to this.
2973 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
2974 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
2975 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
2976 (__obstack_printf): Use __obstack_printf_internal.
2977 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
2978 public aliases __vsnprintf and vsnprintf.
2979 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
2981 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
2982 public aliases _IO_vsprintf and vsprintf.
2983 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
2984 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
2985 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
2986 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
2987 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
2989 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
2990 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
2991 * stdio-common/fprintf.c, stdio-common/fxprintf.c
2992 * stdio-common/printf.c: Use __vfprintf_internal.
2994 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
2995 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
2996 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
2998 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
2999 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3000 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3001 __vfwprintf_internal.
3003 * libio/libio.h: Remove libc_hidden_proto and declaration for
3005 Remove declaration of _IO_vfwprintf.
3006 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3008 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3010 * include/stdio.h: Add prototype for __vasprintf.
3011 (__vsnprintf): Remove declaration, because there are no more
3013 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3014 declaration, because there are no more internal calls.
3016 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3017 __vsnprintf_internal, instead of _IO_vsnprintf.
3018 * argp/argp-help.c (__argp_error, __argp_failure): Use
3019 __vasprintf_internal, instead of _IO_vasprintf.
3020 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3021 redefine, because there are no more internal calls.
3023 2018-12-05 Zack Weinberg <zackw@panix.com>
3024 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3026 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3027 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3028 Include libio/strfile.h instead of libioP.h.
3029 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3030 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3031 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3032 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3033 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3034 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3035 necessary. Do not set __no_long_double. Normalize variable names.
3036 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3037 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3038 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3039 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3040 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3041 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3042 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3043 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3044 Do not set __no_long_double. Normalize variable names.
3046 2018-12-05 Zack Weinberg <zackw@panix.com>
3047 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3049 * stdio-common/isoc99_scanf.c
3050 * stdio-common/isoc99_fscanf.c
3051 * stdio-common/isoc99_sscanf.c
3052 * stdio-common/isoc99_vscanf.c
3053 * stdio-common/isoc99_vfscanf.c
3054 * stdio-common/isoc99_vsscanf.c
3055 * wcsmbs/isoc99_wscanf.c
3056 * wcsmbs/isoc99_fwscanf.c
3057 * wcsmbs/isoc99_swscanf.c
3058 * wcsmbs/isoc99_vwscanf.c
3059 * wcsmbs/isoc99_vfwscanf.c
3060 * wcsmbs/isoc99_vswscanf.c:
3061 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3062 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3063 No need to lock and unlock the FILE passed to that function.
3065 * stdio-common/vfscanf-internal.c
3066 (__vfscanf_internal, __vfwscanf_internal):
3067 Don't look at _IO_FLAGS2_SCANF_STD.
3068 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3069 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3070 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3072 2018-12-05 Zack Weinberg <zackw@panix.com>
3073 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3075 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3076 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3077 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3078 * libio/strfile.h: Add multiple inclusion guard.
3079 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3081 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3082 consistency with the other version of this file.
3083 (ldbl_compat_symbol): New macro.
3084 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3087 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3088 Define __vfscanf_internal or __vfwscanf_internal, depending on
3089 COMPILE_WSCANF; don't define any other public symbols.
3090 Remove errval and code to set errp.
3091 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3092 as the mode_flags argument.
3093 (encode_error, conv_error, input_error): Don't set errval.
3094 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3095 Include vfscanf-internal.c.
3096 * stdio-common/vfscanf.c: New file defining the public entry
3097 point vfscanf, which calls __vfscanf_internal.
3098 * stdio-common/vfwscanf.c: New file defining the public entry
3099 point vfwscanf, which calls __vfwscanf_internal.
3101 * stdio-common/iovfscanf.c: New file.
3102 * stdio-common/iovfwscanf.c: Likewise.
3104 * stdio-common/Makefile (routines): Add vfscanf-internal,
3105 vfwscanf-internal, iovfscanf, iovfwscanf.
3106 * stdio-common/Versions: Mention GLIBC_2.29, so that
3107 it can be used in SHLIB_COMPAT expressions.
3108 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3109 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3110 Call __vfscanf_internal, instead of _IO_vfscanf.
3111 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3113 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3116 * libio/iovsscanf.c: Clean up includes, when possible. Use
3117 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3118 __vfscanf_internal or __vfwscanf_internal directly.
3119 * libio/iovswscanf.c: Likewise.
3120 * libio/swscanf.c: Likewise.
3121 * libio/vscanf.c: Likewise.
3122 * libio/vwscanf.c: Likewise.
3123 * libio/wscanf.c: Likewise.
3124 * stdio-common/isoc99_fscanf.c: Likewise.
3125 * stdio-common/isoc99_scanf.c: Likewise.
3126 * stdio-common/isoc99_sscanf.c: Likewise.
3127 * stdio-common/isoc99_vfscanf.c: Likewise.
3128 * stdio-common/isoc99_vscanf.c: Likewise.
3129 * stdio-common/isoc99_vsscanf.c: Likewise.
3130 * stdio-common/scanf.c: Likewise.
3131 * stdio-common/sscanf.c: Likewise.
3132 * wcsmbs/isoc99_fwscanf.c: Likewise.
3133 * wcsmbs/isoc99_swscanf.c: Likewise.
3134 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3135 * wcsmbs/isoc99_vswscanf.c: Likewise.
3136 * wcsmbs/isoc99_vwscanf.c: Likewise.
3137 * wcsmbs/isoc99_wscanf.c: Likewise.
3139 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3142 (__tz_compute): Replace time_t with __time64_t.
3143 (__tz_convert): Replace time_t* with __time64_t.
3144 (__offtime): Replace time_t* with __time64_t.
3146 (__gmtime_r): Adjust call to __tz_convert.
3149 (__localtime_r): Likewise.
3150 (localtime): Likewise.
3151 * time/offtime.c: Replace time_t with __time64_t.
3152 * time/tzset.c: Likewise.
3154 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3156 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3157 dynamic linker unless [$(run-built-tests) = yes].
3159 2018-12-03 DJ Delorie <dj@delorie.com>
3161 * support/test-container.c (check_for_unshare_hints): New.
3162 (main): Call it if unshare fails. Add support for "su" scriptlet
3165 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3167 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3168 'START' to indicate that start text should be output.
3169 (gen_test): Likewise.
3170 (main): Generate 'START' for first symbol or '--' line, or at end
3171 of input if not previously generated.
3173 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3176 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3177 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3178 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3179 ALWAYS_USE_VSYSCALL.
3181 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3184 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3187 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3190 * locale/programs/localedef.c: Declare boolean hard_links default true.
3191 (options): Add --no-hard-links option.
3192 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3193 * locale/programs/localedef.h: Declare prototype for hard_links.
3194 * locale/programs/locfile.c (write_locale_data): Don't use hard
3195 links if hard_links is false.
3197 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3199 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3201 (__cache_sysconf): Likewise.
3202 (init_cacheinfo): Likewise.
3203 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3204 populate COMMON_CPUID_INDEX_80000007 and
3205 COMMON_CPUID_INDEX_80000008.
3206 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3207 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3208 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3209 (init_cpu_features): Use _Static_assert on
3210 index_arch_Fast_Unaligned_Load.
3211 __get_cpuid_registers and __get_arch_feature. Updated for
3212 cpu_features_basic. Set stepping in cpu_features.
3213 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3214 (FEATURE_INDEX_2): New.
3215 (FEATURE_INDEX_MAX): Changed to enum.
3216 (COMMON_CPUID_INDEX_D_ECX_1): New.
3217 (COMMON_CPUID_INDEX_80000007): Likewise.
3218 (COMMON_CPUID_INDEX_80000008): Likewise.
3219 (cpuid_registers): Likewise.
3220 (cpu_features_basic): Likewise.
3221 (CPU_FEATURE_USABLE): Likewise.
3222 (bit_arch_XXX_Usable): Likewise.
3223 (cpu_features): Use cpuid_registers and cpu_features_basic.
3224 (bit_arch_XXX): Reweritten.
3225 (bit_cpu_XXX): Likewise.
3226 (index_cpu_XXX): Likewise.
3227 (reg_XXX): Likewise.
3228 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3230 (CHECK_CPU_FEATURE): New.
3231 (CHECK_CPU_FEATURE_USABLE): Likewise.
3232 (cpu_kinds): Likewise.
3233 (do_test): Print vendor, family, model and stepping. Check
3234 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3235 (TEST_FUNCTION): Removed.
3236 Include <support/test-driver.c> instead of
3237 "../../test-skeleton.c".
3238 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3239 Check POPCNT instead of POPCOUNT.
3240 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3242 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3244 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3245 there is no element in `consts'.
3247 2018-12-01 Florian Weimer <fweimer@redhat.com>
3249 * support/support_capture_subprocess.c
3250 (support_capture_subprocess): Check that pipe descriptors have
3251 expected values. Close original pipe descriptors in subprocess.
3253 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3256 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3257 attr with __pthread_default_barrierattr.
3258 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3259 attr with __pthread_default_condattr.
3260 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3261 attr with __pthread_default_mutexattr.
3262 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3263 attr with __pthread_default_rwlockattr.
3265 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3267 * manual/tunables.texi (POSIX Thread Tunables): New node.
3268 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3269 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3270 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3271 __pthread_tunables_init.
3272 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3273 (max_adaptive_count): Define.
3274 * nptl/pthread_mutex_conf.c: New file.
3275 * nptl/pthread_mutex_conf.h: New file.
3276 * sysdeps/generic/adaptive_spin_count.h: New file.
3277 * sysdeps/nptl/dl-tunables.list: New file.
3278 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3279 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3280 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3283 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3286 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3287 * stdlib/on_exit.c (__on_exit): Likewise.
3288 * stdlib/Makefile (tests): Add tst-bz20544.
3289 * stdlib/tst-bz20544.c: New test.
3291 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3294 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3295 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3298 2018-11-30 Florian Weimer <fweimer@redhat.com>
3300 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3301 Extend error logging.
3302 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3305 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3307 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3308 __sigismember instead of sigismember.
3309 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3310 cancel_handler): New definitions.
3311 (do_system): Use posix_spawn instead of fork and execl and remove
3313 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3314 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3315 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3316 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3317 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3318 * sysdeps/unix/sysv/linux/system.c: Likewise.
3322 * NEWS: Add new semantic for atfork with popen and system.
3323 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3326 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3329 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3330 modification order when accessing reloc_result->addr.
3331 * include/link.h (reloc_result): Add field init.
3332 * nptl/Makefile (tests): Add tst-audit-threads.
3333 (modules-names): Add tst-audit-threads-mod1 and
3334 tst-audit-threads-mod2.
3335 Add rules to build tst-audit-threads.
3336 * nptl/tst-audit-threads-mod1.c: New file.
3337 * nptl/tst-audit-threads-mod2.c: Likewise.
3338 * nptl/tst-audit-threads.c: Likewise.
3339 * nptl/tst-audit-threads.h: Likewise.
3341 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3343 * scripts/gen-as-const.py: New file.
3344 * scripts/gen-as-const.awk: Remove.
3345 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3347 ($(objpfx)test-as-const-%.c): Likewise.
3349 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3351 * elf/dl-exception.c: Include <_itoa.h>.
3353 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3355 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3356 returned by __f_setlk.
3358 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3359 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3361 * elf/Makefile (tests-internal): Add tst-create_format1.
3362 * elf/dl-exception.c (_dl_exception_create_format): Support
3364 * elf/tst-create_format1.c: New file.
3366 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3368 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3369 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3371 * argp/argp-help.c (__argp_failure): Likewise.
3373 2018-11-29 Mao Han <han_mao@c-sky.com>
3375 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3376 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3377 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3378 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3379 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3380 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3381 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3382 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3383 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3384 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3385 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3386 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3387 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3388 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3389 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3390 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3391 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3392 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3393 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3394 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3395 (R_CKCORE_TLS_TPOFF32): New defines.
3397 2018-11-29 Florian Weimer <fweimer@redhat.com>
3399 * posix/Makefile (before-compile): Remove testcases.h and
3401 (generated): Add testcases.h and ptestcases.h.
3402 (testcases.h, ptestcases.h): Move to $(objpfx).
3403 (runtests.o): Add dependency on testcases.h.
3404 (runptests.o): Add dependency on ptestcases.h.
3405 * posix/testcases.h, posix/ptestcases.h: Remove files.
3406 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3407 not touch posix/testcases.h and posix/ptestcases.h.
3409 2018-11-28 Florian Weimer <fweimer@redhat.com>
3411 support: Add signal support to support_capture_subprocess_check.
3412 * support/capture_subprocess.h (support_capture_subprocess_check):
3413 Adjust comment and rename parameter.
3414 * support/support_capture_subprocess_check.c
3415 (print_actual_status): New function.
3416 (support_capture_subprocess_check): Support negative
3417 status_or_signal. Call print_actual_status.
3418 * support/tst-support_capture_subprocess.c (do_test): Call
3419 support_capture_subprocess_check.
3420 * libio/tst-vtables-common.c (termination_status)
3421 (init_termination_status): Remove.
3422 (check_for_termination): Adjust support_capture_subprocess_check
3424 (do_test): Remove call to init_termination_status.
3426 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3428 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3429 source directory instead of a copy.
3430 (CommandList.create_copy_dir): Remove.
3432 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3434 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3436 2018-11-28 Florian Weimer <fweimer@redhat.com>
3438 * support/support.h (support_quote_string): Do not use str
3441 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3443 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3444 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3446 2018-11-27 Florian Weimer <fweimer@redhat.com>
3448 * support/support.h (support_quote_string): Declare.
3449 * support/support_quote_string.c: New file.
3450 * support/tst-support_quote_string.c: Likewise.
3451 * support/Makefile (libsupport-routines): Add
3452 support_quote_string.
3453 (tests): Add tst-support_quote_string.
3455 2018-11-27 Florian Weimer <fweimer@redhat.com>
3459 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3460 descriptor leak in case of ENODEV error.
3462 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3465 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3466 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3469 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3471 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3472 Error for unknown lines.
3474 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3476 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3477 Touch additional files.
3479 2018-11-26 Florian Weimer <fweimer@redhat.com>
3482 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3485 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3488 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3489 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3490 SHARED. Include sysdep.h.
3491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3492 ALWAYS_USE_VSYSCALL.
3493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3494 ALWAYS_USE_VSYSCALL.
3496 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3499 * nptl/Makefile (tests-static): Add tst-cond11-static.
3501 * nptl/tst-cond11-static.c: New File.
3502 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3503 tst-affinity-static.
3505 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3507 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3508 (USE_VSYSCALL): Likewise.
3509 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3510 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3512 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3517 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3520 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3521 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3524 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3526 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3527 (tst-cet-legacy-1a-ARGS): New.
3528 ($(objpfx)tst-cet-legacy-1a): New target.
3529 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3531 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3533 * conform/conformtest.py (CompileSubTest.__init__): Set
3534 self.run_early to False.
3535 (ExecuteSubTest.__init__): Likewise.
3536 (HeaderTests.run): Try running all non-optional, non-XFAILed
3537 compilation tests in a single execution of the compiler.
3539 * conform/conformtest.py (CompileSubTest): New class.
3540 (ExecuteSubTest): Likewise.
3541 (ElementTest.run): Rename to gen_subtests. Append tests to
3542 self.subtests instead of running them.
3543 (ConstantTest.run): Likewise.
3544 (SymbolTest.run): Likewise.
3545 (TypeTest.run): Likewise.
3546 (TagTest.run): Likewise.
3547 (FunctionTest.run): Likewise.
3548 (VariableTest.run): Likewise.
3549 (MacroFunctionTest.run): Likewise.
3550 (MacroStrTest.run): Likewise.
3551 (HeaderTests.handle_test_line): Generate subtests for tests.
3552 (HeaderTests.run): Run subtests for tests.
3554 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3556 * math/Versions (GLIBC_2.29): Add pow.
3557 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3559 * math/w_pow.c: New file.
3560 * sysdeps/i386/fpu/w_pow.c: New file.
3561 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3563 and add necessary aliases.
3564 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3565 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3566 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3567 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3568 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3569 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3570 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3571 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3572 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3573 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3574 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3575 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3576 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3577 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3578 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3583 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3584 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3585 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3586 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3587 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3588 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3589 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3590 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3592 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3593 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3594 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3596 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3598 * math/Versions (GLIBC_2.29): Add log2.
3599 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3601 * math/w_log2.c: New file.
3602 * sysdeps/i386/fpu/w_log2.c: New file.
3603 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3604 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3605 and add necessary aliases.
3606 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3607 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3608 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3609 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3610 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3611 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3612 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3613 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3614 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3615 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3616 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3617 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3618 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3619 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3620 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3625 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3626 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3627 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3628 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3629 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3630 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3631 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3633 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3635 * math/Versions (GLIBC_2.29): Add log.
3636 * math/w_log_compat.c (__log_compat): Change to versioned compat
3638 * math/w_log.c: New file.
3639 * sysdeps/i386/fpu/w_log.c: New file.
3640 * sysdeps/ia64/fpu/e_log.S: Update.
3641 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3642 and add necessary aliases.
3643 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3644 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3645 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3646 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3647 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3648 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3649 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3650 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3651 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3652 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3653 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3654 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3655 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3656 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3657 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3662 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3663 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3664 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3665 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3666 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3667 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3668 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3669 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3671 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3672 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3673 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3674 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3676 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3678 * math/Versions (GLIBC_2.29): Add exp and exp2.
3679 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3680 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3681 * math/w_exp_compat.c (__exp_compat): Likewise.
3682 * math/w_exp.c: New file.
3683 * math/w_exp2.c: New file.
3684 * sysdeps/i386/fpu/w_exp.c: New file.
3685 * sysdeps/i386/fpu/w_exp2.c: New file.
3686 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3687 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3688 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3689 and add necessary aliases.
3690 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3691 and add necessary aliases.
3692 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3693 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3694 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3695 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3696 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3697 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3698 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3699 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3700 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3701 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3702 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3703 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3704 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3705 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3706 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3707 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3708 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3713 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3714 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3715 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3716 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3717 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3718 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3719 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3720 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3721 (__ieee754_exp): Rename to __exp.
3722 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3723 (__ieee754_exp): Rename to __exp.
3724 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3725 (__ieee754_exp): Rename to __exp.
3726 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3728 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
3730 2018-11-20 DJ Delorie <dj@redhat.com>
3732 * malloc/malloc.c (tcache_entry): Add key field.
3733 (tcache_put): Set it.
3734 (tcache_get): Likewise.
3735 (_int_free): Check for double free in tcache.
3736 * malloc/tst-tcfree1.c: New.
3737 * malloc/tst-tcfree2.c: New.
3738 * malloc/Makefile: Run the new tests.
3739 * manual/probes.texi: Document memory_tcache_double_free probe.
3741 * dlfcn/dlerror.c (check_free): Prevent double frees.
3743 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
3745 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
3747 2018-11-20 Joseph Myers <joseph@codesourcery.com>
3749 * conform/conformtest.py (ElementTest.run): Use unique identifiers
3750 in tests. Use names for format arguments.
3751 (ConstantTest.run): Likewise.
3752 (SymbolTest.run): Likewise.
3753 (TypeTest.run): Likewise.
3754 (TagTest.run): Likewise.
3755 (FunctionTest.run): Likewise.
3756 (VariableTest.run): Likewise.
3757 (MacroFunctionTest.run): Likewise.
3758 (MacroStrTest.run): Likewise.
3759 (HeaderTests.__init__): Set self.num_tests.
3760 (HeaderTests.handle_test_line): Set test.num. Increment
3763 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3765 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
3766 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
3769 2018-11-19 Mao Han <han_mao@c-sky.com>
3771 * scripts/config.guess: Update to version 2018-08-29.
3772 * scripts/config.sub: Update to version 2018-08-29.
3774 2018-11-19 Florian Weimer <fweimer@redhat.com>
3776 support: Print timestamps in timeout handler.
3777 * support/support_test_main.c (print_timestamp): New function.
3778 (signal_handler): Use it to print the termination time and the
3779 time of the last write to standard output.
3781 2018-11-16 Zack Weinberg <zackw@panix.com>
3782 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3784 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
3785 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
3787 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
3788 and add flags argument. Check flags instead of __ldbl_is_dbl when
3789 deciding whether to set is_long_double.
3790 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
3791 passing zero for flags argument.
3792 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
3794 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3795 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
3796 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
3797 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
3798 variable names. Remove libc_hidden_def/libc_hidden_proto from
3799 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
3800 longer called from within the library.
3801 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
3802 for __nldbl___vstrfmon_l, declare it explicitly.
3804 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
3806 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
3808 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
3810 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
3811 F_SETLK64, F_SETLKW64, respectively.
3812 * sysdeps/mach/hurd/f_setlk.c: New file.
3813 * sysdeps/mach/hurd/f_setlk.h: New file.
3814 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
3816 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
3817 (__libc_fcntl): Move non-flock operations to...
3818 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
3819 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
3821 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
3823 mktime: DEBUG_MKTIME cleanup
3824 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
3825 And it’s no longer needed now that glibc and Gnulib both have
3826 their own testing mechanisms for mktime.
3827 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
3829 mktime: fix non-EOVERFLOW errno handling
3831 mktime was not properly reporting failures when the underlying
3832 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
3833 them like EOVERFLOW failures, and set errno to EOVERFLOW.
3834 The problem could happen on non-glibc platforms, with Gnulib.
3835 * time/mktime.c (guess_time_tm): Remove, replacing with ...
3836 (tm_diff): ... this simpler function, which does not change errno.
3837 All callers changed to deal with errno themselves.
3838 (ranged_convert, __mktime_internal): Return failure immediately if
3839 the underlying function reports any failure other than EOVERFLOW.
3840 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
3843 mktime: fix bug with Y2038 DST transition
3845 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
3846 mishandle a DST transition that jumps over the Y2038 boundary.
3847 No such DST transitions are known so this is only a theoretical
3848 bug, but we might as well do things right.
3850 mktime: make more room for overflow
3852 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
3853 This is so that we can add tm_diff results to a previous guess,
3854 which will be useful in a later patch.
3856 mktime: simplify offset guess
3858 * time/mktime.c (__mktime_internal): Omit excess precision.
3860 mktime: new test for mktime failure
3862 Based on a test suggested by Albert Aribaud in:
3863 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
3864 * time/Makefile (tests): Add bug-mktime4.
3865 * time/bug-mktime4.c: New file.
3867 mktime: fix EOVERFLOW bug
3869 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
3870 Include libc-config.h, not config.h, for __set_errno.
3871 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
3873 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
3875 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
3876 __attribute_copy__ to copy attributes from name. Drop static qualifier
3877 to avoid warnings about leaf attribute not having effect on static
3880 2018-11-13 Florian Weimer <fweimer@redhat.com>
3882 * malloc/malloc.c (fastbin_push_entry): New function.
3883 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
3884 (REMOVE_FB): Remove macro.
3885 (_int_malloc): Use fastbin_pop_entry and reindent.
3886 (_int_free): Use fastbin_push_entry.
3887 (malloc_consolidate): Use atomic_exchange_acquire.
3889 2018-11-13 Joseph Myers <joseph@codesourcery.com>
3891 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
3892 alias attribute, not with strong_alias.
3894 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
3895 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
3896 with additional parameter thread.
3897 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
3898 in terms of __hidden_ver2.
3899 (hidden_tls_def): New macro.
3900 (libc_hidden_tls_def): Likewise.
3901 (rtld_hidden_tls_def): Likewise.
3902 (libm_hidden_tls_def): Likewise.
3903 (libmvec_hidden_tls_def): Likewise.
3904 (libresolv_hidden_tls_def): Likewise.
3905 (librt_hidden_tls_def): Likewise.
3906 (libdl_hidden_tls_def): Likewise.
3907 (libnss_files_hidden_tls_def): Likewise.
3908 (libnsl_hidden_tls_def): Likewise.
3909 (libnss_nisplus_hidden_tls_def): Likewise.
3910 (libutil_hidden_tls_def): Likewise.
3911 (libutil_hidden_tls_def): Likweise.
3912 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
3913 libc_hidden_tls_def.
3914 (__sim_disabled_exceptions_thread): Likewise.
3915 (__sim_round_mode_thread): Likewise.
3917 * sysdeps/sparc/sparc-ifunc.h [SHARED]
3918 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
3919 copy attributes from name.
3921 2018-11-12 Joseph Myers <joseph@codesourcery.com>
3923 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
3924 Use __attribute_copy__ to copy attributes from name.
3926 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
3927 with __hidden_ver1 call.
3928 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
3929 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
3930 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
3931 (__cosf): Do not declare here.
3932 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
3933 (__sincosf): Do not declare here.
3934 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
3935 (__sinf): Do not declare here.
3937 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
3938 (__BIG_ENDIAN): Likewise.
3939 (__BYTE_ORDER): Likewise.
3940 (strong_alias): Likewise.
3941 (_strong_alias): Likewise.
3943 2018-11-12 Florian Weimer <fweimer@redhat.com>
3945 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
3946 function. Move after the definition of in_smallbin_range. Do not
3947 use __builtin_expect for paths that lead to a noreturn function.
3948 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
3949 because it is unclear whether this is in fact an unlikely
3951 (_int_malloc, _int_free): Adjust.
3952 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
3954 * malloc/arena.c (heap_trim): Likewise.
3956 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3958 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
3959 it, free it if needed.
3960 (reauthenticate): Test and use ccwdir.
3961 (child_init_port): In non-resetids case, test and use ccwdir.
3962 (child_chdir): New nested function to set ccwdir.
3963 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
3964 * hurd/hurd/port.h (_hurd_port_move): New function.
3965 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
3966 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
3967 * hurd/Versions (_hurd_port_move): Export function.
3968 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
3970 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
3971 of dtablesize for allocating dtable_cloexec.
3973 2018-11-09 Martin Sebor <msebor@redhat.com>
3975 * include/libc-symbols.h (__attribute_copy__): Define macro unless
3976 it's already defined.
3977 (_strong_alias): Use __attribute_copy__.
3978 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
3979 * misc/sys/cdefs.h (__attribute_copy__): New macro.
3980 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
3981 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
3982 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
3983 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
3984 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
3985 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
3986 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
3987 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
3988 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
3989 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
3990 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
3991 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
3992 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
3993 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
3994 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
3995 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
3996 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
3998 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4000 * misc/tst-efgcvt.c: Include support/check.h and
4001 support/test-driver.c. Do not include test-skeleton.c.
4002 (error_count): Remove.
4003 (output_error): Replace increments to error_count with calls to
4004 support_record_failure.
4005 (output_r_error): Likewise.
4006 (special): Likewise.
4007 (do_test): Unconditionally return zero.
4008 (TEST_FUNCTION): Remove.
4010 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4012 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4014 ($(linknamespace-header-tests)): Likewise.
4016 * conform/conformtest.py: New file.
4017 * conform/conformtest.pl: Remove.
4018 * conform/GlibcConform.pm: Likewise.
4019 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4020 (KEYWORDS_C99): Likewise.
4021 (KEYWORDS): Likewise.
4022 * conform/Makefile ($(conformtest-header-tests)): Use
4023 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4024 option. Use --header instead of --headers.
4025 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4027 * conform/data/spawn.h-data: Likewise.
4028 * conform/data/fcntl.h-data (openat): Add space after function
4030 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4031 (wcscasecmp_l): Likewise.
4032 * conform/data/termios.h-data (c_cc): Add space after element
4035 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4037 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4038 instead of manually comparing and reporting mismatching strings.
4039 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4040 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4042 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4044 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4045 __ASSUME_SOCKETCALL.
4046 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4047 (__ASSUME_SOCKETCALL): Remove.
4048 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4049 (__ASSUME_SOCKETCALL): Likewise.
4050 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4051 (__ASSUME_SOCKETCALL): Likewise.
4052 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4053 (__ASSUME_SOCKETCALL): Likewise.
4054 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4055 (__ASSUME_SOCKETCALL): Likewise.
4056 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4057 (__ASSUME_SOCKETCALL): Likewise.
4058 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4059 (__ASSUME_SOCKETCALL): Likewise.
4061 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4064 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4065 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4066 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4067 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4068 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4071 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4074 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4076 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4079 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4080 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4081 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4082 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4084 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4086 * support/support_test_compare_string.c
4087 (support_test_compare_string): Fix printf format.
4089 2018-11-07 Florian Weimer <fweimer@redhat.com>
4091 Implement TEST_COMPARE_STRING.
4092 * support/check.h (TEST_COMPARE_STRING): Define.
4093 (support_test_compare_string): Declare.
4094 * support/Makefile (libsupport-routines): Add
4095 support_test_compare_string.
4096 (tests): Add tst-test_compare_string.
4097 * support/support_test_compare_string.c: New file.
4098 * support/tst-test_compare_string.c: Likewise.
4100 2018-11-07 Andreas Schwab <schwab@suse.de>
4103 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4104 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4107 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4110 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4111 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4112 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4113 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4116 2018-11-06 Florian Weimer <fweimer@redhat.com>
4119 * posix/Makefile (routines): Add spawn_faction_addchdir.
4120 (tests): Add tst-spawn-chdir.
4121 * posix/Versions (GLIBC_2.29): Add
4122 posix_spawn_file_actions_addchdir_np.
4123 * posix/spawn_faction_addchdir.c: New file.
4124 * posix/spawn_faction_destroy.c
4125 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4126 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4127 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4129 * posix/tst-spawn-chdir.c: New file.
4130 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4131 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4132 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4133 posix_spawn_file_actions_addchdir_np.
4134 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4136 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4138 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4139 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4141 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4143 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4145 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4147 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4149 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4151 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4152 (GLIBC_2.29): Likewise.
4153 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4154 (GLIBC_2.29): Likewise.
4155 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4156 (GLIBC_2.29): Likewise.
4157 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4158 (GLIBC_2.29): Likewise.
4159 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4162 (GLIBC_2.29): Likewise.
4163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4164 (GLIBC_2.29): Likewise.
4165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4166 (GLIBC_2.29): Likewise.
4167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4168 (GLIBC_2.29): Likewise.
4169 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4171 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4173 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4175 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4176 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4178 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4180 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4182 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4185 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4187 * misc/Makefile (tests): Add tst-ldbl-error.
4188 * misc/tst-ldbl-error.c: New file.
4190 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4192 * misc/Makefile (tests): Add tst-ldbl-warn.
4193 * misc/tst-ldbl-warn.c: New file.
4195 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4197 * argp/Makefile (tests): Add tst-ldbl-argp.
4198 * argp/tst-ldbl-argp.c: New file.
4200 2018-11-05 Arjun Shankar <arjun@redhat.com>
4202 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4203 __gconv_path_elem and call __gconv_get_path unconditionally.
4205 2018-11-05 Andreas Schwab <schwab@suse.de>
4208 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4209 creating the first helper thread failed.
4211 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4213 * sysdeps/mach/hurd/msync.c: New file.
4215 2018-11-02 Florian Weimer <fweimer@redhat.com>
4217 * support/shell-container.c (copy_func): Call
4218 support_copy_file_range instead of copy_file_range to support
4219 cross-device copies.
4221 2018-11-02 Florian Weimer <fweimer@redhat.com>
4223 * support/test-container.c: Include <libc-pointer-arith.h> for
4226 2018-11-01 Zong Li <zong@andestech.com>
4228 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4229 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4230 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4231 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4233 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4234 variable to avoid overlap arguments.
4236 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4238 * posix/bug-regex22.c (main): Use puts with distinct error
4239 messages for unexpected success of re_compile_pattern, not printf
4240 with NULL argument to %s.
4242 * stdio-common/bug22.c: Include <libc-diag.h>.
4243 (do_test): Disable -Wformat-overflow= warnings around fprintf
4244 calls outputting more than INT_MAX characters.
4245 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4246 around printf call with NULL %s argument.
4249 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4250 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4252 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4253 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4254 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4255 (__ASSUME_SENDTO_SYSCALL): Likewise.
4256 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4257 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4259 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4260 (__ASSUME_CONNECT_SYSCALL): Likewise.
4261 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4262 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4263 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4265 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4267 [__LINUX_KERNEL_VERSION >= 0x040400]
4268 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4269 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4272 (setsockopt): Likewise.
4274 2018-11-01 Fredrik Noring <noring@nocrew.org>
4276 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4277 with the ISA override.
4279 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4281 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4284 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4286 * manual/errno.texi (EIEIO): Document how translators should
4287 translate the error message.
4288 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4289 printing trailing whitespaces refused by git.
4290 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4291 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4292 * hurd/Makefile (user-interfaces): Add pci.
4294 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4296 * conform/linknamespace.py: New file.
4297 * conform/linknamespace.pl: Remove file.
4298 * conform/Makefile ($(linknamespace-header-tests)): Use
4299 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4302 2018-10-30 Florian Weimer <fweimer@redhat.com>
4304 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4307 2018-10-30 Florian Weimer <fweimer@redhat.com>
4309 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4311 2018-10-30 Florian Weimer <fweimer@redhat.com>
4313 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4314 support_blob_repeat.
4316 2018-10-30 Florian Weimer <fweimer@redhat.com>
4318 Avoid spurious test failures in stdlib/test-bz22786.
4319 * support/Makefile (libsupport-routines): Add blob_repeat.
4320 (tests): Add tst-support_blob_repeat.
4321 * support/blob_repeat.h: New file.
4322 * support/blob_repeat.c: Likewise.
4323 * support/tst-support_blob_repeat.c: Likewise.
4324 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4325 support_blob_repeat_allocate.
4327 2018-10-30 Andreas Schwab <schwab@suse.de>
4330 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4331 Don't use tail call.
4332 * elf/tst-unwind-main.c: New file.
4333 * elf/Makefile (tests): Add tst-unwind-main.
4334 (CFLAGS-tst-unwind-main.c): Define.
4336 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4339 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4341 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4343 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4345 * conform/glibcconform.py: Do not import shutil.
4346 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4349 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4350 critic_missing for versions before 3.4.
4351 * configure: Regenerated.
4352 * manual/install.texi (Tools for Compilation): Document
4353 requirement for Python to build glibc.
4354 * INSTALL: Regenerated.
4355 * Rules [PYTHON]: Make code unconditional.
4356 * benchtests/Makefile [PYTHON]: Likewise.
4357 * conform/Makefile [PYTHON]: Likewise.
4358 * manual/Makefile [PYTHON]: Likewise.
4359 * math/Makefile [PYTHON]: Likewise.
4361 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4363 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4364 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4365 answer to interrupt_operation, return EIEIO instead of EINTR.
4366 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4367 _hurd_intr_rpc_msg_about_to global point to start of controlled
4368 assembly snippet. Make it check canceled flag.
4369 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4370 the _hurd_intr_rpc_msg_about_to point.
4371 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4372 issue, remove cancel flag check.
4374 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4376 * scripts/build-many-glibcs.py: Remove compatibility for missing
4377 os.cpu_count and re.fullmatch.
4379 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4382 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4383 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4384 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4386 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4388 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4391 2018-10-25 Florian Weimer <fweimer@redhat.com>
4395 XFAIL siginfo_t si_band conform test on sparc64.
4396 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4397 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4398 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4399 (conformtest-xfail-conds): Add sparc64-linux.
4400 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4402 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4404 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4406 * elf/elf.h (NT_MIPS_DSP): New macro.
4407 (NT_MIPS_FP_MODE): Likewise.
4409 2018-10-25 Zong Li <zong@andestech.com>
4411 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4412 name by adding the file extension (.so).
4414 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4416 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4417 (test-xfail-ISO11/threads.h/linknamespace,
4418 test-xfail-ISO11/threads.h/conform): Add.
4420 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4422 * math/gen-libm-test.py: Import os.
4423 (ALL_FLOATS_MANUAL): New constant.
4424 (ALL_FLOATS_SUFFIX): Likewise.
4425 (Ulps.all_functions): New function.
4426 (real_all_ulps): Likewise.
4427 (generate_err_table_sub): Likewise.
4428 (generate_err_table): Likewise.
4429 (main): Handle -s and -m options.
4430 * manual/libm-err-tab.pl: Remove.
4431 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4432 instead of libm-err-tab.pl.
4433 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4435 * manual/install.texi (Tools for Compilation): Document
4436 requirement for Python to build manual.
4437 * INSTALL: Regenerated.
4439 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4441 * bits/time64.h: New file.
4442 * include/time.h: Replace internal_time_t with __time64_t.
4443 * posix/bits/types (__time64_t): Add.
4444 * stdlib/Makefile: Add bits/time64.h to includes.
4445 * time/tzfile.c: Replace internal_time_t with __time64_t.
4447 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4449 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4450 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4451 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4452 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4453 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4455 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4456 * posix/spawn_faction_addclose.c
4457 (__posix_spawn_file_actions_addclose): Add hidden definition.
4458 * posix/spawn_faction_adddup2.c
4459 (__posix_spawn_file_actions_adddup2): Likewise.
4460 * posix/spawn_faction_destroy.c
4461 (__posix_spawn_file_actions_destroy): Likewise.
4462 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4464 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4465 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4466 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4468 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4469 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4472 2018-10-24 Andreas Schwab <schwab@suse.de>
4475 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4477 * elf/cache.c (print_cache): Likewise.
4479 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4481 * bits/timesize.h: New file.
4482 * stdlib/Makefile (headers): Add bits/timesize.h.
4483 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4484 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4485 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4486 (__SEM_PAD_AFTER_TIME): Likewise.
4487 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4488 (__SHM_PAD_AFTER_TIME): Likewise.
4489 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4490 (__MSQ_PAD_BEFORE_TIME): Likewise.
4491 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4492 (__SEM_PAD_BEFORE_TIME): Likewise.
4493 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4494 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4495 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4496 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4497 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4498 (__MSQ_PAD_BEFORE_TIME): Likewise.
4499 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4500 (__SEM_PAD_BEFORE_TIME): Likewise.
4501 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4502 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4503 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4504 (__MSQ_PAD_BEFORE_TIME): Likewise.
4505 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4506 (__SEM_PAD_BEFORE_TIME): Likewise.
4507 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4508 (__SHM_PAD_BEFORE_TIME): Likewise.
4509 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4510 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4511 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4513 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4515 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4516 USE_RDTSCP is defined.
4517 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4518 USE_RDTSCP is defined.
4520 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4522 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4526 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4527 independently of other flags.
4529 2018-10-23 Florian Weimer <fweimer@redhat.com>
4531 * time/tst-mktime2.c (N_STRINGS): Remove.
4532 (set_timezone): New function.
4533 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4534 (mktime_test1): Report localtime failure and check errno value.
4536 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4537 (do_test): Remove alarm call. Use set_timezone and array_length.
4539 2018-10-23 Andreas Schwab <schwab@suse.de>
4541 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4542 (__start_context): Use END instead of PSEUDO_END.
4544 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4546 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4549 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4553 * wcsmbs/c32rtomb.c: New file.
4554 * wcsmbs/mbrtoc32.c: Likewise.
4555 * wcsmbs/tst-c32-state.c: Likewise.
4556 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4557 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4558 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4559 (tests): Add tst-c32-state.
4560 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4563 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4565 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4566 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4568 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4571 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4572 pair and return 0 in that case, and use saved character to
4573 interpret following character.
4574 * wcsmbs/tst-c16-surrogate.c: New file.
4575 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4576 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4577 Depend on $(gen-locales)
4579 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4582 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4583 (struct siginfo_t): Use correct type for si_band.
4585 2018-10-19 Florian Weimer <fweimer@redhat.com>
4588 * resource/bits/types/struct_rusage.h (struct rusage): Update
4589 comment on struct. Remove extraneous field comment.
4591 2018-10-18 David S. Miller <davem@davemloft.net>
4593 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4594 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4595 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4596 sysdep_routines in subdir elf.
4597 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4598 version for __vdso_clock_gettime.
4599 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4601 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4602 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4604 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4606 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4608 * sysdeps/i386/init-arch.h: Removed.
4609 * sysdeps/i386/i586/init-arch.h: Likewise.
4610 * sysdeps/i386/i686/init-arch.h: Likewise.
4611 * sysdeps/i386/i686/hp-timing.h: Likewise.
4612 * sysdeps/x86_64/hp-timing.h: Likewise.
4613 * sysdeps/i386/isa.h: New file.
4614 * sysdeps/i386/i586/isa.h: Likewise.
4615 * sysdeps/i386/i686/isa.h: Likewise.
4616 * sysdeps/x86_64/isa.h: Likewise.
4617 * sysdeps/x86/hp-timing.h: New file.
4618 * sysdeps/x86/init-arch.h: Include <isa.h>.
4620 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4622 * math/libm-test-pow.inc (pow_test_data): Do not allow
4623 divide-by-zero exception for pow(+/- 0, -Inf).
4625 2018-10-17 Zack Weinberg <zackw@panix.com>
4627 * manual/job.texi (Job Control is Optional): Remove node, as
4628 job control has not been optional in quite some time.
4629 (Job Control): Mention briefly that systems older than
4630 POSIX.1-2001 might not support job control.
4631 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4632 defined on systems conforming to POSIX.1-2001.
4634 2018-10-17 Arjun Shankar <arjun@redhat.com>
4637 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4639 * (__gconv_read_conf): Mark function static.
4640 * (once): New static variable.
4641 * (__gconv_load_conf): New function.
4642 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4643 * iconv/gconv_db.c (once): Remove static variable.
4644 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4646 * (__gconv_find_transform): Likewise.
4647 * iconv/tst-iconv-mt.c: New test.
4648 * iconv/Makefile: Add tst-iconv_mt.
4650 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4654 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4655 (shmatt_t): Define as __syscall_ulong_t.
4656 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4657 and [__SHM_PAD_AFTER_TIME].
4658 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4659 Define shm_segsz and associated padding based on
4660 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4661 Use __syscall_ulong_t instead of unsigned long int.
4662 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4664 [__USE_MISC] (struct shm_info): Likewise.
4665 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4666 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4667 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4668 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4669 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4670 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4671 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4672 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4673 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4674 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4675 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4679 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4680 (SHMLBA): Remove macro.
4681 (__getpagesize): Remove function declaration.
4682 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4684 (SHMLBA): Remove macro.
4685 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4687 (SHMLBA): Remove macro.
4688 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4690 (SHMLBA): Remove macro.
4691 (__getpagesize): Remove function declaration.
4692 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4694 (SHMLBA): Remove macro.
4695 (__getshmlba): Remove function declaration.
4696 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4697 (SHMLBA): Remove macro.
4698 (__getpagesize): Remove function declaration.
4699 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4700 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4701 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4702 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4703 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4704 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4705 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4706 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4707 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4708 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4710 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4713 * nptl/tst-mutex10.c: New File.
4714 * nptl/Makefile (tests): Add tst-mutex10.
4715 (tst-mutex10-ENV): New variable.
4716 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4717 Ensure that elision path is used if elision is available.
4718 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4720 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4722 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4723 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4724 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4725 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4727 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4728 (__pthread_mutex_cond_lock_adjust): Likewise.
4729 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4731 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
4732 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4733 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4734 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
4736 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4737 Use atomic_load_relaxed and atomic_store_relaxed.
4738 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
4739 Use atomic_store_relaxed.
4741 2018-10-17 Andreas Schwab <schwab@suse.de>
4743 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
4744 * crypt/badsalttest.c (TIMEOUT): Likewise.
4745 * crypt/sha256c-test.c (TIMEOUT): Likewise.
4746 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
4747 * io/test-lfs.c (TIMEOUT): Likewise.
4748 * libio/tst-atime.c (TIMEOUT): Likewise.
4749 * localedata/tst-leaks.c (TIMEOUT): Likewise.
4750 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
4751 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
4752 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
4753 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
4754 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
4755 * nptl/tst-cond11.c (TIMEOUT): Likewise.
4756 * nptl/tst-cond14.c (TIMEOUT): Likewise.
4757 * nptl/tst-cond15.c (TIMEOUT): Likewise.
4758 * nptl/tst-cond24.c (TIMEOUT): Likewise.
4759 * nptl/tst-cond25.c (TIMEOUT): Likewise.
4760 * nptl/tst-kill2.c (TIMEOUT): Likewise.
4761 * nptl/tst-kill3.c (TIMEOUT): Likewise.
4762 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
4763 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
4764 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
4765 * nptl/tst-once2.c (TIMEOUT): Likewise.
4766 * nptl/tst-once3.c (TIMEOUT): Likewise.
4767 * nptl/tst-once4.c (TIMEOUT): Likewise.
4768 * nptl/tst-robust8.c (TIMEOUT): Likewise.
4769 * nptl/tst-robust9.c (TIMEOUT): Likewise.
4770 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
4771 * nptl/tst-sem14.c (TIMEOUT): Likewise.
4772 * nptl/tst-sem6.c (TIMEOUT): Likewise.
4773 * nptl/tst-signal3.c (TIMEOUT): Likewise.
4774 * nptl/tst-spin4.c (TIMEOUT): Likewise.
4775 * nptl/tst-tls3.c (TIMEOUT): Likewise.
4776 * nptl/tst-tls4.c (TIMEOUT): Likewise.
4777 * posix/tst-chmod.c (TIMEOUT): Likewise.
4778 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
4779 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
4780 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
4781 * posix/tst-regex2.c (TIMEOUT): Likewise.
4782 * posix/tst-waitid.c (TIMEOUT): Likewise.
4783 * rt/tst-aio.c (TIMEOUT): Likewise.
4784 * rt/tst-aio10.c (TIMEOUT): Likewise.
4785 * rt/tst-aio4.c (TIMEOUT): Likewise.
4786 * rt/tst-aio5.c (TIMEOUT): Likewise.
4787 * rt/tst-aio6.c (TIMEOUT): Likewise.
4788 * rt/tst-aio64.c (TIMEOUT): Likewise.
4789 * rt/tst-aio7.c (TIMEOUT): Likewise.
4790 * rt/tst-aio9.c (TIMEOUT): Likewise.
4791 * rt/tst-clock.c (TIMEOUT): Likewise.
4792 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
4793 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
4794 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
4795 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
4796 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
4797 * rt/tst-timer4.c (TIMEOUT): Likewise.
4798 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
4799 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
4800 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
4801 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
4802 * time/tst-ftime.c (TIMEOUT): Likewise.
4803 * timezone/tst-tzset.c (TIMEOUT): Likewise.
4805 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4807 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
4808 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
4811 2018-10-15 Joseph Myers <joseph@codesourcery.com>
4813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4815 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
4816 instead of <bits/wordsize.h>.
4817 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
4818 and [__SEM_PAD_AFTER_TIME].
4819 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
4820 __syscall_ulong_t instead of unsigned long int.
4821 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
4822 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
4823 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
4824 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
4825 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
4826 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
4827 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
4828 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
4829 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4830 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4831 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4833 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
4835 regex: simplify by using intprops.h
4837 * posix/regex_internal.h [_LIBC]: Include intprops.h.
4838 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
4839 intprops.h defines them.
4841 regex: __builtin_expect → __glibc_unlikely
4843 This refactoring was prompted by a problem when the regex code is
4844 used as part of Gnulib and when the builder’s compiler does not grok
4845 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
4846 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
4847 Although this refactoring does not fix the problem directly,
4848 we might as well have Gawk use the now-preferred glibc style for when
4849 __builtin_expect is unavailable.
4850 * posix/regex_internal.h (BE): Remove.
4851 All uses replaced by __glibc_unlikely or __glibc_likely.
4853 2018-10-11 Joseph Myers <joseph@codesourcery.com>
4855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4857 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
4858 instead of <bits/wordsize.h>.
4859 (msgqnum_t): Define as __syscall_ulong_t.
4860 (msglen_t): Likewise.
4861 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
4862 and [__MSQ_PAD_AFTER_TIME].
4863 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
4864 __syscall_ulong_t instead of unsigned long int.
4865 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
4866 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
4867 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
4868 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
4869 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
4870 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
4871 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
4872 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
4873 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4874 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4875 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4877 2018-10-10 Joseph Myers <joseph@codesourcery.com>
4879 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
4880 (struct shmid_ds): Condition padding after time fields on
4882 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
4883 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
4884 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4886 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
4887 (struct semid_ds): Condition padding after time fields on
4889 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
4890 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
4891 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
4892 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4894 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
4895 (struct msqid_ds): Condition padding after time fields on
4897 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
4898 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
4899 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
4900 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4902 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4904 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
4906 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4908 * libio/tst-readline.c (TIMEOUT): Define.
4910 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
4912 mktime fix for Gnulib + coreutils
4914 This fix affects only Gnulib. Problem discovered when
4915 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
4917 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
4918 Do not define since it is not used. Defining an unused static
4919 function prompts a warning from GCC when Coreutils is configured
4920 with --enable-gcc-warnings.
4922 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4924 * benchtests/scripts/compare_bench.py (main): set float type on
4927 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
4930 * localedata/locales/kl_GL (mon): Update, the relative case.
4931 (alt_mon): Add, fill with month names in the nominative case.
4932 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
4933 (d_fmt): Set to "%b %d %Y".
4935 2018-10-04 Joseph Myers <joseph@codesourcery.com>
4937 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
4938 <bits/mman-linux.h>.
4939 (PROT_READ): Don't define here.
4940 (PROT_WRITE): Likewise.
4941 (PROT_EXEC): Likewise.
4942 (PROT_NONE): Likewise.
4943 (PROT_GROWSDOWN): Likewise.
4944 (PROT_GROWSUP): Likewise.
4945 (MAP_SHARED): Likewise.
4946 (MAP_PRIVATE): Likewise.
4947 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
4948 [__USE_MISC] (MAP_FILE): Likewise.
4949 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
4950 [__USE_MISC] (MAP_ANON): Likewise.
4951 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
4952 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
4953 (MCL_CURRENT): Likewise.
4954 (MCL_FUTURE): Likewise.
4955 (MCL_ONFAULT): Likewise.
4956 [__USE_MISC] (MADV_NORMAL): Likewise.
4957 [__USE_MISC] (MADV_RANDOM): Likewise.
4958 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
4959 [__USE_MISC] (MADV_WILLNEED): Likewise.
4960 [__USE_MISC] (MADV_DONTNEED): Likewise.
4961 [__USE_MISC] (MADV_FREE): Likewise.
4962 [__USE_MISC] (MADV_REMOVE): Likewise.
4963 [__USE_MISC] (MADV_DONTFORK): Likewise.
4964 [__USE_MISC] (MADV_DOFORK): Likewise.
4965 [__USE_MISC] (MADV_HWPOISON): Likewise.
4966 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
4967 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
4968 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
4969 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
4970 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
4971 (__MAP_ANONYMOUS): New macro.
4972 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
4973 <bits/mman-linux.h> inclusion.
4974 (MAP_FIXED): Likewise.
4975 (MS_SYNC): Likewise.
4976 (MS_ASYNC): Likewise.
4977 (MS_INVALIDATE): Likewise.
4978 [__USE_MISC] (MADV_MERGEABLE): Likewise.
4979 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
4980 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
4981 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
4982 [__USE_MISC] (MADV_DONTDUMP): Likewise.
4983 [__USE_MISC] (MADV_DODUMP): Likewise.
4984 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
4985 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
4988 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
4990 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
4991 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
4992 Add test-nldbl-redirect.
4993 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
4994 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
4995 $(objpfx)libnldbl_nonshared.a.
4997 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
4999 * support/support.h (support_objdir_elf_ldso): New variable.
5000 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5001 * support/Makefile (CFLAGS-support_paths.c): Add definition
5002 for OBJDIR_ELF_LDSO_PATH.
5003 * support/test-container.c (main): Search for the ld.so
5004 which is also used by the testsuite.
5006 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5009 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5010 should be "sap" rather than "sab".
5011 (day): Fix spelling of Sunday, should be "sapaat" rather than
5014 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5016 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5018 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5021 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5022 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5023 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5025 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5027 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5029 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5031 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5033 (CFLAGS-elision-unlock.c): Likewise.
5034 (CFLAGS-elision-timed.c): Likewise.
5035 (CFLAGS-elision-trylock.c): Likewise.
5036 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5038 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5041 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5042 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5043 new fd_to_filename interface.
5044 * libio/freopen64.c (freopen64): Likewise.
5045 * libio/tst-memstream.h: New file.
5046 * libio/tst-memstream4.c: Likewise.
5047 * libio/tst-wmemstream4.c: Likewise.
5048 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5049 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5050 and remove internal dynamic allocation.
5052 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5054 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5055 (MREMAP_MAYMOVE): Do not define here.
5056 [__USE_GNU] (MREMAP_FIXED): Likewise.
5057 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5058 (MREMAP_MAYMOVE): Define here instead.
5059 [__USE_GNU] (MREMAP_FIXED): Likewise.
5060 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5061 (MREMAP_MAYMOVE): Remove.
5062 [__USE_GNU] (MREMAP_FIXED): Likewise.
5064 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5066 * math/fromfp.h: Do not include <math_private.h>.
5067 * math/s_cacosh_template.c: Likewise.
5068 * math/s_casin_template.c: Likewise.
5069 * math/s_casinh_template.c: Likewise.
5070 * math/s_ccos_template.c: Likewise.
5071 * math/s_cproj_template.c: Likewise.
5072 * math/s_fdim_template.c: Likewise.
5073 * math/s_fmaxmag_template.c: Likewise.
5074 * math/s_fminmag_template.c: Likewise.
5075 * math/s_iseqsig_template.c: Likewise.
5076 * math/s_ldexp_template.c: Likewise.
5077 * math/s_nextdown_template.c: Likewise.
5078 * math/w_log1p_template.c: Likewise.
5079 * math/w_scalbln_template.c: Likewise.
5080 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5081 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5082 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5083 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5084 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5085 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5086 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5087 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5088 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5089 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5090 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5091 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5092 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5093 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5094 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5095 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5096 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5097 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5098 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5099 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5100 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5101 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5102 * sysdeps/ieee754/k_standardf.c: Likewise.
5103 * sysdeps/ieee754/k_standardl.c: Likewise.
5104 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5105 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5106 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5107 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5109 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5110 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5111 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5112 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5113 * sysdeps/ieee754/s_signgam.c: Likewise.
5114 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5115 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5116 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5117 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5118 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5119 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5120 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5121 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5122 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5123 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5124 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5125 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5126 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5127 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5128 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5129 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5130 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5131 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5132 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5133 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5134 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5135 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5136 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5137 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5138 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5139 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5140 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5141 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5142 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5143 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5144 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5145 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5146 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5147 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5148 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5149 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5150 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5152 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5154 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5157 * sysdeps/i386/dl-cet.c: Removed.
5158 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5160 (_dl_runtime_profile_shstk): Likewise.
5161 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5162 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5164 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5167 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5168 do_test_with_invalid_iov): New tests.
5169 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5170 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5171 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5173 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5174 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5175 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5177 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5179 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5180 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5181 (MATH_REDIRECT_BINARY_ARGS): New macro.
5182 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5183 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5184 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5186 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5187 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5188 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5189 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5190 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5191 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5192 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5199 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5200 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5205 * sysdeps/generic/math_private_calls.h
5206 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5207 Do not declare and define as an inline function.
5208 * math/divtc3.c (__divtc3): Use copysign functions instead of
5209 __copysign variants.
5210 * math/multc3.c (__multc3): Likewise.
5211 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5212 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5213 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5214 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5216 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5217 (__ieee754_yn): Likewise.
5218 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5219 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5220 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5221 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5222 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5224 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5225 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5227 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5229 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5231 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5232 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5234 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5235 (__ieee754_ynf): Likewise.
5236 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5237 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5238 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5239 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5241 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5242 (__ieee754_ynl): Likewise.
5243 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5244 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5245 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5248 (__ieee754_ynl): Likewise.
5249 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5250 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5251 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5252 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5254 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5256 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5257 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5258 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5259 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5260 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5262 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5263 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5264 using MATH_REDIRECT.
5265 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5267 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5270 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5271 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5273 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5278 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5279 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5281 (round): Redirect to __round.
5282 (__roundl): Call round instead of __round.
5283 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5285 [_ARCH_PWR5X] (__roundf): Likewise.
5286 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5287 functions instead of __round variants.
5288 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5289 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5291 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5293 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5295 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5296 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5298 (__ieee754_expl): Call roundl instead of __roundl.
5300 2018-09-27 Andreas Schwab <schwab@suse.de>
5303 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5304 (do_test): Make st1 static.
5306 2018-09-26 Andreas Schwab <schwab@suse.de>
5309 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5310 * elf/Makefile (tests): Add tst-unwind-ctor.
5311 (modules-names): Add tst-unwind-ctor-lib.
5312 ($(objpfx)tst-unwind-ctor): Depend on
5313 $(objpfx)tst-unwind-ctor-lib.so.
5315 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5317 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5318 file. Most contents moved from ....
5319 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5320 and include <bits/mman-map-flags-generic.h>.
5321 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5322 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5323 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5324 <bits/mman-map-flags-generic.h>.
5325 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5326 macros defined in <bits/mman-map-flags-generic.h>.
5327 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5328 <bits/mman-map-flags-generic.h>.
5329 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5330 defined in <bits/mman-map-flags-generic.h>.
5332 2018-09-26 Andreas Schwab <schwab@suse.de>
5334 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5337 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5338 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5339 Fangrui Song <maskray@google.com>
5342 * config.make.in (have-textrel_ifunc): New define.
5343 * configure.ac: Add check if linker supports textrel relocation with
5345 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5347 (CFLAGS-tst-ifunc-textrel.c): New rule.
5348 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5349 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5350 * elf/tst-ifunc-textrel.c: New file.
5352 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5354 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5355 <bits/procfs-prregset.h>.
5356 (prgregset_t): Define using __prgregset_t.
5357 (prfpregset_t): Define using __prfpregset_t.
5358 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5359 (sysdep_headers): Add bits/procfs-prregset.h.
5360 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5361 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5362 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5363 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5365 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5366 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5367 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5369 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5370 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5371 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5372 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5373 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5374 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5375 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5376 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5377 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5378 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5379 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5380 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5381 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5382 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5383 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5384 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5385 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5386 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5387 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5388 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5389 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5390 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5391 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5392 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5394 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5395 AArch64 version. Include <bits/procfs.h>.
5396 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5397 (sysdep_headers): Add bits/procfs.h.
5398 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5399 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5400 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5401 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5402 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5403 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5404 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5405 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5406 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5407 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5408 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5409 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5410 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5411 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5412 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5413 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5414 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5416 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5418 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5421 2018-09-25 Arjun Shankar <arjun@redhat.com>
5423 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5424 (__gconv_max_path_elem_len): Likewise.
5425 (__gconv_nmodules): Likewise.
5426 (__gconv_get_path): Likewise.
5427 (path_elem): Move to ...
5428 * iconv/gconv_conf.c: ... here.
5429 (__gconv_get_path): Mark function static.
5430 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5431 * iconv/gconv_open.c: ... here.
5433 2018-09-24 Andreas Schwab <schwab@suse.de>
5435 * scripts/haveversions.awk: New file.
5436 * Makerules ($(common-objpfx)Versions.def)
5437 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5438 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5440 * Makeconfig ($(common-objpfx)Versions.def)
5441 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5442 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5444 ($(common-objpfx)Versions.mk): New rule. Include it.
5445 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5446 Emit error if build-obsolete-nsl = yes.
5447 * manual/install.texi (Configuring and compiling): Describe
5448 --enable-obsolete-nsl as unavaiable after version 2.28.
5449 * INSTALL: Regenerate.
5451 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5453 * NEWS: Add note about new TLE support on powerpc64le.
5454 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5455 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5457 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5458 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5459 * sysdeps/powerpc/powerpc32/sysdep.h,
5460 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5461 ABORT_TRANSACTION): Remove macros.
5462 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5463 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5464 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5466 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5467 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5469 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5471 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5474 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5475 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5476 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5477 which is the same as in it_IT.
5478 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5479 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5481 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5483 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5484 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5485 using MATH_REDIRECT.
5486 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5488 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5489 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5490 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5491 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5492 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5498 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5499 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5500 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5501 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5502 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5503 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5504 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5506 (ceil): Redirect to __ceil.
5507 (floor): Redirect to __floor.
5508 (trunc): Redirect to __trunc.
5509 (__truncl): Call trunc instead of __trunc.
5510 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5512 [_ARCH_PWR5X] (__truncf): Likewise.
5513 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5514 trunc functions instead of __trunc variants.
5515 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5517 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5519 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5521 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5524 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5525 [__i586__ || __pentium__].
5526 [__i486__]: Handle explicitly.
5527 (HAS_CPUID): Define to 1 if above macros are undefined.
5528 (HAS_I586): Likewise.
5529 (HAS_I686): Likewise.
5531 2018-09-20 Florian Weimer <fweimer@redhat.com>
5533 * misc/tst-gethostid.c: New file.
5534 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5535 (tst-gethostid): Link with -ldl.
5537 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5539 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5540 value from gethostbyname_r.
5542 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5544 * stdlib/tst-setcontext9.c (f1): Rename to...
5546 (f1b): New function implementing lower half of f1 in alternate stack.
5548 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5550 Fix mktime localtime offset confusion
5552 * include/time.h (__mktime_internal): The localtime offset is now
5553 of type long int instead of time_t. This is the longstanding type
5554 in glibc, and it is more than enough to represent difference
5555 between localtime and gmtime even if it is 32 bits and time_t is
5556 64. Changing it now will let us avoid an unnecessary change when
5557 time_t is widened to 64 bits on 32-bit platforms.
5558 * time/mktime-internal.h (mktime_offset_t): Now long int.
5560 Merge mktime, timegm from upstream Gnulib
5561 [BZ #23603][BZ #16346]
5562 This fixes some obscure problems with integer overflow.
5563 Although it looks scary, it is almost all a byte-for-byte copy
5564 from Gnulib, and the Gnulib code has been tested reasonably well.
5565 * include/intprops.h: New file, copied from Gnulib.
5566 * include/verify.h, time/mktime-internal.h:
5567 New tiny files, simplified from Gnulib.
5568 * time/mktime.c: Copy from Gnulib. This has the following changes:
5569 Do not include config.h if DEBUG_MKTIME is nonzero.
5570 Include stdbool.h, intprops.h, verify.h.
5571 Include string.h only if needed.
5572 Include stdlib.h on MS-Windows.
5573 Include mktime-internal.h.
5574 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5575 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5576 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5577 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5578 simplify later conditionals; default the others to zero. Use
5579 these conditionals to express only the code needed on the current
5580 platform. In uses of these conditionals, explicitly spell out how
5581 _LIBC affects things, so it’s easier to review from a glibc
5583 (WRAPV): Remove; no longer needed now that we have
5584 systematic overflow checking.
5585 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5586 compartmentalize tzset issues. Move system-dependent tzsettish
5587 code here from mktime.
5588 (verify): Remove; now done by verify.h. All uses changed.
5589 (long_int): Use a more-conservative definition, to avoid
5591 (SHR): Remove, replacing with ...
5592 (shr): New function, which means we needn’t worry about side
5593 effects in args, and conversion analysis is simpler.
5594 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5595 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5596 (time_t_avg, time_t_add_ok): Remove.
5597 (mktime_min, mktime_max): New constants.
5598 (leapyear, isdst_differ): Use bool for booleans.
5599 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5600 Use long_int, not time_t, for mktime differences.
5601 (long_int_avg): New function, replacing time_t_avg.
5602 INT_ADD_WRAPV replaces time_t_add_ok.
5603 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5605 (convert_time): New function.
5606 (ranged_convert): Use it.
5607 (__mktime_internal): Last arg now points to mktime_offset_t, not
5608 time_t. All uses changed. This is a no-op on glibc, where
5609 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5610 offset guess. Directly check for integer overflow instead of
5611 using a heuristic that works only 99.9...% of the time.
5612 Access *OFFSET only once, to avoid an unlikely race if the
5613 compiler delays a load and if this cascades into a signed integer
5615 (mktime): Move tzsettish code to my_tzset, and move
5616 localtime_offset to within mktime so that it doesn’t
5617 need a separate ifdef.
5618 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5619 instead of localtime.
5620 * time/timegm.c: Copy from Gnulib. This has the following changes:
5621 Include mktime-internal.h.
5622 [!_LIBC]: Include config.h and time.h. Do not include
5623 timegm.h or time_r.h. Make __mktime_internal a macro,
5624 and include mktime-internal.h to get its declaration.
5625 (timegm): Temporary is now mktime_offset_t, not time_t.
5626 This affects only Gnulib.
5628 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5631 * string/test-strstr.c (pr23637): New function.
5632 (test_main): Add tests with longer needles.
5633 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5634 * string/strstr.c (AVAILABLE): Likewise.
5636 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5638 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5640 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5642 * NEWS: Mention pow improvements.
5643 * math/Makefile (type-double-routines): Add e_pow_log_data.
5644 * sysdeps/generic/math_private.h (__exp1): Remove.
5645 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5646 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5647 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5649 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5650 (exp_inline): Remove.
5651 (__ieee754_exp): Only single double input is handled.
5652 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5653 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5654 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5655 (__pow_log_data): Define.
5656 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5657 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5658 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5659 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5661 (CFLAGS-e_pow-fma4.c): Likewise.
5663 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5665 Simplify tzfile fstat failure code
5667 * time/tzfile.c (__tzfile_read): Simplify slightly.
5669 Fix tzfile low-memory assertion failure
5671 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5672 when registering time zone abbreviations.
5674 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5676 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5677 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5678 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5679 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5680 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5681 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5682 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5683 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5684 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5686 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5688 (__ceill): Call ceil instead of __ceil.
5689 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5691 (__floorl): Call floor instead of __floor.
5693 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5695 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5696 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5697 using MATH_REDIRECT.
5698 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5700 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5701 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5702 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5703 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5704 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5705 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5706 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5707 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5712 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5713 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5716 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5717 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5718 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5720 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5721 functions instead of __ceil variants.
5722 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5723 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5725 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5727 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5728 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5730 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5731 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5734 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
5736 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
5737 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
5738 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
5739 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
5740 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
5741 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
5742 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
5743 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
5744 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
5745 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
5746 (ILL_BADIADDR): Remove constant.
5747 (TRAP_BRANCH): Likewise.
5748 (TRAP_HWBKPT): Likewise.
5750 2018-09-14 Joseph Myers <joseph@codesourcery.com>
5753 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
5754 Remove [_MIPS_SIM = _ABIN32] conditional case.
5755 (struct elf_prpsinfo): Likewise.
5758 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
5759 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
5760 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
5762 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
5763 elf_prpsinfo): Likewise.
5764 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
5765 elf_prpsinfo): Likewise.
5766 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
5769 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5770 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
5771 using MATH_REDIRECT.
5772 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
5774 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
5775 * sysdeps/alpha/fpu/s_rint.c: Likewise.
5776 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
5777 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5778 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5780 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
5781 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5782 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5783 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5784 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
5785 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
5786 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
5787 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5788 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5789 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5790 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5791 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
5792 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5795 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
5796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
5797 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5798 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5799 * sysdeps/x86_64/fpu/math_private.h: Remove file.
5800 * math/e_scalb.c (invalid_fn): Use rint functions instead of
5802 * math/e_scalbf.c (invalid_fn): Likewise.
5803 * math/e_scalbl.c (invalid_fn): Likewise.
5804 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5806 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5808 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5809 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
5810 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5812 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5814 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5816 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
5817 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
5819 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5820 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
5822 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5823 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
5824 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5825 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
5826 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5827 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
5828 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5829 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
5830 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5831 && !NO_MATH_REDIRECT] (floor): Likewise.
5832 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
5834 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
5835 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5837 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
5838 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5839 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5840 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5841 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
5843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
5844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
5845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
5846 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5847 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5850 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5851 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5852 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
5854 [_ARCH_PWR5X] (__floorf): Likewise.
5855 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
5857 [__SSE4_1__] (__floorf): Likewise.
5858 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
5859 instead of __floor variants.
5860 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
5861 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
5862 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
5863 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
5864 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
5865 * math/w_tgamma_compat.c (__tgamma): Likewise.
5866 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
5867 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
5868 * math/w_tgammal_compat.c (__tgammal): Likewise.
5869 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
5870 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5872 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5873 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
5874 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5875 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5877 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5878 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
5880 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5881 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
5883 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5884 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
5886 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5887 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5888 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5889 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
5890 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5891 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5893 2018-09-12 Joseph Myers <joseph@codesourcery.com>
5895 * elf/Makefile (modules-names-tests): New variable.
5897 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5899 * NEWS: Mention log2 improvements.
5900 * math/Makefile (type-double-routines): Add e_log2_data.
5901 * sysdeps/i386/fpu/e_log2_data.c: New file.
5902 * sysdeps/ia64/fpu/e_log2_data.c: New file.
5903 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
5904 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
5905 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
5906 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
5907 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
5909 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5911 * NEWS: Mention log improvement.
5912 * math/Makefile (type-double-routines): Add e_log_data.
5913 * sysdeps/i386/fpu/e_log_data.c: New file.
5914 * sysdeps/ia64/fpu/e_log_data.c: New file.
5915 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
5916 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
5917 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
5918 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
5919 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
5920 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
5922 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
5923 Xuepeng Guo <xuepeng.guo@intel.com>
5926 * sysdeps/i386/start.S: Include <sysdep.h>
5927 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
5928 enabled. Add cfi_undefined (eip).
5930 2018-09-11 Joseph Myers <joseph@codesourcery.com>
5932 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
5934 (EXTRACT_WORDS64): Likewise.
5935 (INSERT_WORDS64): Likewise.
5936 (GET_FLOAT_WORD): Likewise.
5937 (SET_FLOAT_WORD): Likewise.
5939 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
5941 (Config.build_gcc): Use --disable-libsanitizer for first GCC
5942 build, but not for second build if --full-gcc. Use
5943 --enable-languages=all for second build if --full-gcc.
5944 (get_parser): Add --full-gcc option.
5945 (main): Update call to Context.
5947 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
5950 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
5951 Single Quotation Mark).
5952 (thousands_sep): Likewise.
5953 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
5954 * localedata/locales/it_IT (thousands_sep): Use ".".
5955 (grouping): Use "3;3".
5957 2018-09-10 Joseph Myers <joseph@codesourcery.com>
5959 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5960 x86_64 and i686 configs using --enable-obsolete-rpc
5961 --enable-obsolete-nsl.
5963 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5965 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5967 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
5969 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5970 Increment size of new_argv by one.
5972 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
5975 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
5976 * localedata/locales/ar_IN (d_fmt): Likewise.
5977 * localedata/locales/bhb_IN (d_fmt): Likewise.
5978 * localedata/locales/bho_IN (d_fmt): Likewise.
5979 * localedata/locales/bn_BD (d_fmt): Likewise.
5980 * localedata/locales/bn_IN (d_fmt): Likewise.
5981 * localedata/locales/doi_IN (d_fmt): Likewise.
5982 * localedata/locales/gu_IN (d_fmt): Likewise.
5983 * localedata/locales/hi_IN (d_fmt): Likewise.
5984 * localedata/locales/hne_IN (d_fmt): Likewise.
5985 * localedata/locales/kn_IN (d_fmt): Likewise.
5986 * localedata/locales/mag_IN (d_fmt): Likewise.
5987 * localedata/locales/mai_IN (d_fmt): Likewise.
5988 * localedata/locales/mjw_IN (d_fmt): Likewise.
5989 * localedata/locales/ml_IN (d_fmt): Likewise.
5990 * localedata/locales/mni_IN (d_fmt): Likewise.
5991 * localedata/locales/mr_IN (d_fmt): Likewise.
5992 * localedata/locales/pa_IN (d_fmt): Likewise.
5993 * localedata/locales/raj_IN (d_fmt): Likewise.
5994 * localedata/locales/sat_IN (d_fmt): Likewise.
5995 * localedata/locales/sd_IN (d_fmt): Likewise.
5996 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
5997 * localedata/locales/ta_IN (d_fmt): Likewise.
5998 * localedata/locales/ta_LK (d_fmt): Likewise.
5999 * localedata/locales/tcy_IN (d_fmt): Likewise.
6000 * localedata/locales/ur_IN (d_fmt): Likewise.
6002 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6003 * localedata/locales/ks_IN (d_fmt): Likewise.
6004 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6006 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6007 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6008 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6009 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6011 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6013 * NEWS: Mention exp and exp2 improvements.
6014 * math/Makefile (libm-support): Remove t_exp.
6015 (type-double-routines): Add math_err and e_exp_data.
6016 * sysdeps/aarch64/libm-test-ulps: Update.
6017 * sysdeps/arm/libm-test-ulps: Update.
6018 * sysdeps/i386/fpu/e_exp_data.c: New file.
6019 * sysdeps/i386/fpu/math_err.c: New file.
6020 * sysdeps/i386/fpu/t_exp.c: Remove.
6021 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6022 * sysdeps/ia64/fpu/math_err.c: New file.
6023 * sysdeps/ia64/fpu/t_exp.c: Remove.
6024 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6025 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6026 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6027 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6028 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6029 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6030 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6031 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6032 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6033 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6034 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6035 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6036 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6037 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6041 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6043 * sysdeps/alpha/fpu/math_private.h: Remove.
6045 * sysdeps/generic/math_private.h
6046 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6047 Move this inline function ....
6048 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6049 * include/math.h [!_ISOMAC]: To here....
6051 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6053 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6055 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6056 * include/fenv.h [!_ISOMAC]: ... to here.
6057 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6058 (feraiseexcept): Likewise.
6059 * math/fromfp.h: Do not include <fenv_private.h>.
6060 * math/s_cexp_template.c: Likewise.
6061 * math/s_csin_template.c: Likewise.
6062 * math/s_csinh_template.c: Likewise.
6063 * math/s_ctan_template.c: Likewise.
6064 * math/s_ctanh_template.c: Likewise.
6065 * math/s_iseqsig_template.c: Likewise.
6066 * math/w_acos_compat.c: Likewise.
6067 * math/w_acosf_compat.c: Likewise.
6068 * math/w_acosl_compat.c: Likewise.
6069 * math/w_asin_compat.c: Likewise.
6070 * math/w_asinf_compat.c: Likewise.
6071 * math/w_asinl_compat.c: Likewise.
6072 * math/w_j0_compat.c: Likewise.
6073 * math/w_j0f_compat.c: Likewise.
6074 * math/w_j0l_compat.c: Likewise.
6075 * math/w_j1_compat.c: Likewise.
6076 * math/w_j1f_compat.c: Likewise.
6077 * math/w_j1l_compat.c: Likewise.
6078 * math/w_jn_compat.c: Likewise.
6079 * math/w_jnf_compat.c: Likewise.
6080 * math/w_log10_compat.c: Likewise.
6081 * math/w_log10f_compat.c: Likewise.
6082 * math/w_log10l_compat.c: Likewise.
6083 * math/w_log2_compat.c: Likewise.
6084 * math/w_log2f_compat.c: Likewise.
6085 * math/w_log2l_compat.c: Likewise.
6086 * math/w_log_compat.c: Likewise.
6087 * math/w_logf_compat.c: Likewise.
6088 * math/w_logl_compat.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6092 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6094 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6095 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6096 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6097 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6098 * sysdeps/ieee754/k_standardl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6110 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6111 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6112 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6113 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6115 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6116 * math/w_ilogb_template.c: Include <fenv.h> instead of
6118 * math/w_llogb_template.c: Likewise.
6119 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6120 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6122 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6124 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6125 * math/fromfp.h: Include <fenv_private.h>.
6126 * math/math-narrow.h: Likewise.
6127 * math/s_cexp_template.c: Likewise.
6128 * math/s_csin_template.c: Likewise.
6129 * math/s_csinh_template.c: Likewise.
6130 * math/s_ctan_template.c: Likewise.
6131 * math/s_ctanh_template.c: Likewise.
6132 * math/s_iseqsig_template.c: Likewise.
6133 * math/w_acos_compat.c: Likewise.
6134 * math/w_acosf_compat.c: Likewise.
6135 * math/w_acosl_compat.c: Likewise.
6136 * math/w_asin_compat.c: Likewise.
6137 * math/w_asinf_compat.c: Likewise.
6138 * math/w_asinl_compat.c: Likewise.
6139 * math/w_ilogb_template.c: Likewise.
6140 * math/w_j0_compat.c: Likewise.
6141 * math/w_j0f_compat.c: Likewise.
6142 * math/w_j0l_compat.c: Likewise.
6143 * math/w_j1_compat.c: Likewise.
6144 * math/w_j1f_compat.c: Likewise.
6145 * math/w_j1l_compat.c: Likewise.
6146 * math/w_jn_compat.c: Likewise.
6147 * math/w_jnf_compat.c: Likewise.
6148 * math/w_llogb_template.c: Likewise.
6149 * math/w_log10_compat.c: Likewise.
6150 * math/w_log10f_compat.c: Likewise.
6151 * math/w_log10l_compat.c: Likewise.
6152 * math/w_log2_compat.c: Likewise.
6153 * math/w_log2f_compat.c: Likewise.
6154 * math/w_log2l_compat.c: Likewise.
6155 * math/w_log_compat.c: Likewise.
6156 * math/w_logf_compat.c: Likewise.
6157 * math/w_logl_compat.c: Likewise.
6158 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6159 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6160 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6161 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6162 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6164 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6168 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6169 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6170 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6171 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6174 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6175 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6176 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6177 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6180 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6181 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6182 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6183 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6185 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6186 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6187 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6188 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6189 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6190 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6191 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6192 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6193 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6194 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6195 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6196 * sysdeps/ieee754/k_standardl.c: Likewise.
6197 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6198 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6199 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6200 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6201 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6202 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6203 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6204 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6205 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6206 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6207 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6208 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6209 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6210 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6211 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6212 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6213 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6214 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6215 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6216 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6217 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6218 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6220 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6221 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6222 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6223 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6224 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6226 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6227 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6228 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6229 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6230 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6231 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6232 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6233 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6234 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6235 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6236 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6237 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6238 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6239 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6240 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6241 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6242 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6243 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6244 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6245 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6246 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6247 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6248 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6249 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6250 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6251 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6252 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6253 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6254 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6255 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6256 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6257 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6258 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6259 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6260 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6261 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6262 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6263 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6264 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6265 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6266 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6267 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6269 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6272 * include/stdio.h (__libc_fatal): Mention newline in comment.
6273 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6274 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6275 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6276 * nss/nsswitch.c (__nss_next2): Likewise.
6277 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6278 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6279 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6280 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6281 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6282 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6283 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6284 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6285 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6286 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6287 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6288 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6289 (__netlink_assert_response): Likewise.
6291 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6293 * conform/glibcconform.py: New file.
6294 * conform/list-header-symbols.py: Likewise.
6295 * conform/list-header-symbols.pl: Remove.
6296 * conform/Makefile (tests-special): Only add linknamespace tests
6298 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6300 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6303 * support/Makefile (libsupport-routines): Add
6304 support_copy_file_range and xcopy_file_range.
6305 * support/support.h: Include <sys/types.h>.
6306 (support_copy_file_range): New prototype.
6307 * support/support_copy_file_range.c: New file. Copied and
6308 modified from io/copy_file_range-compat.c.
6309 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6310 instead of copy_file_range.
6311 * support/xcopy_file_range.c: New file.
6312 * support/xunistd.h (xcopy_file_range): New prototype.
6314 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6316 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6317 xpthread_create and xpthread_join.
6319 2018-08-30 Florian Weimer <fweimer@redhat.com>
6321 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6323 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6325 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6328 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6330 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6331 and minus_oflow as non-finite.
6333 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6335 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6336 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6337 moved to fenv_private.h except for ...
6338 (TOINT_INTRINSICS): Kept in math_private.h.
6339 (roundtoint): Likewise.
6340 (converttoint): Likewise.
6341 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6342 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6343 * sysdeps/arm/math_private.h: Remove.
6344 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6346 * sysdeps/generic/math_private.h: ... this file. Include
6347 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6348 Include <fenv_private.h>. Remove functions and macros moved to
6350 * sysdeps/i386/fpu/math_private.h: Remove.
6351 * sysdeps/mips/math_private.h: Move to ....
6352 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6353 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6354 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6355 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6356 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6357 * sysdeps/powerpc/fpu/math_private.h: Do not include
6359 * sysdeps/riscv/rvf/math_private.h: Move to ....
6360 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6361 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6363 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6364 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6365 * sysdeps/sparc/fpu/math_private.h: Remove.
6366 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6367 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6368 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6370 * sysdeps/x86_64/fpu/math_private.h: Do not include
6371 <sysdeps/i386/fpu/fenv_private.h>.
6373 2018-08-28 Florian Weimer <fweimer@redhat.com>
6376 * posix/tst-regcomp-truncated.c: New file.
6377 * posix/Makefile (tests): Add it.
6378 (tst-regcomp-truncated.out): Depend on generated locales.
6380 2018-08-28 Florian Weimer <fweimer@redhat.com>
6382 * support/test-container.c (main): Treat unshare failure with
6383 EPERM as an unsupported test.
6385 2018-08-28 Florian Weimer <fweimer@redhat.com>
6388 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6389 * nscd/netgroupcache.c
6390 (addgetnetgrentX): Add tofreep parameter. Do not free
6391 heap-allocated buffer.
6392 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6393 (addgetnetgrentX_ignore): New function.
6394 (addgetnetgrent): Call it.
6395 (readdgetnetgrent): Likewise.
6397 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6399 * string/memmem.c: Use memcmp for first match.
6401 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6404 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6406 2018-08-27 DJ Delorie <dj@redhat.com>
6408 * support/Makefile (others): Don't list programs explicitly as a
6409 dependency of "others".
6411 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6413 * sysdeps/generic/math-tests-trap-force.h: New file.
6414 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6415 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6416 * sysdeps/powerpc/math-tests.h: Remove file.
6417 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6419 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6420 Torvald Riegel <triegel@redhat.com>
6423 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6424 Update r to include the set wake-request flag if waiters are
6425 remaining after spinning.
6427 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6429 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6431 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6434 regex: fix uninitialized memory access
6435 I introduced this bug into gnulib in commit
6436 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6437 eventually it was merged into glibc. The bug was found by
6438 project-repo <bugs@feusi.co> and reported here:
6439 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6440 Diagnosis and draft fix reported by Assaf Gordon here:
6441 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6442 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6443 * posix/regex_internal.c (build_wcs_upper_buffer):
6444 Fix bug when mbrtowc returns 0.
6446 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6448 * po/be.po: Update translation.
6450 2018-08-24 DJ Delorie <dj@delorie.com>
6452 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6455 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6458 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6459 create temporary files in source tree.
6461 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6463 * sysdeps/generic/math-tests-trap.h: New file.
6464 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6465 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6466 * sysdeps/aarch64/math-tests.h: Remove file.
6467 * sysdeps/arm/math-tests.h: Likewise.
6468 * sysdeps/riscv/math-tests.h: Likewise.
6469 * sysdeps/aarch64/math-tests-trap.h: New file.
6470 * sysdeps/arm/math-tests-trap.h: Likewise.
6471 * sysdeps/riscv/math-tests-trap.h: Likewise.
6473 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6475 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6476 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6477 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6478 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6479 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6480 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6484 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6485 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6486 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6487 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6488 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6489 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6490 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6491 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6492 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6494 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6496 * sysdeps/generic/math-tests-exceptions.h: New file.
6497 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6498 (EXCEPTION_TESTS_float): Do not define here.
6499 (EXCEPTION_TESTS_double): Likewise.
6500 (EXCEPTION_TESTS_long_double): Likewise.
6501 (EXCEPTION_TESTS_float128): Likewise.
6502 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6504 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6505 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6506 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6507 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6508 * sysdeps/mips/math-tests.h: Likewise.
6509 * sysdeps/nios2/math-tests.h: Likewise.
6510 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6511 (EXCEPTION_TESTS_float): Do not define here.
6512 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6513 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6514 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6516 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6518 * NEWS: Move optimized sinf entry to 2.29.
6520 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6522 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6524 2018-08-22 DJ Delorie <dj@redhat.com>
6526 * Makefile (testroot.pristine): New rules to initialize the
6527 test-in-container "testroot".
6528 * Makerules (all-testsuite): Add tests-container.
6529 * Rules (tests-expected): Add tests-container.
6530 (binaries-all-tests): Likewise.
6531 (tests-container): New, run these tests in the testroot container.
6532 * support/Makefile (others): Add *-container, support_paths.c,
6533 xmkdirp, and links-dso-program.
6534 * support/links-dso-program-c.c: New.
6535 * support/links-dso-program.cc: New.
6536 * support/test-container.c: New.
6537 * support/shell-container.c: New.
6538 * support/echo-container.c: New.
6539 * support/true-container.c: New.
6540 * support/xmkdirp.c: New.
6541 * support/xsymlink.c: New.
6542 * support/support_paths.c: New.
6543 * support/support.h: Add support paths prototypes.
6544 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6546 * nss/tst-nss-test3.c: Convert to test-in-container.
6547 * nss/tst-nss-test3.root/: New.
6549 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6551 regex: port Gnulib code to z/OS POSIX environment
6552 Problem reported by Arnold Robbins in:
6553 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6554 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6557 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6559 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6560 (ROUNDING_TESTS_double): Remove.
6561 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6562 (ROUNDING_TESTS_double): Remove.
6563 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6564 (ROUNDING_TESTS_double): Remove.
6565 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6566 (ROUNDING_TESTS_float): Remove.
6567 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6568 (ROUNDING_TESTS_float): Remove.
6569 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6570 (ROUNDING_TESTS_float): Remove.
6571 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6573 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6574 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6576 * sysdeps/generic/math-tests-rounding.h: New file.
6577 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6578 (ROUNDING_TESTS_float): Do not define here.
6579 (ROUNDING_TESTS_double): Likewise.
6580 (ROUNDING_TESTS_long_double): Likewise.
6581 (ROUNDING_TESTS_float128): Likewise.
6582 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6583 (ROUNDING_TESTS_double): Undefine before defining.
6584 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6585 (ROUNDING_TESTS_double): Undefine before defining.
6586 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6587 (ROUNDING_TESTS_double): Undefine before defining.
6588 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6589 (ROUNDING_TESTS_float): Undefine before defining.
6590 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6591 (ROUNDING_TESTS_float): Undefine before defining.
6592 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6593 (ROUNDING_TESTS_float): Undefine before defining.
6594 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6595 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6597 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6598 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6599 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6600 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6601 (ROUNDING_TESTS_float): Do not define here.
6602 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6603 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6604 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6605 (ROUNDING_TESTS_float): Likewise.
6606 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6607 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6608 * sysdeps/mips/math-tests.h [__mips_soft_float]
6609 (ROUNDING_TESTS_float): Likewise.
6610 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6611 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6612 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6613 (ROUNDING_TESTS_double): Likewise.
6614 (ROUNDING_TESTS_long_double): Likewise.
6616 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6618 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6619 (PF_XDP): New macro.
6620 (AF_XDP): New macro.
6621 (SOL_XDP): New macro.
6623 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6625 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6626 (TCP_INQ): Likewise.
6627 (TCP_CM_INQ): Likewise.
6628 (TCP_REPAIR_ON): Likewise.
6629 (TCP_REPAIR_OFF): Likewise.
6630 (TCP_REPAIR_OFF_NO_WP): Likewise.
6631 (struct tcp_zerocopy_receive): New type.
6633 2018-08-21 Florian Weimer <fweimer@redhat.com>
6635 * support/support.h (support_descriptor_supports_holes): Declare.
6636 * support/Makefile (libsupport-routines): Add
6637 support_descriptor_supports_holes.
6638 * support/support_descriptor_supports_holes.c: New file.
6639 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6640 and stop testing if holes are not supported.
6641 * io/test-lfs.c (do_prepare): Likewise.
6642 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6644 * timezone/tst-tzset.c (create_tz_file): Likewise.
6645 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6647 (do_prepare): Set it.
6648 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6650 2018-08-21 Florian Weimer <fweimer@redhat.com>
6653 * Makeconfig (+cflags): Do not sort (and deduplicate).
6655 2018-08-21 Florian Weimer <fweimer@redhat.com>
6657 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6658 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6660 2018-08-20 Florian Weimer <fweimer@redhat.com>
6662 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6663 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6665 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6667 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6668 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6669 and ssi_arch members.
6671 * elf/elf.c (NT_VMCOREDD): New macro.
6672 (AT_MINSIGSTKSZ): Likewise.
6674 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6677 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6678 s_cosf-ppc64 and s_cosf-power8.
6679 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6680 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6681 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6682 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6689 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6690 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6692 2018-08-17 Florian Weimer <fweimer@redhat.com>
6694 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6696 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6698 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6700 2018-08-16 Florian Weimer <fweimer@redhat.com>
6702 * configure.ac: Add --with-nonshared-cflags option.
6703 * config.make.in (extra-nonshared-cflags): Set variable.
6704 * Makeconfig (CFLAGS-.oS): Use it.
6705 * manual/install.texi (Configuring and compiling): Document
6706 --with-nonshared-cflags.
6707 * configure: Regenerate.
6708 * INSTALL: Likewise.
6710 2018-08-16 Florian Weimer <fweimer@redhat.com>
6712 * Makeconfig (ASFLAGS): Always append required assembler flags.
6714 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6716 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6717 (malloc_consolidate): Likewise.
6719 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6721 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6723 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6725 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6728 * benchtests/bench-strlen.c: Print performance numbers in json.
6730 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6732 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6733 (sysdep_routines): Build strcmp-power9 and strncmp-power9
6734 only for little endian.
6735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6736 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
6737 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
6738 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
6739 Add check for little endian.
6740 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6741 (__strcmp_power9): Add check for little endian.
6742 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
6743 Add check for little endian.
6744 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6745 (__strncmp_power9): Add check for little endian.
6746 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
6747 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
6748 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6749 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
6750 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
6752 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
6754 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
6755 [!STRLEN](STRLEN): Set to __strlen.
6756 * sysdeps/aarch64/multiarch/strlen.c: New file.
6757 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
6758 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
6759 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6760 (__libc_ifunc_impl_list): Add strlen.
6761 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6762 strlen_generic and strlen_asimd.
6764 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6766 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
6767 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
6768 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6770 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6772 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
6774 2018-08-14 Florian Weimer <fweimer@redhat.com>
6777 * include/stdio.h (__vfxprintf): Declare.
6778 * stdio-common/fxprintf.c (__vfxprintf): New function.
6779 (__fxprintf): Call it.
6780 * misc/err.c (convert_and_print): Remove function.
6781 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
6782 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
6783 * misc/Makefile (tests): Add tst-warn-wide.
6784 * misc/tst-warn-wide.c: New file.
6786 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
6787 Szabolcs Nagy <szabolcs.nagy@arm.com>
6789 * NEWS: Mention sinf, cosf, sincosf.
6790 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
6791 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
6792 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
6793 constants rather than including generic sincosf.h.
6794 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
6795 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
6796 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
6797 (reduced_cos): Remove.
6798 (sinf_poly): New function.
6799 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
6801 2018-08-14 Florian Weimer <fweimer@redhat.com>
6805 * nss/nss_files/files-alias.c (get_next_alias): During :include:
6806 processing, bail out if no room, and close the stream before
6808 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
6809 (tst-nss-files-alias-leak): Link with libdl.
6810 (tst-nss-files-alias-leak.out): Depend on nss_files.
6812 * nss/tst-nss-files-alias-leak.c: New file.
6814 2018-08-14 Florian Weimer <fweimer@redhat.com>
6816 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
6817 server_user, stat_user.
6819 2018-08-13 Joseph Myers <joseph@codesourcery.com>
6821 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6823 (io_pgetevents): New syscall.
6826 * manual/install.texi (Configuring and compiling): Do not list
6827 tools used for testing pretty printers here.
6828 (Tools for Compilation): List Python, PExpect and GDB here.
6829 Update descriptions of uses of Perl and Python.
6830 * INSTALL: Regenerate.
6832 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6835 2018-08-13 Florian Weimer <fweimer@redhat.com>
6837 * misc/error.c (error): Add missing va_end call.
6838 (error_at_line): Likewise.
6840 2018-08-13 Florian Weimer <fweimer@redhat.com>
6842 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
6844 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6846 * benchtests/scripts/benchout.schema.json (properties): Add
6849 * benchtests/bench-skeleton.c (main): Add duration and
6850 iterations attributes.
6852 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
6854 regex: Gnulib unibyte RRI uses bytes not chars
6855 Adjust the non-glibc code to agree with what Gawk needs for
6856 rational range interpretation (RRI) for regular expression ranges.
6857 In unibyte locales, Gawk wants ranges to use the underlying byte
6858 rather than the character code point. This change does not affect
6860 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
6861 In unibyte locales, use the byte value rather than
6862 running it through btowc.
6864 2018-08-10 Joseph Myers <joseph@codesourcery.com>
6866 * sysdeps/generic/math-tests-snan.h: New file.
6867 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
6868 (SNAN_TESTS_float): Do not define here.
6869 (SNAN_TESTS_double): Likewise.
6870 (SNAN_TESTS_long_double): Likewise.
6871 (SNAN_TESTS_float128): Likewise.
6872 * sysdeps/i386/fpu/math-tests-snan.h: New file.
6873 * sysdeps/i386/fpu/math-tests.h: Remove file.
6874 * sysdeps/ia64/math-tests-snan.h: New file.
6875 * sysdeps/ia64/math-tests.h: Remove file.
6876 * sysdeps/x86/math-tests.h: Likewise.
6877 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
6879 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6880 Szabolcs Nagy <szabolcs.nagy@arm.com>
6882 * math/Makefile: Add s_sincosf_data.c.
6883 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
6884 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
6885 (sincosf_poly): Likewise.
6886 (reduce_small): Likewise.
6887 (reduce_large): Likewise.
6888 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
6889 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
6890 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
6891 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
6893 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6894 Szabolcs Nagy <szabolcs.nagy@arm.com>
6896 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
6897 (converttoint): Use lround.
6898 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
6899 document the semantics when TOINT_INTRINSICS is set.
6900 (converttoint): Likewise.
6901 (TOINT_RINT): Remove.
6902 (TOINT_SHIFT): Remove.
6903 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
6906 2018-08-10 Florian Weimer <fweimer@redhat.com>
6909 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
6911 (__old_getdents64): Use getdents64. Convert entries without
6913 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
6914 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
6915 tst-readdir64-compat.
6917 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6919 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
6922 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6924 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
6925 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
6926 code to s390x-mcount.h and #include it.
6927 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
6928 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6931 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6933 * stdlib/Versions: Remove __fentry__.
6934 * sysdeps/i386/Versions: Add __fentry__.
6935 * sysdeps/x86_64/Versions: Add __fentry__.
6937 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6939 * sysdeps/s390/Makefile: Register the new tests.
6940 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
6941 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
6942 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
6943 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
6944 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
6945 * sysdeps/s390/tst-dl-runtime.c: New file.
6947 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6949 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6952 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6954 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6957 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6959 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6962 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6964 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6967 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6969 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6970 Use symbolic offsets for stack variables.
6972 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6974 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
6975 Use symbolic offsets for stack variables.
6977 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6979 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6980 Use symbolic offsets for stack variables.
6982 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6984 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6985 Use symbolic offsets for stack variables.
6987 2018-08-09 Joseph Myers <joseph@codesourcery.com>
6989 * math/gen-libm-test.py: New file.
6990 * math/gen-libm-test.pl: Remove.
6991 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
6992 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
6994 ($(libm-test-c-noauto-obj)): Likewise.
6995 ($(libm-test-c-auto-obj)): Likewise.
6996 ($(libm-test-c-narrow-obj)): Likewise.
6997 (regen-ulps): Likewise.
6998 * math/README.libm-test: Update references to gen-libm-test.pl.
6999 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7000 referencing gen-libm-test.pl.
7001 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7002 * math/libm-test-support.c: Likewise.
7003 * math/libm-test-support.h: Likewise.
7004 * sysdeps/generic/libm-test-ulps: Likewise.
7006 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7008 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7011 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7013 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7014 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7016 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7018 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7020 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7021 __pthread_setspecific): Add hidden proto.
7022 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7023 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7025 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7027 * benchtests/bench-string.h (buf1_size, buf2_size): New
7029 (init_sizes): New function.
7030 (test_init): Use it.
7031 (alloc_buf, exit_error): New functions.
7032 (alloc_bufs): Use ALLOC_BUF.
7033 (realloc_bufs): Remove.
7034 * benchtests/bench-memcmp.c (do_test): Adjust.
7035 * benchtests/bench-memset-large.c (do_test): Likewise.
7036 * benchtests/bench-memset-walk.c (do_test): Likewise.
7037 * benchtests/bench-memset.c (do_test): Likewise.
7038 * benchtests/bench-strncmp.c (do_test): Likewise.
7040 2018-08-06 Andreas Schwab <schwab@suse.de>
7042 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7043 of CONST_THREAD_AREA.
7045 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7047 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7048 (STATE_SAVE_MASK): Likewise.
7049 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7050 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7051 (STATE_SAVE_MASK): Likewise.
7052 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7053 instead of <cpu-features.h>.
7055 2018-08-03 DJ Delorie <dj@redhat.com>
7057 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7058 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7060 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7062 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7064 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7066 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7067 * math/libm-test-logb.inc (logb_test_data): Likewise.
7069 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7071 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7072 * string/strstr.c (AVAILABLE): Likewise.
7074 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7076 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7078 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7079 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7080 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7082 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7084 * po/be.po: Update translation.
7086 * po/be.po: Update translation.
7088 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7090 * sysdeps/x86/cpu-features-offsets.sym
7091 (rtld_global_ro_offsetof): Removed.
7092 (CPU_FEATURES_SIZE): Likewise.
7093 (CPUID_OFFSET): Likewise.
7094 (CPUID_SIZE): Likewise.
7095 (CPUID_EAX_OFFSET): Likewise.
7096 (CPUID_EBX_OFFSET): Likewise.
7097 (CPUID_ECX_OFFSET): Likewise.
7098 (CPUID_EDX_OFFSET): Likewise.
7099 (FAMILY_OFFSET): Likewise.
7100 (MODEL_OFFSET): Likewise.
7101 (FEATURE_OFFSET): Likewise.
7102 (FEATURE_SIZ): Likewise.
7103 (COMMON_CPUID_INDEX_1): Likewise.
7104 (COMMON_CPUID_INDEX_7): Likewise.
7105 (FEATURE_INDEX_1): Likewise.
7106 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7108 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7110 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7111 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7112 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7113 (install-locales): Depend on install-locale-archive.
7114 (install-locale-archive): Define.
7115 (install-locale-files): Define.
7116 (build-one-locale): Define macro.
7117 * manual/install.texi (Running make install): Document.
7118 * manual/INSTALL: Regenerate.
7120 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7122 * benchtests/scripts/compare_strings.py: Import traceback.
7123 (parse_file): Pretty-print error.
7125 * NEWS: Mention the change.
7126 * elf/dl-tunables.list: Rename tune namespace to cpu.
7127 * sysdeps/powerpc/dl-tunables.list: Likewise.
7128 * sysdeps/x86/dl-tunables.list: Likewise.
7129 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7131 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7132 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7133 * manual/README.tunables: Likewise.
7134 * manual/tunables.texi: Likewise.
7135 * sysdeps/powerpc/cpu-features.c: Likewise.
7136 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7137 (init_cpu_features): Likewise.
7138 * sysdeps/x86/cpu-features.c: Likewise.
7139 * sysdeps/x86/cpu-features.h: Likewise.
7140 * sysdeps/x86/cpu-tunables.c: Likewise.
7141 * sysdeps/x86_64/Makefile: Likewise.
7142 * sysdeps/x86/dl-cet.c: Likewise.
7144 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7147 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7148 [__mips_hard_float].
7149 (FE_UNDERFLOW): Likewise.
7150 (FE_OVERFLOW): Likewise.
7151 (FE_DIVBYZERO): Likewise.
7152 (FE_INVALID): Likewise.
7153 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7154 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7155 (FE_UPWARD): Likewise.
7156 (FE_DOWNWARD): Likewise.
7157 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7158 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7159 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7160 [__mips_hard_float].
7161 (FP_ROUNDMODE): Likewise.
7162 (FP_RND_NEAREST): Likewise.
7163 (FP_RND_ZERO): Likewise.
7164 (FP_RND_PINF): Likewise.
7165 (FP_RND_MINF): Likewise.
7166 (FP_EX_INVALID): Likewise.
7167 (FP_EX_OVERFLOW): Likewise.
7168 (FP_EX_UNDERFLOW): Likewise.
7169 (FP_EX_DIVZERO): Likewise.
7170 (FP_EX_INEXACT): Likewise.
7171 (FP_INIT_ROUNDMODE): Likewise.
7172 * sysdeps/mips/nofpu/fesetenv.c: New file.
7173 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7175 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7177 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7178 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7179 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7180 conditional on [FE_UPWARD].
7182 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7184 regex: fix memory leak in Gnulib
7185 Problem and fix reported by Assaf Gordon in:
7186 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7187 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7188 range_ends members too, as they are defined in 'struct
7189 re_charset_t' even if not _LIBC. This affects only Gnulib.
7191 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7193 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7195 (get_common_indices): This.
7196 (init_cpu_features): Updated.
7198 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7200 * sysdeps/generic/math-tests-snan-payload.h: New file.
7201 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7202 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7203 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7204 * sysdeps/generic/math-tests.h: Include
7205 <math-tests-snan-payload.h>.
7206 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7207 * sysdeps/hppa/math-tests.h: Remove file.
7208 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7209 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7210 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7213 * sysdeps/generic/math-tests-snan-cast.h: New file.
7214 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7215 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7216 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7217 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7219 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7221 * version.h (RELEASE): Set to "development".
7222 (VERSION): Set to "2.28.9000".
7223 * NEWS (2.29): New section.
7225 * version.h (RELEASE): Set to "stable".
7226 (VERSION): Set to "2.28".
7227 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7228 * NEWS: Add the list of bugs fixed in 2.28.
7230 * po/ca.po: Update to latest version.
7231 * po/cs.po: Likewise
7232 * po/da.po: Likewise
7233 * po/el.po: Likewise
7234 * po/eo.po: Likewise
7235 * po/es.po: Likewise
7236 * po/fi.po: Likewise
7237 * po/fr.po: Likewise
7238 * po/gl.po: Likewise
7239 * po/hu.po: Likewise
7240 * po/ia.po: Likewise
7241 * po/id.po: Likewise
7242 * po/it.po: Likewise
7243 * po/ja.po: Likewise
7244 * po/ko.po: Likewise
7245 * po/lt.po: Likewise
7246 * po/nb.po: Likewise
7247 * po/nl.po: Likewise
7248 * po/pt_BR.po: Likewise
7249 * po/ru.po: Likewise
7250 * po/rw.po: Likewise
7251 * po/sk.po: Likewise
7252 * po/sl.po: Likewise
7253 * po/tr.po: Likewise
7254 * po/zh_CN.po: Likewise
7255 * po/zh_TW.po: Likewise
7257 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7259 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7261 (init): ... before initializing libpthread.
7263 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7264 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7265 (__mach_setup_tls): ... new function.
7266 (mach_setup_tls): New alias.
7267 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7268 __mach_setup_thread.
7269 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7270 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7271 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7272 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7274 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7276 * manual/install.texi: Update versions.
7277 * INSTALL: Regenerate.
7279 * manual/contrib.texi (Contributors): Update contributions.
7281 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7283 * po/be.po: Update translations.
7285 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7287 * sysdeps/sh/libm-test-ulps: Update.
7289 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7291 * po/bg.po: Update translations.
7292 * po/de.po: Likewise.
7293 * po/hr.po: Likewise.
7294 * po/pt_BR.po: Likewise.
7295 * po/sv.po: Likewise.
7296 * po/vi.po: Likewise.
7298 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7301 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7302 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7303 (CFLAGS-tst-cet-property-1.o): New.
7304 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7305 ($(objpfx)tst-cet-property-2): Likewise.
7306 ($(objpfx)tst-cet-property-2.out): Likewise.
7307 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7308 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7309 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7310 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7311 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7313 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7316 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7318 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7320 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7321 __sbrk): Do not set attribute_hidden.
7322 * sysdeps/mach/hurd/not-errno.h: New file.
7323 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7324 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7326 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7328 * po/uk.po: Update translations.
7329 * po/cs.po: Likewise.
7330 * po/pl.po: Likewise.
7332 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7334 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7335 parse beyond the note end.
7337 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7339 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7340 kernel does not support OFD locks.
7341 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7343 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7345 * sysdeps/mach/hurd/Versions (libc): Make __access and
7346 __access_noerrno external so they can override the ld symbols.
7347 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7348 __writev, __open64, __access_noerrno extern so they can be overrided.
7349 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7350 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7352 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7354 * po/libc.pot: Regenerate.
7356 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7358 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7360 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7363 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7365 (init_cpu_features): Call get_extended_indices for both Intel
7367 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7368 Remove "for AMD" comment.
7370 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7373 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7374 COMMON_CPUID_INDEX_80000001.
7376 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7378 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7379 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7381 2018-07-26 Florian Weimer <fweimer@redhat.com>
7383 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7384 aliases for symbols not in the implementation namespace.
7386 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7389 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7390 lowercase in LATIN script.
7391 * localedata/Makefile (test-input): Add en_US.UTF-8.
7392 * localedata/en_US.UTF-8.in: New file.
7393 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7394 and restore old tests.
7395 * posix/tst-regexloc.c (do_test): Add back range expression test.
7397 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7399 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7401 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7403 * nptl/threads.h: Move to ...
7404 * sysdeps/nptl/threads.h: ... here.
7405 * sysdeps/hurd/stdc-predef.h: New file.
7407 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7409 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7410 tst-cet-setcontext-1 if CET is enabled.
7411 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7412 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7414 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7416 * include/threads.h: Move to ...
7417 * sysdeps/nptl/threads.h: ... here.
7418 * sysdeps/htl/threads.h: New file.
7419 * conform/Makefile (linknamespace-libs-ISO11): Use
7420 static-thread-library instead of linking libpthread.
7421 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7423 2018-07-25 Florian Weimer <fweimer@redhat.com>
7425 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7426 nanoseconds into seconds.
7427 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7428 (do_test): Likewise.
7429 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7430 (do_test): Likewise. Avoid nanosecond overflow and spurious
7431 timeouts due to system load.
7432 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7433 (child_wait): Increment it.
7434 (do_test): Wait as long as necessary until all expected threads
7437 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7438 H.J. Lu <hongjiu.lu@intel.com>
7440 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7442 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7443 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7444 (__push___start_context): New.
7445 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7447 (__getcontext): Record the current shadow stack base. Save the
7448 caller's shadow stack pointer and base.
7449 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7450 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7451 (__push___start_context): New prototype.
7452 (__makecontext): Call __push___start_context to allocate a new
7453 shadow stack, push __start_context onto the new stack as well
7454 as the new shadow stack.
7455 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7457 (__setcontext): Restore the target shadow stack.
7458 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7460 (__swapcontext): Record the current shadow stack base. Save
7461 the caller's shadow stack pointer and base. Restore the target
7463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7464 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7465 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7467 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7469 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7470 tst-setcontext8 and tst-setcontext9.
7471 * stdlib/tst-setcontext6.c: New file.
7472 * stdlib/tst-setcontext7.c: Likewise.
7473 * stdlib/tst-setcontext8.c: Likewise.
7474 * stdlib/tst-setcontext9.c: Likewise.
7476 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7478 * stdlib/Makefile ((tests): Add tst-setcontext5.
7479 * stdlib/tst-setcontext5.c: New file.
7481 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7483 * stdlib/Makefile (tests): Add tst-setcontext4.
7484 * stdlib/tst-setcontext4.c: New file.
7486 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7488 * stdlib/Makefile (tests): Add tst-swapcontext1.
7489 * stdlib/tst-swapcontext1.c: New test.
7491 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7493 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7494 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7495 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7496 and tst-cet-legacy-4c.
7497 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7498 and tst-cet-legacy-mod-4.
7499 (CFLAGS-tst-cet-legacy-2.c): New.
7500 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7501 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7502 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7503 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7504 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7505 ($(objpfx)tst-cet-legacy-1): Likewise.
7506 ($(objpfx)tst-cet-legacy-2): Likewise.
7507 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7508 ($(objpfx)tst-cet-legacy-2a): Likewise.
7509 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7510 ($(objpfx)tst-cet-legacy-4): Likewise.
7511 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7512 ($(objpfx)tst-cet-legacy-4a): Likewise.
7513 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7514 (tst-cet-legacy-4a-ENV): Likewise.
7515 ($(objpfx)tst-cet-legacy-4b): Likewise.
7516 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7517 (tst-cet-legacy-4b-ENV): Likewise.
7518 ($(objpfx)tst-cet-legacy-4c): Likewise.
7519 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7520 (tst-cet-legacy-4c-ENV): Likewise.
7521 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7522 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7523 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7524 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7525 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7526 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7527 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7528 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7529 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7530 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7531 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7533 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7535 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7536 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7538 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7539 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7542 2018-07-25 Andreas Schwab <schwab@suse.de>
7545 * locale/weightwc.h (findidx): Handle the case where usrc is a
7546 prefix of cp but one character too short.
7548 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7550 * NEWS: Add ISO C threads addition.
7552 2018-07-24 Florian Weimer <fweimer@redhat.com>
7554 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7555 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7556 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7559 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7561 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7562 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7563 <sys/prctl.h> and <asm/prctl.h>.
7564 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7565 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7567 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7568 ARCH_CET_LEGACY_BITMAP.
7569 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7570 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7571 * sysdeps/x86/libc-start.c: Include <startup.h>.
7573 2018-07-24 Florian Weimer <fweimer@redhat.com>
7575 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7576 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7578 2018-07-24 Rical Jasan <rj@2c3t.io>
7579 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7580 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7583 * manual/debug.texi: Update adjacent chapter name.
7584 * manual/probes.texi: Likewise.
7585 * manual/threads.texi (ISO C Threads): New section.
7586 (POSIX Threads): Convert to a section.
7588 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7589 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7592 * nptl/Makefile (tests): Add new test files.
7593 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7594 * nptl/tst-cnd-basic.c: Likewise.
7595 * nptl/tst-cnd-broadcast.c: Likewise.
7596 * nptl/tst-cnd-timedwait.c: Likewise.
7597 * nptl/tst-mtx-basic.c: Likewise.
7598 * nptl/tst-mtx-recursive.c: Likewise.
7599 * nptl/tst-mtx-timedlock.c: Likewise.
7600 * nptl/tst-mtx-trylock.c: Likewise.
7601 * nptl/tst-thrd-basic.c: Likewise.
7602 * nptl/tst-thrd-detach.c: Likewise.
7603 * nptl/tst-thrd-sleep.c: Likewise.
7604 * nptl/tst-tss-basic.c: Likewise.
7606 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7609 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7610 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7612 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7613 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7614 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7615 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7616 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7617 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7618 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7619 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7620 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7621 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7622 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7623 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7631 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7632 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7633 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7634 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7635 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7636 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7637 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7638 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7639 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7640 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7641 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7642 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7643 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7645 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7646 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7647 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7648 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7649 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7650 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7651 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7652 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7653 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7654 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7655 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7656 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7663 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7664 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7665 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7666 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7667 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7668 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7669 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7670 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7673 * conform/data/threads.h-data (thread_local): New macro.
7674 (TSS_DTOR_ITERATIONS): Likewise.
7676 (tss_dtor_t): Likewise.
7677 (tss_create): New function.
7678 (tss_get): Likewise.
7679 (tss_set): Likewise.
7680 (tss_delete): Likewise.
7681 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7682 tss_get, and tss_set objects.
7683 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7684 * nptl/tss_create.c: New file.
7685 * nptl/tss_delete.c: Likewise.
7686 * nptl/tss_get.c: Likewise.
7687 * nptl/tss_set.c: Likewise.
7688 * sysdeps/nptl/threads.h (thread_local): New define.
7689 (TSS_DTOR_ITERATIONS): Likewise.
7690 (tss_t): New typedef.
7691 (tss_dtor_t): Likewise.
7692 (tss_create): New prototype.
7693 (tss_get): Likewise.
7694 (tss_set): Likewise.
7695 (tss_delete): Likewise.
7698 * conform/data/threads.h-data (cnd_t): New type.
7699 (cnd_init): New function.
7700 (cnd_signal): Likewise.
7701 (cnd_broadcast): Likewise.
7702 (cnd_wait): Likewise.
7703 (cnd_timedwait): Likewise.
7704 (cnd_destroy): Likewise.
7705 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7706 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7708 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7709 * nptl/cnd_broadcast.c: New file.
7710 * nptl/cnd_destroy.c: Likewise.
7711 * nptl/cnd_init.c: Likewise.
7712 * nptl/cnd_signal.c: Likewise.
7713 * nptl/cnd_timedwait.c: Likewise.
7714 * nptl/cnd_wait.c: Likewise.
7715 * sysdeps/nptl/threads.h (cnd_t): New type.
7716 (cnd_init): New prototype.
7717 (cnd_signa): Likewise.
7718 (cnd_broadcast): Likewise.
7719 (cnd_wait): Likewise.
7720 (cnd_timedwait): Likewise.
7721 (cnd_destroy): Likewise.
7724 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7725 (once_flag): New type.
7726 (call_once): New function.
7727 * nptl/Makefile (libpthread-routines): Add call_once object.
7728 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7729 * nptl/call_once.c: New file.
7730 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
7731 (once_flag): New type.
7732 (call_once): New prototype.
7735 * conform/data/threads.h-data (mtx_plain): New constant.
7736 (mtx_recursive): Likewise.
7737 (mtx_timed): Likewise.
7739 (mtx_init): New function.
7740 (mtx_lock): Likewise.
7741 (mtx_timedlock): Likewise.
7742 (mtx_trylock): Likewise.
7743 (mtx_unlock): Likewise.
7744 (mtx_destroy): Likewise.
7745 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
7746 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
7747 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
7748 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
7749 * nptl/mtx_destroy.c: New file.
7750 * nptl/mtx_init.c: Likewise.
7751 * nptl/mtx_lock.c: Likewise.
7752 * nptl/mtx_timedlock.c: Likewise.
7753 * nptl/mtx_trylock.c: Likewise.
7754 * nptl/mtx_unlock.c: Likewise.
7755 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
7756 (mtx_recursive): Likewise.
7757 (mtx_timed): Likewise.
7759 (mtx_init): New prototype.
7760 (mtx_lock): Likewise.
7761 (mtx_timedlock): Likewise.
7762 (mtx_trylock): Likewise.
7763 (mtx_unlock): Likewise.
7764 (mtx_destroy): Likewise.
7767 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
7768 (linknamespace-libs-ISO11): Add libpthread.a.
7769 * conform/data/threads.h-data: New file: add C11 thrd_* types and
7771 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
7772 * nptl/Makefile (headers): Add threads.h.
7773 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
7774 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
7776 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
7777 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
7778 thrd_join, thrd_sleep, and thrd_yield symbols.
7779 * nptl/descr.h (struct pthread): Add c11 field.
7780 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
7781 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
7782 routine with expected function prototype.
7783 (__pthread_create_2_1): Add C11 threads check based on attribute
7785 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
7786 * nptl/thrd_create.c: New file.
7787 * nptl/thrd_current.c: Likewise.
7788 * nptl/thrd_detach.c: Likewise.
7789 * nptl/thrd_equal.c: Likewise.
7790 * nptl/thrd_exit.c: Likewise.
7791 * nptl/thrd_join.c: Likewise.
7792 * nptl/thrd_priv.h: Likewise.
7793 * nptl/thrd_sleep.c: Likewise.
7794 * nptl/thrd_yield.c: Likewise.
7795 * include/threads.h: Likewise.
7797 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7799 * bits/indirect-return.h: New file.
7800 * misc/sys/cdefs.h (__glibc_has_attribute): New.
7801 * sysdeps/x86/bits/indirect-return.h: Likewise.
7802 * stdlib/Makefile (headers): Add bits/indirect-return.h.
7803 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
7804 (swapcontext): Add __INDIRECT_RETURN.
7805 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
7806 (prepare_test_buffer): Use it.
7808 2018-07-24 Andreas Schwab <schwab@suse.de>
7811 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
7812 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
7814 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7816 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
7817 Redefine if shadow stack is enabled.
7818 (SYSCALL_ERROR_LABEL): Likewise.
7819 (__vfork): Pop shadow stack and jump back to to caller directly
7820 when shadow stack is in use.
7821 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
7822 Redefine if shadow stack is enabled.
7823 (SYSCALL_ERROR_LABEL): Likewise.
7824 (__vfork): Pop shadow stack and jump back to to caller directly
7825 when shadow stack is in use.
7827 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7829 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
7832 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
7835 2018-07-20 Joseph Myers <joseph@codesourcery.com>
7837 * scripts/build-many-glibcs.py (Context.checkout): Default
7838 binutils version to 2.31 branch.
7840 2018-07-20 Zong Li <zong@andestech.com>
7842 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
7843 URL of gcc's tarball.
7845 2018-07-20 Florian Weimer <fweimer@redhat.com>
7848 * posix/regcomp.c (build_equiv_class): When comparing weights, do
7849 not compare an extra byte after the end of the weights.
7851 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
7853 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
7855 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
7857 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
7858 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
7859 * scripts/check-execstack.awk: Consider `xfail' variable containing a
7860 list of libraries whose stack executability is expected.
7861 * elf/Makefile ($(objpfx)check-execstack.out): Pass
7862 $(check-execstack-xfail) to check-execstack.awk through `xfail'
7864 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
7865 libc.so libpthread.so.
7867 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
7869 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
7871 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
7873 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
7875 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
7877 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7879 * benchtests/scripts/compare_bench.py (__main__): use the argparse
7880 library to improve command line parsing.
7881 (__main__): make schema file as optional parameter (--schema),
7882 defaulting to benchtests/scripts/benchout.schema.json.
7883 (main): move out of the parsing stuff to __main_ and leave it
7884 only as caller of main comparison functions.
7886 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
7888 * NEWS: Add a note for Intel CET status.
7889 * manual/install.texi: Likewise.
7890 * INSTALL: Regenerated.
7892 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
7895 * localedata/locales/oc_FR (mon): Rename to...
7896 (alt_mon): This, then update October (typo fix).
7897 (mon): New content (genitive case, month names preceded by
7901 * localedata/locales/oc_FR (abday): Update all items.
7902 (day): Update Wednesday and Saturday (typo fixes).
7903 (abmon): Update all items, except May.
7904 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
7905 (LC_IDENTIFICATION): Bump the revision number and date.
7906 Keep the "category" entries in alphabetic order.
7907 (LC_ADDRESS): Remove no longer needed comment.
7908 (LC_COLLATE): Use “copy "ca_ES"”.
7909 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
7912 2018-07-18 Joseph Myers <joseph@codesourcery.com>
7914 * grp/tst_fgetgrent.c: Include <unistd.h>.
7915 (main): Use mkstemp instead of tmpnam.
7916 * io/test-utime.c (main): Likewise.
7917 * posix/annexc.c (macrofile): Change to modifiable array.
7918 (main): Remove macrofile here.
7919 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7921 (check_header): Do not remove macrofile here.
7922 * posix/bug-getopt1.c: Include <stdlib.h>.
7923 (do_test): Use mkstemp instead of tmpnam.
7924 * posix/bug-getopt2.c: Include <stdlib.h>.
7925 (do_test): Use mkstemp instead of tmpnam.
7926 * posix/bug-getopt3.c: Include <stdlib.h>.
7927 (do_test): Use mkstemp instead of tmpnam.
7928 * posix/bug-getopt4.c: Include <stdlib.h>.
7929 (do_test): Use mkstemp instead of tmpnam.
7930 * posix/bug-getopt5.c: Include <stdlib.h>.
7931 (do_test): Use mkstemp instead of tmpnam.
7932 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
7933 (main): Use mkstemp instead of tmpnam.
7934 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
7935 (main): Use mkstemp instead of tmpnam.
7936 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
7937 (main): use mkstemp instead of tmpnam.
7938 * stdlib/isomac.c (macrofile): Change to modifiable array.
7939 (main): Remove macrofile here.
7940 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7942 (check_header): Do not remove macrofile here.
7944 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7946 * manual/tunables.texi: Document glibc.tune.x86_ibt and
7947 glibc.tune.x86_shstk.
7949 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7951 * NEWS: Mention --enable-cet.
7952 * manual/install.texi: Document --enable-cet.
7953 * INSTALL: Regenerated.
7955 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7957 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
7958 Add _CET_NOTRACK before indirect jump to jump table.
7960 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7962 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
7963 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7966 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7968 * sysdeps/i386/i686/multiarch/strcat-sse2.S
7969 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7972 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7974 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
7975 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7978 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7980 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
7981 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7984 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7986 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
7987 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7989 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
7991 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7993 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
7994 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
7997 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
7999 * sysdeps/i386/i686/multiarch/memset-sse2.S
8000 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8003 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8005 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8006 indirect jump to jump table.
8008 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8010 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8011 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8015 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8017 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8018 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8022 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8024 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8025 _CET_NOTRACK before indirect jump to jump table.
8027 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8029 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8030 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8033 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8035 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8036 indirect jump to jump table.
8038 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8041 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8042 (LOCALES): Likewise.
8043 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8044 * localedata/locales/sah_RU: New file.
8045 * localedata/sah_RU.UTF-8.in: New file.
8047 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8049 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8051 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8052 _CET_ENDBR to indirect jump targets and adjust jump destination
8054 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8056 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8057 _CET_ENDBR to indirect jump targets and adjust jump destination
8059 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8061 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8062 _CET_ENDBR to indirect jump targets and adjust jump destination
8065 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8067 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8070 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8072 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8074 (_dl_tlsdesc_undefweak): Likewise.
8075 (_dl_tlsdesc_dynamic): Likewise.
8076 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8077 (_dl_tlsdesc_resolve_rel): Likewise.
8078 (_dl_tlsdesc_resolve_rela): Likewise.
8079 (_dl_tlsdesc_resolve_hold): Likewise.
8080 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8081 (_dl_tlsdesc_undefweak): Likewise.
8082 (_dl_tlsdesc_dynamic): Likewise.
8083 (_dl_tlsdesc_resolve_rela): Likewise.
8084 (_dl_tlsdesc_resolve_hold): Likewise.
8086 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8088 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8090 * sysdeps/x86_64/crti.S (_init): Likewise.
8093 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8096 * localedata/locales/os_RU (mon): Rename to...
8098 (mon): Import from CLDR (genitive case).
8100 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8102 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8103 cet-tunables.h> when CET is enabled.
8105 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8108 * configure.ac: Add --enable-cet.
8109 * configure: Regenerated.
8110 * elf/Makefille (all-built-dso): Add a comment.
8111 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8112 Include <dl-prop.h>.
8113 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8115 * elf/dl-open.c: Include <dl-prop.h>.
8116 (dl_open_worker): Call _dl_open_check.
8117 * elf/rtld.c: Include <dl-prop.h>.
8118 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8120 * sysdeps/generic/dl-prop.h: New file.
8121 * sysdeps/i386/dl-cet.c: Likewise.
8122 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8123 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8124 * sysdeps/x86/cet-tunables.h: Likewise.
8125 * sysdeps/x86/check-cet.awk: Likewise.
8126 * sysdeps/x86/configure: Likewise.
8127 * sysdeps/x86/configure.ac: Likewise.
8128 * sysdeps/x86/dl-cet.c: Likewise.
8129 * sysdeps/x86/dl-procruntime.c: Likewise.
8130 * sysdeps/x86/dl-prop.h: Likewise.
8131 * sysdeps/x86/libc-start.h: Likewise.
8132 * sysdeps/x86/link_map.h: Likewise.
8133 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8135 (_dl_runtime_profile): Likewise.
8136 (_dl_runtime_resolve_shstk): New.
8137 (_dl_runtime_profile_shstk): Likewise.
8138 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8140 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8141 (CFLAGS-.os): Likewise.
8142 (CFLAGS-.op): Likewise.
8143 (CFLAGS-.oS): Likewise.
8144 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8146 (tests-special): Add $(objpfx)check-cet.out.
8147 (cet-built-dso): New.
8148 (+$(cet-built-dso:=.note)): Likewise.
8149 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8150 ($(objpfx)check-cet.out): New.
8151 (generated): Add check-cet.out.
8152 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8154 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8155 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8156 (init_cpu_features): Call get_cet_status to check CET status
8157 and update dl_x86_feature_1 with CET status. Call
8158 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8159 (set_x86_shstk). Disable and lock CET in libc.a.
8160 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8161 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8162 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8163 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8164 (_CET_ENDBR): Define if not defined.
8165 (ENTRY): Add _CET_ENDBR.
8166 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8168 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8170 (_dl_runtime_profile): Likewise.
8172 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8175 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8176 restore r2 on longjmp.
8177 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8179 Added rules to build test tst-setjmp-bug21895-static.
8180 Added module setjmp-bug21895 and rules to build a shared object from it.
8181 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8182 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8184 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8186 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8187 * benchtests/bench-strstr.c: Likewise.
8188 * string/memmem.c (FASTSEARCH): Define.
8189 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8190 Add support for FASTSEARCH.
8191 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8192 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8193 (FASTSEARCH): Define.
8194 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8195 * string/test-strstr.c: Likewise.
8197 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8199 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8200 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8202 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8203 H.J. Lu <hongjiu.lu@intel.com>
8205 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8206 (__longjmp): Restore shadow stack pointer if shadow stack is
8207 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8208 isn't defined for __longjmp_cancel.
8209 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8210 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8211 and SHADOW_STACK_POINTER_OFFSET is defined.
8212 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8213 (setjmp): Save shadow stack pointer if shadow stack is enabled
8214 and SHADOW_STACK_POINTER_OFFSET is defined.
8215 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8216 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8217 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8218 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8220 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8221 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8222 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8223 Remove jmp_buf-ssp.sym.
8224 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8226 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8227 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8228 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8230 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8231 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8232 (__longjmp): Restore shadow stack pointer if shadow stack is
8233 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8234 isn't defined for __longjmp_cancel.
8235 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8236 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8237 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8239 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8242 * nptl/pthread_create.c: Include <tls-setup.h>.
8243 (__pthread_create_2_1): Call tls_setup_tcbhead.
8244 * sysdeps/generic/tls-setup.h: New file.
8245 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8246 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8247 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8249 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8251 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8252 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8253 (X86_FEATURE_1_SHSTK): Likewise.
8254 (CET_ENABLED): Likewise.
8255 (IBT_ENABLED): Likewise.
8256 (SHSTK_ENABLED): Likewise.
8258 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8261 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8262 (LOCALES): Likewise.
8263 * localedata/dsb_DE.UTF-8.in: New file.
8264 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8266 2018-07-12 Florian Weimer <fweimer@redhat.com>
8268 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8269 __mprotect, not mprotect.
8271 2018-07-11 Florian Weimer <fweimer@redhat.com>
8273 * io/Makefile (headers): Add bits/statx.h.
8275 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8277 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8278 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8280 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8281 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8284 2018-07-10 Florian Weimer <fweimer@redhat.com>
8286 * io/Makefile (routines): Add statx.
8287 (tests-internal): Add tst-statx.
8288 * io/Versions (GLIBC_2.28): Export statx.
8289 * io/bits/statx.h: New file.
8290 * io/sys/stat.h [__USE_GNU]: Include it.
8291 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8292 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8294 * io/statx.c: New file.
8295 * io/statx_generic.: Likewise.
8296 * io/tst-statx.: Likewise.
8297 * include/bits/statx.h: Likewise.
8298 * sysdeps/unix/sysv/linux/kernel-features.h
8299 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8300 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8301 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8302 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8304 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8305 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8306 * sysdeps/unix/sysv/linux/statx.c: New file.
8307 * manual/filesys.texi: Note that statx is undocumented.
8308 * sysdeps/**/libc*.abilist: Update.
8310 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8312 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8313 a kernel issue which lead to test failure in some cases.
8315 2018-07-10 Florian Weimer <fweimer@redhat.com>
8318 * posix/regexec.c (check_node_accept_bytes): When comparing
8319 weights, do not compare an extra byte after the end of the
8322 2018-07-10 Florian Weimer <fweimer@redhat.com>
8324 * libio/readline.c: Fix copyright year.
8325 * libio/tst-readline.c Likewise.
8326 * nss/tst-nss-files-hosts-getent.c: Likewise.
8328 2018-07-06 Florian Weimer <fweimer@redhat.com>
8331 * nss/nss_files/files-XXX.c (internal_getent): Use
8332 __libc_readline_unlocked. Seek back to the start of the line if
8333 parsing failes with ERANGE.
8334 (get_contents_ret, get_contents): Remove.
8335 * nss/tst-nss-files-hosts-getent.c: New file.
8336 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8337 (tst-nss-files-hosts-getent): Link with -ldl.
8339 2018-07-06 Florian Weimer <fweimer@redhat.com>
8341 * include/stdio.h (__libc_readline_unlocked): Declare.
8342 (__ftello64, __fseeko64): Declare aliases.
8343 * libio/readline.c: New file.
8344 * libio/tst-readline.c: Likewise.
8345 (routines): Add readline.
8346 (tests-internal): Add tst-readlime.
8347 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8348 __libc_readline_unlocked.
8349 * libio/fseeko.c (__fseeko): Rename from fseeko.
8350 (fseeko): Add alias.
8351 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8352 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8353 (fseeko64): Add alias.
8354 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8355 * libio/ftello64.c (__ftello64): Rename from ftello64.
8356 (ftello64): Add alias.
8358 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8360 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8363 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8365 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8366 Use dl_hwcap without masking.
8367 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8370 2018-07-06 Florian Weimer <fweimer@redhat.com>
8372 * conform/conformtest.pl (checknamespace): Escape literal braces
8373 in regular expressions.
8375 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8377 * sysdeps/x86/cpu-features.c (get_common_indeces):
8378 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8379 * sysdeps/x86/cpu-features.c (init_cpu_features):
8380 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8382 2018-07-05 Florian Weimer <fweimer@redhat.com>
8384 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8386 (CFLAGS-elf-init.oS): Likewise.
8388 2018-07-05 Florian Weimer <fweimer@redhat.com>
8389 Carlos O'Donell <carlos@redhat.com>
8391 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8392 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8393 with stack protector enabled because there is no risk of infinite
8396 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8400 * libc-abis (ABSOLUTE): New ABI.
8401 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8402 * NEWS: Mention the new ABI.
8404 2018-07-05 Florian Weimer <fweimer@redhat.com>
8407 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8408 (RENAME_WHITEOUT): Define.
8409 [__USE_GNU] (renameat2): Declare.
8410 * stdio-common/Makefile (routines): Add renameat2.
8411 (tests): Add tst-renameat2.
8412 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8413 * stdio-common/renameat2.c: New file.
8414 * stdio-common/tst-renameat2.c: Likewise.
8415 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8416 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8418 * sysdeps/unix/sysv/linux/kernel-features.h
8419 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8420 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8421 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8422 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8423 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8424 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8425 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8426 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8427 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8428 * include/stdio.h (__renameat): Add alias for renameat.
8429 * stdio-common/renameat.c (__renameat): Rename from renameat.
8430 Add hidden definition and alias.
8431 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8432 * sysdeps/mach/hurd/renameat.c: Likewise.
8433 * sysdeps/**/libc*.abilist: Add renameat2.
8435 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8437 * posix/bug-regex33.c: Fix build after regex sync.
8439 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8442 * localedata/tst-langinfo-setlocale.c: New file.
8443 * localedata/tst-langinfo-setlocale-static.c: New file.
8444 * localedata/tst-langinfo-newlocale.c: New file.
8445 * localedata/tst-langinfo-newlocale-static.c: New file.
8446 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8447 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8448 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8449 (tests-static): Remove tst-langinfo-static. Add
8450 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8451 (tests-special): Remove $(objpfx)tst-langinfo.out,
8452 $(objpfx)tst-langinfo-static.out. Add
8453 $(objpfx)tst-langinfo-setlocale.out,
8454 $(objpfx)tst-langinfo-newlocale.out,
8455 $(objpfx)tst-langinfo-setlocale-static.out,
8456 $(objpfx)tst-langinfo-newlocale-static.out.
8457 ($(objpfx)tst-langinfo.out): Remove.
8458 ($(objpfx)tst-langinfo-static.out): Remove.
8459 ($(objpfx)tst-langinfo-newlocale.out): New target.
8460 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8461 (test-xfail-tst-langinfo-newlocale-static): Add.
8462 ($(objpfx)tst-langinfo-setlocale.out): New target.
8463 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8464 * localedata/tst-langinfo.c: Call test_locale.
8465 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8468 2018-07-04 Florian Weimer <fweimer@redhat.com>
8470 testrun.sh: Implement --tool=strace, --tool=valgrind
8471 * Makefile (testrun-script): Define variable.
8472 (testrun.sh): Use variable.
8473 * manual/install.texi (Tools for Compilation): make 4.0 or later
8475 * configure.ac: Check for make 4.0 or later.
8476 * INSTALL: Regenerate.
8477 * configure: Likewise.
8479 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8485 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8486 * posix/PCRE.tests: Remove invalid test.
8487 * posix/bug-regex28.c: Fix expected values for used syntax.
8488 * posix/bug-regex37.c: New file.
8489 * posix/bug-regex38.c: Likewise.
8490 * posix/regcomp.c: Sync with gnulib.
8491 * posix/regex.c: Likewise.
8492 * posix/regex.h: Likewise.
8493 * posix/regex_internal.c: Likewise.
8494 * posix/regex_internal.h: Likewise.
8495 * posix/regexec.c: Likewise.
8497 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8500 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8501 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8502 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8503 * localedata/unicode-gen/PropList.txt: likewise.
8504 * localedata/unicode-gen/UnicodeData.txt: likewise.
8505 * localedata/charmaps/UTF-8: Regenerate.
8506 * localedata/locales/i18n_ctype: likewise.
8507 * localedata/locales/tr_TR: likewise.
8508 * localedata/locales/translit_circle: likewise.
8509 * localedata/locales/translit_cjk_compat: likewise.
8510 * localedata/locales/translit_combining: likewise.
8511 * localedata/locales/translit_compat: likewise.
8512 * localedata/locales/translit_font: likewise.
8513 * localedata/locales/translit_fraction: likewise.
8515 2018-07-03 Florian Weimer <fweimer@redhat.com>
8518 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8519 * stdio-common/tst-printf.sh: Adjust expected output.
8522 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8524 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8527 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8529 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8530 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8531 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8532 * stdio-common/tst-printfsz-islongdouble.c: New file.
8533 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8534 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8535 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8536 [subdir == stdio-common] (tests-internal): Add
8537 test-printf-size-ieee128, and test-printf-size-ibm128.
8538 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8539 (CFLAGS-test-printf-size-ibm128.c): New variables.
8540 [subdir == stdio-common] (tests-special): Add
8541 $(objpfx)test-printf-size-ieee128.out and
8542 $(objpfx)test-printf-size-ibm128.out.
8543 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8544 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8545 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8546 __printf_sizeieee128.
8547 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8549 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8551 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8554 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8556 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8557 (exp2f_inline): Likewise.
8558 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8559 (__math_uflowf): Likewise.
8560 (__math_may_uflowf): Likewise.
8561 (__math_divzerof): Likewise.
8562 (__math_invalidf): Likewise.
8563 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8564 (__math_oflowf): Likewise.
8565 (__math_uflowf): Likewise.
8566 (__math_may_uflowf): Likewise.
8567 (__math_divzerof): Likewise.
8568 (__math_invalidf): Likewise.
8570 2018-06-29 DJ Delorie <dj@redhat.com>
8571 Carlos O'Donell <carlos@redhat.com>
8574 * include/libc-symbols.h: Comment the freeres framework.
8575 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8576 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8577 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8578 * dlfcn/dlerror.c: Include libc-symbols.h
8579 (__dlerror_main_freeres): New function.
8580 * dlfcn/dlfreeres.c: New file.
8581 * dlfcn/sdlfreeres.c: New file.
8582 * include/dlfcn.h: Declare __dlerror_main_freeres.
8583 * malloc/set-freeres.c: Declare __libdl_freeres, and
8584 __libpthread_freeres.
8585 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8586 the releavant libraries are loaded.
8587 * malloc/thread-freeres.c: Add comments.
8588 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8589 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8590 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8591 (__free_stacks): Rename to...
8592 (free_stacks): ...this. Mark static.
8593 (queue_stack): Call free_stacks.
8594 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8595 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8596 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8597 ptr_freeres element from struct.
8598 (pthread_functions): Remove .ptr_freeres from struct initializer.
8599 [SHARED] (nptl_freeres): Remove.
8600 * nptl/nptlfreeres.c: New file.
8602 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8603 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8605 (__free_stacks): Rename to...
8606 (__nptl_stacks_freeres): ...this.
8607 (__shm_directory_freeres): Declare.
8608 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8609 (__nptl_unwind_freeres): ...this.
8610 * resolv/res-close.c: Add comment.
8611 * resolv/resolv_conf.c: Include libc-symbols.h.
8612 * string/strerror_l.c: Include libc-symbols.h.
8613 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8614 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8615 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8616 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8618 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8620 * stdlib/tst-strfmon_l.c: Add tests for long double.
8622 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8625 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8626 * localedata/locales/dsb_DE: New file.
8628 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8631 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8633 (alt_mon): New entry, import from CLDR (nominative case).
8635 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8638 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8640 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8642 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8643 Use vector registers.
8645 * sysdeps/aarch64/multiarch/memmove_falkor.S
8646 (__memcpy_falkor): Use vector registers.
8648 2018-06-29 Martin Sebor <msebor@redhat.com>
8650 * manual/stdio.texi (Customizing Printf): Mention interaction
8653 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8656 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8657 `st_value' is 0 if `st_shndx' is SHN_ABS.
8658 * elf/tst-absolute-zero.c: New file.
8659 * elf/tst-absolute-zero-lib.c: New file.
8660 * elf/tst-absolute-zero-lib.lds: New file.
8661 * elf/Makefile (tests): Add `tst-absolute-zero'.
8662 (modules-names): Add `tst-absolute-zero-lib'.
8663 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8664 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8665 ($(objpfx)tst-absolute-zero: New dependency.
8667 2018-06-29 Zack Weinberg <zackw@panix.com>
8669 * configure.ac: New command-line option --disable-crypt.
8670 Force --disable-nss-crypt when --disable-crypt is given, with a
8671 warning if it was explicitly enabled.
8672 * configure: Regenerate.
8673 * config.make.in: New boolean substitution variable $(build-crypt).
8674 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8675 when $(build-crypt).
8676 * manual/install.texi: Document --disable-crypt.
8677 * INSTALL: Regenerate.
8679 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8681 * conform/Makefile: Only include libcrypt.a in
8682 linknamespace-libs-xsi and linknamespace-libs-XPG4
8683 when $(build-crypt).
8684 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8685 USE_CRYPT to 1 when $(build-crypt).
8686 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8687 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8688 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8690 2018-06-29 Zack Weinberg <zackw@panix.com>
8692 * crypt/crypt.h, posix/unistd.h: Update comments and
8693 prototypes for crypt and crypt_r.
8695 * manual/crypt.texi (Cryptographic Functions): New initial
8697 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8698 (Unpredictable Bytes): Improve initial exposition. Clarify error
8699 behavior of getentropy and getrandom.
8700 * manual/examples/genpass.c: Generate a salt using getentropy
8701 instead of the current time. Use hash $5$ (SHA-2-256).
8702 * manual/examples/testpass.c: Demonstrate validation against
8703 hashes generated with three different one-way functions.
8705 * manual/intro.texi: crypt.texi does not need an overview
8708 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8709 * manual/terminal.texi: Consistently refer to "passphrases"
8710 * instead of "passwords", and to the "user database" instead
8711 * of the "password database".
8712 * manual/users.texi: Similarly. Add notes about how actual
8713 passphrase hashes are now stored in the shadow database.
8714 Remove 20-year-old junk todo note.
8716 2018-06-29 Zack Weinberg <zackw@panix.com>
8718 * manual/crypt.texi: Use a normal top-level @node declaration.
8719 Move most of the introductory text to the 'crypt' section.
8720 Move the example programs below the @deftypefun for 'crypt_r'.
8721 Move the 'getpass' section...
8722 * manual/terminal.texi: ...here.
8724 2018-06-29 Zack Weinberg <zackw@panix.com>
8725 Florian Weimer <fweimer@redhat.com>
8727 * posix/unistd.h: Do not declare encrypt.
8728 (_XOPEN_CRYPT): Remove macro definition.
8729 (crypt): Declare only for _USE_MISC.
8730 * stdlib/stdlib.h: Do not declare setkey.
8731 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
8732 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
8734 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
8735 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
8736 into compat symbols. Don't define initial_perm if it's not
8738 * crypt/cert.c: Link explicitly with the expected versions for
8739 setkey and encrypt. If they are not available at all, mark
8740 the test as unsupported.
8742 * sunrpc/des_crypt.c: Unconditionally block linkage with
8743 cbc_crypt and ecb_crypt for new binaries.
8744 * sunrpc/des_soft.c: Unconditionally block linkage with
8745 des_setparity for new binaries.
8747 * manual/crypt.texi: Remove the entire "DES Encryption"
8748 section. Also remove the paragraph talking about FIPS 140-2
8749 from the introduction.
8750 * manual/string.texi (strfry, memfrob): Revise. Recommend use
8751 of libgcrypt for "real" encryption, not DES.
8752 * manual/conf.texi (Constants for Sysconf): Mention that
8753 _XOPEN_CRYPT is no longer impelemented.
8755 * conform/data/unistd.h-data: Remove crypt function declaration.
8757 2018-06-29 Florian Weimer <fweimer@redhat.com>
8760 * malloc/hooks.c: Update comments on restoring of dumped heaps.
8761 (disallow_malloc_check): Remove variable.
8762 (__malloc_check_init): Adjust.
8763 (malloc_set_state): Update comment.
8764 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
8767 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8770 * localedata/locales/ast_ES (mon): Rename to...
8772 (mon): Import from CLDR (genitive case).
8774 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
8775 Jakub Sitnicki <jkbs@redhat.com>
8778 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
8781 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8783 * manual/llio.texi: Remove spurious space.
8785 2018-06-28 Florian Weimer <fweimer@redhat.com>
8788 * time/bits/types/struct_timespec.h: Change header inclusion guard to
8791 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8793 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
8794 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
8795 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
8796 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
8797 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
8798 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
8799 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
8801 2018-06-27 Maciej W. Rozycki <macro@mips.com>
8804 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
8805 Copy and null-terminate entries that are not terminated, in
8806 addition to empty ones.
8808 2018-06-27 Florian Weimer <fweimer@redhat.com>
8811 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
8812 (extend_alloca_account): Remove.
8813 * manual/stdio.texi (Variable Arguments Output): Update comment.
8815 2018-06-27 Joseph Myers <joseph@codesourcery.com>
8817 * nptl/sockperf.c: Remove file.
8819 2018-06-27 Florian Weimer <fweimer@redhat.com>
8822 * elf/dl-deps.c (_dl_map_object_deps): Use struct
8823 scratch_buffer instead of extend_alloca.
8825 2018-06-27 Florian Weimer <fweimer@redhat.com>
8828 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
8829 scratch_buffer instead of extend_alloca. Update comments.
8831 2018-06-27 Florian Weimer <fweimer@redhat.com>
8834 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
8835 instead of extend_alloca.
8837 2018-06-26 Joseph Myers <joseph@codesourcery.com>
8840 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
8841 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
8843 * scripts/test-installation.pl: Put temporary files in build
8844 directory, not /tmp.
8845 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
8846 (CFLAGS-bug4.c): Likewise.
8847 (CFLAGS-bug5.c): Likewise.
8848 (CFLAGS-test-fseek.c): Likewise.
8849 (CFLAGS-test-popen.c): Likewise.
8850 (CFLAGS-test_rdwr.c): Likewise.
8851 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
8853 * stdio-common/bug4.c (main): Likewise.
8854 * stdio-common/bug5.c (main): Likewise.
8855 * stdio-common/test-fseek.c (TESTFILE): Likewise.
8856 * stdio-common/test-popen.c (do_test): Likewise.
8857 * stdio-common/test_rdwr.c (main): Likewise.
8859 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
8861 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
8862 (sem_open): Set sem.newsem.pad to zero for valgrind.
8864 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8867 * NEWS: Mention fcntl64 addition.
8868 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
8869 * login/utmp_file.c: Likewise.
8870 * sysdeps/posix/fdopendir.c: Likewise.
8871 * sysdeps/posix/opendir.c: Likewise.
8872 * sysdeps/unix/pt-fcntl.c: Likewise.
8873 * include/fcntl.h (__libc_fcntl64, __fcntl64,
8874 __fcntl64_nocancel_adjusted): New prototype.
8875 (__fcntl_nocancel_adjusted): Remove prototype.
8876 * io/Makefile (routines): Add fcntl64.
8877 (CFLAGS-fcntl64.c): New rule.
8878 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
8879 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
8880 * io/fcntl.h (fcntl64): Add prototype and redirect if
8881 __USE_FILE_OFFSET64 is defined.
8882 * io/fcntl64.c: New file.
8883 * manual/llio.text: Add a note for which commands fcntl acts a
8885 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
8886 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
8887 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
8889 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
8890 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
8892 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
8893 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
8894 to __fcntl64_nocancel.
8895 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
8896 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
8897 to __fcntl64_nocancel.
8898 * sysdeps/generic/not-cancel.h: Likewise.
8899 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
8900 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
8901 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8902 (fcntl64): New symbol.
8903 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8904 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8905 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8908 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8909 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8910 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8911 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8912 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8913 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
8915 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8916 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
8917 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8918 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8919 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8920 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8921 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8922 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8923 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8928 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8929 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8930 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8932 2018-06-26 Florian Weimer <fweimer@redhat.com>
8934 Run thread shutdown functions in an explicit order.
8935 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
8937 (__libc_thread_freeres): Call thread shutdown functions
8939 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
8940 * include/string.h (__strerror_thread_freeres): Declare.
8941 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
8942 arena_thread_freeres. No longer static. Remove thread shutdown
8944 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
8946 * resolv/res-close.c (__res_thread_freeres): Renamed from
8947 res_thread_freeres. No longer static. Remove thread shutdown
8949 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
8950 * resolv/resolv_conf.c (freeres): Remove incorrect section
8951 attribute and use libc_freeres_fn.
8952 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
8953 strerror_thread_freeres. No longer static. Remove thread
8954 shutdown hook registration.
8955 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
8956 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
8957 shutdown hook registration.
8958 * Makerules (shlib.lds): Do not provide section boundary symbols
8959 for __libc_thread_subfreeres.
8960 * manual/memory.texi (Basic Allocation): Update comment.
8962 2018-06-26 Florian Weimer <fweimer@redhat.com>
8964 Remove always-defined _RPC_THREAD_SAFE_ macro.
8965 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
8966 Do not define _RPC_THREAD_SAFE_.
8967 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
8969 * sunrpc/clnt_perr.c: Likewise.
8970 * sunrpc/clnt_raw.c: Likewise.
8971 * sunrpc/clnt_simp.c: Likewise.
8972 * sunrpc/key_call.c: Likewise.
8973 * sunrpc/rpc_common.c: Likewise.
8974 * sunrpc/rpc_main.c: Likewise.
8975 * sunrpc/rpc_thread.c: Likewise.
8976 * sunrpc/svc.c: Likewise.
8977 * sunrpc/svc_raw.c: Likewise.
8978 * sunrpc/svc_simple.c: Likewise.
8979 * sumrpc/svcauth_des.c: Likewise.
8981 2018-06-26 Florian Weimer <fweimer@redhat.com>
8983 * libio/Makefile (tests-internal): Add tst-vtables,
8984 tst-vtables-interposed.
8985 * libio/tst-vtables.c: New file.
8986 * libio/tst-vtables-common.c: Likewise.
8987 * libio/tst-vtables-interposed.c: Likewise.
8989 2018-06-26 Florian Weimer <fweimer@redhat.com>
8991 * support/support_test_main.c (support_test_main): Only call
8992 setvbuf if not disables.
8993 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
8994 * support/test-driver.h (struct test_config): Add no_setvbuf member.
8996 2018-06-26 Florian Weimer <fweimer@redhat.com>
8999 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9001 2018-06-25 Florian Weimer <fweimer@redhat.com>
9004 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9005 Use struct scratch_buffer instead of extend_alloca.
9007 2018-06-25 Florian Weimer <fweimer@redhat.com>
9010 * nss/getent.c (initgroups_keys): Use dynarray instead of
9013 2018-06-25 Florian Weimer <fweimer@redhat.com>
9016 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9017 Use struct scratch_buffer instead of extend_alloca.
9019 2018-06-25 Florian Weimer <fweimer@redhat.com>
9022 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9023 back to malloc directly, without stack allocations.
9025 2018-06-25 Florian Weimer <fweimer@redhat.com>
9028 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9031 2018-06-25 Florian Weimer <fweimer@redhat.com>
9034 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9036 * nscd/hstcache.c (addhstbyX): Likewise.
9037 * nscd/pwdcache.c (addpwbyX): Likewise.
9038 * nscd/servicescache.c (addservbyX): Likewise.
9040 2018-06-25 Florian Weimer <fweimer@redhat.com>
9043 * nscd/connections.c (read_cmdline): New function.
9044 (restart): Use it. Update comment.
9046 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9049 * localedata/locales/csb_PL (mon): Rename to...
9051 (abmon): Rename to...
9053 (mon): Add with proper genitive forms, copy from Wikipedia.
9056 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9059 * localedata/locales/csb_PL (mon): Fix typos:
9060 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9061 (yesstr): Add, value is "jo".
9062 (nostr): Add, value is "nié".
9064 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9066 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9067 all log1p and significand functions on m680x0.
9068 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9069 of s_significand.c..
9070 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9071 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9072 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9073 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9074 s_log1p.c and include it..
9076 2018-06-21 Vincent Chen <vincentc@andestech.com>
9078 * elf/elf.h (R_NDS32_NONE): New define.
9079 (R_NDS32_32_RELA): Likewise.
9080 (R_NDS32_COPY): Likewise.
9081 (R_NDS32_GLOB_DAT): Likewise.
9082 (R_NDS32_JUMP_SLOT): Likewise.
9083 (R_NDS32_RELATIVE): Likewise.
9084 (R_NDS32_TLS_TPOFF): Likewise.
9085 (R_NDS32_TLS_DESC): Likewise.
9087 2018-06-21 Mark Wielaard <mark@klomp.org>
9089 * elf/elf.h (R_BPF_MAP_FD): Removed.
9090 (R_BPF_64_64, R_BPF_64_32): New.
9092 2018-06-21 Florian Weimer <fweimer@redhat.com>
9095 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9096 Renamed from libc_feholdsetround_ctx.
9097 (default_libc_feresetround_ctx): Renamed from
9098 libc_feresetround_ctx.
9099 (default_libc_feholdsetround_noex_ctx): Renamed from
9100 libc_feholdsetround_noex_ctx.
9101 (default_libc_feresetround_noex_ctx): Renamed from
9102 libc_feresetround_noex_ctx.
9103 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9104 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9105 forwardning to the old implementations under the new names.
9106 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9107 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9108 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9109 (libc_feresetround_ctx): Forward to default implements for i386
9110 and MATH_SET_BOTH_ROUNDING_MODES.
9111 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9112 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9114 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9116 * string/tst-cmp.c: Include <libc-diag.h>.
9117 (strncmp_max): Disable -Wstringop-overflow= around call to
9119 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9122 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9123 (main): Disable -Wunused-value around call to strpbrk.
9124 * string/bug-strspn1.c: Include <libc-diag.h>.
9125 (main): Disable -Wunused-value around call to strspn.
9127 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9128 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9130 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9131 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9133 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9135 * math/Makefile (libm-calls): Move s_significandF to...
9136 (gen-libm-calls): ... here.
9137 * math/s_significand_template.c: New file.
9138 * math/s_significand.c: Removed.
9139 * math/s_significandf.c: Removed.
9140 * math/s_significandl.c: Removed.
9141 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9142 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9144 * math/e_exp2_template.c (declare_mgen_finite_alias,
9145 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9146 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9147 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9149 2018-06-20 Florian Weimer <fweimer@redhat.com>
9151 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9153 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9156 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9157 floating-point number to strtod functions rather than possibly
9158 negating result of those functions.
9159 * stdio-common/tst-scanf-round.c: New file.
9160 * stdio-common/Makefile (tests): Add tst-scanf-round.
9161 ($(objpfx)tst-scanf-round): Depend on $(libm).
9163 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9165 * sysdeps/mach/hurd/localplt.data: Move to...
9166 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9167 R_386_GLOB_DAT like on Linux i386.
9169 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9171 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9172 (SHM_STAT_ANY): New macro.
9173 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9174 (SHM_STAT_ANY): Likewise.
9175 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9176 (SHM_STAT_ANY): Likewise.
9177 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9178 (SHM_STAT_ANY): Likewise.
9179 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9180 (SHM_STAT_ANY): Likewise.
9181 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9182 (SHM_STAT_ANY): Likewise.
9183 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9184 (SHM_STAT_ANY): Likewise.
9185 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9186 (SHM_STAT_ANY): Likewise.
9187 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9188 (SHM_STAT_ANY): Likewise.
9189 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9190 (SHM_STAT_ANY): Likewise.
9191 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9192 (SHM_STAT_ANY): Likewise.
9193 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9194 (SHM_STAT_ANY): Likewise.
9196 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9197 (SEM_STAT_ANY): New macro.
9198 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9199 (SEM_STAT_ANY): Likewise.
9200 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9201 (SEM_STAT_ANY): Likewise.
9202 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9203 (SEM_STAT_ANY): Likewise.
9204 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9205 (SEM_STAT_ANY): Likewise.
9206 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9207 (SEM_STAT_ANY): Likewise.
9208 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9209 (SEM_STAT_ANY): Likewise.
9210 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9211 (SEM_STAT_ANY): Likewise.
9212 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9213 (SEM_STAT_ANY): Likewise.
9214 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9215 (SEM_STAT_ANY): Likewise.
9217 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9218 (MSG_STAT_ANY): New macro.
9219 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9220 (MSG_STAT_ANY): Likewise.
9221 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9222 (MSG_STAT_ANY): Likewise.
9223 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9224 (MSG_STAT_ANY): Likewise.
9225 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9226 (MSG_STAT_ANY): Likewise.
9227 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9228 (MSG_STAT_ANY): Likewise.
9229 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9230 (MSG_STAT_ANY): Likewise.
9231 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9232 (MSG_STAT_ANY): Likewise.
9233 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9234 (MSG_STAT_ANY): Likewise.
9235 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9236 (MSG_STAT_ANY): Likewise.
9238 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9239 (MAP_TYPE): Change value to 0x2b.
9241 2018-06-18 Florian Weimer <fweimer@redhat.com>
9244 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9245 socket with SOCK_CLOEXEC.
9247 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9250 * sysdeps/powerpc/powerpc64/le/Makefile
9251 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9252 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9253 (gnulib-tests): Also add $(f128-loader-link) for
9254 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9256 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9258 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9259 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9261 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9262 (sendfile64): New strong alias.
9263 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9264 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9265 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9266 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9268 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9269 ___pthread_get_cleanup_stack.
9270 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9271 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9272 * mach/shortcut.awk: Make syscall stubs include
9273 <mach-shortcuts-hidden.h> and add hidden definition.
9274 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9275 (__mach_msg): Add hidden prototype.
9276 * mach/msg.c: Include <mach.h>.
9277 (__mach_msg): Add hidden definition.
9278 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9279 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9280 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9281 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9282 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9283 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9284 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9285 prototype and definition.
9286 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9287 hidden target for _hurd_self_sigstate.
9289 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9292 * stdlib/tst-strtod-nan-sign-main.c: New file.
9293 * stdlib/tst-strtod-nan-sign.c: Likewise.
9294 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9295 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9296 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9297 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9298 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9300 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9303 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9306 2018-06-14 Florian Weimer <fweimer@redhat.com>
9309 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9310 that the result stays within the ISO-8859-1 range.
9311 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9312 characters are defined in IBM273.
9314 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9316 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9317 __mach_task_self): Remove attribute_hidden.
9319 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9321 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9322 ignore -Wrestrict for one test.
9324 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9325 Szabolcs Nagy <szabolcs.nagy@arm.com>
9327 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9329 2018-06-14 Florian Weimer <fweimer@redhat.com>
9331 * scripts/update-abilist.sh: Accept empty list of files to patch.
9333 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9335 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9336 test-xfail-check-abi-libmachuser): Add.
9337 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9338 __libc_read and __libc_write to __read and __write.
9339 * sysdeps/hurd/include/hurd/port.h: New file.
9340 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9341 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9342 __thread_switch, __evc_wait): Move declarations to...
9343 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9345 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9346 use PLT to call _hurd_self_sigstate.
9348 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9351 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9352 MAX_EXP as overflowing.
9353 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9355 (round_str): Output also whether result overflows in each rounding
9357 * stdlib/tst-strtod-round-data: Add more tests.
9358 * stdlib/tst-strtod-round-data.h: Regenerated.
9359 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9360 (TEST): Handle extra arguments for overflow flags.
9361 (struct test_overflow): New type.
9362 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9363 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9364 (test_in_one_mode): Take argument with overflow information.
9365 (do_test): Update calls to test_in_one_mode.
9367 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9369 * elf/dl-load (_dl_dst_substitute): Correct comment.
9370 (_dl_dst_count): Likewise.
9372 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9373 lll_futex_timed_wait.
9375 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9378 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9380 * math/test-nan-const.c: New file.
9381 * math/Makefile (tests): Add test-nan-const.
9382 (CFLAGS-test-nan-const.c): New variable.
9384 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9386 * benchtests/scripts/compare_strings.py (process_results): Add
9387 funcs argument. Compare only functions which are selected.
9388 (main): Check if base function is among selected functions.
9389 Pass selected functions to process_results.
9390 (__main__): Add -f/--functions argument.
9392 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9393 Hongbo Zhang <hongbo.zhang@linaro.org>
9395 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9396 __memcpy_falkor for phecda core.
9397 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9398 __memmove_falkor for phecda core.
9399 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9400 __memset_falkor for phecda core.
9401 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9403 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9404 macro to identify phecda core.
9406 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9407 Andreas Schwab <schwab@suse.de>
9408 Dmitry V. Levin <ldv@altlinux.org>
9409 Florian Weimer <fweimer@redhat.com>
9416 * elf/dl-dst.h: Remove DL_DST_COUNT.
9417 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9418 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9419 (is_dst): Comment. Support ELF gABI.
9420 (_dl_dst_count): Comment. Simplify and count DSTs.
9421 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9422 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9425 2018-06-12 Zack Weinberg <zackw@panix.com>
9427 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9428 * sysdeps/unix/sysv/linux/dl-sysdep.c
9429 Include not-cancel.h. Use __close_nocancel instead of __close,
9430 __open64_nocancel instead of __open, __read_nocancel instead of
9431 __libc_read, and __write_nocancel instead of __libc_write.
9433 * csu/check_fds.c (check_one_fd)
9434 * sysdeps/posix/fdopendir.c (__fdopendir)
9435 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9436 instead of __fcntl and/or __libc_fcntl.
9438 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9439 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9440 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9441 Use __open64_nocancel instead of __open_nocancel.
9443 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9444 hidden_proto declarations to the end and issue them if either
9445 IS_IN(libc) or IS_IN(rtld).
9446 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9447 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9448 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9449 read_nocancel, waitpid_nocancel, write_nocancel.
9451 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9452 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9453 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9455 * nptl/pt-fcntl.c: New file.
9456 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9457 (libpthread-routines): Add pt-fcntl.
9458 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9459 (__libc_fcntl): Remove attribute_hidden.
9460 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9461 __fcntl_nocancel_adjusted, not fcntl_common.
9462 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9463 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9464 to fcntl_nocancel.c.
9465 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9468 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9470 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9471 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9472 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9473 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9474 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9475 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9476 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9477 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9478 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9479 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9480 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9481 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9482 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9483 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9484 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9485 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9486 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9487 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9488 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9489 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9491 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9492 libpthread-routines.
9493 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9496 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9497 __libc_read, and __write instead of __libc_write. Define
9498 __open64 in addition to __open.
9500 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9504 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9505 to _private_tm[3] and add __glibc_reserved2.
9506 Add _Static_assert of offset of __private_ss == 0x30.
9507 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9508 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9510 2018-06-12 Florian Weimer <fweimer@redhat.com>
9512 x86: Make strncmp usable from rtld.
9513 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9514 __strncmp_ia32 if in libc (and not in rtld).
9515 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9516 strncmp if not in libc (and not to __strncmp_sse2).
9518 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9521 * localedata/locales/gd_GB (mon): Rename to...
9523 (mon): Import from CLDR (genitive case).
9524 * localedata/locales/hsb_DE (mon): Rename to...
9526 (mon): Import from CLDR (genitive case).
9527 * localedata/locales/wa_BE (mon): Rename to...
9529 (mon): Add, fill with the proper genitive forms, but CLDR data
9530 is incomplete; completed according to the comments in this file.
9531 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9533 * localedata/locales/wa_BE (country_name): Reword
9534 "Beljike" -> "Beldjike".
9536 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9539 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9540 cases of non-finite arguments.
9541 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9543 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9546 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9548 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9551 * include/unistd.h (__execvpex): New prototype.
9552 * posix/Makefile (tests): Add tst-spawn4.
9553 (tests-internal): Add tst-spawn4-compat.
9554 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9555 * posix/tst-spawn4-compat.c: New file.
9556 * posix/tst-spawn4.c: Likewise.
9557 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9558 binaries as shell scripts.
9559 * sysdeps/posix/spawni.c (__spawni): Likewise.
9561 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9564 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9565 ($(all-built-dso:=.dynsym): New target.
9566 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9567 ($(objpfx)check-initfini.out): New target.
9568 (generated): Add check-initfini.out.
9569 * scripts/check-initfini.awk: New file.
9570 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9572 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9574 * sysdeps/arm/crti.S (_init): Mark as hidden.
9576 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9578 * sysdeps/i386/crti.S (_init): Mark as hidden.
9580 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9582 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9584 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9586 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9588 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9590 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9592 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9594 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9596 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9598 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9600 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9602 * sysdeps/sh/crti.S (_init): Mark as hidden.
9604 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9606 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9609 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9611 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9612 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9613 and TF redirection to KFtype and KF only when the default
9614 long double type is not the IEEE 128-bit floating point type.
9616 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9618 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9620 (HWCAP_USCAT): Likewise.
9621 (HWCAP_ILRCPC): Likewise.
9622 (HWCAP_FLAGM): Likewise.
9623 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9625 (_dl_aarch64_cap_flags): Add new flag names.
9627 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9628 (MAP_FIXED_NOREPLACE): New macro.
9629 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9630 (MAP_FIXED_NOREPLACE): Likewise.
9631 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9632 (MAP_FIXED_NOREPLACE): Likewise.
9633 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9634 (MAP_FIXED_NOREPLACE): Likewise.
9635 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9636 (MAP_FIXED_NOREPLACE): Likewise.
9637 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9638 (MAP_FIXED_NOREPLACE): Likewise.
9639 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9640 (MAP_FIXED_NOREPLACE): Likewise.
9641 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9642 (MAP_FIXED_NOREPLACE): Likewise.
9643 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9644 (MAP_FIXED_NOREPLACE): Likewise.
9645 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9646 (MAP_FIXED_NOREPLACE): Likewise.
9647 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9648 (MAP_FIXED_NOREPLACE): Likewise.
9649 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9650 (MAP_FIXED_NOREPLACE): Likewise.
9651 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9652 (MAP_FIXED_NOREPLACE): Likewise.
9653 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9654 (MAP_FIXED_NOREPLACE): Likewise.
9655 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9656 (MAP_FIXED_NOREPLACE): Likewise.
9658 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9661 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9663 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9666 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9668 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9670 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9672 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9674 * benchtests/scripts/compare_string.py: (process_results) Catch
9675 exception in non-existent base_func and catch exception in
9676 non-existent attribute.
9677 (parse_file) Catch exception if input file does not exist.
9679 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9681 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9682 options to avoid diff calculation and omit header, respectively.
9683 (main): process --no-diff and --no-header
9685 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9686 H.J. Lu <hongjiu.lu@intel.com>
9688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9689 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9691 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9692 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9693 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9695 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9696 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9697 AVX unaligned load is fast and vzeroupper is preferred.
9698 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9699 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9700 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9701 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9702 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9703 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9704 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9705 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9706 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9707 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9710 2018-06-01 Florian Weimer <fweimer@redhat.com>
9712 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9713 configuring with --disable-multi-arch, building with
9714 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9717 2018-06-01 Florian Weimer <fweimer@redhat.com>
9719 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9720 results from building with “-march=x86-64 -mtune=generic
9721 -mfpmath=sse” and running on a Haswell-era CPU.
9723 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9726 * soft-fp/sqrttf2.c: Remove file.
9727 * soft-fp/sqrtdf2.c: Move to ....
9728 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
9730 (__sqrtdf2): Make conditional on
9731 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9733 * soft-fp/sqrtsf2.c: Move to ....
9734 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
9736 (__sqrtsf2): Make conditional on
9737 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9739 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
9740 (gcc-double-routines): Remove sqrtdf2.
9741 (gcc-quad-routines): Remove sqrttf2.
9742 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9743 Do not filter out sqrtsf2 and sqrtdf2.
9744 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9745 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
9747 2018-06-01 Florian Weimer <fweimer@redhat.com>
9749 * sysdeps/generic/libcidn.abilist: Remove file.
9751 2018-06-01 Florian Weimer <fweimer@redhat.com>
9754 * libio/strfile.h (struct _IO_str_fields): Rename members to
9755 discourage their use and add comment.
9756 (_IO_STR_DYNAMIC): Remove unused macro.
9757 * libio/strops.c (_IO_str_init_static_internal): Do not use
9758 callback pointers. Call malloc and free.
9759 (_IO_str_overflow): Do not use callback pointers. Call malloc
9761 (enlarge_userbuf): Likewise.
9762 (_IO_str_finish): Call free.
9763 * libio/wstrops.c (_IO_wstr_init_static): Initialize
9764 _allocate_buffer_unused.
9765 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
9767 (enlarge_userbuf): Likewise.
9768 (_IO_wstr_finish): Call free.
9769 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
9770 _allocate_buffer_unused, _free_buffer_unused.
9771 * libio/memstream.c (__open_memstream): Likewise.
9772 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9773 * libio/wmemstream.c (open_wmemstream): Likewise.
9775 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9777 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
9780 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9782 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
9783 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
9784 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
9786 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
9788 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
9790 2018-05-29 Florian Weimer <fweimer@redhat.com>
9792 * support/Makefile (libsupport-routines): Add
9793 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
9794 xpthread_barrierattr_setpshared.
9795 * support/xpthread_barrierattr_destroy.c: New file.
9796 * support/xpthread_barrierattr_init.c: Likewise.
9797 * support/xpthread_barrierattr_setpshared.c: Likewise.
9799 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
9802 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
9803 _r_debug and update DT_DEBUG for debugger.
9805 2018-05-29 Florian Weimer <fweimer@redhat.com>
9807 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
9808 (tst-strtod5i.out): Likewise.
9810 2018-05-25 Joseph Myers <joseph@codesourcery.com>
9812 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
9813 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
9814 (sparc64-quad-routines): New variable. Moved from ....
9815 [$(subdir) = soft-fp] (sysdep_routines): Add
9816 $(sparc64-quad-routines). Moved from ....
9817 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
9818 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
9819 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
9821 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
9822 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
9823 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
9824 * sysdeps/sparc/sparc64/qp_add.c: ... here.
9825 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
9826 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
9827 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
9828 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
9829 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
9830 * sysdeps/sparc/sparc64/qp_div.c: ... here.
9831 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
9832 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
9833 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
9834 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
9835 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
9836 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
9837 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
9838 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
9839 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
9840 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
9841 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
9842 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
9843 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
9844 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
9845 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
9846 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
9847 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
9848 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
9849 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
9850 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
9851 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
9852 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
9853 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
9854 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
9855 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
9856 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
9857 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
9858 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
9859 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
9860 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
9861 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
9862 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
9863 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
9864 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
9865 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
9866 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
9867 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
9868 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
9869 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
9870 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
9871 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
9872 * sysdeps/sparc/sparc64/qp_util.c: ... here.
9873 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
9874 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
9875 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
9876 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
9877 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
9878 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
9880 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
9881 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
9882 (sparc32-quad-routines): New variable. Moved from ....
9883 [$(subdir) = soft-fp] (sysdep_routines): Add
9884 $(sparc32-quad-routines). Moved from ....
9885 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
9886 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
9888 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
9889 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
9890 * sysdeps/sparc/sparc32/q_add.c: ... here.
9891 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
9892 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
9893 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
9894 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
9895 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
9896 * sysdeps/sparc/sparc32/q_div.c: ... here.
9897 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
9898 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
9899 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
9900 * sysdeps/sparc/sparc32/q_feq.c: ... here.
9901 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
9902 * sysdeps/sparc/sparc32/q_fge.c: ... here.
9903 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
9904 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
9905 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
9906 * sysdeps/sparc/sparc32/q_fle.c: ... here.
9907 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
9908 * sysdeps/sparc/sparc32/q_flt.c: ... here.
9909 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
9910 * sysdeps/sparc/sparc32/q_fne.c: ... here.
9911 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
9912 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
9913 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
9914 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
9915 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
9916 * sysdeps/sparc/sparc32/q_mul.c: ... here.
9917 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
9918 * sysdeps/sparc/sparc32/q_neg.c: ... here.
9919 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
9920 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
9921 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
9922 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
9923 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
9924 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
9925 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
9926 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
9927 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
9928 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
9929 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
9930 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
9931 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
9932 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
9933 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
9934 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
9935 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
9936 * sysdeps/sparc/sparc32/q_sub.c: ... here.
9937 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
9938 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
9939 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
9940 * sysdeps/sparc/sparc32/q_util.c: ... here.
9941 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
9942 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
9943 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
9944 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
9946 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9947 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9949 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
9950 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
9951 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
9952 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
9954 2018-05-24 Joseph Myers <joseph@codesourcery.com>
9956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
9958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9960 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
9961 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
9963 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9966 * math/math.h [C++] (iseqsig): Fix parameter type for the long
9969 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9971 * sysdeps/sh/Implies: Remove sh/soft-fp.
9972 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
9973 * sysdeps/sh/sfp-machine.h: ... here.
9975 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9977 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9978 (__mempcpy_erms): Skip zero length.
9979 (__memmove_erms): Likewise.
9980 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9981 (__memset_erms): Likewise.
9983 2018-05-23 Joseph Myers <joseph@codesourcery.com>
9985 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
9986 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9987 Add functions moved from ....
9988 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
9989 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
9990 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
9992 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
9993 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
9994 * sysdeps/alpha/e_sqrtl.c: ... here.
9995 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
9996 * sysdeps/alpha/local-soft-fp.h: ... here.
9997 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
9998 * sysdeps/alpha/ots_add.c: ... here.
9999 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10000 * sysdeps/alpha/ots_cmp.c: ... here.
10001 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10002 * sysdeps/alpha/ots_cmpe.c: ... here.
10003 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10004 * sysdeps/alpha/ots_cvtqux.c: ... here.
10005 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10006 * sysdeps/alpha/ots_cvtqx.c: ... here.
10007 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10008 * sysdeps/alpha/ots_cvttx.c: ... here.
10009 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10010 * sysdeps/alpha/ots_cvtxq.c: ... here.
10011 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10012 * sysdeps/alpha/ots_cvtxt.c: ... here.
10013 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10014 * sysdeps/alpha/ots_div.c: ... here.
10015 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10016 * sysdeps/alpha/ots_mul.c: ... here.
10017 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10018 * sysdeps/alpha/ots_nintxq.c: ... here.
10019 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10020 * sysdeps/alpha/ots_sub.c: ... here.
10021 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10022 * sysdeps/alpha/sfp-machine.h: ... here.
10024 2018-05-23 Florian Weimer <fweimer@redhat.com>
10032 Switch to extern IDNA implementation (libidn2).
10033 * libidn: Remove subdirectory.
10034 * LICENSES: Do not mention licensing conditions for the removed
10036 * config.h.in (HAVE_LIBIDN): Remove.
10037 * include/dlfcn.h (__libc_dlopen): Update comment.
10038 * include/idna.h: Remove file.
10039 * inet/Makefile (routines): Add idna.
10040 (tests-static, tests-internal): Add tst-idna_name_classify.
10041 (LOCALES): Generate locales for tests.
10042 (tst-idna_name_classify.out): Depend on generated locales.
10043 * inet/idna_name_classify.c: New file.
10044 * inet/tst-idna_name_classify.c: Likewise.
10045 * inet/net-internal.h (__idna_to_dns_encoding)
10046 (__idna_from_dns_encoding): Declare.
10047 * inet/net-internal.h (enum idna_name_classification): Define.
10048 (__idna_name_classify): Declare.
10049 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10050 __idna_from_dns_encoding.
10051 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10052 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10053 name as a fallback in case of encoding errors.
10054 (getnameinfo): Use DEPRECATED_NI_IDN.
10055 * inet/idna.c: New file.
10056 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10057 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10058 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10059 (modules-names): Add tst-no-libidn2.
10060 (extra-test-objs): Add tst-no-libidn2.os.
10061 (LDFLAGS-tst-no-libidn2.so): Set soname.
10062 (LOCALES): Set, and generate locales.
10063 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10064 (tst-resolv-ai_idn-latin1): Likewise.
10065 (tst-resolv-ai_idn-nolibidn2): Likewise.
10066 (tst-resolv-ai_idn.out): Depend on locales.
10067 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10068 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10070 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10071 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10072 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10073 * resolv/tst-resolv-ai_idn.c: New file.
10074 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10075 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10076 * resolv/tst-no-libidn2.c: Likewise.
10077 * support/support_format_addrinfo.c (format_ai_flags): Do not
10078 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10079 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10080 (gaih_inet): Call __idna_to_dns_encoding and
10081 __idna_from_dns_encoding, and use the original (punycode) name if
10082 __idna_from_dns_encoding fails due to an encoding error.
10083 (getaddrinfo): Use DEPRECATED_AI_IDN.
10084 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10085 * sysdeps/unix/inet/configure: Remove file.
10086 * sysdeps/unix/inet/configure.ac: Likewise.
10088 2018-05-23 Florian Weimer <fweimer@redhat.com>
10090 Implement allocate_once.
10091 * include/allocate_once.h: New file.
10092 * misc/allocate_once.c: Likewise.
10093 * misc/tst-allocate_once.c: Likewise.
10094 * misc/Makefile (routines): Add allocate_once.
10095 (tests-internal): Add tst-allocate_once.
10096 (generated): Add tst-allocate_once.mtrace,
10097 tst-allocate_once-mem.out.
10098 (tests-special): Add tst-allocate_once-mem.out.
10099 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10100 (tst-allocate_once-mem.out): Call mtrace.
10101 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10103 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10106 * string/test-memcpy.c (do_test1): New function.
10107 (test_main): Call it.
10109 2018-05-23 Andreas Schwab <schwab@suse.de>
10113 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10114 (L(preloop_large)): Save initial destination pointer in %r11 and
10115 use it instead of %rax after the loop.
10116 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10118 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10120 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10121 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10122 -I../soft-fp. Moved from ....
10123 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10124 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10125 * sysdeps/aarch64/e_sqrtl.c: ... here.
10126 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10127 * sysdeps/aarch64/sfp-machine.h: ... here.
10129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10130 -Wmaybe-uninitialized around access to fq[0].
10131 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10135 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10136 aliases for non-libc case of versioned symbols.
10137 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10138 (llseek): Define as compat symbol if
10139 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10141 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10142 Make into a compat symbol, disabled for minimum symbol version
10143 GLIBC_2.28 and later.
10144 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10146 2018-05-22 Florian Weimer <fweimer@redhat.com>
10148 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10149 not add -mpreferred-stack-boundary=4.
10150 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10151 (stack-align-test-flags): Likewise.
10152 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10154 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10155 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10156 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10157 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10158 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10159 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10160 (CFLAGS-tst-align2.c): Likewise.
10162 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10164 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10165 (index_arch_Prefer_FSRM): Likewise.
10166 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10167 Also check Prefer_FSRM.
10168 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10169 Also return OPTIMIZE (erms) for Prefer_FSRM.
10171 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10173 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10174 (index_cpu_FSRM): Likewise.
10175 (reg_FSRM): Likewise.
10177 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10179 * math/gen-tgmath-tests.py: Import sys.
10180 (Tests.__init__): Initialize macros_seen.
10181 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10182 if requested to do so for this macro.
10183 (Tests.add_all_tests): Take argument for macro for which to
10185 (Tests.check_macro_list): New function.
10186 (main): Handle check-list argument and argument specifying macro
10187 for which to generate tests.
10188 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10189 [PYTHON] (tgmath3-macro-tests): Likewise.
10190 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10191 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10192 not test-tgmath3.c.
10193 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10194 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10196 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10197 [PYTHON] ($(foreach
10198 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10200 [PYTHON] (tests-special): Add
10201 $(objpfx)test-tgmath3-macro-list.out.
10202 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10204 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10205 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10209 * time/tzset.c (SECSPERDAY): Cast to time_t.
10210 * time/tst-y2039.c: New file.
10211 * time/Makefile (tests): Add tst-y2039.
10213 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10215 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10216 (PREFETCH_ONE_SET): Remove duplicate line.
10218 2018-05-17 Florian Weimer <fweimer@redhat.com>
10220 * sysdeps/generic/math-type-macros-double.h: Include
10221 <math-nan-payload-double.h> after <libm-alias-double.h>.
10222 * sysdeps/generic/math-type-macros-float.h: Include
10223 <math-nan-payload-float.h> after <libm-alias-float.h>.
10224 * sysdeps/generic/math-type-macros-float128.h: Include
10225 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10226 * sysdeps/generic/math-type-macros-ldouble.h: Include
10227 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10229 2018-05-17 Andreas Schwab <schwab@suse.de>
10231 * resolv/res_send.c (__res_context_send): Don't set errno when
10232 returing error after malloc failure.
10234 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10236 * nptl/allocatestack.c (allocate_stack): Remove the
10237 !__ASSUME_PRIVATE_FUTEX paths.
10238 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10239 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10241 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10242 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10243 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10244 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10245 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10246 !__ASSUME_PRIVATE_FUTEX path.
10247 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10248 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10249 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10250 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10251 !__ASSUME_PRIVATE_FUTEX macros.
10252 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10253 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10254 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10255 * sysdeps/unix/sysv/linux/kernel-features.h
10256 (__ASSUME_PRIVATE_FUTEX): Removed.
10258 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10260 * math/Makefile (libm-narrow-fns): Add div.
10261 (libm-test-funcs-narrow): Likewise.
10262 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10263 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10264 * math/gen-auto-libm-tests.c (test_functions): Add div.
10265 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10266 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10267 (NARROW_DIV_TRIVIAL): Likewise.
10268 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10270 (__ddivl): Likewise.
10271 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10273 (CFLAGS-nldbl-ddiv.c): New variable.
10274 (CFLAGS-nldbl-fdiv.c): Likewise.
10275 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10277 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10279 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10280 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10281 * math/auto-libm-test-in: Add tests of div.
10282 * math/auto-libm-test-out-narrow-div: New generated file.
10283 * math/libm-test-narrow-div.inc: New file.
10284 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10287 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10288 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10289 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10293 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10295 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10296 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10297 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10298 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10299 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10300 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10301 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10303 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10304 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10305 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10306 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10307 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10308 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10309 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10310 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10311 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10312 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10313 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10314 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10315 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10320 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10321 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10322 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10323 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10324 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10325 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10326 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10327 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10329 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10332 * nscd/nscd-client.h (sendfileall): Remove prototype.
10333 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10334 (handle_request): Use writeall instead of sendfileall.
10335 * nscd/aicache.c (addhstaiX): Likewise.
10336 * nscd/grpcache.c (cache_addgr): Likewise.
10337 * nscd/hstcache.c (cache_addhst): Likewise.
10338 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10339 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10340 * nscd/pwdcache.c (cache_addpw): Likewise.
10341 * nscd/servicescache.c (cache_addserv): Likewise.
10342 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10343 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10344 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10347 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10349 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10350 Include <string/strncat.c>.
10351 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10353 (__GI___strncat): New hidden alias.
10355 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10357 * sysdeps/mips/mips32/libm-test-ulps: Update.
10358 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10360 2018-05-16 Florian Weimer <fweimer@redhat.com>
10362 * support/Makefile (libsupport-routines): Add support_quote_blob,
10363 support_test_compare_blob.
10364 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10365 * support/check.h (TEST_COMPARE_BLOB): Define.
10366 (support_test_compare_blob): Declare.
10367 * support/support.h (support_quote_blob): Declare.
10368 * support/support_quote_blob.c: New file.
10369 * support/support_test_compare_blob.c: Likewise.
10370 * support/tst-support_quote_blob.c: Likewise.
10371 * support/tst-test_compare_blob.c: Likewise.
10373 2018-05-16 Florian Weimer <fweimer@redhat.com>
10375 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10376 of <strtod_nan_double.h>.
10377 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10378 instead of SET_MANTISSA.
10379 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10380 of include <strtod_nan_float.h>.
10381 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10382 instead of <strtod_nan_ldouble.h>.
10383 * stdlib/strtod_nan_double.h: Move to ...
10384 * sysdeps/generic/math-nan-payload-double.h: ... here.
10385 (FLOAT): Remove definition.
10386 (SET_MANTISSA): Rename to ...
10387 (SET_NAN_PAYLOAD): ... this.
10388 * stdlib/strtod_nan_float.h: Move to ...
10389 * sysdeps/generic/math-nan-payload-float.h: ... here.
10390 (FLOAT): Remove definition.
10391 (SET_MANTISSA): Rename to ...
10392 (SET_NAN_PAYLOAD): ... this.
10393 * sysdeps/generic/math-type-macros-double.h: Include
10394 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10395 instead of <math-svid-compat.h>.
10396 * sysdeps/generic/math-type-macros-float.h: Include
10397 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10398 instead of <math-svid-compat.h>.
10399 * sysdeps/generic/math-type-macros-float128.h: Include
10400 <math-nan-payload-float128.h>.
10401 * sysdeps/generic/math-type-macros-ldouble.h: Include
10402 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10403 instead of <math-svid-compat.h>.
10404 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10405 check for definition.
10406 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10407 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10408 Include <ieee754_float128.h>.
10409 (FLOAT): Remove definition.
10410 (SET_MANTISSA): Rename to ...
10411 (SET_NAN_PAYLOAD): ... this.
10412 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10413 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10414 Do not include <float128_private.h>.
10415 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10416 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10417 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10418 (FLOAT): Remove definition.
10419 (SET_MANTISSA): Rename to ...
10420 (SET_NAN_PAYLOAD): ... this.
10421 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10422 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10423 (FLOAT): Remove definition.
10424 (SET_MANTISSA): Rename to ...
10425 (SET_NAN_PAYLOAD): ... this.
10426 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10427 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10428 (FLOAT): Remove definition.
10429 (SET_MANTISSA): Rename to ...
10430 (SET_NAN_PAYLOAD): ... this.
10431 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10432 of "../stdlib/strtod_nan_double.h".
10433 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10434 of "../stdlib/strtod_nan_float.h".
10435 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10436 instead of "../stdlib/strtod_nan_ldouble.h".
10437 * manual/arith.texi (Parsing of Floats): Adjust comment.
10439 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10441 * math/Makefile (libm-narrow-fns): Add mul.
10442 (libm-test-funcs-narrow): Likewise.
10443 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10444 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10445 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10446 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10447 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10448 (NARROW_MUL_TRIVIAL): Likewise.
10449 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10450 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10452 (__dmull): Likewise.
10453 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10455 (CFLAGS-nldbl-dmul.c): New variable.
10456 (CFLAGS-nldbl-fmul.c): Likewise.
10457 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10459 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10461 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10462 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10463 * math/auto-libm-test-in: Add tests of mul.
10464 * math/auto-libm-test-out-narrow-mul: New generated file.
10465 * math/libm-test-narrow-mul.inc: New file.
10466 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10467 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10468 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10469 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10470 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10471 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10472 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10473 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10474 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10475 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10476 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10477 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10478 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10479 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10480 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10481 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10482 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10483 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10485 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10486 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10487 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10488 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10489 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10490 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10491 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10492 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10493 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10494 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10495 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10496 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10497 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10502 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10503 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10504 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10505 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10506 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10507 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10508 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10509 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10511 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10513 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10514 with *%eax in call.
10516 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10518 * sysdeps/i386/ldsodefs.h: Removed.
10519 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10520 * sysdeps/x86/ldsodefs.h: This.
10521 (La_i86_regs): New.
10522 (La_i86_retval): Likewise.
10523 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10524 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10526 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10528 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10531 2018-05-13 Alan Modra <amodra@gmail.com>
10533 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10534 R_PARISC_TLS_DTPOFF32 reloc addend.
10536 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10538 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10539 * math/math.h: Restrict the prototype definition for the functions
10540 issignaling(_Float128) and iszero(_Float128); and template
10541 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10542 __HAVE_FLOAT128_UNLIKE_LDBL.
10543 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10544 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10545 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10546 __f128() constants; define the type _Float128 as long double;
10547 and reuse long double in __CFLOAT128.
10549 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10551 * sysdeps/generic/math_private.h: Do not include
10553 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10555 * math/fromfp.h: Include <math-barriers.h>.
10556 * math/math-narrow.h: Likewise.
10557 * math/s_nextafter.c: Likewise.
10558 * math/s_nexttowardf.c: Likewise.
10559 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10560 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10561 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10562 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10563 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10564 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10565 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10567 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10568 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10569 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10570 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10571 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10572 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10573 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10574 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10575 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10576 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10577 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10578 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10579 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10580 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10581 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10582 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10583 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10584 * sysdeps/ieee754/k_standardl.c: Likewise.
10585 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10586 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10587 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10588 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10589 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10590 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10591 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10592 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10593 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10594 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10595 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10596 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10597 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10598 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10599 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10600 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10601 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10602 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10603 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10604 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10605 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10606 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10608 2018-05-11 Florian Weimer <fweimer@redhat.com>
10610 Use 64-bit epoch values in the time zone file parser.
10611 * include/time.h (internal_time_t): Define.
10612 (__tzfile_compute): Use it.
10613 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10615 (transitions): Switch to internal_time_t.
10616 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10618 (__tzfile_compute): Use internal_time_t for timer argument. Check
10619 for truncation before calling __offtime.
10621 2018-05-11 Florian Weimer <fweimer@redhat.com>
10624 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10625 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10627 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10628 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10629 export without --enable-obsolete-rpc.
10630 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10631 symbol. This should not have been exported, ever.
10633 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10636 * localedata/locales/gd_GB (abmon): Fix typo in May:
10637 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10639 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10641 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10642 Use multiple registers to copy data in loop tail.
10644 * sysdeps/aarch64/multiarch/memmove_falkor.S
10645 (__memmove_falkor): Use multiple registers to move data in
10648 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10650 * math/math-underflow.h: New file.
10651 * sysdeps/generic/math_private.h: Do not include <float.h>.
10652 (fabs_tg): Remove macro. Moved to math-underflow.h.
10653 (min_of_type_f): Likewise.
10654 (min_of_type_): Likewise.
10655 (min_of_type_l): Likewise.
10656 (min_of_type_f128): Likewise.
10657 (min_of_type): Likewise.
10658 (math_check_force_underflow): Likewise.
10659 (math_check_force_underflow_nonneg): Likewise.
10660 (math_check_force_underflow_complex): Likewise.
10661 * math/e_exp2_template.c: Include <math-underflow.h>.
10662 * math/k_casinh_template.c: Likewise.
10663 * math/s_catan_template.c: Likewise.
10664 * math/s_catanh_template.c: Likewise.
10665 * math/s_ccosh_template.c: Likewise.
10666 * math/s_cexp_template.c: Likewise.
10667 * math/s_clog10_template.c: Likewise.
10668 * math/s_clog_template.c: Likewise.
10669 * math/s_csin_template.c: Likewise.
10670 * math/s_csinh_template.c: Likewise.
10671 * math/s_csqrt_template.c: Likewise.
10672 * math/s_ctan_template.c: Likewise.
10673 * math/s_ctanh_template.c: Likewise.
10674 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10675 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10676 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10677 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10678 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10682 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10683 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10684 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10687 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10688 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10689 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10691 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10692 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10693 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10694 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10695 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10696 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10697 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10698 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10699 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10700 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10701 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10702 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10703 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10704 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10705 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10706 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10710 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10712 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10713 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10717 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10718 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10721 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10722 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10723 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10724 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10725 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10726 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10727 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10728 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10732 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10738 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10742 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10744 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
10748 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10751 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10752 * sysdeps/x86/fpu/powl_helper.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
10754 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10759 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10761 * sysdeps/generic/math-barriers.h: New file.
10762 * sysdeps/generic/math_private.h [!math_opt_barrier]
10763 (math_opt_barrier): Move to math-barriers.h.
10764 [!math_opt_barrier] (math_force_eval): Likewise.
10765 * sysdeps/aarch64/fpu/math-barriers.h: New file.
10766 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
10768 (math_force_eval): Likewise.
10769 * sysdeps/alpha/fpu/math-barriers.h: New file.
10770 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
10772 (math_force_eval): Likewise.
10773 * sysdeps/x86/fpu/math-barriers.h: New file.
10774 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
10776 (math_force_eval): Likewise.
10777 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
10778 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
10779 multiple-include guard for rename.
10780 * sysdeps/powerpc/fpu/math-barriers.h: New file.
10781 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
10783 (math_force_eval): Likewise.
10785 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10789 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
10791 * stdlib/Makefile (test-bz22786): New test.
10792 * stdlib/test-bz22786.c: New test.
10794 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10796 * include/math-narrow-eval.h: New file. Contents moved from ....
10797 * sysdeps/generic/math_private.h: ... here.
10798 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
10799 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10800 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
10801 * stdlib/strtod_l.c: Likewise.
10802 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10803 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10804 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10805 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10806 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10807 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10808 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10809 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10810 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10811 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10812 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10813 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10814 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10815 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10816 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10817 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10818 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10819 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10820 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10821 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10822 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10823 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10824 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10825 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10826 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10827 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10828 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10829 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10830 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10832 2018-05-08 Andreas Schwab <schwab@suse.de>
10834 * sysdeps/nptl/internaltypes.h: Fix comment.
10836 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
10838 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10839 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
10842 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10844 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
10845 of I into loop header.
10846 * benchtests/bench-memmove-walk.c
10847 (test_main): Likewise.
10849 2018-05-07 Alexandre Oliva <oliva@gnu.org>
10852 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10853 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10855 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10858 * elf/dl-load.c (open_verify): Fix stack overflow.
10859 * elf/Makefile (tst-big-note): New test.
10860 * elf/tst-big-note-lib.S: New.
10861 * elf/tst-big-note.c: New.
10863 2018-05-04 Joseph Myers <joseph@codesourcery.com>
10865 * scripts/abilist.awk: Ignore absolute symbols.
10866 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
10867 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
10868 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
10869 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
10870 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
10871 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
10872 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10873 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
10874 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
10875 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
10876 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
10877 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
10878 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10879 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
10880 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
10881 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10882 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
10883 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
10884 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10885 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
10886 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10887 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
10888 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
10889 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
10890 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
10891 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10892 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
10894 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10895 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
10896 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
10897 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10898 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
10899 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10900 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
10901 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
10902 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
10903 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
10904 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10905 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
10906 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
10907 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10908 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
10909 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
10910 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10911 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
10912 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10913 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
10914 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
10915 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
10916 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
10917 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10918 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
10919 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
10920 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10921 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
10922 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
10923 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10924 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
10925 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
10926 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
10927 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
10928 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
10929 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
10930 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10931 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
10932 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
10933 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10934 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
10935 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
10936 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10937 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
10938 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
10939 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
10940 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
10941 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
10942 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
10943 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10944 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
10945 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
10946 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10947 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
10948 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
10949 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10950 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
10951 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
10952 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
10953 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
10954 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
10955 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
10956 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10957 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10959 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
10960 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10961 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
10962 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
10963 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10964 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
10965 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
10966 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
10967 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
10969 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
10970 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10971 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10973 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
10974 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10975 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
10976 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
10977 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10978 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
10979 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
10980 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
10981 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
10982 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
10983 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
10984 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10985 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
10986 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
10987 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10988 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
10989 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
10990 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10991 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
10992 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
10993 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
10994 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
10995 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
10996 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
10997 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10998 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10999 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11001 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11002 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11003 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11004 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11005 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11006 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11007 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11008 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11009 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11010 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11011 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11012 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11013 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11014 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11015 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11016 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11017 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11018 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11019 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11020 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11022 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11023 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11024 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11025 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11026 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11027 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11028 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11029 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11030 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11031 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11032 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11033 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11034 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11035 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11036 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11037 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11038 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11039 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11040 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11041 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11042 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11043 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11044 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11045 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11046 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11047 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11048 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11049 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11109 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11110 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11112 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11113 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11114 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11115 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11116 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11117 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11118 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11119 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11120 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11121 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11122 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11123 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11124 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11125 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11127 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11128 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11129 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11130 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11131 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11132 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11133 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11134 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11135 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11136 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11137 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11138 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11140 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11141 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11142 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11143 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11144 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11145 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11146 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11147 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11148 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11149 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11150 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11151 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11152 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11153 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11154 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11155 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11156 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11157 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11158 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11159 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11160 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11161 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11162 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11163 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11164 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11166 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11167 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11168 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11169 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11170 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11171 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11172 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11173 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11174 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11175 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11176 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11177 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11178 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11180 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11181 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11182 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11183 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11184 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11185 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11186 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11187 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11188 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11189 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11190 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11191 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11192 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11193 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11194 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11195 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11196 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11197 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11198 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11199 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11200 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11201 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11202 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11203 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11204 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11205 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11206 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11207 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11208 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11209 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11210 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11211 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11212 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11213 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11214 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11215 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11216 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11217 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11219 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11222 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11223 Use atomic_load_acquire to load __tid.
11225 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11227 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11228 Restore the pointer into %rdx, after syscall and use %rdx,
11229 instead of %rsi, to restore context.
11231 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11233 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11234 Pop the pointer into %rdx after syscall and use %rdx, instead
11235 of %rsi, to restore context.
11237 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11239 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11240 handlers after setjmp.
11241 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11243 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11244 <libc-pointer-arith.h>.
11245 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11246 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11247 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11248 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11249 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11250 * sysdeps/x86/__longjmp_cancel.S: New file.
11251 * sysdeps/x86/longjmp.c: Likewise.
11252 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11254 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11256 * NEWS: Add ustat.h deprecation entry.
11257 * bits/ustat.h: Remove file.
11258 * misc/sys/ustat.h: Likewise.
11259 * misc/ustat.h: Likewise.
11260 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11261 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11262 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11263 compatibility mode.
11264 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11265 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11266 generic Linux implementation.
11268 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11270 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11271 * math/w_expl_compat.c: Likewise.
11272 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11274 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11276 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11278 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11280 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11281 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11282 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11284 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11287 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11288 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11291 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11293 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11295 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11296 * math/w_asin_template.c: Likewise.
11297 * math/w_atanh_template.c: Likewise.
11299 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11301 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11302 to powerpc/powerpc64/be for big-endian.
11303 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11306 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11307 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11308 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11309 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11310 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11311 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11312 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11313 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11314 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11316 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11317 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11318 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11319 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11320 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11321 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11322 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11323 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11324 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11325 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11326 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11327 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11328 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11329 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11330 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11331 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11332 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11333 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11334 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11335 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11336 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11337 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11339 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11340 adjusted to imply powerpc64 and older processors on powerpc64/be.
11341 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11342 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11343 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11344 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11345 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11346 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11347 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11348 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11349 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11350 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11351 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11352 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11353 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11354 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11355 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11356 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11357 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11358 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11359 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11360 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11361 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11362 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11363 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11364 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11365 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11366 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11367 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11368 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11369 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11370 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11371 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11373 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11374 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11375 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11376 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11378 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11379 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11380 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11381 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11383 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11384 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11385 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11386 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11387 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11388 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11389 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11390 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11391 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11392 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11393 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11395 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11396 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11397 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11398 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11399 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11400 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11401 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11402 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11403 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11404 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11405 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11407 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11408 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11409 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11410 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11411 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11412 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11413 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11414 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11415 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11416 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11417 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11418 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11420 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11421 and adjusted to imply olders processors.
11422 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11423 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11424 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11425 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11426 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11427 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11428 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11429 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11430 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11431 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11432 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11434 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11436 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11451 powerpc64 and adjusted.
11452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11457 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11459 * sysdeps/tile: Remove.
11460 * sysdeps/unix/sysv/linux/tile: Likewise.
11461 * README (tilegx-*-linux-gnu): Remove from list of supported
11463 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11464 contribution of support for generic Linux kernel syscall
11466 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11467 tilegx configurations.
11468 (Config.install_linux_headers): Do not handle tile.
11469 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11471 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11472 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11473 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11474 conditional undefine and redefine.
11475 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11477 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11478 conditional undefine and redefine.
11480 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11482 * signal/tst-sigaction.c: New file to test BZ #23069.
11483 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11485 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11488 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11489 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11490 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11491 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11493 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11495 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11496 _DIRENT_MATCHES_DIRENT64 is not defined.
11497 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11498 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11500 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11501 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11503 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11505 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11506 version to GCC 8 branch.
11508 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11510 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11511 (check_no_hidden): Use type of original function when declaring
11514 * sysdeps/unix/sysv/linux/sys/ptrace.h
11515 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11516 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11517 (struct __ptrace_seccomp_metadata): New type.
11518 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11519 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11520 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11521 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11522 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11523 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11525 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11526 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11527 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11529 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11530 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11531 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11532 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11533 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11535 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11537 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11539 * dirent/versionsort.c (versionsort): Likewise.
11540 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11541 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11542 * dirent/versionsort64.c (versionsort64): Likewise.
11543 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11544 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11545 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11546 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11547 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11548 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11549 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11550 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11551 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11552 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11555 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11556 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11558 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11560 * elf/elf.h (NT_PPC_PKEY): New macro.
11562 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11565 * localedata/locales/hr_HR: fix thousands_sep and
11568 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11570 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11571 (XTABS): Define to TAB3.
11573 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11575 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11577 * dirent/scandir-tail-common.c: New file.
11578 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11579 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11580 * dirent/scandir.c: Use scandir-tail-common.c.
11581 * dirent/scandirat.c: Likewise.
11582 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11583 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11584 if _DIRENT_MATCHES_DIRENT64 is defined.
11585 * dirent/scandirat64.c (scandirat64): Likewise.
11586 * include/dirent.h (__scandir_tail): Only define iff
11587 _DIRENT_MATCHES_DIRENT64 is not defined.
11588 (__scandir64_tail): Define regardless.
11589 (__scandirat, scandirat64): Remove libc_hidden_proto.
11590 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11591 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11593 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11594 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11595 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11596 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11598 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11600 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11602 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11604 (_dl_aarch64_cap_flags): Add asimdfhm.
11606 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11608 * sysdeps/nios2/libm-test-ulps: Update.
11610 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11612 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11613 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11615 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11617 (_DIRENT_MATCHES_DIRENT64): Undef
11618 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11619 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11620 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11621 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11622 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11623 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11624 use getdents64 syscalls as base.
11625 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11626 symbol if required.
11627 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11628 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11629 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11630 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11631 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11632 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11633 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11634 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11635 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11636 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11637 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11639 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11641 * scripts/test_printers_common.py (init_test): Disable lock elision.
11643 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11645 * math/test-tgmath.c (count_double, count_float,
11646 count_ldouble, count_cdouble, count_cfloat,
11647 count_cldouble): Use volatile int.
11649 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11651 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11652 (conformtest-xfail-conds): Add i386-gnu.
11653 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11655 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11656 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11657 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11658 msqid_ds.msg_lrpid): Likewise.
11659 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11661 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11662 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11663 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11664 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11666 (struct statvfs64): Likewise.
11667 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11669 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11670 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11671 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11672 instead of wait_queue.
11673 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11674 instead of vm_area_struct.
11675 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11676 struct sched_param definition to it.
11677 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11678 * bits/types/struct_sched_param.h: New file.
11679 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11680 <bits/types/struct_sched_param.h> instead of <sched.h>.
11681 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11682 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11683 generic version but include <bits/pthreadtypes.h> to make struct
11684 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11685 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11687 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11688 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11689 [__USE_XOPEN] (OFDEL): New macro.
11690 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11691 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11692 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11694 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11695 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11696 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11698 * sysdeps/i386/sys/ucontext.h: Likewise.
11699 * sysdeps/m68k/sys/ucontext.h: Likewise.
11700 * sysdeps/mips/sys/ucontext.h: Likewise.
11701 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11702 * sysdeps/mach/hurd/i386/Makefile
11703 (test-xfail-POSIX/fcntl.h/conform): Add.
11704 (test-xfail-POSIX/signal.h/conform): Add.
11705 (test-xfail-POSIX/semaphore.h/conform): Add.
11706 (test-xfail-POSIX/regex.h/conform): Add.
11707 (test-xfail-POSIX/aio.h/conform): Add.
11708 (test-xfail-POSIX/mqueue.h/conform): Add.
11709 (test-xfail-POSIX/sys/types.h/conform): Add.
11710 (test-xfail-UNIX98/fcntl.h/conform): Add.
11711 (test-xfail-UNIX98/netdb.h/conform): Add.
11712 (test-xfail-UNIX98/signal.h/conform): Add.
11713 (test-xfail-UNIX98/semaphore.h/conform): Add.
11714 (test-xfail-UNIX98/regex.h/conform): Add.
11715 (test-xfail-UNIX98/aio.h/conform): Add.
11716 (test-xfail-UNIX98/ftw.h/conform): Add.
11717 (test-xfail-UNIX98/mqueue.h/conform): Add.
11718 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11719 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11720 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11721 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11722 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11723 (test-xfail-UNIX98/sys/types.h/conform): Add.
11724 (test-xfail-UNIX98/stdlib.h/conform): Add.
11725 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11726 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11727 (test-xfail-POSIX2008/netdb.h/conform): Add.
11728 (test-xfail-POSIX2008/signal.h/conform): Add.
11729 (test-xfail-POSIX2008/semaphore.h/conform): Add.
11730 (test-xfail-POSIX2008/regex.h/conform): Add.
11731 (test-xfail-POSIX2008/aio.h/conform): Add.
11732 (test-xfail-POSIX2008/mqueue.h/conform): Add.
11733 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
11734 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
11735 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
11736 (test-xfail-POSIX2008/sys/types.h/conform): Add.
11737 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
11738 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
11739 (test-xfail-XOPEN2K/netdb.h/conform): Add.
11740 (test-xfail-XOPEN2K/signal.h/conform): Add.
11741 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
11742 (test-xfail-XOPEN2K/regex.h/conform): Add.
11743 (test-xfail-XOPEN2K/aio.h/conform): Add.
11744 (test-xfail-XOPEN2K/ftw.h/conform): Add.
11745 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
11746 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
11747 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
11748 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
11749 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
11750 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
11751 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
11752 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
11753 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
11754 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
11755 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
11756 (test-xfail-XOPEN2K8/signal.h/conform): Add.
11757 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
11758 (test-xfail-XOPEN2K8/regex.h/conform): Add.
11759 (test-xfail-XOPEN2K8/aio.h/conform): Add.
11760 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
11761 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
11762 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
11763 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
11764 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
11765 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
11766 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
11767 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
11768 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
11769 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
11770 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
11772 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
11773 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
11775 2018-04-18 Joseph Myers <joseph@codesourcery.com>
11777 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
11778 --enable-obsolete for powerpc-linux-gnuspe.
11780 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11782 * conform/data/sys/un.h-data: Allow sun_ prefix.
11783 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
11785 * sysdeps/mach/include/mach.h: Likewise.
11786 * sysdeps/mach/include/mach/mig_support.h: Likewise.
11787 * sysdeps/mach/include/mach_error.h: Likewise.
11789 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11791 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
11792 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
11793 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
11794 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
11796 2018-04-16 Andreas Schwab <schwab@suse.de>
11799 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
11801 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
11803 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
11804 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
11806 2018-04-12 DJ Delorie <dj@redhat.com>
11808 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11811 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11813 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
11814 (struct kernel_sigaction): Use the same definition on 31bit as is used
11817 2018-04-09 Florian Weimer <fweimer@redhat.com>
11820 * resolv/res_send.c (send_dg): Use designated initializers instead
11821 of assignment to zero-initialize other fields of struct mmsghdr.
11823 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11825 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
11826 __READDIR_ALIAS): Undefine after usage.
11827 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
11828 __READDIR_R_ALIAS): Likewise.
11829 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
11830 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
11831 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
11832 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
11833 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
11834 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
11835 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11836 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11837 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
11838 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
11839 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
11840 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
11841 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11842 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
11843 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
11844 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
11845 * sysdeps/unix/sysv/linux/readdir.c: New file.
11846 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
11847 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
11848 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11850 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
11852 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
11854 * manual/charset.texi (Converting a Character): Fix typo.
11856 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11860 * sysdeps/arm/libm-test-ulps: Update.
11862 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
11863 as base implementation.
11864 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11865 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11866 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11867 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11868 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11869 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
11870 remove unrequired definitions and update comments.
11871 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
11872 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
11873 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
11874 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
11875 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
11876 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
11877 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
11878 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
11879 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
11880 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
11881 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
11882 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11883 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11884 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
11885 and RESET_SA_RESTORER hooks.
11887 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
11889 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11891 2018-04-05 Florian Weimer <fweimer@redhat.com>
11893 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
11894 integer overflow, memory leak on error, and indeterminate errno
11895 value. Add a null wide character to terminate the result string.
11896 * manual/charset.texi (Converting a Character): Mention embedded
11897 null bytes in the mbrtowc input string. Explain what happens in
11898 the -2 result case. Do not claim that mbrtowc is simple or
11899 obvious to use. Adjust the description of the code example. Use
11900 @code, not @var, for concrete variables.
11902 2018-04-05 Florian Weimer <fweimer@redhat.com>
11904 * manual/examples/mbstouwcs.c: New file.
11905 * manual/charset.texi (Converting a Character): Include it.
11907 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11909 * include/dirent.h (dirfd): Add hidden proto.
11910 * dirent/dirfd.c (dirfd): Add hidden def.
11911 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
11912 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
11914 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11916 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
11917 sin, cos and sincos to 1 ULP.
11919 2018-04-04 Maciej W. Rozycki <macro@mips.com>
11922 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
11924 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
11925 * elf/tst-absolute-sym.c: New file.
11926 * elf/tst-absolute-sym-lib.c: New file.
11927 * elf/tst-absolute-sym-lib.lds: New file.
11928 * elf/Makefile (tests): Add `tst-absolute-sym'.
11929 (modules-names): Add `tst-absolute-sym-lib'.
11930 (LDLIBS-tst-absolute-sym-lib.so): New variable.
11931 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
11932 ($(objpfx)tst-absolute-sym): New dependency.
11935 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
11937 (SYMBOL_ADDRESS): New macro.
11938 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
11939 SYMBOL_ADDRESS for symbol address calculation.
11940 * elf/dl-runtime.c (_dl_fixup): Likewise.
11941 (_dl_profile_fixup): Likewise.
11942 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
11943 * elf/rtld.c (dl_main): Likewise.
11944 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
11945 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
11946 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
11947 (elf_machine_rela): Likewise.
11948 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
11949 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
11950 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11951 (elf_machine_rela): Likewise.
11952 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11953 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
11954 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
11955 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
11957 (elf_machine_reloc): Likewise.
11958 (elf_machine_got_rel): Likewise.
11959 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
11960 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
11961 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11963 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11965 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
11966 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11968 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11970 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11973 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11975 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
11976 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11978 2018-04-04 Zack Weinberg <zackw@panix.com>
11980 * sysdeps/generic/internal-signals.h: Include signal.h,
11981 sigsetops.h, and stdbool.h.
11982 (__libc_signal_block_all): Actually block all signals.
11983 (__libc_signal_block_app): Likewise.
11984 (__libc_signal_restore_set): Actually restore the signal mask.
11986 2018-04-04 Florian Weimer <fweimer@redhat.com>
11988 inet: Actually build and run tst-deadline.
11989 * inet/Makefile (tests-internal): Add tst-deadline and do not
11990 overwrite the variable.
11991 (tests-static-internal): Remove variable.
11993 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
11996 * bits/uio-ext.h (RWF_APPEND): New.
11997 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
11998 * manual/llio.texi: Document RWF_APPEND.
11999 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12000 (RWF_SUPPORTED): Add RWF_APPEND.
12002 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12005 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12006 check for internal nptl signals.
12007 * nptl/sigaction.c (__sigaction): Likewise.
12008 * signal/sigaddset.c (sigaddset): Likewise.
12009 * signal/sigdelset.c (sigdelset): Likewise.
12010 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12011 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12013 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12014 to filter out internal nptl signals.
12015 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12016 also check realtime signals using standard macros.
12017 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12018 __is_internal_signal, __libc_signal_block_all,
12019 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12020 * sysdeps/nptl/sigfillset.c: Remove file.
12021 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12022 Change return to bool.
12023 (__clear_internal_signals): Remove SIGTIMER clean since it is
12024 equal to SIGCANEL on Linux.
12025 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12026 signal set was constructed using standard functions.
12028 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12030 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12031 ifname is too long.
12032 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12033 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12034 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12036 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12037 * signal/sigaddset.c: Include <sigsetopts.h>.
12038 * signal/sigdelset.c: Likewise.
12040 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12044 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12045 logic as sin and cos.
12047 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12049 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12050 inputs. Return correct sign.
12051 (do_sincos): Remove small input check before do_sin, let do_sin set
12056 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12058 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12059 (do_cos_slow): Likewise.
12060 (do_sin_slow): Likewise.
12061 (reduce_and_compute): Likewise.
12066 (sloww1): Likewise.
12067 (sloww2): Likewise.
12069 (bslow1): Likewise.
12070 (bslow2): Likewise.
12071 (cslow2): Likewise.
12073 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12075 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12076 (do_cos): Remove corp parameter and calculations.
12077 (do_sin): Likewise.
12078 (do_sincos): Remove cor variable.
12079 (__sin): Use do_sincos for huge inputs.
12081 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12082 (reduce_and_compute_sincos): Remove unused function.
12084 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12086 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12087 reduce_sincos, improve accuracy to 136 bits.
12088 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12089 (__sin): Use improved reduction and simplified do_sincos calculation.
12091 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12093 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12095 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12096 (do_sincos_2): Likewise.
12097 (__sin): Remove middle range reduction case.
12099 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12102 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12104 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12105 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12108 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12110 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12112 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12115 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12117 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12118 Remove definitions.
12119 (opendir_oflags): Use O_DIRECTORY regardless.
12120 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12121 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12123 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12125 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12126 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12128 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12129 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12130 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12131 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12132 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12133 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12135 * htl/Makefile: Bump licence to LGPL 2.1+.
12136 * htl/alloca_cutoff.c: Likewise.
12137 * htl/cthreads-compat.c: Likewise.
12138 * htl/lockfile.c: Likewise.
12139 * htl/pt-alloc.c: Likewise.
12140 * htl/pt-cancel.c: Likewise.
12141 * htl/pt-cleanup.c: Likewise.
12142 * htl/pt-create.c: Likewise.
12143 * htl/pt-dealloc.c: Likewise.
12144 * htl/pt-detach.c: Likewise.
12145 * htl/pt-exit.c: Likewise.
12146 * htl/pt-getattr.c: Likewise.
12147 * htl/pt-initialize.c: Likewise.
12148 * htl/pt-internal.h: Likewise.
12149 * htl/pt-join.c: Likewise.
12150 * htl/pt-self.c: Likewise.
12151 * htl/pt-setcancelstate.c: Likewise.
12152 * htl/pt-setcanceltype.c: Likewise.
12153 * htl/pt-sigmask.c: Likewise.
12154 * htl/pt-spin-inlines.c: Likewise.
12155 * htl/pt-testcancel.c: Likewise.
12156 * htl/pt-yield.c: Likewise.
12157 * htl/tests/test-1.c: Likewise.
12158 * htl/tests/test-10.c: Likewise.
12159 * htl/tests/test-11.c: Likewise.
12160 * htl/tests/test-12.c: Likewise.
12161 * htl/tests/test-13.c: Likewise.
12162 * htl/tests/test-14.c: Likewise.
12163 * htl/tests/test-15.c: Likewise.
12164 * htl/tests/test-16.c: Likewise.
12165 * htl/tests/test-17.c: Likewise.
12166 * htl/tests/test-2.c: Likewise.
12167 * htl/tests/test-3.c: Likewise.
12168 * htl/tests/test-4.c: Likewise.
12169 * htl/tests/test-5.c: Likewise.
12170 * htl/tests/test-6.c: Likewise.
12171 * htl/tests/test-7.c: Likewise.
12172 * htl/tests/test-8.c: Likewise.
12173 * htl/tests/test-9.c: Likewise.
12174 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12175 * sysdeps/htl/bits/cancelation.h: Likewise.
12176 * sysdeps/htl/bits/pthread-np.h: Likewise.
12177 * sysdeps/htl/bits/pthread.h: Likewise.
12178 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12179 * sysdeps/htl/bits/semaphore.h: Likewise.
12180 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12181 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12182 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12183 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12184 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12185 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12186 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12187 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12188 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12189 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12190 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12191 * sysdeps/htl/old_pt-atfork.c: Likewise.
12192 * sysdeps/htl/pt-atfork.c: Likewise.
12193 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12194 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12195 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12196 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12197 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12198 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12199 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12200 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12201 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12202 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12203 * sysdeps/htl/pt-attr-init.c: Likewise.
12204 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12205 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12206 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12207 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12208 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12209 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12210 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12211 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12212 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12213 * sysdeps/htl/pt-attr.c: Likewise.
12214 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12215 * sysdeps/htl/pt-barrier-init.c: Likewise.
12216 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12217 * sysdeps/htl/pt-barrier.c: Likewise.
12218 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12219 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12220 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12221 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12222 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12223 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12224 * sysdeps/htl/pt-cond-init.c: Likewise.
12225 * sysdeps/htl/pt-cond-signal.c: Likewise.
12226 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12227 * sysdeps/htl/pt-cond-wait.c: Likewise.
12228 * sysdeps/htl/pt-cond.c: Likewise.
12229 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12230 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12231 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12232 * sysdeps/htl/pt-condattr-init.c: Likewise.
12233 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12234 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12235 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12236 * sysdeps/htl/pt-equal.c: Likewise.
12237 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12238 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12239 * sysdeps/htl/pt-getschedparam.c: Likewise.
12240 * sysdeps/htl/pt-getspecific.c: Likewise.
12241 * sysdeps/htl/pt-init-specific.c: Likewise.
12242 * sysdeps/htl/pt-key-create.c: Likewise.
12243 * sysdeps/htl/pt-key-delete.c: Likewise.
12244 * sysdeps/htl/pt-key.h: Likewise.
12245 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12246 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12247 * sysdeps/htl/pt-mutex-init.c: Likewise.
12248 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12249 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12250 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12251 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12252 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12253 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12254 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12255 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12256 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12257 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12258 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12259 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12260 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12261 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12262 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12263 * sysdeps/htl/pt-mutexattr.c: Likewise.
12264 * sysdeps/htl/pt-once.c: Likewise.
12265 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12266 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12267 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12268 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12269 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12270 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12271 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12272 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12273 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12274 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12275 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12276 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12277 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12278 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12279 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12280 * sysdeps/htl/pt-setschedparam.c: Likewise.
12281 * sysdeps/htl/pt-setschedprio.c: Likewise.
12282 * sysdeps/htl/pt-setspecific.c: Likewise.
12283 * sysdeps/htl/pt-spin.c: Likewise.
12284 * sysdeps/htl/pt-startup.c: Likewise.
12285 * sysdeps/htl/pthread.h: Likewise.
12286 * sysdeps/htl/sem-close.c: Likewise.
12287 * sysdeps/htl/sem-destroy.c: Likewise.
12288 * sysdeps/htl/sem-getvalue.c: Likewise.
12289 * sysdeps/htl/sem-init.c: Likewise.
12290 * sysdeps/htl/sem-open.c: Likewise.
12291 * sysdeps/htl/sem-post.c: Likewise.
12292 * sysdeps/htl/sem-timedwait.c: Likewise.
12293 * sysdeps/htl/sem-trywait.c: Likewise.
12294 * sysdeps/htl/sem-unlink.c: Likewise.
12295 * sysdeps/htl/sem-wait.c: Likewise.
12296 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12297 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12298 * sysdeps/mach/htl/pt-block.c: Likewise.
12299 * sysdeps/mach/htl/pt-spin.c: Likewise.
12300 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12301 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12302 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12303 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12304 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12305 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12306 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12307 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12308 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12309 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12310 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12311 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12312 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12313 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12314 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12315 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12316 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12317 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12318 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12319 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12320 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12321 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12322 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12323 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12324 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12325 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12326 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12327 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12328 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12329 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12330 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12331 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12332 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12333 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12334 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12335 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12336 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12337 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12338 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12339 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12340 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12341 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12342 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12344 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12345 * README: Remove the mention of out-of-tree patches needed for
12348 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12349 (UTIME_NOW, UTIME_OMIT): Define macros.
12351 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12352 instead of pthread_detach.
12353 (__cthread_fork): Call __pthread_create instead of pthread_create.
12354 (__cthread_keycreate): Call __pthread_key_create instead of
12355 pthread_key_create.
12356 (__cthread_getspecific): Call __pthread_getspecific instead of
12357 pthread_getspecific.
12358 (__cthread_setspecific): Call __pthread_setspecific instead of
12359 pthread_setspecific.
12360 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12361 __pthread_mutex_unlock instead of pthread_mutex_lock and
12362 pthread_mutex_unlock.
12363 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12364 ___pthread_get_cleanup_stack.
12365 (__pthread_get_cleanup_stack): New strong alias.
12366 * htl/pt-create.c: Include <pthreadP.h>.
12367 (entry_point): Call __pthread_exit instead of pthread_exit.
12368 (pthread_create): Rename to __pthread_create.
12369 (pthread_create): New strong alias.
12370 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12371 (pthread_detach): New strong alias.
12372 (__pthread_detach): Call __pthread_cond_broadcast instead of
12373 pthread_cond_broadcast.
12374 * htl/pt-exit.c: Include <pthreadP.h>.
12375 (__pthread_exit): Call __pthread_setcancelstate and
12376 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12377 __pthread_get_cleanup_stack.
12378 * htl/pt-testcancel.c: Include <pthreadP.h>.
12379 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12380 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12381 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12382 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12383 pthread_attr_getstacksize.
12384 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12385 Rename to __pthread_attr_getstackaddr.
12386 (pthread_attr_getstackaddr): New strong alias.
12387 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12388 Rename to __pthread_attr_getstacksize.
12389 (pthread_attr_getstacksize): New strong alias.
12390 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12391 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12392 (pthread_attr_setstack): New strong alias.
12393 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12394 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12395 pthread_attr_getstacksize, pthread_attr_setstacksize and
12396 pthread_attr_setstackaddr.
12397 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12398 Rename to __pthread_attr_setstackaddr.
12399 (pthread_attr_setstackaddr): New strong alias.
12400 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12401 Rename to __pthread_attr_setstacksize.
12402 (pthread_attr_setstacksize): New strong alias.
12403 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12404 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12406 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12407 (__pthread_key_create): New hidden def.
12408 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12409 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12410 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12411 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12412 __pthread_setspecific, __pthread_setcancelstate,
12413 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12414 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12415 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12417 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12418 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12419 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12420 (pthread_attr_setstackaddr): New strong alias.
12421 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12422 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12423 (pthread_attr_setstacksize): New strong alias.
12424 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12425 (call_exit): Call __pthread_exit instead of pthread_exit.
12426 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12427 (_pthread_mutex_init): New hidden definition.
12428 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12429 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12430 instead of pthread_attr_init and pthread_attr_setstack.
12432 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12433 __vm_deallocate instead of vm_allocate and vm_deallocate.
12434 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12436 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12438 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12440 * hurd/siginfo.c: Include <libioP.h>.
12441 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12442 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12444 * mach/devstream.c: Include <libioP.h>.
12445 (dealloc_ref): Call __mach_port_deallocate instead of
12446 mach_port_deallocate.
12447 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12448 Call __mach_port_deallocate instead of mach_port_deallocate.
12449 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12451 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12453 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12454 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12455 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12457 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12459 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12460 instead of sysconf.
12461 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12462 __clock_gettime instead of clock_gettime.
12463 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12464 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12465 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12466 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12467 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12469 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12470 __clock_gettime and __nanosleep instead of clock_gettime and
12472 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12473 __hurd_catch_signal.
12474 (hurd_catch_signal): New strong alias.
12475 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12476 __hurd_catch_signal instead of hurd_catch_signal.
12477 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12478 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12479 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12480 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12481 (_hurd_thread_sigstate): Add hidden def.
12482 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12484 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12485 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12486 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12487 __hurd_file_name_path_lookup.
12488 (hurd_file_name_path_lookup): New strong alias.
12489 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12490 hurd_file_name_path_lookup.
12491 * mach/errstring.c (mach_error_type): Add hidden def.
12492 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12493 * mach/mutex-init.c (__mutex_init): Add hidden def.
12494 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12495 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12496 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12497 * sysdeps/mach/hurd/getcwd.c
12498 (_hurd_canonicalize_directory_name_internal): Rename to
12499 __hurd_canonicalize_directory_name_internal.
12500 (_hurd_canonicalize_directory_name_internal): New strong alias.
12501 (__canonicalize_directory_name_internal, __getcwd): Call
12502 __hurd_canonicalize_directory_name_internal instead of
12503 _hurd_canonicalize_directory_name_internal.
12504 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12505 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12507 * sysdeps/hurd/include/hurd.h: New file.
12508 * sysdeps/hurd/include/hurd/fd.h: New file.
12509 * sysdeps/hurd/include/hurd/signal.h: New file.
12510 * sysdeps/mach/include/lock-intern.h: New file.
12511 * sysdeps/mach/include/mach.h: New file.
12512 * sysdeps/mach/include/mach/mig_support.h: New file.
12513 * sysdeps/mach/include/mach_error.h: New file.
12514 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12516 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12517 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12518 _HEADER_H_HIDDEN_DEF macro.
12519 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12520 _hurd_fd_error_signal): Add hidden prototype.
12521 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12523 * libio/iolibio.h (_IO_puts): New hidden prototype.
12524 * libio/ioputs.c (_IO_puts): New hidden def.
12525 * sysdeps/mach/hurd/localplt.data: New file.
12527 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12528 Amos Jeffries <squid3@treenet.co.nz>
12529 David Michael <fedora.dm0@gmail.com>
12530 Marco Gerards <marco@gnu.org>
12531 Marcus Brinkmann <marcus@gnu.org>
12532 Neal H. Walfield <neal@gnu.org>
12533 Pino Toscano <toscano.pino@tiscali.it>
12534 Richard Braun <rbraun@sceen.net>
12535 Roland McGrath <roland@gnu.org>
12536 Samuel Thibault <samuel.thibault@ens-lyon.org>
12537 Thomas DiModica <ricinwich@yahoo.com>
12538 Thomas Schwinge <tschwinge@gnu.org>
12540 * htl: New directory.
12541 * sysdeps/htl: New directory.
12542 * sysdeps/hurd/htl: New directory.
12543 * sysdeps/i386/htl: New directory.
12544 * sysdeps/mach/htl: New directory.
12545 * sysdeps/mach/hurd/htl: New directory.
12546 * sysdeps/mach/hurd/i386/htl: New directory.
12547 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12548 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12549 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12551 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12553 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12554 signals in thread created for runing timers.
12556 2018-04-01 Florian Weimer <fweimer@redhat.com>
12558 * support/support_format_addrinfo.c (support_format_addrinfo):
12559 Include unknown error number in formatted result.
12561 2018-03-29 Florian Weimer <fweimer@redhat.com>
12563 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12566 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12568 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12569 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12570 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12571 (__ASSUME_CLONE_BACKWARDS): Define.
12573 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12576 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12577 early when linux sentinel value is set.
12579 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12581 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12583 2018-03-27 Andreas Schwab <schwab@suse.de>
12586 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12587 allocation of private copy of nsaddr_list fails.
12589 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12592 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12593 * sysdeps/unix/sysv/linux/umount.c: ... here.
12594 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12595 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12596 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12597 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12599 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12600 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12602 2018-03-26 Andreas Schwab <schwab@suse.de>
12604 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12605 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12606 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12607 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12608 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12609 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12610 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12611 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12612 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12613 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12614 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12615 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12616 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12617 (R_RISCV_NUM): Define.
12619 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12621 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12622 TLS declaration of errno.
12623 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12625 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12626 (ARCH_SETUP_TLS): Likewise.
12627 * sysdeps/mach/hurd/libc-start.h: New file copied from
12628 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12629 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12630 instead of __libc_setup_tls.
12631 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12632 __libc_setup_tls before initializing libpthread and running _hurd_init
12633 which starts the signal thread.
12634 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12636 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12638 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12641 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12642 after it is defined.
12644 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12645 Max Horn <max@quendi.de>
12649 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12651 * string/test-memmove.c (do_test2): New testcase.
12653 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12655 * sysdeps/generic/frame.h: Remove file.
12656 * sysdeps/arm/frame.h: Likewise.
12657 * sysdeps/hppa/frame.h: Likewise.
12658 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12660 (GET_FRAME): Likewise.
12661 (GET_STACK): Likewise.
12662 (CALL_SIGHANDLER): Likewise.
12663 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12665 (GET_FRAME): Likewise.
12666 (GET_STACK): Likewise.
12667 (CALL_SIGHANDLER): Likewise.
12668 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12669 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12670 (GET_FRAME): Likewise.
12671 (GET_STACK): Likewise.
12672 (CALL_SIGHANDLER): Likewise.
12673 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12674 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12675 (GET_FRAME): Likewise.
12676 (GET_STACK): Likewise.
12677 (ADVANCE_STACK_FRAME): Likewise.
12678 (CALL_SIGHANDLER): Likewise.
12679 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12680 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12681 (GET_FRAME): Likewise.
12682 (GET_STACK): Likewise.
12683 (CALL_SIGHANDLER): Likewise.
12684 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12685 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12686 (GET_FRAME): Likewise.
12687 (GET_STACK): Likewise.
12688 (CALL_SIGHANDLER): Likewise.
12689 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12690 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12691 (GET_FRAME): Likewise.
12692 (GET_STACK): Likewise.
12693 (CALL_SIGHANDLER): Likewise.
12694 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12695 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12696 (GET_FRAME): Likewise.
12697 (GET_STACK): Likewise.
12698 (CALL_SIGHANDLER): Likewise.
12699 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12700 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12701 (GET_FRAME): Likewise.
12702 (GET_STACK): Likewise.
12703 (CALL_SIGHANDLER): Likewise.
12704 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12705 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12706 (GET_FRAME): Likewise.
12707 (GET_STACK): Likewise.
12708 (CALL_SIGHANDLER): Likewise.
12709 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12710 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12711 (GET_FRAME): Likewise.
12712 (GET_STACK): Likewise.
12713 (CALL_SIGHANDLER): Likewise.
12714 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12715 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12716 (GET_FRAME): Likewise.
12717 (GET_STACK): Likewise.
12718 (CALL_SIGHANDLER): Likewise.
12719 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12720 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12721 (GET_FRAME): Likewise.
12722 (GET_STACK): Likewise.
12723 (CALL_SIGHANDLER): Likewise.
12724 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12725 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12726 (FIRST_FRAME_POINTER): Likewise.
12727 (ADVANCE_STACK_FRAME): Likewise.
12728 (GET_STACK): Likewise.
12729 (GET_FRAME): Likewise.
12730 (CALL_SIGHANDLER): Likewise.
12731 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
12732 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12733 (ADVANCE_STACK_FRAME): Likewise.
12734 (GET_STACK): Likewise.
12735 (GET_FRAME): Likewise.
12736 (CALL_SIGHANDLER): Likewise.
12737 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
12738 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12739 (GET_FRAME): Likewise.
12740 (GET_STACK): Likewise.
12741 (CALL_SIGHANDLER): Likewise.
12742 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
12743 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12744 (GET_FRAME): Likewise.
12745 (GET_STACK): Likewise.
12746 (CALL_SIGHANDLER): Likewise.
12748 2018-03-21 Joseph Myers <joseph@codesourcery.com>
12750 * sysdeps/x86_64/backtrace.c: Move to ....
12751 * debug/backtrace.c: ... here.
12752 * sysdeps/aarch64/backtrace.c: Remove file.
12753 * sysdeps/alpha/backtrace.c: Likewise.
12754 * sysdeps/hppa/backtrace.c: Likewise.
12755 * sysdeps/ia64/backtrace.c: Likewise.
12756 * sysdeps/mips/backtrace.c: Likewise.
12757 * sysdeps/nios2/backtrace.c: Likewise.
12758 * sysdeps/riscv/backtrace.c: Likewise.
12759 * sysdeps/sh/backtrace.c: Likewise.
12760 * sysdeps/tile/backtrace.c: Likewise.
12762 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12765 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
12768 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
12771 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
12772 possibly overflowing computations.
12774 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12776 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
12777 values from Linux-specific section now that it is in the GNU section.
12778 * sysdeps/gnu/errlist.c: Regenerate.
12780 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12782 * math/Makefile (libm-narrow-fns): Add sub.
12783 (libm-test-funcs-narrow): Likewise.
12784 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
12785 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
12786 * math/gen-auto-libm-tests.c (test_functions): Add sub.
12787 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
12788 (NARROW_SUB_ROUND_TO_ODD): Likewise.
12789 (NARROW_SUB_TRIVIAL): Likewise.
12790 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
12792 (__dsubl): Likewise.
12793 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
12795 (CFLAGS-nldbl-dsub.c): New variable.
12796 (CFLAGS-nldbl-fsub.c): Likewise.
12797 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12799 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
12801 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
12802 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
12803 * math/auto-libm-test-in: Add tests of sub.
12804 * math/auto-libm-test-out-narrow-sub: New generated file.
12805 * math/libm-test-narrow-sub.inc: New file.
12806 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
12809 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
12810 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
12811 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
12820 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
12821 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
12822 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
12823 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
12824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12825 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12827 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12828 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12830 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12832 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12835 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12836 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12837 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12844 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12845 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12846 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12847 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12848 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12849 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12850 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12851 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12853 2018-03-19 Joseph Myers <joseph@codesourcery.com>
12856 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
12858 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
12860 * benchtests/bench-timing.h (attribute_hidden): Undefine.
12862 2018-03-18 Richard Braun <rbraun@sceen.net>
12864 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
12867 2018-03-18 Agustina Arzille <avarzille@riseup.net>
12869 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
12870 (__libc_cleanup_fct): Define function.
12871 (__libc_cleanup_region_start, __libc_cleanup_region_end,
12872 __libc_cleanup_end): Rewrite implementation using
12873 __attribute__ ((__cleanup__)).
12874 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
12875 * hurd/Makefile (routines): Add hurdlock.
12876 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
12878 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
12879 * hurd/hurdpid.c: Include <lowlevellock.h>
12880 (_S_msg_proc_newids): Use lll_wait to synchronize.
12881 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
12882 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
12883 * mach/Makefile (lock-headers): Remove machine-lock.h.
12884 * mach/lock-intern.h: Include <lowlevellock.h> instead of
12886 (__spin_lock_t): New type.
12887 (__SPIN_LOCK_INITIALIZER): New macro.
12888 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
12889 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
12890 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
12891 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
12892 (__mutex_init): Initialize with lll.
12893 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
12894 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
12896 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12897 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
12898 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
12899 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
12900 (__setpgid): Use lll for synchronization.
12901 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
12902 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
12903 instead of <cthreads.h>.
12904 (_IO_lock_inexpensive): New macro
12905 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
12906 (__libc_lock_self0): New declaration.
12907 (__libc_lock_owner_self): New macro.
12908 (__libc_key_t): Remove type.
12909 (_LIBC_LOCK_INITIALIZER): New macro.
12910 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
12911 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
12912 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
12913 __libc_lock_define_initialized_recursive,
12914 __rtld_lock_define_initialized_recursive,
12915 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
12916 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
12917 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
12918 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
12919 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
12920 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
12921 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
12923 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
12924 * hurd/hurdlock.c: New file.
12925 * hurd/hurdlock.h: New file.
12926 * mach/lowlevellock.h: New file
12928 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12930 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
12931 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
12932 when opening a symlink with O_NOFOLLOW.
12933 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
12934 path when flags contains O_NOFOLLOW.
12935 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
12936 if flags contains O_DIRECTORY and the result is a directory.
12937 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
12938 oneself when the pointer given in D is nul (as set by ext2fs).
12939 * sysdeps/mach/hurd/mlockall.c: New file.
12940 * sysdeps/mach/hurd/munlockall.c: New file.
12942 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12944 * hurd/hurdsig.c: Include <pthread.h>.
12945 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
12946 get the signal thread stack layout.
12947 * hurd/Makefile (headers): Remove threadvar.h.
12948 (inline-headers): Remove threadvar.h.
12949 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
12950 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
12951 __hurd_threadvar_max, __hurd_errno_location.
12952 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
12953 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
12954 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
12955 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
12956 unless TLS is not initialized yet, in which case we do not need a
12957 critical section yet anyway.
12958 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
12960 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
12962 (__hurd_threadvar_index): Remove enum.
12963 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
12964 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
12966 (__hurd_reply_port0): New variable declaration.
12967 (__hurd_local_reply_port): New macro.
12968 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
12969 (interrupted_reply_port_location): Add thread_t parameter. Use it
12970 with THREAD_TCB to access thread-local variables.
12971 (_hurdsig_abort_rpcs): Pass ss->thread to
12972 interrupted_reply_port_location.
12973 (_hurd_internal_post_signal): Likewise.
12974 (_hurdsig_init): Use presence of cthread_fork instead of
12975 __hurd_threadvar_stack_mask to start signal thread by hand.
12976 Remove signal thread threadvar initialization.
12977 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
12978 * hurd/sigunwind.c: Include <hurd/threadvar.h>
12979 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
12981 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
12983 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
12984 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
12985 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
12986 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
12987 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
12988 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
12989 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
12991 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
12992 <hurd/threadvar.h>.
12993 [IS_IN(rtld)] (rtld_errno): New variable.
12994 [IS_IN(rtld)] (__errno_location): New weak function.
12995 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
12996 * sysdeps/mach/hurd/errno.c: Remove file.
12997 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
12998 (__fork): Remove THREADVAR_SPACE macro and its use.
12999 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13001 (init): Do not initialize threadvar.
13002 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13004 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13005 __hurd_local_reply_port instead of threadvar.
13006 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13007 _hurd_sigstate fields.
13008 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13009 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13010 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13011 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13012 instead of threadvar.
13013 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13014 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13015 (use_threadvar, global_reply_port): Remove variables.
13016 (__hurd_reply_port0): New variable.
13017 (__mig_get_reply_port): Use __hurd_local_reply_port and
13018 __hurd_reply_port0 instead of threadvar.
13019 (__mig_dealloc_reply_port): Likewise.
13020 (__mig_init): Do not initialize threadvar.
13021 * sysdeps/mach/hurd/profil.c: Fix comment.
13022 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13023 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13024 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13025 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13026 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13027 __cthread_setspecific.
13028 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13029 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13030 __cthread_t instead of cthread_fork, cthread_detach,
13031 pthread_getattr_np, pthread_attr_getstack.
13032 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13033 __cthread_keycreate.
13034 (cthread_getspecific): Rename to __cthread_getspecific.
13035 (cthread_setspecific): Rename to __cthread_setspecific.
13036 (__libc_getspecific): Use __cthread_getspecific instead of
13037 cthread_getspecific.
13038 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13039 __cthread_keycreate instead of cthread_keycreate.
13040 (__libc_setspecific): Use __cthread_setspecific instead of
13041 cthread_setspecific.
13042 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13045 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13046 testing whether it is defined.
13048 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13050 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13052 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13053 * sysdeps/mach/i386/thread_state.h
13054 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13056 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13058 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13060 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13061 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13063 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13065 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13066 descriptor instead of creating a new one.
13067 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13069 * mach/setup-thread.c: Include <ldsodefs.h>.
13070 (__mach_setup_thread): Call _dl_allocate_tls, pass
13071 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13072 MACHINE_THREAD_STATE_FLAVOR, before getting
13073 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13074 MACHINE_THREAD_STATE_FLAVOR with the result.
13075 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13076 MACHINE_THREAD_STATE_FIX_NEW.
13077 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13078 too. Add original thread parameter.
13080 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13082 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13083 Remove inline function.
13085 * sysdeps/i386/fpu/libm-test-ulps: Update.
13086 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13088 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13090 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13093 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13095 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13096 (__sincos_code): Remove define and undefine.
13097 [__FAST_MATH__] (__sincos): Remove inline function.
13098 [__FAST_MATH__] (__sincosf): Remove inline function.
13099 [__FAST_MATH__] (__sincosl): Remove inline function.
13100 (__atan2l): Remove inline functions.
13101 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13102 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13104 (floor): Remove inline function.
13106 [__FAST_MATH__] (__ldexp_code): Remove macro.
13107 [__FAST_MATH__] (ldexp): Remove inline function.
13108 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13109 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13110 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13111 [__USE_ISOC99] (__lrint_code): Remove macro.
13112 [__USE_ISOC99] (__llrint_code): Likewise.
13113 [__USE_ISOC99] (lrintf): Remove inline function.
13114 [__USE_ISOC99] (lrint): Likewise.
13115 [__USE_ISOC99] (lrintl): Likewise.
13116 [__USE_ISOC99] (llrint): Likewise.
13117 [__USE_ISOC99] (llrintf): Likewise.
13118 [__USE_ISOC99] (llrintl): Likewise.
13120 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13122 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13123 (__ieee754_sqrtf): Remove.
13124 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13125 (__ieee754_sqrtf): Remove.
13126 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13127 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13128 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13129 (__ieee754_sqrtf): Remove.
13130 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13131 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13134 (__ieee754_sqrt): Remove.
13135 (__ieee754_sqrtf): Remove.
13136 (__ieee754_sqrtl): Remove.
13137 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13138 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13139 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13140 (__ieee754_sqrtf): Remove.
13141 (__ieee754_sqrtl): Remove.
13143 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13145 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13146 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13147 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13148 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13149 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13150 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13151 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13152 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13154 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13155 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13156 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13157 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13158 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13159 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13160 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13161 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13162 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13163 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13164 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13165 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13166 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13167 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13168 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13169 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13170 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13171 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13172 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13173 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13174 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13176 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13177 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13178 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13179 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13180 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13182 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13183 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13184 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13185 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13186 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13187 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13188 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13189 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13190 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13191 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13192 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13193 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13195 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13197 * include/math.h (sqrt): Declare with asm redirect.
13200 (sqrtf128): Likewise.
13201 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13202 nonlib and libnldbl with -fmath-errno.
13203 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13204 * math/w_sqrt_template.c: Likewise.
13205 * math/w_sqrtf_compat.c: Likewise.
13206 * math/w_sqrtl_compat.c: Likewise.
13207 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13208 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13209 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13212 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13214 * benchtests/Makefile: Define _ISOMAC.
13215 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13216 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13217 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13218 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13219 * benchtests/bench-timing.h: Define attribute_hidden.
13221 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13223 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13226 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13229 * localedata/locales/cs_CZ (mon): Rename to...
13231 (mon): Import from CLDR (genitive case).
13233 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13236 * localedata/locales/el_CY (abmon): Rename to...
13237 (ab_alt_mon): This.
13238 (abmon): Import from CLDR (abbreviated genitive case).
13239 * localedata/locales/el_GR (abmon): Rename to...
13240 (ab_alt_mon): This.
13241 (abmon): Import from CLDR (abbreviated genitive case).
13243 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13246 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13248 2018-03-15 Robert Buj <robert.buj@gmail.com>
13251 * localedata/locales/ca_ES (abmon): Rename to...
13252 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13253 (mon): Rename to...
13255 (abmon): Import from CLDR (genitive case, month names preceded by
13258 (abday): Synchronize with CLDR.
13259 (d_t_fmt): Likewise.
13263 (LC_TIME): Improve indentation.
13264 (LC_TELEPHONE): Likewise.
13265 (LC_NAME): Likewise.
13266 (LC_ADDRESS): Likewise.
13268 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13270 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13271 (lrintf): Remove definitions used only with old GCC.
13272 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13273 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13274 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13275 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13276 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13277 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13278 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13279 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13280 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13281 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13282 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13283 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13284 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13285 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13286 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13287 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13288 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13289 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13290 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13291 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13292 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13293 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13294 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13295 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13296 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13297 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13298 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13299 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13301 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13303 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13304 instruction to unbreak builds with binutils 2.26 and older.
13306 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13308 * sysdeps/aarch64/strncmp.S (count): New macro.
13309 (strncmp): Store misaligned length in SRC1 in COUNT.
13310 (mutual_align): Adjust.
13311 (misaligned8): Load dword at a time when it is safe.
13313 2018-03-12 Zack Weinberg <zackw@panix.com>
13317 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13318 if the _IO_EOF_SEEN bit is already set; update commentary.
13319 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13320 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13322 * support/support_openpty.c, support/tty.h: New files.
13323 * support/Makefile (libsupport-routines): Add support_openpty.
13325 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13327 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13328 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13330 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13332 * po/pt_BR.po: Update translations.
13334 2018-03-12 David Michael <fedora.dm0@gmail.com>
13336 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13337 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13338 get a port to the startup server.
13340 2018-03-11 Zack Weinberg <zackw@panix.com>
13342 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13343 before nldbl-compat.h.
13345 2018-03-10 Zack Weinberg <zackw@panix.com>
13347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13348 math.h or math_private.h.
13350 * sysdeps/alpha/fpu/s_isnan.c
13351 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13352 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13353 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13354 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13355 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13356 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13357 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13358 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13359 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13362 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13363 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13364 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13365 Include math_private.h.
13367 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13368 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13369 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13370 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13371 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13372 * sysdeps/powerpc/power7/fpu/s_logb.c:
13373 Include math.h and math_private.h.
13375 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13376 uses of $at in .set noat / .set at.
13378 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13380 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13381 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13382 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13383 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13386 2018-03-09 Florian Weimer <fweimer@redhat.com>
13388 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13391 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13394 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13395 Add nop before __startcontext, add explaining comments.
13397 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13400 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13402 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13403 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13404 Do not build hardware transactional code for __SPE__.
13405 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13406 (__lll_trylock_elision): Likewise.
13407 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13408 (__lll_unlock_elision): Likewise.
13410 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13411 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13412 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13413 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13414 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13415 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13416 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13417 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13418 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13419 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13420 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13421 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13422 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13423 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13424 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13425 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13426 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13427 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13428 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13429 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13430 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13431 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13432 (__ASSUME_CLONE_BACKWARDS): Define.
13433 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13434 __clone2 if __NR_clone2 is defined.
13435 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13436 (__ASSUME_CLONE_BACKWARDS): Likewise.
13437 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13438 (__ASSUME_CLONE_BACKWARDS): Likewise.
13439 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13440 (__ASSUME_CLONE2): Likewise.
13441 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13442 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13443 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13444 variants and the define architecture can use.
13445 (__ASSUME_CLONE_DEFAULT): Define as default.
13446 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13447 (__ASSUME_CLONE_BACKWARDS): Likewise.
13448 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13449 (__ASSUME_CLONE_BACKWARDS): Likewise.
13450 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13451 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13453 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13455 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13457 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13460 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13461 (do_test_limit): Likewise.
13463 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13464 for every implementation.
13465 (do_test): Likewise.
13467 * benchtests/bench-strncmp.c: Convert output to json.
13469 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13471 * io/futimens.c: Add missing start-of-file descriptive comment.
13472 * io/utime.c: Likewise.
13473 * misc/futimesat.c: Likewise.
13474 * misc/utimes.c: Likewise.
13475 * sysdeps/mach/hurd/futimesat.c: Likewise.
13476 * sysdeps/mach/hurd/utimes.c: Likewise.
13477 * sysdeps/posix/utime.c: Likewise.
13478 * sysdeps/posix/utimes.c: Likewise.
13479 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13480 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13481 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13482 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13484 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13486 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13488 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13489 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13490 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13491 (__futimens): Move implementation to...
13492 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13493 utime_tvalue_from_tspec): ... new helper functions.
13494 (hurd_futimens): New function.
13495 * sysdeps/mach/hurd/futimesat.c: New file.
13496 * sysdeps/mach/hurd/utimensat.c: New file.
13498 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13500 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13501 UTIME_OMIT): New macros.
13502 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13503 before reverting to converting time spec to time value and calling
13505 * sysdeps/mach/hurd/utime-helper.c: New file.
13506 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13507 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13508 reverting to utime_tvalue_from_tval and __file_utimes.
13509 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13510 (__lutimes): Just call hurd_futimens after lookup.
13511 * sysdeps/mach/hurd/utimes.c: Likewise.
13513 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13515 * bits/sigaction.h: Add include guard.
13516 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13517 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13518 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13519 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13520 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13521 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13522 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13523 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13524 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13526 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13528 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13529 -Wmaybe-uninitialized for -Os.
13530 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13533 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13535 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13536 __INO_T_MATCHES_INO64_T is defined.
13537 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13538 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13540 * dirent/alphasort64.c: Likewise.
13541 * dirent/scandir.c: Likewise.
13542 * dirent/scandir64-tail.c: Likewise.
13543 * dirent/scandir64.c: Likewise.
13544 * dirent/scandirat.c: Likewise.
13545 * dirent/scandirat64.c: Likewise.
13546 * dirent/versionsort.c: Likewise.
13547 * dirent/versionsort64.c: Likewise.
13548 * include/dirent.h: Likewise.
13550 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13551 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13552 for socketpair endpoint.
13553 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13554 WRITE_BUFFER_SIZE as buffer size for sending socket.
13555 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13556 issue on system where send is implemented with sendto syscall.
13557 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13558 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13559 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13560 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13563 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13564 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13565 sa_restorer for vDSO case.
13566 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13568 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13570 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13571 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13572 * hurd/hurd/ioctl.h: Include <mach/port.h>
13573 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13574 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13575 <mach/mach_types.h> and <mach/message.h>.
13576 (headers): Move mach/param.h to bits/mach/param.h.
13577 * sysdeps/mach/i386/mach/param.h: Move file to ...
13578 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13579 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13581 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13582 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13583 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13584 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13585 trivial, for C++ conformity.
13586 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13587 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13588 Process mig output through $(migheadersed).
13589 * hurd/Makefile (migheadersed): Define variable.
13590 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13591 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13593 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13594 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13595 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13596 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13597 <bits/types/sigset_t.h>.
13598 [!defined __USE_GNU]: Do not #error out.
13599 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13600 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13601 Include <stddef.h> and <bits/types/sigset_t.h>
13602 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13603 instead of sighandler_t.
13604 * stdlib/errno.h (error_t): Move definition to...
13605 * bits/types/error_t.h: ... new header.
13606 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13607 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13608 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13609 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13610 * hurd/hurd.h: Include <bits/types/error_t.h>
13611 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13612 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13613 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13614 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13615 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13616 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13617 * sysdeps/mach/hurd/futimens.c: New file.
13619 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13622 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13623 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13624 * nscd/gai.c (__nss_hosts_database): Readd definition.
13625 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13626 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13627 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13629 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13631 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13632 (ifunc_one): Likewise.
13634 2018-03-01 DJ Delorie <dj@delorie.com>
13637 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13640 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13642 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13643 `match_pid' parameter.
13644 (td_ta_thr_iter): Update accordingly.
13646 2018-03-01 Florian Weimer <fweimer@redhat.com>
13648 * nptl/Makefile (install-lib-ldscripts): Remove.
13649 (install): Remove rule.
13650 ($(inst_libdir)/libpthread.so): Likewise.
13652 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13655 * localedata/locales/an_ES: update month and day names,
13656 improve d_fmt, improve postal_fmt, add country_post,
13659 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13661 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13662 Ukrainian instead of Bulgarian.
13664 2018-03-01 Florian Weimer <fweimer@redhat.com>
13666 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13669 2018-03-01 Florian Weimer <fweimer@redhat.com>
13671 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13672 * nptl/Makefile (routines): Add pthread_atfork.
13673 (static-only-routines): Set to pthread_atfork.
13674 (libpthread-routines): Remove pthread_atfork.
13675 (libpthread-static-only-routines): Remove.
13676 (install): Update comment.
13677 (libpthread.so): Do not install libpthread_nonshared.a.
13678 (tests): Do not link with libpthread_nonshared.a.
13679 (generated): Remove libpthread_nonshared.a.
13680 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13681 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13682 with libpthread_nonshared.a.
13684 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13687 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13688 (libc_feholdexcept_setroundf128): New macro.
13689 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13692 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13694 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13695 * include/inttypes.h: New file.
13697 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13699 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13700 -Os in two more places.
13702 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13704 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13705 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13706 be sorted correctly at the moment because of a bug.
13708 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13710 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13711 treat ñ as a primary different character, sync the collation
13712 for Spanish with CLDR.
13713 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13714 * localedata/Makefile: Add new test files.
13715 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13716 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13718 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13719 * localedata/am_ET.UTF-8.in: New test file.
13720 * localedata/az_AZ.UTF-8.in: Likewise.
13721 * localedata/be_BY.UTF-8.in: Likewise.
13722 * localedata/ber_DZ.UTF-8.in: Likewise.
13723 * localedata/ber_MA.UTF-8.in: Likewise.
13724 * localedata/bg_BG.UTF-8.in: Likewise.
13725 * localedata/br_FR.UTF-8.in: Likewise.
13726 * localedata/cmn_TW.UTF-8.in: Likewise.
13727 * localedata/crh_UA.UTF-8.in: Likewise.
13728 * localedata/csb_PL.UTF-8.in: Likewise.
13729 * localedata/cv_RU.UTF-8.in: Likewise.
13730 * localedata/cy_GB.UTF-8.in: Likewise.
13731 * localedata/dz_BT.UTF-8.in: Likewise.
13732 * localedata/eo.UTF-8.in: Likewise.
13733 * localedata/es_ES.UTF-8.in: Likewise.
13734 * localedata/fa_IR.UTF-8.in: Likewise.
13735 * localedata/fi_FI.UTF-8.in: Likewise.
13736 * localedata/fil_PH.UTF-8.in: Likewise.
13737 * localedata/fur_IT.UTF-8.in: Likewise.
13738 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
13739 * localedata/ha_NG.UTF-8.in: Likewise.
13740 * localedata/ig_NG.UTF-8.in: Likewise.
13741 * localedata/ik_CA.UTF-8.in: Likewise.
13742 * localedata/kk_KZ.UTF-8.in: Likewise.
13743 * localedata/ku_TR.UTF-8.in: Likewise.
13744 * localedata/ky_KG.UTF-8.in: Likewise.
13745 * localedata/ln_CD.UTF-8.in: Likewise.
13746 * localedata/mi_NZ.UTF-8.in: Likewise.
13747 * localedata/ml_IN.UTF-8.in: Likewise.
13748 * localedata/mn_MN.UTF-8.in: Likewise.
13749 * localedata/mr_IN.UTF-8.in: Likewise.
13750 * localedata/mt_MT.UTF-8.in: Likewise.
13751 * localedata/nb_NO.UTF-8.in: Likewise.
13752 * localedata/om_KE.UTF-8.in: Likewise.
13753 * localedata/os_RU.UTF-8.in: Likewise.
13754 * localedata/ps_AF.UTF-8.in: Likewise.
13755 * localedata/ro_RO.UTF-8.in: Likewise.
13756 * localedata/ru_RU.UTF-8.in: Likewise.
13757 * localedata/sc_IT.UTF-8.in: Likewise.
13758 * localedata/se_NO.UTF-8.in: Likewise.
13759 * localedata/sq_AL.UTF-8.in: Likewise.
13760 * localedata/sv_SE.UTF-8.in: Likewise.
13761 * localedata/szl_PL.UTF-8.in: Likewise.
13762 * localedata/tg_TJ.UTF-8.in: Likewise.
13763 * localedata/tk_TM.UTF-8.in: Likewise.
13764 * localedata/tt_RU.UTF-8.in: Likewise.
13765 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
13766 * localedata/ug_CN.UTF-8.in: Likewise.
13767 * localedata/uz_UZ.UTF-8.in: Likewise.
13768 * localedata/vi_VN.UTF-8.in: Likewise.
13769 * localedata/yi_US.UTF-8.in: Likewise.
13770 * localedata/yo_NG.UTF-8.in: Likewise.
13771 * localedata/zh_CN.UTF-8.in: Likewise.
13772 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
13773 file and fix bugs in the collation.
13774 * localedata/locales/az_AZ: Likewise.
13775 * localedata/locales/be_BY: Likewise.
13776 * localedata/locales/ber_DZ: Likewise.
13777 * localedata/locales/ber_MA: Likewise.
13778 * localedata/locales/bg_BG: Likewise.
13779 * localedata/locales/br_FR: Likewise.
13780 * localedata/locales/br_FR@euro: Likewise.
13781 * localedata/locales/ca_ES: Likewise.
13782 * localedata/locales/cns11643_stroke: Likewise.
13783 * localedata/locales/crh_UA: Likewise.
13784 * localedata/locales/cs_CZ: Likewise.
13785 * localedata/locales/csb_PL: Likewise.
13786 * localedata/locales/cv_RU: Likewise.
13787 * localedata/locales/cy_GB: Likewise.
13788 * localedata/locales/da_DK: Likewise.
13789 * localedata/locales/dz_BT: Likewise.
13790 * localedata/locales/en_CA: Likewise.
13791 * localedata/locales/eo: Likewise.
13792 * localedata/locales/es_CU: Likewise.
13793 * localedata/locales/es_EC: Likewise.
13794 * localedata/locales/es_ES: Likewise.
13795 * localedata/locales/es_US: Likewise.
13796 * localedata/locales/et_EE: Likewise.
13797 * localedata/locales/fa_IR: Likewise.
13798 * localedata/locales/fi_FI: Likewise.
13799 * localedata/locales/fil_PH: Likewise.
13800 * localedata/locales/fur_IT: Likewise.
13801 * localedata/locales/gez_ER@abegede: Likewise.
13802 * localedata/locales/ha_NG: Likewise.
13803 * localedata/locales/hr_HR: Likewise.
13804 * localedata/locales/hsb_DE: Likewise.
13805 * localedata/locales/hu_HU: Likewise.
13806 * localedata/locales/ig_NG: Likewise.
13807 * localedata/locales/ik_CA: Likewise.
13808 * localedata/locales/is_IS: Likewise.
13809 * localedata/locales/iso14651_t1_pinyin: Likewise.
13810 * localedata/locales/kk_KZ: Likewise.
13811 * localedata/locales/ku_TR: Likewise.
13812 * localedata/locales/ky_KG: Likewise.
13813 * localedata/locales/ln_CD: Likewise.
13814 * localedata/locales/lt_LT: Likewise.
13815 * localedata/locales/lv_LV: Likewise.
13816 * localedata/locales/mi_NZ: Likewise.
13817 * localedata/locales/ml_IN: Likewise.
13818 * localedata/locales/mn_MN: Likewise.
13819 * localedata/locales/mr_IN: Likewise.
13820 * localedata/locales/mt_MT: Likewise.
13821 * localedata/locales/nb_NO: Likewise.
13822 * localedata/locales/om_KE: Likewise.
13823 * localedata/locales/os_RU: Likewise.
13824 * localedata/locales/pl_PL: Likewise.
13825 * localedata/locales/ps_AF: Likewise.
13826 * localedata/locales/ro_RO: Likewise.
13827 * localedata/locales/ru_RU: Likewise.
13828 * localedata/locales/ru_UA: Likewise.
13829 * localedata/locales/sc_IT: Likewise.
13830 * localedata/locales/se_NO: Likewise.
13831 * localedata/locales/si_LK: Likewise.
13832 * localedata/locales/sq_AL: Likewise.
13833 * localedata/locales/sv_FI: Likewise.
13834 * localedata/locales/sv_FI@euro: Likewise.
13835 * localedata/locales/sv_SE: Likewise.
13836 * localedata/locales/szl_PL: Likewise.
13837 * localedata/locales/tg_TJ: Likewise.
13838 * localedata/locales/ti_ER: Likewise.
13839 * localedata/locales/tk_TM: Likewise.
13840 * localedata/locales/tl_PH: Likewise.
13841 * localedata/locales/tr_TR: Likewise.
13842 * localedata/locales/tt_RU: Likewise.
13843 * localedata/locales/tt_RU@iqtelif: Likewise.
13844 * localedata/locales/ug_CN: Likewise.
13845 * localedata/locales/uk_UA: Likewise.
13846 * localedata/locales/uz_UZ: Likewise.
13847 * localedata/locales/uz_UZ@cyrillic: Likewise.
13848 * localedata/locales/vi_VN: Likewise.
13849 * localedata/locales/yi_US: Likewise.
13850 * localedata/locales/yo_NG: Likewise.
13852 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13854 * gen-locales.mk: Make test files which contain @ modifiers in their
13856 * localedata/gen-locale.sh: Likewise.
13858 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13860 * posix/tst-fnmatch.input: Fix results for range expressions
13862 * posix/tst-regexloc.c: Do not use a range expression for
13863 de_DE.ISO-8859-1 locale.
13865 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13867 * posix/bug-regex5.c: Fix test case because with the new
13868 iso14651_t1_common file, the da_DK locale now has 6 collating elements
13869 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
13872 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13874 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
13875 downloaded from ISO, the collation order of @-. and space has changed.
13876 Therefore, this test file needed to be adapted.
13877 * localedata/fr_CA.UTF-8.in: Likewise.
13878 * localedata/fr_FR.UTF-8.in: Likewise.
13879 * localedata/uk_UA.UTF-8.in: Likewise.
13881 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13883 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
13884 order of ȥ in the new iso14651_t1_common file.
13885 * localedata/pl_PL.UTF-8.in: Likewise.
13887 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13889 * localedata/locales/iso14651_t1_common: Add sections for various
13890 scripts to the iso14651_t1_common file.
13892 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13894 * localedata/locales/iso14651_t1_common: Use the code point of a
13895 character in the fourth collation level instead of IGNORE for all
13896 entries which have IGNORE on all 4 levels.
13898 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13900 * localedata/locales/iso14651_t1_common: Add some convenient collation
13901 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
13902 rules similar to those in CLDR.
13904 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13906 * localedata/locales/iso14651_t1_common: The new version of this
13907 file downloaded from ISO contained several syntax errors which
13908 are fixed by this patch.
13910 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13912 * localedata/locales/iso14651_t1_common: replace all <U.....>
13913 with <U000.....> because glibc understands only 4 digit or 8 digit
13915 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13917 * localedata/locales/iso14651_t1_common: Necessary changes
13918 to make the file downloaded from ISO usable by glibc.
13920 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13923 * localedata/locales/iso14651_t1_common: Update file to
13924 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
13926 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13928 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
13929 of <nptl/pthreadP.h>
13930 (thread_attr_compare): Move function to...
13931 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
13932 * sysdeps/nptl/timer_routines.h: ... new header.
13933 * sysdeps/mach/hurd/gai_misc.h: New file.
13935 2018-02-26 Joseph Myers <joseph@codesourcery.com>
13937 * string/strcoll_l.c: Include <libc-diag.h>.
13938 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
13939 declarations of seq1 and seq2.
13942 * stdlib/atoi.c (atoi): Use libc_hidden_def.
13943 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
13945 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
13949 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
13950 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
13951 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
13952 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
13953 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
13954 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
13956 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13958 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
13959 macros used in __ptrace_request.
13961 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
13964 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
13966 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
13967 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
13968 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
13971 2018-02-23 Joseph Myers <joseph@codesourcery.com>
13974 * ctype/ctype.c (tolower): Use libc_hidden_def.
13975 (toupper): Likewise.
13976 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
13977 [!_ISOMAC] (toupper): Likewise.
13979 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13981 * localedata/Makefile: Remove --quiet argument when
13984 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13987 * localedata/locales/pt_BR (LC_TIME): use / instead of -
13989 * localedata/locales/pt_PT (LC_TIME): likewise
13991 2018-02-23 Mike FABIAN <mfabian@redhat.com>
13994 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
13995 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
13996 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
13998 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14002 * nptl/Makefile (routines): Remove unregister-atfork.
14003 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14004 (fork_handler_alloc): Remove function.
14005 (fork_handlers, fork_handler_init): New variables.
14006 (__fork_lock): Rename to atfork_lock.
14007 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14008 to use a dynamic array to add/remove atfork handlers.
14009 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14010 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14011 Remove declaration.
14012 (fork_handler): Remove next, refcntr, and need_signal member.
14013 (__run_fork_handler_type): New enum.
14014 (__run_fork_handlers): New prototype.
14015 * nptl/register-atfork.c: Remove file.
14016 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14018 * sysdeps/nptl/nptl-signals.h: Move to ...
14019 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14021 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14022 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14023 unnecessary check for SIGTIMER.
14024 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14025 remove unnecessary removal of SIGTIMER.
14026 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14027 include-signals.h rename.
14028 * nptl/pthreadP.h: Likewise.
14029 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14030 __is_internal_signal instead of __nptl_is_internal_signal.
14032 2018-02-22 Andrew Waterman <andrew@sifive.com>
14035 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14036 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14037 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14038 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14040 2018-02-22 DJ Delorie <dj@delorie.com>
14042 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14044 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14046 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14047 do_misaligned, not misaligned8.
14049 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14051 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14052 Add memcpy_thunderx2.
14053 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14055 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14056 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14057 and IS_THUNDERX2PA checks.
14058 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14059 Use macro to set name appropriately.
14060 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14061 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14062 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14064 (IS_THUNDERX2): New macro.
14066 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14068 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14070 2018-02-21 Zack Weinberg <zackw@panix.com>
14072 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14073 Define here, unconditionally.
14074 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14075 * libio/libioP.h: Remove #if 0 blocks.
14076 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14077 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14078 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14080 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14081 Assume weak_alias is always defined.
14083 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14084 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14085 Remove #if 0 and #ifdef TODO blocks.
14086 Assume text_set_element is always defined.
14088 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14089 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14090 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14092 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14093 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14094 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14095 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14096 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14097 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14098 Reformat bit flags for _flags field to make occupancy clearer.
14100 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14101 Keep definitions consistent with those in libio/libio.h.
14103 * libio/libio.h (_IO_file_flags): Remove macro.
14104 All uses changed to _flags.
14106 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14107 (__HAVE_COLUMN, _IO_BE): Don't define.
14108 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14109 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14110 * libio/libioP.h (EOF): Don't define.
14111 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14112 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14113 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14114 testing _IO_UNIFIED_JUMPTABLES.
14116 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14117 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14118 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14119 (_IO_size_t): Delete; all uses changed to size_t.
14120 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14121 (_IO_off_t): Delete; all uses changed to off_t.
14122 (_IO_off64_t): Delete; all uses changed to off64_t.
14123 (_IO_pid_t): Delete; all uses changed to pid_t.
14124 (_IO_uid_t): Delete; all uses changed to uid_t.
14125 (_IO_wint_t): Delete; all uses changed to wint_t.
14126 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14127 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14128 (_IO_cookie_io_functions_t): Delete; all uses changed to
14129 cookie_io_functions_t.
14130 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14131 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14132 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14133 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14135 * libio/iofopncook.c: Remove unnecessary forward declarations.
14136 * libio/iolibio.h: Correct outdated commentary.
14137 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14138 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14139 Remove unnecessary casts.
14140 * stdio-common/getline.c: Use _IO_getdelim directly.
14141 Don't redefine ssize_t.
14142 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14143 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14144 Remove outdated comments.
14145 * stdio-common/vfscanf.c: Don't redefine va_list.
14147 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14148 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14149 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14150 which are always true, and __cplusplus, which is always false.
14152 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14156 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14157 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14158 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14159 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14161 [!_ISOMAC] (putc_unlocked): Likewise.
14162 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14163 define inline if [__USE_EXTERN_INLINES].
14164 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14169 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14170 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14171 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14172 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14173 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14175 * time/tzfile.c (__tzfile_read): Likewise.
14177 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14180 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14182 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14184 * io/fcntl.h: Fix a typo in a comment.
14186 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14189 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14190 define _DEFAULT_SOURCE.
14191 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14193 2018-02-21 Florian Weimer <fweimer@redhat.com>
14196 * elf/cache.c (save_cache): Call fsync on temporary file before
14198 (save_aux_cache): Call fdatasync on temporary file before renaming
14201 2018-02-21 Florian Weimer <fweimer@redhat.com>
14204 * include/caller.h: Remove file.
14205 * elf/dl-caller.c: Likewise.
14206 * elf/Makefile (dl-routines): Remove dl-caller.
14207 (shared-only-routines): Do not add dl-caller.
14208 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14210 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14212 (dl_open_worker): Do not call __check_caller.
14213 (_dl_open): Do not set caller_dl_open member.
14214 * elf/rtld.c (_rtld_global_ro): Do not initialize
14215 _dl_check_caller member.
14216 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14217 _dl_check_caller member.
14218 (_dl_check_caller): Remove declaration.
14219 * sysdeps/unix/sysv/linux/dl-execstack.c
14220 (_dl_make_stack_executable): Do not call __check_caller.
14222 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14224 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14225 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14227 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14229 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14232 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14235 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14236 of 199606L, 200112L, and 200809L.
14237 (_XOPEN_SOURCE): Document special values of 600 and 700.
14238 (_ISOC11_SOURCE): Document macro.
14239 (_ATFILE_SOURCE): Likewise.
14240 (_FORTIFY_SOURCE): Likewise.
14242 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14246 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14247 and define as weak alias of __ferror_unlocked. Use
14249 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14251 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14252 function if [__USE_EXTERN_INLINES].
14253 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14256 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14259 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14261 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14264 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14265 the GLIBC_2.1 version.
14267 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14270 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14271 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14272 intl/tst-gettext-de.po from po/de.po by removing the
14273 POT-Creation-Date line.
14274 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14276 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14279 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14281 * mach/Makefile (headers): Add mach/param.h.
14282 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14283 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14284 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14285 (__ptsname_r): Move implementation to...
14286 (__ptsname_internal): ... new function. Add filling the STP
14289 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14291 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14294 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14296 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14299 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14301 * nptl/Makefile (tst-mutex8-ENV): Delete.
14302 * nptl/tst-mutex8.c (check_type):
14303 Add runtime check if mutex will be elided.
14305 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14309 * manual/install.texi (Configuring and compiling): Describe
14310 passing CC and CFLAGS on configure command line, not as
14311 environment variables. Use @code markup on those variables.
14312 Specify what options go in CC and what go in CFLAGS. Note the
14313 requirement to compile with optimization.
14314 * INSTALL: Regenerated.
14317 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14318 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14319 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14320 __sigprocmask instead of sigprocmask.
14321 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14323 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14324 __sigsetjmp and sigprocmask.
14327 * include/argz.h (argz_next): Use libc_hidden_proto.
14328 (__argz_next): Likewise.
14329 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14330 (argz_next): Use libc_hidden_weak.
14333 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14335 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14339 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14341 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14345 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14346 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14347 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14348 (__feof_unlocked): New declaration, and inline function if
14349 [__USE_EXTERN_INLINES].
14350 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14351 instead of feof_unlocked.
14352 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14353 * nss/nsswitch.c (nss_parse_file): Likewise.
14354 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14356 * time/getdate.c (__getdate_r): Likewise.
14357 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14358 Define as macro to call __feof_unlocked.
14360 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14362 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14364 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14366 * math/Makefile: Remove mpexp.c and mplog.c
14367 * sysdeps/i386/fpu/mpexp.c: Delete file.
14368 * sysdeps/i386/fpu/mplog.c: Likewise.
14369 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14370 * sysdeps/ia64/fpu/mplog.c: Likewise.
14371 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14372 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14373 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14374 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14375 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14376 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14377 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14378 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14379 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14380 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14381 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14382 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14383 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14384 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14385 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14386 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14388 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14390 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14392 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14394 * sysdeps/sh/libm-test-ulps: Update.
14396 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14398 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14401 2018-02-12 Zack Weinberg <zackw@panix.com>
14404 * posix/sys/types.h: Don't include sys/sysmacros.h.
14405 * misc/sys/sysmacros.h: Remove the conditional deprecation
14406 warnings for the macros defined by this header.
14408 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14410 * manual/probes.texi: Remove slowexp probes.
14411 * math/Makefile: Remove slowexp.
14412 * sysdeps/generic/math_private.h (__slowexp): Remove.
14413 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14414 document error bounds.
14415 * sysdeps/i386/fpu/slowexp.c: Remove.
14416 * sysdeps/ia64/fpu/slowexp.c: Remove.
14417 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14418 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14419 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14420 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14421 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14422 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14423 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14424 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14425 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14426 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14427 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14429 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14432 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14433 * benchtests/pow-inputs: Update comment for slow path cases.
14434 * manual/probes.texi (slowpow_p10): Delete removed probe.
14435 (slowpow_p10): Likewise.
14436 * math/Makefile: Remove halfulp.c and slowpow.c.
14437 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14438 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14439 (__halfulp): Remove.
14440 (__slowpow): Remove.
14441 * sysdeps/i386/fpu/halfulp.c: Delete file.
14442 * sysdeps/i386/fpu/slowpow.c: Likewise.
14443 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14444 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14445 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14446 improve comments and add error analysis.
14447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14448 (power1): Remove function:
14449 (log1): Remove error argument, add error analysis.
14450 (my_log2): Remove function.
14451 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14452 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14453 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14454 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14455 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14456 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14457 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14458 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14459 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14460 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14461 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14462 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14463 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14464 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14466 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14468 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14469 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14471 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14474 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14475 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14476 and PTRACE_SETHBPREGS.
14478 2018-02-10 Zack Weinberg <zackw@panix.com>
14481 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14483 * malloc/tst-malloc-stats-cancellation.c: New test case.
14484 * malloc/Makefile: Add new test case.
14486 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14488 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14490 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14492 * math/Makefile (libm-narrow-fns): Add add.
14493 (libm-test-funcs-narrow): Likewise.
14494 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14495 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14496 * math/gen-auto-libm-tests.c (test_functions): Add add.
14497 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14498 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14499 (NARROW_ADD_TRIVIAL): Likewise.
14500 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14502 (__daddl): Likewise.
14503 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14505 (CFLAGS-nldbl-dadd.c): New variable.
14506 (CFLAGS-nldbl-fadd.c): Likewise.
14507 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14509 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14511 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14512 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14513 * math/auto-libm-test-in: Add tests of add.
14514 * math/auto-libm-test-out-narrow-add: New generated file.
14515 * math/libm-test-narrow-add.inc: New file.
14516 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14517 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14518 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14519 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14520 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14521 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14522 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14523 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14524 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14525 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14526 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14527 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14528 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14529 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14530 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14531 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14532 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14533 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14535 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14536 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14537 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14538 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14539 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14540 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14541 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14542 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14543 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14544 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14545 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14546 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14547 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14563 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14564 (f128-pairs): New variable.
14565 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14566 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14568 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14569 Also make tests add $(f128-loader-link) to gnulib-tests.
14571 2018-02-09 DJ Delorie <dj@redhat.com>
14574 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14575 64-bit ELF type for 64-bit ELF objects.
14577 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14579 * math/libm-test-driver.c (snan_tests_arg): New variable.
14580 * math/libm-test-support.h (snan_tests_arg): New declaration.
14581 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14583 * math/Makefile (test-type-pairs): New variable.
14584 (test-type-pairs-f64xf128-yes): Likewise.
14585 (tests): Add test-narrow-macros.
14586 (libm-test-funcs-narrow): New variable.
14587 (libm-test-c-narrow): Likewise.
14588 (generated): Add $(libm-test-c-narrow).
14589 (libm-tests-base-narrow): New variable.
14590 (libm-tests-narrow): Likewise.
14591 (libm-tests): Add $(libm-tests-narrow).
14592 (libm-tests-for-type): Handle $(libm-tests-narrow).
14593 (libm-test-c-narrow-obj): New variable.
14594 ($(libm-test-c-narrow-obj)): New rule.
14595 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14596 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14597 $(o-iterator) to set dependencies and CFLAGS.
14598 * math/gen-auto-libm-tests.c: Document use for narrowing
14600 (output_for_one_input_case): Take argument NARROW.
14601 (generate_output): Likewise. Update call to
14602 output_for_one_input_case.
14603 (main): Take --narrow option. Update call to generate_output.
14604 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14605 (apply_lit): Update call to _apply_lit.
14606 (apply_arglit): New function.
14607 (parse_args): Handle "a" arguments.
14608 (parse_auto_input): Handle format names using ":".
14609 * math/README.libm-test: Document "a" parameter type.
14610 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14611 (ARG_TYPE_TRUE_MIN): Likewise.
14612 (ARG_TYPE_MAX): Likwise.
14613 (ARG_MIN_EXP): Likewise.
14614 (ARG_MAX_EXP): Likewise.
14615 (ARG_MANT_DIG): Likewise.
14616 (TEST_COND_arg_ibm128): Likewise.
14617 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14618 (TEST_COND_arg_fmt): New macro.
14619 (init_max_error): Update prototype.
14620 * math/libm-test-support.c (test_ibm128): New variable.
14621 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14622 instead of using [TEST_COND_ibm128] conditional.
14623 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14624 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14625 [TEST_NARROW] (TEST_MSG): New definition.
14626 (arg_plus_zero): New macro.
14627 (arg_minus_zero): Likewise.
14628 (arg_plus_infty): Likewise.
14629 (arg_minus_infty): Likewise.
14630 (arg_qnan_value_pl): Likewise.
14631 (arg_qnan_value): Likewise.
14632 (arg_snan_value_pl): Likewise.
14633 (arg_snan_value): Likewise.
14634 (arg_max_value): Likewise.
14635 (arg_min_value): Likewise.
14636 (arg_min_subnorm_value): Likewise.
14637 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14638 (RUN_TEST_LOOP_aa_f): New macro.
14639 (TEST_SUFF): New macro.
14640 (TEST_SUFF_STR): Likewise.
14641 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14642 (TEST_COND_any_ibm128): New macro.
14643 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14644 this_func. Update call to init_max_error.
14645 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14646 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14647 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14648 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14649 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14650 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14651 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14652 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14653 * math/test-math-vector.h (TEST_NARROW): Likewise.
14654 * math/test-arg-double.h: New file.
14655 * math/test-arg-float128.h: Likewise.
14656 * math/test-arg-float32x.h: Likewise.
14657 * math/test-arg-float64.h: Likewise.
14658 * math/test-arg-float64x.h: Likewise.
14659 * math/test-arg-ldouble.h: Likewise.
14660 * math/test-math-narrow.h: Likewise.
14661 * math/test-narrow-macros.c: Likewise.
14662 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14663 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14664 test-narrow-macros-ldbl-64.
14665 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14667 * math/bits/mathcalls-narrow.h: New file.
14668 * include/bits/mathcalls-narrow.h: Likewise.
14669 * math/math-narrow.h: Likewise.
14670 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14671 (__MATHCALL_NARROW_ARGS_2): Likewise.
14672 (__MATHCALL_NARROW_ARGS_3): Likewise.
14673 (__MATHCALL_NARROW_NORMAL): Likewise.
14674 (__MATHCALL_NARROW_REDIR): Likewise.
14675 (__MATHCALL_NARROW): Likewise.
14676 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14677 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14679 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14680 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14681 (libm-narrow-fns): New variable.
14682 (libm-narrow-types-basic): Likewise.
14683 (libm-narrow-types-ldouble-yes): Likewise.
14684 (libm-narrow-types-float128-yes): Likewise.
14685 (libm-narrow-types-float128-alias-yes): Likewise.
14686 (libm-narrow-types): Likewise.
14687 (libm-routines): Add narrowing functions.
14688 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14689 (libc_feholdexcept_setroundf128): New macro.
14690 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14691 * sysdeps/ieee754/float128/float128_private.h: Include
14692 <math/math-narrow.h>.
14693 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14694 Undefine and redefine.
14695 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14696 (libm_alias_float_ldouble): Undefine and redefine.
14697 (libm_alias_double_ldouble): Likewise.
14699 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14701 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14703 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14706 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14708 * manual/creature.texi: Convert references to gcc.info to gcc.
14709 * manual/stdio.texi: Likewise.
14710 * manual/string.texi: Likewise.
14712 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14715 * posix/bits/types.h (__int_least8_t): New typedef.
14716 (__uint_least8_t): Likewise.
14717 (__int_least16_t): Likewise.
14718 (__uint_least16_t): Likewise.
14719 (__int_least32_t): Likewise.
14720 (__uint_least32_t): Likewise.
14721 (__int_least64_t): Likewise.
14722 (__uint_least64_t): Likewise.
14723 * sysdeps/generic/stdint.h (int_least8_t): Define using
14725 (int_least16_t): Define using __int_least16_t.
14726 (int_least32_t): Define using __int_least32_t.
14727 (int_least64_t): Define using __int_least64_t.
14728 (uint_least8_t): Define using __uint_least8_t.
14729 (uint_least16_t): Define using __uint_least16_t.
14730 (uint_least32_t): Define using __uint_least32_t.
14731 (uint_least64_t): Define using __uint_least64_t.
14732 * wcsmbs/uchar.h: Include <bits/types.h>.
14733 (char16_t): Define using __uint_least16_t conditional only on
14735 (char32_t): Define using __uint_least32_t conditional only on
14737 * wcsmbs/test-char-types.c: New file.
14738 * wcsmbs/Makefile (tests): Add test-char-types.
14740 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14743 2018-02-07 Zack Weinberg <zackw@panix.com>
14745 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
14746 Delete all contents except for definitions of _G_HAVE_MMAP and
14747 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
14748 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
14749 sysdeps/unix/sysv/linux/_G_config.h. Make same content
14752 * libio/libio.h: Don't include bits/_G_config.h here.
14753 Include stddef.h with __need_wchar_t defined. Include
14754 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
14755 Define _IO_iconv_t here, directly.
14756 Don't define _IO_HAVE_ST_BLKSIZE.
14757 * libio/libioP.h: Include _G_config.h here. Move include of
14758 shlib-compat.h up with rest of includes. Simplify conditionals
14759 controlling definition of _IO_JUMPS_OFFSET.
14761 * csu/init.c: Remove always-true #if around entire file.
14762 Don't include stdio.h. Set _IO_stdin_used to hardwired
14763 constant 0x20001, and update commentary.
14764 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
14765 Replace all uses of _G_va_list with __gnuc_va_list.
14766 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
14767 instead of #if _IO_HAVE_ST_BLKSIZE.
14768 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
14769 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
14772 * libio/bits/libio.h: Move back to libio/libio.h and adjust
14773 multiple-include guard to match.
14774 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
14776 Remove preprocessor conditionals that are always true and/or
14777 redundant to other preprocessor conditionals in the same nest.
14778 Include shlib-compat.h unconditionally.
14779 Error out if _LIBC is not defined, or if _ISOMAC is defined,
14780 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
14781 defined after including stdio.h.
14782 Use __BEGIN_DECLS/__END_DECLS.
14784 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
14785 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
14786 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
14788 2018-02-07 Zack Weinberg <zackw@panix.com>
14790 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
14791 New single-type headers split from _G_config.h.
14792 * libio/bits/types/cookie_io_functions_t.h
14793 * libio/bits/types/struct_FILE.h
14794 New single-type headers split from libio.h.
14796 * libio/Makefile: Install the above new headers. Don't install
14797 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
14799 * libio/_G_config.h, libio/libio.h: Delete file.
14801 * libio/bits/libio.h: Remove improper-inclusion guard.
14802 Include stdio.h and don't repeat anything that it does.
14803 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
14804 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
14805 __io_read_fn as cookie_read_function_t,
14806 __io_write_fn as cookie_write_function_t,
14807 __io_seek_fn as cookie_seek_function_t,
14808 __io_close_fn as cookie_close_function_t,
14809 and _IO_cookie_io_functions_t as cookie_io_functions_t.
14810 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
14811 here, in the "compatibility defines" section. Remove an #if 0
14812 block. Use the "body" macros from bits/types/struct_FILE.h to
14813 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
14814 and _IO_ferror_unlocked.
14815 Move prototypes of __uflow and __overflow...
14817 * libio/stdio.h: ...here. Don't include bits/libio.h.
14818 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
14819 directly from stdarg.h. Include bits/types/__fpos_t.h,
14820 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
14821 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
14822 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
14823 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
14824 cookie_io_functions_t, not _IO_cookie_io_functions_t;
14825 __ssize_t, not _IO_ssize_t. Unconditionally define
14826 BUFSIZ as 8192 and EOF as (-1).
14828 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
14829 macros from bits/types/struct_FILE.h instead of _IO_* macros
14830 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
14831 instead of _IO_ssize_t.
14832 * libio/bits/stdio2.h: Similarly.
14834 * libio/iolibio.h: Add multiple-include guard.
14835 Include bits/libio.h after stdio.h.
14836 * libio/libioP.h: Add multiple-include guard.
14837 Include stdio.h and bits/libio.h before iolibio.h.
14839 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
14840 * include/bits/types/cookie_io_functions_t.h
14841 * include/bits/types/struct_FILE.h: New wrappers.
14843 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
14844 Get definitions of _G_fpos_t and _G_fpos64_t from
14845 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
14846 respectively. Remove improper-inclusion guards.
14848 * conform/data/stdio.h-data: Update expectations of va_list.
14849 * scripts/check-installed-headers.sh: Remove special case for
14850 libio.h and _G_config.h.
14852 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14856 * include/sys/sysmacros.h [!_ISOMAC]
14857 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
14858 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
14859 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
14860 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
14862 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
14863 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
14865 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
14866 Undefine and redefine to add use __gnu_dev_ prefix.
14867 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
14869 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
14870 and define as hidden inline function.
14871 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
14873 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
14875 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
14876 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
14877 (gnu_dev_minor): Likewise.
14878 (gnu_dev_makedev): Likewise.
14879 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
14881 * posix/wordexp.c (exec_comm_child): Likewise.
14882 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
14883 instead of minor and __gnu_dev_major instead of major.
14884 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
14885 __gnu_dev_major instead of major.
14886 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
14887 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
14888 instead of gnu_dev_minor.
14889 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
14890 (SLAVE_P): Likewise.
14891 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
14892 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
14896 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
14898 * locale/weightwc.h (findidx): Likewise.
14900 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
14902 * manual/probes.texi (slowlog): Delete documentation of removed probe.
14903 (slowlog_inexact): Likewise
14904 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
14905 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
14907 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
14910 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
14911 missing second underscore to parameter name.
14913 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14919 * bits/byteswap.h: Update file comment. Do not include
14920 <bits/byteswap-16.h>.
14921 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
14923 (__bswap_16): Define as inline function.
14924 (__bswap_constant_32): Reformat definition.
14925 (__bswap_32): Always define as inline function, not macro, using
14926 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
14927 otherwise __bswap_constant_32.
14928 (__bswap_constant_64): Reformat definition. Do not use
14929 __extension__ here.
14930 (__bswap_64): Always define as inline function, not macro. Use
14931 __extension__ on function definition. Use __builtin_bswap64 if
14932 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
14933 * string/test-endian-file-scope.c: New file.
14934 * string/test-endian-sign-conversion.c: Likewise.
14935 * string/Makefile (headers): Remove bits/byteswap-16.h.
14936 (tests): Add test-endian-file-scope and
14937 test-endian-sign-conversion.
14938 (CFLAGS-test-endian-sign-conversion.c): New variable.
14939 * bits/byteswap-16.h: Remove file.
14940 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
14941 * sysdeps/ia64/bits/byteswap.h: Likewise.
14942 * sysdeps/m68k/bits/byteswap.h: Likewise.
14943 * sysdeps/s390/bits/byteswap-16.h: Likewise.
14944 * sysdeps/s390/bits/byteswap.h: Likewise.
14945 * sysdeps/tile/bits/byteswap.h: Likewise.
14946 * sysdeps/x86/bits/byteswap-16.h: Likewise.
14947 * sysdeps/x86/bits/byteswap.h: Likewise.
14950 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
14951 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
14952 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
14953 199901L] (__restrict): Define to restrict.
14956 * string/testcopy.c: Include <support/support.h>. Do not include
14957 <malloc.h>. Use <support/test-driver.c>.
14958 (main): Rename to do_test. Make static. Use xmalloc instead of
14962 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
14963 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
14964 (SSIZE_MAX): Define to INT_MAX.
14965 * posix/test-ssize-max.c: New file.
14966 * posix/Makefile (tests): Add test-ssize-max.
14969 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
14970 <support/support.h>. Do not include <malloc.h>.
14971 (query_auxv): Use xmalloc instead of malloc.
14974 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
14975 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
14978 2018-02-06 Florian Weimer <fweimer@redhat.com>
14981 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14982 Use scratch_buffer instead of extend_alloca.
14984 2018-02-06 Zack Weinberg <zackw@panix.com>
14986 * libio/stdio.h: Don't define getc or putc as macros.
14987 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
14988 not _IO_getc and _IO_putc.
14990 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
14991 * stdio-common/tstgetln.c: Don't redefine ssize_t.
14993 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14995 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
14996 (TCP_FASTOPEN_NO_COOKIE): Likewise.
14998 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15001 * elf/elf.h (NT_PRFPREG): New macro.
15002 (NT_S390_VXRS_LOW): Likewise.
15003 (NT_S390_VXRS_HIGH): Likewise.
15004 (NT_S390_GS_CB): Likewise.
15005 (NT_S390_GS_BC): Likewise.
15006 (NT_S390_RI_CB): Likewise.
15008 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15009 (MAP_SYNC): New macro.
15010 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15012 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15013 (MAP_SYNC): Likewise.
15014 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15015 (MAP_SYNC): Likewise.
15016 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15017 (MAP_SYNC): Likewise.
15018 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15019 (MAP_SYNC): Likewise.
15020 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15021 (MAP_SYNC): Likewise.
15022 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15023 (MAP_SYNC): Likewise.
15024 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15026 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15029 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15030 (MAP_SHARED_VALIDATE): New macro.
15031 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15032 (MAP_SHARED_VALIDATE): Likewise.
15034 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15036 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15037 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15038 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15040 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15042 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15043 (DT_NUM): Updated to 35.
15045 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15047 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15048 __builtin_expect with __glibc_likely and __glibc_unlikely.
15049 (elf_machine_rela): Likewise.
15050 (elf_machine_lazy_rel): Likewise.
15052 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15054 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15055 __builtin_expect with __glibc_likely and __glibc_unlikely.
15056 (elf_machine_lazy_rel): Likewise.
15058 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15061 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15063 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15065 2018-02-05 Andreas Schwab <schwab@suse.de>
15068 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15071 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15073 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15074 not check against PTHREAD_STACK_MIN.
15076 2018-02-02 Sean McKean <smckean83@gmail.com>
15079 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15081 2018-02-02 Florian Weimer <fweimer@redhat.com>
15084 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15085 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15086 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15087 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15088 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15089 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15090 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15091 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15092 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15093 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15094 * misc/tst-preadvwritev2.c (do_test): Call it.
15095 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15097 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15099 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15101 * benchtests/bench-memcmp.c: Print json instead of plain text.
15103 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15106 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15108 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15110 (s390_sthyi): New syscall.
15112 * sysdeps/generic/ldbl-classify-compat.h: New file.
15113 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15114 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15115 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15116 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15117 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15118 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15119 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15120 <ldbl-classify-compat.h>.
15121 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15122 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15123 <ldbl-classify-compat.h>.
15124 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15125 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15126 <ldbl-classify-compat.h>.
15127 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15128 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15129 <ldbl-classify-compat.h>.
15130 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15132 <ldbl-classify-compat.h>.
15133 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15134 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15135 <ldbl-classify-compat.h>.
15136 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15137 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15138 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15139 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15140 * sysdeps/microblaze/math_private.h: Likewise.
15141 * sysdeps/nios2/math_private.h: Likewise.
15142 * sysdeps/sh/math_private.h: Likewise.
15144 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15145 * sysdeps/m68k/coldfire/math_private.h: ... here.
15146 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15147 * sysdeps/tile/math_private.h: Likewise.
15148 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15150 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15153 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15155 (libc_fetestexcept): Likewise.
15156 (libc_feupdateenv_test): Likewise.
15157 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15158 (libc_fetestexcept): Likewise.
15159 (libc_feupdateenv_test): Likewise.
15160 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15161 (libc_fetestexcept): Likewise.
15162 (libc_feupdateenv_test): Likewise.
15163 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15164 (libc_fetestexcept): Likewise.
15165 (libc_feupdateenv_test): Likewise.
15167 * sysdeps/generic/math_private.h
15168 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15169 New inline function.
15170 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15173 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15174 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15175 * sysdeps/generic/math_private.h
15176 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15178 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15180 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15182 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15184 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15186 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15188 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15189 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15190 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15191 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15192 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15193 (__fegetenv): Likewise.
15194 (fesetenv): Likewise.
15195 (__fesetenv): Likewise.
15196 (feupdateenv): Likewise.
15197 (__feupdateenv): Likewise.
15198 (fegetround): Likewise.
15199 (__fegetround): Likewise.
15200 (fesetround): Likewise.
15201 (__fesetround): Likewise.
15203 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15204 (feraiseexcept): New macro.
15205 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15206 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15208 (__feraiseexcept): Likewise.
15209 (feclearexcept): Likewise.
15210 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15211 (__feraiseexcept): Likewise.
15212 (feclearexcept): Likewise.
15213 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15214 (__feraiseexcept): Likewise.
15215 (feclearexcept): Likewise.
15216 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15217 (__feraiseexcept): Likewise.
15218 (feclearexcept): Likewise.
15219 (fetestexcept): Likewise.
15221 * sysdeps/m68k/coldfire/math-tests.h: New file.
15223 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15224 * sysdeps/m68k/bits/fenv.h: ... here.
15225 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15227 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15229 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15231 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15233 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15235 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15237 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15238 (__FE_UNDEFINED): New enum constant.
15239 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15241 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15243 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15245 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15246 to match generic bits/fenv.h.
15247 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15250 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15252 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15253 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15254 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15255 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15257 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15258 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15259 Joseph Myers <joseph@codesourcery.com>
15262 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15263 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15264 computation using c.
15265 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15266 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15267 computation using c.
15269 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15271 * version.h (RELEASE): Set to "development".
15272 (VERSION): Set to "2.27.9000".
15273 * NEWS (2.28): New section.
15275 * version.h (RELEASE): Set to "stable".
15276 (VERSION): Set to "2.27".
15277 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15279 * NEWS: Add the list of bugs fixed in 2.27.
15281 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15283 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15284 against PTHREAD_STACK_MIN.
15286 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15288 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15290 (Rafal Luzynski, Andreas Schwab): Update.
15292 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15295 * NEWS: List the languages which actually use the alternative
15296 months feature in this release. Also explain that "alt_mon" and
15297 "ab_alt_mon" are optional.
15299 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15302 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15304 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15306 * manual/install.texi (Tools for Compilation): Update the newest
15307 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15308 * INSTALL: Regenerated.
15310 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15312 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15313 instead of __builtin_expect.
15315 2018-01-30 Florian Weimer <fweimer@redhat.com>
15317 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15319 * nss/tst-nss-getpwent.c (do_test): Likewise.
15321 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15324 * localedata/locales/hr_HR (mon): Rename to...
15326 (mon): Import from CLDR (genitive case).
15327 (d_t_fmt): Update the comment.
15329 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15331 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15332 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15333 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15335 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15337 * mach/Versions: Fix version when __mach_host_self_ was added.
15338 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15339 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15340 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15341 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15342 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15343 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15344 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15345 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15346 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15347 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15348 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15349 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15350 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15351 || to respect codestyle.
15352 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15353 (do_test_bz20181): Rename accordingly.
15354 * malloc/malloc.c: Include <assert.h>.
15355 (assert): Do not define.
15356 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15357 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15358 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15359 * sysdeps/mach/hurd/hp-timing.h: New file.
15360 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15362 2018-01-29 Darius Rad <darius@bluespec.com>
15364 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15366 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15368 * sysdeps/init_array/crti.S (.section .init_array): Add
15369 PREINIT_FUNCTION when defined.
15370 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15371 * config.h.in: Regenerate.
15372 * manual/platform.texi: Add RISC-V documenation for
15373 __riscv_flush_icache.
15374 * sysdeps/riscv/__longjmp.S: New file.
15375 * sysdeps/riscv/backtrace.c: Likewise.
15376 * sysdeps/riscv/bits/endian.h: Likewise.
15377 * sysdeps/riscv/bits/setjmp.h: Likewise.
15378 * sysdeps/riscv/bits/wordsize.h: Likewise.
15379 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15380 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15381 * sysdeps/riscv/dl-trampoline.S: Likewise.
15382 * sysdeps/riscv/gccframe.h: Likewise.
15383 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15384 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15385 * sysdeps/riscv/machine-gmon.h: Likewise.
15386 * sysdeps/riscv/memusage.h: Likewise.
15387 * sysdeps/riscv/setjmp.S: Likewise.
15388 * sysdeps/riscv/sys/asm.h: Likewise.
15389 * sysdeps/riscv/tls-macros.h: Likewise.
15390 * sysdeps/riscv/dl-tls.h: New file.
15391 * sysdeps/riscv/libc-tls.c: Likewise.
15392 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15393 * sysdeps/riscv/nptl/tls.h: Likewise.
15394 * sysdeps/riscv/stackinfo.h: Likewise.
15395 * sysdeps/riscv/bits/fenv.h: New file.
15396 * sysdeps/riscv/e_sqrtl.c: Likewise.
15397 * sysdeps/riscv/fpu_control.h: Likewise.
15398 * sysdeps/riscv/math-tests.h: Likewise.
15399 * sysdeps/riscv/nofpu/Implies: Likewise.
15400 * sysdeps/riscv/sfp-machine.h: Likewise.
15401 * sysdeps/riscv/tininess.h: Likewise.
15402 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15403 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15404 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15405 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15406 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15407 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15408 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15409 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15410 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15411 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15412 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15413 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15414 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15415 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15416 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15417 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15418 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15419 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15420 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15421 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15422 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15423 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15424 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15425 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15426 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15427 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15428 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15429 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15430 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15431 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15432 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15433 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15434 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15435 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15436 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15437 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15438 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15439 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15440 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15441 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15442 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15443 * sysdeps/riscv/rvf/math_private.h: Likewise.
15444 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15445 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15446 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15447 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15448 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15449 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15450 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15451 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15452 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15453 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15454 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15455 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15456 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15457 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15458 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15459 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15460 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15461 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15462 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15463 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15464 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15465 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15466 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15467 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15468 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15469 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15470 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15471 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15472 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15473 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15474 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15475 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15476 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15477 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15478 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15479 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15480 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15481 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15482 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15483 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15484 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15485 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15486 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15487 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15488 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15489 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15490 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15491 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15492 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15493 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15494 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15495 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15496 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15497 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15498 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15499 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15500 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15501 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15502 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15503 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15504 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15505 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15506 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15507 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15508 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15509 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15510 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15511 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15512 * sysdeps/riscv/Implies: New file.
15513 * sysdeps/riscv/Makefile: Likewise.
15514 * sysdeps/riscv/configure: Likewise.
15515 * sysdeps/riscv/configure.ac: Likewise.
15516 * sysdeps/riscv/nptl/Makefile: Likewise.
15517 * sysdeps/riscv/preconfigure: Likewise.
15518 * sysdeps/riscv/rv64/Implies-after: Likewise.
15519 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15520 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15521 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15522 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15523 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15524 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15525 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15526 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15527 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15528 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15529 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15530 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15531 (Config): Likewise.
15533 2018-01-29 Florian Weimer <fweimer@redhat.com>
15536 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15537 libnsl_hidden_proto.
15538 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15539 libnsl_hidden_proto.
15540 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15541 * nis/Makefile (libnsl-routines): Add nss-default only for
15542 build-obsolete-nsl.
15543 * nis/nis_defaults.c (__nis_default_ttl): Add
15544 libnsl_hidden_nolink_def.
15545 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15547 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15548 * nis/ypclnt.c (yp_maplist): Likewise.
15550 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15552 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15553 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15555 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15557 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15558 clean -dxfq for git updates when replacing sources.
15560 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15561 --disable-libcilkrts unconditionally, not just for the final GCC
15564 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15567 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15570 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15573 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15576 * localedata/locales/be_BY (mon): Rename to...
15577 (alt_mon): This, then synchronize with CLDR (nominative case).
15578 (abmon): Rename to...
15579 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15580 (mon): Import from CLDR (genitive case).
15582 * localedata/locales/be_BY@latin (mon): Rename to...
15584 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15586 * localedata/locales/be_BY@latin (lang_name): Reworded to
15587 "biełaruskaja mova".
15589 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15592 * localedata/locales/el_CY (mon): Renamed to...
15594 (mon): Import from CLDR (genitive case).
15595 * localedata/locales/el_GR: Likewise.
15597 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15600 * localedata/locales/ru_RU (mon): Rename to...
15602 (abmon): Rename to...
15603 (ab_alt_mon): This.
15604 (mon): Import from CLDR (genitive case).
15605 (abmon): Copy from the old content except the 5th month which is
15606 now in the genitive case, even when abbreviated.
15607 * localedata/locales/ru_UA: Likewise.
15608 * time/tst-strptime.c (day_tests): Add an actual example of
15609 a difference between %b and %Ob in Russian.
15611 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15613 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15614 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15616 * resolv/res-close.c: Include <stdlib.h>.
15617 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15618 <sys/wait.h>, <time.h>, <sys/uio.h>.
15619 (NOT_CANCEL_H): Add inclusion guard.
15620 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15621 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15622 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15624 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15625 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15626 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15628 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15629 timer_ptr2id to cast struct timer_node * to void *.
15630 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15631 --disable-libcilkrts to gcc configure.
15632 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15633 and make them the default for now.
15634 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15635 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15636 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15637 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15638 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15640 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15641 __task_terminate would ever return successfully.
15642 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15644 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15645 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15646 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15647 critical section to make code simpler and avoid warning.
15648 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15649 critical section to make code simpler and avoid warning.
15650 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15651 const char * instead of char *.
15652 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15653 __hurd_file_name_split, hurd_file_name_split,
15654 __hurd_directory_name_split, hurd_directory_name_split,
15655 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15656 hurd_file_name_path_lookup): Make lookup function parameter take a
15657 const char *name instead of char *name.
15658 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15659 __hurd_directory_name_split): Likewise.
15660 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15661 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15662 * sysdeps/mach/hurd/check_native.c: New file.
15663 * sysdeps/mach/hurd/check_pf.c: New file.
15664 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15665 (__freeifaddrs): Define macro to freeifaddrs.
15666 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15667 * sysdeps/mach/libmachuser.abilist: New file.
15668 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15669 (do_test_bz20181): Rename accordingly.
15670 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15671 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15673 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15674 version only if __USE_EXTERN_INLINES is defined.
15675 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15676 __hurd_sockfail): Likewise.
15677 (_hurd_fd_get): Always declare functions, and provide inline versions
15678 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15679 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15680 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15681 _hurd_port_set): Always declare functions, and provide inline versions
15682 only if __USE_EXTERN_INLINES and _LIBC are defined and
15684 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15685 _hurd_critical_section_unlock): Likewise.
15686 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15687 * __hurd_threadvar_location): Likewise.
15688 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15689 _hurd_userlink_clear): Likewise.
15690 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15691 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15692 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15693 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15694 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15695 __spin_lock_locked): Likewise.
15696 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15697 __spin_lock_locked): Likewise.
15698 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15699 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15700 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15701 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15702 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15703 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15704 _POSIX_NO_TRUNC): Define to 0.
15705 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15706 check size against PTHREAD_STACK_MIN.
15707 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15708 IS_IN(libpthread)]: Include <sigsetops.h>.
15709 * mach/Makefile (user-interfaces): Add mach/gnumach.
15710 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15711 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15712 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15713 instead of invalid -1.
15714 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15715 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15716 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15719 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15721 * hurd/fcntl-internal.h: New file.
15723 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15725 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15727 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15729 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
15732 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
15733 Build only shared objects.
15735 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15737 * README: Update for hppa.
15739 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15741 * sysdeps/sparc/fpu/libm-test-ulps: Update
15742 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
15744 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15748 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15751 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15752 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15753 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15754 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15757 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15760 * bits/types/__cancel_jmp_buf_tag.h: New file.
15761 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15762 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15763 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15764 * nptl/Makefile (headers): Add
15765 bits/types/__cancel_jmp_buf_tag.h.
15766 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15767 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15768 * sysdeps/nptl/pthread.h: Include
15769 <bits/types/__cancel_jmp_buf_tag.h>.
15770 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15772 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15774 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15777 * localedata/locales/uk_UA (mon): Renamed to...
15779 (alt_digits): "0" removed and then renamed to...
15781 (date_fmt): Definition changed not to use the alternative
15784 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
15786 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
15787 FLAG_RISCV_FLOAT_ABI_DOUBLE.
15788 * elf/elf.h (EF_RISCV_RVC): New define.
15789 (EF_RISCV_FLOAT_ABI): Likewise.
15790 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
15791 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
15792 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15793 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
15794 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
15796 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15798 2018-01-25 Andreas Schwab <schwab@suse.de>
15800 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
15802 * sysdeps/gnu/configure: Regenerate.
15803 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15804 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15806 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15807 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15808 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
15809 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15810 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15812 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15814 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
15815 URL, and run autoconf, make it the default for now.
15817 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15819 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15820 soft-float ColdFire configuration.
15822 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
15823 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
15824 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
15826 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
15829 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
15831 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
15833 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
15836 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
15837 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
15838 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
15841 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15844 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
15845 Rename to __reserved and add comment.
15846 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
15847 Rename to __reserved.
15849 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15851 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15852 i686-gnu configurations.
15853 (Context.run_builds): Include mig, gnumach and hurd in components
15855 (Context.checkout): Add mig, gnumach and hurd to components.
15856 (Context.checkout_tar): Add URL mappings for mig, gnumach and
15858 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
15859 (Config.build): Install gnumach headers, build mig and install
15860 hurd headers for 'gnu' OS.
15861 (Config.install_gnumach_headers): New function.
15862 (Config.install_hurd_headers): Likewise.
15863 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
15864 when building for 'gnu' OS.
15866 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
15868 * manual/tunables.texi (Hardware Capability Tunables): Fix
15871 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
15873 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
15874 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
15875 (ALTMON_11, ALTMON_12): Improve documentation.
15876 * manual/time.texi (strftime): Likewise.
15878 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15881 * localedata/locales/pl_PL: Alternative month names added,
15882 primary month names are genitive now.
15883 * time/tst-strptime.c (day_tests): Actually use a genitive case
15884 of a month name in Polish language.
15886 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15889 * manual/locale.texi: Document ALTMON_1..12 constants for
15890 nl_langinfo. Specify when to use ALTMON instead of MON.
15891 * manual/time.texi (strftime, strptime): Document GNU extension
15892 permitting O modifier with %B and %b. Specify when to use
15895 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15898 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
15899 names, define them as the same as abbreviated month names explicitly.
15900 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
15901 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
15902 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
15903 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
15904 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
15905 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
15906 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
15907 _NL_WABALTMON_12): New enum constants.
15908 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
15909 wab_alt_mon, and ab_alt_mon_defined members.
15910 (time_output): Output ab_alt_mon and wab_alt_mon members.
15911 (time_read): Read them, initialize them as copies of abmon and wabmon
15912 respectively if they are missing, initialize ab_alt_mon_defined.
15913 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
15914 * locale/programs/locfile-kw.h: Regenerate.
15915 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
15916 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
15918 * time/strftime_l.c (a_altmonth, aam_len): New macros.
15919 [!COMPILE_WIDE] (ABALTMON_1): New macro.
15920 (__strftime_internal): Handle %Ob and %Oh formats.
15921 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
15922 (__strptime_internal): Handle %Ob and %Oh formats.
15923 * time/tst-strptime.c (day_tests): Add more tests to parse different
15924 forms of month names including the new %Ob format specifier.
15926 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15929 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
15930 define them as the same as primary full month names explicitly.
15931 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
15932 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
15933 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
15934 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
15935 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
15936 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
15937 _NL_WALTMON_12): New enum constants.
15938 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
15939 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
15941 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
15942 walt_mon, and alt_mon_defined members.
15943 (time_output): Output alt_mon and walt_mon members.
15944 (time_read): Read them, initialize them as copies of mon and wmon
15945 respectively if they are missing, initialize alt_mon_defined.
15946 * locale/programs/locfile-kw.gperf (alt_mon): Define.
15947 * locale/programs/locfile-kw.h: Regenerate.
15948 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
15949 * localedata/tst-langinfo.c (map): Add tests for the new constants
15950 ALTMON_1 .. ALTMON_12.
15951 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
15953 * time/strftime_l.c (f_altmonth): New macro.
15954 (__strftime_internal): Handle %OB format.
15955 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
15956 (__strptime_internal): Handle %OB format.
15957 * time/tst-strptime.c (day_tests): Add tests to parse different forms
15958 of month names including the new %OB format specifier.
15960 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15963 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
15964 from ABORT_TRANSACTION.
15965 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
15966 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
15967 ABORT_TRANSACTION_IMPL): Likewise.
15968 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
15969 Linux code, but remove the code that aborts transactions.
15971 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15973 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
15975 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
15977 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
15978 in date: "2004-14-09" should be "2004-09-14".
15979 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
15980 "2003-15-09" should be "2003-09-15".
15982 2018-01-18 Arjun Shankar <arjun@redhat.com>
15988 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
15990 (_int_memalign): check for integer overflow before calling
15992 * malloc/tst-malloc-too-large.c: New test.
15993 * malloc/Makefile: Add tst-malloc-too-large.
15995 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
15997 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
15998 in date: "2017-24-07" should be "2017-07-24".
15999 * localedata/locales/mai_IN: Likewise.
16000 * localedata/locales/mai_NP: Likewise.
16002 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16004 * po/ru.po: Update translations.
16006 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16009 * sysdeps/hppa/backtrace.c: New file.
16011 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16014 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16015 align La_x86_64_retval to VEC_SIZE.
16017 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16019 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16020 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16022 2018-01-16 Florian Weimer <fweimer@redhat.com>
16024 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16025 Move tst-thread-exit-clobber ...
16026 [$(CXX)] (tests-unsupported): ... to here.
16028 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16030 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16031 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16032 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16033 (_dl_aarch64_cap_flags): Update.
16034 (_DL_HWCAP_COUNT): Update.
16036 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16038 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16039 (_DL_HWCAP_LAST): Remove.
16040 (_DL_HWCAP_COUNT): Move to ...
16041 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16042 (_DL_HWCAP_COUNT): ... here.
16044 2018-01-16 Florian Weimer <fweimer@redhat.com>
16046 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16047 mode with GNU extensions.
16049 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16051 * elf/elf.h (NT_ARM_SVE): Define.
16053 2018-01-15 Florian Weimer <fweimer@redhat.com>
16056 * nptl/tst-minstack-throw.cc: New file.
16057 * nptl/Makefile (tests): Add tst-minstack-throw.
16058 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16059 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16061 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16063 * scripts/build-many-glibcs.py (Context.checkout): Default
16064 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16067 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16070 * elf/elf.h (DF_1_STUB): Define.
16071 (DF_1_PIE): Define.
16073 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16076 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16077 Do not add 0.5 to integer or out-of-range arguments.
16079 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16081 * po/bg.po: Update translations.
16082 * po/cs.po: Likewise.
16083 * po/de.po: Likewise.
16084 * po/ko.po: Likewise.
16085 * po/pl.po: Likewise.
16086 * po/sv.po: Likewise.
16087 * po/uk.po: Likewise.
16088 * po/vi.po: Likewise.
16090 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16092 * aarch64/start.S (_start): Use __wrap_main.
16093 (__wrap_main): New local symbol.
16095 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16099 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16100 generic_getcwd if the path returned by getcwd syscall is not absolute.
16101 * io/tst-getcwd-abspath.c: New test.
16102 * io/Makefile (tests): Add tst-getcwd-abspath.
16104 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16106 * malloc/malloc.c (malloc_consolidate): Add size check.
16108 2018-01-12 Florian Weimer <fweimer@redhat.com>
16110 * support/write_message.c (write_message): Preserve errno.
16111 * support/check.c (print_failure): Likewise.
16112 * support/support_test_verify_impl.c (support_test_verify_impl):
16114 * support/support_test_compare_failure.c
16115 (support_test_compare_failure): Likewise.
16117 2018-01-12 Florian Weimer <fweimer@redhat.com>
16120 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16121 Prevent installation of libnsl.so.
16122 (libnsl-inhibit-o): Do not build (or install) static libraries.
16124 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16127 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16128 before the day number which may produce a double space.
16129 (date_fmt): Likewise.
16131 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16133 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16134 instead of fegetenv.
16136 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16139 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16140 comment to say exceptions are discarded.
16141 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16143 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16146 2018-01-11 Florian Weimer <fweimer@redhat.com>
16148 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16151 2018-01-11 Florian Weimer <fweimer@redhat.com>
16154 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16155 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16157 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16160 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16161 negative arguments in test for NaN or infinity argument.
16163 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16165 * po/libc.pot: Regenerate.
16167 2018-01-10 Florian Weimer <fweimer@redhat.com>
16170 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16171 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16173 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16175 * hurd/hurd/fd.h: Include <fcntl.h>
16176 (__hurd_at_flags): New function.
16177 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16178 with call to __hurd_at_flags.
16179 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16180 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16182 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16183 (__access_noerrno): Use __faccessat_common instead of access_common.
16184 (__access): Likewise.
16185 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16186 with a call to __faccessat.
16187 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16188 (__faccessat_common): ... this. Move implementation of __access into it when
16189 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16190 reauthenticate_cwdir_at helper to implement AT mechanism.
16191 (__faccessat_noerrno): New function, just calls __faccessat_common.
16192 (__faccessat): New function, just calls __faccessat_common.
16193 (faccessat): Define weak alias.
16195 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16198 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16199 (CFLAGS-s_fmaxmagl.c): New variable.
16200 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16203 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16204 long int for arguments of possibly overflowing addition or
16206 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16208 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16211 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16212 (CFLAGS-e_remainderl.c): New variable.
16215 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16217 (CFLAGS-s_cacoshl.c): Likewise.
16218 (CFLAGS-s_casinhl.c): Likewise.
16219 (CFLAGS-s_catanl.c): Likewise.
16220 (CFLAGS-s_catanhl.c): Likewise.
16221 (CFLAGS-s_cexpl.c): Likewise.
16222 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16223 (CFLAGS-s_csinhl.c): Likewise.
16224 (CFLAGS-s_clogl.c): Likewise.
16225 (CFLAGS-s_clog10l.c): Likewise.
16226 (CFLAGS-s_csinl.c): Likewise.
16227 (CFLAGS-s_csqrtl.c): Likewise.
16229 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16230 2017-01-09 Svante Signell <svante.signell@gmail.com>
16232 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16233 (_hurd_exec_paths): New function.
16234 * hurd/hurd.h (_hurd_exec): Deprecate function.
16235 (_hurd_exec_paths): Declare function.
16236 * hurd/Versions: Export _hurd_exec_paths.
16237 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16238 (__execve): Use __getcwd to build absolute path, and use
16239 _hurd_exec_paths instead of _hurd_exec.
16240 * sysdeps/mach/hurd/spawni.c: Likewise.
16241 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16244 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16246 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16247 test instead of failing in case of ENOENT returned by posix_openpt.
16249 2018-01-08 Florian Weimer <fweimer@redhat.com>
16251 resolv: Support binary labels in test framework.
16252 * support/resolv_test.c (struct to_be_freed): Remove.
16253 (struct compressed_name): New.
16254 (allocate_compressed_name, ascii_tolower)
16255 (compare_compressed_name): New functions.
16256 (struct resolv_response_builder): Update type of
16257 compression_offsets for use with tsearch. Rempve to_be_freed.
16258 (response_push_pointer_to_free): Remove function.
16259 (resolv_response_add_name): Rewrite using struct compressed_name
16260 and tsearch instead of hsearch_r.
16261 (response_builder_allocate): Remove initialization of
16262 compression_offsets.
16263 (response_builder_free): Update for removal of to_be_freed. Use
16264 tdestroy instead of hdestroy_r.
16265 * resolv/Makefile (tests): Add tst-resolv-binary.
16266 (tst-resolv-binary): Link with -lresolv -lpthread.
16268 2018-01-08 Florian Weimer <fweimer@redhat.com>
16270 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16271 time. Pass positive flag instead of negative flag to
16272 support_test_compare_failure.
16273 (support_test_compare_failure): Change negative parameter to
16275 * support/support_test_compare_failure.c (report)
16276 (support_test_compare_failure): Likewise.
16277 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16278 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16280 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16283 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16284 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16285 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16287 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16289 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16291 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16292 Add s_sincosf-sse2 and s_sincosf-fma.
16293 (CFLAGS-s_sincosf-fma.c): New.
16294 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16295 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16296 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16297 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16298 __sincosf is defined.
16300 2018-01-08 Florian Weimer <fweimer@redhat.com>
16302 * nptl/tst-thread-exit-clobber.cc: New file.
16303 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16305 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16306 (tests): Add tst-thread-exit-clobber.
16307 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16309 2018-01-08 Florian Weimer <fweimer@redhat.com>
16311 * support/check.h (support_static_assert): Define.
16312 (TEST_COMPARE): Use it.
16314 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16316 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16317 [!__RLIM_T_MATCHES_RLIM64_T]
16318 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16319 __getrlimit64. Add libc_hidden_weak.
16321 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16323 * elf/elf.h (R_RISCV_NONE): New define.
16324 (R_RISCV_32): Likewise.
16325 (R_RISCV_64): Likewise.
16326 (R_RISCV_RELATIVE): Likewise.
16327 (R_RISCV_COPY): Likewise.
16328 (R_RISCV_JUMP_SLOT): Likewise.
16329 (R_RISCV_TLS_DTPMOD32): Likewise.
16330 (R_RISCV_TLS_DTPMOD64): Likewise.
16331 (R_RISCV_TLS_DTPREL32): Likewise.
16332 (R_RISCV_TLS_DTPREL64): Likewise.
16333 (R_RISCV_TLS_TPREL32): Likewise.
16334 (R_RISCV_TLS_TPREL64): Likewise.
16335 * Makerules (make-link-multidir): Make directories before linking into
16337 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16339 (VDSO_HASH_LINUX_4_15): Likewise.
16340 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16341 in subdirectories of lib.
16342 * nptl/Makefile (/librt.so): Always depend on
16343 "$(shared-thread-library)".
16345 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16347 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16348 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16349 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16351 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16352 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16354 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16355 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16356 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16357 * sysdeps/gnu/glob-lstat-compat.c: New file.
16358 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16359 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16361 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16363 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16364 Reserve 16 chars to reloc_addr before calling _itoa_word.
16366 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16369 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16370 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16372 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16373 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16375 * resource/tst-getrlimit.c: Add copyright header.
16377 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16378 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16380 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16381 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16382 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16383 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16385 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16386 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16387 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16388 RLIM64_INFINITY): Fix values to match the kernel ones.
16389 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16390 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16391 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16392 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16393 getrlimit64@@GLIBC_2_27.
16394 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16396 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16397 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16398 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16399 setrlimit, getrlimit64 and setrlimit64.
16401 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16404 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16405 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16407 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16409 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16410 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16411 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16413 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16417 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16418 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16422 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16423 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16424 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16425 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16427 2018-01-04 Florian Weimer <fweimer@redhat.com>
16430 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16431 Align the stack before calling exit.
16432 * stdlib/tst-makecontext-align.c: New file.
16433 * stdlib/Makefile (tests): Add tst-makecontext-align.
16435 2018-01-04 Florian Weimer <fweimer@redhat.com>
16437 Add support for calling dlvsym from libc.so.
16438 * include/dlfcn.h (__libc_dlvsym): Declare.
16439 * elf/Makefile (tests-static-internal): Add
16440 tst-libc_dlvsym-static.
16441 (tests-internal): Add tst-libc_dlvsym.
16442 (modules-names): Add tst-libc_dlvsym-dso.
16443 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16444 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16445 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16446 object tst-libc_dlvsym-dso.so needs to be built before running
16448 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16449 * elf/Versions: Export __libc_dlvsym.
16450 * elf/dl-libc.c (struct do_dlvsym_args): New.
16451 (do_dlvsym, __libc_dlvsym): New functions.
16452 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16453 (_dl_open_hook2): New variable.
16454 (__libc_register_dl_open_hook): Set it.
16455 * elf/tst-libc_dlvsym-dso.c: New file.
16456 * elf/tst-libc_dlvsym-static.c: Likewise.
16457 * elf/tst-libc_dlvsym.c: Likewise.
16458 * elf/tst-libc_dlvsym.h: Likewise.
16460 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16462 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16463 include <sys/mount.h>.
16465 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16467 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16468 Add __NO_MATH_ERRNO__ check.
16470 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16472 * sysdeps/mips/mips32/libm-test-ulps: Update.
16473 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16475 2018-01-02 Florian Weimer <fweimer@redhat.com>
16477 * misc/tst-pselect.c: Add copyright header.
16479 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16481 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16483 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16485 (settrlimit): Rename into setrlimit.
16486 (__sttrlimit): Rename into __setrlimit.
16488 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16489 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16490 never defined in that case.
16492 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16494 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16496 * sysdeps/arm/libm-test-ulps: Update.
16498 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16499 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16501 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16503 * NEWS: Add cosf and sincosf to list of optimized functions.
16505 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16508 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16509 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16510 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16511 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16513 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16516 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16518 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16519 making a copy of it.
16521 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16523 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16524 trailing whitespace removed.
16525 * scripts/config.guess: Update to version 2018-01-01.
16526 * scripts/config.sub: Update to version 2018-01-01.
16527 * scripts/move-if-change: Update from gnulib.
16529 * NEWS: Update copyright dates.
16530 * catgets/gencat.c (print_version): Likewise.
16531 * csu/version.c (banner): Likewise.
16532 * debug/catchsegv.sh: Likewise.
16533 * debug/pcprofiledump.c (print_version): Likewise.
16534 * debug/xtrace.sh (do_version): Likewise.
16535 * elf/ldconfig.c (print_version): Likewise.
16536 * elf/ldd.bash.in: Likewise.
16537 * elf/pldd.c (print_version): Likewise.
16538 * elf/sotruss.sh: Likewise.
16539 * elf/sprof.c (print_version): Likewise.
16540 * iconv/iconv_prog.c (print_version): Likewise.
16541 * iconv/iconvconfig.c (print_version): Likewise.
16542 * locale/programs/locale.c (print_version): Likewise.
16543 * locale/programs/localedef.c (print_version): Likewise.
16544 * login/programs/pt_chown.c (print_version): Likewise.
16545 * malloc/memusage.sh (do_version): Likewise.
16546 * malloc/memusagestat.c (print_version): Likewise.
16547 * malloc/mtrace.pl: Likewise.
16548 * manual/libc.texinfo: Likewise.
16549 * nptl/version.c (banner): Likewise.
16550 * nscd/nscd.c (print_version): Likewise.
16551 * nss/getent.c (print_version): Likewise.
16552 * nss/makedb.c (print_version): Likewise.
16553 * posix/getconf.c (main): Likewise.
16554 * scripts/test-installation.pl: Likewise.
16555 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16557 * All files with FSF copyright notices: Update copyright dates
16558 using scripts/update-copyrights.
16559 * locale/programs/charmap-kw.h: Regenerated.
16560 * locale/programs/locfile-kw.h: Likewise.
16562 2017-12-31 Zack Weinberg <zackw@panix.com>
16564 * libio/bits/libio-ldbl.h: Correct check for improper
16565 inclusion. Add own multiple include guard.
16567 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16568 Dmitry V. Levin <ldv@altlinux.org>
16572 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16573 string token expansion. Check for NULL pointer or empty string possibly
16574 returned by expand_dynamic_string_token.
16575 (decompose_rpath): Check for empty path after dynamic string
16578 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16581 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16583 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16584 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16585 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16586 and PTRACE_SYSCALL.
16587 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16588 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16589 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16591 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16592 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16594 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16595 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16596 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16597 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16599 bits/ptrace-shared.h.
16600 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16601 <bits/ptrace-shared.h>.
16602 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16603 __ptrace_peeksiginfo_flags, ptrace): Remove.
16604 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16605 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16606 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16608 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16610 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16613 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16614 end of the loop. Improve comments.
16616 2017-12-29 Zack Weinberg <zackw@panix.com>
16619 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16620 might be set on success.
16622 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16625 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16626 is unchanged on success.
16628 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16630 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16632 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16633 expand_dynamic_string_token): Likewise.
16634 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16637 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16640 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16641 is set and name contains ':', and all code depending on these checks.
16643 2017-12-24 Zack Weinberg <zackw@panix.com>
16645 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16646 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16648 * libio/libio.h: Rename the original version of this file to
16649 libio/bits/libio.h. Error out if not included by stdio.h or the
16651 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16652 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16653 if not included by bits/libio.h or the stub _G_config.h.
16654 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16655 sysdeps/unix/sysv/linux/bits. Error out if not included by
16656 bits/libio.h or the stub _G_config.h.
16657 * libio/stdio.h: Include bits/libio.h, not libio.h.
16658 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16659 well as libio.h and _G_config.h.
16661 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16662 * libio/strfile.h, stdio-common/vfscanf.c
16663 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16664 Include stdio.h, not _G_config.h nor libio.h.
16665 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16666 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16668 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16670 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16673 * stdlib/getrandom.c (getrandom): Fix comment.
16674 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16676 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16679 * manual/arith.texi (strtoul): Fix a typo.
16682 * manual/arith.texi (finite): Fix the description of the return
16685 2017-12-22 Eric Blake <ebb9@byu.net>
16687 Avoid gcc warnings on cygwin
16688 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16689 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16690 Avoid unused variable.
16692 2017-12-22 Florian Weimer <fweimer@redhat.com>
16694 * io/Makefile (routines): Add copy_file_range.
16695 (tests): Add tst-copy_file_range.
16696 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16697 * io/Versions (GLIBC_2.27): Export copy_file_range.
16698 * io/copy_file_range-compat.c: New file.
16699 * io/copy_file_range.c: Likewise.
16700 * io/tst-copy_file_range-compat.c: Likewise.
16701 * io/tst-copy_file_range.c: Likewise.
16702 * manual/llio.texi (Copying File Data): New section.
16703 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16704 * support/Makefile (libsupport-routines): Add support-xfstat,
16705 xftruncate, xlseek.
16706 * support/support-xfstat.c: New file.
16707 * support/xftruncate.c: Likewise.
16708 * support/xlseek.c: Likewise.
16709 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16710 * sysdeps/unix/sysv/linux/**.abilist: Update.
16711 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16713 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16715 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16716 disable-multi-arch variant to aarch64-linux-gnu.
16718 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16720 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16721 trailing whitespace removed.
16722 * scripts/config.guess: Update to version 2017-12-17.
16723 * scripts/config.sub: Update to version 2017-11-23.
16724 * scripts/install-sh: Update to version 2017-09-23.17.
16725 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16727 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16729 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
16730 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16731 * sysdeps/tile/_mcount.S (__mcount): Likewise.
16732 * sysdeps/tile/crti.S (_init, _fini): Likewise.
16733 * sysdeps/tile/crtn.S: Likewise.
16734 * sysdeps/tile/dl-start.S (_start): Likewise.
16735 * sysdeps/tile/dl-trampoline.S: Likewise.
16736 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
16737 * sysdeps/tile/start.S (_start): Likewise.
16738 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
16739 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
16740 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
16741 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
16742 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
16743 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
16744 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
16746 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
16748 * sysdeps/tile/preconfigure: Remove tilegx folder.
16749 * sysdeps/tile/tilegx/Implies: Move definitions to ...
16750 * sysdeps/tile/Implies: ... here.
16751 * sysdeps/tile/tilegx/Makefile: Move rules to ...
16752 * sysdeps/tile/Makefile: ... here.
16753 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
16754 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
16755 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
16756 * sysdeps/tile/bits/wordsize.h: ... here.
16757 * sysdeps/tile/tilegx/*: Move to ...
16758 * sysdeps/tile/*: ... here.
16759 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
16760 * sysdeps/tile/tilegx32/Implies: ... here.
16761 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
16762 * sysdeps/tile/tilegx64/Implies: ... here.
16763 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
16765 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16766 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
16767 * sysdeps/unix/sysv/linux/tile/*: ... here.
16768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
16769 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
16770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
16771 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
16773 * README: Remove tilepro-*-linux-gnu from supported architecture.
16774 * scripts/build-many-glibcs.py: Likewise.
16775 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16776 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
16777 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
16778 elf_machine_matches_host, elf_machine_dynamic,
16779 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
16780 howto, elf_machine_rela): Likewise.
16781 * sysdeps/tile/dl-start.S (_start): Likewise.
16782 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
16783 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
16784 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
16785 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
16786 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
16787 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16789 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
16790 * sysdeps/tile/preconfigure: Likewise.
16791 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
16792 POINTER_CHK_GUARD): Likewise.
16793 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
16794 * sysdeps/tile/start.S (_start): Likewise.
16795 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
16797 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
16798 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
16800 * sysdeps/unix/sysv/linux/tile/bits/environments.h
16801 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
16802 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
16804 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
16805 * sysdeps/tile/tilepro/Implies: Remove file.
16806 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
16807 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
16808 * sysdeps/tile/tilepro/memchr.c: Likewise.
16809 * sysdeps/tile/tilepro/memcpy.S: Likewise.
16810 * sysdeps/tile/tilepro/memset.c: Likewise.
16811 * sysdeps/tile/tilepro/memusage.h: Likewise.
16812 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
16813 * sysdeps/tile/tilepro/strchr.c: Likewise.
16814 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
16815 * sysdeps/tile/tilepro/strlen.c: Likewise.
16816 * sysdeps/tile/tilepro/strrchr.c: Likewise.
16817 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
16818 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
16819 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
16820 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
16821 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
16822 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16824 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
16825 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16826 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
16827 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
16828 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16829 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
16830 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
16831 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
16832 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
16833 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
16834 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
16835 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
16836 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
16837 tilepro mention in comment.
16839 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
16840 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
16841 * nptl/pthread_join_common.c: New file: common function used on
16842 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
16843 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
16844 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
16845 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16846 (cleanup): Move definition to pthread_join_common.c.
16847 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
16848 Remove superflous checks.
16849 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
16852 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
16854 * sysdeps/aarch64/libm-test-ulps: Update.
16856 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16858 * sysdeps/aarch64/memset.S (MEMSET): Define.
16860 2017-12-20 Florian Weimer <fweimer@redhat.com>
16863 nptl: Provide full implementation of pthread_self in libc.so.
16864 * nptl/Makefile (routines): Add pthread_self.
16865 (libpthread-routines): Replace pthread_self with
16866 compat-pthread_self.
16867 * nptl/forward.c (pthread_self): Remove.
16868 * nptl/nptl-init.c (pthread_functions): Do not initialize
16870 * nptl/pthread_self.c (pthread_self): Remove weak alias.
16871 * nptl/compat-pthread_self.c: New file.
16872 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
16873 Remove ptr_pthread_self.
16875 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
16877 * posix/regcomp.c: Fix spelling in comments.
16878 * posix/regex.h: Likewise.
16879 * posix/regex_internal.c: Likewise.
16880 * posix/regexec.c: Likewise.
16882 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16885 * math/Makefile [C++] (tests): Add test for iseqsig.
16886 * math/math.h [C++] (iseqsig): New implementation, which does
16887 not rely on __MATH_TG/__builtin_types_compatible_p.
16888 * math/test-math-iseqsig.cc: New file.
16889 * sysdeps/powerpc/powerpc64le/Makefile
16890 (CFLAGS-test-math-iseqsig.cc): New variable.
16892 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
16894 * elf/dl-load.c (is_trusted_path): Remove.
16895 (fillin_rpath): Remove check_trusted argument and its use,
16896 all callers changed.
16898 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16901 * Makeconfig (link-pie-before-libc): Replace -pie with
16902 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
16903 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
16904 (tst-dlopen-aout-no-pie): New.
16905 (LDFLAGS-tst-prelink): Removed.
16906 (tst-prelink-no-pie): New.
16907 (LDFLAGS-tst-main1): Removed.
16908 (tst-main1-no-pie): New.
16909 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
16910 (tst-gmon-no-pie): New.
16912 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16914 * manual/install.texi: Document that --enable-static-pie
16916 * INSTALL: Regenerated.
16918 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
16921 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
16924 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16928 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16932 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16934 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16935 <errno.h>. Include "eexp.tbl".
16936 (half): New constant.
16938 (__ieee754_exp): Rewrite.
16939 (__slowexp): Remove prototype.
16940 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16941 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16942 * sysdeps/i386/fpu/slowexp.c: Likewise.
16943 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16944 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16945 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16946 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16947 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16948 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16949 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16951 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16952 (CPPFLAGS-slowexp.c): Remove variable.
16953 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16954 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
16955 (CFLAGS-slowexp-fma.c): Remove variable.
16956 (CFLAGS-slowexp-fma4.c): Likewise.
16957 (CFLAGS-slowexp-avx.c): Likewise.
16958 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
16960 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
16961 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
16962 * math/Makefile (type-double-routines): Remove slowexp.
16963 * manual/probes.texi (slowexp_p6): Remove.
16964 (slowexp_p32): Likewise.
16966 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16968 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
16971 * lib/glob.c (glob): Do not pass NULL to mempcpy.
16973 2017-12-19 Joseph Myers <joseph@codesourcery.com>
16975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16977 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16979 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
16980 <errno.h>. Include "eexp.tbl".
16981 (half): New constant.
16983 (__ieee754_exp): Rewrite.
16984 (__slowexp): Remove prototype.
16985 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
16986 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
16987 * sysdeps/i386/fpu/slowexp.c: Likewise.
16988 * sysdeps/ia64/fpu/slowexp.c: Likewise.
16989 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
16990 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
16991 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
16992 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
16993 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
16994 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
16996 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
16997 (CPPFLAGS-slowexp.c): Remove variable.
16998 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16999 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17000 (CFLAGS-slowexp-fma.c): Remove variable.
17001 (CFLAGS-slowexp-fma4.c): Likewise.
17002 (CFLAGS-slowexp-avx.c): Likewise.
17003 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17005 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17006 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17007 * math/Makefile (type-double-routines): Remove slowexp.
17008 * manual/probes.texi (slowexp_p6): Remove.
17009 (slowexp_p32): Likewise.
17011 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17012 James Clarke <jrtc27@jrtc27.com>
17015 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17018 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17021 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17024 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17027 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17028 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17029 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17030 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17033 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17036 * bits/types/__cancel_jmp_buf_tag.h: New file.
17037 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17038 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17039 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17040 * nptl/Makefile (headers): Add
17041 bits/types/__cancel_jmp_buf_tag.h.
17042 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17043 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17044 * sysdeps/nptl/pthread.h: Include
17045 <bits/types/__cancel_jmp_buf_tag.h>.
17046 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17048 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17050 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17052 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17053 --enable-static-pie variants to x86_64, x32 and i686.
17055 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17058 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17059 argument for attrubutes. All callers changed.
17060 (__inline_mathop1): Likewise. All callers changed.
17061 (__inline_mathop): Likewise. All callers changed.
17062 [__USE_MISC] (scalbn): Use __inline_forward instead of
17063 __inline_forward_c.
17064 [__USE_ISOC99] (scalbln): Likewise.
17065 [__USE_ISOC99] (nearbyint): Likewise.
17066 [__USE_ISOC99] (lrint): Likewise.
17067 [__USE_MISC] (scalbnf): Likewise.
17068 [__USE_ISOC99] (scalblnf): Likewise.
17069 [__USE_ISOC99] (nearbyintf): Likewise.
17070 [__USE_ISOC99] (lrintf): Likewise.
17071 [__USE_MISC] (scalbnl): Likewise.
17072 [__USE_ISOC99] (scalblnl): Likewise.
17073 [__USE_ISOC99] (nearbyintl): Likewise.
17074 [__USE_ISOC99] (lrintl): Likewise.
17075 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17076 __inline_mathop and __m81_defun changed.
17078 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17079 CPU or FPU for ARM hard-float configurations.
17081 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17083 * nptl/tst-attr3.c: Include <libc-diag.h>.
17084 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17086 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17088 * string/tester.c (test_strncat): Also disable -Warray-bounds
17089 warnings for two tests.
17091 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17094 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17095 $(cc-pie-default) == yes.
17096 * config.make.in (cc-pie-default): New.
17097 * configure.ac (libc_cv_pie_default): Renamed to ...
17098 (libc_cv_cc_pie_default): This.
17099 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17100 * configure: Regenerated.
17102 2017-12-18 Florian Weimer <fweimer@redhat.com>
17105 ld.so: Harden dl-libc/libdl hooks.
17106 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17107 (rtld_active): New function.
17108 * dlfcn/dladdr.c (__dladdr): Call it.
17109 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17110 * dlfcn/dlclose.c (__dlcose): Likewise.
17111 * dlfcn/dlerror.c (__dlerror): Likewise.
17112 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17113 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17114 * dlfcn/dlopen.c (__dlopen): Likewise.
17115 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17116 * dlfcn/dlsym.c (__dlsym): Likewise.
17117 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17118 * libio/vtables.c (_IO_vtable_check): Likewise.
17119 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17120 (__libc_dlclose): Likewise.
17121 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17124 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17127 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17128 buffers for readlink input and output.
17130 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17133 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17134 inhibit_stack_protector.
17137 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17138 inhibit_stack_protector.
17140 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17143 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17144 code and invocation.
17146 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17148 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17150 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17153 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17155 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17157 * sysdeps/s390/fpu/libm-test-ulps: Update.
17159 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17163 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17165 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17166 constants to s_sincosf.h file.
17167 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17168 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17170 * sysdeps/ieee754/flt-32/s_sincosf.h:
17173 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17176 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17179 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17182 * INSTALL: Regenerated.
17183 * Makeconfig (real-static-start-installed-name): New.
17184 (pic-default): Updated for --enable-static-pie.
17185 (pie-default): New for --enable-static-pie.
17186 (default-pie-ldflag): Likewise.
17187 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17188 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17189 Replace $(static-start-installed-name) with
17190 $(real-static-start-installed-name).
17191 (+prectorT): Updated for --enable-static-pie.
17192 (+postctorT): Likewise.
17193 (CFLAGS-.o): Add $(pie-default).
17194 (CFLAGS-.op): Likewise.
17195 * NEWS: Mention --enable-static-pie.
17196 * config.h.in (ENABLE_STATIC_PIE): New.
17197 * configure.ac (--enable-static-pie): New configure option.
17198 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17199 (have-static-pie): Likewise.
17200 Enable static PIE if linker supports --no-dynamic-linker.
17201 (ENABLE_STATIC_PIE): New AC_DEFINE.
17202 (enable-static-pie): New LIBC_CONFIG_VAR.
17203 * configure: Regenerated.
17204 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17205 gr$(start-installed-name) for --enable-static-pie.
17206 (extra-objs): Likewise.
17207 (install-lib): Likewise.
17208 (extra-objs): Add static-reloc.o and static-reloc.os
17209 ($(objpfx)$(start-installed-name)): Also depend on
17210 $(objpfx)static-reloc.o.
17211 ($(objpfx)r$(start-installed-name)): New.
17212 ($(objpfx)g$(start-installed-name)): Also depend on
17213 $(objpfx)static-reloc.os.
17214 ($(objpfx)gr$(start-installed-name)): New.
17215 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17217 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17219 * csu/static-reloc.c: New file.
17220 * elf/Makefile (routines): Add dl-reloc-static-pie.
17221 (elide-routines.os): Likewise.
17222 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17223 (tst-tls1-static-non-pie-no-pie): New.
17224 * elf/dl-reloc-static-pie.c: New file.
17225 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17226 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17227 STATIC_PIE_BOOTSTRAP.
17228 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17229 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17230 (tests-static): Likewise.
17231 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17232 (tst-gmon-static-no-pie): New.
17233 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17234 (CRT-tst-gmon-static-pie): Likewise.
17235 (tst-gmon-static-pie-ENV): Likewise.
17236 (tests-special): Likewise.
17237 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17238 (clean-tst-gmon-static-pie-data): Likewise.
17239 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17240 * gmon/tst-gmon-static-pie.c: New file.
17241 * manual/install.texi: Document --enable-static-pie.
17242 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17243 (_dl_get_dl_main_map): Likewise.
17244 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17245 * sysdeps/x86_64/configure.ac: Likewise.
17246 * sysdeps/i386/configure: Regenerated.
17247 * sysdeps/x86_64/configure: Likewise.
17248 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17249 (ASFLAGS-.op): Likewise.
17251 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17253 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17254 * posix/tst-mmap-offset.c (fname): Use /tmp.
17255 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17257 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17259 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17261 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17263 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17266 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17268 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17269 --with-float=hard for arm-linux-gnueabihf configurations.
17272 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17273 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17274 ($(mo-installed)): Use $(objpfx)%.mo.
17275 (realclean): Remove rule.
17277 * po/Makefile (linguas): Remove rule and dependencies.
17278 (linguas.mo): Likewise.
17279 (.PHONY): Do not depend on linguas and linguas.mo.
17280 (podir): Remove variable.
17281 (pofiles): Likewise.
17282 [$(pofiles)] (%.po): Remove rule.
17284 * sysdeps/sparc/sparc32/Makefile
17285 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17286 start-of-line whitespace in argument of echo.
17287 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17288 with whitespace. Generate __wrap_.udiv alias.
17289 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17290 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17291 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17292 * sysdeps/sparc/sparc32/urem.S: Likewise.
17294 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17296 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17297 for aligned inputs.
17299 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17301 * benchtests/bench-strcmp.c: Print output in JSON format.
17303 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17305 2017-12-14 Florian Weimer <fweimer@redhat.com>
17309 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17310 the expanded path string.
17312 2017-12-14 Florian Weimer <fweimer@redhat.com>
17316 * elf/dl-load.c (system_dirs): Update comment.
17317 (nsystem_dirs_len): Use array_length.
17318 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17320 2017-12-14 Florian Weimer <fweimer@redhat.com>
17322 Simplify compiling most of support/ outside of glibc.
17323 * support/check_addrinfo.c: Include <string.h>.
17324 * support/check_dns_packet.c: Likewise.
17325 * support/check_hostent.c: Likewise.
17326 * support/support_can_chroot.c: Include <support/xunistd.h>.
17327 * support/support_format_addrinfo.c: Include <stdlib.h>
17328 * support/support_format_dns_packet.c: Include <stdbool.h>.
17329 * support/support_format_hostent.c: Include <stdlib.h>.
17330 * support/support_format_netent.c: Likewise.
17331 * support/support_write_string.c: Include <support/xunistd.h>.
17332 * support/xdlfcn.c: Include <stddef.h>.
17334 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17336 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17338 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17339 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17341 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17342 (sysdeps_routines): Add memset-niagara7.
17343 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17345 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17347 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17348 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17349 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17350 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17351 Add niagara7 option.
17352 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17355 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17356 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17357 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17359 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17361 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17362 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17363 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17364 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17365 and __memmove_niagara7.
17366 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17367 Add niagara7 option.
17368 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17369 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17370 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17371 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17372 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17374 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17376 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17377 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17378 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17379 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17381 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17382 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17383 _dl_sparc_cap_flags array.
17384 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17386 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17388 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17389 time whenever possible.
17391 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17393 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17394 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17396 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17398 * soft-fp/fmadf4.c: Move to ....
17399 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17400 * soft-fp/fmasf4.c: Move to ....
17401 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17402 * soft-fp/fmatf4.c: Move to ....
17403 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17404 * sysdeps/ieee754/soft-fp/Makefile: New file.
17405 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17406 * sysdeps/arm/preconfigure: Regenerated.
17407 * sysdeps/arm/nofpu/Implies: New file.
17408 * sysdeps/arm/s_fma.c: Remove file.
17409 * sysdeps/arm/s_fmaf.c: Likewise.
17410 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17411 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17412 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17413 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17414 * sysdeps/microblaze/s_fma.c: Remove file.
17415 * sysdeps/microblaze/s_fmaf.c: Likewise.
17416 * sysdeps/mips/mips32/nofpu/Implies: New file.
17417 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17418 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17419 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17420 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17421 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17422 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17423 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17425 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17426 * sysdeps/nios2/s_fma.c: Remove file.
17427 * sysdeps/nios2/s_fmaf.c: Likewise.
17428 * sysdeps/sh/nofpu/Implies: New file.
17429 * sysdeps/sh/s_fma.c: Remove file.
17430 * sysdeps/sh/s_fmaf.c: Likewise.
17431 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17432 * sysdeps/tile/s_fma.c: Remove file.
17433 * sysdeps/tile/s_fmaf.c: Likewise.
17435 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17437 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17438 Add s_cosf-sse2 and s_cosf-fma.
17439 (CFLAGS-s_cosf-fma.c): New.
17440 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17441 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17442 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17444 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17446 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17448 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17450 * libio/Makefile (tests): Add tst-bz22415.
17451 (tst-bz22415-ENV): New rule.
17452 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17453 (tests-special): Add tst-bz22415-mem.out.
17454 ($(objpfx)tst-bz22415-mem.out): New rule.
17455 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17456 in case of a successful seek operation.
17457 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17458 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17459 buffer is required.
17460 * libio/tst-bz22415.c: New test.
17462 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17464 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17466 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17467 __IPC_64 to 0 to avoid IPC_64 being set.
17469 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17472 * math/bits/mathcalls.h (nextafter): Remove const.
17473 (nexttoward): Likewise.
17475 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17477 * configure.ac (--with-fp): Remove configure option.
17478 (with_fp_cond): New variable.
17479 (libc_cv_with_fp): New configure test. Use this variable instead
17481 * configure: Regenerated.
17482 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17483 * manual/install.texi (Configuring and compiling): Remove
17485 * INSTALL: Regenerated.
17486 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17487 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17488 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17489 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17490 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17491 use --without-fp to configure glibc.
17493 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17495 * manual/locale.texi (nl_langinfo): Fix a typo.
17497 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17500 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17502 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17504 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17505 (CFLAGS-argp-parse.c): Likewise.
17506 (CFLAGS-argp-fmtstream.c): Likewise.
17507 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17508 (CPPFLAGS-sha512-crypt.c): Likewise.
17509 (CPPFLAGS-md5-crypt.c): Likewise.
17510 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17511 (CFLAGS-stack_chk_fail_local.c): Likewise.
17512 (CFLAGS-backtrace.c): Likewise.
17513 (CFLAGS-sprintf_chk.c): Likewise.
17514 (CFLAGS-snprintf_chk.c): Likewise.
17515 (CFLAGS-vsprintf_chk.c): Likewise.
17516 (CFLAGS-vsnprintf_chk.c): Likewise.
17517 (CFLAGS-asprintf_chk.c): Likewise.
17518 (CFLAGS-vasprintf_chk.c): Likewise.
17519 (CFLAGS-obprintf_chk.c): Likewise.
17520 (CFLAGS-dprintf_chk.c): Likewise.
17521 (CFLAGS-vdprintf_chk.c): Likewise.
17522 (CFLAGS-printf_chk.c): Likewise.
17523 (CFLAGS-fprintf_chk.c): Likewise.
17524 (CFLAGS-vprintf_chk.c): Likewise.
17525 (CFLAGS-vfprintf_chk.c): Likewise.
17526 (CFLAGS-gets_chk.c): Likewise.
17527 (CFLAGS-fgets_chk.c): Likewise.
17528 (CFLAGS-fgets_u_chk.c): Likewise.
17529 (CFLAGS-fread_chk.c): Likewise.
17530 (CFLAGS-fread_u_chk.c): Likewise.
17531 (CFLAGS-swprintf_chk.c): Likewise.
17532 (CFLAGS-vswprintf_chk.c): Likewise.
17533 (CFLAGS-wprintf_chk.c): Likewise.
17534 (CFLAGS-fwprintf_chk.c): Likewise.
17535 (CFLAGS-vwprintf_chk.c): Likewise.
17536 (CFLAGS-vfwprintf_chk.c): Likewise.
17537 (CFLAGS-fgetws_chk.c): Likewise.
17538 (CFLAGS-fgetws_u_chk.c): Likewise.
17539 (CFLAGS-read_chk.c): Likewise.
17540 (CFLAGS-pread_chk.c): Likewise.
17541 (CFLAGS-pread64_chk.c): Likewise.
17542 (CFLAGS-recv_chk.c): Likewise.
17543 (CFLAGS-recvfrom_chk.c): Likewise.
17544 (CFLAGS-tst-longjmp_chk.c): Likewise.
17545 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17546 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17547 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17548 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17549 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17550 (CFLAGS-tst-chk1.c): Likewise.
17551 (CFLAGS-tst-chk2.c): Likewise.
17552 (CFLAGS-tst-chk3.c): Likewise.
17553 (CFLAGS-tst-chk4.cc): Likewise.
17554 (CFLAGS-tst-chk5.cc): Likewise.
17555 (CFLAGS-tst-chk6.cc): Likewise.
17556 (CFLAGS-tst-lfschk1.c): Likewise.
17557 (CFLAGS-tst-lfschk2.c): Likewise.
17558 (CFLAGS-tst-lfschk3.c): Likewise.
17559 (CFLAGS-tst-lfschk4.cc): Likewise.
17560 (CFLAGS-tst-lfschk5.cc): Likewise.
17561 (CFLAGS-tst-lfschk6.cc): Likewise.
17562 (CFLAGS-tst-ssp-1.c): Likewise.
17563 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17564 (CFLAGS-scandir64.c): Likewise.
17565 (CFLAGS-scandir-tail.c): Likewise.
17566 (CFLAGS-scandir64-tail.c): Likewise.
17567 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17568 (CFLAGS-dl-tunables.c): Likewise.
17569 (CFLAGS-dl-runtime.c): Likewise.
17570 (CFLAGS-dl-lookup.c): Likewise.
17571 (CFLAGS-dl-iterate-phdr.c): Likewise.
17572 (CFLAGS-vismain.c): Likewise.
17573 (CFLAGS-tst-linkall-static.c): Likewise.
17574 (CFLAGS-tst-linkall-static.c): Likewise.
17575 (CPPFLAGS-dl-load.c): Likewise.
17576 (CFLAGS-ldconfig.c): Likewise.
17577 (CFLAGS-dl-cache.c): Likewise.
17578 (CFLAGS-cache.c): Likewise.
17579 (CFLAGS-rtld.c): Likewise.
17580 (CFLAGS-multiload.c): Likewise.
17581 (CFLAGS-filtmod1.c): Likewise.
17582 (CFLAGS-tst-align.c): Likewise.
17583 (CFLAGS-tst-align2.c): Likewise.
17584 (CFLAGS-tst-alignmod.c): Likewise.
17585 (CFLAGS-tst-alignmod2.c): Likewise.
17586 (CPPFLAGS-tst-execstack.c): Likewise.
17587 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17588 (CFLAGS-tst-latepthreadmod.c): Likewise.
17589 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17590 (CFLAGS-getgrnam_r.c): Likewise.
17591 (CFLAGS-getgrent_r.c): Likewise.
17592 (CFLAGS-getgrent.c): Likewise.
17593 (CFLAGS-fgetgrent.c): Likewise.
17594 (CFLAGS-fgetgrent_r.c): Likewise.
17595 (CFLAGS-putgrent.c): Likewise.
17596 (CFLAGS-initgroups.c): Likewise.
17597 (CFLAGS-getgrgid.c): Likewise.
17598 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17599 (CFLAGS-getsgent.c): Likewise.
17600 (CFLAGS-fgetsgent.c): Likewise.
17601 (CFLAGS-fgetsgent_r.c): Likewise.
17602 (CFLAGS-putsgent.c): Likewise.
17603 (CFLAGS-getsgnam.c): Likewise.
17604 (CFLAGS-getsgnam_r.c): Likewise.
17605 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17606 (CFLAGS-iconv_charmap.c): Likewise.
17607 (CFLAGS-dummy-repertoire.c): Likewise.
17608 (CFLAGS-charmap.c): Likewise.
17609 (CFLAGS-linereader.c): Likewise.
17610 (CFLAGS-simple-hash.c): Likewise.
17611 (CFLAGS-gconv_conf.c): Likewise.
17612 (CFLAGS-iconvconfig.c): Likewise.
17613 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17614 (CFLAGS-gethstbyad.c): Likewise.
17615 (CFLAGS-gethstbynm_r.c): Likewise.
17616 (CFLAGS-gethstbynm.c): Likewise.
17617 (CFLAGS-gethstbynm2_r.c): Likewise.
17618 (CFLAGS-gethstbynm2.c): Likewise.
17619 (CFLAGS-gethstent_r.c): Likewise.
17620 (CFLAGS-gethstent.c): Likewise.
17621 (CFLAGS-rcmd.c): Likewise.
17622 (CFLAGS-getnetbynm_r.c): Likewise.
17623 (CFLAGS-getnetbynm.c): Likewise.
17624 (CFLAGS-getnetbyad_r.c): Likewise.
17625 (CFLAGS-getnetbyad.c): Likewise.
17626 (CFLAGS-getnetent_r.c): Likewise.
17627 (CFLAGS-getnetent.c): Likewise.
17628 (CFLAGS-getaliasent_r.c): Likewise.
17629 (CFLAGS-getaliasent.c): Likewise.
17630 (CFLAGS-getrpcent_r.c): Likewise.
17631 (CFLAGS-getrpcent.c): Likewise.
17632 (CFLAGS-getservent_r.c): Likewise.
17633 (CFLAGS-getservent.c): Likewise.
17634 (CFLAGS-getprtent_r.c): Likewise.
17635 (CFLAGS-getprtent.c): Likewise.
17636 (CFLAGS-either_ntoh.c): Likewise.
17637 (CFLAGS-either_hton.c): Likewise.
17638 (CFLAGS-getnetgrent.c): Likewise.
17639 (CFLAGS-getnetgrent_r.c): Likewise.
17640 (CFLAGS-tst-checks-posix.c): Likewise.
17641 (CFLAGS-tst-sockaddr.c): Likewise.
17642 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17643 (CFLAGS-tst-translit.c): Likewise.
17644 (CFLAGS-tst-gettext2.c): Likewise.
17645 (CFLAGS-tst-codeset.c): Likewise.
17646 (CFLAGS-tst-gettext3.c): Likewise.
17647 (CFLAGS-tst-gettext4.c): Likewise.
17648 (CFLAGS-tst-gettext5.c): Likewise.
17649 (CFLAGS-tst-gettext6.c): Likewise.
17650 * io/Makefile (CFLAGS-open.c): Likewise.
17651 (CFLAGS-open64.c): Likewise.
17652 (CFLAGS-creat.c): Likewise.
17653 (CFLAGS-creat64.c): Likewise.
17654 (CFLAGS-fcntl.c): Likewise.
17655 (CFLAGS-poll.c): Likewise.
17656 (CFLAGS-ppoll.c): Likewise.
17657 (CFLAGS-lockf.c): Likewise.
17658 (CFLAGS-statfs.c): Likewise.
17659 (CFLAGS-fstatfs.c): Likewise.
17660 (CFLAGS-statvfs.c): Likewise.
17661 (CFLAGS-fstatvfs.c): Likewise.
17662 (CFLAGS-fts.c): Likewise.
17663 (CFLAGS-fts64.c): Likewise.
17664 (CFLAGS-ftw.c): Likewise.
17665 (CFLAGS-ftw64.c): Likewise.
17666 (CFLAGS-lockf.c): Likewise.
17667 (CFLAGS-posix_fallocate.c): Likewise.
17668 (CFLAGS-posix_fallocate64.c): Likewise.
17669 (CFLAGS-fallocate.c): Likewise.
17670 (CFLAGS-fallocate64.c): Likewise.
17671 (CFLAGS-read.c): Likewise.
17672 (CFLAGS-write.c): Likewise.
17673 (CFLAGS-test-stat.c): Likewise.
17674 (CFLAGS-test-lfs.c): Likewise.
17675 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17676 (CFLAGS-fputc.c): Likewise.
17677 (CFLAGS-fputwc.c): Likewise.
17678 (CFLAGS-freopen64.c): Likewise.
17679 (CFLAGS-freopen.c): Likewise.
17680 (CFLAGS-fseek.c): Likewise.
17681 (CFLAGS-fseeko64.c): Likewise.
17682 (CFLAGS-fseeko.c): Likewise.
17683 (CFLAGS-ftello64.c): Likewise.
17684 (CFLAGS-ftello.c): Likewise.
17685 (CFLAGS-fwide.c): Likewise.
17686 (CFLAGS-genops.c): Likewise.
17687 (CFLAGS-getc.c): Likewise.
17688 (CFLAGS-getchar.c): Likewise.
17689 (CFLAGS-getwc.c): Likewise.
17690 (CFLAGS-getwchar.c): Likewise.
17691 (CFLAGS-iofclose.c): Likewise.
17692 (CFLAGS-iofflush.c): Likewise.
17693 (CFLAGS-iofgetpos64.c): Likewise.
17694 (CFLAGS-iofgetpos.c): Likewise.
17695 (CFLAGS-iofgets.c): Likewise.
17696 (CFLAGS-iofgetws.c): Likewise.
17697 (CFLAGS-iofputs.c): Likewise.
17698 (CFLAGS-iofputws.c): Likewise.
17699 (CFLAGS-iofread.c): Likewise.
17700 (CFLAGS-iofsetpos64.c): Likewise.
17701 (CFLAGS-iofsetpos.c): Likewise.
17702 (CFLAGS-ioftell.c): Likewise.
17703 (CFLAGS-iofwrite.c): Likewise.
17704 (CFLAGS-iogetdelim.c): Likewise.
17705 (CFLAGS-iogetline.c): Likewise.
17706 (CFLAGS-iogets.c): Likewise.
17707 (CFLAGS-iogetwline.c): Likewise.
17708 (CFLAGS-ioputs.c): Likewise.
17709 (CFLAGS-ioseekoff.c): Likewise.
17710 (CFLAGS-ioseekpos.c): Likewise.
17711 (CFLAGS-iosetbuffer.c): Likewise.
17712 (CFLAGS-iosetvbuf.c): Likewise.
17713 (CFLAGS-ioungetc.c): Likewise.
17714 (CFLAGS-ioungetwc.c): Likewise.
17715 (CFLAGS-oldfileops.c): Likewise.
17716 (CFLAGS-oldiofclose.c): Likewise.
17717 (CFLAGS-oldiofgetpos64.c): Likewise.
17718 (CFLAGS-oldiofgetpos.c): Likewise.
17719 (CFLAGS-oldiofsetpos64.c): Likewise.
17720 (CFLAGS-oldiofsetpos.c): Likewise.
17721 (CFLAGS-peekc.c): Likewise.
17722 (CFLAGS-putc.c): Likewise.
17723 (CFLAGS-putchar.c): Likewise.
17724 (CFLAGS-putwc.c): Likewise.
17725 (CFLAGS-putwchar.c): Likewise.
17726 (CFLAGS-rewind.c): Likewise.
17727 (CFLAGS-wfileops.c): Likewise.
17728 (CFLAGS-wgenops.c): Likewise.
17729 (CFLAGS-oldiofopen.c): Likewise.
17730 (CFLAGS-iofopen.c): Likewise.
17731 (CFLAGS-iofopen64.c): Likewise.
17732 (CFLAGS-oldtmpfile.c): Likewise.
17733 (CFLAGS-tst_putwc.c): Likewise.
17734 * locale/Makefile (CFLAGS-md5.c): Likewise.
17735 (CFLAGS-charmap.c): Likewise.
17736 (CFLAGS-locfile.c): Likewise.
17737 (CFLAGS-charmap-dir.c): Likewise.
17738 * login/Makefile (CFLAGS-grantpt.c): Likewise.
17739 (CFLAGS-getpt.c): Likewise.
17740 (CFLAGS-pt_chown.c): Likewise.
17741 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
17742 (CFLAGS-obstack.c): Likewise.
17743 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
17744 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
17745 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
17746 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
17747 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
17748 (CFLAGS-test-tgmath.c): Likewise.
17749 (CFLAGS-test-tgmath2.c): Likewise.
17750 (CFLAGS-test-tgmath-ret.c): Likewise.
17751 (CFLAGS-test-powl.c): Likewise.
17752 (CFLAGS-test-snan.c): Likewise.
17753 (CFLAGS-test-signgam-finite.c): Likewise.
17754 (CFLAGS-test-signgam-finite-c99.c): Likewise.
17755 (CFLAGS-test-signgam-finite-c11.c): Likewise.
17756 (CFLAGS-test-signgam-uchar.c): Likewise.
17757 (CFLAGS-test-signgam-uchar-init.c): Likewise.
17758 (CFLAGS-test-signgam-uchar-static.c): Likewise.
17759 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17760 (CFLAGS-test-signgam-uint.c): Likewise.
17761 (CFLAGS-test-signgam-uint-init.c): Likewise.
17762 (CFLAGS-test-signgam-uint-static.c): Likewise.
17763 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17764 (CFLAGS-test-signgam-ullong.c): Likewise.
17765 (CFLAGS-test-signgam-ullong-init.c): Likewise.
17766 (CFLAGS-test-signgam-ullong-static.c): Likewise.
17767 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17768 (CFLAGS-test-math-cxx11.cc): Likewise.
17769 (CFLAGS-test-math-isinff.cc): Likewise.
17770 (CFLAGS-test-math-iszero.cc): Likewise.
17771 (CFLAGS-test-math-issignaling.cc): Likewise.
17772 (CFLAGS-test-math-iscanonical.cc): Likewise.
17773 (CFLAGS-test-iszero-excess-precision.c): Likewise.
17774 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
17775 (CFLAGS-test-flt-eval-method.c): Likewise.
17776 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
17777 (CFLAGS-test-finite-macros.c): Likewise.
17778 * misc/Makefile (CFLAGS-select.c): Likewise.
17779 (CFLAGS-tsearch.c): Likewise.
17780 (CFLAGS-lsearch.c): Likewise.
17781 (CFLAGS-pselect.c): Likewise.
17782 (CFLAGS-readv.c): Likewise.
17783 (CFLAGS-writev.c): Likewise.
17784 (CFLAGS-preadv.c): Likewise.
17785 (CFLAGS-preadv64.c): Likewise.
17786 (CFLAGS-pwritev.c): Likewise.
17787 (CFLAGS-pwritev64.c): Likewise.
17788 (CFLAGS-preadv2.c): Likewise.
17789 (CFLAGS-preadv64v2.c): Likewise.
17790 (CFLAGS-pwritev2.c): Likewise.
17791 (CFLAGS-pwritev64v2.c): Likewise.
17792 (CFLAGS-usleep.c): Likewise.
17793 (CFLAGS-syslog.c): Likewise.
17794 (CFLAGS-error.c): Likewise.
17795 (CFLAGS-getpass.c): Likewise.
17796 (CFLAGS-mkstemp.c): Likewise.
17797 (CFLAGS-mkstemp64.c): Likewise.
17798 (CFLAGS-getsysstats.c): Likewise.
17799 (CFLAGS-getusershell.c): Likewise.
17800 (CFLAGS-err.c): Likewise.
17801 (CFLAGS-tst-tsearch.c): Likewise.
17802 (CFLAGS-msync.c): Likewise.
17803 (CFLAGS-fdatasync.c): Likewise.
17804 (CFLAGS-fsync.c): Likewise.
17805 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
17806 (CFLAGS-unwind.c): Likewise.
17807 (CFLAGS-unwind-forcedunwind.c): Likewise.
17808 (CFLAGS-pthread_cancel.c): Likewise.
17809 (CFLAGS-pthread_setcancelstate.c): Likewise.
17810 (CFLAGS-pthread_setcanceltype.c): Likewise.
17811 (CFLAGS-cancellation.c): Likewise.
17812 (CFLAGS-libc-cancellation.c): Likewise.
17813 (CFLAGS-pthread_exit.c): Likewise.
17814 (CFLAGS-forward.c): Likewise.
17815 (CFLAGS-pthread_testcancel.c): Likewise.
17816 (CFLAGS-pthread_join.c): Likewise.
17817 (CFLAGS-pthread_timedjoin.c): Likewise.
17818 (CFLAGS-pthread_once.c): Likewise.
17819 (CFLAGS-pthread_cond_wait.c): Likewise.
17820 (CFLAGS-sem_wait.c): Likewise.
17821 (CFLAGS-sem_timedwait.c): Likewise.
17822 (CFLAGS-fcntl.c): Likewise.
17823 (CFLAGS-lockf.c): Likewise.
17824 (CFLAGS-pread.c): Likewise.
17825 (CFLAGS-pread64.c): Likewise.
17826 (CFLAGS-pwrite.c): Likewise.
17827 (CFLAGS-pwrite64.c): Likewise.
17828 (CFLAGS-wait.c): Likewise.
17829 (CFLAGS-waitpid.c): Likewise.
17830 (CFLAGS-sigwait.c): Likewise.
17831 (CFLAGS-msgrcv.c): Likewise.
17832 (CFLAGS-msgsnd.c): Likewise.
17833 (CFLAGS-tcdrain.c): Likewise.
17834 (CFLAGS-open.c): Likewise.
17835 (CFLAGS-open64.c): Likewise.
17836 (CFLAGS-pause.c): Likewise.
17837 (CFLAGS-recv.c): Likewise.
17838 (CFLAGS-send.c): Likewise.
17839 (CFLAGS-accept.c): Likewise.
17840 (CFLAGS-sendto.c): Likewise.
17841 (CFLAGS-connect.c): Likewise.
17842 (CFLAGS-recvfrom.c): Likewise.
17843 (CFLAGS-recvmsg.c): Likewise.
17844 (CFLAGS-sendmsg.c): Likewise.
17845 (CFLAGS-close.c): Likewise.
17846 (CFLAGS-read.c): Likewise.
17847 (CFLAGS-write.c): Likewise.
17848 (CFLAGS-nanosleep.c): Likewise.
17849 (CFLAGS-sigsuspend.c): Likewise.
17850 (CFLAGS-msync.c): Likewise.
17851 (CFLAGS-fdatasync.c): Likewise.
17852 (CFLAGS-fsync.c): Likewise.
17853 (CFLAGS-pt-system.c): Likewise.
17854 (CFLAGS-tst-cleanup2.c): Likewise.
17855 (CFLAGS-tst-cleanupx2.c): Likewise.
17856 (CFLAGS-flockfile.c): Likewise.
17857 (CFLAGS-ftrylockfile.c): Likewise.
17858 (CFLAGS-funlockfile.c): Likewise.
17859 (CFLAGS-tst-initializers1.c): Likewise.
17860 (CFLAGS-tst-initializers1-c89.c): Likewise.
17861 (CFLAGS-tst-initializers1-c99.c): Likewise.
17862 (CFLAGS-tst-initializers1-c11.c): Likewise.
17863 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
17864 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
17865 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17866 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
17867 (CFLAGS-nscd_getgr_r.c): Likewise.
17868 (CFLAGS-nscd_gethst_r.c): Likewise.
17869 (CFLAGS-nscd_getai.c): Likewise.
17870 (CFLAGS-nscd_initgroups.c): Likewise.
17871 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
17872 (CFLAGS-pause.c): Likewise.
17873 (CFLAGS-pread.c): Likewise.
17874 (CFLAGS-pread64.c): Likewise.
17875 (CFLAGS-pwrite.c): Likewise.
17876 (CFLAGS-pwrite64.c): Likewise.
17877 (CFLAGS-sleep.c): Likewise.
17878 (CFLAGS-wait.c): Likewise.
17879 (CFLAGS-waitid.c): Likewise.
17880 (CFLAGS-waitpid.c): Likewise.
17881 (CFLAGS-getopt.c): Likewise.
17882 (CFLAGS-wordexp.c): Likewise.
17883 (CFLAGS-sysconf.c): Likewise.
17884 (CFLAGS-pathconf.c): Likewise.
17885 (CFLAGS-fpathconf.c): Likewise.
17886 (CFLAGS-spawn.c): Likewise.
17887 (CFLAGS-spawnp.c): Likewise.
17888 (CFLAGS-spawni.c): Likewise.
17889 (CFLAGS-glob.c): Likewise.
17890 (CFLAGS-glob64.c): Likewise.
17891 (CFLAGS-getconf.c): Likewise.
17892 (CFLAGS-nanosleep.c): Likewise.
17893 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
17894 (CFLAGS-getpwent.c): Likewise.
17895 (CFLAGS-getpw.c): Likewise.
17896 (CFLAGS-fgetpwent_r.c): Likewise.
17897 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
17898 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
17899 (CFLAGS-mq_timedreceive.c): Likewise.
17900 (CFLAGS-mq_timedsend.c): Likewise.
17901 (CFLAGS-clock_nanosleep.c): Likewise.
17902 (CFLAGS-librt-cancellation.c): Likewise.
17903 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
17904 (CFLAGS-getspent.c): Likewise.
17905 (CFLAGS-fgetspent.c): Likewise.
17906 (CFLAGS-fgetspent_r.c): Likewise.
17907 (CFLAGS-putspent.c): Likewise.
17908 (CFLAGS-getspnam.c): Likewise.
17909 (CFLAGS-getspnam_r.c): Likewise.
17910 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
17911 (CFLAGS-sigsuspend.c): Likewise.
17912 (CFLAGS-sigtimedwait.c): Likewise.
17913 (CFLAGS-sigwait.c): Likewise.
17914 (CFLAGS-sigwaitinfo.c): Likewise.
17915 (CFLAGS-sigreturn.c): Likewise.
17916 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17917 (CFLAGS-vfwprintf.c): Likewise.
17918 (CFLAGS-tmpfile.c): Likewise.
17919 (CFLAGS-tmpfile64.c): Likewise.
17920 (CFLAGS-tempname.c): Likewise.
17921 (CFLAGS-psignal.c): Likewise.
17922 (CFLAGS-vprintf.c): Likewise.
17923 (CFLAGS-cuserid.c): Likewise.
17924 (CFLAGS-errlist.c): Likewise.
17925 (CFLAGS-siglist.c): Likewise.
17926 (CFLAGS-scanf15.c): Likewise.
17927 (CFLAGS-scanf17.c): Likewise.
17928 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
17929 (CFLAGS-msort.c): Likewise.
17930 (CFLAGS-qsort.c): Likewise.
17931 (CFLAGS-system.c): Likewise.
17932 (CFLAGS-fmtmsg.c): Likewise.
17933 (CFLAGS-strfmon.c): Likewise.
17934 (CFLAGS-strfmon_l.c): Likewise.
17935 (CFLAGS-strfromd.c): Likewise.
17936 (CFLAGS-strfromf.c): Likewise.
17937 (CFLAGS-strfroml.c): Likewise.
17938 (CFLAGS-tst-bsearch.c): Likewise.
17939 (CFLAGS-tst-qsort.c): Likewise.
17940 (CFLAGS-tst-makecontext2.c): Likewise.
17941 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
17942 (CFLAGS-xnlm_prot.c): Likewise.
17943 (CFLAGS-xrstat.c): Likewise.
17944 (CFLAGS-xyppasswd.c): Likewise.
17945 (CFLAGS-xklm_prot.c): Likewise.
17946 (CFLAGS-xrex.c): Likewise.
17947 (CFLAGS-xsm_inter.c): Likewise.
17948 (CFLAGS-xmount.c): Likewise.
17949 (CFLAGS-xrusers.c): Likewise.
17950 (CFLAGS-xspray.c): Likewise.
17951 (CFLAGS-xnfs_prot.c): Likewise.
17952 (CFLAGS-xrquota.c): Likewise.
17953 (CFLAGS-xkey_prot.c): Likewise.
17954 (CFLAGS-auth_unix.c): Likewise.
17955 (CFLAGS-key_call.c): Likewise.
17956 (CFLAGS-pmap_rmt.c): Likewise.
17957 (CFLAGS-clnt_perr.c): Likewise.
17958 (CFLAGS-openchild.c): Likewise.
17959 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
17960 (CFLAGS-msgsnd.c): Likewise.
17961 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
17962 * time/Makefile (CFLAGS-tzfile.c): Likewise.
17963 (CFLAGS-tzset.c): Likewise.
17964 (CFLAGS-getdate.c): Likewise.
17965 (CFLAGS-test_time.c): Likewise.
17966 (CPPFLAGS-tst-tzname.c): Likewise.
17967 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
17968 (CFLAGS-zic.c): Likewise.
17969 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
17970 (CFLAGS-wcswidth.c): Likewise.
17971 (CFLAGS-wcstol.c): Likewise.
17972 (CFLAGS-wcstoul.c): Likewise.
17973 (CFLAGS-wcstoll.c): Likewise.
17974 (CFLAGS-wcstoull.c): Likewise.
17975 (CFLAGS-wcstod.c): Likewise.
17976 (CFLAGS-wcstold.c): Likewise.
17977 (CFLAGS-wcstof128.c): Likewise.
17978 (CFLAGS-wcstof.c): Likewise.
17979 (CFLAGS-wcstol_l.c): Likewise.
17980 (CFLAGS-wcstoul_l.c): Likewise.
17981 (CFLAGS-wcstoll_l.c): Likewise.
17982 (CFLAGS-wcstoull_l.c): Likewise.
17983 (CFLAGS-wcstod_l.c): Likewise.
17984 (CFLAGS-wcstold_l.c): Likewise.
17985 (CFLAGS-wcstof128_l.c): Likewise.
17986 (CFLAGS-wcstof_l.c): Likewise.
17987 (CPPFLAGS-tst-wchar-h.c): Likewise.
17988 (CPPFLAGS-wcstold_l.c): Likewise.
17990 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
17992 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
17994 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17995 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17997 * manual/tunables.texi (Hardware Capability Tunables): Document
17998 glibc.tune.cached_memopt.
17999 * sysdeps/powerpc/cpu-features.c: New file.
18000 * sysdeps/powerpc/cpu-features.h: New file.
18001 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18002 _dl_powerpc_cpu_features.
18003 * sysdeps/powerpc/dl-tunables.list: New file.
18004 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18005 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18006 (INIT_ARCH): Initialize use_aligned_memopt.
18007 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18008 IS_IN(rtld))]: Restrict dl_platform_init availability and
18009 initialize CPU features used by tunables.
18010 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18011 Add memcpy-power8-cached.
18012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18013 __memcpy_power8_cached.
18014 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18015 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18018 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18020 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18021 (CFLAGS-noinl-tester.c): Likewise.
18022 (CFLAGS-tst-strlen.c): Likewise.
18023 (CFLAGS-stratcliff.c): Likewise.
18024 (CFLAGS-test-ffs.c): Likewise.
18025 (CFLAGS-tst-inlcall.c): Likewise.
18026 (CFLAGS-tst-xbzero-opt.c): Likewise.
18027 (CFLAGS-memcpy.c): Likewise.
18028 (CFLAGS-wordcopy.c): Likewise.
18030 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18032 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18033 Store r15 on stack and add cfi rule.
18034 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18037 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18040 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18043 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18045 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18046 Add s_sinf-sse2 and s_sinf-fma.
18047 (CFLAGS-s_sinf-fma.c): New.
18048 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18049 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18050 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18052 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18054 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18056 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18059 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18060 part of result to imaginary part of argument if it is zero and the
18061 real part of the argument is not finite.
18062 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18063 of result to real part of argument if it is zero and the imaginary
18064 part of the argument is not finite.
18066 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18069 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18070 and to the list of locales to be built for testing.
18071 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18072 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18073 and build the collation rules upon that.
18075 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18077 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18078 * manual/math.texi (Mathematics): Document support for _Float32.
18079 * math/Makefile (test-types): Add float32.
18080 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18081 * stdlib/Versions (GLIBC_2.27): Likewise.
18082 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18083 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18084 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18085 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18086 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18087 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18088 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18089 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18090 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18091 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18092 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18093 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18094 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18095 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18096 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18097 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18098 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18099 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18100 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18101 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18102 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18103 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18105 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18106 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18107 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18108 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18109 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18127 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18128 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18129 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18130 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18131 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18132 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18133 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18134 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18135 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18136 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18145 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18148 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18149 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18150 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18151 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18152 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18154 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18156 * stdlib/strtof.c: Include <bits/floatn.h>
18157 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18158 and later undefine as macro. Define as weak alias if
18160 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18161 and later undefine as macro. Define as weak alias if
18163 * stdlib/strtof_l.c: Include <bits/floatn.h>
18164 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18165 and later undefine as macro. Define as weak alias if
18167 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18168 and later undefine as macro. Define as weak alias if
18171 * stdlib/strfromf.c: Include <bits/floatn.h>.
18172 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18173 and later undefine as macro and define as weak alias.
18175 * math/test-float32.h: New file.
18177 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18178 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18179 (libm_alias_float_other_r): Create f32 alias.
18180 (libm_alias_float_r): Use semicolon before call to
18181 libm_alias_float_other_r.
18183 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18184 second argument to libm_alias_float_other.
18185 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18186 second argument to libm_alias_float_other.
18187 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18188 argument to libm_alias_float_other.
18191 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18192 real part of result for argument 0 + i * NaN.
18193 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18194 results for tests of 0 + i * NaN.
18196 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18198 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18200 2017-12-06 David S. Miller <davem@davemloft.net>
18202 * sysdeps/sparc/fpu/libm-test-ulps: Update
18203 exp_{downward,towardzero,upward} ulps.
18205 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18207 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18210 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18212 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18214 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18219 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18222 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18223 and to the list of locales to be built for testing.
18224 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18225 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18226 and build the collation rules upon that.
18228 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18230 * NEWS: Add sinf to list of optimized functions.
18232 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18234 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18235 (__HAVE_FLOAT32X): Likewise.
18236 * manual/math.texi (Mathematics): Document support for _Float64
18238 * math/Makefile (test-types): Add float64 and float32x.
18239 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18241 * stdlib/Versions (GLIBC_2.27): Likewise.
18242 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18243 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18244 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18245 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18246 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18247 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18250 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18251 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18253 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18254 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18255 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18256 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18257 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18258 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18259 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18260 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18261 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18262 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18263 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18265 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18266 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18267 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18268 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18269 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18286 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18287 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18288 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18289 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18290 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18291 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18292 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18293 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18294 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18295 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18304 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18305 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18306 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18307 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18308 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18309 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18310 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18311 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18313 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18315 * bits/floatn-common.h: Include <bits/long-double.h>.
18316 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18317 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18318 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18319 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18320 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18321 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18322 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18323 (__builtin_huge_valf64): Use __builtin_huge_vall.
18324 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18325 (__builtin_inff64): Use __builtin_infl.
18326 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18327 (__builtin_nanf64): Use __builtin_nanl.
18328 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18329 (__builtin_nansf64): Use __builtin_nansl.
18331 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18332 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18333 Carlos O'Donnell <carlos@redhat.com>
18335 * elf/dl-tunables.list: Add elision parameters.
18336 * manual/tunables.texi: Add entries about elision tunable.
18337 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18338 Add callback functions to dynamically enable/disable elision.
18339 Add multiple callbacks functions to set elision parameters.
18340 Deleted __libc_enable_secure check.
18341 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18342 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18343 * configure: Regenerated.
18344 * configure.ac: Option enable_lock_elision was deleted.
18345 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18346 * config.make.in: Remove references to enable_lock_elision.
18347 * manual/install.texi: Elision configure option was removed.
18348 * INSTALL: Regenerated to remove enable_lock_elision.
18350 Disable elision so it can verify error case for destroying a mutex.
18351 * sysdeps/powerpc/nptl/elide.h:
18352 Cleanup ENABLE_LOCK_ELISION check.
18353 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18354 * sysdeps/s390/configure: Regenerated.
18355 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18356 * nptl/tst-mutex8.c:
18357 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18358 * sysdeps/powerpc/powerpc32/sysdep.h:
18359 Deleted all ENABLE_LOCK_ELISION checks.
18360 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18361 * sysdeps/powerpc/sysdep.h: Likewise.
18362 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18363 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18364 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18365 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18366 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18367 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18368 enable-lock-elision.
18370 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18372 * stdlib/strtod.c: Include <bits/floatn.h>.
18373 (BUILD_DOUBLE): New macro.
18374 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18375 (strtof64): Define and later undefine as macro. Define as weak
18376 alias if [!USE_WIDE_CHAR].
18377 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18378 (wcstof64): Define and later undefine as macro. Define as weak
18379 alias if [USE_WIDE_CHAR].
18380 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18381 (strtof32x): Define and later undefine as macro. Define as weak
18382 alias if [!USE_WIDE_CHAR].
18383 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18384 (wcstof32x): Define and later undefine as macro. Define as weak
18385 alias if [USE_WIDE_CHAR].
18386 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18387 (BUILD_DOUBLE): New macro.
18388 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18389 (strtof64_l): Define and later undefine as macro. Define as weak
18390 alias if [!USE_WIDE_CHAR].
18391 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18392 (wcstof64_l): Define and later undefine as macro. Define as weak
18393 alias if [USE_WIDE_CHAR].
18394 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18395 (strtof32x_l): Define and later undefine as macro. Define as weak
18396 alias if [!USE_WIDE_CHAR].
18397 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18398 (wcstof32x_l): Define and later undefine as macro. Define as weak
18399 alias if [USE_WIDE_CHAR].
18401 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18403 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18404 (reduced): Use ones as double instead of integer.
18406 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18408 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18410 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18412 * stdlib/strfromd.c: Include <bits/floatn.h>.
18413 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18414 and later undefine as macro and define as weak alias.
18415 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18418 * math/test-float32x.h: New file.
18419 * math/test-float64.h: Likewise.
18421 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18422 (libm_alias_double_other_r_f64): New macro.
18423 (libm_alias_double_other_r_f32x): Likewise.
18424 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18425 libm_alias_double_other_r_f32x.
18426 (libm_alias_double_r): Use semicolon before call to
18427 libm_alias_double_other_r.
18428 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18430 (libm_alias_double_other_r_f64): New macro.
18431 (libm_alias_double_other_r_f32x): Likewise.
18432 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18433 libm_alias_double_other_r_f32x.
18435 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18437 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18439 (SINF_FUNC): Likewise. Replace floor with simple casts.
18441 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18444 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18445 and to the list of locales to be built for testing.
18446 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18447 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18448 and build the collation rules upon that.
18450 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18452 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18453 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18454 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18455 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18456 instead of __insn__xxx.
18457 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18458 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18459 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18460 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18461 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18462 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18464 2017-12-05 Florian Weimer <fweimer@redhat.com>
18466 Linux: Implement interfaces for memory protection keys
18467 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18469 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18470 * support/xunistd.h (xsysconf): Declare.
18471 * support/xraise.c: New file.
18472 * support/xsigaction.c: Likewise.
18473 * support/xsignal.c: Likewise.
18474 * support/xsysconf.c: Likewise.
18475 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18476 pkey_set, pkey_get, pkey_mprotect.
18477 [misc] (tests): Add tst-pkey.
18478 (tst-pkey): Link with -lpthread.
18479 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18480 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18481 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18482 (PKEY_DISABLE_WRITE): Define.
18483 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18485 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18486 (SEGV_PKUERR): Add.
18487 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18488 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18489 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18490 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18492 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18493 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18494 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18495 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18496 * sysdeps/unix/sysv/linux/**.abilist: Update.
18498 2017-12-05 Florian Weimer <fweimer@redhat.com>
18500 * support/tst-test_compare.c (subprocess): Use long long instead
18501 of long argument for consistent type width across 32-bit and
18502 64-bit architectures.
18503 (do_test): Adjust expected output.
18505 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18507 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18508 (cosf): Define using libm_alias_float.
18509 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18510 (fabsf): Define using libm_alias_float.
18511 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18512 (fmaf): Define using libm_alias_float.
18513 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18514 (rintf): Define using libm_alias_float.
18515 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18516 (sinf): Define using libm_alias_float.
18517 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18518 <libm-alias-float.h>.
18519 (modff): Define using libm_alias_float.
18520 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18521 <libm-alias-float.h>.
18522 (logbf): Define using libm_alias_float.
18523 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18524 <libm-alias-float.h>.
18525 (ceilf): Define using libm_alias_float.
18526 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18527 <libm-alias-float.h>.
18528 (copysignf): Define using libm_alias_float.
18529 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18530 <libm-alias-float.h>.
18531 (floorf): Define using libm_alias_float.
18532 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18533 <libm-alias-float.h>.
18534 (llrintf): Define using libm_alias_float.
18535 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18536 <libm-alias-float.h>.
18537 (llroundf): Define using libm_alias_float.
18538 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18539 <libm-alias-float.h>.
18540 (lrintf): Define using libm_alias_float.
18541 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18542 <libm-alias-float.h>.
18543 (lroundf): Define using libm_alias_float.
18544 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18545 <libm-alias-float.h>.
18546 (nearbyintf): Define using libm_alias_float.
18547 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18548 <libm-alias-float.h>.
18549 (rintf): Define using libm_alias_float.
18550 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18551 <libm-alias-float.h>.
18552 (roundf): Define using libm_alias_float.
18553 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18554 <libm-alias-float.h>.
18555 (truncf): Define using libm_alias_float.
18556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18557 Include <libm-alias-float.h>.
18558 (ceilf): Define using libm_alias_float.
18559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18560 Include <libm-alias-float.h>.
18561 (copysignf): Define using libm_alias_float.
18562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18563 Include <libm-alias-float.h>.
18564 (floorf): Define using libm_alias_float.
18565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18566 Include <libm-alias-float.h>.
18567 (llrintf): Define using libm_alias_float.
18568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18569 Include <libm-alias-float.h>.
18570 (llroundf): Define using libm_alias_float.
18571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18572 Include <libm-alias-float.h>.
18573 (logbf): Define using libm_alias_float.
18574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18575 Include <libm-alias-float.h>.
18576 (lrintf): Define using libm_alias_float.
18577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18578 Include <libm-alias-float.h>.
18579 (lroundf): Define using libm_alias_float.
18580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18581 Include <libm-alias-float.h>.
18582 (modff): Define using libm_alias_float.
18583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18584 Include <libm-alias-float.h>.
18585 (roundf): Define using libm_alias_float.
18586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18587 Include <libm-alias-float.h>.
18588 (truncf): Define using libm_alias_float.
18589 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18590 <libm-alias-float.h>.
18591 (llrintf): Define using libm_alias_float.
18592 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18593 <libm-alias-float.h>.
18594 (llroundf): Define using libm_alias_float.
18595 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18596 <libm-alias-float.h>.
18597 (ceilf): Define using libm_alias_float.
18598 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18599 <libm-alias-float.h>.
18600 (floorf): Define using libm_alias_float.
18601 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18602 <libm-alias-float.h>.
18603 (llroundf): Define using libm_alias_float.
18604 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18605 <libm-alias-float.h>.
18606 (lroundf): Define using libm_alias_float.
18607 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18608 <libm-alias-float.h>.
18609 (roundf): Define using libm_alias_float.
18610 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18611 <libm-alias-float.h>.
18612 (truncf): Define using libm_alias_float.
18613 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18614 <libm-alias-float.h>.
18615 (copysignf): Define using libm_alias_float.
18616 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18617 <libm-alias-float.h>.
18618 (llrintf): Define using libm_alias_float.
18619 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18620 <libm-alias-float.h>.
18621 (llroundf): Define using libm_alias_float.
18622 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18623 <libm-alias-float.h>.
18624 (lrintf): Define using libm_alias_float.
18625 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18626 <libm-alias-float.h>.
18627 (lroundf): Define using libm_alias_float.
18628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18629 <libm-alias-float.h>.
18630 (ceilf): Define using libm_alias_float.
18631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18632 <libm-alias-float.h>.
18633 (copysignf): Define using libm_alias_float.
18634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18635 <libm-alias-float.h>.
18636 (cosf): Define using libm_alias_float.
18637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18638 <libm-alias-float.h>.
18639 (floorf): Define using libm_alias_float.
18640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18641 <libm-alias-float.h>.
18642 (llrintf): Define using libm_alias_float.
18643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18644 <libm-alias-float.h>.
18645 (llroundf): Define using libm_alias_float.
18646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18647 <libm-alias-float.h>.
18648 (logbf): Define using libm_alias_float.
18649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18650 <libm-alias-float.h>.
18651 (modff): Define using libm_alias_float.
18652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18653 <libm-alias-float.h>.
18654 (roundf): Define using libm_alias_float.
18655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18656 <libm-alias-float.h>.
18657 (sinf): Define using libm_alias_float.
18658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18659 <libm-alias-float.h>.
18660 (truncf): Define using libm_alias_float.
18661 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18662 <libm-alias-float.h>.
18663 (ceilf): Define using libm_alias_float.
18664 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18665 <libm-alias-float.h>.
18666 (copysignf): Define using libm_alias_float.
18667 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18668 <libm-alias-float.h>.
18669 (floorf): Define using libm_alias_float.
18670 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18671 <libm-alias-float.h>.
18672 (llrintf): Define using libm_alias_float.
18673 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18674 <libm-alias-float.h>.
18675 (llroundf): Define using libm_alias_float.
18676 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18677 <libm-alias-float.h>.
18678 (nearbyintf): Define using libm_alias_float.
18679 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18680 <libm-alias-float.h>.
18681 (rintf): Define using libm_alias_float.
18682 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18683 <libm-alias-float.h>.
18684 (roundf): Define using libm_alias_float.
18685 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18686 <libm-alias-float.h>.
18687 (truncf): Define using libm_alias_float.
18688 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18689 <libm-alias-float.h>.
18690 (ceilf): Define using libm_alias_float.
18691 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18692 <libm-alias-float.h>.
18693 (floorf): Define using libm_alias_float.
18694 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18695 <libm-alias-float.h>.
18696 (llroundf): Define using libm_alias_float.
18697 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18698 <libm-alias-float.h>.
18699 (roundf): Define using libm_alias_float.
18700 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18701 <libm-alias-float.h>.
18702 (truncf): Define using libm_alias_float.
18703 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18704 <libm-alias-float.h>.
18705 (copysignf): Define using libm_alias_float.
18706 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18707 <libm-alias-float.h>.
18708 (llrintf): Define using libm_alias_float.
18709 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18710 <libm-alias-float.h>.
18711 (llroundf): Define using libm_alias_float.
18712 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18713 <libm-alias-float.h>.
18714 (cosf): Define using libm_alias_float.
18715 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18716 <libm-alias-float.h>.
18717 (llrintf): Define using libm_alias_float.
18718 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18719 <libm-alias-float.h>.
18720 (llroundf): Define using libm_alias_float.
18721 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18722 <libm-alias-float.h>.
18723 (sinf): Define using libm_alias_float.
18725 2017-12-04 Florian Weimer <fweimer@redhat.com>
18727 * support/check.h (TEST_COMPARE): Define.
18728 (support_test_compare_failure): Declare.
18729 * support/Makefile (libsupport-routines): Add
18730 support_test_compare_failure.
18731 (tests): Add tst-test_compare.
18732 * support /support_test_compare_failure.c: New file.
18733 * support/tst-test_compare.c: Likewise.
18735 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18738 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
18739 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
18740 available, this rewrite of the collation rules does reproduce
18741 the test file in the same order.
18743 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18746 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
18747 digraphs in the month and day names. Using single code points for
18748 digraphs is deprecated. While there are dedicated Unicode
18749 codepoints, for the digraphs, these are included for backwards
18750 compatibility and modern texts use a sequence of Basic Latin
18751 characters. See: https://www.unicode.org/faq/ligature_digraph.html
18752 This makes the month and day names agree exactly with CLDR now,
18753 CLDR does not use the single code points for the digraphs either.
18755 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
18757 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
18759 2017-12-04 Joseph Myers <joseph@codesourcery.com>
18761 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
18764 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
18766 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
18767 Define only for libc.so.
18769 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18771 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18772 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
18773 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
18774 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
18775 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18777 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18780 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
18782 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
18785 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
18786 PREINIT_FUNCTION_WEAK is nonzero.
18787 (gmon_initializer): New function. Put procedure label for it in
18788 .init_array section.
18789 (_init): Don't call PREINIT_FUNCTION.
18790 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
18791 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
18792 value when map argument is null.
18794 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
18795 depi instruction from PIC pc-relative sequence.
18796 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
18797 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
18798 (elf_machine_load_address): Likewise.
18799 (elf_machine_runtime_setup): Likewise.
18801 2017-12-02 Joseph Myers <joseph@codesourcery.com>
18803 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
18804 <libm-alias-double.h>.
18805 (logb): Define using libm_alias_double.
18806 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18807 <libm-alias-double.h>.
18808 (copysign): Define using libm_alias_double.
18809 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
18810 <libm-alias-double.h>.
18811 (llrint): Define using libm_alias_double.
18812 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
18813 <libm-alias-double.h>.
18814 (llround): Define using libm_alias_double.
18815 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18816 <libm-alias-double.h>.
18817 (lrint): Define using libm_alias_double.
18818 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18819 <libm-alias-double.h>.
18820 (lround): Define using libm_alias_double.
18821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18822 Include <libm-alias-double.h>.
18823 (copysign): Define using libm_alias_double.
18824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
18825 Include <libm-alias-double.h>.
18826 (llrint): Define using libm_alias_double.
18827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
18828 Include <libm-alias-double.h>.
18829 (llround): Define using libm_alias_double.
18830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
18831 <libm-alias-double.h>.
18832 (logb): Define using libm_alias_double.
18833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
18834 Include <libm-alias-double.h>.
18835 (lrint): Define using libm_alias_double.
18836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
18837 Include <libm-alias-double.h>.
18838 (lround): Define using libm_alias_double.
18839 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
18840 <libm-alias-double.h>.
18841 (llrint): Define using libm_alias_double.
18842 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18843 <libm-alias-double.h>.
18844 (llround): Define using libm_alias_double.
18845 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18846 <libm-alias-double.h>.
18847 (llround): Define using libm_alias_double.
18848 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18849 <libm-alias-double.h>.
18850 (lround): Define using libm_alias_double.
18851 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18852 <libm-alias-double.h>.
18853 (copysign): Define using libm_alias_double.
18854 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
18855 <libm-alias-double.h>.
18856 (llrint): Define using libm_alias_double.
18857 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18858 <libm-alias-double.h>.
18859 (llround): Define using libm_alias_double.
18860 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18861 <libm-alias-double.h>.
18862 (lrint): Define using libm_alias_double.
18863 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18864 <libm-alias-double.h>.
18865 (lround): Define using libm_alias_double.
18866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
18867 <libm-alias-double.h>.
18868 (copysign): Define using libm_alias_double.
18869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
18870 <libm-alias-double.h>.
18871 (llrint): Define using libm_alias_double.
18873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
18874 <libm-alias-double.h>.
18875 (llround): Define using libm_alias_double.
18876 (lround): Likewise.
18877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
18878 <libm-alias-double.h>.
18879 (logb): Define using libm_alias_double.
18880 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18881 <libm-alias-double.h>.
18882 (copysign): Define using libm_alias_double.
18883 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18884 <libm-alias-double.h>.
18885 (llrint): Define using libm_alias_double.
18887 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
18888 <libm-alias-double.h>.
18889 (llround): Define using libm_alias_double.
18890 (lround): Likewise.
18891 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18892 <libm-alias-double.h>.
18893 (llround): Define using libm_alias_double.
18894 (lround): Likewise.
18895 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18896 <libm-alias-double.h>.
18897 (copysign): Define using libm_alias_double.
18898 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18899 <libm-alias-double.h>.
18900 (llrint): Define using libm_alias_double.
18902 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18903 <libm-alias-double.h>.
18904 (llround): Define using libm_alias_double.
18905 (lround): Likewise.
18906 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18907 <libm-alias-double.h>.
18908 (llrint): Define using libm_alias_double.
18910 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18911 <libm-alias-double.h>.
18912 (llround): Define using libm_alias_double.
18913 (lround): Likewise.
18915 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18918 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
18919 compat symbol based on llround.
18921 * sysdeps/powerpc/power7/fpu/s_logb.c
18922 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
18923 symbol based on __logb, not on logb.
18924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
18925 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
18927 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
18929 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
18930 (rint): Define using libm_alias_double.
18931 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
18932 <libm-alias-double.h>.
18933 (modf): Define using libm_alias_double.
18934 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
18935 <libm-alias-double.h>.
18936 (ceil): Define using libm_alias_double.
18937 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
18938 <libm-alias-double.h>.
18939 (floor): Define using libm_alias_double.
18940 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
18941 <libm-alias-double.h>.
18942 (nearbyint): Define using libm_alias_double.
18943 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
18944 <libm-alias-double.h>.
18945 (rint): Define using libm_alias_double.
18946 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
18947 <libm-alias-double.h>.
18948 (round): Define using libm_alias_double.
18949 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
18950 <libm-alias-double.h>.
18951 (trunc): Define using libm_alias_double.
18952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
18953 <libm-alias-double.h>.
18954 (ceil): Define using libm_alias_double.
18955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
18956 Include <libm-alias-double.h>.
18957 (floor): Define using libm_alias_double.
18958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
18959 <libm-alias-double.h>.
18960 (modf): Define using libm_alias_double.
18961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
18962 Include <libm-alias-double.h>.
18963 (round): Define using libm_alias_double.
18964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
18965 Include <libm-alias-double.h>.
18966 (trunc): Define using libm_alias_double.
18967 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
18968 <libm-alias-double.h>.
18969 (ceil): Define using libm_alias_double.
18970 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
18971 <libm-alias-double.h>.
18972 (floor): Define using libm_alias_double.
18973 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
18974 <libm-alias-double.h>.
18975 (round): Define using libm_alias_double.
18976 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
18977 <libm-alias-double.h>.
18978 (trunc): Define using libm_alias_double.
18979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
18980 <libm-alias-double.h>.
18981 (ceil): Define using libm_alias_double.
18982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
18983 <libm-alias-double.h>.
18984 (floor): Define using libm_alias_double.
18985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
18986 <libm-alias-double.h>.
18987 (modf): Define using libm_alias_double.
18988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
18989 <libm-alias-double.h>.
18990 (round): Define using libm_alias_double.
18991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
18992 <libm-alias-double.h>.
18993 (trunc): Define using libm_alias_double.
18994 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
18995 <libm-alias-double.h>.
18996 (ceil): Define using libm_alias_double.
18997 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
18998 <libm-alias-double.h>.
18999 (floor): Define using libm_alias_double.
19000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19001 <libm-alias-double.h>.
19002 (nearbyint): Define using libm_alias_double.
19003 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19004 <libm-alias-double.h>.
19005 (rint): Define using libm_alias_double.
19006 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19007 <libm-alias-double.h>.
19008 (round): Define using libm_alias_double.
19009 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19010 <libm-alias-double.h>.
19011 (trunc): Define using libm_alias_double.
19012 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19013 <libm-alias-double.h>.
19014 (ceil): Define using libm_alias_double.
19015 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19016 <libm-alias-double.h>.
19017 (floor): Define using libm_alias_double.
19018 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19019 <libm-alias-double.h>.
19020 (round): Define using libm_alias_double.
19021 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19022 <libm-alias-double.h>.
19023 (trunc): Define using libm_alias_double.
19025 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19026 (fabs): Define using libm_alias_double.
19027 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19028 (fma): Define using libm_alias_double.
19029 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19030 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19031 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19032 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19034 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19036 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19038 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19039 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19040 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19043 due redirect macro.
19045 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19047 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19049 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19051 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19052 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19053 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19054 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19057 (libm-sysdep_routines): Add s_nearbyintf-generic and
19058 s_nearbyint-generic.
19059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19072 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19083 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19094 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19105 (sysdep_calls): New rule.
19106 (sysdep_routines): Use sysdep_calls as base.
19107 (libm-sysdep_routines): Add generic rule for symbols shared with
19108 libc. Add s_copysign-generic and s_copysign-generic objects.
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19118 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19121 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19122 the list of locales to be built for testing.
19123 * localedata/is_IS.UTF-8.in: New file.
19124 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19127 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19129 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19130 <libm-alias-float.h>.
19131 (fabsf): Define using libm_alias_float.
19133 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19135 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19137 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19139 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19140 <libm-alias-float.h>.
19141 (fabsf): Define using libm_alias_float.
19142 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19143 <libm-alias-float.h>.
19144 (lrintf): Define using libm_alias_float.
19145 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19146 <libm-alias-float.h>.
19147 (rintf): Define using libm_alias_float.
19149 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19150 <libm-alias-double.h>.
19151 (fabs): Define using libm_alias_double.
19152 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19153 <libm-alias-double.h>.
19154 (lrint): Define using libm_alias_double.
19155 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19156 <libm-alias-double.h>.
19157 (rint): Define using libm_alias_double.
19159 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19160 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19161 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19162 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19163 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19164 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19165 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19166 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19167 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19168 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19169 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19170 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19171 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19172 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19173 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19174 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19175 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19176 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19178 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19179 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19180 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19182 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19183 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19184 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19186 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19187 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19188 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19189 s_expm1_template.c.
19190 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19191 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19192 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19194 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19195 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19196 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19197 s_floor_template.c.
19198 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19199 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19200 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19201 s_frexp_template.c.
19202 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19203 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19204 s_lrint_template.c.
19205 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19206 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19207 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19209 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19210 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19211 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19212 s_nearbyint_template.c.
19213 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19214 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19215 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19216 s_remquo_template.c.
19217 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19218 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19219 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19221 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19222 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19223 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19225 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19226 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19227 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19228 s_sincos_template.c.
19229 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19230 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19231 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19233 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19234 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19235 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19237 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19238 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19239 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19240 s_trunc_template.c.
19241 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19242 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19243 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19244 s_atan.c instead of including s_atan.c.
19245 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19246 s_atanf.c instead of including s_atanf.c.
19247 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19248 s_atanl.c instead of including s_atanl.c.
19249 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19250 instead of s_atan.c.
19251 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19252 instead of s_atanf.c.
19253 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19254 instead of s_atanl.c.
19256 * scripts/update-copyrights: Do not handle intl/plural.c
19259 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19262 * configure.ac (BISON): Require to be present.
19263 * configure: Regenerated.
19264 * intl/Makefile (generated): Add plural.c.
19265 [$(BISON) != no]: Make code unconditional.
19266 (plural.c): Change rule to $(objpfx)plural.c.
19267 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19268 * intl/plural.c: Remove.
19269 * manual/install.texi (Tools for Compilation): Document bison as
19271 * INSTALL: Regenerated.
19273 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19275 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19276 <libm-alias-double.h>.
19277 (llrint): Define using libm_alias_double.
19278 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19279 <libm-alias-float.h>.
19280 (llrintf): Define using libm_alias_float.
19281 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19282 <libm-alias-ldouble.h>.
19283 (llrintl): Define using libm_alias_ldouble.
19285 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19286 declare_mgen_alias instead of weak_alias.
19287 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19288 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19289 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19291 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19293 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19295 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19296 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19297 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19299 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19300 Add submul_1-generic.
19301 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19302 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19303 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19305 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19306 Add addmul_1-generic.
19307 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19308 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19309 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19311 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19313 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19314 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19315 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19317 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19319 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19320 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19321 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19323 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19325 According to CLDR, collation rules for Serbian and Bosnian
19326 should be the same as for Croatian.
19329 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19330 and to the list of locales to be built for testing.
19331 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19332 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19333 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19334 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19336 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19338 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19339 to make test case pass.
19340 * localedata/hr_HR.UTF-8.in: Add more test strings.
19342 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19344 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19346 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19348 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19349 the list of locales to built for testing.
19350 * localedata/hr_HR.UTF-8.in: New file.
19352 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19355 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19357 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19358 CLDR (except use ligatures for the digraphs, CLDR does not use
19359 the ligatures), add first_workday, some fixes in the date and time
19361 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19363 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19364 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19365 Add int_p_cs_precedes and int_n_cs_precedes.
19366 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19367 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19369 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19370 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19372 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19373 and lang_lib. Change postal_fmt.
19375 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19377 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19379 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19380 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19381 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19382 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19383 * sysdeps/generic/setjmpP.h: New file.
19384 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19385 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19386 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19387 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19388 Add jmp_buf-ssp.sym.
19389 (tests): Add tst-saved_mask-1.
19391 2017-11-30 Arjun Shankar <arjun@redhat.com>
19395 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19396 instead of request2size.
19398 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19401 (__lllrint): Remove alias.
19402 (lllrint): Likewise.
19403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19404 (__lllrintf): Likewise.
19405 (lllrintf): Likewise.
19407 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19408 <libm-alias-float.h>.
19409 (copysignf): Define using libm_alias_float.
19410 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19411 <libm-alias-float.h>.
19412 (fabsf): Define using libm_alias_float.
19413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19414 Include <libm-alias-float.h>.
19415 (copysignf): Define using libm_alias_float.
19416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19417 <libm-alias-float.h>.
19418 (fabsf): Define using libm_alias_float.
19419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19420 <libm-alias-float.h>.
19421 (fdimf): Define using libm_alias_float.
19422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19423 <libm-alias-float.h>.
19424 (fmaf): Define using libm_alias_float.
19425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19426 <libm-alias-float.h>.
19427 (llrintf): Define using libm_alias_float.
19428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19429 Include <libm-alias-float.h>.
19430 (nearbyintf): Define using libm_alias_float.
19431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19432 <libm-alias-float.h>.
19433 (rintf): Define using libm_alias_float.
19434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19435 <libm-alias-float.h>.
19436 (llrintf): Define using libm_alias_float.
19437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19438 <libm-alias-float.h>.
19439 (lrintf): Define using libm_alias_float.
19440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19441 <libm-alias-float.h>.
19442 (nearbyintf): Define using libm_alias_float.
19443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19444 <libm-alias-float.h>.
19445 (rintf): Define using libm_alias_float.
19446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19447 <libm-alias-float.h>.
19448 (ceilf): Define using libm_alias_float.
19449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19450 <libm-alias-float.h>.
19451 (floorf): Define using libm_alias_float.
19452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19453 <libm-alias-float.h>.
19454 (fmaf): Define using libm_alias_float.
19455 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19456 <libm-alias-float.h>.
19457 (lrintf): Define using libm_alias_float.
19458 (llrintf): Likewise.
19459 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19460 <libm-alias-float.h>.
19461 (nearbyintf): Define using libm_alias_float.
19462 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19463 <libm-alias-float.h>.
19464 (rintf): Define using libm_alias_float.
19465 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19466 <libm-alias-float.h>.
19467 (truncf): Define using libm_alias_float.
19468 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19469 <libm-alias-float.h>.
19470 (copysignf): Define using libm_alias_float.
19471 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19472 <libm-alias-float.h>.
19473 (fabsf): Define using libm_alias_float.
19474 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19475 <libm-alias-float.h>.
19476 (lrintf): Define using libm_alias_float.
19477 (llrintf): Likewise.
19478 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19479 <libm-alias-float.h>.
19480 (nearbyintf): Define using libm_alias_float.
19481 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19482 <libm-alias-float.h>.
19483 (rintf): Define using libm_alias_float.
19485 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19487 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19488 <libm-alias-double.h>.
19489 (copysign): Define using libm_alias_double.
19490 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19491 <libm-alias-double.h>.
19492 (fabs): Define using libm_alias_double.
19493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19494 Include <libm-alias-double.h>.
19495 (copysign): Define using libm_alias_double.
19496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19497 <libm-alias-double.h>.
19498 (fabs): Define using libm_alias_double.
19499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19500 <libm-alias-double.h>.
19501 (fdim): Define using libm_alias_double.
19502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19503 <libm-alias-double.h>.
19504 (fma): Define using libm_alias_double.
19505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19506 <libm-alias-double.h>.
19507 (llrint): Define using libm_alias_double.
19508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19509 Include <libm-alias-double.h>.
19510 (nearbyint): Define using libm_alias_double.
19511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19512 <libm-alias-double.h>.
19513 (rint): Define using libm_alias_double.
19514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19515 <libm-alias-double.h>.
19516 (fabs): Define using libm_alias_double.
19517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19518 <libm-alias-double.h>.
19519 (llrint): Define using libm_alias_double.
19520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19521 <libm-alias-double.h>.
19522 (nearbyint): Define using libm_alias_double.
19523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19524 <libm-alias-double.h>.
19525 (rint): Define using libm_alias_double.
19526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19527 <libm-alias-double.h>.
19528 (ceil): Define using libm_alias_double.
19529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19530 <libm-alias-double.h>.
19531 (floor): Define using libm_alias_double.
19532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19533 <libm-alias-double.h>.
19534 (fma): Define using libm_alias_double.
19535 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19536 <libm-alias-double.h>.
19537 (lrint): Define using libm_alias_double.
19538 (llrint): Likewise.
19539 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19540 <libm-alias-double.h>.
19541 (nearbyint): Define using libm_alias_double.
19542 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19543 <libm-alias-double.h>.
19544 (rint): Define using libm_alias_double.
19545 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19546 <libm-alias-double.h>.
19547 (trunc): Define using libm_alias_double.
19548 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19549 <libm-alias-double.h>.
19550 (copysign): Define using libm_alias_double.
19551 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19552 <libm-alias-double.h>.
19553 (fabs): Define using libm_alias_double.
19554 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19555 <libm-alias-double.h>.
19556 (lrint): Define using libm_alias_double.
19557 (llrint): Likewise.
19558 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19559 <libm-alias-double.h>.
19560 (nearbyint): Define using libm_alias_double.
19561 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19562 <libm-alias-double.h>.
19563 (rint): Define using libm_alias_double.
19566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19568 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19570 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19571 SPARC --disable-multi-arch glibc variants.
19573 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19574 <libm-alias-float.h>.
19575 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19577 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19578 <libm-alias-float.h>.
19579 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19581 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19582 <libm-alias-float.h>.
19583 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19585 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19586 <libm-alias-float.h>.
19587 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19589 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19590 <libm-alias-float.h>.
19591 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19593 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19594 <libm-alias-float.h>.
19595 (ceilf): Define using libm_alias_float.
19596 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19597 <libm-alias-float.h>.
19598 (floorf): Define using libm_alias_float.
19599 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19600 <libm-alias-float.h>.
19601 (fmaf): Define using libm_alias_float.
19602 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19603 <libm-alias-float.h>.
19604 (nearbyintf): Define using libm_alias_float.
19605 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19606 <libm-alias-float.h>.
19607 (rintf): Define using libm_alias_float.
19608 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19609 <libm-alias-float.h>.
19610 (truncf): Define using libm_alias_float.
19611 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19612 (copysignf): Define using libm_alias_float.
19613 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19614 (cosf): Define using libm_alias_float.
19615 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19616 (fabsf): Define using libm_alias_float.
19617 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19618 (fmaxf): Define using libm_alias_float.
19619 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19620 (fminf): Define using libm_alias_float.
19621 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19622 (llrintf): Define using libm_alias_float.
19623 [!__ILP32__] (lrintf): Likewise.
19624 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19625 (sincosf): Define using libm_alias_float.
19626 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19627 (sinf): Define using libm_alias_float.
19628 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19629 (lrintf): Define using libm_alias_float.
19631 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19632 <libm-alias-double.h>.
19633 (atan): Define using libm_alias_double.
19634 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19635 <libm-alias-double.h>.
19636 (ceil): Define using libm_alias_double.
19637 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19638 <libm-alias-double.h>.
19639 (floor): Define using libm_alias_double.
19640 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19641 <libm-alias-double.h>.
19642 (fma): Define using libm_alias_double.
19643 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19644 <libm-alias-double.h>.
19645 (nearbyint): Define using libm_alias_double.
19646 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19647 <libm-alias-double.h>.
19648 (rint): Define using libm_alias_double.
19649 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19650 <libm-alias-double.h>.
19651 (sin): Define using libm_alias_double.
19653 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19654 <libm-alias-double.h>.
19655 (tan): Define using libm_alias_double.
19656 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19657 <libm-alias-double.h>.
19658 (trunc): Define using libm_alias_double.
19659 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19660 (copysign): Define using libm_alias_double.
19661 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19662 (fabs): Define using libm_alias_double.
19663 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19664 (fmax): Define using libm_alias_double.
19665 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19666 (fmin): Define using libm_alias_double.
19667 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19668 (llrint): Define using libm_alias_double.
19669 [!__ILP32__] (lrint): Likewise.
19670 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19671 (lrint): Define using libm_alias_double.
19673 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19675 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19676 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19678 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19679 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19680 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19685 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19686 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19688 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19689 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19690 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19695 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19696 (libm-sysdep_routines): Add s_nearbyint-generic and
19697 s_nearbyintf-generic objects.
19698 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19699 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19700 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19701 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19702 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19703 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19705 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19706 Add s_finitef-generic and s_finite-generic objects.
19707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19715 Add s_isinff-generic and s_isinf-generic objects.
19716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19724 Add s_isnanf-generic and s_isnan-generic objects.
19725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
19730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19732 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
19734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
19736 (sysdep_routines): Use sysdep_calls as base.
19737 (libm-sysdep_routines): Add generic rule for symbols shared with
19738 libc. Add s_signbit-generic and s_signbitf-generic objects.
19739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
19740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
19741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
19742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
19743 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
19744 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19746 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19748 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
19749 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
19750 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
19751 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
19752 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
19753 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
19754 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
19755 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
19756 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
19757 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
19758 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
19759 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
19760 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
19761 libm_alias_float_r.
19762 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
19763 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
19765 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
19766 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
19767 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
19768 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
19769 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
19770 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
19771 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
19772 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
19773 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
19774 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
19776 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
19778 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
19779 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
19780 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
19781 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
19782 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
19783 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
19784 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
19785 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
19786 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
19787 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
19788 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
19789 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
19790 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
19791 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
19792 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
19793 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
19794 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
19795 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
19796 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
19798 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
19799 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
19800 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
19801 * sysdeps/ia64/fpu/w_lgammaf_main.c
19802 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
19803 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
19805 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19806 Alexandre Oliva <aoliva@redhat.com>
19809 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
19810 * localedata/fr_CA.UTF-8.in: New file with test data for backward
19812 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
19814 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
19815 * localedata/locales/de_DE (LC_COLLATE): Likewise.
19816 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
19817 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
19818 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
19819 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
19820 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
19821 instead of “ifdef DIACRIT_BACKWARD”.
19823 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19825 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
19826 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
19827 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
19828 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
19829 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
19830 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
19831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
19832 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
19833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
19834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
19835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
19836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
19837 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
19838 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
19839 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
19840 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19841 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
19842 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
19843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19844 ($(have-as-vis3) == yes): Remove conditional.
19845 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
19847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
19849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
19851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
19853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
19855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
19856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
19857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
19858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
19859 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
19860 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
19861 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
19862 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
19864 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19866 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
19867 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
19868 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
19869 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
19870 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
19871 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
19872 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
19873 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
19874 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
19875 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
19876 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
19877 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
19878 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
19879 libm_alias_double_r.
19880 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
19882 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
19883 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
19884 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
19885 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
19886 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
19887 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
19888 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
19889 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
19890 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
19891 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
19892 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
19894 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
19896 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
19897 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
19898 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
19899 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
19900 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
19901 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
19902 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
19903 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
19904 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
19905 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
19906 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
19907 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
19908 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
19909 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
19910 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
19911 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
19912 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
19913 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
19915 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
19916 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
19917 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
19918 * sysdeps/ia64/fpu/w_lgamma_main.c
19919 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
19920 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
19922 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
19924 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
19925 address of $global$ into %dp register earlier. Use pc-relative
19926 instruction sequence for PIC case.
19928 2017-11-28 Joseph Myers <joseph@codesourcery.com>
19930 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
19931 (asinhf): Define using libm_alias_float.
19932 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
19933 (atanf): Define using libm_alias_float.
19934 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
19935 (cbrtf): Define using libm_alias_float.
19936 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
19937 (ceilf): Define using libm_alias_float.
19938 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19939 (copysignf): Define using libm_alias_float.
19940 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
19941 (expm1f): Define using libm_alias_float.
19942 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
19943 (fabsf): Define using libm_alias_float.
19944 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
19945 (floorf): Define using libm_alias_float.
19946 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19947 (fmaxf): Define using libm_alias_float.
19948 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
19949 (fminf): Define using libm_alias_float.
19950 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
19951 (frexpf): Define using libm_alias_float.
19952 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19953 (llrintf): Define using libm_alias_float.
19954 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
19955 (logbf): Define using libm_alias_float.
19956 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19957 (lrintf): Define using libm_alias_float.
19958 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
19959 (nearbyintf): Define using libm_alias_float.
19960 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
19961 (remquof): Define using libm_alias_float.
19962 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
19963 (rintf): Define using libm_alias_float.
19964 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
19965 (truncf): Define using libm_alias_float.
19966 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
19967 <libm-alias-float.h>.
19968 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19970 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
19971 <libm-alias-float.h>.
19972 (expf): Define using libm_alias_float, or libm_alias_float_other
19974 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
19975 <libm-alias-float.h>.
19976 (log2f): Define using libm_alias_float, or libm_alias_float_other
19978 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
19979 <libm-alias-float.h>.
19980 (logf): Define using libm_alias_float, or libm_alias_float_other
19982 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
19983 <libm-alias-float.h>.
19984 (powf): Define using libm_alias_float, or libm_alias_float_other
19986 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
19987 <libm-alias-float.h>.
19988 (cosf): Define using libm_alias_float.
19989 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
19990 <libm-alias-float.h>.
19991 (sincosf): Define using libm_alias_float.
19992 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
19993 <libm-alias-float.h>.
19994 (sinf): Define using libm_alias_float.
19995 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19996 (fmaxf): Define using libm_alias_float.
19997 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
19998 (fminf): Define using libm_alias_float.
19999 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20000 <libm-alias-float.h>.
20001 (fmaf): Define using libm_alias_float.
20003 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20004 (asinh): Define using libm_alias_double.
20005 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20006 (atan): Define using libm_alias_double.
20007 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20008 (cbrt): Define using libm_alias_double.
20009 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20010 (ceil): Define using libm_alias_double.
20011 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20012 (copysign): Define using libm_alias_double.
20013 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20014 (expm1): Define using libm_alias_double.
20015 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20016 (fabs): Define using libm_alias_double.
20017 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20018 (fdim): Define using libm_alias_double.
20019 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20020 (floor): Define using libm_alias_double.
20021 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20022 (fmax): Define using libm_alias_double.
20023 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20024 (fmin): Define using libm_alias_double.
20025 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20026 (frexp): Define using libm_alias_double.
20027 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20028 (llrint): Define using libm_alias_double.
20029 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20030 (logb): Define using libm_alias_double.
20031 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20032 (lrint): Define using libm_alias_double.
20033 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20034 (nearbyint): Define using libm_alias_double.
20035 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20036 (remquo): Define using libm_alias_double.
20037 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20038 (rint): Define using libm_alias_double.
20039 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20040 (trunc): Define using libm_alias_double.
20041 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20042 (fmax): Define using libm_alias_double.
20043 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20044 (fmin): Define using libm_alias_double.
20045 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20046 (fma): Define using libm_alias_double.
20048 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20051 * elf/dl-hwcaps.c (ROUND): Removed.
20052 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20053 and ELF_NOTE_NEXT_OFFSET.
20054 * elf/dl-load.c (ROUND): Removed.
20055 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20056 * elf/readelflib.c (ROUND): Removed.
20057 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20058 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20059 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20060 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20062 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20064 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20065 [!__fmaf] (fmaf): Define using libm_alias_float.
20067 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20068 [!__fma] (fma): Define using libm_alias_double.
20069 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20071 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20074 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20075 and implement the collation rules for cs from CLDR on top of that.
20076 * Makefile: Add cs_CZ.UTF-8 to test-input.
20077 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20079 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20081 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20083 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20084 Icarus Sparry <icarus.w.sparry@intel.com>
20086 * benchtests/Makefile:Add BENCHSET to allow subsets of
20087 benchmarks to be run.
20088 * benchtests/README: Add documentation for: Running subsets of
20091 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20093 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20094 range of tests names.
20096 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20097 result from property and remove "max", min" and "mean" from
20098 required properties based on benchtests/bench-skeleton.c.
20100 2017-11-28 Florian Weimer <fweimer@redhat.com>
20103 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20104 due to Internet requirement.
20105 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20107 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20109 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20111 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20112 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20113 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20114 (sysdep_routines): Add memset-ultra1.
20115 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20117 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20118 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20119 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20120 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20121 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20122 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20123 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20124 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20126 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20128 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20129 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20130 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20131 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20132 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20133 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20134 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20136 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20137 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20138 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20139 (sysdep_routines): Add memcpy-ultra1.
20140 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20141 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20143 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20145 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20146 (cfloat_versions): Take function argument without trailing 'f'.
20147 Call libm_alias_float_other.
20148 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20149 * sysdeps/alpha/fpu/cargf.c: Likewise.
20150 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20151 * sysdeps/alpha/fpu/conjf.c: Likewise.
20152 * sysdeps/alpha/fpu/crealf.c: Likewise.
20153 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20154 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20155 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20156 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20157 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20158 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20159 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20160 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20161 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20162 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20163 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20164 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20165 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20166 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20167 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20168 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20169 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20170 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20171 (clog10f): Use libm_alias_float_other.
20172 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20173 (ceilf): Define using libm_alias_float.
20174 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20175 (copysignf): Define using libm_alias_float.
20176 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20177 (fabsf): Define using libm_alias_float.
20178 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20179 (floorf): Define using libm_alias_float.
20180 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20181 (fmaxf): Define using libm_alias_float.
20182 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20183 (fminf): Define using libm_alias_float.
20184 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20185 (lrintf): Define using libm_alias_float.
20186 (llrintf): Likewise.
20187 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20188 (lroundf): Define using libm_alias_float.
20189 (llroundf): Likewise.
20190 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20191 (rintf): Define using libm_alias_float.
20192 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20193 (truncf): Define using libm_alias_float.
20195 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20196 (ceilf): Define using libm_alias_float.
20197 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20198 (floorf): Define using libm_alias_float.
20199 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20200 (fmaf): Define using libm_alias_float.
20201 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20202 (fmaxf): Define using libm_alias_float.
20203 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20204 (fminf): Define using libm_alias_float.
20205 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20206 (llrintf): Define using libm_alias_float.
20207 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20208 (llroundf): Define using libm_alias_float.
20209 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20210 (lrintf): Define using libm_alias_float.
20211 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20212 (lroundf): Define using libm_alias_float.
20213 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20214 <libm-alias-float.h>.
20215 (nearbyintf): Define using libm_alias_float.
20216 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20217 (rintf): Define using libm_alias_float.
20218 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20219 (roundf): Define using libm_alias_float.
20220 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20221 (truncf): Define using libm_alias_float.
20223 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20224 (ceil): Define using libm_alias_double.
20225 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20226 (copysign): Define using libm_alias_double.
20227 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20228 (fabs): Define using libm_alias_double.
20229 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20230 (floor): Define using libm_alias_double.
20231 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20232 (fmax): Define using libm_alias_double.
20233 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20234 (fmin): Define using libm_alias_double.
20235 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20236 (lrint): Define using libm_alias_double.
20237 (llrint): Likewise.
20238 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20239 (lround): Define using libm_alias_double.
20240 (llround): Likewise.
20241 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20242 (rint): Define using libm_alias_double.
20243 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20244 (trunc): Define using libm_alias_double.
20246 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20247 (libm_alias_double_r): Add semicolon after weak_alias call.
20249 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20251 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20252 (ceil): Define using libm_alias_double.
20253 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20254 (floor): Define using libm_alias_double.
20255 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20256 (fma): Define using libm_alias_double.
20257 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20258 (fmax): Define using libm_alias_double.
20259 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20260 (fmin): Define using libm_alias_double.
20261 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20262 (llrint): Define using libm_alias_double.
20263 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20264 (llround): Define using libm_alias_double.
20265 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20266 (lrint): Define using libm_alias_double.
20267 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20268 (lround): Define using libm_alias_double.
20269 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20270 (nearbyint): Define using libm_alias_double.
20271 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20272 (rint): Define using libm_alias_double.
20273 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20274 (round): Define using libm_alias_double.
20275 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20276 (trunc): Define using libm_alias_double.
20278 2017-11-27 Florian Weimer <fweimer@redhat.com>
20280 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20281 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20282 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20283 (tests): Add tst-mlock2.
20284 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20285 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20286 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20287 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20288 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20289 for mlock. Document mlock2.
20291 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20293 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20294 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20296 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20298 * sysdeps/x86/Makeconfig: New file.
20299 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20300 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20301 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20302 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20303 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20304 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20305 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20307 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20308 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20309 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20310 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20311 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20312 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20313 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20314 * manual/math.texi (Mathematics): Document support for _Float64x.
20315 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20316 * stdlib/Versions (GLIBC_2.27): Likewise.
20317 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20318 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20319 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20320 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20321 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20322 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20323 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20324 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20325 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20326 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20327 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20328 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20333 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20334 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20335 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20336 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20337 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20338 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20339 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20340 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20341 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20342 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20343 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20344 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20345 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20346 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20348 2017-11-27 Andreas Schwab <schwab@suse.de>
20350 * elf/Makefile (dl-routines): Add dl-sort-maps.
20351 * elf/dl-sort-maps.c: New file.
20352 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20353 (_dl_sort_maps): Declare.
20354 * elf/dl-fini.c (_dl_sort_fini): Remove.
20355 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20356 * elf/dl-close.c (_dl_close_worker): Likewise.
20357 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20359 * elf/dl-open.c (dl_open_worker): Likewise.
20361 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20363 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20364 using libm_alias_float128.
20365 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20367 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20369 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20370 (setpayloadsigf128): Likewise.
20371 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20373 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20376 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20377 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20378 -mfloat128 to CFLAGS.
20380 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20382 (CFLAGS-libm-test-support-float64x.c): New variable.
20383 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20384 $(f128-loader-link) to gnulib-tests.
20386 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20387 (libm_alias_float128_other_r): If
20388 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20390 (libm_alias_float128_r): Add semicolon after weak_alias call.
20391 * sysdeps/generic/libm-alias-ldouble.h
20392 (libm_alias_ldouble_other_r_f128): New macro.
20393 (libm_alias_ldouble_other_r_f64x): Likewise.
20394 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20395 and libm_alias_ldouble_other_r_f64x.
20396 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20397 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20398 (libm_alias_ldouble_other_r_f128): New macro.
20399 (libm_alias_ldouble_other_r_f64x): Likewise.
20400 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20401 and libm_alias_ldouble_other_r_f64x.
20403 * stdlib/strfroml.c: Always include <stdlib.h>.
20404 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20405 undefine as macro and define as weak alias.
20406 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20407 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20409 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20410 Define and later undefine as macro and define as weak alias.
20412 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20413 Define and later undefine as macro. Define as weak alias if
20415 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20416 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20417 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20418 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20419 Define and later undefine as macro. Define as weak alias if
20421 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20422 Define and later undefine as macro. Define as weak alias if
20424 * sysdeps/ieee754/float128/strtof128_l.c
20425 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20426 Define and later undefine as macro. Define as weak alias if
20428 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20429 Define and later undefine as macro. Define as weak alias if
20431 * sysdeps/ieee754/ldbl-128/strtold_l.c
20432 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20433 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20434 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20435 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20436 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20437 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20438 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20439 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20440 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20441 * sysdeps/ieee754/ldbl-96/strtold_l.c
20442 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20443 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20444 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20445 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20447 * math/test-float64x.h: New file.
20448 * math/Makefile (type-float64x-yes): New variable.
20449 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20451 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20452 function-like macro.
20453 (min_of_type_): Likewise.
20454 (min_of_type_l): Likewise.
20455 (min_of_type_f128): Likewise.
20456 (min_of_type): Pass () as last argument of __MATH_TG.
20458 * stdlib/tst-strtod-round-skeleton.c
20459 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20462 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20463 for combinations of long double with _Float64 and _Float64x.
20465 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20466 (__DECL_SIMD_cosf32): Likewise.
20467 (__DECL_SIMD_cosf64): Likewise.
20468 (__DECL_SIMD_cosf32x): Likewise.
20469 (__DECL_SIMD_cosf64x): Likewise.
20470 (__DECL_SIMD_cosf128x): Likewise.
20471 (__DECL_SIMD_sinf16): Likewise.
20472 (__DECL_SIMD_sinf32): Likewise.
20473 (__DECL_SIMD_sinf64): Likewise.
20474 (__DECL_SIMD_sinf32x): Likewise.
20475 (__DECL_SIMD_sinf64x): Likewise.
20476 (__DECL_SIMD_sinf128x): Likewise.
20477 (__DECL_SIMD_sincosf16): Likewise.
20478 (__DECL_SIMD_sincosf32): Likewise.
20479 (__DECL_SIMD_sincosf64): Likewise.
20480 (__DECL_SIMD_sincosf32x): Likewise.
20481 (__DECL_SIMD_sincosf64x): Likewise.
20482 (__DECL_SIMD_sincosf128x): Likewise.
20483 (__DECL_SIMD_logf16): Likewise.
20484 (__DECL_SIMD_logf32): Likewise.
20485 (__DECL_SIMD_logf64): Likewise.
20486 (__DECL_SIMD_logf32x): Likewise.
20487 (__DECL_SIMD_logf64x): Likewise.
20488 (__DECL_SIMD_logf128x): Likewise.
20489 (__DECL_SIMD_expf16): Likewise.
20490 (__DECL_SIMD_expf32): Likewise.
20491 (__DECL_SIMD_expf64): Likewise.
20492 (__DECL_SIMD_expf32x): Likewise.
20493 (__DECL_SIMD_expf64x): Likewise.
20494 (__DECL_SIMD_expf128x): Likewise.
20495 (__DECL_SIMD_powf16): Likewise.
20496 (__DECL_SIMD_powf32): Likewise.
20497 (__DECL_SIMD_powf64): Likewise.
20498 (__DECL_SIMD_powf32x): Likewise.
20499 (__DECL_SIMD_powf64x): Likewise.
20500 (__DECL_SIMD_powf128x): Likewise.
20502 * stdlib/Versions (libc): Move entries for wcstof128 and
20503 wcstof128_l to ....
20504 * wcsmbs/Versions (libc): ... here.
20505 Include <float128-abi.h>.
20507 2017-11-24 Florian Weimer <fweimer@redhat.com>
20509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20510 bits/mman-shared.h.
20511 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20512 <bits/mman-shared.h>.
20513 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20515 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20516 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20517 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20518 <bits/mman-shared.h>.
20520 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20523 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20524 posix_memalign/free.
20525 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20527 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20530 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20531 and implement the collation rules for pl from CLDR on top of that.
20532 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20533 of locales to be built for testing.
20534 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20536 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20538 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20539 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20540 libm_alias_ldouble_other.
20541 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20542 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20543 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20544 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20545 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20546 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20547 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20548 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20549 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20550 libm_alias_ldouble_r.
20551 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20552 libm_alias_ldouble_other.
20553 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20554 (log10l): Likewise.
20555 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20556 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20557 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20558 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20559 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20560 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20561 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20562 (atan2l): Likewise.
20563 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20564 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20565 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20566 libm_alias_ldouble.
20567 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20569 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20570 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20571 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20573 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20574 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20575 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20576 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20577 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20578 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20579 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20580 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20581 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20582 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20583 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20584 libm_alias_ldouble.
20585 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20586 libm_alias_ldouble_other.
20587 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20588 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20589 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20590 libm_alias_ldouble.
20591 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20592 libm_alias_ldouble_other.
20593 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20594 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20595 * sysdeps/ia64/fpu/w_lgammal_main.c
20596 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20597 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20599 2017-11-23 Florian Weimer <fweimer@redhat.com>
20601 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20602 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20603 alike. Remove freeres marker.
20604 * malloc/arena.c (arena_thread_freeres): Call
20605 tcache_thread_shutdown.
20607 2017-11-23 Florian Weimer <fweimer@redhat.com>
20610 Export nscd hash function as __nss_hash.
20611 * include/nss.h (__nss_hash): Declare.
20612 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20614 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20615 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20617 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20618 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20619 * nss/Makefiles (routines): Add nss_hash.
20620 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20621 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20622 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20623 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20625 2017-11-23 Florian Weimer <fweimer@redhat.com>
20628 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20629 Return error code, not -1.
20630 * signal/tst-sigwait-eintr.c: New file.
20631 * signal/Makefile (tests): Add tst-sigwait-eintr.
20633 2017-11-23 Florian Weimer <fweimer@redhat.com>
20635 Linux: Add memfd_create system call wrapper
20636 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20638 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20639 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20640 [__USE_GNU] (memfd_create): Declare.
20641 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20642 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20643 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20644 * sysdeps/unix/sysv/linux/**.abilist: Update.
20645 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20647 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20649 * localedata/gen-locale.sh: Fix typo in variable name.
20651 * resolv/res_debug.c (p_secstodate): Condition definition on
20652 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20653 directly as __p_secstodate, and as a compat symbol. Do not use
20654 libresolv_hidden_def.
20655 * resolv/resolv.h (p_secstodate): Remove macro and function
20657 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20658 using p_secstodate.
20659 * include/resolv.h (__p_secstodate): Do not use
20660 libresolv_hidden_proto.
20661 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20662 (tests-internal): ... here.
20663 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20664 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20665 and declare and use __p_secstodate and use compat_symbol_reference
20667 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20668 implementation returning 77.
20671 * resolv/res_debug.c: Include <libc-diag.h>.
20672 (p_secstodate): Assert time_t at least as wide as u_long. On
20673 overflow, use integer seconds since the epoch as output, or use
20674 "<overflow>" as output and set errno to EOVERFLOW if integer
20675 seconds since the epoch would be 14 or more characters.
20676 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20678 * resolv/tst-p_secstodate.c: New file.
20679 * resolv/Makefile (tests): Add tst-p_secstodate.
20680 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20682 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20683 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20684 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20686 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20688 * posix/regcomp.c (init_word_char): Add comments.
20690 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20693 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20694 strlen to compute length of ut_user and set trailing NUL byte of
20697 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20700 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20701 using “copy "iso14651_t1"” and then implementing the
20702 collation rules for lv from CLDR on top of that.
20703 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20704 of locales to be built for testing.
20705 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20708 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20710 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20711 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20712 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20713 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20714 [__USE_MISC] (MADV_HWPOISON): New macro.
20715 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20717 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20719 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20720 -Wmissing-braces on GCC 4.9.
20722 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20724 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20725 * sysdeps/s390/s390-32/start.S (_start): Likewise
20726 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20727 (thread_start): Likewise.
20728 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20729 (thread_start): Likewise.
20730 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
20731 (__makecontext_ret): Likewise.
20732 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
20733 (__makecontext_ret): Likewise.
20735 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20737 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
20738 __wcschrnul): Remove attribute_hidden.
20740 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
20742 regex: don't assume uint64_t or uint32_t
20743 This avoids -Werror=overflow errors for 32-bit systems in
20744 the 64-bit case. Problem reported by Joseph Myers in:
20745 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
20746 Also, when this code is used in Gnulib it ports to platforms
20747 that lack uint64_t and uint32_t. The C standard doesn't guarantee
20748 them, and on some 32-bit compilers there is no uint64_t.
20749 Problem reported by Gianluigi Tiesi in:
20750 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
20751 * posix/regcomp.c (init_word_char): Don't assume that the types
20752 uint64_t and uint32_t exist. Adapted from Gnulib patch
20753 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
20754 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
20756 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
20758 * sysdeps/aarch64/memset-reg.h: New file.
20759 * sysdeps/aarch64/memset.S: Use it.
20760 (__memset): Rename to MEMSET macro.
20761 [ZVA_MACRO]: Use zva_macro.
20762 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20763 Add memset_generic and memset_falkor.
20764 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
20765 (__libc_ifunc_impl_list): Add memset ifuncs.
20766 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
20767 local variable zva_size.
20768 * sysdeps/aarch64/multiarch/memset.c: New file.
20769 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
20770 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
20771 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
20772 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
20773 (DCZID_DZP_MASK): New macro.
20774 (DCZID_BS_MASK): Likewise.
20775 (init_cpu_features): Read and set zva_size.
20776 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
20777 (struct cpu_features): New member zva_size.
20779 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
20780 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
20781 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
20783 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
20784 backwards. Fix timing computation.
20785 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
20786 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
20787 on memset by N at a time. Fix timing computation.
20789 2017-11-20 Florian Weimer <fweimer@redhat.com>
20791 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
20792 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
20794 2017-11-19 Florian Weimer <fweimer@redhat.com>
20796 manual: Document mprotect
20797 * manual/memory.texi (Memory Protection): New section.
20798 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
20799 documentation of PROT_* flags and reference the Memory Protection
20802 2017-11-19 Florian Weimer <fweimer@redhat.com>
20804 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
20805 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
20806 (Scatter-Gather): ... to here. Remove misleading comment.
20808 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
20810 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
20813 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
20814 when /proc/<pid>/setgroups does not exist.
20816 2017-11-18 Florian Weimer <fweimer@redhat.com>
20818 * sysdeps/unix/sysv/linux/tst-ttyname.c
20819 (become_root_in_mount_ns): Remove.
20820 (do_in_chroot_1): Call support_enter_mount_namespace.
20821 (do_in_chroot_2): Likewise.
20822 (do_test): Call support_become_root early.
20824 2017-11-18 Florian Weimer <fweimer@redhat.com>
20826 * support/namespace.h (support_enter_mount_namespace): Declare.
20827 * support/support_enter_mount_namespace.c: New file.
20828 * support/Makefile (libsupport-routines): Add
20829 support_enter_mount_namespace.
20831 2017-11-18 Florian Weimer <fweimer@redhat.com>
20833 * support/temp_file.c (support_create_temp_directory): Use
20834 test_dir and do not rely on the presence of the XXXXXX suffix.
20835 * support/temp_file.h (support_create_temp_directory): Update
20837 * support/tst-xreadlink.c (do_test): Adjust.
20838 * support/support_chroot.c (support_chroot_create): Likewise.
20840 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20842 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
20844 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
20847 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20849 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20850 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20851 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20852 (ceill): Define using libm_alias_ldouble.
20853 * sysdeps/x86_64/fpu/s_copysignl.S: Include
20854 <libm-alias-ldouble.h>.
20855 (copysignl): Define using libm_alias_ldouble.
20856 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20857 (fabsl): Define using libm_alias_ldouble.
20858 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20859 (floorl): Define using libm_alias_ldouble.
20860 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20861 (fmaxl): Define using libm_alias_ldouble.
20862 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20863 (fminl): Define using libm_alias_ldouble.
20864 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20865 (llrintl): Define using libm_alias_ldouble.
20866 (lrintl): Likewise.
20867 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
20868 <libm-alias-ldouble.h>.
20869 (nearbyintl): Define using libm_alias_ldouble.
20870 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20871 (truncl): Define using libm_alias_ldouble.
20872 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
20873 <libm-alias-ldouble.h>.
20874 (lrintl): Define using libm_alias_ldouble.
20876 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20877 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20878 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
20879 (asinhl): Define using libm_alias_ldouble.
20880 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
20881 (atanl): Define using libm_alias_ldouble.
20882 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
20883 (cbrtl): Define using libm_alias_ldouble.
20884 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20885 (ceill): Define using libm_alias_ldouble.
20886 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
20887 (copysignl): Define using libm_alias_ldouble.
20888 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20889 (fabsl): Define using libm_alias_ldouble.
20890 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20891 (floorl): Define using libm_alias_ldouble.
20892 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20893 (fmaxl): Define using libm_alias_ldouble.
20894 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20895 (fminl): Define using libm_alias_ldouble.
20896 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
20897 (frexpl): Define using libm_alias_ldouble.
20898 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20899 (llrintl): Define using libm_alias_ldouble.
20900 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
20901 (logbl): Define using libm_alias_ldouble.
20902 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
20903 (lrintl): Define using libm_alias_ldouble.
20904 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
20905 (nearbyintl): Define using libm_alias_ldouble.
20906 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
20907 (nextafterl): Define using libm_alias_ldouble.
20908 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
20909 (remquol): Define using libm_alias_ldouble.
20910 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
20911 (rintl): Define using libm_alias_ldouble.
20912 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20913 (truncl): Define using libm_alias_ldouble.
20914 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20915 (fmaxl): Define using libm_alias_ldouble.
20916 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20917 (fminl): Define using libm_alias_ldouble.
20919 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
20920 to C syntax instead of availability and properties of types.
20921 * bits/floatn.h [!__ASSEMBLER]: Likewise.
20922 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
20923 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
20924 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
20925 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
20926 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
20928 2017-11-17 Florian Weimer <fweimer@redhat.com>
20930 support_become_root: Enable file creation in namespaces.
20931 * support/support_become_root.c (setup_mapping): New function.
20932 (support_become_root): Call it.
20934 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20936 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
20939 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20941 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
20942 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
20944 2017-11-16 Joseph Myers <joseph@codesourcery.com>
20946 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
20948 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
20951 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
20953 * INSTALL: Fix botched up regeneration.
20955 * NEWS: Update sourceare link to https.
20956 * configure.ac: Likewise.
20957 * crypt/md5test-giant.c: Likewise.
20958 * dlfcn/bug-atexit1.c: Likewise.
20959 * dlfcn/bug-atexit2.c: Likewise.
20960 * localedata/README: Likewise.
20961 * malloc/tst-mallocfork.c: Likewise.
20962 * manual/install.texi: Likewise.
20963 * nptl/tst-pthread-getattr.c: Likewise.
20964 * stdio-common/tst-fgets.c: Likewise.
20965 * stdio-common/tst-fwrite.c: Likewise.
20966 * sunrpc/Makefile: Likewise.
20967 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
20968 * wcsmbs/tst-mbrtowc2.c: Likewise.
20969 * configure: Regenerate.
20970 * INSTALL: Regenerate.
20972 2017-11-15 Martin Sebor <msebor@redhat.com>
20974 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
20975 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
20976 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
20978 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
20981 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
20982 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
20985 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
20986 Defer is_pty check until end of the function.
20987 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20990 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
20991 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
20992 (ttyname): Likewise.
20993 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
20994 (__ttyname_r): Likewise.
20996 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
20999 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21001 * manual/terminal.texi (Is It a Terminal):
21002 Mention ENODEV for ttyname and ttyname_r.
21004 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21006 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21007 constant and macro.
21009 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21010 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21011 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21012 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21013 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21014 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21016 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21018 * signal/sigrelse.c (sigrelse): Optimize implementation.
21020 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21021 (__sigpause): Rely on __sigsuspend to implement single thread
21022 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21024 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21026 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21027 kernel version to 4.14.
21029 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21032 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21033 Check if ifname is too long.
21035 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21037 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21039 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21041 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21042 was accidentally lost.
21044 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21046 * localedata/locales/az_IR: Add standard copyright header.
21048 2017-11-15 Florian Weimer <fweimer@redhat.com>
21051 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21052 not just the top one. Output a new "subheaps" statistic.
21054 2017-11-15 Florian Weimer <fweimer@redhat.com>
21057 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21058 under the per-arena lock.
21059 * malloc/Makefile (tests): Add tst-malloc_info.
21060 (tst-malloc_info): Link with libpthread.
21061 * malloc/tst-malloc_info.c: New file.
21063 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21066 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21067 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21068 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21069 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21070 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21071 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21072 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21073 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21074 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21075 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21076 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21077 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21078 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21079 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21080 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21081 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21082 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21083 (__floating_type): Likewise.
21084 (__real_integer_type): Likewise.
21085 (__complex_integer_type): Likewise.
21086 (__expr_is_real): Likewise.
21087 (__tgmath_real_type_sub): Likewise.
21088 (__tgmath_real_type): Likewise.
21089 (__tgmath_complex_type_sub): Likewise.
21090 (__tgmath_complex_type): Likewise.
21091 (__TGMATH_F128): Likewise.
21092 (__TGMATH_CF128): Likewise.
21093 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21095 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21096 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21098 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21100 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21101 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21102 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21103 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21105 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21106 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21108 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21109 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21110 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21112 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21113 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21114 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21118 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21120 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21121 for stpncpy calls for GCC 8.
21122 (test_strncat): Disable -Wstringop-truncation warning for strncat
21123 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21124 strncat call for GCC 7.
21125 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21127 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21130 * string/bug-strncat1.c: Include <libc-diag.h>.
21131 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21133 2017-11-13 Claude Paroz <claude@2xlibre.net>
21136 * localedata/locales/aa_DJ: Improved readibility by replacing
21137 <Uxxxx> sequences in the ASCII printable range by their ASCII
21138 character equivalents.
21139 * localedata/locales/aa_ER: Likewise.
21140 * localedata/locales/aa_ER@saaho: Likewise.
21141 * localedata/locales/aa_ET: Likewise.
21142 * localedata/locales/af_ZA: Likewise.
21143 * localedata/locales/agr_PE: Likewise.
21144 * localedata/locales/ak_GH: Likewise.
21145 * localedata/locales/am_ET: Likewise.
21146 * localedata/locales/anp_IN: Likewise.
21147 * localedata/locales/ar_AE: Likewise.
21148 * localedata/locales/ar_BH: Likewise.
21149 * localedata/locales/ar_DZ: Likewise.
21150 * localedata/locales/ar_EG: Likewise.
21151 * localedata/locales/ar_IN: Likewise.
21152 * localedata/locales/ar_IQ: Likewise.
21153 * localedata/locales/ar_JO: Likewise.
21154 * localedata/locales/ar_KW: Likewise.
21155 * localedata/locales/ar_LB: Likewise.
21156 * localedata/locales/ar_LY: Likewise.
21157 * localedata/locales/ar_MA: Likewise.
21158 * localedata/locales/ar_OM: Likewise.
21159 * localedata/locales/ar_QA: Likewise.
21160 * localedata/locales/ar_SA: Likewise.
21161 * localedata/locales/ar_SD: Likewise.
21162 * localedata/locales/ar_SS: Likewise.
21163 * localedata/locales/ar_SY: Likewise.
21164 * localedata/locales/ar_TN: Likewise.
21165 * localedata/locales/ar_YE: Likewise.
21166 * localedata/locales/as_IN: Likewise.
21167 * localedata/locales/ast_ES: Likewise.
21168 * localedata/locales/ayc_PE: Likewise.
21169 * localedata/locales/az_AZ: Likewise.
21170 * localedata/locales/az_IR: Likewise.
21171 * localedata/locales/be_BY: Likewise.
21172 * localedata/locales/be_BY@latin: Likewise.
21173 * localedata/locales/bem_ZM: Likewise.
21174 * localedata/locales/ber_DZ: Likewise.
21175 * localedata/locales/ber_MA: Likewise.
21176 * localedata/locales/bg_BG: Likewise.
21177 * localedata/locales/bhb_IN: Likewise.
21178 * localedata/locales/bho_IN: Likewise.
21179 * localedata/locales/bi_VU: Likewise.
21180 * localedata/locales/bn_BD: Likewise.
21181 * localedata/locales/bn_IN: Likewise.
21182 * localedata/locales/bo_CN: Likewise.
21183 * localedata/locales/bo_IN: Likewise.
21184 * localedata/locales/br_FR: Likewise.
21185 * localedata/locales/brx_IN: Likewise.
21186 * localedata/locales/bs_BA: Likewise.
21187 * localedata/locales/byn_ER: Likewise.
21188 * localedata/locales/ca_AD: Likewise.
21189 * localedata/locales/ca_ES: Likewise.
21190 * localedata/locales/ca_FR: Likewise.
21191 * localedata/locales/ca_IT: Likewise.
21192 * localedata/locales/ce_RU: Likewise.
21193 * localedata/locales/chr_US: Likewise.
21194 * localedata/locales/cmn_TW: Likewise.
21195 * localedata/locales/crh_UA: Likewise.
21196 * localedata/locales/cs_CZ: Likewise.
21197 * localedata/locales/csb_PL: Likewise.
21198 * localedata/locales/cv_RU: Likewise.
21199 * localedata/locales/cy_GB: Likewise.
21200 * localedata/locales/da_DK: Likewise.
21201 * localedata/locales/de_AT: Likewise.
21202 * localedata/locales/de_BE: Likewise.
21203 * localedata/locales/de_CH: Likewise.
21204 * localedata/locales/de_DE: Likewise.
21205 * localedata/locales/de_IT: Likewise.
21206 * localedata/locales/de_LI: Likewise.
21207 * localedata/locales/de_LU: Likewise.
21208 * localedata/locales/doi_IN: Likewise.
21209 * localedata/locales/dv_MV: Likewise.
21210 * localedata/locales/dz_BT: Likewise.
21211 * localedata/locales/el_CY: Likewise.
21212 * localedata/locales/el_GR: Likewise.
21213 * localedata/locales/en_AG: Likewise.
21214 * localedata/locales/en_AU: Likewise.
21215 * localedata/locales/en_BW: Likewise.
21216 * localedata/locales/en_CA: Likewise.
21217 * localedata/locales/en_DK: Likewise.
21218 * localedata/locales/en_GB: Likewise.
21219 * localedata/locales/en_HK: Likewise.
21220 * localedata/locales/en_IE: Likewise.
21221 * localedata/locales/en_IL: Likewise.
21222 * localedata/locales/en_IN: Likewise.
21223 * localedata/locales/en_NG: Likewise.
21224 * localedata/locales/en_NZ: Likewise.
21225 * localedata/locales/en_PH: Likewise.
21226 * localedata/locales/en_SG: Likewise.
21227 * localedata/locales/en_US: Likewise.
21228 * localedata/locales/en_ZA: Likewise.
21229 * localedata/locales/en_ZM: Likewise.
21230 * localedata/locales/en_ZW: Likewise.
21231 * localedata/locales/eo: Likewise.
21232 * localedata/locales/es_AR: Likewise.
21233 * localedata/locales/es_BO: Likewise.
21234 * localedata/locales/es_CL: Likewise.
21235 * localedata/locales/es_CO: Likewise.
21236 * localedata/locales/es_CR: Likewise.
21237 * localedata/locales/es_CU: Likewise.
21238 * localedata/locales/es_DO: Likewise.
21239 * localedata/locales/es_EC: Likewise.
21240 * localedata/locales/es_ES: Likewise.
21241 * localedata/locales/es_GT: Likewise.
21242 * localedata/locales/es_HN: Likewise.
21243 * localedata/locales/es_MX: Likewise.
21244 * localedata/locales/es_NI: Likewise.
21245 * localedata/locales/es_PA: Likewise.
21246 * localedata/locales/es_PE: Likewise.
21247 * localedata/locales/es_PR: Likewise.
21248 * localedata/locales/es_PY: Likewise.
21249 * localedata/locales/es_SV: Likewise.
21250 * localedata/locales/es_US: Likewise.
21251 * localedata/locales/es_UY: Likewise.
21252 * localedata/locales/es_VE: Likewise.
21253 * localedata/locales/et_EE: Likewise.
21254 * localedata/locales/eu_ES: Likewise.
21255 * localedata/locales/eu_ES@euro: Likewise.
21256 * localedata/locales/fa_IR: Likewise.
21257 * localedata/locales/ff_SN: Likewise.
21258 * localedata/locales/fi_FI: Likewise.
21259 * localedata/locales/fil_PH: Likewise.
21260 * localedata/locales/fo_FO: Likewise.
21261 * localedata/locales/fr_BE: Likewise.
21262 * localedata/locales/fr_CA: Likewise.
21263 * localedata/locales/fr_CH: Likewise.
21264 * localedata/locales/fr_FR: Likewise.
21265 * localedata/locales/fr_LU: Likewise.
21266 * localedata/locales/fur_IT: Likewise.
21267 * localedata/locales/fy_DE: Likewise.
21268 * localedata/locales/fy_NL: Likewise.
21269 * localedata/locales/ga_IE: Likewise.
21270 * localedata/locales/gd_GB: Likewise.
21271 * localedata/locales/gez_ER: Likewise.
21272 * localedata/locales/gez_ET: Likewise.
21273 * localedata/locales/gl_ES: Likewise.
21274 * localedata/locales/gu_IN: Likewise.
21275 * localedata/locales/gv_GB: Likewise.
21276 * localedata/locales/ha_NG: Likewise.
21277 * localedata/locales/hak_TW: Likewise.
21278 * localedata/locales/he_IL: Likewise.
21279 * localedata/locales/hi_IN: Likewise.
21280 * localedata/locales/hif_FJ: Likewise.
21281 * localedata/locales/hne_IN: Likewise.
21282 * localedata/locales/hr_HR: Likewise.
21283 * localedata/locales/hsb_DE: Likewise.
21284 * localedata/locales/ht_HT: Likewise.
21285 * localedata/locales/hu_HU: Likewise.
21286 * localedata/locales/hy_AM: Likewise.
21287 * localedata/locales/i18n: Likewise.
21288 * localedata/locales/ia_FR: Likewise.
21289 * localedata/locales/id_ID: Likewise.
21290 * localedata/locales/ig_NG: Likewise.
21291 * localedata/locales/ik_CA: Likewise.
21292 * localedata/locales/is_IS: Likewise.
21293 * localedata/locales/it_CH: Likewise.
21294 * localedata/locales/it_IT: Likewise.
21295 * localedata/locales/iu_CA: Likewise.
21296 * localedata/locales/ja_JP: Likewise.
21297 * localedata/locales/ka_GE: Likewise.
21298 * localedata/locales/kk_KZ: Likewise.
21299 * localedata/locales/kl_GL: Likewise.
21300 * localedata/locales/kn_IN: Likewise.
21301 * localedata/locales/ko_KR: Likewise.
21302 * localedata/locales/kok_IN: Likewise.
21303 * localedata/locales/ks_IN: Likewise.
21304 * localedata/locales/ks_IN@devanagari: Likewise.
21305 * localedata/locales/ku_TR: Likewise.
21306 * localedata/locales/kw_GB: Likewise.
21307 * localedata/locales/ky_KG: Likewise.
21308 * localedata/locales/lb_LU: Likewise.
21309 * localedata/locales/lg_UG: Likewise.
21310 * localedata/locales/li_BE: Likewise.
21311 * localedata/locales/li_NL: Likewise.
21312 * localedata/locales/lij_IT: Likewise.
21313 * localedata/locales/ln_CD: Likewise.
21314 * localedata/locales/lo_LA: Likewise.
21315 * localedata/locales/lt_LT: Likewise.
21316 * localedata/locales/lv_LV: Likewise.
21317 * localedata/locales/lzh_TW: Likewise.
21318 * localedata/locales/mag_IN: Likewise.
21319 * localedata/locales/mai_IN: Likewise.
21320 * localedata/locales/mg_MG: Likewise.
21321 * localedata/locales/mhr_RU: Likewise.
21322 * localedata/locales/mi_NZ: Likewise.
21323 * localedata/locales/mk_MK: Likewise.
21324 * localedata/locales/ml_IN: Likewise.
21325 * localedata/locales/mn_MN: Likewise.
21326 * localedata/locales/mni_IN: Likewise.
21327 * localedata/locales/mr_IN: Likewise.
21328 * localedata/locales/ms_MY: Likewise.
21329 * localedata/locales/mt_MT: Likewise.
21330 * localedata/locales/my_MM: Likewise.
21331 * localedata/locales/nan_TW: Likewise.
21332 * localedata/locales/nan_TW@latin: Likewise.
21333 * localedata/locales/nb_NO: Likewise.
21334 * localedata/locales/nds_DE: Likewise.
21335 * localedata/locales/nds_NL: Likewise.
21336 * localedata/locales/ne_NP: Likewise.
21337 * localedata/locales/nhn_MX: Likewise.
21338 * localedata/locales/niu_NU: Likewise.
21339 * localedata/locales/niu_NZ: Likewise.
21340 * localedata/locales/nl_AW: Likewise.
21341 * localedata/locales/nl_BE: Likewise.
21342 * localedata/locales/nl_NL: Likewise.
21343 * localedata/locales/nn_NO: Likewise.
21344 * localedata/locales/nr_ZA: Likewise.
21345 * localedata/locales/nso_ZA: Likewise.
21346 * localedata/locales/oc_FR: Likewise.
21347 * localedata/locales/om_ET: Likewise.
21348 * localedata/locales/om_KE: Likewise.
21349 * localedata/locales/or_IN: Likewise.
21350 * localedata/locales/os_RU: Likewise.
21351 * localedata/locales/pa_IN: Likewise.
21352 * localedata/locales/pa_PK: Likewise.
21353 * localedata/locales/pap_AW: Likewise.
21354 * localedata/locales/pap_CW: Likewise.
21355 * localedata/locales/pl_PL: Likewise.
21356 * localedata/locales/ps_AF: Likewise.
21357 * localedata/locales/pt_BR: Likewise.
21358 * localedata/locales/pt_PT: Likewise.
21359 * localedata/locales/quz_PE: Likewise.
21360 * localedata/locales/raj_IN: Likewise.
21361 * localedata/locales/ro_RO: Likewise.
21362 * localedata/locales/ru_RU: Likewise.
21363 * localedata/locales/ru_UA: Likewise.
21364 * localedata/locales/rw_RW: Likewise.
21365 * localedata/locales/sa_IN: Likewise.
21366 * localedata/locales/sat_IN: Likewise.
21367 * localedata/locales/sc_IT: Likewise.
21368 * localedata/locales/sd_IN: Likewise.
21369 * localedata/locales/sd_IN@devanagari: Likewise.
21370 * localedata/locales/se_NO: Likewise.
21371 * localedata/locales/sgs_LT: Likewise.
21372 * localedata/locales/shs_CA: Likewise.
21373 * localedata/locales/si_LK: Likewise.
21374 * localedata/locales/sid_ET: Likewise.
21375 * localedata/locales/sk_SK: Likewise.
21376 * localedata/locales/sl_SI: Likewise.
21377 * localedata/locales/sm_WS: Likewise.
21378 * localedata/locales/so_DJ: Likewise.
21379 * localedata/locales/so_ET: Likewise.
21380 * localedata/locales/so_KE: Likewise.
21381 * localedata/locales/so_SO: Likewise.
21382 * localedata/locales/sq_AL: Likewise.
21383 * localedata/locales/sq_MK: Likewise.
21384 * localedata/locales/sr_ME: Likewise.
21385 * localedata/locales/sr_RS: Likewise.
21386 * localedata/locales/sr_RS@latin: Likewise.
21387 * localedata/locales/ss_ZA: Likewise.
21388 * localedata/locales/st_ZA: Likewise.
21389 * localedata/locales/sv_FI: Likewise.
21390 * localedata/locales/sv_SE: Likewise.
21391 * localedata/locales/sw_KE: Likewise.
21392 * localedata/locales/sw_TZ: Likewise.
21393 * localedata/locales/szl_PL: Likewise.
21394 * localedata/locales/ta_IN: Likewise.
21395 * localedata/locales/ta_LK: Likewise.
21396 * localedata/locales/tcy_IN: Likewise.
21397 * localedata/locales/te_IN: Likewise.
21398 * localedata/locales/tg_TJ: Likewise.
21399 * localedata/locales/th_TH: Likewise.
21400 * localedata/locales/the_NP: Likewise.
21401 * localedata/locales/ti_ER: Likewise.
21402 * localedata/locales/ti_ET: Likewise.
21403 * localedata/locales/tig_ER: Likewise.
21404 * localedata/locales/tk_TM: Likewise.
21405 * localedata/locales/tl_PH: Likewise.
21406 * localedata/locales/tn_ZA: Likewise.
21407 * localedata/locales/to_TO: Likewise.
21408 * localedata/locales/tpi_PG: Likewise.
21409 * localedata/locales/tr_CY: Likewise.
21410 * localedata/locales/tr_TR: Likewise.
21411 * localedata/locales/ts_ZA: Likewise.
21412 * localedata/locales/tt_RU: Likewise.
21413 * localedata/locales/tt_RU@iqtelif: Likewise.
21414 * localedata/locales/ug_CN: Likewise.
21415 * localedata/locales/uk_UA: Likewise.
21416 * localedata/locales/unm_US: Likewise.
21417 * localedata/locales/ur_IN: Likewise.
21418 * localedata/locales/ur_PK: Likewise.
21419 * localedata/locales/uz_UZ: Likewise.
21420 * localedata/locales/uz_UZ@cyrillic: Likewise.
21421 * localedata/locales/ve_ZA: Likewise.
21422 * localedata/locales/vi_VN: Likewise.
21423 * localedata/locales/wa_BE: Likewise.
21424 * localedata/locales/wae_CH: Likewise.
21425 * localedata/locales/wal_ET: Likewise.
21426 * localedata/locales/wo_SN: Likewise.
21427 * localedata/locales/xh_ZA: Likewise.
21428 * localedata/locales/yi_US: Likewise.
21429 * localedata/locales/yo_NG: Likewise.
21430 * localedata/locales/yue_HK: Likewise.
21431 * localedata/locales/yuw_PG: Likewise.
21432 * localedata/locales/zh_CN: Likewise.
21433 * localedata/locales/zh_HK: Likewise.
21434 * localedata/locales/zh_SG: Likewise.
21435 * localedata/locales/zh_TW: Likewise.
21436 * localedata/locales/zu_ZA: Likewise.
21438 2017-11-13 Florian Weimer <fweimer@redhat.com>
21440 * support/next_to_fault.h, support/next_to_fault.c: New files.
21441 * support/Makefile (libsupport-routines): Add next_to_fault.
21442 * resolv/tst-inet_pton.c (struct next_to_fault)
21443 (next_to_fault_allocate, next_to_fault_free): Remove.
21444 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21446 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21448 * elf/dl-support.c: Include <dl-procruntime.c>.
21449 * include/link.h: Include <link_map.h>.
21450 * sysdeps/generic/dl-procruntime.c: New file.
21451 * sysdeps/generic/link_map.h: Likewise.
21452 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21453 the writable ld.so namespace.
21455 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21457 timezone: pacify GCC -Wstringop-truncation
21458 Problem reported by Martin Sebor in:
21459 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21460 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21462 2017-11-12 Florian Weimer <fweimer@redhat.com>
21464 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21466 (tests): Add tst-xreadlink.
21467 * support/support.h (xstrndup): Declare.
21468 * support/xunistd.h (xunlink, xreadlink): Declare.
21469 * support/temp_file.h (support_create_temp_directory): Declare.
21470 * support/temp_file.c (support_create_temp_directory): New function.
21471 * support/support_chroot.c (support_chroot_create): Use it.
21472 * support/xreadlink.c: New file.
21473 * support/xstrndup.c: Likewise.
21474 * support/xunlink.c: Likewise.
21475 * support/tst-xreadlink.c: Likewise.
21477 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21479 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21481 2017-11-11 Florian Weimer <fweimer@redhat.com>
21485 * resolv/res_comp.c (printable_string, binary_hnok)
21486 (binary_leading_dash): New functions.
21487 (res_hnok): Reimplement using these functions and ns_name_pton.
21488 (res_ownok): Likewise.
21489 (res_mailok): Reimplement using printable_string, ns_name_pton and
21491 (res_dnok): Reimplement using printable_string and ns_name_pton.
21492 * resolv/tst-res_hnok.c (tests): Add additional tests.
21493 (LETTERDIGITS, PRINTABLE): Define.
21494 (do_test): Adjust one_char results.
21496 2017-11-11 Florian Weimer <fweimer@redhat.com>
21499 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21500 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21502 2017-11-11 Florian Weimer <fweimer@redhat.com>
21504 * resolv/tst-ns_name_pton.c: New file.
21505 * resolv/Makefile (tests): Add tst-ns_name_pton.
21506 (tst-ns_name_pton): Link against libresolv.
21508 2017-11-11 Florian Weimer <fweimer@redhat.com>
21510 * resolv/tst-res_hnok.c: New file.
21511 * resolv/Makefile (tests): Add tst-res_hnok.
21512 (tst-res_hnok): Link against libresolv.
21514 2017-11-11 Florian Weimer <fweimer@redhat.com>
21516 * resolv/tst-resolv-network.c: Use test framework instead explicit
21519 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21521 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21522 <jmp_buf-macros.h>.
21523 [!_ISOMAC] (STR_HELPER): New.
21524 [!_ISOMAC] (STR): Likewise.
21525 [!_ISOMAC] (TEST_SIZE): Likewise.
21526 [!_ISOMAC] (TEST_ALIGN): Likewise.
21527 [!_ISOMAC] (TEST_OFFSET): Likewise.
21528 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21529 field offsets of jmp_buf as well as sigjmp_buf.
21530 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21531 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21532 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21533 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21534 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21535 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21536 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21537 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21538 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21539 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21541 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21543 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21548 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21549 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21550 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21551 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21552 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21557 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21558 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21559 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21561 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21564 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21565 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21566 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21567 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21568 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21569 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21570 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21571 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21572 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21573 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21574 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21575 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21576 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21577 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21578 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21579 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21580 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21581 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21582 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21583 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21584 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21585 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21586 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21587 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21588 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21589 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21590 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21591 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21592 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21593 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21594 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21595 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21596 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21597 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21598 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21599 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21600 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21601 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21602 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21603 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21604 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21605 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21606 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21607 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21608 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21609 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21610 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21611 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21612 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21613 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21614 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21615 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21616 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21617 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21618 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21619 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21620 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21621 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21622 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21623 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21624 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21625 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21626 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21627 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21628 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21629 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21630 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21631 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21632 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21633 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21634 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21635 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21636 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21637 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21638 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21639 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21641 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21643 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21645 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21647 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21649 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21651 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21653 * stdlib/tst-strtod.h (F16): New macro.
21659 (IF_FLOAT16): Likewise.
21660 (IF_FLOAT32): Likewise.
21661 (IF_FLOAT64): Likewise.
21662 (IF_FLOAT32X): Likewise.
21663 (IF_FLOAT64X): Likewise.
21664 (IF_FLOAT128X): Likewise.
21665 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21666 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21667 (STRTOD_TEST_FOREACH): Likewise.
21668 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21669 (CHOOSE_f64): Likewise.
21670 (CHOOSE_f32x): Likewise.
21671 (CHOOSE_f64x): Likewise.
21673 2017-11-07 Andreas Schwab <schwab@suse.de>
21675 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21677 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21680 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21682 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21685 2017-11-07 Claude Paroz <claude@2xlibre.net>
21688 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21690 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21692 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21695 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21698 * nptl/allocatestack.c (allocate_stack): Check if
21699 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21700 __PTHREAD_MUTEX_HAVE_PREV is defined.
21701 * nptl/descr.h (pthread): Likewise.
21702 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21704 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21705 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21706 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21707 * sysdeps/nptl/bits/thread-shared-types.h
21708 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21710 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21711 of __WORDSIZE for internal layout.
21712 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21713 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21714 instead of __WORDSIZE whether to use an union for __spins and __list
21716 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21718 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21719 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21721 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21722 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21724 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21725 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21727 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21728 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21730 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
21731 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21733 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
21734 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21736 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
21737 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21739 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
21740 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21742 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
21743 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21745 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
21746 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21748 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
21749 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21751 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
21752 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21754 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
21755 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21757 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
21758 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21760 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
21761 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21764 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
21766 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
21767 checks for expected input type size.
21768 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21769 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21771 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21772 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
21773 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21774 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
21775 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21776 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
21777 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
21778 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
21779 superflous runtime assert check.
21780 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
21782 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
21784 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21786 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
21788 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
21790 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
21792 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
21793 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
21794 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21796 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21798 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21800 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
21802 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21804 * nptl/pthread_attr_setinheritsched.c
21805 (__pthread_attr_setinheritsched): Likewise.
21806 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
21808 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
21810 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
21811 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
21812 __old_pthread_attr_setstack): Likewise.
21813 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21815 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21817 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
21819 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21820 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21822 * nptl/tst-typesizes.c: Remove file.
21824 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
21825 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
21826 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
21827 checks for internal pthread_mutex_t offsets.
21828 * sysdeps/aarch64/nptl/pthread-offsets.h
21829 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
21830 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
21831 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
21832 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
21833 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
21834 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
21835 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
21836 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
21837 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
21838 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
21839 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
21840 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
21841 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
21842 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
21843 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
21844 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
21845 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
21846 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
21848 2017-11-07 Florian Weimer <fweimer@redhat.com>
21850 * bits/mman-linux.h: Move ...
21851 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
21853 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
21856 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21858 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
21859 Redefine STRNLEN as __strnlen_power8.
21861 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21863 * signal/sighold.c (sighold): Optimize implementation.
21865 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
21866 __NR_rt_sigqueueinfo.
21868 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21870 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
21871 assume __NR_rt_sigtimedwait.
21872 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
21873 and add LIBC_CANCEL_HANDLED for cancellation marking.
21874 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21876 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21877 (sysdeps_routines): Add memchr_noneon.
21878 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
21879 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
21880 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
21881 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
21882 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
21883 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
21884 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
21886 * sysdeps/arm/arm-ifunc.h: New file.
21887 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
21888 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
21889 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
21890 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
21891 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
21892 (__memcpy_neon): Avoid create hidden alias.
21893 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
21894 (__memcpy_vfp): Likewise.
21895 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21896 (sysdep_routines): Add memcpy_arm.
21897 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
21899 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
21902 * Makerules (make-link-multidir): New.
21903 * config.make.in (multidir): New.
21904 * configure.ac (libc_cv_multidir): New. AC_SUBST.
21905 * configure: Regenerated.
21906 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
21907 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
21908 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
21911 2017-11-06 Joseph Myers <joseph@codesourcery.com>
21914 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
21915 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
21917 2017-11-04 Mike FABIAN <mfabian@redhat.com>
21919 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
21922 2017-11-04 Florian Weimer <fweimer@redhat.com>
21924 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
21926 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21928 * math/math.h [__HAVE_DISTINCT_FLOAT16
21929 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21930 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21931 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21932 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
21933 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
21934 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
21935 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21936 (__MATH_TG_F32): New macro.
21937 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21938 (__MATH_TG_F64X): Likewise.
21939 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
21940 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
21942 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
21944 * po/de.po: Update translations.
21945 * po/ru.po: Likewise.
21947 2017-11-03 Florian Weimer <fweimer@redhat.com>
21949 * manual/filesys.texi (Hard Links): Document linkat.
21951 2017-11-03 Joseph Myers <joseph@codesourcery.com>
21953 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
21954 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
21955 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
21956 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
21957 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21958 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21959 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
21960 the same as _Float128.
21961 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
21962 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
21963 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
21966 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
21968 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
21970 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
21972 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21973 (strtof32x): Likewise.
21974 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21975 (strtof64x): Likewise.
21976 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21977 (strtof128x): Likewise.
21978 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21979 (strfromf16): Likewise.
21980 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21981 (strfromf32): Likewise.
21982 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21983 (strfromf64): Likewise.
21984 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21985 (strfromf32x): Likewise.
21986 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21987 (strfromf64x): Likewise.
21988 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21989 (strfromf128x): Likewise.
21990 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
21991 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
21992 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
21993 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
21994 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
21995 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
21997 2017-11-03 Richard Henderson <rth@twiddle.net>
21999 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22001 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22003 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22005 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22007 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22008 DT_TLSDESC_GOT initialization.
22009 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22010 (_dl_tlsdesc_resolve_hold): Likewise.
22011 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22012 (_dl_tlsdesc_resolve_hold): Likewise.
22013 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22014 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22016 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22018 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22020 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22023 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22024 non-lazily for R_ARM_TLS_DESC.
22026 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22029 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22030 R_ARM_TLS_DESC case.
22031 (elf_machine_lazy_rel): Remove the prelink check.
22033 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22035 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22036 DT_TLSDESC_GOT initialization.
22037 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22038 (_dl_tlsdesc_resolve_rela): Likewise.
22039 (_dl_tlsdesc_resolve_hold): Likewise.
22040 (_dl_tlsdesc_undefweak): Remove ldar.
22041 (_dl_tlsdesc_dynamic): Likewise.
22042 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22043 (_dl_tlsdesc_resolve_rela): Likewise.
22044 (_dl_tlsdesc_resolve_hold): Likewise.
22045 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22046 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22047 (_dl_tlsdesc_resolve_rela): Likewise.
22048 (_dl_tlsdesc_resolve_hold): Likewise.
22050 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22052 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22053 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22055 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22057 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22058 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22060 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22062 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22064 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22065 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22066 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22067 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22068 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22069 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22070 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22071 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22072 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22073 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22074 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22076 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22079 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22080 * localedata/locales/tpi_PG: Add standard header.
22082 2017-11-02 Florian Weimer <fweimer@redhat.com>
22084 test-errno-linux: quotactl can fail with EPERM in containers.
22085 * sysdeps/unix/sysv/linux/test-errno-linux.c
22086 (LIST, LIST_FORWARD): New macros.
22087 (check_error_in_list): New function.
22088 (test_wrp_rv): Accept list of permitted error codes.
22089 (test_wrp_rv2): Remove.
22090 (test_wrp): Call test_wrp_rv with list of error codes.
22091 (test_wrp2): Accept list of error codes.
22092 (do_test): Adjust. Allow EPERM for quotactl.
22094 2017-11-02 Florian Weimer <fweimer@redhat.com>
22096 * stdio-common/bug16.c (do_test): Use array_length.
22097 * stdio-common/errlist.c (_sys_nerr): Likewise.
22098 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22099 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22100 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22101 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22102 (do_test): Use array_length.
22103 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22104 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22105 * stdio-common/tst-printf-round.c (do_test): Likewise.
22106 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22107 (CHECK): Use array_length.
22108 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22109 * stdio-common/tstscanf.c (main): Likewise.
22110 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22112 2017-11-02 Florian Weimer <fweimer@redhat.com>
22114 Add array_length and array_end macros.
22115 * include/array_length.h: New file.
22117 2017-11-02 Florian Weimer <fweimer@redhat.com>
22120 * posix/tst-glob-tilde.c (do_noescape): New variable.
22121 (one_test): Process it.
22122 (do_test): Set do_noescape. Add unescaping test case.
22124 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22127 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22129 with appropriate macros defined and undefined.
22130 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22131 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22132 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22133 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22134 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22135 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22136 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22137 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22138 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22139 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22142 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22143 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22144 that for long double. Do not condition define and undefine of
22145 _Mdouble_complex_ on [__CFLOAT128].
22147 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22149 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22150 of <sysdeps/generic/sysdep.h>.
22151 (ALIGNARG): Removed.
22152 (ASM_SIZE_DIRECTIVE): Likewise.
22155 (ENTRY_CHK): Likewise.
22156 (END_CHK): Likewise.
22157 (syscall_error): Likewise.
22158 (mcount): Likewise.
22159 (PSEUDO_END): Likewise.
22161 (atom_text_section): Likewise.
22162 * sysdeps/x86/sysdep.h: New file.
22163 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22164 of <sysdeps/generic/sysdep.h>.
22165 (ALIGNARG): Removed.
22166 (ASM_SIZE_DIRECTIVE): Likewise.
22169 (ENTRY_CHK): Likewise.
22170 (END_CHK): Likewise.
22171 (syscall_error): Likewise.
22172 (mcount): Likewise.
22173 (PSEUDO_END): Likewise.
22175 (atom_text_section): Likewise.
22177 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22179 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22180 category of LC_CTYPE set to "i18n:2012".
22181 * localedata/locales/i18n_ctype: Regenerate.
22183 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22185 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22186 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22187 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22188 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22190 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22191 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22192 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22193 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22195 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22198 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22200 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22202 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22204 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22205 (CMPLXF32X): Likewise.
22206 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22207 (CMPLXF64X): Likewise.
22208 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22209 (CMPLXF128X): Likewise.
22212 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22213 (__MATH_EVAL_FMT2): Define to add 0.0f.
22215 2017-10-31 Alan Modra <amodra@gmail.com>
22217 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22233 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22234 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22235 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22236 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22237 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22240 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22241 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22242 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22243 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22244 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22245 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22246 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22247 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22248 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22249 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22250 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22251 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22252 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22253 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22254 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22255 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22256 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22258 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22259 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22260 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22261 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22262 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22263 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22264 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22265 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22266 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22267 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22268 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22269 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22270 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22271 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22272 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22273 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22274 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22275 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22276 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22277 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22278 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22279 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22280 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22281 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22282 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22283 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22284 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22285 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22286 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22287 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22290 include sysdep.h and math_ldbl_opt.h.
22292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22293 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22319 2017-10-31 Alan Modra <amodra@gmail.com>
22321 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22322 string/strncase_l.c, not string/strncase.c.
22323 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22324 (libc_hidden_def): Redefine.
22326 2017-10-31 Alan Modra <amodra@gmail.com>
22328 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22329 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22330 (__strcasecmp): Don't define.
22332 2017-10-31 Alan Modra <amodra@gmail.com>
22334 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22336 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22337 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22338 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22340 2017-10-31 Alan Modra <amodra@gmail.com>
22342 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22345 2017-10-31 Alan Modra <amodra@gmail.com>
22347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22348 Redefine only when SHARED.
22350 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22352 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22353 Include <bits/math-finite.h> with appropriate macros defined and
22355 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22356 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22357 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22358 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22359 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22361 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22362 [!_Mlong_double_] (_Mlong_double_): Likewise.
22363 [!_Mfloat16_] (_Mfloat16_): Likewise.
22364 [!_Mfloat32_] (_Mfloat32_): Likewise.
22365 [!_Mfloat64_] (_Mfloat64_): Likewise.
22366 [!_Mfloat128_] (_Mfloat128_): Likewise.
22367 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22368 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22369 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22370 (_Mdouble_): Define without indirection through those macros.
22371 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22372 [!_Mfloat128_] (_Mfloat128_): Likewise.
22373 [_Mlong_double_] (_Mlong_double_): Likewise.
22374 (_Mdouble_): Define without indirection through those macros.
22375 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22376 not add -D_Mlong_double_=double.
22377 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22378 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22380 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22382 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22384 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22386 * sysdeps/x86/libc-start.c: Reformat.
22388 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22391 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22392 (1): Renamed to ...
22395 (L(Src2)): Likewise.
22396 (L(1)): Renamed to ...
22399 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22401 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22402 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22403 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22404 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22405 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22406 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22407 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22408 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22409 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22410 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22411 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22412 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22413 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22414 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22415 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22416 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22417 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22418 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22419 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22420 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22421 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22422 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22423 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22424 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22425 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22426 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22427 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22428 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22429 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22430 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22431 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22432 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22433 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22434 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22435 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22436 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22437 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22438 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22439 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22440 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22441 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22442 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22443 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22444 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22445 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22446 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22447 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22448 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22449 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22450 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22451 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22452 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22453 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22454 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22455 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22456 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22457 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22458 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22459 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22460 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22461 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22462 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22463 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22464 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22465 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22466 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22468 2017-10-30 Florian Weimer <fweimer@redhat.com>
22470 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22472 * io/tst-mkdirat.c (do_test): Likewise.
22473 * io/tst-mkfifoat.c (do_test): Likewise.
22474 * io/tst-mknodat.c (do_test): Likewise.
22475 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22476 * locale/programs/locale.c (select_dirs): Likewise.
22477 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22478 * posix/bug-glob2.c (my_readdir): Likewise.
22479 * posix/tst-dir.c (main): Likewise.
22480 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22481 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22483 2017-10-30 Florian Weimer <fweimer@redhat.com>
22485 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22488 2017-10-30 Florian Weimer <fweimer@redhat.com>
22490 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22491 Convert to support/test-driver.c.
22492 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22493 New macro parameters.
22494 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22495 * posix/tst-gnuglob.c: New file.
22496 * posix/tst-gnuglob64.c: Likewise.
22497 * posix/Makefile (tests): Add tst-gnuglob64.
22499 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22502 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22503 and use a better translation for March in “mon”.
22504 * localedata/locales/csb_PL: Use more ASCII to improve the
22505 readability of the source.
22507 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22510 * localedata/locales/km_KH: Use ASCII as much
22511 as possible for better readability of the source and
22512 remove useless comments.
22513 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22514 was commented out and apparently wrong anyway because it was
22515 using Lao characters. If Buddhist era should be used
22516 for km_KH, a native speaker should write the correct formaat
22518 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22519 (According to CLDR, the first weekday for Cambodia is Sunday).
22520 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22521 (These were using Lao characters which must be wrong. If we get
22522 the correct data from a native speaker, we could add it back, until
22523 then it is better not to have name_mr and name_mrs at all than
22526 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22528 * locale/loadlocale.c: Correct size of
22529 _nl_value_type_LC_<category> arrays.
22531 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22533 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22534 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22535 with appropriate macros defined and undefined.
22536 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22537 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22538 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22539 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22540 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22542 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22544 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22547 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22549 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22550 with lowercase letters to make it agree with CLDR.
22552 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22555 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22556 first letters of yesstr and nostr in yesexpr and noexpr,
22557 not for the full words.
22558 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22559 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22560 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22561 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22562 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22563 first letters of yesstr and nostr in yesexpr and noexpr,
22564 until now only English was matched in yesexpr and noexpr.
22565 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22566 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22567 fil but not for tl. As tl and fil are very similar, using fil
22568 is probably better than using English.
22570 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22573 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22574 in yesstr and nostr.
22576 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22578 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22579 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22580 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22582 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22584 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22586 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22588 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22589 (SNANF128X): Likewise.
22591 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22592 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22593 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22594 (HUGE_VAL_F32): Likewise.
22595 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22596 (HUGE_VAL_F64): Likewise.
22597 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22598 (HUGE_VAL_F32X): Likewise.
22599 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22600 (HUGE_VAL_F64X): Likewise.
22601 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22602 (HUGE_VAL_F128X): Likewise.
22604 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22606 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22607 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22608 for the br_FR locale.
22610 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22613 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22615 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22617 * locale/programs/record-status.h: Define globals, and function
22618 prototypes. Move function bodies...
22619 * locale/programs/record-status.c: ... to here. New file.
22620 * iconv/Makefile (iconv_prog-modules): Add record-status.
22621 * locale/Makefile (lib-modules): Likewise.
22622 * iconv/iconv_prog.c: Remove verbose.
22623 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22624 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22625 record a warning about ASCII compatibility.
22626 * locale/programs/ld-monetary.c (monetary_finish): If
22627 warn_int_curr_symbol is true then record a warning about the symbol
22628 not being in our ISO 4217 list.
22629 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22630 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22631 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22632 (OPT_NO_WARN): Define.
22633 (OPT_WARN): Define.
22634 (options): Add entry for --no-warnings, and --warnings.
22635 (set_warnings): New function to enable/disable warnings.
22636 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22637 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22638 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22639 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22640 Pass flags to generate_locale.
22641 (generate_locale): Accept new flag argument and pass it to localedef
22643 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22644 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22646 * localedata/Makefile (test-input-data): Use full file name.
22647 * localedata/da_DK.in: Rename to...
22648 * localedata/da_DK.ISO-8859-1.in: ...this.
22649 * localedata/de_DE.in: Rename to...
22650 * localedata/de_DE.ISO-8859-1.in: ...this.
22651 * localedata/en_US.in: Rename to...
22652 * localedata/en_US.ISO-8859-1.in: ...this.
22653 * localedata/fr_FR.in: Rename to...
22654 * localedata/fr_FR.UTF-8.in: ... this.
22655 * localedata/hr_HR.in: Rename to...
22656 * localedata/hr_HR.ISO-8859-2.in: ...this.
22657 * localedata/hu_HU.in: Rename to...
22658 * localedata/hu_HU.UTF-8.in: ...this.
22659 * localedata/si_LK.in: Rename to...
22660 * localedata/si_LK.UTF-8.in: ...this.
22661 * localedata/sv_SE.in: Rename to...
22662 * localedata/sv_SE.ISO-8859-1.in: ...this.
22663 * localedata/tr_TR.in: Rename to...
22664 * localedata/tr_TR.UTF-8.in: ...this.
22665 * localedata/uk_UA.in: Rename to...
22666 * localedata/uk_UA.UTF-8.in: ...this.
22667 * localedata/sort-test.sh: Test file is locale name with the
22670 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22671 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22673 * localedata/locales/i18n_ctype: Regenerate.
22674 * localedata/locales/tr_TR: Likewise.
22675 * localedata/locales/translit_circle: Likewise.
22676 * localedata/locales/translit_cjk_compat: Likewise.
22677 * localedata/locales/translit_combining: Likewise.
22678 * localedata/locales/translit_compat: Likewise.
22679 * localedata/locales/translit_font: Likewise.
22680 * localedata/locales/translit_fraction: Likewise.
22682 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22684 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22685 lxvd2x/stxvd2x with lvx/stvx.
22686 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22688 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22690 * include/alloc_buffer.h: Replace "if if " with "if " in
22692 * sysdeps/mips/memcpy.S: Likkewise.
22693 * sysdeps/mips/memset.S: Likewise.
22694 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22696 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22698 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22701 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22704 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22705 yesexpr and noexpr.
22706 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22707 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22708 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22709 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22710 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22711 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22712 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22714 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22716 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22717 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22718 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22719 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22720 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22721 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22722 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22723 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22724 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22725 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22726 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22727 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22729 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22731 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
22732 as possible for better readability of the source.
22733 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
22734 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
22735 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
22736 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
22737 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
22738 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
22739 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
22740 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
22741 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22742 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
22743 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
22744 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
22745 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
22746 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
22747 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
22748 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
22749 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
22750 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
22751 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
22752 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
22753 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
22754 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
22755 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
22756 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
22757 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
22758 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
22759 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
22760 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
22761 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
22762 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
22763 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
22764 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22765 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
22766 * localedata/locales/en_US (LC_MESSAGES): Likewise.
22767 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
22768 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
22769 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
22770 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
22771 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
22772 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
22773 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
22774 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
22775 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
22776 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
22777 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
22778 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
22779 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
22780 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
22781 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
22782 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
22783 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
22784 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
22785 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
22786 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22787 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22788 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
22789 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
22790 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22791 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
22792 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
22793 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
22794 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
22795 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
22796 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
22797 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
22798 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
22799 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
22800 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
22801 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
22802 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
22803 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
22804 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
22805 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
22806 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
22807 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22808 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
22809 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
22810 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
22811 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
22812 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
22813 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
22814 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
22815 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
22816 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22817 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
22818 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
22819 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
22820 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22821 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
22822 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
22823 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
22824 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
22825 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22826 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
22827 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
22828 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22829 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
22830 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22831 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
22832 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
22833 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
22834 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
22835 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
22836 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
22837 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
22838 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
22839 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
22840 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
22841 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
22842 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
22843 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
22844 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
22845 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22846 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
22847 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
22848 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
22849 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
22850 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
22851 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
22852 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
22853 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
22854 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
22855 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
22856 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
22857 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
22858 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
22859 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
22860 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
22861 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
22862 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
22863 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
22864 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
22865 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
22866 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
22867 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
22868 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
22869 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
22870 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
22871 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
22872 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
22873 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
22874 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
22875 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
22876 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
22877 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
22878 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22879 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
22880 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
22881 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
22882 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
22883 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
22884 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
22885 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
22886 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
22887 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22888 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
22889 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
22890 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
22891 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
22892 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
22893 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
22894 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
22895 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
22896 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
22897 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
22898 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22899 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
22900 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
22901 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
22902 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
22903 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22904 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22905 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22906 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
22908 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22910 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
22911 (Use first letters of yesstr and nostr correctly instead of using
22914 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22916 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
22917 (Use first letters of yesstr and nostr correctly).
22919 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22921 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
22922 also check for the first characters of yesstr and nostr.
22923 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
22924 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
22926 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22928 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
22929 also check for Chinese characters.
22931 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22933 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
22934 match also for the contents of yesstr and nostr. As the first letter
22935 of yesstr and nostr is equal, checking only for the first letter
22938 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22940 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
22941 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
22943 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22945 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
22946 of main contributor.
22948 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22950 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
22951 instead of using English.
22953 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22955 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
22956 by including the first letters of nostr and yesexpr in the regexp.
22957 Also make it more readable by using ASCII where possible.
22959 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22961 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
22962 the first letter of nostr in the regexp. It agrees with CLDR now.
22963 Also make it more readable by using ASCII where possible.
22965 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22967 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
22968 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
22969 these strings contain a U+17D6 (which somewhat looks like a colon)
22970 instead of a real colon to separate the full words for “yes”
22971 and “no” from the single letter responses.
22973 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22975 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
22976 it agree with CLDR (include the first letter of yesstr).
22977 Also make it more readable by using ASCII where possible.
22979 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22981 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
22982 and improve yesexpr and noexpr. The yesstr and nostr apparently
22983 came from CLDR. And CLDR has a bug there: these strings contain
22984 a U+0903 (which looks like a colon) instead of a real colon
22985 to separate the full words for “yes” and “no” from the single
22988 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22990 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
22991 letters of the full yesstr and nostr in yesexpr and noexpr.
22993 2017-10-24 Mike FABIAN <mfabian@redhat.com>
22995 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
22996 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
22997 * localedata/locales/an_ES: Make source more readable by using ASCII
23000 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23003 * localedata/locales/yuw_PG: New file.
23004 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23005 * locale/iso-639.def: Add Yau (Uruwa).
23007 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23009 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23011 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23013 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23014 (__libc_realloc): Likewise.
23015 (_mid_memalign): Likewise.
23016 (__libc_calloc): Likewise.
23018 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23020 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23021 by adding the generic +1 and -0 as in all other locales.
23022 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23023 day names and make it more readable by using ASCII where possible.
23025 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23027 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23028 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23030 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23032 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23033 WNOHANG in waitpid call.
23035 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23037 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23038 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23040 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23041 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23042 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23043 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23044 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23045 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23046 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23047 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23050 2017-10-23 Michael Collison <michael.collison@arm.com>
23052 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23053 with __builtin_sqrt.
23054 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23055 with __builtin_sqrtf.
23056 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23057 with __builtin_ceil.
23058 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23059 with __builtin_ceilf.
23060 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23061 with __builtin_floor.
23062 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23063 with __builtin_floorf.
23064 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23065 with __builtin_fma.
23066 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23067 with __builtin_fmaf.
23068 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23069 with __builtin_fmax.
23070 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23071 with __builtin_fmaxf.
23072 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23073 with __builtin_fmin.
23074 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23075 with __builtin_fminf.
23076 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23077 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23078 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23079 with builtin_rint and conversion to int.
23080 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23081 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23082 with builtin_llround.
23083 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23084 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23085 with builtin_rint and conversion to long int.
23086 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23087 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23088 with builtin_lround.
23089 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23090 with builtin_lroundf.
23091 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23092 statements with __builtin_nearbyint.
23093 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23094 statements with __builtin_nearbyintf.
23095 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23096 with __builtin_rint.
23097 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23098 with __builtin_rintf.
23099 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23100 with __builtin_round.
23101 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23102 with __builtin_roundf.
23103 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23104 with __builtin_trunc.
23105 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23106 with __builtin_truncf.
23107 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23108 and s_l[l]round[f].c too.
23110 2017-10-23 Alan Modra <amodra@gmail.com>
23112 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23113 Adjust stack after restoring regs. Add missing LR cfi_restore.
23115 2017-10-23 Alan Modra <amodra@gmail.com>
23117 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23118 Move LR save and frame setup/teardown and LR restore to
23119 immediately around memset call. Provide cfi.
23121 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23123 * sysdeps/i386/fpu/e_powf.S: Removed.
23124 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23125 * sysdeps/i386/fpu/w_powf.c: Likewise.
23126 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23127 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23128 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23130 (CFLAGS-e_powf-sse2.c): New.
23131 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23132 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23134 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23136 * sysdeps/i386/fpu/e_log2f.S: Removed.
23137 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23138 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23139 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23140 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23141 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23143 (CFLAGS-e_log2f-sse2.c): New.
23144 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23145 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23147 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23149 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23151 (CFLAGS-e_powf-fma.c): New.
23152 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23153 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23155 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23157 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23159 (CFLAGS-e_log2f-fma.c): New.
23160 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23161 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23163 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23165 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23167 (CFLAGS-e_logf-fma.c): New.
23168 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23169 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23171 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23173 * sysdeps/i386/fpu/e_logf.S: Removed.
23174 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23175 * sysdeps/i386/fpu/w_logf.c: Likewise.
23176 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23177 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23178 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23179 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23181 (CFLAGS-e_logf-sse2.c): New.
23182 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23183 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23185 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23187 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23188 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23189 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23190 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23191 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23193 (CFLAGS-e_exp2f-sse2.c): New.
23194 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23195 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23197 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23199 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23201 (CFLAGS-e_exp2f-fma.c): New.
23202 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23203 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23205 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23207 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23208 * sysdeps/i386/fpu/e_expf.S: Likewise.
23209 * sysdeps/i386/fpu/math_errf.c: Likewise.
23210 * sysdeps/i386/fpu/w_expf.c: Likewise.
23211 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23212 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23213 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23214 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23215 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23216 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23217 Remove e_expf-ia32.
23218 (CFLAGS-e_expf-sse2.c): New.
23219 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23220 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23222 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23224 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23225 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23226 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23227 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23229 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23231 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23232 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23234 (__redirect_expf): This.
23235 (SYMBOL_NAME): Changed to expf.
23236 (__ieee754_expf): Renamed to ...
23238 (__GI___expf): This.
23239 (__ieee754_expf): Add strong_alias.
23240 (__expf_finite): Likewise.
23242 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23244 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23247 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23250 2017-10-21 Florian Weimer <fweimer@redhat.com>
23252 * posix/Makefile (tests): Add tst-glob-tilde.
23253 (tests-special): Add tst-glob-tilde-mem.out
23254 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23255 (tst-glob-tilde-mem.out): Add mtrace check.
23256 * posix/tst-glob-tilde.c: New file.
23258 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23260 * bits/floatn-common.h: New file.
23261 * math/Makefile (headers): Add bits/floatn-common.h.
23262 * bits/floatn.h: Include <bits/floatn-common.h>.
23263 * sysdeps/ia64/bits/floatn.h: Likewise.
23264 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23265 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23266 * sysdeps/powerpc/bits/floatn.h: Likewise.
23267 * sysdeps/x86/bits/floatn.h: Likewise.
23269 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23271 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23272 indicates whether compiler emits an warning for alias for
23273 functions with incompatible types.
23276 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23277 the auxiliary process is terminated by a signal before calling _exit
23280 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23283 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23285 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23286 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23287 and bit_arch_XSAVEC_Usable if needed.
23288 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23289 and bit_arch_Use_dl_runtime_resolve_opt.
23290 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23292 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23293 (bit_arch_Prefer_No_AVX512): Updated.
23294 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23295 (bit_arch_XSAVEC_Usable): New.
23296 (STATE_SAVE_OFFSET): Likewise.
23297 (STATE_SAVE_MASK): Likewise.
23298 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23299 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23300 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23301 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23302 (index_arch_XSAVEC_Usable): New.
23303 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23304 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23305 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23307 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23308 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23309 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23310 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23311 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23312 _dl_runtime_resolve_xsavec.
23313 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23315 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23316 instead of VEC_SIZE.
23317 (REGISTER_SAVE_BND0): Removed.
23318 (REGISTER_SAVE_BND1): Likewise.
23319 (REGISTER_SAVE_BND3): Likewise.
23320 (REGISTER_SAVE_RAX): Always defined to 0.
23322 (_dl_runtime_resolve_avx): Likewise.
23323 (_dl_runtime_resolve_avx_slow): Likewise.
23324 (_dl_runtime_resolve_avx_opt): Likewise.
23325 (_dl_runtime_resolve_avx512): Likewise.
23326 (_dl_runtime_resolve_avx512_opt): Likewise.
23327 (_dl_runtime_resolve_sse): Likewise.
23328 (_dl_runtime_resolve_sse_vex): Likewise.
23330 (_dl_runtime_resolve_fxsave): Likewise.
23331 (USE_XSAVE): Likewise.
23332 (_dl_runtime_resolve_xsave): Likewise.
23333 (USE_XSAVEC): Likewise.
23334 (_dl_runtime_resolve_xsavec): Likewise.
23335 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23337 (_dl_runtime_resolve_avx512_opt): Likewise.
23338 (_dl_runtime_resolve_avx): Likewise.
23339 (_dl_runtime_resolve_avx_opt): Likewise.
23340 (_dl_runtime_resolve_sse): Likewise.
23341 (_dl_runtime_resolve_sse_vex): Likewise.
23342 (_dl_runtime_resolve_fxsave): New.
23343 (_dl_runtime_resolve_xsave): Likewise.
23344 (_dl_runtime_resolve_xsavec): Likewise.
23346 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23350 * posix/glob.c (__glob): Fix one-byte overflow.
23352 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23354 * malloc/malloc.c (sysdep-cancel.h): Add include.
23356 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23358 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23360 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23362 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23363 (tests): Remove $(objpfx)ga_test depdendency.
23364 * resolv/ga_test.c: Remove file.
23366 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23369 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23370 * localedata/locales/kab_DZ: New file.
23372 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23374 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23375 _dl_relocate_static_pie instead of _dl_start to compute load
23376 address in static PIE.
23378 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23380 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23382 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23385 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23386 * localedata/locales/shn_MM: New file.
23388 2017-10-20 Florian Weimer <fweimer@redhat.com>
23391 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23392 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23393 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23394 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23395 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23396 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23398 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23400 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23402 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23404 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23407 * sysdeps/mips/bits/long-double.h: Move to ....
23408 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23410 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23412 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23414 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23415 H.J. Lu <hongjiu.lu@intel.com>
23418 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23419 GLRO(dl_platform) to NULL.
23420 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23421 (modules-names): Add tst-platformmod-1 and
23422 x86_64/tst-platformmod-2.
23423 (CFLAGS-tst-platform-1.c): New.
23424 (CFLAGS-tst-platformmod-1.c): Likewise.
23425 (CFLAGS-tst-platformmod-2.c): Likewise.
23426 (LDFLAGS-tst-platformmod-2.so): Likewise.
23427 ($(objpfx)tst-platform-1): Likewise.
23428 ($(objpfx)tst-platform-1.out): Likewise.
23429 (tst-platform-1-ENV): Likewise.
23430 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23431 * sysdeps/x86_64/tst-platform-1.c: New file.
23432 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23433 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23435 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23438 * locale/iso-639.def: Add Karbi.
23439 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23440 * localedata/locales/mjw_IN: New file.
23442 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23444 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23445 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23446 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23447 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23448 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23449 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23450 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23452 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23453 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23454 * manual/math.texi (Mathematics): Document additional architecture
23455 support for _Float128.
23456 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23457 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23458 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23459 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23460 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23461 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23462 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23463 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23464 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23465 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23466 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23467 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23468 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23469 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23470 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23472 2017-10-18 Renlin Li <renlin.li@arm.com>
23474 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23475 _DYNAMIC symbol to calculate load address.
23477 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23479 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23480 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23482 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23483 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23485 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23488 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23489 and improve readability by using more ASCII.
23490 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23491 and improve readability by using more ASCII.
23493 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23495 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23496 not all targets support atomics on bool.
23498 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23500 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23501 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23503 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23504 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23505 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23506 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23507 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23508 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23510 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23512 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23515 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23518 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23519 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23520 (do_check_remalloced_chunk): Fix build bug.
23521 (do_check_malloc_state): Add assert that checks arena->top.
23522 (malloc_consolidate): Remove initialization.
23523 (int_mallinfo): Remove call to malloc_consolidate.
23524 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23526 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23528 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23529 (have_fastchunks): Remove.
23530 (clear_fastchunks): Remove.
23531 (set_fastchunks): Remove.
23532 (malloc_state): Add have_fastchunks.
23533 (malloc_init_state): Use have_fastchunks.
23534 (do_check_malloc_state): Remove incorrect invariant checks.
23535 (_int_malloc): Use have_fastchunks.
23536 (_int_free): Likewise.
23537 (malloc_consolidate): Likewise.
23539 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23541 * malloc/malloc.c (tcache_put): Inline.
23542 (tcache_get): Inline.
23544 2017-10-17 Jordi Mallach <jordi@gnu.org>
23546 Aurelien Jarno <aurelien@aurel32.net>
23548 * localedata/locales/ca_ES@valencia: New file.
23549 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23551 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23554 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23557 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23559 * scripts/build-many-glibcs.py (Context.add_all_configs):
23560 Add arm-linux-gnueabihf multiarch extra_glibcs.
23562 * sysdeps/generic/ifunc-init.h: New file.
23563 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23565 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23568 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23569 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23570 * stdlib/tst-strfmon_l.c: adapt test case.
23572 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23574 * sysdeps/generic/float128-abi.h: New file.
23575 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23576 non-__prefixed symbols to ....
23577 * math/Versions: ... here. Include <float128-abi.h>.
23578 * stdlib/Versions ... and here. Include <float128-abi.h>
23580 2017-10-16 Florian Weimer <fweimer@redhat.com>
23582 * version.h (VERSION): Switch to ".9000" as the development
23585 2017-10-16 Florian Weimer <fweimer@redhat.com>
23588 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23589 compat_symbol_reference to access non-default version.
23591 2017-10-16 Florian Weimer <fweimer@redhat.com>
23593 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23595 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23597 * include/shlib-compat.h (compat_symbol_reference): Update
23600 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23602 * math/Makefile (test-types): Add
23603 $(type-float128-$(float128-alias-fcts)).
23604 * math/test-float128.h (TYPE_STR): Define conditional on
23605 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23606 (ULP_IDX): Likewise.
23607 (ULP_I_IDX): Likewise.
23609 * stdlib/strtold.c: Include <bits/floatn.h>
23610 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23611 and later undefine as macro. Define as weak alias if
23613 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23614 and later undefine as macro. Define as weak alias if
23616 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23617 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23618 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23619 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23620 Define and later undefine as macro. Define as weak alias if
23622 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23624 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23625 Define and later undefine as macro. Define as weak alias if
23627 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23628 Define and later undefine as macro. Define as weak alias if
23631 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23633 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23634 record_verbose messages.
23636 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23639 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23640 to silence -O3 -Wall warning with GCC 7.
23642 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23644 * Makeconfig (+link-static-before-libc): Use the first of
23645 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23646 * gmon/Makefile (tests): Add tst-gmon-static.
23647 (tests-static): Likewise.
23648 (CFLAGS-tst-gmon-static.c): New.
23649 (CRT-tst-gmon-static): Likewise.
23650 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23651 (tst-gmon-static-ENV): Likewise.
23652 (tests-special): Likewise.
23653 ($(objpfx)tst-gmon-static.out): Likewise.
23654 (clean-tst-gmon-static-data): Likewise.
23655 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23656 * gmon/tst-gmon-static-gprof.sh: New file.
23657 * gmon/tst-gmon-static.c: Likewise.
23659 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23662 * locale/programs/linereader.c (get_string): Don't warn on
23663 non-symbolic character.
23666 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23670 * locale/programs/record-status.h: New file
23671 * locale/programs/locale.c: Add comment.
23672 * locale/programs/charmap-dir.c: Don't include error.h.
23673 (charmap_opendir): Use record_error.
23674 * locale/programs/charmap.c: Don't include error.h.
23675 (charmap_read): Use record_error, and record_warning.
23676 (parse_charmap): Likewise.
23677 * locale/programs/ld-address.c: Don't include error.h.
23678 (address_finish): Use record_error, and record_warning.
23679 * locale/programs/ld-collate.c: Don't include error.h.
23680 (collate_finish): Use record_error, and record_error_at_line.
23681 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23682 (ctype_class_new): Likewise.
23683 (ctype_map_new): Likewise.
23684 (set_one_default): Likewise.
23685 (set_class_defaults): Likewise.
23686 (translit_flatten): Likewise.
23687 (allocate_arrays): Use record_error, and record_verbose.
23688 * locale/programs/ld-identification.c: Don't include error.h.
23689 (indentation_finish): Use record_error and record_warning.
23690 * locale/programs/ld-measurement.c: Don't include error.h.
23691 (measurement_finish): Use record_error.
23692 * locale/programs/ld-messages.c
23693 (message_finish): Likewise.
23694 * locale/programs/ld-monetary.c
23695 (monetary_finish): Likewise.
23696 * locale/programs/ld-name.c (name_finish): Use record_error
23697 and record_warning.
23698 * locale/programs/ld-numeric.c
23699 (numeric_finish): Use record_error.
23700 * locale/programs/ld-paper.c: Don't include error.h.
23701 (paper_finish): Use record_error.
23702 * locale/programs/ld-telephone.c: Don't include error.h.
23703 (telephone_finish): Use record_error.
23704 * locale/programs/ld-time.c (time_finish): Likewise.
23705 * locale/programs/linereader.h (lr_error): Make inline func.
23706 * locale/programs/localedef.c: Define recorded_warning_count,
23707 and recorded_error_count.
23708 (main): Use record_error. Use recorded_error_count and
23709 recorded_warning_count to issue correct error returns.
23710 (add_to_readlist): Use record_error.
23711 (find_locale): Likewise.
23712 (load_locale): Likewise.
23713 * locale/programs/localedef.h: Remove be_quiet
23714 and WITH_CUR_LOCALE.
23715 * locale/programs/locarchive.c (compare_from_file): Use
23717 * locale/programs/locfile.c (write_locale_data): Use
23719 * locale/programs/repertoire.c: Dont include error.h.
23720 (repertoire_complain): Use record_error.
23721 * localedata/tst-fmon.sh: Expect failures from localedef.
23722 * localedata/tst-locale.sh: Likewise.
23723 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23725 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23726 (REPORTS): Likewise.
23728 (i18n): Rename to...
23729 (i18n_ctype): ...this.
23730 (i18n-report): Rename to...
23731 (i18n_ctype-report): ...this.
23732 * localedata/locales/i18n_ctype: Regenerate.
23733 * localedata/locales/i18n: copy i18n_ctype.
23735 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23737 * stdlib/strfroml.c: Include <bits/floatn.h>.
23738 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
23739 Define before include of <stdlib.h> and undefine afterwards, then
23740 define as weak alias.
23742 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
23743 Undefine and restore default definition. Use
23744 libm_alias_ldouble_other.
23746 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
23749 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
23752 2017-10-13 James Clarke <jrtc27@jrtc27.com>
23754 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23755 Assign sym_map to be map for local symbols, as TLS relocations
23756 use sym_map to determine whether the symbol is defined and to
23757 extract the TLS information.
23758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23761 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23764 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
23765 (math_force_eval): Add powerpc version.
23768 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
23770 (do_test): Likewise.
23771 * stdio-common/tst-printf.sh: Likewise.
23772 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
23773 ifdef clause in order to set the carry bit right. Replace r0 by
23774 0 without changing the behavior.
23776 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23778 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
23779 <libm-alias-ldouble.h>.
23780 (fabsl): Define using libm_alias_ldouble.
23781 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
23782 <libm-alias-ldouble.h>.
23783 (fabsl): Define using libm_alias_ldouble.
23785 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
23786 Remove conditional code.
23788 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
23789 Rename to __clog10_internal_l.
23790 (__clog10_internal_l): Define aliases using
23791 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
23794 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23796 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
23797 * benchtests/sincosf-inputs: New file.
23798 * benchtests/cosf-inputs: New file.
23799 * benchtests/sinf-inputs: New file.
23801 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23803 * posix/tst-spawn.c (do_test): Wait for both children.
23805 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
23808 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
23809 tests-pie): Add tst-gmon-pie.
23810 (CFLAGS-tst-gmon-pie.c): New.
23811 (CRT-tst-gmon-pie): Likewise.
23812 (tst-gmon-pie-ENV): Likewise.
23813 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
23814 ($(objpfx)tst-gmon-pie.out): Likewise.
23815 (clean-tst-gmon-pie-data): Likewise.
23816 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
23817 * gmon/gmon.c [PIC]: Include <link.h>.
23818 [PIC] (callback): New function.
23819 (write_hist): Add an argument for load address. Subtract load
23821 (write_call_graph): Likewise.
23822 (write_gmon): Call __dl_iterate_phdr to get load address, pass
23823 it to write_hist and write_call_graph.
23824 * gmon/tst-gmon-pie.c: New file.
23826 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23828 * math/Makefile (test-types-basic): New variable.
23829 (test-types): Likewise.
23830 (libm-test-support): Use $(test-types) instead of $(types).
23831 (libm-tests-base-normal): Likewise.
23832 (libm-tests-base-finite): Likewise.
23833 (libm-tests-base-inline): Likewise.
23834 (generated): Likewise.
23835 ($(objpfx)libm-test-support-$(t).c): Likewise.
23836 (libm-tests-for-type iterator): Likewise.
23837 (libm-test-support iterator): Likewise.
23838 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
23839 (ulp_idx): Use ULP_IDX.
23840 * math/test-ldouble.h: Include <float.h>.
23841 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
23842 (ULP_IDX): New macro.
23843 (ULP_I_IDX): Likewise.
23844 * math/test-double.h (ULP_IDX): Likewise.
23845 (ULP_I_IDX): Likewise.
23846 * math/test-float.h (ULP_IDX): Likewise.
23847 (ULP_I_IDX): Likewise.
23848 * math/test-float128.h (ULP_IDX): Likewise.
23849 (ULP_I_IDX): Likewise.
23851 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23853 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
23854 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23855 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23856 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
23857 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23858 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
23859 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
23860 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23862 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23863 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
23864 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23865 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23866 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23867 (SINGLE_THREAD_BY_GLOBAL): Define.
23868 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23870 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23872 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23874 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23876 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
23877 (SINGLE_THREAD_BY_GLOBAL): Likewise.
23878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23881 2017-10-11 Andreas Schwab <schwab@suse.de>
23883 * nis/Makefile (aux): Remove.
23884 * nscd/Makefile (aux): Add nscd_hash.
23885 (nscd-modules): Likewise.
23886 ($(objpfx)nscd): Don't depend on libnsl.
23887 * nscd/nscd_hash.c: New file.
23888 * nscd/nscd_hash.h: Likewise.
23889 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
23890 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
23891 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
23892 instead of <nis/rpcsvc/nis.h>.
23893 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
23895 2017-10-11 Florian Weimer <fweimer@redhat.com>
23898 Avoid large NSS buffers with many addresses, aliases.
23899 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
23900 using dynarrays and struct alloc_buffer.
23901 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
23902 (tst-nss-files-hosts-multi): Link with -ldl.
23903 * nss/tst-nss-files-hosts-multi.c: New file.
23905 2017-10-11 Florian Weimer <fweimer@redhat.com>
23908 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
23909 scratch_buffer. Eliminate gotos.
23911 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23913 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
23914 libm_alias_ldouble_other.
23915 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
23916 undefine and redefine.
23917 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23918 (exp10l): Do not define here.
23919 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
23920 (weak_alias): Undefine and redefine.
23921 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
23922 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
23923 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
23924 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
23926 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
23927 [!__fma] (fma): Define using libm_alias_double.
23928 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
23929 [!__fmaf] (fmaf): Define using libm_alias_float.
23930 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
23931 (fmal): Define using libm_alias_ldouble.
23933 2017-10-10 Joseph Myers <joseph@codesourcery.com>
23935 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
23937 (libm_alias_double_other): Likewise.
23938 (libm_alias_double_r): Use libm_alias_double_other_r.
23939 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
23941 (libm_alias_float_other): Likewise.
23942 (libm_alias_float_r): Use libm_alias_float_other_r.
23943 * sysdeps/generic/libm-alias-float128.h
23944 (libm_alias_float128_other_r): New macro.
23945 (libm_alias_float128_other): Likewise.
23946 (libm_alias_float128_r): Use libm_alias_float128_other_r.
23947 * sysdeps/generic/libm-alias-ldouble.h
23948 (libm_alias_ldouble_other_r): New macro.
23949 (libm_alias_ldouble_other): Likewise.
23950 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23951 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23952 (libm_alias_double_other_r): New macro.
23953 (libm_alias_double_other): Likewise.
23954 (libm_alias_double_r): Use libm_alias_double_other_r.
23955 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23956 (libm_alias_ldouble_other_r): New macro.
23957 (libm_alias_ldouble_other): Likewise.
23958 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
23959 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
23960 [!USE_AS_COMPAT]: Use libm_alias_double_other.
23961 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
23962 [!USE_AS_COMPAT]: Use libm_alias_float_other.
23963 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
23964 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
23965 * math/w_exp2f.c: Use libm_alias_float_other.
23966 * math/w_expf.c: Likewise.
23967 * math/w_log2f.c: Likewise.
23968 * math/w_logf.c: Likewise.
23969 * math/w_powf.c: Likewise.
23970 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
23971 [!__exp2f]: Use libm_alias_float_other.
23972 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
23973 [!__expf]: Use libm_alias_float_other.
23974 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
23975 [!__log2f]: Use libm_alias_float_other.
23976 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
23977 [!__logf]: Use libm_alias_float_other.
23978 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
23979 [!__powf]: Use libm_alias_float_other.
23981 2017-10-10 Florian Weimer <fweimer@redhat.com>
23983 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
23985 (_nss_files_gethostbyname3_r): Call it.
23987 2017-10-09 Joseph Myers <joseph@codesourcery.com>
23989 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
23990 error. Remove default definition of declare_mgen_alias.
23991 [!declare_mgen_alias_r]: Likewise.
23992 * sysdeps/generic/math-type-macros-double.h
23993 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
23994 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
23995 (declare_mgen_alias_r): Likewise.
23996 * sysdeps/generic/math-type-macros-float128.h
23997 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
23998 * sysdeps/generic/math-type-macros-ldouble.h
23999 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24000 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24002 (declare_mgen_alias_r_s): Likewise.
24003 (declare_mgen_alias_r): Likewise.
24004 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24005 (lgamma_r): Define using libm_alias_double_r.
24006 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24007 (lgammaf_r): Define using libm_alias_float_r.
24008 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24009 (lgammal_r): Define using libm_alias_ldouble_r.
24010 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24011 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24013 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24015 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24016 extern declaration.
24018 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24020 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24022 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24025 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24026 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24027 * math/Makefile (test-math-cxx11): New test.
24028 * math/test-math-cxx11.cc: New file.
24030 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24032 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24034 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24035 call to allocate the slave pty file descriptor.
24037 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24039 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24040 [!__fma] (fma): Define using libm_alias_double.
24041 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24042 [!__fma] (fma): Define using libm_alias_double.
24044 * sysdeps/ieee754/float128/float128_private.h: Include
24045 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24046 (libm_alias_ldouble_r): Undefine and redefine.
24047 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24048 <libm-alias-ldouble.h>.
24049 (asinhl): Define using libm_alias_ldouble.
24050 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24051 <libm-alias-ldouble.h>.
24052 (atanl): Define using libm_alias_ldouble.
24053 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24054 <libm-alias-ldouble.h>.
24055 (cbrtl): Define using libm_alias_ldouble.
24056 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24057 <libm-alias-ldouble.h>.
24058 (ceill): Define using libm_alias_ldouble.
24059 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24060 <libm-alias-ldouble.h>.
24061 (copysignl): Define using libm_alias_ldouble.
24062 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24063 <libm-alias-ldouble.h>.
24064 (cosl): Define using libm_alias_ldouble.
24065 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24066 <libm-alias-ldouble.h>.
24067 (erfl): Define using libm_alias_ldouble.
24069 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24070 <libm-alias-ldouble.h>.
24071 (expm1l): Define using libm_alias_ldouble.
24072 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24073 <libm-alias-ldouble.h>.
24074 (fabsl): Define using libm_alias_ldouble.
24075 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24076 <libm-alias-ldouble.h>.
24077 (floorl): Define using libm_alias_ldouble.
24078 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24079 <libm-alias-ldouble.h>.
24080 (fmal): Define using libm_alias_ldouble.
24081 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24082 <libm-alias-ldouble.h>.
24083 (frexpl): Define using libm_alias_ldouble.
24084 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24085 libm_alias_ldouble.
24086 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24087 <libm-alias-ldouble.h>.
24088 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24089 libm_alias_ldouble.
24090 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24091 <libm-alias-ldouble.h>.
24092 (getpayloadl): Define using libm_alias_ldouble.
24093 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24094 <libm-alias-ldouble.h>.
24095 (llrintl): Define using libm_alias_ldouble.
24096 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24097 <libm-alias-ldouble.h>.
24098 (llroundl): Define using libm_alias_ldouble.
24099 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24100 <libm-alias-ldouble.h>.
24101 (logbl): Define using libm_alias_ldouble.
24102 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24103 <libm-alias-ldouble.h>.
24104 (lrintl): Define using libm_alias_ldouble.
24105 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24106 <libm-alias-ldouble.h>.
24107 (lroundl): Define using libm_alias_ldouble.
24108 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24109 <libm-alias-ldouble.h>.
24110 (modfl): Define using libm_alias_ldouble.
24111 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24112 <libm-alias-ldouble.h>.
24113 (nearbyintl): Define using libm_alias_ldouble.
24114 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24115 <libm-alias-ldouble.h>.
24116 (nextafterl): Define using libm_alias_ldouble.
24117 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24118 <libm-alias-ldouble.h>.
24119 (nextupl): Define using libm_alias_ldouble.
24120 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24121 <libm-alias-ldouble.h>.
24122 (remquol): Define using libm_alias_ldouble.
24123 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24124 <libm-alias-ldouble.h>.
24125 (rintl): Define using libm_alias_ldouble.
24126 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24127 <libm-alias-ldouble.h>.
24128 (roundevenl): Define using libm_alias_ldouble.
24129 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24130 <libm-alias-ldouble.h>.
24131 (roundl): Define using libm_alias_ldouble.
24132 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24133 using libm_alias_ldouble.
24134 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24135 <libm-alias-ldouble.h>.
24136 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24137 Define using libm_alias_ldouble.
24138 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24139 <libm-alias-ldouble.h>.
24140 (sincosl): Define using libm_alias_ldouble.
24141 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24142 <libm-alias-ldouble.h>.
24143 (sinl): Define using libm_alias_ldouble.
24144 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24145 <libm-alias-ldouble.h>.
24146 (tanhl): Define using libm_alias_ldouble.
24147 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24148 <libm-alias-ldouble.h>.
24149 (tanl): Define using libm_alias_ldouble.
24150 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24151 <libm-alias-ldouble.h>.
24152 (totalorderl): Define using libm_alias_ldouble.
24153 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24154 <libm-alias-ldouble.h>.
24155 (totalordermagl): Define using libm_alias_ldouble.
24156 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24157 <libm-alias-ldouble.h>.
24158 (truncl): Define using libm_alias_ldouble.
24159 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24160 libm_alias_ldouble.
24161 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24162 libm_alias_ldouble.
24163 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24164 <libm-alias-ldouble.h>.
24165 (weak_alias): Do not undefine and redefine.
24166 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24167 (copysignl): Define with long_double_symbol only if [IS_IN
24169 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24170 <libm-alias-ldouble.h>.
24171 (weak_alias): Do not undefine and redefine.
24172 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24173 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24174 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24175 <libm-alias-ldouble.h>.
24176 (weak_alias): Do not undefine and redefine.
24177 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24178 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24179 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24180 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24181 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24182 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24183 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24184 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24185 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24186 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24187 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24189 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24190 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24191 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24195 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24196 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24197 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24198 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24200 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24201 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24202 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24204 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24207 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24208 (tcache_thread_freeres): Set tcache_shutting_down before
24209 freeing the tcache.
24210 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24211 * malloc/tst-malloc-tcache-leak.c: New file.
24213 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24215 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24216 back to powerpc32 file.
24217 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24218 (memrchr): Add __memrchr_power8 to ifunc list.
24219 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24220 extra bytes for unaligned inputs.
24222 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24224 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24225 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24230 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24232 * sysdeps/arm/libm-test-ulps: Update.
24234 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24235 <libm-alias-ldouble.h>.
24236 (asinhl): Define using libm_alias_ldouble.
24237 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24238 <libm-alias-ldouble.h>.
24239 (cbrtl): Define using libm_alias_ldouble.
24240 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24241 <libm-alias-ldouble.h>.
24242 (copysignl): Define using libm_alias_ldouble.
24243 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24244 <libm-alias-ldouble.h>.
24245 (cosl): Define using libm_alias_ldouble.
24246 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24247 <libm-alias-ldouble.h>.
24248 (erfl): Define using libm_alias_ldouble.
24250 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24251 <libm-alias-ldouble.h>.
24252 (fmal): Define using libm_alias_ldouble.
24253 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24254 <libm-alias-ldouble.h>.
24255 (frexpl): Define using libm_alias_ldouble.
24256 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24257 libm_alias_ldouble.
24258 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24259 <libm-alias-ldouble.h>.
24260 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24261 libm_alias_ldouble.
24262 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24263 <libm-alias-ldouble.h>.
24264 (getpayloadl): Define using libm_alias_ldouble.
24265 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24266 <libm-alias-ldouble.h>.
24267 (llrintl): Define using libm_alias_ldouble.
24268 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24269 <libm-alias-ldouble.h>.
24270 (llroundl): Define using libm_alias_ldouble.
24271 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24272 <libm-alias-ldouble.h>.
24273 (lrintl): Define using libm_alias_ldouble.
24274 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24275 <libm-alias-ldouble.h>.
24276 (lroundl): Define using libm_alias_ldouble.
24277 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24278 <libm-alias-ldouble.h>.
24279 (modfl): Define using libm_alias_ldouble.
24280 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24281 <libm-alias-ldouble.h>.
24282 (nextupl): Define using libm_alias_ldouble.
24283 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24284 <libm-alias-ldouble.h>.
24285 (remquol): Define using libm_alias_ldouble.
24286 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24287 <libm-alias-ldouble.h>.
24288 (roundevenl): Define using libm_alias_ldouble.
24289 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24290 <libm-alias-ldouble.h>.
24291 (roundl): Define using libm_alias_ldouble.
24292 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24293 using libm_alias_ldouble.
24294 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24295 <libm-alias-ldouble.h>.
24296 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24297 <libm-alias-ldouble.h>.
24298 (setpayloadsigl): Define using libm_alias_ldouble.
24299 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24300 <libm-alias-ldouble.h>.
24301 (sincosl): Define using libm_alias_ldouble.
24302 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24303 <libm-alias-ldouble.h>.
24304 (sinl): Define using libm_alias_ldouble.
24305 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24306 <libm-alias-ldouble.h>.
24307 (tanhl): Define using libm_alias_ldouble.
24308 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24309 <libm-alias-ldouble.h>.
24310 (tanl): Define using libm_alias_ldouble.
24311 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24312 <libm-alias-ldouble.h>.
24313 (totalorderl): Define using libm_alias_ldouble.
24314 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24315 <libm-alias-ldouble.h>.
24316 (totalordermagl): Define using libm_alias_ldouble.
24317 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24318 libm_alias_ldouble.
24319 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24320 libm_alias_ldouble.
24322 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24324 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24326 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24327 (__libc_ifunc_impl_list): Likewise.
24328 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24329 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24331 * benchtests/bench-memmove-walk.c: New file.
24332 * benchtests/Makefile (string-benchset): Add it.
24334 * benchtests/bench-memset-walk.c: New file.
24335 * benchtests/Makefile (string-benchset): Add it.
24337 * benchtests/bench-memcpy-walk.c: New file.
24338 * benchtests/Makefile (string-benchset): Add it.
24340 2017-10-05 Florian Weimer <fweimer@redhat.com>
24342 nscd: Eliminate compilation time dependency in the build output.
24343 * nscd/nscd_stat.c (STATDATA_VERSION)
24344 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24345 (STATDATA_VERSION_FULL): New macro definitions.
24346 (compilation): Remove.
24347 (struct statdata): Adjust version member.
24348 (send_stats): Set version from STATDATA_VERSION_FULL.
24349 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24351 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24353 * configure.ac (--enable-add-ons): Remove option.
24354 (machine): Do not mention add-ons in comment.
24355 (LIBC_PRECONFIGURE): Likewise.
24356 (add_ons): Remove variable and sanity checks and logic to locate
24358 (add_ons_automatic): Remove variable.
24359 (configured_add_ons): Likewise.
24360 (add_ons_sfx): Likewise.
24361 (add_ons_pfx): Likewise.
24362 (add_on_subdirs): Likewise.
24363 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24364 consideration of add-ons in Implies handling.
24365 (sysdeps_add_ons): Likewise.
24366 * configure: Regenerated.
24367 * libidn/configure.ac: Remove.
24368 * libidn/configure: Likewise.
24369 * sysdeps/unix/inet/configure.ac: New file.
24370 * sysdeps/unix/inet/configure: New generated file.
24371 * sysdeps/unix/inet/Subdirs: Add libidn.
24372 * Makeconfig (sysdeps-srcdirs): Remove variable.
24373 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24374 ($(common-objpfx)config.status): Do not depend on add-on files.
24375 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24377 (all-subdirs): Do not include $(add-on-subdirs).
24378 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24379 * config.make.in (add-ons): Remove variable.
24380 (add-on-subdirs): Likewise.
24381 (sysdeps-add-ons): Likewise.
24382 * manual/Makefile (add-chapters): Remove.
24383 ($(objpfx)texis): Do not depend on $(add-chapters).
24384 (nonexamples): Do not handle $(add-chapters).
24385 (examples): Do not handle $(add-ons).
24386 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24388 * manual/install.texi (Installation): Do not mention add-ons.
24389 (--enable-add-ons): Do not document configure option.
24390 * INSTALL: Regenerated.
24391 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24392 * manual/maint.texi (Hierarchy Conventions): Do not mention
24394 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24396 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24398 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24399 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24401 2017-10-05 Andreas Schwab <schwab@suse.de>
24404 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24405 (_IO_flush_all_lockp): Always lock list_all_lock.
24406 (_IO_flush_all_linebuffered): Likewise.
24407 (_IO_unbuffer_all): Likewise.
24409 2017-10-05 Florian Weimer <fweimer@redhat.com>
24412 Do not flush stdio streams on abort.
24413 * stdlib/abort.c (fflush): Remove macro definition.
24414 (abort): Remove stages related to stdio flushing.
24416 2017-10-05 Florian Weimer <fweimer@redhat.com>
24418 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24420 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24422 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24424 2017-10-05 Florian Weimer <fweimer@redhat.com>
24426 * support/support_format_hostent.c (support_format_hostent): Add
24427 more error information for NETDB_INTERNAL.
24429 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24431 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24432 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24433 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24434 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24435 AC_DEFINE if multi-arch is enabled.
24436 * sysdeps/i386/configure: Regenerated.
24438 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24440 * Makeconfig (+link-static-before-libc): Use
24441 $(DEFAULT-LDFLAGS-$(@F)).
24442 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24443 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24444 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24446 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24448 * elf/Makefile (tests): Add tst-main1.
24449 (modules-names): Add tst-main1mod.
24450 ($(objpfx)tst-main1): New.
24451 (CRT-tst-main1): Likewise.
24452 (LDFLAGS-tst-main1): Likewise.
24453 (LDLIBS-tst-main1): Likewise.
24454 (tst-main1mod.so-no-z-defs): Likewise.
24455 * elf/tst-main1.c: New file.
24456 * elf/tst-main1mod.c: Likewise.
24458 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24460 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24462 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24464 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24465 (fma): Define using libm_alias_double.
24466 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24467 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24469 (fmal): Do not define as compat symbol here.
24470 * sysdeps/alpha/fpu/s_fma.c: New file.
24472 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24474 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24476 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24479 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24481 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24483 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24484 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24485 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24486 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24488 Include <math_ldbl_opt.h>
24489 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24491 (compat_symbol): Undefine and redefine.
24492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24494 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24495 (compat_symbol): Undefine and redefine.
24496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24497 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24498 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24499 GLIBC_2_1 for libm.
24500 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24501 GLIBC_2.0 copysignl symbol.
24502 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24503 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24505 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24507 2017-10-04 Florian Weimer <fweimer@redhat.com>
24509 * scripts/check-local-headers.sh: Ignore nspr4 header file
24510 directory in addition to nspr.
24512 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24515 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24516 * configure: Regenerate.
24517 * crypt/Makefile (nss-cpp-flags): New variable.
24518 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24519 (CPPFLAGS-md5-crypt.c): Use it.
24520 * scripts/check-local-headers.sh: Ignore nspr header file
24523 2017-10-04 Andreas Schwab <schwab@suse.de>
24525 * nis/Makefile (services): Remove compat.
24526 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24527 ($(objpfx)libnss_compat.so): Remove rule.
24528 * nis/Versions (libnss_compat): Remove.
24529 * nss/Makefile (services): Add compat.
24530 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24531 * nss/Versions (libnss_compat): Define.
24532 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24533 Don't include <rpc/types.h>. Replace bool_t by bool.
24534 * nss/nss_compat/compat-initgroups.c: Likewise.
24535 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24536 instead of <rpcsrv/ypclnt.h>.
24537 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24538 yp_get_default_domain.
24539 * nss/nss_compat/compat-pwd.c: Likewise.
24540 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24541 yp_get_default_domain.
24542 * nss/nss_compat/nisdomain.c: New file.
24543 * nss/nss_compat/nisdomain.h: Likewise.
24545 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24548 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24549 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24551 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24554 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24555 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24557 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24559 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24560 "movl main@GOTOFF(%ebx), %eax".
24562 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24564 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24565 allow undefined _DYNAMIC in PIE libc.a.
24566 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24569 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24571 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24574 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24576 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24579 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24581 * math/test-math-iscanonical.cc (error): Replace bool with int.
24583 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24585 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24586 (modf): Define using libm_alias_double, only if [!__modf].
24587 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24588 <libm-alias-double.h>.
24589 (modf): Define using libm_alias_double, only if [!__modf].
24590 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24591 compat symbol here.
24592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24593 (weak_alias): Do not undefine and redefine.
24594 (strong_alias): Likewise.
24595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24596 (weak_alias): Likewise.
24597 (strong_alias): Likewise.
24599 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24600 (logb): Define using libm_alias_double, only if [!__logb].
24601 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24602 <libm-alias-double.h>.
24603 (logb): Define using libm_alias_double, only if [!__logb].
24604 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24606 (weak_alias): Do not undefine and redefine.
24607 (strong_alias): Likewise.
24608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24609 (weak_alias): Likewise.
24610 (strong_alias): Likewise.
24612 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24614 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24615 Check SHARED instead PIC.
24617 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24619 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24620 [!__fmaf] (fmaf): Define using libm_alias_float.
24622 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24623 (frexp): Define using libm_alias_double.
24624 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24625 <libm-alias-double.h>.
24626 (frexp): Define using libm_alias_double.
24627 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24628 compat symbol here.
24630 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24633 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24634 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24635 (CFLAGS-test-math-iscanonical.cc): New variable.
24636 * math/test-math-iscanonical.cc: New file.
24637 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24638 Provide a C++ implementation based on function overloading,
24639 rather than using __MATH_TG, which uses C-only builtins.
24640 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24642 * sysdeps/powerpc/powerpc64le/Makefile
24643 (CFLAGS-test-math-iscanonical.cc): New variable.
24645 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24647 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24648 (ceil): Define using libm_alias_double.
24649 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24650 (floor): Define using libm_alias_double.
24651 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24652 <libm-alias-double.h>.
24653 (llround): Define using libm_alias_double.
24654 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24655 <libm-alias-double.h>.
24656 (lround): Define using libm_alias_double.
24657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24658 <libm-alias-double.h>.
24659 (nearbyint): Define using libm_alias_double.
24660 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24661 <libm-alias-double.h>.
24662 (remquo): Define using libm_alias_double.
24663 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24664 (rint): Define using libm_alias_double.
24665 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24666 (round): Define using libm_alias_double.
24667 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24668 (trunc): Define using libm_alias_double.
24669 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24670 <libm-alias-double.h>.
24671 (ceil): Define using libm_alias_double.
24672 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24673 <libm-alias-double.h>.
24674 (floor): Define using libm_alias_double.
24675 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24676 <libm-alias-double.h>.
24677 (llround): Define using libm_alias_double.
24678 [_LP64] (lround): Likewise.
24679 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24680 <libm-alias-double.h>.
24681 [!_LP64] (lround): Define using libm_alias_double.
24682 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24683 <libm-alias-double.h>.
24684 (nearbyint): Define using libm_alias_double.
24685 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24686 <libm-alias-double.h>.
24687 (remquo): Define using libm_alias_double.
24688 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24689 <libm-alias-double.h>.
24690 (rint): Define using libm_alias_double.
24691 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24692 <libm-alias-double.h>.
24693 (round): Define using libm_alias_double.
24694 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24695 <libm-alias-double.h>.
24696 (trunc): Define using libm_alias_double.
24697 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24698 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24699 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24700 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24701 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24702 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24703 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24704 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24705 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24707 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24709 * math/w_remainder.c: New file.
24710 * math/w_remainderf.c: New file.
24711 * math/w_remainderl.c: New file.
24713 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24715 * elf/rtld.c (BOOTSTRAP_MAP): New.
24716 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24717 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24719 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24721 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24724 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24726 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24727 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24728 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24729 rtld_hidden_data_ver): Define to empty.
24730 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
24731 __assert_perror_fail): Likewise.
24732 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24733 (__rewinddir): Likewise.
24734 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24735 (__profile_frequency): Likewise.
24736 * include/setjmp.h (__sigsetjmp): Likewise.
24737 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
24738 __libc_sigaction): Likewise.
24739 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
24740 not set hidden attribute.
24741 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
24742 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
24743 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
24744 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
24745 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
24746 __fxstatat64): Likewise.
24747 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24748 (__uname): Likewise.
24749 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24750 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
24751 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
24752 (NO_RTLD_HIDDEN): Set.
24753 * sysdeps/mach/hurd/configure: Refresh.
24754 * config.h.in: Refresh.
24756 2017-10-02 Joseph Myers <joseph@codesourcery.com>
24758 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
24759 (atan): Define using libm_alias_double.
24760 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
24761 (tan): Define using libm_alias_double.
24762 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
24763 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
24765 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
24766 define as weak alias of __atan. Do not define any aliases if
24768 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
24769 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
24770 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
24771 as weak alias of __tan. Do not define any aliases if [__tan].
24772 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
24773 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
24774 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
24776 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
24777 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
24778 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
24779 and define as weak alias of __atan.
24780 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
24782 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
24783 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
24784 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
24785 define as weak alias of __tan.
24787 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24789 * math/w_lgamma.c: New file.
24790 * math/w_lgammaf.c: New file.
24791 * math/w_lgammal.c: New file.
24793 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24795 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
24796 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
24797 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
24798 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
24799 * sysdeps/ieee754/flt-32/w_logf.c: New file.
24800 * sysdeps/ieee754/flt-32/w_powf.c: New file.
24801 * sysdeps/i386/fpu/w_log2f.c: New file.
24802 * sysdeps/i386/fpu/w_logf.c: New file.
24803 * sysdeps/i386/fpu/w_powf.c: New file.
24804 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
24805 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
24806 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
24808 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24809 H.J. Lu <hongjiu.lu@intel.com>
24811 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
24812 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
24813 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
24814 * sysdeps/ieee754/flt-32/w_expf.c: New file.
24815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
24817 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
24818 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
24819 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
24820 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
24821 * sysdeps/i386/fpu/w_exp2f.c: New file.
24822 * sysdeps/i386/fpu/w_expf.c: New file.
24823 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
24824 * sysdeps/x86_64/fpu/w_expf.c: New file.
24826 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24828 * math/Versions (logf): New libm symbol at GLIBC_2.27.
24831 * math/w_log2f.c: New file.
24832 * math/w_logf.c: New file.
24833 * math/w_powf.c: New file.
24834 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
24835 * math/w_logf_compat.c (__logf_compat): Likewise.
24836 * math/w_powf_compat.c (__powf_compat): Likewise.
24837 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
24838 * sysdeps/ia64/fpu/e_logf.S: Likewise.
24839 * sysdeps/ia64/fpu/e_powf.S: Likewise.
24840 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24841 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24842 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24843 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24844 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24845 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24846 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24847 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24848 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24849 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24850 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24851 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24860 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24861 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24862 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24863 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24864 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24869 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24870 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24871 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24873 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24875 * sysdeps/powerpc/powerpc64/multiarch/Makefile
24876 (sysdep_routines): Add memrchr_power8.
24877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24878 (memrchr): Add __memrchr_power8 to list of memrchr functions.
24879 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
24881 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24882 (memrchr): Add __memrchr_power8 to ifunc list.
24883 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
24885 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24888 * sysdeps/unix/sysv/linux/posix_fadvise64.c
24889 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
24891 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24892 (__posix_fallocate64_l64): Likewise.
24894 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24897 * sysdeps/unix/sysv/linux/sched_setaffinity.c
24898 (__sched_setaffinity_new): Add libc_hidden_proto and
24901 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24904 * include/glob.h (__glob64): Add libc_hidden_proto.
24905 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
24908 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24911 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
24914 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24917 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
24919 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24922 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
24925 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24928 * csu/version.c (__libc_print_version): Add attribute_hidden.
24930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24933 * include/libc-internal.h (__init_misc): Add attribute_hidden.
24935 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24938 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
24940 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24943 * nscd/nscd_helper.c (__nis_hash): New prototype.
24945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24948 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
24949 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
24951 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24952 * termios/tcgetattr.c (__tcgetattr): Likewise.
24954 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24957 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
24958 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
24959 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
24960 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
24961 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
24963 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24966 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
24968 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24971 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
24972 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
24974 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24977 * intl/hash-string.h (__hash_string): Add attribute_hidden.
24979 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24982 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
24983 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
24985 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24988 * include/ifreq.h: New file.
24989 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
24990 (__ifreq): Likewise.
24991 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
24992 (__ifreq): Likewise.
24994 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24997 * include/idna.h: New file.
24998 * inet/getnameinfo.c: Include <idna.h> instead of
25000 (__idna_to_unicode_lzlz): Removed.
25001 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25003 (__idna_to_ascii_lz): Removed.
25004 (__idna_to_unicode_lzlz): Likewise.
25006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25009 * include/plural-exp.h: New file.
25010 * intl/plural-exp.c: Include <plural-exp.h> instead of
25013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25016 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25017 "getsourcefilter.h".
25018 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25019 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25020 "getsourcefilter.h".
25021 (__get_sol): Removed.
25023 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25026 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25028 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25033 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25036 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25039 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25041 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25044 * include/search.h (__tdestroy): Add libc_hidden_proto.
25045 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25047 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25050 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25052 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25055 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25058 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25061 * include/signal.h (__kill): Add libc_hidden_proto.
25062 (__sigblock): Likewise.
25063 (__sigprocmask): Likewise.
25064 (__sigaltstack): Likewise.
25065 * signal/kill.c (__kill): Add libc_hidden_def.
25066 * signal/sigblock.c (__sigblock): Likewise.
25067 * signal/sigprocmask.c (__sigprocmask): Likewise.
25068 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25069 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25070 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25071 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25072 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25074 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25076 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25077 (__sigprocmask): Likewise.
25078 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25080 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25081 (__sigprocmask): Likewise.
25082 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25085 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25088 * include/string.h (__strsep): Add libc_hidden_proto.
25089 * string/strsep.c (__strsep): Add libc_hidden_def.
25091 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25094 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25096 (__spawni): Likewise.
25098 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25101 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25102 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25108 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25113 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25114 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25115 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25116 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25117 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25119 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25120 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25122 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25125 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25126 (__dcigettext): Likewise.
25128 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25131 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25133 (__get_nprocs): Likewise.
25134 (__get_phys_pages): Likewise.
25135 (__get_avphys_pages): Likewise.
25136 (__get_child_max): Add attribute_hidden.
25137 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25138 (__get_nprocs): Likewise.
25139 (__get_phys_pages): Likewise.
25140 (__get_avphys_pages): Likewise.
25141 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25143 (__get_nprocs): Likewise.
25144 (__get_phys_pages): Likewise.
25145 (__get_avphys_pages): Likewise.
25146 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25148 (__get_nprocs_conf): Likewise.
25149 (__get_phys_pages): Likewise.
25150 (__get_avphys_pages): Likewise.
25152 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25155 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25157 (__netlink_close): Likewise.
25158 (__netlink_free_handle): Likewise.
25159 (__netlink_request): Likewise.
25161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25164 * include/rpc/rpc.h (__rpc_thread_variables): Add
25166 (__rpc_thread_svc_cleanup): Likewise.
25167 (__rpc_thread_clnt_cleanup): Likewise.
25168 (__rpc_thread_key_cleanup): Likewise.
25170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25173 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25174 (__writev): Likewise.
25175 * misc/readv.c (__readv): Add libc_hidden_def.
25176 * misc/writev.c (__writev): Likewise.
25177 * sysdeps/posix/readv.c (__readv): Likewise.
25178 * sysdeps/posix/writev.c (__writev): Likewise.
25179 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25180 (__readv): Likewise.
25181 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25182 (__writev): Likewise.
25184 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25187 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25188 (__regcomp): Add libc_hidden_proto.
25189 (__regexec): Likewise.
25190 (__regfree): Likewise.
25191 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25192 (__regfree): Likewise.
25193 * posix/regexec.c (__regexec): Likewise.
25195 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25198 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25199 (__getutent): Likewise.
25200 (__getutid): Likewise.
25201 (__getutline): Likewise.
25202 (__pututline): Likewise.
25203 (__getutent_r): Likewise.
25204 (__getutid_r): Likewise.
25205 (__getutline_r): Likewise.
25206 (__utmpname): Add attribute_hidden.
25207 (__setutent): Likewise.
25208 (__endutent): Likewise.
25209 * login/getutent.c (__getutent): Add libc_hidden_def.
25210 * login/getutent_r.c (__getutent_r): Likewise.
25211 (__pututline): Likewise.
25212 * login/getutid.c (__getutid): Likewise.
25213 * login/getutid_r.c (__getutid_r): Likewise.
25214 * login/getutline.c (__getutline): Likewise.
25215 * login/getutline_r.c (__getutline_r): Likewise.
25216 * login/updwtmp.c (__updwtmp): Likewise.
25218 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25221 * include/dirent.h (__opendir): Always add attribute_hidden.
25222 (__fdopendir): Likewise.
25223 (__closedir): Likewise.
25224 (__readdir): Likewise.
25225 (__readdir64): Add libc_hidden_proto.
25226 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25227 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25228 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25229 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25232 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25235 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25236 * include/netdb.h (__gethostbyaddr_r): Likewise.
25237 (__gethostbyname_r): Likewise.
25238 (__gethostbyname2_r): Likewise.
25239 (__getnetbyaddr_r): Likewise.
25240 (__getnetbyname_r): Likewise.
25241 (__getservbyname_r): Likewise.
25242 (__getservbyport_r): Likewise.
25243 (__getprotobyname_r): Likewise.
25244 (__getprotobynumber_r): Likewise.
25245 (__getnetgrent_r): Likewise.
25246 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25247 (__getrpcbynumber_r): Likewise.
25248 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25250 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25253 * include/stdio.h (__fcloseall): Add attribute_hidden.
25254 (__getline): Likewise.
25255 (__path_search): Likewise.
25256 (__gen_tempname): Likewise.
25257 (__libc_message): Likewise.
25258 (__flockfile): Likewise.
25259 (__funlockfile): Likewise.
25260 (__fxprintf): Likewise.
25261 (__fxprintf_nocancel): Likewise.
25263 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25266 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25267 (__sgetsgent_r): Likewise.
25269 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25272 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25273 (__statfs64): Likewise.
25274 (__fstatfs64): Likewise.
25275 * include/sys/statvfs.h (__statvfs64): Likewise.
25276 (__fstatvfs64): Likewise.
25277 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25278 (__statfs_filesize_max): Likewise.
25279 (__statfs_symlinks): Likewise.
25280 (__statfs_chown_restricted): Likewise.
25282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25285 * include/time.h (__tzstring): Add attribute_hidden.
25286 (__tzfile_read): Likewise.
25287 (__tzfile_compute): Likewise.
25288 (__tzfile_default): Likewise.
25289 (__tzset_parse_tz): Likewise.
25290 (__offtime): Likewise.
25291 (__asctime_r): Likewise.
25292 (__tzset): Likewise.
25293 (__tz_convert): Likewise.
25294 (__getdate_r): Likewise.
25295 (__getclktck): Likewise.
25297 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25300 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25301 (__nscd_unmap): Likewise.
25302 (__nscd_cache_search): Likewise.
25303 (__nscd_get_nl_timestamp): Likewise.
25304 (__nscd_getpwnam_r): Likewise.
25305 (__nscd_getpwuid_r): Likewise.
25306 (__nscd_getgrnam_r): Likewise.
25307 (__nscd_getgrgid_r): Likewise.
25308 (__nscd_gethostbyname_r): Likewise.
25309 (__nscd_gethostbyname2_r): Likewise.
25310 (__nscd_gethostbyaddr_r): Likewise.
25311 (__nscd_getai): Likewise.
25312 (__nscd_getgrouplist): Likewise.
25313 (__nscd_getservbyname_r): Likewise.
25314 (__nscd_getservbyport_r): Likewise.
25315 (__nscd_innetgr): Likewise.
25316 (__nscd_setnetgrent): Likewise.
25318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25321 * include/gmp.h: Declare internal functions only if _ISOMAC is
25323 (__mpn_extract_double): Add attribute_hidden.
25324 (__mpn_extract_long_double): Likewise.
25325 (__mpn_extract_float128): Likewise.
25326 (__mpn_construct_float): Likewise.
25327 (__mpn_construct_double): Likewise.
25328 (__mpn_construct_long_double): Likewise.
25329 (__mpn_construct_float128): Likewise.
25330 (mpn_add_1): Likewise.
25331 (mpn_addmul_1): Likewise.
25332 (mpn_add_n): Likewise.
25333 (mpn_cmp): Likewise.
25334 (mpn_divrem): Likewise.
25335 (mpn_lshift): Likewise.
25336 (mpn_mul): Likewise.
25337 (mpn_mul_1): Likewise.
25338 (mpn_rshift): Likewise.
25339 (mpn_sub_1): Likewise.
25340 (mpn_submul_1): Likewise.
25341 (mpn_sub_n): Likewise.
25343 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25346 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25347 (__wcscat): Likewise.
25348 (__btowc): Likewise.
25349 (__wcrtomb): Likewise.
25350 (__mbsrtowcs): Likewise.
25351 (__wcsrtombs): Likewise.
25352 (__mbsnrtowcs): Likewise.
25353 (__wcsnrtombs): Likewise.
25354 (__wcsncpy): Likewise.
25355 (__wcpncpy): Likewise.
25356 (__wmemcpy): Likewise.
25357 (__wmempcpy): Likewise.
25358 (__wmemmove): Likewise.
25359 (__wcschrnul): Likewise.
25360 (__vfwscanf): Likewise.
25361 (__vswprintf): Likewise.
25362 (__fwprintf): Likewise.
25363 (__vfwprintf): Likewise.
25365 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25368 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25369 (__getgrgid_r): Likewise.
25370 (__getgrnam_r): Likewise.
25371 * include/pwd.h (__getpwuid_r): Likewise.
25372 (__getpwnam_r): Likewise.
25373 (__fgetpwent_r): Likewise.
25374 * include/shadow.h (__getspnam_r): Likewise.
25375 (__sgetspent_r): Likewise.
25376 (__fgetspent_r): Likewise.
25378 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25381 * include/unistd.h (__access): Add attribute_hidden.
25382 (__lseek64): Likewise.
25383 (__libc_pread64): Likewise.
25384 (__pipe2): Likewise.
25385 (__sleep): Likewise.
25386 (__chdir): Likewise.
25387 (__fchdir): Likewise.
25388 (__getcwd): Likewise.
25389 (__rmdir): Likewise.
25390 (__execvpe): Likewise.
25391 (__execve): Likewise.
25392 (__setsid): Likewise.
25393 (__getuid): Likewise.
25394 (__geteuid): Likewise.
25395 (__getgid): Likewise.
25396 (__getegid): Likewise.
25397 (__getgroups): Likewise.
25398 (__group_member): Likewise.
25399 (__ttyname_r): Likewise.
25400 (__isatty): Likewise.
25401 (__readlink): Likewise.
25402 (__unlink): Likewise.
25403 (__gethostname): Likewise.
25404 (__profil): Likewise.
25405 (__getdtablesize): Likewise.
25407 (__ftruncate): Likewise.
25408 (__ftruncate64): Likewise.
25410 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25413 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25414 * argp/argp-fs-xinl.c: Likewise.
25415 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25416 * argp/argp-parse.c: Include <argp.h>.
25417 * argp/argp-xinl.c: Likewise.
25418 * include/argp-fmtstream.h: New file.
25419 * include/argp.h (__argp_error): Add attribute_hidden.
25420 (__argp_failure): Likewise.
25421 (__argp_input): Likewise.
25422 (__argp_state_help): Likewise.
25424 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25427 * include/wchar.h (____wcstof_l_internal): New prototype.
25428 (____wcstod_l_internal): Likewise.
25429 (____wcstold_l_internal): Likewise.
25430 (____wcstol_l_internal): Likewise.
25431 (____wcstoul_l_internal): Likewise.
25432 (____wcstoll_l_internal): Likewise.
25433 (____wcstoull_l_internal): Likewise.
25434 (____wcstof128_l_internal): Likewise.
25435 * sysdeps/ieee754/float128/wcstof128.c
25436 (____wcstof128_l_internal): Removed.
25437 * sysdeps/ieee754/float128/wcstof128_l.c
25438 (____wcstof128_l_internal): Likewise.
25439 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25440 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25441 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25442 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25443 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25444 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25445 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25446 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25447 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25448 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25450 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25453 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25454 instead of <sys/statvfs.h>.
25455 (__internal_statvfs): Removed.
25456 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25457 instead of <sys/statvfs.h>.
25458 (__internal_statvfs64): Removed.
25459 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25460 "internal_statvfs.h" instead of <sys/statvfs.h>.
25461 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25462 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25463 instead of <sys/statvfs.h>.
25464 (__internal_statvfs): Removed.
25465 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25466 instead of <sys/statvfs.h>.
25467 (__internal_statvfs64): Removed.
25469 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25472 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25473 (__gconv_close): Likewise.
25474 (__gconv): Likewise.
25475 (__gconv_find_transform): Likewise.
25476 (__gconv_lookup_cache): Likewise.
25477 (__gconv_compare_alias_cache): Likewise.
25478 (__gconv_load_cache): Likewise.
25479 (__gconv_get_path): Likewise.
25480 (__gconv_close_transform): Likewise.
25481 (__gconv_release_cache): Likewise.
25482 (__gconv_find_shlib): Likewise.
25483 (__gconv_release_shlib): Likewise.
25484 (__gconv_get_builtin_trans): Likewise.
25485 (__gconv_compare_alias): Likewise.
25486 * include/dlfcn.h (_dlerror_run): Likewise.
25487 * include/stdio.h (__fortify_fail_abort): Likewise.
25488 * include/time.h (__tz_compute): Likewise.
25489 (__strptime_internal): Likewise.
25490 * intl/gettextP.h (_nl_find_domain): Likewise.
25491 (_nl_load_domain): Likewise.
25492 (_nl_find_msg): Likewise.
25493 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25494 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25495 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25496 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25497 (__gai_find_request): Likewise.
25498 (__gai_remove_request): Likewise.
25499 (__gai_notify): Likewise.
25500 (__gai_notify_only): Likewise.
25501 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25502 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25503 (_dl_non_dynamic_init): Likewise.
25504 (_dl_aux_init): Likewise.
25505 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25506 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25508 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25509 (__wcsmbs_clone_conv): Likewise.
25510 (__wcsmbs_named_conv): Likewise.
25512 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25515 * include/stdlib.h (__random): Add attribute_hidden.
25516 (__random_r): Likewise.
25517 (__srandom_r): Likewise.
25518 (__initstate_r): Likewise.
25519 (__setstate_r): Likewise.
25520 (__erand48_r): Likewise.
25521 (__nrand48_r): Likewise.
25522 (__jrand48_r): Likewise.
25523 (__srand48_r): Likewise.
25524 (__seed48_r): Likewise.
25525 (__lcong48_r): Likewise.
25526 (__drand48_iterate): Likewise.
25527 (__setenv): Likewise.
25528 (__unsetenv): Likewise.
25529 (__clearenv): Likewise.
25530 (__ptsname_r): Likewise.
25531 (__posix_openpt): Likewise.
25532 (__add_to_environ): Likewise.
25533 (__realpath): Add libc_hidden_proto.
25534 (__ecvt_r): Likewise.
25535 (__fcvt_r): Likewise.
25536 (__qecvt_r): Likewise.
25537 (__qfcvt_r): Likewise.
25538 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25539 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25541 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25544 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25545 * include/time.h (__mktime_internal): Likewise.
25546 * libio/iolibio.h (__fopen_internal): Likewise.
25548 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25550 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25552 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25553 Correct offset used to restore PIC register.
25555 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25558 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25559 code to load address of __getcontext_ret when generating PIC code.
25561 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25563 * elf/Makefile (tests-static-internal): Add
25564 tst-tls1-static-non-pie.
25565 (LDFLAGS-tst-tls1-static-non-pie): New.
25566 * elf/tst-tls1-static-non-pie.c: New file.
25568 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25570 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25571 (asinh): Define using libm_alias_double.
25572 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25573 (cbrt): Define using libm_alias_double.
25574 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25575 <libm-alias-double.h>.
25576 (copysign): Define using libm_alias_double.
25577 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25578 (erf): Define using libm_alias_double.
25580 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25581 (expm1): Define using libm_alias_double.
25582 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25583 (fabs): Define using libm_alias_double.
25584 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25586 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25587 <libm-alias-double.h>.
25588 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25590 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25591 <libm-alias-double.h>.
25592 (getpayload): Define using libm_alias_double.
25593 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25594 <libm-alias-double.h>.
25595 (llrint): Define using libm_alias_double.
25596 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25597 (lrint): Define using libm_alias_double.
25598 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25599 <libm-alias-double.h>.
25600 (nextup): Define using libm_alias_double.
25601 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25602 <libm-alias-double.h>.
25603 (roundeven): Define using libm_alias_double.
25604 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25606 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25607 <libm-alias-double.h>.
25608 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25609 using libm_alias_double.
25610 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25611 (cos): Define using libm_alias_double.
25613 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25614 <libm-alias-double.h>.
25615 (sincos): Define using libm_alias_double.
25616 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25617 (tanh): Define using libm_alias_double.
25618 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25619 <libm-alias-double.h>.
25620 (totalorder): Define using libm_alias_double.
25621 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25622 <libm-alias-double.h>.
25623 (totalordermag): Define using libm_alias_double.
25624 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25626 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25628 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25629 <libm-alias-double.h>.
25630 (getpayload): Define using libm_alias_double.
25631 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25632 <libm-alias-double.h>.
25633 (roundeven): Define using libm_alias_double.
25634 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25635 <libm-alias-double.h>.
25636 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25637 <libm-alias-double.h>.
25638 (totalorder): Define using libm_alias_double.
25639 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25640 <libm-alias-double.h>.
25641 (totalordermag): Define using libm_alias_double.
25642 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25643 libc compat symbol here.
25644 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25645 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25646 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25647 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25648 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25649 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25650 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25651 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25652 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25653 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25655 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25657 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25658 _dl_relocate_static_pie instead of _dl_start to compute load
25659 address in static PIE. Return 0 if _DYNAMIC is undefined for
25662 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25664 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25665 _DYNAMIC is undefined for static executable.
25667 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25669 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25671 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25675 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25677 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25678 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25679 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25680 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25681 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25682 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25683 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25684 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25685 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25686 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25687 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25688 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25689 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25690 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25691 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25692 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25693 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25695 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25697 * math/bits/cmathcalls.h (cimag): Remove inline.
25698 (creal): Remove inline.
25699 (conj): Remove inline.
25701 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25703 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25704 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25705 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25706 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25707 (issignalingf_inline): Likewise.
25708 (POWF_LOG2_TABLE_BITS): Likewise.
25709 (POWF_LOG2_POLY_ORDER): Likewise.
25710 (POWF_SCALE_BITS): Likewise.
25711 (POWF_SCALE): Likewise.
25712 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25713 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25714 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25716 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25718 * math/Makefile (type-float-routines): Add e_log2f_data.
25719 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25720 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25721 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25722 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25723 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25724 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25725 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25727 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25729 * math/Makefile (type-float-routines): Add e_logf_data.
25730 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
25731 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
25732 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
25733 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
25734 * sysdeps/i386/fpu/e_logf_data.c: New file.
25735 * sysdeps/ia64/fpu/e_logf_data.c: New file.
25736 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
25738 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
25740 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
25741 undefined _DYNAMIC in PIE libc.a.
25742 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25745 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25747 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
25748 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
25749 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
25750 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
25751 (__signbit): Remove.
25752 (__signbitl): Remove.
25753 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
25754 (__signbit): Remove.
25755 (__signbitl): Remove.
25756 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
25757 (__signbit): Remove.
25758 (__signbitl): Remove.
25759 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
25760 (__signbit): Remove.
25761 (__signbitl): Remove.
25762 * sysdeps/tile/bits/mathinline.h: Delete file.
25763 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
25764 (__signbit): Remove.
25765 (__signbitl): Remove.
25767 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25769 * math/math.h: Improve handling of C99 isgreater macros.
25770 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
25771 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
25772 * sysdeps/powerpc/bits/mathinline.h: Likewise.
25773 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25774 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
25776 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
25778 * sysdeps/aarch64/libm-test-ulps: Update.
25780 2017-09-28 Joseph Myers <joseph@codesourcery.com>
25783 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25784 math_opt_barrier on argument when doing arithmetic on it.
25785 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25786 Likewise. Use math_force_eval not math_opt_barrier after
25788 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
25789 math_opt_barrier on argument when doing arithmetic on it.
25790 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25793 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
25795 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
25797 (__freeifaddrs): Likewise.
25799 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
25801 * include/dirent.h (__dirfd): New declaration.
25802 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
25804 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
25805 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
25806 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
25807 * include/unistd.h (__revoke): New declaration.
25808 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
25810 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25811 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
25813 * include/dirent.h (__seekdir): New declaration.
25814 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
25815 redefine as weak alias.
25816 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
25818 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
25819 and use libc_hidden_def on them.
25820 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
25822 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
25823 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
25824 instead of getifaddrs and freeifaddrs.
25826 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25829 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
25830 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
25831 (__dso_handle): Remove declaration.
25832 * dlfcn/tstatexit.c (__dso_handle): Removed.
25833 (main): Don't check __dso_handle.
25834 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
25835 (main): Don't check __dso_handle.
25836 * include/dso_handle.h: New file.
25837 * malloc/mtrace.c: Include <dso_handle.h>.
25838 (mtrace): Pass __dso_handle directly.
25839 * nptl/pthread_atfork.c: Include <dso_handle.h>.
25840 (__dso_handle): Remove declaration.
25841 (__pthread_atfork): Pass __dso_handle directly.
25842 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
25843 (__dso_handle): Removed.
25844 * posix/wordexp-test.c: Include <dso_handle.h>.
25845 (__dso_handle): Remove declaration.
25846 (__app_register_atfork): Pass __dso_handle directly.
25847 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
25848 (__dso_handle): Remove declaration.
25849 (at_quick_exit): Pass __dso_handle directly.
25850 * stdlib/atexit.c: Include <dso_handle.h>.
25851 (__dso_handle): Remove declaration.
25852 (atexit): Pass __dso_handle directly.
25853 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
25854 (__dso_handle): Removed.
25856 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25858 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
25861 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
25863 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
25864 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
25865 values to correct default value for given type.
25867 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25870 * elf/Makefile (tests): Add tst-debug1.
25871 ($(objpfx)tst-debug1): New.
25872 ($(objpfx)tst-debug1.out): Likewise.
25873 ($(objpfx)tst-debug1mod1.so): Likewise.
25874 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
25875 with p_filesz == 0.
25876 * elf/tst-debug1.c: New file.
25878 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25880 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
25881 Define using __ifunc.
25883 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25885 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
25888 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25891 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
25893 2017-09-26 Florian Weimer <fweimer@redhat.com>
25895 * resolv/Makefile (tests-internal): Fix typo in comment.
25897 2017-09-26 Florian Weimer <fweimer@redhat.com>
25899 * resolv/nss_dns/dns-host.c: Fix typo in comment.
25901 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25903 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
25904 Use an union instead of a max_align_t array for __space,
25905 so that __space is the same size on all platforms.
25906 * malloc/scratch_buffer_grow_preserve.c
25907 (__libc_scratch_buffer_grow_preserve): Likewise.
25910 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
25912 * posix/Makefile (routines): Add glob-lstat-compat and
25913 glob64-lstat-compat.
25914 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
25915 * posix/glob-lstat-compat.c: New file.
25916 * posix/glob64-lstat-compat.c: Likewise.
25917 * posix/tst-glob_lstat_compat.c: Likewise.
25918 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
25919 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
25920 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
25921 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
25923 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
25924 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
25925 * posix/glob.c (glob_lstat): New function.
25926 (glob): Rename to __glob and add versioned symbol to 2.27.
25927 (glob_in_dir): Use glob_lstat.
25928 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
25929 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25930 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
25932 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
25933 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
25934 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
25935 gl_lstat on glob call.
25936 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
25937 and glob64 symbols.
25938 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25939 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25940 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25941 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25942 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25943 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25944 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25945 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25946 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25947 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25948 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25949 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25952 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
25953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25954 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25955 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25956 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25957 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25958 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25961 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25962 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25963 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25965 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
25967 * configure.ac (AS): Require binutils 2.25 or later.
25968 * configure: Regenerated.
25970 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25973 * stdlib/test-atexit-race-common.c (do_test): Minimize required
25976 2017-09-25 DJ Delorie <dj@redhat.com>
25979 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
25982 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
25984 * sysdeps/ieee754/dbl-64/sincos32.h
25985 [SINCCOS32_H]: Remove define.
25986 [SINCOS32_H]: Define.
25988 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
25990 * math/Versions (expf): New libm symbol at GLIBC_2.27.
25992 * math/w_exp2f.c: New file.
25993 * math/w_expf.c: New file.
25994 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
25995 * math/w_expf_compat.c (__expf_compat): Likewise.
25996 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
25997 * sysdeps/ia64/fpu/e_expf.S: Likewise.
25998 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25999 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26000 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26001 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26002 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26003 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26004 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26005 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26006 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26007 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26008 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26009 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26018 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26019 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26020 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26021 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26022 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26027 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26028 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26029 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26031 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26033 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26034 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26035 (roundtoint, converttoint): Likewise.
26036 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26037 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26038 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26039 * sysdeps/ieee754/flt-32/math_config.h: New file.
26040 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26041 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26042 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26043 * sysdeps/i386/fpu/math_errf.c: New file.
26044 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26045 * sysdeps/ia64/fpu/math_errf.c: New file.
26046 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26047 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26049 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26051 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26052 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26053 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26054 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26055 to make sure that these symbols are defined.
26056 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26058 (__need_NULL): Do not define.
26059 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26061 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26062 CMGROUP_MAX, cmsgcred): Do not define.
26063 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26065 * bits/socket.h: Likewise.
26066 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26067 __gettimeofday instead of gettimeofday.
26068 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26069 instead of settimeofday.
26071 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26073 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26074 (asinhf): Define using libm_alias_float.
26075 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26076 (atanf): Define using libm_alias_float.
26077 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26078 (cbrtf): Define using libm_alias_float.
26079 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26080 (ceilf): Define using libm_alias_float.
26081 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26082 <libm-alias-float.h>.
26083 (copysignf): Define using libm_alias_float.
26084 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26085 (cosf): Define using libm_alias_float.
26086 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26087 (erff): Define using libm_alias_float.
26089 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26090 (expm1f): Define using libm_alias_float.
26091 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26092 (fabsf): Define using libm_alias_float.
26093 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26094 (floorf): Define using libm_alias_float.
26095 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26096 (frexpf): Define using libm_alias_float.
26097 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26099 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26100 <libm-alias-float.h>.
26101 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26103 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26104 <libm-alias-float.h>.
26105 (getpayloadf): Define using libm_alias_float.
26106 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26107 <libm-alias-float.h>.
26108 (llrintf): Define using libm_alias_float.
26109 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26110 <libm-alias-float.h>.
26111 (llroundf): Define using libm_alias_float.
26112 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26113 (logbf): Define using libm_alias_float.
26114 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26115 (lrintf): Define using libm_alias_float.
26116 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26117 (lroundf): Define using libm_alias_float.
26118 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26119 (modff): Define using libm_alias_float.
26120 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26121 <libm-alias-float.h>.
26122 (nearbyintf): Define using libm_alias_float.
26123 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26124 <libm-alias-float.h>.
26125 (nextafterf): Define using libm_alias_float.
26126 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26127 <libm-alias-float.h>.
26128 (nextupf): Define using libm_alias_float.
26129 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26130 <libm-alias-float.h>.
26131 (remquof): Define using libm_alias_float.
26132 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26133 (rintf): Define using libm_alias_float.
26134 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26135 <libm-alias-float.h>.
26136 (roundevenf): Define using libm_alias_float.
26137 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26138 (roundf): Define using libm_alias_float.
26139 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26140 using libm_alias_float.
26141 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26142 <libm-alias-float.h>.
26143 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26144 Define using libm_alias_float.
26145 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26146 <libm-alias-float.h>.
26147 (sincosf): Define using libm_alias_float.
26148 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26149 (sinf): Define using libm_alias_float.
26150 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26151 (tanf): Define using libm_alias_float.
26152 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26153 (tanhf): Define using libm_alias_float.
26154 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26155 <libm-alias-float.h>.
26156 (totalorderf): Define using libm_alias_float.
26157 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26158 <libm-alias-float.h>.
26159 (totalordermagf): Define using libm_alias_float.
26160 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26161 (truncf): Define using libm_alias_float.
26162 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26164 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26167 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26170 math/math.h: Let fpclassify use the builtin in C++ mode, even
26171 when optimazing for size.
26173 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26175 * csu/Makefile (generated): Do not add version-info.h.
26176 (before-compile): Likewise.
26177 (all-Banner-files): Remove variable.
26178 ($(objpfx)version-info.h): Remove rule.
26179 * csu/version.c (banner): Do not include "version-info.h".
26180 * libidn/Banner: Remove.
26181 * manual/contrib.texi (Simon Josefsson): New entry.
26183 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26185 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26186 Remove conditionals on LDBL_MANT_DIG.
26187 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26188 (__ieee754_lgammal_r): Likewise.
26190 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26194 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26195 _Float128 and L(). Replace _Float128 with long double and L(x)
26196 with xL, throughout the file.
26197 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26198 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26199 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26200 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26202 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26204 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26205 sysdeps/ieee754/ldbl-128ibm.
26206 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26207 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26208 of including it. Keep _Float128 and L() intact. These will be
26209 reviewed by a separate patch.
26210 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26211 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26212 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26213 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26215 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26218 (__finitef128): Define to __redirect___finitef128.
26219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26220 (__isinff128): Define to __redirect___isinff128.
26221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26222 (__isnanf128): Define to __redirect___isnanf128.
26224 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26226 * sysdeps/powerpc/powerpc64le/Makefile
26227 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26228 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26230 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26231 Carlos O'Donell <carlos@redhat.com>
26234 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26235 * stdlib/test-dlclose-exit-race.c: New file.
26236 * stdlib/test-dlclose-exit-race-helper.c: New file.
26237 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26239 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26241 * crypt/Banner: Remove file.
26242 * nptl/Banner: Likewise.
26243 * resolv/Banner: Likewise.
26244 * soft-fp/Banner: Likewise.
26245 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26246 ($(objpfx)version.d): Remove dependency on banner.h.
26247 ($(objpfx)version.os): Likewise.
26248 * nptl/version.c (banner): Do not include banner.h.
26249 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26250 Jelinek and BIND code.
26252 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26253 Carlos O'Donell <carlos@redhat.com>
26255 * support/xdlfcn.h: New file.
26256 * support/xdlfcn.c: New file.
26257 * support/Makefile (libsupport-routines): Add xdlfcn.
26258 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26260 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26263 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26264 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26265 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26266 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26267 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26268 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26269 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26270 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26272 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26273 Ricky Zhou <rickyz@google.com>
26274 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26277 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26279 (__new_exitfn): Fail registration when we finished at_exit processing.
26280 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26281 * stdlib/on_exit.c (__on_exit): Likewise.
26282 * stdlib/exit.c (__exit_funcs_done): New variable.
26283 (__run_exit_handlers): Use __exit_funcs_lock.
26284 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26286 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26287 (test-cxa_atexit-race, test-on_exit-race): New tests.
26288 * stdlib/test-atexit-race-common.c: New file.
26289 * stdlib/test-atexit-race.c: New file.
26290 * stdlib/test-at_quick_exit-race.c: New file.
26291 * stdlib/test-cxa_atexit-race.c: New file.
26292 * stdlib/test-on_exit-race.c: New file.
26294 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26296 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26297 * benchtests/exp2f-inputs: Copy of expf-inputs.
26298 * benchtests/log2f-inputs: Copy of logf-inputs.
26300 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26302 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26303 Explicitly take address of first element of array arguments in
26304 call to INLINE_SYSCALL.
26306 2017-09-19 Andreas Schwab <schwab@suse.de>
26309 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26311 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26313 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26314 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26315 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26316 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26317 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26318 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26319 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26320 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26321 * posix/Makefile (tests): Add tst-fexecve.
26322 * posix/tst-fexecve.c: New file.
26324 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26326 * benchtests/Makefile: Add logf benchmark.
26327 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26329 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26331 * benchtests/Makefile: Add expf benchmark.
26332 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26334 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26336 * csu/Makefile: Add -funwind-tables to libc-start.c.
26337 * debug/Makefile: Add -funwind-tables to backtrace.c.
26338 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26339 * sysdeps/arm/Makefile: Likewise.
26340 * sysdeps/i386/Makefile: Likewise.
26341 * sysdeps/m68k/Makefile: Likewise.
26342 * sysdeps/mips/Makefile: Likewise.
26343 * sysdeps/nios2/Makefile: Likewise.
26344 * sysdeps/sh/Makefile: Likewise.
26345 * sysdeps/sparc/Makefile: Likewise.
26347 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26349 * benchtests/Makefile (bench-math): Add trunc and truncf.
26350 (CFLAGS-bench-trunc.c): New variable.
26351 (CFLAGS-bench-truncf.c): Likewise.
26352 * benchtests/trunc-inputs: New file.
26353 * benchtests/truncf-inputs: Likewise.
26355 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26357 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26359 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26361 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26362 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26364 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26365 (exp10l): Define as weak alias.
26366 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26367 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26369 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26370 (remainderl): Define as weak alias.
26372 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26373 (fmal): Define using libm_alias_ldouble.
26374 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26375 (acoshl): Define using libm_alias_ldouble.
26376 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26377 (acosl): Define using libm_alias_ldouble.
26378 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26379 (asinl): Define using libm_alias_ldouble.
26380 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26381 (atan2l): Define using libm_alias_ldouble.
26382 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26383 (atanhl): Define using libm_alias_ldouble.
26384 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26385 (coshl): Define using libm_alias_ldouble.
26386 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26387 (exp10l): Define using libm_alias_ldouble.
26388 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26389 (exp2l): Define using libm_alias_ldouble.
26390 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26391 (expl): Define using libm_alias_ldouble.
26392 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26393 (fmodl): Define using libm_alias_ldouble.
26394 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26395 (hypotl): Define using libm_alias_ldouble.
26396 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26397 (j0l): Define using libm_alias_ldouble.
26399 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26400 (j1l): Define using libm_alias_ldouble.
26402 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26403 (jnl): Define using libm_alias_ldouble.
26405 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26406 (log10l): Define using libm_alias_ldouble.
26407 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26408 (log2l): Define using libm_alias_ldouble.
26409 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26410 (logl): Define using libm_alias_ldouble.
26411 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26412 (powl): Define using libm_alias_ldouble.
26413 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26414 (remainderl): Define using libm_alias_ldouble.
26415 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26416 (sinhl): Define using libm_alias_ldouble.
26417 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26418 (sqrtl): Define using libm_alias_ldouble.
26419 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26420 (tgammal): Define using libm_alias_ldouble.
26421 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26422 (exp10l): Do not use long_double_symbol here.
26423 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26424 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26425 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26426 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26427 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26428 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26429 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26430 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26431 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26432 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26433 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26434 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26435 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26436 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26437 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26438 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26439 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26440 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26441 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26442 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26443 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26444 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26446 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26448 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26449 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26451 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26453 * io/read.c (read): Add libc_hidden_weak.
26454 * sysdeps/mach/hurd/read.c (read): Likewise.
26455 * io/write.c (write): Likewise.
26456 * sysdeps/mach/hurd/write.c (write): Likewise.
26457 * io/pread64.c (__pread64): Likewise.
26458 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26459 * posix/pread64.c (__pread64): Add libc_hidden_def.
26461 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26463 * benchtests/scripts/compare_strings.py: New option -g.
26464 (draw_graph): Print a message that a graph is being generated.
26465 (process_results): Generate graph only if -g is passed.
26466 (main): Process option -g.
26468 * benchtests/scripts/compare_strings.py (process_results):
26469 Better spacing for output.
26471 * benchtests/scripts/compare_strings.py: Use argparse.
26472 * benchtests/README: Document existence of compare_strings.py.
26474 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26476 * math/s_fma.c: Include <libm-alias-double.h>.
26477 (fma): Define using libm_alias_double.
26478 * math/s_nextafter.c: Include <libm-alias-double.h>.
26479 (nextafter): Define using libm_alias_double.
26480 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26481 (acos): Define using libm_alias_double.
26482 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26483 (aocsh): Define using libm_alias_double.
26484 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26485 (asin): Define using libm_alias_double.
26486 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26487 (atan2): Define using libm_alias_double.
26488 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26489 (atanh): Define using libm_alias_double.
26490 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26491 (cosh): Define using libm_alias_double.
26492 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26493 (exp10): Define using libm_alias_double.
26494 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26495 (exp2): Define using libm_alias_double.
26496 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26497 (exp): Define using libm_alias_double.
26498 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26499 (fmod): Define using libm_alias_double.
26500 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26501 (hypot): Define using libm_alias_double.
26502 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26503 (j0): Define using libm_alias_double.
26505 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26506 (j1): Define using libm_alias_double.
26508 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26509 (jn): Define using libm_alias_double.
26511 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26512 (log10): Define using libm_alias_double.
26513 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26514 (log2): Define using libm_alias_double.
26515 * math/w_log_compat.c: Include <libm-alias-double.h>.
26516 (log): Define using libm_alias_double.
26517 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26518 (pow): Define using libm_alias_double.
26519 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26520 (remainder): Define using libm_alias_double.
26521 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26522 (sinh): Define using libm_alias_double.
26523 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26524 (sqrt): Define using libm_alias_double.
26525 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26526 (tgamma): Define using libm_alias_double.
26527 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26528 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26529 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26530 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26531 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26532 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26533 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26534 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26535 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26536 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26537 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26538 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26539 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26540 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26541 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26542 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26543 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26544 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26545 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26546 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26547 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26548 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26549 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26550 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26551 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26553 * math/e_acoshl.c: Remove.
26554 * math/e_acosl.c: Likewise.
26555 * math/e_asinl.c: Likewise.
26556 * math/e_atan2l.c: Likewise.
26557 * math/e_atanhl.c: Likewise.
26558 * math/e_coshl.c: Likewise.
26559 * math/e_expl.c: Likewise.
26560 * math/e_fmodl.c: Likewise.
26561 * math/e_gammal_r.c: Likewise.
26562 * math/e_hypotl.c: Likewise.
26563 * math/e_j0l.c: Likewise.
26564 * math/e_j1l.c: Likewise.
26565 * math/e_jnl.c: Likewise.
26566 * math/e_lgammal_r.c: Likewise.
26567 * math/e_log10l.c: Likewise.
26568 * math/e_log2l.c: Likewise.
26569 * math/e_logl.c: Likewise.
26570 * math/e_powl.c: Likewise.
26571 * math/e_rem_pio2l.c: Likewise.
26572 * math/e_sinhl.c: Likewise.
26573 * math/e_sqrtf128.c: Likewise.
26574 * math/e_sqrtl.c: Likewise.
26575 * math/k_cosl.c: Likewise.
26576 * math/k_sinl.c: Likewise.
26577 * math/k_tanl.c: Likewise.
26578 * math/s_asinhl.c: Likewise.
26579 * math/s_atanl.c: Likewise.
26580 * math/s_cbrtl.c: Likewise.
26581 * math/s_erfl.c: Likewise.
26582 * math/s_expm1l.c: Likewise.
26583 * math/s_log1pl.c: Likewise.
26584 * math/s_tanhl.c: Likewise.
26586 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26590 [$(subdir) = math] (sysdep_calls): New variable. Has the
26591 previous contents of sysdep_routines, but re-sorted..
26592 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26594 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26595 defined in sysdep_calls and replace by the respective m_* names.
26596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26597 (compat_symbol): Undefine to avoid duplicated compat symbols in
26600 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26602 * math/s_fmaf.c: Include <libm-alias-float.h>.
26603 (fmaf): Define using libm_alias_float.
26604 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26605 (acosf): Define using libm_alias_float.
26606 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26607 (acoshf): Define using libm_alias_float.
26608 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26609 (asinf): Define using libm_alias_float.
26610 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26611 (atan2f): Define using libm_alias_float.
26612 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26613 (atanhf): Define using libm_alias_float.
26614 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26615 (coshf): Define using libm_alias_float.
26616 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26617 (exp10f): Define using libm_alias_float.
26618 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26619 (fmodf): Define using libm_alias_float.
26620 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26621 (hypotf): Define using libm_alias_float.
26622 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26623 (j0f): Define using libm_alias_float.
26625 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26626 (j1f): Define using libm_alias_float.
26628 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26629 (jnf): Define using libm_alias_float.
26631 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26632 (log10f): Define using libm_alias_float.
26633 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26634 (log2f): Define using libm_alias_float.
26635 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26636 (logf): Define using libm_alias_float.
26637 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26638 (powf): Define using libm_alias_float.
26639 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26640 (remainderf): Define using libm_alias_float.
26641 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26642 (sinhf): Define using libm_alias_float.
26643 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26644 (sqrtf): Define using libm_alias_float.
26645 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26646 (tgammaf): Define using libm_alias_float.
26648 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26650 * include/math.h (roundeven): Change hidden_proto call to
26652 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26654 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26655 (y0): Rename to __y0 and define as weak alias.
26656 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26657 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26659 (y0f): Rename to __y0f and define as weak alias.
26660 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26662 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26663 (y1): Rename to __y1 and define as weak alias.
26664 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26665 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26667 (y1f): Rename to __y1f and define as weak alias.
26668 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26670 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26671 (yn): Rename to __yn and define as weak alias.
26672 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26673 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26675 (ynf): Rename to __ynf and define as weak alias.
26676 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26677 (fromfp): Define as weak alias.
26678 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26679 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26680 (fromfpx): Define as weak alias.
26681 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26682 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26683 __getpayload and define as weak alias.
26684 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26685 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26686 __roundeven and define as weak alias.
26687 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26688 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26690 (setpayload): Define as weak alias.
26691 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26692 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26694 (setpayloadsig): Define as weak alias.
26695 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26696 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26697 __totalorder and define as weak alias.
26698 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26699 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26700 to __totalordermag and define as weak alias.
26701 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26702 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26703 (ufromfp): Define as weak alias.
26704 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26705 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26707 (ufromfpx): Define as weak alias.
26708 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26709 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26710 Rename to __getpayload and define as weak alias.
26711 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26712 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26713 Rename to __roundeven and define as weak alias.
26714 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26715 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26716 Rename to __totalorder and define as weak alias.
26717 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26718 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26719 (totalordermag): Rename to __totalordermag and define as weak
26721 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26722 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26724 (__roundevenl): Likewise.
26725 (__totalorderl): Likewise.
26726 (__totalordermagl): Likewise
26727 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26729 (fromfpf128): Define as weak alias.
26730 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
26732 (fromfpxf128): Define as weak alias.
26733 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
26735 (setpayloadf128): Define as weak alias.
26736 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
26737 __setpayloadsigf128.
26738 (setpayloadsigf128): Define as weak alias.
26739 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
26741 (ufromfpf128): Define as weak alias.
26742 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
26744 (ufromfpxf128): Define as weak alias.
26745 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
26746 (fromfpf): Define as weak alias.
26747 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
26749 (fromfpxf): Define as weak alias.
26750 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
26751 __getpayloadf and define as weak alias.
26752 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
26753 __roundevenf and define as weak alias.
26754 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
26756 (setpayloadf): Define as weak alias.
26757 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
26759 (setpayloadsigf): Define as weak alias.
26760 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
26761 __totalorderf and define as weak alias.
26762 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
26763 Rename to __totalordermagf and define as weak alias.
26764 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
26766 (ufromfpf): Define as weak alias.
26767 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
26769 (ufromfpxf): Define as weak alias.
26770 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
26772 (fromfpl): Define as weak alias.
26773 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
26775 (fromfpxl): Define as weak alias.
26776 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
26777 to __getpayloadl and define as weak alias.
26778 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
26779 __roundevenl and define as weak alias.
26780 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
26782 (setpayloadl): Define as weak alias.
26783 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
26785 (setpayloadsigl): Define as weak alias.
26786 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
26787 to __totalorderl and define as weak alias.
26788 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
26789 Rename to __totalordermagl and define as weak alias.
26790 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
26792 (ufromfpl): Define as weak alias.
26793 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
26795 (ufromfpxl): Define as weak alias.
26796 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
26798 (fromfpl): Define as weak alias.
26799 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
26801 (fromfpxl): Define as weak alias.
26802 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
26803 Rename to __getpayloadl and define as weak alias.
26804 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
26805 to __roundevenl and define as weak alias. Call __roundeven
26806 instead of roundeven.
26807 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
26809 (setpayloadl): Define as weak alias.
26810 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
26812 (setpayloadsigl): Define as weak alias.
26813 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
26814 Rename to __totalorderl and define as weak alias.
26815 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
26816 Rename to __totalordermagl and define as weak alias.
26817 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
26819 (ufromfpl): Define as weak alias.
26820 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
26822 (ufromfpxl): Define as weak alias.
26823 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
26825 (fromfpl): Define as weak alias.
26826 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
26828 (fromfpxl): Define as weak alias.
26829 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
26830 __getpayloadl and define as weak alias.
26831 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
26832 __roundevenl and define as weak alias.
26833 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
26835 (setpayloadl): Define as weak alias.
26836 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
26838 (setpayloadsigl): Define as weak alias.
26839 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
26840 __totalorderl and define as weak alias.
26841 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
26842 Rename to __totalordermagl and define as weak alias.
26843 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
26845 (ufromfpl): Define as weak alias.
26846 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
26848 (ufromfpxl): Define as weak alias.
26850 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
26852 * benchtests/bench-string.h (realloc_bufs): New function.
26853 (test_init): Call it.
26854 * benchtests/bench-memset-large.c (do_test): Likewise.
26855 * benchtests/bench-memset.c (do_test): Likewise.
26857 * benchtests/bench-memset-large.c: Print output in JSON
26859 * benchtests/bench-memset.c: Likewise.
26861 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26864 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
26865 * iconvdata/Makefile: Add IBM858.
26866 * iconvdata/gconv-modules: Likewise.
26867 * iconvdata/tst-tables.sh: Likewise.
26868 * iconvdata/ibm858.c: New file.
26869 * localedata/charmaps/IBM858: Likewise.
26871 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
26874 * locales/niu_NZ (LC_TIME): copy "niu_NU".
26875 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
26877 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26880 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
26881 and add tel_int_fmt.
26883 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26885 * sysdeps/generic/libm-alias-float128.h: New file.
26886 * sysdeps/generic/math-type-macros-float128.h: Include
26887 <libm-alias-float128.h>.
26888 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26890 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26892 * sysdeps/generic/libm-alias-ldouble.h: New file.
26893 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
26894 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
26895 * sysdeps/generic/math-type-macros-ldouble.h: Include
26896 <libm-alias-ldouble.h>.
26897 [!declare_mgen_alias] (declare_mgen_alias): Define to use
26898 libm_alias_ldouble.
26900 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26902 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
26903 * math/w_exp_compat.c: ... here.
26904 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
26905 * math/w_expf_compat.c: ... here.
26906 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
26907 * math/w_expl_compat.c: ... here.
26908 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
26909 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
26910 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
26911 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26913 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26915 * math/w_scalbln_template.c (strong_alias): Do not undefine and
26917 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
26919 (ldexpl): Only define as compat symbol for libc, not libm.
26920 (scalbnl): Define as compat symbol for libc here.
26921 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
26922 define for [IS_IN (libc)].
26923 (__ldexpl_2): Remove alias.
26924 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
26925 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
26926 name in long_double_symbol call.
26927 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
26928 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26929 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26930 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
26931 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
26933 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
26934 Define as compat symbol.
26936 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26938 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
26939 * sysdeps/unix/sysv/linux/alpha/Makefile
26940 [$(subdir) = csu] (sysdep_routines): Remove rule.
26942 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26944 * sysdeps/generic/libm-alias-double.h: New file.
26945 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
26946 * sysdeps/generic/math-type-macros-double.h: Include
26947 <libm-alias-double.h>.
26948 [declare_mgen_alias] (declare_mgen_alias): Define to use
26950 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
26951 (M_LIBM_NEED_COMPAT): Remove macro.
26952 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
26953 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
26954 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
26956 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26957 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26958 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26959 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26960 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26961 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26962 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26963 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26964 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26965 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26966 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26967 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26968 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26969 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26970 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26971 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26972 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26973 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26974 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26975 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26976 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26977 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26978 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26979 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26980 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26981 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26982 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
26983 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
26984 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
26986 (declare_mgen_alias): New macro.
26987 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
26988 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
26989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
26990 (M_LIBM_NEED_COMPAT): Remove macro.
26991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
26992 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
26993 <first-versions.h>.
26994 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
26995 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
26997 2017-09-12 Joseph Myers <joseph@codesourcery.com>
26999 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27000 (declare_mgen_alias_2): Remove.
27001 * sysdeps/generic/math-type-macros-double.h
27002 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27004 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27006 (ldexp): Define with declare_mgen_alias.
27007 (scalbn): Likewise.
27009 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27011 * grp/initgroups.c: Include config.h.
27012 (DEFAULT_CONFIG): New macro.
27013 (internal_getgrouplist): Use DEFAULT_CONFIG.
27014 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27015 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27016 (DEFAULT_DEFCONFIG): New macro.
27017 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27018 * nss/grp-lookup.c: Include config.h
27019 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27020 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27021 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27022 * manual/nss.texi: Update default values section.
27024 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27027 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27029 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27030 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27031 Handle MathVec_Prefer_No_AVX512.
27032 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27033 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27036 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27038 * posix/sched_primax.c (__sched_get_priority_max): Add
27040 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27041 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27042 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27043 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27044 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27045 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27046 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27047 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27050 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27052 * sysdeps/generic/libm-alias-float.h: New file.
27053 * sysdeps/generic/math-type-macros-float.h: Include
27054 <libm-alias-float.h>.
27055 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27057 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27060 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27061 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27062 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27063 (HWCAP_IMPORTANT): Likewise.
27064 (HWCAP_X86_64): New enum.
27065 (HWCAP_X86_AVX512_1): Updated.
27066 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27067 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27068 (modules-names): Add x86_64/tst-x86_64mod-1.
27069 (LDFLAGS-tst-x86_64mod-1.so): New.
27070 ($(objpfx)tst-x86_64-1): Likewise.
27071 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27072 (tst-x86_64-1-clean): Likewise.
27073 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27074 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27076 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27078 * po/sv.po: Update translations.
27079 * po/fr.po: Likewise.
27081 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27083 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27085 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27087 * elf/rtld-Rules: Fix $(error) use.
27089 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27092 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27093 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27094 * localedata/locales/bn_BD: “Bengali” was still used in some
27095 comments. Change it to “Bangla”.
27097 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27099 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27101 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27103 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27104 thunderx2t99p1 to list of cpu names.
27105 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27106 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27108 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27110 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27111 Use strcmp instead of tunable_is_name.
27113 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27115 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27116 (F_GET_RW_HINT): New macro.
27117 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27118 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27119 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27120 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27121 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27122 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27123 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27124 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27125 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27127 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27128 (F_ADD_SEALS): New macro.
27129 [__USE_GNU] (F_GET_SEALS): Likewise.
27130 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27131 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27132 [__USE_GNU] (F_SEAL_GROW): Likewise.
27133 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27135 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27137 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27138 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27139 * posix/glob_internal.h (__glob_pattern_type):
27140 * posix/glob.c (glob):
27141 * posix/glob_pattern_p.c (__glob_pattern_p):
27144 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27145 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27146 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27147 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27148 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27150 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27151 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27152 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27153 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27154 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27155 * sysdeps/wordsize-64/glob.c: Likewise.
27156 * sysdeps/wordsize-64/glob64.c: Likewise.
27157 * sysdeps/wordsize-64/globfree.c: Likewise.
27158 * sysdeps/wordsize-64/globfree64.c: Likewise.
27159 * sysdeps/unix/sysv/linux/glob.c: New file.
27160 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27161 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27162 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27163 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27164 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27165 adds !GLOB_NO_OLD_VERSION as an extra condition.
27166 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27167 using relative path instead of absolute one.
27168 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27169 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27170 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27171 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27172 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27173 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27176 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27177 (glob): Use the same scratch buffer for both getlogin_r and
27178 getpwnam_r. Don’t require preallocation of the login name. This
27179 simplifies storage allocation, and corrects the handling of
27183 * posix/glob.c (glob): Port recent patches to platforms
27184 lacking getpwnam_r.
27185 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27186 returns an error number rather than setting errno.
27188 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27189 instead of GCC extension.
27190 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27191 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27192 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27196 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27197 * posix/bug-glob1.c: Remove file.
27198 * posix/tst-glob_symlinks.c: New file.
27199 * posix/glob.c (__lstat64): New macro.
27200 (is_dir): New function.
27201 (glob, glob_in_dir): Match symlinks even if they are dangling.
27202 (link_stat, link_exists_p): Remove. All uses removed.
27206 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27207 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27212 * posix/Makefile (routines): Add globfree, globfree64, and
27214 * posix/flexmember.h: New file.
27215 * posix/glob_internal.h: Likewise.
27216 * posix/glob_pattern_p.c: Likewise.
27217 * posix/globfree.c: Likewise.
27218 * posix/globfree64.c: Likewise.
27219 * sysdeps/gnu/globfree64.c: Likewise.
27220 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27221 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27222 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27223 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27224 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27225 * sysdeps/wordsize-64/globfree.c: Likewise.
27226 * sysdeps/wordsize-64/globfree64.c: Likewise.
27227 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27228 [NDEBUG): Remove comments.
27229 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27230 (dirent_type): New type. Use uint_fast8_t not
27231 uint8_t, as C99 does not require uint8_t.
27232 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27233 (struct readdir_result): Use dirent_type. Do not define skip_entry
27234 unless it is needed; this saves a byte on platforms lacking d_ino.
27235 (readdir_result_type, readdir_result_skip_entry):
27236 New functions, replacing ...
27237 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27238 these functions, which were removed. This makes the callers
27239 easier to read. All callers changed.
27240 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27241 (size_add_wrapv, glob_use_alloca): New static functions.
27242 (glob, glob_in_dir): Check for size_t overflow in several places,
27243 and fix some size_t checks that were not quite right.
27244 Remove old code using SHELL since Bash no longer
27246 (glob, prefix_array): Separate MS code better.
27247 (glob_in_dir): Remove old Amiga and VMS code.
27248 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27250 (glob_in_dir): Do not rely on undefined behavior in accessing
27251 struct members beyond their bounds. Use a flexible array member
27253 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27254 0/1. Caller changed.
27255 (glob): Fix memory leaks.
27256 * posix/glob64 (globfree64): Move to separate file.
27257 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27258 (globfree64): Remove hidden alias.
27259 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27261 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27263 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27265 Move compat code to separate file.
27266 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27269 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27271 * resolv/tst-resolv-qtypes.c (domain): Changed to
27272 "const char domain[] =".
27274 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27276 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27279 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27280 (TCP_MD5SIG_EXT): Likewise.
27281 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27282 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27283 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27285 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27287 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27289 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27291 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27294 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27296 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27298 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27299 before assuming that the file is empty. Avoid testing buffer content
27302 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27305 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27307 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27309 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27311 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27313 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27315 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27317 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27320 2017-09-06 Florian Weimer <fweimer@redhat.com>
27322 * malloc/dynarray_emplace_enlarge.c
27323 (__libc_dynarray_emplace_enlarge): Add missing else.
27325 2017-09-06 Florian Weimer <fweimer@redhat.com>
27328 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27329 case of failure to obtain the global conf object.
27331 2017-09-06 Florian Weimer <fweimer@redhat.com>
27334 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27335 dynarray allocation failure.
27337 2017-09-06 Florian Weimer <fweimer@redhat.com>
27339 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27340 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27341 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27343 (response): Call them. Add 'p', '6' flag processing.
27344 (test_reverse): New function.
27345 (test_get2_any): Call it.
27346 (test_no_inet6): Add 'p' test.
27347 (test_inet6): Likewise.
27349 2017-09-06 Florian Weimer <fweimer@redhat.com>
27351 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27352 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27354 (test_gai): Adjust query names. Add additional tests.
27355 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27356 test_get2. Adjust query names. Add additional tests.
27357 (test_no_inet6): New function, extracted from threadfunc.
27358 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27359 Add additional tests.
27361 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27364 * localedata/unicode-gen/utf8_gen.py: Set the width for
27365 characters with Prepended_Concatenation_Mark property to 1
27366 * localedata/charmaps/UTF-8: Updated using the improved script.
27368 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27371 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27372 use the range notation for all ranges of neighbouring characters
27373 with the same width.
27375 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27377 * sysdeps/generic/math-type-macros-double.h: Include
27378 <math-svid-compat.h>.
27379 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27380 * sysdeps/generic/math-type-macros-float.h: Include
27381 <math-svid-compat.h>.
27382 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27383 * sysdeps/generic/math-type-macros-ldouble.h: Include
27384 <math-svid-compat.h>.
27385 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27386 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27388 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27389 * math/w_acosf_compat.c: Likewise.
27390 * math/w_acosh_compat.c: Likewise.
27391 * math/w_acoshf_compat.c: Likewise.
27392 * math/w_acoshl_compat.c: Likewise.
27393 * math/w_acosl_compat.c: Likewise.
27394 * math/w_asin_compat.c: Likewise.
27395 * math/w_asinf_compat.c: Likewise.
27396 * math/w_asinl_compat.c: Likewise.
27397 * math/w_atan2_compat.c: Likewise.
27398 * math/w_atan2f_compat.c: Likewise.
27399 * math/w_atan2l_compat.c: Likewise.
27400 * math/w_atanh_compat.c: Likewise.
27401 * math/w_atanhf_compat.c: Likewise.
27402 * math/w_atanhl_compat.c: Likewise.
27403 * math/w_cosh_compat.c: Likewise.
27404 * math/w_coshf_compat.c: Likewise.
27405 * math/w_coshl_compat.c: Likewise.
27406 * math/w_exp10_compat.c: Likewise.
27407 * math/w_exp10f_compat.c: Likewise.
27408 * math/w_exp10l_compat.c: Likewise.
27409 * math/w_exp2_compat.c: Likewise.
27410 * math/w_exp2f_compat.c: Likewise.
27411 * math/w_exp2l_compat.c: Likewise.
27412 * math/w_fmod_compat.c: Likewise.
27413 * math/w_fmodf_compat.c: Likewise.
27414 * math/w_fmodl_compat.c: Likewise.
27415 * math/w_hypot_compat.c: Likewise.
27416 * math/w_hypotf_compat.c: Likewise.
27417 * math/w_hypotl_compat.c: Likewise.
27418 * math/w_j0_compat.c: Likewise.
27419 * math/w_j0f_compat.c: Likewise.
27420 * math/w_j0l_compat.c: Likewise.
27421 * math/w_j1_compat.c: Likewise.
27422 * math/w_j1f_compat.c: Likewise.
27423 * math/w_j1l_compat.c: Likewise.
27424 * math/w_jn_compat.c: Likewise.
27425 * math/w_jnf_compat.c: Likewise.
27426 * math/w_jnl_compat.c: Likewise.
27427 * math/w_lgamma_r_compat.c: Likewise.
27428 * math/w_lgammaf_r_compat.c: Likewise.
27429 * math/w_lgammal_r_compat.c: Likewise.
27430 * math/w_log10_compat.c: Likewise.
27431 * math/w_log10f_compat.c: Likewise.
27432 * math/w_log10l_compat.c: Likewise.
27433 * math/w_log2_compat.c: Likewise.
27434 * math/w_log2f_compat.c: Likewise.
27435 * math/w_log2l_compat.c: Likewise.
27436 * math/w_log_compat.c: Likewise.
27437 * math/w_logf_compat.c: Likewise.
27438 * math/w_logl_compat.c: Likewise.
27439 * math/w_pow_compat.c: Likewise.
27440 * math/w_powf_compat.c: Likewise.
27441 * math/w_powl_compat.c: Likewise.
27442 * math/w_remainder_compat.c: Likewise.
27443 * math/w_remainderf_compat.c: Likewise.
27444 * math/w_remainderl_compat.c: Likewise.
27445 * math/w_sinh_compat.c: Likewise.
27446 * math/w_sinhf_compat.c: Likewise.
27447 * math/w_sinhl_compat.c: Likewise.
27448 * math/w_sqrt_compat.c: Likewise.
27449 * math/w_sqrtf_compat.c: Likewise.
27450 * math/w_sqrtl_compat.c: Likewise.
27451 * math/w_tgamma_compat.c: Likewise.
27452 * math/w_tgammaf_compat.c: Likewise.
27453 * math/w_tgammal_compat.c: Likewise.
27454 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27455 [LIBM_SVID_COMPAT].
27456 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27457 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27458 [LIBM_SVID_COMPAT].
27459 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27460 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27461 [LIBM_SVID_COMPAT].
27462 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27463 * sysdeps/i386/fpu/w_sqrt.c: New file.
27464 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27465 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27466 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27467 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27468 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27469 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27470 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27471 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27472 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27473 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27474 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27475 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27476 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27477 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27478 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27479 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27480 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27481 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27482 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27483 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27484 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27485 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27486 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27487 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27488 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27489 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27490 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27491 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27492 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27493 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27494 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27495 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27496 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27497 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27498 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27499 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27500 * sysdeps/ia64/fpu/w_log.c: Likewise.
27501 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27502 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27503 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27504 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27505 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27506 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27507 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27508 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27509 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27510 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27511 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27512 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27513 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27514 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27515 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27516 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27517 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27518 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27519 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27520 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27521 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27522 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27523 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27524 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27525 [LIBM_SVID_COMPAT].
27526 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27527 * sysdeps/ieee754/k_standard.c: Likewise.
27528 * sysdeps/ieee754/k_standardf.c: Likewise.
27529 * sysdeps/ieee754/k_standardl.c: Likewise.
27530 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27531 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27532 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27533 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27534 long_double_symbol call on [LIBM_SVID_COMPAT].
27535 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27536 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27537 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27538 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27539 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27540 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27541 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27542 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27543 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27544 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27545 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27546 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27547 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27548 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27549 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27550 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27551 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27552 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27553 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27554 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27555 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27556 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27558 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27560 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27561 * malloc/tst-mallocstate.c: Convert from test-skeleton
27562 to test-driver. Ifdef code using TEST_COMPAT macro.
27563 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27564 * math/test-matherr.c: Likewise.
27566 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27569 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27570 comparing word with byte-swapped constant.
27572 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27575 * locale/iso-639.def: add Miskito.
27576 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27577 * localedata/locales/miq_NI: New file.
27579 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27582 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27583 (__mkdir): Likewise.
27584 * io/chmod.c (__chmod): Add libc_hidden_def.
27585 * io/mkdir.c (__mkdir): Likewise.
27586 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27587 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27588 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27589 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27591 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27593 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27597 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27598 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27600 2017-09-04 Florian Weimer <fweimer@redhat.com>
27602 * math/math.h: Issue warning if log is defined.
27604 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27606 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27607 kernel version to 4.13.
27609 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27611 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27612 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27614 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27615 just <bits/types.h>.
27616 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27617 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27618 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27619 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27620 * misc/preadv2.c: Include <errno.h>.
27621 * misc/preadv64v2.c: Include <errno.h>.
27622 * misc/pwritev2.c: Include <errno.h>.
27623 * misc/pwritev64v2.c: Include <errno.h>.
27624 * sysdeps/posix/preadv2.c: Include <errno.h>.
27625 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27626 Fix <unistd.h> inclusion.
27627 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27628 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27629 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27630 __strtoul_internal): New functions.
27631 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27632 * sysdeps/posix/system.c: Include <sigsetops.h>.
27633 * sysdeps/mach/hurd/i386/Makefile
27634 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27635 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27636 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27637 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27638 __feraiseexcept_renamed to feraiseexcept instead of
27639 __GI_feraiseexcept.
27640 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27641 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27642 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27643 RWF_NOWAIT): Define to 0 if undefined already.
27644 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27646 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27647 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27649 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27651 * manual/math.texi (pow10): Do not document.
27652 (pow10f): Likewise.
27653 (pow10l): Likewise.
27654 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27655 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27656 * math/libm-test-exp10.inc (pow10_test): Remove.
27657 (do_test): Do not call pow10.
27658 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27659 [NO_LONG_DOUBLE] (pow10l): Likewise.
27660 * math/w_exp10f_compat.c (pow10f): Likewise.
27661 * math/w_exp10l_compat.c (pow10l): Likewise.
27662 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27663 (pow10): Make into compat symbol.
27664 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27665 (pow10f): Make into compat symbol.
27666 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27667 (pow10l): Make into compat symbol.
27668 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27670 (CFLAGS-nldbl-pow10.c): Remove variable..
27671 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27672 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27673 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27674 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27675 Undefine and redefine.
27676 (pow10l): Make into compat symbol.
27677 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27678 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27679 * sysdeps/arm/libm-test-ulps: Likewise.
27680 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27681 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27682 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27683 * sysdeps/microblaze/libm-test-ulps: Likewise.
27684 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27685 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27686 * sysdeps/nios2/libm-test-ulps: Likewise.
27687 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27688 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27689 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27690 * sysdeps/sh/libm-test-ulps: Likewise.
27691 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27692 * sysdeps/tile/libm-test-ulps: Likewise.
27693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27695 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27697 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27699 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27701 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27702 "../ChangeLog.old/ChangeLog.8".
27703 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27704 "../ChangeLog.old/ChangeLog.14".
27706 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27708 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27711 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27713 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27715 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27717 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27718 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27720 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27722 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27723 32 atexit handlers.
27725 2017-09-01 Zack Weinberg <zackw@panix.com>
27727 * math/math.h (HUGE_VAL): Improve commentary.
27729 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27730 Andreas Schwab <schwab@suse.de>
27733 * include/stdio.h (__gen_tempfd): New function.
27734 * stdio-common/Makefile (routines): Add gentempfd.
27735 * stdio-common/gentempfd.c: New file.
27736 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
27737 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
27738 unnamed file first.
27740 2017-09-01 Florian Weimer <fweimer@redhat.com>
27744 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
27745 result to determine success or failure, not the errno value.
27746 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
27747 (tst-nss-files-hosts-erange): Link with -ldl.
27748 * nss/tst-nss-files-hosts-erange.c: New file.
27749 * nss/tst-resolv-basic.c (response): Handle nodata.example.
27750 (do_test): Add NO_DATA tests.
27751 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
27752 (do_test): Call it.
27754 2017-09-01 Florian Weimer <fweimer@redhat.com>
27757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
27758 coming from gethostbyname2_r.
27760 2017-09-01 Florian Weimer <fweimer@redhat.com>
27762 * support/namespace.h (struct support_chroot_configuration): Add
27764 (struct support_chroot): Add path_hosts, path_host_conf.
27765 * support/support_chroot.c (write_file): New function.
27766 (support_chroot_create): Call it to process /etc/resolv.conf,
27767 /etc/hosts, /etc/host.conf.
27768 (support_chroot_free): Update.
27770 2017-09-01 Florian Weimer <fweimer@redhat.com>
27772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
27773 status indicates it is set.
27775 2017-09-01 Florian Weimer <fweimer@redhat.com>
27778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
27779 function lookup failures more reliable.
27781 2017-09-01 Florian Weimer <fweimer@redhat.com>
27783 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
27784 (getcanonname): Likewise.
27785 (gaih_inet): Likewise.
27787 2017-09-01 Florian Weimer <fweimer@redhat.com>
27789 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
27790 (getcanonname): Likewise.
27791 (gaih_inet): Likewise.
27793 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27794 Richard Henderson <rth@twiddle.net>
27796 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
27797 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
27798 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
27799 (IREG_SIZE, OREG_SIZE): New macros.
27800 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
27801 (IREG_SIZE, OREG_SIZE): New macros.
27802 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
27803 (IREG_SIZE): New macro.
27804 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
27805 (IREG_SIZE): New macro.
27806 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
27808 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
27809 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27810 (__CONCATX): Handle exceptions correctly on large values that may
27812 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
27813 Initialize if not already set.
27814 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27816 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27818 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
27819 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
27821 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
27823 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
27825 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
27827 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
27829 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
27831 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
27833 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
27834 (NO_CANCELLATION): Likewise.
27835 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
27837 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
27839 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
27841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
27842 (NO_CANCELLATION): Likewise.
27843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
27844 (NO_CANCELLATION): Likewise.
27845 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
27847 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
27849 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
27851 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
27853 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
27855 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
27856 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
27858 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27860 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
27863 2017-08-31 Florian Weimer <fweimer@redhat.com>
27865 * include/libc-symbols.h (internal_function): Remove.
27867 2017-08-31 Florian Weimer <fweimer@redhat.com>
27869 * stdlib/fmtmsg.c (internal_addseverity): Remove
27872 2017-08-31 Florian Weimer <fweimer@redhat.com>
27874 * stdio-common/printf_fp.c (group_number): Remove
27876 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
27878 2017-08-31 Florian Weimer <fweimer@redhat.com>
27880 * posix/fnmatch.c (internal_function): Remove definition.
27881 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
27882 * posix/regcomp.c (peek_token, init_word_char)
27883 (duplicate_node_closure, fetch_token, peek_token)
27884 (peek_token_bracket, build_range_exp, build_collating_symbol):
27886 * posix/regex_internal.c (re_string_construct_common)
27887 (create_ci_newstate, create_cd_newstate, re_string_allocate)
27888 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
27889 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
27890 (re_string_translate_buffer, re_string_reconstruct)
27891 (re_string_peek_byte_case, re_string_fetch_byte_case)
27892 (re_string_destruct, re_string_context_at, re_node_set_alloc)
27893 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
27894 (re_node_set_add_intersect, re_node_set_init_union)
27895 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
27896 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
27897 (re_dfa_add_node, calc_state_hash, re_acquire_state)
27898 (re_acquire_state_context): Likewise.
27899 * posix/regex_internal.h (internal_function): Remove definition.
27900 (re_string_realloc_buffers, build_wcs_buffer)
27901 (build_wcs_upper_buffer, build_upper_buffer)
27902 (re_string_translate_buffer, re_string_context_at)
27903 (re_string_char_size_at, re_string_wchar_at)
27904 (re_string_elem_size_at): Likewise.
27905 * posix/regexec.c (match_ctx_init, match_ctx_clean)
27906 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
27907 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
27908 (re_search_internal, re_search_2_stub, re_search_stub)
27909 (re_copy_regs, prune_impossible_nodes, check_matching)
27910 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
27911 (free_fail_stack_return, sift_states_iter_mb)
27912 (sift_states_backward, build_sifted_states)
27913 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
27914 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
27915 (check_subexp_limits, sift_states_bkref, merge_state_array)
27916 (find_recover_state, transit_state, merge_state_with_log)
27917 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
27918 (transit_state_mb, transit_state_bkref, get_subexp)
27919 (get_subexp_sub, find_subexp_node, check_arrival)
27920 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
27921 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
27922 (check_node_accept_bytes, find_collation_sequence_value)
27923 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
27924 (acquire_init_state_context, check_halt_node_context)
27925 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
27926 (sub_epsilon_src_nodes): Likewise.
27927 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
27928 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
27929 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
27930 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
27931 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
27932 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
27933 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
27934 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27935 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27936 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
27937 (PREADV): Likewise.
27938 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
27939 (PREADV): Likewise.
27940 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
27941 (PWRITEV): Likewise.
27942 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
27943 (PWRITEV): Likewise.
27944 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
27945 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27947 2017-08-31 Florian Weimer <fweimer@redhat.com>
27949 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
27950 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
27951 Remove internal_function.
27952 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27953 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
27954 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
27955 (__deallocate_stack, __libc_pthread_init)
27956 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
27957 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
27958 (__libc_disable_asynccancel, __librt_disable_asynccancel):
27960 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
27961 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
27962 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
27964 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
27965 (__pthread_mutex_unlock_usercnt): Likewise.
27967 2017-08-31 Florian Weimer <fweimer@redhat.com>
27969 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
27970 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
27971 (fts_safe_changedir): Remove internal_function.
27972 * io/ftw.c (internal_function): Remove definition.
27973 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
27975 2017-08-31 Florian Weimer <fweimer@redhat.com>
27977 * inet/deadline.c (__deadline_current_time)
27978 (__deadline_from_timeval, __deadline_to_ms): Remove
27980 * inet/getnameinfo.c (nrl_domainname): Likewise.
27981 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
27982 * inet/inet6_option.c (add_pad): Likewise.
27983 * inet/net-internal.h (__deadline_current_time)
27984 (__deadline_from_timeval, __deadline_to_ms): Likewise.
27985 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
27986 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
27987 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
27989 2017-08-31 Joseph Myers <joseph@codesourcery.com>
27991 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
27992 include <bits/nan.h>.
27993 * math/Makefile (headers): Remove bits/nan.h.
27994 * bits/nan.h: Remove.
27995 * sysdeps/ieee754/bits/nan.h: Likewise.
27996 * sysdeps/mips/bits/nan.h: Likewise.
27998 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
27999 not include <bits/inf.h>.
28000 * math/Makefile (headers): Remove bits/inf.h.
28001 * bits/inf.h: Remove.
28002 * sysdeps/ieee754/bits/inf.h: Likewise.
28004 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28005 bits/huge_vall.h or bits/huge_val_flt128.h.
28006 (HUGE_VAL): Define directly here.
28007 [__USE_ISOC99] (HUGE_VALF): Likewise.
28008 [__USE_ISOC99] (HUGE_VALL): Likewise.
28009 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28010 (HUGE_VAL_F128): Likewise.
28011 * math/Makefile (headers): Remove bits/huge_val.h,
28012 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28013 * bits/huge_val.h: Remove.
28014 * bits/huge_val_flt128.h: Likewise.
28015 * bits/huge_valf.h: Likewise.
28016 * bits/huge_vall.h: Likewise.
28017 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28018 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28019 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28020 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28021 * sysdeps/sh/bits/huge_val.h: Likewise.
28022 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28023 * sysdeps/x86/bits/huge_vall.h: Likewise.
28025 2017-08-31 Florian Weimer <fweimer@redhat.com>
28027 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28029 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28031 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28032 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28033 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28034 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28035 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28036 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28037 * elf/dl-libc.c (dlerror_run): Likewise.
28038 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28039 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28040 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28041 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28043 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28044 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28045 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28046 * elf/dl-profile.c (_dl_start_profile): Likewise.
28047 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28048 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28050 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28051 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28052 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28053 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28054 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28055 (_dl_allocate_tls_storage): Likewise.
28056 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28057 (_dl_check_all_versions): Likewise.
28058 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28059 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28060 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28061 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28062 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28063 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28064 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28065 internal_function from __dl_start.
28066 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28067 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28068 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28069 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28070 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28071 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28072 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28073 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28074 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28075 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28076 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28077 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28078 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28079 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28080 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28082 (struct rtld_global_ro): Remove internal_function from the
28083 _dl_lookup_symbol_x member.
28084 (_dl_symbol_value): Remove. No longer defined anywhere.
28085 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28087 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28088 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28089 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28090 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28091 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28092 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28093 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28094 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28095 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28096 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28097 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28098 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28100 2017-08-31 Florian Weimer <fweimer@redhat.com>
28102 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28103 Remove internal_function.
28104 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28106 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28109 2017-08-31 Florian Weimer <fweimer@redhat.com>
28111 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28112 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28113 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28115 2017-08-31 Florian Weimer <fweimer@redhat.com>
28117 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28118 (__gai_enqueue_request): Remove internal_function.
28119 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28120 (__gai_remove_request, __gai_notify, __gai_notify_only)
28121 (__gai_sigqueue): Likewise.
28122 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28123 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28124 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28125 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28128 2017-08-31 Florian Weimer <fweimer@redhat.com>
28130 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28131 * include/dirent.h (__opendirat, __getdents, __getdents64)
28132 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28133 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28134 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28135 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28137 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28139 2017-08-31 Florian Weimer <fweimer@redhat.com>
28141 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28143 (GETCWD_RETURN_TYPE): Likewise.
28145 2017-08-31 Florian Weimer <fweimer@redhat.com>
28147 * include/time.h (__tz_compute, __strptime_internal): Remove
28149 * time/strptime_l.c (__strptime_internal): Likewise.
28150 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28152 2017-08-31 Florian Weimer <fweimer@redhat.com>
28154 * iconv/gconv.c (__gconv): Remove internal_function.
28155 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28156 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28157 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28158 (__gconv_release_cache): Likewise.
28159 * iconv/gconv_close.c (__gconv_close): Likewise.
28160 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28161 (read_conf_file, __gconv_get_path): Likewise.
28162 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28163 (__gconv_release_step, gen_steps, increment_counter)
28164 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28165 (__gconv_close_transform, free_modules_db): Likewise.
28166 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28168 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28169 (__gconv_find_transform, __gconv_lookup_cache)
28170 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28171 (__gconv_close_transform, __gconv_release_cache)
28172 (__gconv_loaded_object, __gconv_release_shlib)
28173 (__gconv_compare_alias): Likewise.
28174 * iconv/gconv_open.c (__gconv_open): Likewise.
28175 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28176 * iconv/iconvconfig.c (add_module): Likewise.
28177 * intl/dcigettext.c (plural_lookup, guess_category_value)
28178 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28179 * intl/eval-plural.h (plural_eval): Likewise.
28180 * intl/finddomain.c (_nl_find_domain): Likewise.
28181 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28182 (_nl_load_domain, _nl_find_msg): Likewise.
28183 (internal_function): Remove definition.
28184 * intl/loadinfo.h (internal_function): Likewise.
28185 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28187 * intl/localealias.c (internal_function): Remove definition.
28188 (read_alias_file): Remove internal_function.
28189 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28190 * intl/plural-exp.h (internal_function): Remove definition.
28191 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28193 * intl/plural.c: Regenerate.
28194 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28195 * locale/coll-lookup.c (__collidx_table_lookup)
28196 (__collseq_table_lookup): Likewise.
28197 * locale/coll-lookup.h (__collidx_table_lookup)
28198 (__collseq_table_lookup): Likewise.
28199 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28200 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28201 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28202 (_nl_unload_locale): Likewise.
28203 * locale/localeinfo.h (struct __locale_data): Remove
28204 internal_function from cleanup member.
28205 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28206 (_nl_remove_locale, _nl_load_locale_from_archive)
28207 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28208 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28209 (_nl_cleanup_time): Remove internal_function.
28210 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28211 (_nl_parse_alt_digit): Likewise.
28212 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28213 (_nl_select_era_entry): Likewise.
28214 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28215 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28216 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28217 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28218 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28220 2017-08-31 Florian Weimer <fweimer@redhat.com>
28222 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28223 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28224 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28225 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28227 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28228 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28229 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28230 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28232 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28234 2017-08-31 Florian Weimer <fweimer@redhat.com>
28236 * misc/getttyent.c (skip, value): Remove internal_function.
28237 * misc/syslog.c (openlog_internal): Likewise.
28238 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28240 2017-08-31 Florian Weimer <fweimer@redhat.com>
28242 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28243 (__nss_rewrite_field): Remove internal_function.
28244 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28245 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28246 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28247 * nss/nsswitch.c (nss_parse_file, nss_getline)
28248 (nss_parse_service_list, nss_new_service): Likewise.
28249 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28250 * nss/valid_field.c (__nss_valid_field): Likewise.
28251 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28253 2017-08-31 Florian Weimer <fweimer@redhat.com>
28255 * malloc/arena.c (__malloc_fork_lock_parent)
28256 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28257 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28258 internal_function from defintions.
28259 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28260 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28261 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28262 internal_function from declarations.
28263 * malloc/malloc.c (internal_function): Do not define.
28264 (mem2mem_check): Remove internal_function from declaration.
28265 (munmap_chunk, mremap_chunk): Remove internal_function.
28266 * malloc/mtrace.c (tr_where): Likewise.
28268 2017-08-31 Florian Weimer <fweimer@redhat.com>
28270 * include/rpc/pmap_clnt.h (__get_socket): Remove
28272 * sunrpc/auth_des.c (synchronize): Likewise.
28273 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28274 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28275 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28276 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28277 (key_call): Likewise.
28278 * sunrpc/pm_getport.c (__get_socket): Likewise.
28279 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28280 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28281 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28282 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28283 (invalidate): Likewise.
28284 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28285 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28286 (set_input_fragment, get_input_bytes): Likewise.
28288 2017-08-31 Florian Weimer <fweimer@redhat.com>
28290 * malloc/malloc.c (_int_free): Remove locked variable and related
28293 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28296 * Makerules (build-module-helper-objlist): Filter out
28297 $(elf-objpfx)sofini.os.
28298 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28301 2017-08-31 Florian Weimer <fweimer@redhat.com>
28303 * libio/fcloseall.c: Assume weak_alias is defined.
28304 * libio/feof.c: Likewise.
28305 * libio/fileno.c: Likewise.
28306 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28307 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28309 (_IO_file_open): Call __open directly.
28310 (_IO_new_file_sync): Assume ESPIPE is defined.
28311 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28312 (_IO_new_file_write): Call __write directly.
28313 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28314 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28315 * libio/genops.c: Assume _LIBC is defined.
28316 (save_for_backup): Remove internal_function.
28317 * libio/getc.c: Assume weak_alias is defined.
28318 * libio/getwc.c: Likewise.
28319 * libio/iofclose.c: Assume _LIBC is defined.
28320 * libio/iofdopen.c: Likewise.
28321 (_IO_fcntl): Remove macro definition.
28322 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28323 Call __fcntl directly.
28324 * libio/iofflush.c: Assume weak_alias is defined.
28325 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28327 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28328 * libio/iofgets.c: Likewise.
28329 * libio/iofopen.c: Assume _LIBC is defined.
28330 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28331 * libio/iofputs.c: Assume weak_alias is defined.
28332 * libio/iofread.c: Likewise.
28333 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28334 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28335 * libio/ioftell.c: Assume weak_alias is defined.
28336 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28337 * libio/iofwide.c: Assume _LIBC is defined.
28338 (_IO_fwide): Drop SHARED conditional because it is implied by
28340 * libio/iofwrite.c: Assume weak_alias is defined.
28341 * libio/iogetdelim.c: Likewise.
28342 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28343 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28344 (_IO_getwline): Call __wmemcpy directly.
28345 * libio/iopopen.c: Assume _LIBC is defined.
28346 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28347 (_IO_close): Remove macro definitions.
28348 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28350 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28352 * libio/ioputs.c: Assume weak_alias is defined.
28353 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28354 * libio/iosetbuffer.c: Assume weak_alias is defined.
28355 * libio/iosetvbuf.c: Likewise.
28356 * libio/ioungetc.c: Likewise.
28357 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28358 libc_hidden_def, libc_hidden_weak, NULL are defined.
28359 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28360 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28362 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28364 (_IO_old_file_init_internal): Drop SHARED conditional because it
28365 is implied by SHLIB_COMPAT.
28366 (_IO_old_file_fopen): Call __open directly.
28367 (_IO_old_file_sync): Assume ESPIPE is defined.
28368 (_IO_old_file_write): Call __write directly.
28369 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28370 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28371 Call __fcntl directly.
28372 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28373 (_IO_old_fgetpos): Assume EIO is defined.
28374 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28375 (_IO_old_fgetpos64): Assume EIO is defined.
28376 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28377 (_IO_old_fsetpos): Assume EIO is defined.
28378 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28379 (_IO_old_fsetpos64): Assume EIO is defined.
28380 * libio/oldiopopen.c: Assume _LIBC is defined.
28381 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28382 (_IO_close): Remove macro definitions.
28383 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28385 (_IO_old_proc_close): Call __close, __waitpid directly.
28386 * libio/put.c: Assume weak_alias is defined.
28387 * libio/stdfiles.c: Assume _LIBC is defined.
28388 * libio/stdio.c: Likewise.
28389 * libio/wfileops.c: Likewise.
28390 (_IO_wfile_sync): Assume ESPIPE is defined.
28391 * libio/wgenops.c: Assume _LIBC is defined.
28392 (save_for_wbackup): Remove internal_function.
28394 2017-08-31 Florian Weimer <fweimer@redhat.com>
28396 * malloc/malloc.c (top_check): Change return type to void. Remove
28398 * malloc/hooks.c (top_check): Likewise.
28399 (malloc_check, realloc_check, memalign_check): Adjust.
28401 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28404 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28405 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28406 sigcontext and namespace requirements.
28407 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28408 * sysdeps/m68k/sys/ucontext.h: Likewise.
28409 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28410 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28411 <bits/sigcontext.h>.
28412 (__ctx): Define earlier.
28413 (mcontext_t): Define structure contents rather than using struct
28415 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28416 __glibc_reserved1 instead of __reserved.
28417 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28418 <bits/sigcontext.h>.
28419 (__ctx): Define earlier.
28420 (mcontext_t): Define structure contents rather than using struct
28422 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28423 mcontext_t instead of struct sigcontext.
28424 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28425 <bits/sigcontext.h>.
28426 (__ctx): Define earlier.
28427 (mcontext_t): Define structure contents rather than using struct
28429 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28430 <bits/sigcontext.h>.
28431 (__ctx): Define earlier.
28432 (mcontext_t): Define structure contents rather than using struct
28434 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28435 mcontext_t instead of struct sigcontext.
28436 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28437 mcontext_t instead of struct sigcontext.
28438 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28439 <bits/sigcontext.h>.
28440 (__ctx): New macro.
28441 (struct __ia64_fpreg_mcontext): New type.
28442 (mcontext_t): Define structure contents rather than using struct
28444 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28445 (uc_sigmask): Define using __ctx.
28446 (uc_stack): Likewise.
28447 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28448 <bits/sigcontext.h>.
28449 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28450 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28451 <bits/sigcontext.h>.
28452 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28453 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28454 <bits/sigcontext.h>.
28455 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28456 <bits/sigcontext.h>.
28457 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28458 <bits/sigcontext.h>.
28459 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28460 <bits/sigcontext.h>.
28461 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28462 <bits/sigcontext.h>.
28463 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28464 <bits/sigcontext.h>.
28465 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28466 <bits/sigcontext.h>.
28467 (__ctx): Define earlier.
28468 (mcontext_t): Define structure contents rather than using struct
28470 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28471 <bits/sigcontext.h>. Include <bits/types.h>.
28472 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28473 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28474 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28475 (test-xfail-UNIX98/signal.h/conform): Likewise.
28476 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28477 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28478 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28479 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28480 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28481 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28482 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28483 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28484 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28486 2017-08-30 Florian Weimer <fweimer@redhat.com>
28488 * malloc/dynarray_emplace_enlarge.c
28489 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28490 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28491 * malloc/tst-dynarray.c (test_long_overflow): New function.
28492 (do_test): Call it.
28494 2017-08-30 Florian Weimer <fweimer@redhat.com>
28496 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28497 (set_arena_corrupt): Remove definitions.
28498 (mtrim): Do not check for corrupt arena.
28499 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28502 2017-08-30 Florian Weimer <fweimer@redhat.com>
28505 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28507 (ptmalloc_init): Do not set or use check_action.
28508 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28509 call to malloc_printerr. Remove return statement.
28510 (free_check): Likewise. Remove arena unlock.
28511 (top_check): Update comment. Adjust call to malloc_printerr.
28512 Remove heap repair code.
28513 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28514 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28515 (sysmalloc): Adjust call to malloc_printerr.
28516 (munmap_chunk, __libc_realloc): Likewise. Remove return
28518 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28519 Remove errout label and corresponding gotos.
28520 (_int_free): Likewise. Remove arena unlock.
28521 (do_set_mallopt_check): Do not set check_action.
28522 (malloc_printerr): Adjust parameter list. Do not mark arena as
28524 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28526 * manual/probes.texi (Memory Allocation Probes): Remove
28527 memory_mallopt_check_action.
28529 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28531 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28532 Use pointer to uint64_t instead of long int for sp.
28534 2017-08-30 Florian Weimer <fweimer@redhat.com>
28537 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28538 without printing a backtrace. Do not leak any information in the
28540 * manual/memory.texi (Heap Consistency Checking): Update.
28541 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28543 2017-08-30 Florian Weimer <fweimer@redhat.com>
28545 Do not scale NPTL tests with available number of CPUs.
28546 * nptl/tst-cond16.c (count): Set to constant value of 8.
28547 * nptl/tst-cond18.c (count): Likewise.
28549 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28552 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28553 Define to take a second argument that is a macro that
28554 concatentates a suffix, not the suffix itself.
28555 (__CONCAT_d): New macro.
28556 (__CONCAT_f): Likewise.
28557 (__CONCAT_l): Likewise.
28559 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28561 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28564 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28565 Aurelien Jarno <aurelien@aurel32.net>
28566 Maciej W. Rozycki <macro@imgtec.com>
28569 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28570 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28571 `mips16-syscall6' and `mips16-syscall7'.
28572 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28573 (CFLAGS-mips16-syscall7.c): Remove.
28574 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28575 Remove `__mips16_syscall5', `__mips16_syscall6' and
28576 `__mips16_syscall7'.
28577 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28578 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28579 `__mips_syscall_return'.
28580 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28581 (__mips16_syscall1): Likewise.
28582 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28583 (__mips16_syscall2): Likewise.
28584 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28585 (__mips16_syscall3): Likewise.
28586 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28587 (__mips16_syscall4): Likewise.
28588 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28590 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28592 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28594 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28595 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28596 `__mips16_syscall5'. Remove prototype.
28597 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28598 `__mips16_syscall6'. Remove prototype.
28599 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28600 `__mips16_syscall7'. Remove prototype.
28601 (__nomips16, __mips16_syscall_return): Move to...
28602 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28603 (__nomips16, __mips_syscall_return): ... here.
28604 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28605 `__mips16_syscall_return' to `__mips_syscall_return'.
28606 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28607 `internal_syscall##nr'.
28608 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28609 `internal_syscall##nr'.
28610 (FORCE_FRAME_POINTER): Remove.
28611 (__mips_syscall5): New prototype.
28612 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28613 (__mips_syscall6): New prototype.
28614 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28615 (__mips_syscall7): New prototype.
28616 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28617 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28618 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28619 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28620 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28621 (sysdep_routines): Add libc-do-syscall.
28622 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28623 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28625 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28628 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28629 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28630 (advise_stack_range): New function.
28631 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28632 stack non required to advise_stack_range at allocatestack.c
28634 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28636 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28638 2017-08-29 Florian Weimer <fweimer@redhat.com>
28641 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28642 __end_fct. Mangle __end_fct after setting it to NULL.
28643 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28644 (modules-names, modules-names-tests): Add
28645 tst-gconv-init-failure-mod.
28646 (gconv-modules): New target.
28647 (tst-gconv-init-failure-mod.so): Link against libsupport.
28648 (tst-gconv-init-failure): Depend on gconv-modules,
28649 tst-gconv-init-failure-mod.so.
28650 * iconv/tst-gconv-init-failure-mod.c: New file.
28651 * iconv/tst-gconv-init-failure.c: Likewise.
28652 * iconv/test-gconv-modules: Likewise.
28654 2017-08-29 Florian Weimer <fweimer@redhat.com>
28657 * iconv/gconv_db.c (free_derivation): Remove redundant
28659 (gen_steps): Unconditionally mangle __btowc_fct after
28661 (increment_counter): Likewise. Do not call init_fct for internal
28664 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28667 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28668 (_MSUF_): Remove macro.
28669 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28671 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28672 (__REDIRFROM_X): New macro.
28673 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28675 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28676 (__REDIRTO_X): Likewise.
28677 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28679 (__MATH_REDIRCALL_2): Likewise.
28680 (__MATH_REDIRCALL_INTERNAL): Likewise.
28681 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28682 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28683 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28684 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28685 * math/test-finite-macros.c: New file.
28686 * math/Makefile (tests): Add test-finite-macros.
28687 (CFLAGS-test-finite-macros.c): New variable.
28689 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28690 Jeff Law <law@redhat.com>
28693 Mangle NULL pointers in iconv/gconv.
28694 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28695 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28696 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28697 is non-NULL before demangling the end_fct. Check for NULL
28698 end_fct after demangling.
28699 (__gconv_release_step): Demangle the end_fct before checking
28700 it for NULL. Remove assert on __shlibc_handle != NULL.
28701 (gen_steps): Don't check btowc_fct for NULL before mangling.
28702 Demangle init_fct before checking for NULL.
28703 (increment_counter): Likewise.
28704 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28705 end_fct for NULL before mangling.
28706 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28709 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28712 * locale/iso-639.def: add Morisyen.
28714 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28717 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28718 (iszero): New C++ implementation that does not use
28719 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28720 signaling nans are enabled, since __builtin_types_compatible_p
28721 is a C-only feature.
28722 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28723 defined, include ieee754_float128.h for access to the union and
28724 member ieee854_float128.ieee.
28725 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28726 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28727 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28728 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28729 options of test-math-zero on powerpc64le.
28731 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
28733 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28734 Change double to float.
28736 2017-08-28 Joseph Myers <joseph@codesourcery.com>
28738 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
28740 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
28741 conditional code; define contents only for [LIBM_SVID_COMPAT].
28743 2017-08-28 Florian Weimer <fweimer@redhat.com>
28745 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
28746 (abi-lp64_be-options): Remove.
28747 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
28748 (abi-hard-options): Likewise.
28749 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
28750 (abi-o32_hard-options, abi-o32_soft_2008-options)
28751 (abi-o32_hard_2008-options, abi-n32_soft-options)
28752 (abi-n32_hard-options, abi-n32_soft_2008-options)
28753 (abi-n32_hard_2008-options, abi-n64_soft-options)
28754 (abi-n64_hard-options, abi-n64_soft_2008-options)
28755 (abi-n64_hard_2008-options): Likewise.
28756 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
28757 (abi-64-v1-options, abi-64-v2-options): Likewise.
28758 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
28759 (abi-64-options): Likewise.
28760 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
28761 (abi-64-options): Likewise.
28762 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
28763 (abi-64-options): Likewise.
28764 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
28765 (abi-64-options, abi-x32-options): Likewise.
28767 2017-08-28 Florian Weimer <fweimer@redhat.com>
28769 Store supported list of SYS_* system calls in the source tree.
28770 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
28771 (bits/syscall.h): Generate from list file.
28772 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
28773 [$(subdir) = misc] (tests): Add tst-syscall-list.
28774 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
28775 [$(subdir) = misc] (tst-syscall-list-macros.list)
28776 [$(subdir) = misc] (tst-syscall-list-nr.list)
28777 (tst-syscall-list-sys.list): Helper targets for new
28778 tst-syscall-list test.
28779 [$(subdir) = misc] (tst-syscall-list.out): Run test script
28780 tst-syscall-list.sh.
28781 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
28782 target. Do not include bits/syscall.d.
28783 [$(subdir) = misc] (generated): Do not update.
28784 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
28785 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
28786 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
28787 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
28789 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
28791 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
28792 (tst-cxa_atexit, tst-on_exit): Likewise.
28793 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
28794 tst-cxa_atexit, and tst-on_exit.
28795 * stdlib/tst-atexit-common.c: New file.
28796 * stdlib/tst-atexit.c: New file.
28797 * stdlib/tst-at_quick_exit.c: New file.
28798 * stdlib/tst-cxa_atexit.c: New file.
28799 * stdlib/tst-on_exit.c: New file.
28801 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28803 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
28804 * mach/stack_chk_fail_local.c: New file.
28805 * hurd/stack_chk_fail_local.c: New file.
28806 * mach/Machrules ($(interface-library)-routines): Add
28807 stack_chk_fail_local.
28808 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
28809 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
28810 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
28811 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
28812 * hurd/Makefile (CFLAGS-hurdstartup.o,
28813 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
28815 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
28817 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28818 (index_cpu_*, index_arch_*): Removed.
28820 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28822 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
28823 Use uint64_t instead of unsigned long.
28825 2017-08-25 Joseph Myers <joseph@codesourcery.com>
28827 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
28828 [__HAVE_DISTINCT_FLOAT128].
28830 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
28831 of <bits/math-finite.h>.
28832 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
28833 inclusion of <bits/math-finite.h>.
28834 * math/bits/math-finite.h (__REDIRTO_X): Do not define
28835 conditionally on [__MATH_DECLARING_LDOUBLE && defined
28836 __NO_LONG_DOUBLE_MATH].
28837 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
28838 (__MATH_REDIRCALL_2): Likewise.
28839 (__MATH_REDIRCALL_INTERNAL): Likewise.
28840 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28841 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
28842 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
28846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
28848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
28850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
28852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
28854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
28856 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28857 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28858 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28859 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
28861 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
28862 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
28863 w_sqrtf_compat-ppc32.
28865 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28867 * math/math.h [defined __cplusplus] (issignaling): In the long
28868 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
28869 is not defined. Call __issignaling, otherwise.
28871 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28873 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
28874 syscall definitions and replace __builtin_expect with __glibc_likely.
28875 * sysdeps/unix/syscall-template.S: Update comment about cancellable
28877 (SYSCALL_CANCELLABLE): Removedefinition
28878 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
28880 (PSEUDO_END): Likewise.
28881 [IS_IN (libpthread)] (CENABLE): Likewise.
28882 [IS_IN (libpthread)] (CDISABLE): Likewise.
28883 [IS_IN (libc)] (CENABLE): Likewise.
28884 [IS_IN (libc)] (CENABLE): Likewise.
28885 [IS_IN (librt)] (CDISABLE): Likewise.
28886 [IS_IN (librt)] (CDISABLE): Likewise.
28887 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28888 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
28890 (PSEUDO_END): Likewise.
28891 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
28892 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
28893 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28894 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28895 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28896 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28897 (CENABLE): Likewise.
28898 (CDISABLE): Likewise.
28899 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28900 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
28902 (PSEUDO_END): Likewise.
28903 [IS_IN (libpthread)] (CENABLE): Likewise.
28904 [IS_IN (libpthread)] (CDISABLE): Likewise.
28905 [IS_IN (libc)] (CENABLE): Likewise.
28906 [IS_IN (libc)] (CENABLE): Likewise.
28907 [IS_IN (librt)] (CDISABLE): Likewise.
28908 [IS_IN (librt)] (CDISABLE): Likewise.
28909 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28910 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
28912 (PSEUDO_END): Likewise.
28913 [IS_IN (libpthread)] (CENABLE): Likewise.
28914 [IS_IN (libpthread)] (CDISABLE): Likewise.
28915 [IS_IN (libc)] (CENABLE): Likewise.
28916 [IS_IN (libc)] (CENABLE): Likewise.
28917 [IS_IN (librt)] (CDISABLE): Likewise.
28918 [IS_IN (librt)] (CDISABLE): Likewise.
28919 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28920 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
28922 (PSEUDO_END): Likewise.
28923 [IS_IN (libpthread)] (CENABLE): Likewise.
28924 [IS_IN (libpthread)] (CDISABLE): Likewise.
28925 [IS_IN (libc)] (CENABLE): Likewise.
28926 [IS_IN (libc)] (CENABLE): Likewise.
28927 [IS_IN (librt)] (CDISABLE): Likewise.
28928 [IS_IN (librt)] (CDISABLE): Likewise.
28929 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28930 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
28932 (PSEUDO_END): Likewise.
28933 [IS_IN (libpthread)] (CENABLE): Likewise.
28934 [IS_IN (libpthread)] (CDISABLE): Likewise.
28935 [IS_IN (libc)] (CENABLE): Likewise.
28936 [IS_IN (libc)] (CENABLE): Likewise.
28937 [IS_IN (librt)] (CDISABLE): Likewise.
28938 [IS_IN (librt)] (CDISABLE): Likewise.
28939 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28940 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
28942 (PSEUDO_END): Likewise.
28943 [IS_IN (libpthread)] (CENABLE): Likewise.
28944 [IS_IN (libpthread)] (CDISABLE): Likewise.
28945 [IS_IN (libc)] (CENABLE): Likewise.
28946 [IS_IN (libc)] (CENABLE): Likewise.
28947 [IS_IN (librt)] (CDISABLE): Likewise.
28948 [IS_IN (librt)] (CDISABLE): Likewise.
28949 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28950 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
28952 (PSEUDO_END): Likewise.
28953 [IS_IN (libpthread)] (CENABLE): Likewise.
28954 [IS_IN (libpthread)] (CDISABLE): Likewise.
28955 [IS_IN (libc)] (CENABLE): Likewise.
28956 [IS_IN (libc)] (CENABLE): Likewise.
28957 [IS_IN (librt)] (CDISABLE): Likewise.
28958 [IS_IN (librt)] (CDISABLE): Likewise.
28959 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28960 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
28962 (PSEUDO_END): Likewise.
28963 [IS_IN (libpthread)] (CENABLE): Likewise.
28964 [IS_IN (libpthread)] (CDISABLE): Likewise.
28965 [IS_IN (libc)] (CENABLE): Likewise.
28966 [IS_IN (libc)] (CENABLE): Likewise.
28967 [IS_IN (librt)] (CDISABLE): Likewise.
28968 [IS_IN (librt)] (CDISABLE): Likewise.
28969 (SINGLE_THREAD_P): Likewise.
28970 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
28972 (PSEUDO_END): Likewise.
28973 [IS_IN (libpthread)] (CENABLE): Likewise.
28974 [IS_IN (libpthread)] (CDISABLE): Likewise.
28975 [IS_IN (libc)] (CENABLE): Likewise.
28976 [IS_IN (libc)] (CENABLE): Likewise.
28977 [IS_IN (librt)] (CDISABLE): Likewise.
28978 [IS_IN (librt)] (CDISABLE): Likewise.
28979 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28980 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
28982 (PSEUDO_END): Likewise.
28983 [IS_IN (libpthread)] (CENABLE): Likewise.
28984 [IS_IN (libpthread)] (CDISABLE): Likewise.
28985 [IS_IN (libc)] (CENABLE): Likewise.
28986 [IS_IN (libc)] (CENABLE): Likewise.
28987 [IS_IN (librt)] (CDISABLE): Likewise.
28988 [IS_IN (librt)] (CDISABLE): Likewise.
28989 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28990 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
28991 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28992 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
28993 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
28995 (PSEUDO_END): Likewise.
28996 [IS_IN (libpthread)] (CENABLE): Likewise.
28997 [IS_IN (libpthread)] (CDISABLE): Likewise.
28998 [IS_IN (libc)] (CENABLE): Likewise.
28999 [IS_IN (libc)] (CENABLE): Likewise.
29000 [IS_IN (librt)] (CDISABLE): Likewise.
29001 [IS_IN (librt)] (CDISABLE): Likewise.
29002 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29003 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29005 (PSEUDO_END): Likewise.
29006 [IS_IN (libpthread)] (CENABLE): Likewise.
29007 [IS_IN (libpthread)] (CDISABLE): Likewise.
29008 [IS_IN (libc)] (CENABLE): Likewise.
29009 [IS_IN (libc)] (CENABLE): Likewise.
29010 [IS_IN (librt)] (CDISABLE): Likewise.
29011 [IS_IN (librt)] (CDISABLE): Likewise.
29012 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29013 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29015 (PSEUDO_END): Likewise.
29016 [IS_IN (libpthread)] (CENABLE): Likewise.
29017 [IS_IN (libpthread)] (CDISABLE): Likewise.
29018 [IS_IN (libc)] (CENABLE): Likewise.
29019 [IS_IN (libc)] (CENABLE): Likewise.
29020 [IS_IN (librt)] (CDISABLE): Likewise.
29021 [IS_IN (librt)] (CDISABLE): Likewise.
29022 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29024 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29025 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29026 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29028 (PSEUDO_END): Likewise.
29029 [IS_IN (libpthread)] (CENABLE): Likewise.
29030 [IS_IN (libpthread)] (CDISABLE): Likewise.
29031 [IS_IN (libc)] (CENABLE): Likewise.
29032 [IS_IN (libc)] (CENABLE): Likewise.
29033 [IS_IN (librt)] (CDISABLE): Likewise.
29034 [IS_IN (librt)] (CDISABLE): Likewise.
29035 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29036 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29038 (PSEUDO_END): Likewise.
29039 [IS_IN (libpthread)] (CENABLE): Likewise.
29040 [IS_IN (libpthread)] (CDISABLE): Likewise.
29041 [IS_IN (libc)] (CENABLE): Likewise.
29042 [IS_IN (libc)] (CENABLE): Likewise.
29043 [IS_IN (librt)] (CDISABLE): Likewise.
29044 [IS_IN (librt)] (CDISABLE): Likewise.
29045 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29047 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29049 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29051 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29053 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29055 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29058 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29059 middle and outer with size_t instead of int. Repleace %d and
29060 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29061 "MAX (outer, nchars - 64)" to support unsigned outer and
29062 nchars. Also exit loop when outer == 0.
29064 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29066 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29067 * include/signal.h (__sigsuspend_nocancel): Likewise.
29068 * include/time.h (__nanosleep_nocancel): Likewise.
29069 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29070 * login/utmp_file.c: Include non cancellable syscall header.
29071 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29074 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29076 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29077 .byte sequences with AVX512F instructions.
29078 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29079 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29080 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29081 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29083 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29086 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29087 Steve Ellcey <sellcey@cavium.com>
29089 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29090 Use PTR_REG macro in cmp instruction.
29092 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29094 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29095 Change the return type of the ifunc resolver to match the return
29096 type of the target function.
29098 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29100 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29101 (preadv64): Likewise.
29102 (pwrite64(: Likewise.
29103 (pwritev64): Likewise.
29105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29106 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29107 (LOAD_ARGS_0): Likewise.
29108 (LOAD_ARGS_1): Likewise.
29109 (LOAD_ARGS_2): Likewise.
29110 (LOAD_ARGS_3): Likewise.
29111 (LOAD_ARGS_4): Likewise.
29112 (LOAD_ARGS_5): Likewise.
29113 (LOAD_ARGS_6): Likewise.
29114 (LOAD_REGS_0): Likewise.
29115 (LOAD_REGS_1): Likewise.
29116 (LOAD_REGS_2): Likewise.
29117 (LOAD_REGS_3): Likewise.
29118 (LOAD_REGS_4): Likewise.
29119 (LOAD_REGS_5): Likewise.
29120 (LOAD_REGS_6): Likewise.
29121 (ASM_ARGS_0): Likewise.
29122 (ASM_ARGS_1): Likewise.
29123 (ASM_ARGS_2): Likewise.
29124 (ASM_ARGS_3): Likewise.
29125 (ASM_ARGS_4): Likewise.
29126 (ASM_ARGS_5): Likewise.
29127 (ASM_ARGS_6): Likewise.
29128 (LOAD_ARGS_TYPES_1): Likewise.
29129 (LOAD_ARGS_TYPES_2): Likewise.
29130 (LOAD_ARGS_TYPES_3): Likewise.
29131 (LOAD_ARGS_TYPES_4): Likewise.
29132 (LOAD_ARGS_TYPES_5): Likewise.
29133 (LOAD_ARGS_TYPES_6): Likewise.
29134 (LOAD_REGS_TYPES_1): Likewise.
29135 (LOAD_REGS_TYPES_2): Likewise.
29136 (LOAD_REGS_TYPES_3): Likewise.
29137 (LOAD_REGS_TYPES_4): Likewise.
29138 (LOAD_REGS_TYPES_5): Likewise.
29139 (LOAD_REGS_TYPES_6): Likewise.
29140 (TYPEFY): New define.
29141 (ARGIFY): Likewise.
29142 (internal_syscall0): Likewise.
29143 (internal_syscall1): Likewise.
29144 (internal_syscall2): Likewise.
29145 (internal_syscall3): Likewise.
29146 (internal_syscall4): Likewise.
29147 (internal_syscall5): Likewise.
29148 (internal_syscall6): Likewise.
29149 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29150 (INTERNAL_SYSCALL_NCS): Remove define.
29151 (internal_syscall1): Add define.
29153 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29155 * math/w_remainder_compat.c: Remove duplicate inclusion of
29156 math-svid-compat.h.
29157 * math/w_remainderf_compat.c: Likewise.
29158 * math/w_remainderl_compat.c: Likewise.
29160 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29164 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29167 * math/tgmath.h (__floating_type): Simplify definitions.
29168 (__real_integer_type): New macro.
29169 (__complex_integer_type): Likewise.
29170 (__expr_is_real): Likewise.
29171 (__tgmath_real_type_sub): Update comment to describe handling of
29173 (__tgmath_complex_type_sub): New macro.
29174 (__tgmath_complex_type): Likewise.
29175 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29176 (__TGMATH_CF128): Use __expr_is_real.
29177 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29179 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29180 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29181 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29184 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29186 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29188 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29190 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29193 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29194 nanosleep_not_cancel with __nanosleep_nocancel.
29195 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29196 (__nanosleep_nocancel): New macro.
29197 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29199 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29201 (__nanosleep_nocancel): New prototype.
29203 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29204 pause_not_cancel with __pause_nocancel.
29205 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29206 (__pause_nocancel): New macro.
29207 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29209 (__pause_nocancel): New prototype.
29210 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29212 2017-08-22 Martin Sebor <msebor@redhat.com>
29214 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29215 to return a pointer to the same type as the target function.
29217 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29221 * include/printf.h (__printf_fphex): Add attribute_hidden.
29222 (__guess_grouping): New prototype.
29223 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29224 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29225 libc_hidden_proto and libc_hidden_def.
29226 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29227 (__vstrfmon_l): Remove the third argument passed to
29230 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29232 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29233 definition for issignaling that does not rely on __MATH_TG,
29234 since __MATH_TG uses __builtin_types_compatible_p, which is only
29235 available in C mode.
29236 (CFLAGS-test-math-issignaling.cc): New variable.
29237 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29238 * math/test-math-issignaling.cc: New test for C++ implementation
29239 of type-generic issignaling.
29240 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29241 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29242 options of test-math-issignaling on powerpc64le.
29244 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29246 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29248 (hidden_proto): Likewise.
29249 (hidden_tls_proto): Likewise.
29250 (__hidden_proto): Likewise.
29252 2017-08-22 Florian Weimer <fweimer@redhat.com>
29254 math: Statically link tests of internal functionality.
29255 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29257 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29258 (gmp-objs): Remove assignment.
29259 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29261 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29264 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29266 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29268 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29271 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29272 variable definitions above inclusion of ../Rules.
29274 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29276 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29277 case calling __builtin_unreachable.
29279 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29281 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29282 __waitpid_nocancel.
29283 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29284 (__waitpid_nocancel): New macro.
29285 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29287 (__waitpid_nocancel): Replace macro with a function.
29288 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29291 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29293 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29294 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29296 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29297 __writev_nocancel_nostatus.
29298 (write_call_graph): Likewise.
29299 (write_bb_counts): Likewise.
29300 * resolv/herror.c (herror): Likewise.
29301 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29303 (__writev_nocancel_nostatus): New macro.
29304 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29306 (__writev_nocancel_nostatus): New function.
29308 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29311 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29313 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29315 (hidden_proto): Likewise.
29316 (hidden_tls_proto): Likewise.
29317 (__hidden_proto): Likewise.
29320 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29321 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29330 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29332 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29333 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29334 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29335 GLIBC_2.0 sqrtl symbol.
29337 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29338 [__USE_MISC] (_LIB_VERSION): Likewise.
29339 [__USE_MISC] (struct exception): Likewise.
29340 [__USE_MISC] (matherr): Likewise.
29341 [__USE_MISC] (DOMAIN): Likewise.
29342 [__USE_MISC] (SING): Likewise.
29343 [__USE_MISC] (OVERFLOW): Likewise.
29344 [__USE_MISC] (UNDERFLOW): Likewise.
29345 [__USE_MISC] (TLOSS): Likewise.
29346 [__USE_MISC] (PLOSS): Likewise.
29347 [__USE_MISC] (HUGE): Likewise.
29348 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29349 * math/math-svid-compat.h: New file.
29350 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29352 * include/math.h [!_ISOMAC] (__matherr): Remove.
29353 * manual/arith.texi (FP Exceptions): Do not document matherr.
29354 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29355 (tests-internal): New variable.
29356 (install-lib): Do not add libieee.a.
29357 (non-lib.a): Likewise.
29358 (extra-objs): Do not add libieee.a and ieee-math.o.
29359 (CPPFLAGS-s_lib_version.c): Remove variable.
29360 ($(objpfx)libieee.a): Remove rule.
29361 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29362 * math/ieee-math.c: Remove.
29363 * math/libm-test-support.c (matherr): Remove.
29364 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29365 and license notices. Include <math-svid-compat.h> and
29367 (matherr): Undefine as macro. Use compat_symbol_reference.
29368 (_LIB_VERSION): Likewise.
29369 * math/test-matherr-2.c: New file.
29370 * math/test-matherr-3.c: Likewise.
29371 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29373 (__kernel_standard_f): Likewise.
29374 (__kernel_standard_l): Likewise.
29375 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29376 <math_private.h>. Include <math-svid-compat.h>.
29377 (_LIB_VERSION): Undefine as macro.
29378 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29379 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29380 [LIBM_SVID_COMPAT], use compat_symbol.
29381 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29382 <math_private.h>. Include <math-svid-compat.h>.
29383 (matherr): Undefine as macro.
29384 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29386 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29387 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29388 compat_symbol_reference.
29389 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29390 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29391 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29392 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29393 (MATHERR_D): Remove declaration.
29394 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29395 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29396 [LIBM_BUILD] (pmatherrf): Likewise.
29397 [LIBM_BUILD] (pmatherr): Likewise.
29398 [LIBM_BUILD] (pmatherrl): Likewise.
29399 (DOMAIN): Likewise.
29401 (OVERFLOW): Likewise.
29402 (UNDERFLOW): Likewise.
29405 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29406 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29408 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29409 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29411 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29412 * math/w_acos_compat.c: Likewise.
29413 * math/w_acosf_compat.c: Likewise.
29414 * math/w_acosh_compat.c: Likewise.
29415 * math/w_acoshf_compat.c: Likewise.
29416 * math/w_acoshl_compat.c: Likewise.
29417 * math/w_acosl_compat.c: Likewise.
29418 * math/w_asin_compat.c: Likewise.
29419 * math/w_asinf_compat.c: Likewise.
29420 * math/w_asinl_compat.c: Likewise.
29421 * math/w_atan2_compat.c: Likewise.
29422 * math/w_atan2f_compat.c: Likewise.
29423 * math/w_atan2l_compat.c: Likewise.
29424 * math/w_atanh_compat.c: Likewise.
29425 * math/w_atanhf_compat.c: Likewise.
29426 * math/w_atanhl_compat.c: Likewise.
29427 * math/w_cosh_compat.c: Likewise.
29428 * math/w_coshf_compat.c: Likewise.
29429 * math/w_coshl_compat.c: Likewise.
29430 * math/w_exp10_compat.c: Likewise.
29431 * math/w_exp10f_compat.c: Likewise.
29432 * math/w_exp10l_compat.c: Likewise.
29433 * math/w_exp2_compat.c: Likewise.
29434 * math/w_exp2f_compat.c: Likewise.
29435 * math/w_exp2l_compat.c: Likewise.
29436 * math/w_fmod_compat.c: Likewise.
29437 * math/w_fmodf_compat.c: Likewise.
29438 * math/w_fmodl_compat.c: Likewise.
29439 * math/w_hypot_compat.c: Likewise.
29440 * math/w_hypotf_compat.c: Likewise.
29441 * math/w_hypotl_compat.c: Likewise.
29442 * math/w_j0_compat.c: Likewise.
29443 * math/w_j0f_compat.c: Likewise.
29444 * math/w_j0l_compat.c: Likewise.
29445 * math/w_j1_compat.c: Likewise.
29446 * math/w_j1f_compat.c: Likewise.
29447 * math/w_j1l_compat.c: Likewise.
29448 * math/w_jn_compat.c: Likewise.
29449 * math/w_jnf_compat.c: Likewise.
29450 * math/w_jnl_compat.c: Likewise.
29451 * math/w_lgamma_main.c: Likewise.
29452 * math/w_lgamma_r_compat.c: Likewise.
29453 * math/w_lgammaf_main.c: Likewise.
29454 * math/w_lgammaf_r_compat.c: Likewise.
29455 * math/w_lgammal_main.c: Likewise.
29456 * math/w_lgammal_r_compat.c: Likewise.
29457 * math/w_log10_compat.c: Likewise.
29458 * math/w_log10f_compat.c: Likewise.
29459 * math/w_log10l_compat.c: Likewise.
29460 * math/w_log2_compat.c: Likewise.
29461 * math/w_log2f_compat.c: Likewise.
29462 * math/w_log2l_compat.c: Likewise.
29463 * math/w_log_compat.c: Likewise.
29464 * math/w_logf_compat.c: Likewise.
29465 * math/w_logl_compat.c: Likewise.
29466 * math/w_pow_compat.c: Likewise.
29467 * math/w_powf_compat.c: Likewise.
29468 * math/w_powl_compat.c: Likewise.
29469 * math/w_remainder_compat.c: Likewise.
29470 * math/w_remainderf_compat.c: Likewise.
29471 * math/w_remainderl_compat.c: Likewise.
29472 * math/w_scalb_compat.c: Likewise.
29473 * math/w_scalbf_compat.c: Likewise.
29474 * math/w_scalbl_compat.c: Likewise.
29475 * math/w_sinh_compat.c: Likewise.
29476 * math/w_sinhf_compat.c: Likewise.
29477 * math/w_sinhl_compat.c: Likewise.
29478 * math/w_sqrt_compat.c: Likewise.
29479 * math/w_sqrtf_compat.c: Likewise.
29480 * math/w_sqrtl_compat.c: Likewise.
29481 * math/w_tgamma_compat.c: Likewise.
29482 * math/w_tgammaf_compat.c: Likewise.
29483 * math/w_tgammal_compat.c: Likewise.
29484 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29485 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29486 * sysdeps/ieee754/k_standard.c: Likewise.
29487 * sysdeps/ieee754/k_standardf.c: Likewise.
29488 * sysdeps/ieee754/k_standardl.c: Likewise.
29489 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29490 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29491 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29492 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29493 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29494 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29495 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29496 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29497 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29502 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29503 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29504 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29505 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29507 2017-08-21 Florian Weimer <fweimer@redhat.com>
29510 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29511 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29512 Move before inclusion of ../Rules.
29514 2017-08-21 Florian Weimer <fweimer@redhat.com>
29517 * assert/assert.h (assert): Use static_cast (bool) for C++.
29518 Use the ternary operator in the warning branch for GNU C.
29519 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29520 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29521 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29522 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29523 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29525 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29528 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29529 (__syscall_clock_gettime): Add attribute_hidden.
29530 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29531 (__start_context): Likewise.
29533 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29535 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29537 (hidden_proto): Likewise.
29538 (hidden_tls_proto): Likewise.
29539 (__hidden_proto): Likewise.
29541 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29543 * include/libc-symbols.h (attribute_hidden): Enable hidden
29544 visibility in libc.a compiled with PIE.
29546 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29549 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29550 Add attribute_hidden.
29552 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29555 * Makerules (all-nonlib): Add $(others-extras).
29556 * catgets/Makefile (others-extras): New.
29557 * elf/Makefile (others-extras): Likewise.
29558 * nss/Makefile (others-extras): Likewise.
29560 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29563 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29564 * elf/dl-open.c: Include <libc-internal.h>.
29565 (__libc_multiple_libcs): Removed.
29566 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29568 * include/libc-internal.h (__libc_multiple_libcs): New.
29569 * misc/sbrk.c: Include <libc-internal.h>.
29570 (__libc_multiple_libcs): Removed.
29572 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29575 * grp/initgroups.c (__nss_group_database): Removed.
29576 (__nss_initgroups_database): Likewise.
29577 * nscd/gai.c (__nss_hosts_database): Likewise.
29578 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29579 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29580 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29581 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29582 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29583 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29585 * nss/nsswitch.c (__nss_database_custom): Define only if
29586 USE_NSCD is defined.
29587 (__nss_configure_lookup): Use __nss_database_custom only if
29588 USE_NSCD is defined.
29589 * nss/nsswitch.h (__nss_database_custom): Declare only if
29590 USE_NSCD is defined. Add attribute_hidden.
29591 (__nss_setent): Add attribute_hidden.
29592 (__nss_endent): Likewise.
29593 (__nss_getent_r): Likewise.
29594 (__nss_getent): Likewise.
29595 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29597 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29600 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29601 libc_hidden_proto and libc_hidden_def.
29603 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29606 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29607 Add libc_hidden_proto.
29608 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29609 Add libc_hidden_def.
29611 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29614 * gmon/Makefile (routines): Remove bb_init_func and
29616 (elide-routines.os): Removed.
29617 * gmon/bb_exit_func.c: Likewise.
29618 * gmon/bb_init_func.c: Likewise.
29619 * include/sys/gmon.h (__bb): Likewise.
29620 (__bb_init_func): Likewise.
29621 (__bb_exit_func): Likewise.
29622 * sysdeps/alpha/bb_init_func.S: Likewise.
29624 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29626 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29627 * include/setjmp.h (____longjmp_chk): Here. Add
29630 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29633 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29635 (__strspn_sse2): Likewise.
29637 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29639 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29640 (close_not_cancel_no_status): Likewise.
29641 (__close_nocancel): New macro.
29642 (__close_nocancel_nostatus): Likewise.
29643 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29645 (close_not_cancel): Likewise.
29646 (close_not_cancel_no_status): Likewise.
29647 (__close_nocancel): New prototype.
29648 (__close_nocancel_nostatus): New function.
29649 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29650 * catgets/open_catalog.c (__open_catalog): Replace
29651 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29652 * gmon/gmon.c (write_gmon): Likewise.
29653 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29654 * intl/loadmsgcat.c (close): Likewise.
29655 * io/ftw.c (open_dir_stream): Likewise.
29656 (ftw_startup): Likewise.
29657 * libio/fileops.c (_IO_file_open): Likewise.
29658 (_IO_file_close_mmap): Likewise.
29659 (_IO_file_close): Likewise.
29660 * libio/iopopen.c (_IO_dup2): Likewise.
29661 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29662 * locale/loadlocale.c (_nl_load_locale): Likewise.
29663 * login/utmp_file.c (pututline_file): Likewise.
29664 (endutent_file): Likewise.
29665 * misc/daemon.c (daemon): Likewise.
29666 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29667 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29668 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29669 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29670 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29671 * nscd/nscd_helper.c (open_socket): Likewise.
29672 (__nscd_open_socket): Likewise.
29673 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29674 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29675 (__nscd_innetgr): Likewise.
29676 * nss/nss_db/db-open.c (internal_setent): Likewise.
29677 * resolv/res-close.c (__res_iclose): Likewise.
29678 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29679 * sysdeps/posix/closedir.c (__closedir): Likewise.
29680 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29681 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29682 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29683 (opendir_tail): Likewise.
29684 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29685 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29686 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29687 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29688 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29689 (gethostid): Likewise.
29690 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29691 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29694 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29695 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29696 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29698 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29699 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29700 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29702 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29703 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29705 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29707 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29708 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29709 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29712 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29713 (openat_not_cancel_3): Likewise.
29714 (openat64_not_cancel_3): Likewise).
29715 (openat_not_cancel_3): Likewise).
29716 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29718 (openat_not_cancel_3): Likewise.
29719 (openat64_not_cancel): Likewise.
29720 (openat64_not_cancel_3): Likewise.
29721 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29722 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29723 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29724 __open{64}_nocancel.
29725 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29726 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29727 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29729 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29732 * include/argz.h (__argz_create_sep): New function prototype.
29733 (__argz_append): Likewise.
29734 (__argz_add): Likewise.
29735 (__argz_add_sep): Likewise.
29736 (__argz_delete): Likewise.
29737 (__argz_insert): Likewise.
29738 (__argz_replace): Likewise.
29739 * string/argz.h (__argz_create_sep): Removed.
29740 (__argz_append): Likewise.
29741 (__argz_add): Likewise.
29742 (__argz_add_sep): Likewise.
29743 (__argz_delete): Likewise.
29744 (__argz_insert): Likewise.
29745 (__argz_replace): Likewise.
29747 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29749 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
29750 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
29751 (GNU_PROPERTY_STACK_SIZE): Likewie.
29752 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
29753 (GNU_PROPERTY_LOPROC): Likewise.
29754 (GNU_PROPERTY_HIPROC): Likewise.
29755 (GNU_PROPERTY_LOUSER): Likewise.
29756 (GNU_PROPERTY_HIUSER): Likewise.
29757 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
29758 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
29759 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
29760 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
29761 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
29762 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
29763 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
29764 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
29765 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
29766 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
29767 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
29768 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
29769 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
29770 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
29771 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
29772 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
29773 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
29774 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
29775 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
29776 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
29777 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
29778 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
29779 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
29781 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29783 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
29786 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29789 * math/math.h (isinf): Check if in C or C++ mode before using
29790 __builtin_types_compatible_p, since this is a C mode feature.
29792 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29794 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
29795 (__write_nocancel): New macro.
29796 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
29797 Rewrite as a function prototype.
29798 (write_not_cancel): Remove macro.
29799 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
29800 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
29801 (write_gmon): Likewise.
29802 * libio/fileops.c (_IO_new_file_write): Likewise.
29803 * login/utmp_file.c (pututline_file): Likewise.
29804 (updwtmp_file): Likewise.
29805 * stdio-common/psiginfo.c (psiginfo): Likewise.
29806 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29807 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29808 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29810 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29813 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
29814 (__read_nocancel): New macro.
29815 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29817 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
29819 (__read_nocancel): New prototype.
29820 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
29821 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
29822 with __read_nocancel.
29823 * intl/loadmsgcat.c (read): Likewise.
29824 * libio/fileops.c (_IO_file_read): Likewise.
29825 * locale/loadlocale.c (_nl_load_locale): Likewise.
29826 * login/utmp_file.c (getutent_r_file): Likewise.
29827 (internal_getut_r): Likewise.
29828 (getutline_r_file): Likewise.
29829 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29830 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29831 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29832 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29834 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
29835 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29836 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29838 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29840 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29842 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29844 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29846 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29849 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
29850 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
29853 2017-08-17 DJ Delorie <dj@redhat.com>
29855 * bug17079.c: Update to new test harness.
29856 * test-digits-dots.c: Likewise.
29857 * test-netdb.c: Likewise.
29858 * tst-field.c: Likewise.
29859 * tst-nss-getpwent.c: Likewise.
29860 * tst-nss-static.c: Likewise.
29861 * tst-nss-test1.c: Likewise.
29862 * tst-nss-test2.c: Likewise.
29863 * tst-nss-test3.c: Likewise.
29864 * tst-nss-test4.c: Likewise.
29865 * tst-nss-test5.c: Likewise.
29867 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29869 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
29870 (open_not_cancel_2): Likewise.
29871 (open_nocancel): New macro.
29872 (open64_nocancel): Likewise.
29873 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
29874 (open_not_cancel_2): Likewise.
29875 (__open_nocancel): New prototype.
29876 (__open64_nocancel): Likewise.
29877 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29879 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
29880 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
29881 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
29882 with __open_nocancel.
29883 * csu/check_fds.c (check_one_fd): Likewise.
29884 * gmon/gmon.c (write_gmon): Likewise.
29885 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
29886 * intl/loadmsgcat.c (open): Likewise.
29887 * libio/fileops.c (_IO_file_open): Likewise.
29888 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29889 * locale/loadlocale.c (_nl_load_locale): Likewise.
29890 * login/utmp_file.c (setutent_file): Likewise.
29891 * misc/daemon.c (daemon): Likewise.
29892 * nss/nss_db/db-open.c (internal_setent): Likewise.
29893 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29894 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
29895 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29896 (__opendir): Likewise.
29897 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29898 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29899 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29900 (gethostid): Likewise.
29901 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29902 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29905 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
29906 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29907 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29909 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29911 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29913 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29915 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29917 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29919 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29920 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29922 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
29924 * benchtests/bench-skeleton.c (main): Add support for
29925 latency benchmarking.
29926 * benchtests/scripts/bench.py: Add support for latency benchmarking.
29928 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
29930 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
29931 the startup object.
29933 2017-08-17 Florian Weimer <fweimer@redhat.com>
29935 * include/sys/socket.h (__opensock): Remove internal_function.
29936 * socket/opensock.c (__opensock): Likewise.
29937 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
29939 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29942 * signal/bits/types/__sigval_t.h: New file.
29943 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
29944 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
29945 and define sigval_t using __sigval_t.
29946 * include/bits/types/__sigval_t.h: New file.
29947 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
29948 instead of <bits/types/__sigval_t.h>.
29949 (struct sigevent): Use __sigval_t instead of sigval_t.
29950 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
29951 instead of <bits/types/__sigval_t.h>.
29952 (siginfo_t): Use __sigval_t instead of sigval_t.
29953 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
29954 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29955 (struct sigevent): Use __sigval_t instead of sigval_t.
29956 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
29957 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
29958 (siginfo_t): Use __sigval_t instead of sigval_t.
29959 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
29961 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29963 * NEWS: Remove "[Add new features here]" for 2.27.
29965 2017-08-16 Joseph Myers <joseph@codesourcery.com>
29967 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
29970 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29972 * NEWS: Mention x86-64 FMA optimization.
29974 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
29977 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29979 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
29980 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
29981 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
29983 2017-08-16 Andreas Schwab <schwab@suse.de>
29987 * elf/ldd.bash.in: Never run file directly.
29989 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
29992 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
29993 (L(SP_INF_0)): Likewise.
29995 2017-08-15 Florian Weimer <fweimer@redhat.com>
29997 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30000 2017-08-15 Florian Weimer <fweimer@redhat.com>
30002 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30003 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30004 BROKEN_THREAD_SIGNALS code.
30005 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30006 request_list): Remove caller_pid member used for
30007 BROKEN_THREAD_SIGNALS.
30008 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30009 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30010 Remove BROKEN_THREAD_SIGNALS support.
30011 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30012 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30014 2017-08-15 Florian Weimer <fweimer@redhat.com>
30016 * gmon/Makefile (tests): Add tst-gmon.
30017 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30019 (tests-special): Add tst-gmon-prof.out.
30020 (tst-gmon.out): Depend on clean-tst-gmon-data.
30021 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30022 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30023 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30025 * aclocal.m4 (GPROF): Set and substitute.
30026 * config.amke.in (GPROF): Set.
30027 * configure: Regenerate.
30029 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30031 * elf/elf.h A (NT_PPC_TAR): New macro.
30032 (NT_PPC_PPR): Likewise.
30033 (NT_PPC_DSCR): Likewise.
30034 (NT_PPC_EBB): Likewise.
30035 (NT_PPC_PMU): Likewise.
30036 (NT_PPC_TM_CGPR): Likewise.
30037 (NT_PPC_TM_CFPR): Likewise.
30038 (NT_PPC_TM_CVMX): Likewise.
30039 (NT_PPC_TM_CVSX): Likewise.
30040 (NT_PPC_TM_SPR): Likewise.
30041 (NT_PPC_TM_CTAR): Likewise.
30042 (NT_PPC_TM_CPPR): Likewise.
30043 (NT_PPC_TM_CDSCR): Likewise.
30045 2017-08-15 Florian Weimer <fweimer@redhat.com>
30047 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30048 regparm (2) instead of internal_function.
30049 (_MCOUNT_DECL): Adjust.
30051 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30053 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30054 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30056 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30058 * conform/data/sys/wait.h-data (si_value): Do not expect for
30061 2017-08-14 Florian Weimer <fweimer@redhat.com>
30064 NSS: Create stubs for accidentally exported lookup functions.
30065 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30066 Remove declaration.
30067 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30068 (ether_hostton): Call __nss_ethers_lookup2 instead.
30069 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30070 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30071 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30072 (setup): Call __nss_netgroup_lookup2 instead.
30073 * nss/Makefile (routines): Add compat-lookup.
30074 * nss/Versions (GLIBC_2.27): Add symbol version.
30075 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30076 (DB_COMPAT_FCT): Remove.
30077 * nss/compat-lookup.c: New file.
30078 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30079 from databases.def.
30080 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30081 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30082 (netname2user): Call __nss_publickey_lookup2 instead.
30083 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30084 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30087 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30088 Sergei Trofimovich <slyfox@inbox.ru>
30091 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30092 Rename to MMAP2_PAGE_UNIT.
30093 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30094 __OFF_T_MATCHES_OFF64_T is not defined.
30095 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30097 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30098 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30100 2017-08-14 Florian Weimer <fweimer@redhat.com>
30102 i386: Do not set internal_function.
30103 * config.h.in (USE_REGPARMS, internal_function): Remove.
30104 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30105 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30107 2017-08-14 Florian Weimer <fweimer@redhat.com>
30109 * elf/dl-init.c (_dl_init): Remove internal_function.
30110 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30111 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30113 2017-08-14 Florian Weimer <fweimer@redhat.com>
30115 * elf/rtld.c (_dl_start): Remove internal_function.
30116 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30119 2017-08-14 Florian Weimer <fweimer@redhat.com>
30121 * elf/dl-fini.c (_dl_fini): Remove internal_function
30122 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30124 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30126 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30127 (bit_cpu_SHSTK): Likewise.
30128 (index_cpu_IBT): Likewise.
30129 (index_cpu_SHSTK): Likewise.
30130 (reg_IBT): Likewise.
30131 (reg_SHSTK): Likewise.
30132 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30133 Handle index_cpu_IBT and index_cpu_SHSTK.
30135 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30138 * po/fr.po: Fix spelling mistake.
30140 2017-08-13 Florian Weimer <fweimer@redhat.com>
30142 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30143 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30144 (_dl_catch_error, _dl_receive_error): Likewise.
30145 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30146 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30147 (_dl_deallocate_tls): Likewise.
30148 * include/dlfcn.h (_dl_addr): Likewise.
30149 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30150 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30151 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30154 2017-08-13 Florian Weimer <fweimer@redhat.com>
30156 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30157 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30159 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30161 2017-08-13 Florian Weimer <fweimer@redhat.com>
30163 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30165 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30166 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30167 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30168 internal_function from _dl_make_stack_executable_hook member.
30169 (_dl_make_stack_executable): Remove internal_function.
30170 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30172 * sysdeps/unix/sysv/linux/dl-execstack.c
30173 (_dl_make_stack_executable): Likewise.
30175 2017-08-13 Florian Weimer <fweimer@redhat.com>
30177 * sysdeps/unix/sysv/linux/netlinkaccess.h
30178 (__netlink_assert_response): Remove internal_function.
30179 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30180 (__netlink_assert_response): Likewise.
30182 2017-08-13 Florian Weimer <fweimer@redhat.com>
30184 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30186 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30188 2017-08-13 Florian Weimer <fweimer@redhat.com>
30190 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30192 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30193 * inet/netgroup.h (__internal_setnetgrent)
30194 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30195 * inet/getnetgrent_r.c (__internal_setnetgrent)
30196 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30197 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30198 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30199 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30200 * nss/nsswitch.h (db_lookup_function): Likewise.
30202 2017-08-13 Florian Weimer <fweimer@redhat.com>
30204 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30205 Remove internal_function.
30206 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30207 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30208 message argument on the stack.
30209 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30212 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30214 Adapt test case data to the changes in the thousands
30218 * localedata/tst-langinfo.sh: Adapt test case data.
30219 * stdlib/tst-strfmon_l.c: Likewise.
30220 * stdlib/tst-strtod4.c: Likewise.
30221 * stdlib/tst-strtod5i.c: Likewise.
30223 2017-08-11 Florian Weimer <fweimer@redhat.com>
30226 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30227 Suppress pedantic warning resulting from statement expression.
30228 (__ASSERT_FUNCTION): Add missing __extension__.
30230 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30232 * benchtests/bench-memmove-large.c: Print output in JSON
30234 * benchtests/bench-memmove.c: Likewise.
30236 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30237 * benchtests/bench-memchr.c (do_one_test): Likewise.
30238 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30239 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30240 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30241 * benchtests/bench-memmove.c (do_one_test): Likewise.
30242 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30243 * benchtests/bench-memset.c (do_one_test): Likewise.
30244 * benchtests/bench-string.h (test_init): Remove memsets.
30246 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30249 (Computing the Width of an Integer Data Type): Rename section to
30250 "Width of an Integer Type". Remove inaccurate statement regarding
30251 lack of C language facilities for determining width of integer
30252 types, and reorder content to improve flow and context of
30255 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30257 * lang.texi (va_copy): Change standard from ISO to C99.
30258 (__va_copy): Add standard and header annotation.
30259 Update description for clarity of origins and current use.
30261 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30264 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30265 xssqrtqp requires operands to be in Vector Registers
30266 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30267 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30268 (__ieee754_sqrtf128): Likewise.
30270 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30272 * sysdeps/aarch64/memcmp.S (memcmp):
30273 Rewrite of optimized memcmp.
30275 2017-08-10 Florian Weimer <fweimer@redhat.com>
30277 Introduce ld.so exceptions.
30278 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30279 (_dl_exception_create, _dl_exception_create_format)
30280 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30281 (_dl_catch_exception): Declare.
30282 (_dl_catch_error): Update comment.
30283 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30284 errstring, malloced members with exception member.
30285 (_dl_out_of_memory): Remove.
30286 (fatal_error): New function, extracted from _dl_signal_error.
30287 (_dl_signal_exception, _dl_signal_cexception): New functions.
30288 (_dl_signal_error): Call _dl_exception_create to allocate an
30290 (_dl_catch_exception): New function, based on _dl_catch_error.
30291 (_dl_catch_error): Implement using _dl_catch_exception.
30292 * elf/dl-exception.c: New file.
30293 * elf/Makefile (dl-routines): Add dl-exception.
30294 (elide-routines.os): Likewise.
30295 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30296 _dl_exception_create_format, _dl_exception_free.
30297 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30298 _dl_signal_exception.
30299 * elf/dl-lookup.c (make_string): Remove.
30300 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30301 _dl_signal_cexception, _dl_exception_free.
30302 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30303 _dl_signal_exception.
30304 * elf/dl-sym.c (do_sym): Likewise.
30305 * elf/dl-version.c (make_string): Remove.
30306 (match_symbol): Use _dl_exception_create_format,
30307 _dl_signal_cexception, _dl_exception_free.
30308 (_dl_check_map_versions): Likewise.
30309 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30310 _dl_catch_exception.
30311 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30312 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30313 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30314 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30315 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30316 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30317 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30318 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30320 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30327 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30328 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30329 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30331 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30333 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30335 2017-08-10 Florian Weimer <fweimer@redhat.com>
30337 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30338 attribute_hidden, internal_function.
30339 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30342 2017-08-10 Florian Weimer <fweimer@redhat.com>
30344 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30345 function which calls __builtin_unreachable.
30347 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30349 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30350 Indian monetary formatting
30351 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30354 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30356 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30357 Fix typo in comment.
30360 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30361 PTRACE_SEIZE_DEVEL): Remove.
30362 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30363 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30364 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30365 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30366 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30368 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30370 * posix/bits/types.h (__qaddr_t): Remove.
30373 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30374 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30376 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30377 (ucontext_t): Use __ctx with uc_flags.
30378 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30379 (__ctxt): Likewise.
30380 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30382 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30383 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30385 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30386 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30388 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30390 (ucontext_t): Use __ctx with uc_flags.
30391 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30392 (ucontext_t): Use __ctx with uc_flags.
30393 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30394 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30395 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30396 (ucontext_t): Use __ctx with uc_flags.
30397 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30398 undefine further down.
30399 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30401 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30402 undefine further down.
30403 (ucontext_t): Use __ctx with uc_flags.
30404 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30405 undefine further down.
30406 (ucontext_t): Use __ctx with uc_flags.
30407 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30408 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30409 Rename uc_pad to __glibc_reserved1.
30410 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30411 undefine further down.
30412 (ucontext_t): Use __ctx with uc_flags.
30413 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30415 (ucontext_t): Use __ctx with uc_flags.
30416 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30417 __ctx with uc_flags.
30418 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30419 (ucontext_t): Use __ctx with uc_flags.
30420 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30421 __ctx with uc_flags.
30423 2017-08-09 Florian Weimer <fweimer@redhat.com>
30426 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30427 before early return.
30429 2017-08-09 Andreas Schwab <schwab@suse.de>
30432 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30436 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30437 tst-compat-forwarder.
30438 (modules-names): Add tst-compat-forwarder-mod.
30439 ($(objpfx)tst-compat-forwarder): Depend on
30440 $(objpfx)tst-compat-forwarder-mod.so.
30441 * nptl/tst-compat-forwarder.c: New file.
30442 * nptl/tst-compat-forwarder-mod.c: New file.
30444 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30446 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30449 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30450 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30452 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30454 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30455 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30456 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30457 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30459 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30462 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30465 * manual/setjmp.texi (getcontex): Document uc_stack value
30466 compatibility differences.
30468 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30470 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30471 (old_malloc_hook): Likewise.
30472 (old_memalign_hook): Likewise.
30473 (old_realloc_hook): Likewise.
30474 (struct hdr): Likewise.
30476 (freehook): Likewise.
30477 (mallochook): Likewise.
30478 (memalignhook): Likewise.
30479 (reallochook): Likewise.
30480 (mprobe): Likewise.
30481 * malloc/mtrace.c (mallwatch): Likewise.
30482 (tr_old_free_hook): Likewise.
30483 (tr_old_malloc_hook): Likewise.
30484 (tr_old_realloc_hook): Likewise.
30485 (tr_old_memalign_hook): Likewise.
30486 (tr_where): Likewise.
30487 (lock_and_info): Likewise.
30488 (tr_freehook): Likewise.
30489 (tr_mallochook): Likewise.
30490 (tr_reallochook): Likewise.
30491 (tr_memalignhook): Likewise.
30492 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30493 * misc/mmap.c (__mmap): Likewise.
30494 * misc/mmap64.c (__mmap64): Likewise.
30495 * misc/mprotect.c (__mprotect): Likewise.
30496 * misc/msync.c (msync): Likewise.
30497 * misc/munmap.c (__munmap): Likewise.
30498 * posix/posix_madvise.c (posix_madvise): Likewise.
30499 * socket/send.c (__send): Likewise.
30500 * socket/sendto.c (__sendto): Likewise.
30501 * socket/setsockopt.c (__setsockopt): Likewise.
30502 * string/memcmp.c (__ptr_t): Remove macro.
30503 (MEMCMP): Use void * instead of ptr_t.
30504 * string/memrchr.c (__ptr_t): Remove macro.
30505 (__memrchr): Use void * instead of ptr_t.
30506 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30507 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30508 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30509 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30510 * sysdeps/mach/msync.c (msync): Likewise.
30511 * sysdeps/mach/munmap.c (__munmap): Likewise.
30512 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30514 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30515 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30516 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30517 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30518 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30519 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30520 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30521 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30523 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30524 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30525 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30526 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30527 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30528 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30529 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30530 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30531 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30533 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30534 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30535 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30536 (MEMCMP): Use void * instead of ptr_t.
30537 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30538 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30540 2017-08-08 Florian Weimer <fweimer@redhat.com>
30542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30545 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30548 * csu/libc-tls.c: Include <startup.h> first.
30549 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30550 * elf/dl-tunables.c: Include <startup.h> first.
30551 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30552 * sysdeps/generic/startup.h: New file.
30553 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30554 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30555 (I386_USE_SYSENTER): New. Defined to 0.
30557 2017-08-08 Andreas Schwab <schwab@suse.de>
30560 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30561 * nptl/pt-system.c (system): Likewise.
30563 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30566 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30568 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30569 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30570 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30571 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30572 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30573 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30574 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30576 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30579 * bits/sigaction.h (struct sigaction): Define sa_handler and
30580 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30581 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30582 [__USE_XOPEN_EXTENDED].
30583 (SA_RESTART): Likewise.
30584 (SA_NODEFER): Likewise.
30585 (SA_RESETHAND): Likewise.
30586 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30587 (struct sigaction): Define sa_handler and sa_sigaction using union
30588 also for [__USE_XOPEN_EXTENDED].
30589 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30590 [__USE_XOPEN_EXTENDED].
30591 (SA_RESTART): Likewise.
30592 (SA_NODEFER): Likewise.
30593 (SA_RESETHAND): Likewise.
30594 * sysdeps/unix/sysv/linux/bits/sigaction.h
30595 (struct sigaction): Define sa_handler and sa_sigaction using union
30596 also for [__USE_XOPEN_EXTENDED].
30597 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30598 [__USE_XOPEN_EXTENDED].
30599 (SA_RESTART): Likewise.
30600 (SA_NODEFER): Likewise.
30601 (SA_RESETHAND): Likewise.
30602 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30603 (struct sigaction): Define sa_handler and sa_sigaction using union
30604 also for [__USE_XOPEN_EXTENDED].
30605 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30606 [__USE_XOPEN_EXTENDED].
30607 (SA_RESTART): Likewise.
30608 (SA_NODEFER): Likewise.
30609 (SA_RESETHAND): Likewise.
30610 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30611 (struct sigaction): Define sa_handler and sa_sigaction using union
30612 also for [__USE_XOPEN_EXTENDED].
30613 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30614 [__USE_XOPEN_EXTENDED].
30615 (SA_RESTART): Likewise.
30616 (SA_NODEFER): Likewise.
30617 (SA_RESETHAND): Likewise.
30618 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30619 (struct sigaction): Define sa_handler and sa_sigaction using union
30620 also for [__USE_XOPEN_EXTENDED].
30621 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30622 [__USE_XOPEN_EXTENDED].
30623 (SA_RESTART): Likewise.
30624 (SA_NODEFER): Likewise.
30625 (SA_RESETHAND): Likewise.
30626 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30627 (struct sigaction): Define sa_handler and sa_sigaction using union
30628 also for [__USE_XOPEN_EXTENDED].
30629 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30630 [__USE_XOPEN_EXTENDED].
30631 (SA_RESTART): Likewise.
30632 (SA_NODEFER): Likewise.
30633 (SA_RESETHAND): Likewise.
30634 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30635 (struct sigaction): Define sa_handler and sa_sigaction using union
30636 also for [__USE_XOPEN_EXTENDED].
30637 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30638 [__USE_XOPEN_EXTENDED].
30639 (SA_RESTART): Likewise.
30640 (SA_NODEFER): Likewise. Define directly rather than as alias.
30641 (SA_RESETHAND): Likewise.
30642 (SA_INTERRUPT): Define only for [__USE_MISC].
30643 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30644 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30646 (SA_STACK): Define only for [__USE_MISC].
30647 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30648 (struct sigaction): Define sa_handler and sa_sigaction using union
30649 also for [__USE_XOPEN_EXTENDED].
30650 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30651 [__USE_XOPEN_EXTENDED].
30652 (SA_RESTART): Likewise.
30653 (SA_NODEFER): Likewise.
30654 (SA_RESETHAND): Likewise.
30655 (SA_NOPTRACE): Define only for [__USE_MISC].
30657 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30658 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30659 (struct catalog_info): Likewise.
30660 * inet/htontest.c (lo): Likewise.
30662 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30663 * inet/inet_net.c (inet_network): Likewise.
30664 * inet/inet_netof.c (inet_netof): Likewise.
30665 * inet/rcmd.c (__ivaliduser): Likewise.
30666 (iruserok): Likewise.
30667 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30668 * locale/programs/locale-spec.c (locale_special): Likewise.
30669 * nis/nis_findserv.c (struct findserv_req): Likewise.
30670 (__nis_findfastest_with_timeout): Likewise.
30671 * nss/test-netdb.c (test_network): Likewise.
30672 * resolv/inet_neta.c (inet_neta): Likewise.
30673 * resolv/ns_date.c (ns_datetosecs): Likewise.
30674 (SECS_PER_DAY): Likewise.
30675 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30677 * resolv/res_comp.c (__putlong): Likewise.
30678 (__putshort): Likewise.
30679 (_getlong): Likewise.
30680 (_getshort): Likewise.
30681 * resolv/res_debug.c (p_time): Likewise.
30682 (precsize_ntoa): Likewise.
30683 (precsize_aton): Likewise.
30684 (latlon2ul): Likewise.
30685 (loc_aton): Likewise.
30686 (loc_ntoa): Likewise.
30687 * resolv/res_hconf.c (struct netaddr): Likewise.
30688 (_res_hconf_reorder_addrs): Likewise.
30689 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30690 (clnttcp_control): Likewise.
30691 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30692 (clntudp_control): Likewise.
30693 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30694 (clntunix_control): Likewise.
30695 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30696 * sunrpc/rpc/auth.h (union des_block): Likewise.
30697 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30698 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30699 (xdrrec_create): Likewise.
30700 (xdrrec_endofrecord): Likewise.
30701 (flush_out): Likewise.
30702 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30703 (xdrstdio_putlong): Likewise.
30704 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30707 * misc/sys/cdefs.h (__long_double_t): Remove.
30708 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30709 instead of __long_double_t,
30710 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30712 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30714 * benchtests/scripts/compare_strings.py: Avoid display error when
30715 running on a text terminal.
30717 * benchtests/scripts/compare_strings.py (main): Add an
30718 optional -base option.
30719 (process_results): New argument base_func.
30721 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30723 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30724 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30726 2017-08-07 Andreas Schwab <schwab@suse.de>
30728 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30729 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30730 * intl/Makefile ($(objpfx)tst-gettext.out)
30731 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
30732 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
30733 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30734 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30735 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
30736 * posix/Makefile ($(objpfx)globtest.out)
30737 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
30738 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
30739 ($(objpfx)tst-printf.out): Likewise.
30740 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
30741 ($(objpfx)tst-setcontext3.out): Likewise.
30743 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
30745 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30746 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
30747 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
30748 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
30749 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
30751 (CFLAGS-doasin-fma.c): New.
30752 (CFLAGS-dosincos-fma.c): Likewise.
30753 (CFLAGS-e_asin-fma.c): Likewise.
30754 (CFLAGS-e_atan2-fma.c): Likewise.
30755 (CFLAGS-e_exp-fma.c): Likewise.
30756 (CFLAGS-e_log-fma.c): Likewise.
30757 (CFLAGS-e_pow-fma.c): Likewise.
30758 (CFLAGS-halfulp-fma.c): Likewise.
30759 (CFLAGS-mpa-fma.c): Likewise.
30760 (CFLAGS-mpatan-fma.c): Likewise.
30761 (CFLAGS-mpatan2-fma.c): Likewise.
30762 (CFLAGS-mpexp-fma.c): Likewise.
30763 (CFLAGS-mplog-fma.c): Likewise.
30764 (CFLAGS-mpsqrt-fma.c): Likewise.
30765 (CFLAGS-mptan-fma.c): Likewise.
30766 (CFLAGS-s_atan-fma.c): Likewise.
30767 (CFLAGS-sincos32-fma.c): Likewise.
30768 (CFLAGS-slowexp-fma.c): Likewise.
30769 (CFLAGS-slowpow-fma.c): Likewise.
30770 (CFLAGS-s_sin-fma.c): Likewise.
30771 (CFLAGS-s_tan-fma.c): Likewise.
30772 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
30773 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
30774 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
30775 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
30776 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
30777 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
30778 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
30779 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
30780 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
30781 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
30782 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
30783 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
30784 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
30785 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
30786 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
30787 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
30788 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
30789 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
30790 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
30791 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
30792 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
30793 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
30794 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
30795 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
30796 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30798 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30799 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30800 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30801 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30802 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30804 2017-08-04 Joseph Myers <joseph@codesourcery.com>
30806 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
30807 (min_of_type_f): New macro.
30808 (min_of_type_): Likewise.
30809 (min_of_type_l): Likewise.
30810 (min_of_type_f128): Likewise.
30811 (min_of_type): Define using __MATH_TG and taking an expression
30813 (math_check_force_underflow): Pass expression instead of type to
30815 (math_check_force_underflow_nonneg): Likewise.
30817 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30819 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30820 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
30821 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
30823 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30826 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
30827 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
30828 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
30829 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
30830 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
30831 memcpy_chk-nonshared, mempcpy_chk-nonshared,
30832 memmove_chk-nonshared and memset_chk-nonshared
30833 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
30834 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
30835 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
30836 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
30837 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
30838 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
30839 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
30840 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
30841 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
30842 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
30843 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
30844 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
30845 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
30846 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
30847 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
30848 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
30849 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
30850 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
30851 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
30852 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
30853 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
30854 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
30855 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
30856 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
30857 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
30858 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
30859 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
30860 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
30861 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
30862 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
30863 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
30864 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
30865 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
30866 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30867 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30868 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
30869 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
30870 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
30871 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
30872 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
30873 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
30874 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
30875 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
30876 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
30877 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
30878 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
30879 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
30880 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
30881 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
30882 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
30883 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
30884 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
30885 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
30886 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
30887 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
30888 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
30889 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
30890 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
30891 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
30892 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
30893 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
30894 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
30895 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
30896 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
30897 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
30898 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
30899 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
30900 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
30901 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
30902 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
30903 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
30904 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30905 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30906 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30907 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30908 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30909 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30910 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30911 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30912 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30913 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30914 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30915 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30916 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30917 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30918 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30919 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30920 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30921 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30922 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30923 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30924 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30925 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30926 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30927 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30928 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30929 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30930 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30931 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30932 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30933 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30934 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30935 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30936 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30937 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30938 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30939 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30940 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30942 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30944 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
30945 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
30946 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
30947 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
30948 svml_d_log2_core-sse2, svml_d_log4_core-sse,
30949 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
30950 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
30951 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
30952 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
30953 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
30954 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
30955 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
30956 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
30957 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
30958 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
30959 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
30960 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
30961 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
30962 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
30963 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
30964 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
30965 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
30966 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
30967 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
30968 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
30969 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
30970 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
30971 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
30972 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
30973 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
30974 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
30975 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
30976 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
30977 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
30978 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
30979 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
30980 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
30981 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
30982 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
30983 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
30984 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
30985 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
30986 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
30987 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
30988 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
30989 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
30990 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
30991 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
30992 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
30993 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
30994 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
30995 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
30996 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
30997 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
30998 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
30999 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31000 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31001 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31002 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31004 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31005 Don't include <sysdep.h> nor <init-arch.h>.
31006 (_ZGVbN2v_cos): Removed.
31007 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31009 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31010 Don't include <sysdep.h> nor <init-arch.h>.
31011 (_ZGVdN4v_cos): Removed.
31012 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31014 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31015 Don't include <sysdep.h> nor <init-arch.h>.
31016 (_ZGVeN8v_cos): Removed.
31017 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31019 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31020 Don't include <sysdep.h> nor <init-arch.h>.
31021 (_ZGVbN2v_exp): Removed.
31022 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31024 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31025 Don't include <sysdep.h> nor <init-arch.h>.
31026 (_ZGVdN4v_exp): Removed.
31027 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31029 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31030 Don't include <sysdep.h> nor <init-arch.h>.
31031 (_ZGVeN8v_exp): Removed.
31032 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31034 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31035 Don't include <sysdep.h> nor <init-arch.h>.
31036 (_ZGVbN2v_log): Removed.
31037 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31039 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31040 Don't include <sysdep.h> nor <init-arch.h>.
31041 (_ZGVdN4v_log): Removed.
31042 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31044 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31045 Don't include <sysdep.h> nor <init-arch.h>.
31046 (_ZGVeN8v_log): Removed.
31047 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31049 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31050 Don't include <sysdep.h> nor <init-arch.h>.
31051 (_ZGVbN2vv_pow): Removed.
31052 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31054 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31055 Don't include <sysdep.h> nor <init-arch.h>.
31056 (_ZGVdN4vv_pow): Removed.
31057 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31059 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31060 Don't include <sysdep.h> nor <init-arch.h>.
31061 (_ZGVeN8vv_pow): Removed.
31062 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31064 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31065 Don't include <sysdep.h> nor <init-arch.h>.
31066 (_ZGVbN2v_sin): Removed.
31067 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31069 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31070 Don't include <sysdep.h> nor <init-arch.h>.
31071 (_ZGVbN4v_sin): Removed.
31072 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31074 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31075 Don't include <sysdep.h> nor <init-arch.h>.
31076 (_ZGVbN8v_sin): Removed.
31077 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31079 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31080 Don't include <sysdep.h> nor <init-arch.h>.
31081 (_ZGVbN2vvv_sincos): Removed.
31082 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31084 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31085 Don't include <sysdep.h> nor <init-arch.h>.
31086 (_ZGVdN4vvv_sincos): Removed.
31087 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31089 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31090 Don't include <sysdep.h> nor <init-arch.h>.
31091 (_ZGVeN8vvv_sincos): Removed.
31092 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31094 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31095 Don't include <sysdep.h> nor <init-arch.h>.
31096 (_ZGVeN16v_cosf): Removed.
31097 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31099 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31100 Don't include <sysdep.h> nor <init-arch.h>.
31101 (_ZGVbN4v_cosf): Removed.
31102 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31104 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31105 Don't include <sysdep.h> nor <init-arch.h>.
31106 (_ZGVdN8v_cosf): Removed.
31107 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31109 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31110 Don't include <sysdep.h> nor <init-arch.h>.
31111 (_ZGVeN16v_expf): Removed.
31112 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31114 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31115 Don't include <sysdep.h> nor <init-arch.h>.
31116 (_ZGVbN4v_expf): Removed.
31117 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31119 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31120 Don't include <sysdep.h> nor <init-arch.h>.
31121 (_ZGVdN8v_expf): Removed.
31122 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31124 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31125 Don't include <sysdep.h> nor <init-arch.h>.
31126 (_ZGVeN16v_logf): Removed.
31127 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31129 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31130 Don't include <sysdep.h> nor <init-arch.h>.
31131 (_ZGVbN4v_logf): Removed.
31132 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31134 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31135 Don't include <sysdep.h> nor <init-arch.h>.
31136 (_ZGVdN8v_logf): Removed.
31137 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31139 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31140 Don't include <sysdep.h> nor <init-arch.h>.
31141 (_ZGVeN16vv_powf): Removed.
31142 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31144 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31145 Don't include <sysdep.h> nor <init-arch.h>.
31146 (_ZGVbN4vv_powf): Removed.
31147 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31149 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31150 Don't include <sysdep.h> nor <init-arch.h>.
31151 (_ZGVdN8vv_powf): Removed.
31152 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31154 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31155 Don't include <sysdep.h> nor <init-arch.h>.
31156 (_ZGVeN16vvv_sincosf): Removed.
31157 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31159 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31160 Don't include <sysdep.h> nor <init-arch.h>.
31161 (_ZGVbN4vvv_sincosf): Removed.
31162 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31164 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31165 Don't include <sysdep.h> nor <init-arch.h>.
31166 (_ZGVdN8vvv_sincosf): Removed.
31167 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31169 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31170 Don't include <sysdep.h> nor <init-arch.h>.
31171 (_ZGVeN16v_sinf): Removed.
31172 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31174 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31175 Don't include <sysdep.h> nor <init-arch.h>.
31176 (_ZGVbN4v_sinf): Removed.
31177 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31179 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31180 Don't include <sysdep.h> nor <init-arch.h>.
31181 (_ZGVdN8v_sinf): Removed.
31183 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31185 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31186 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31187 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31188 s_rint-sse4_1 and s_rintf-sse4_1.
31189 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31190 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31191 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31192 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31193 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31194 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31195 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31196 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31197 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31198 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31199 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31200 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31202 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31203 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31204 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31205 (__ceilf): Removed.
31206 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31207 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31208 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31209 (__floor): Removed.
31210 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31211 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31212 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31213 (__floorf): Removed.
31214 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31215 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31216 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31217 (__nearbyint): Removed.
31218 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31219 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31220 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31221 (__nearbyintf): Removed.
31222 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31223 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31224 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31226 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31227 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31228 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31229 (__rintf): Removed.
31231 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31233 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31234 SHARED. Avoid dynamic relocation against main in static PIE.
31236 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31239 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31240 (LDFLAGS-tst-prelink): Likewise.
31242 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31244 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31245 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31246 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31247 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31248 (INTERNAL_SYSCALL_NCS): Likewise.
31249 (LOADARGS_1): Likewise.
31250 (LOADARGS_5): Likewise.
31251 (RESTOREARGS_1): Likewise.
31252 (RESTOREARGS_5): Likewise.
31254 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31256 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31257 (MEMPCPY_SYMBOL): Likewise.
31258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31259 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31260 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31262 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31263 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31265 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31266 (__hidden_ver1): Don't use in libc.a.
31267 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31268 (__mempcpy): Don't create a weak alias in libc.a.
31269 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31271 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31272 (__hidden_ver1): Don't use in libc.a.
31274 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31276 * config.make.in (have-insert): New.
31277 * configure.ac (libc_cv_insert): New. Set to yes if linker
31278 supports INSERT in linker script.
31279 (AC_SUBST(libc_cv_insert): New.
31280 * configure: Regenerated.
31281 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31282 if $(have-insert) == yes.
31284 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31286 * elf/Makefile (tests): Add vismain only if
31287 $(have-protected-data) == yes.
31288 (tests-pie): Likewise.
31290 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31293 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31294 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31296 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31299 * sysdeps/i386/i586/memset.S
31300 (__memset_zero_constant_len_parameter): Removed.
31301 * sysdeps/i386/i686/memset.S
31302 (__memset_zero_constant_len_parameter): Likewise.
31303 * sysdeps/i386/i686/multiarch/memset_chk.S
31304 (__memset_zero_constant_len_parameter): Likewise.
31305 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31308 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31310 * stdlib/getentropy.c (getentropy): Change return type to int.
31312 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31314 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31316 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31318 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31320 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31321 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31323 (ieee_float_shape_type): Likewise.
31324 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31325 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31326 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31327 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31328 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31329 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31330 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31331 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31332 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31334 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31335 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31336 (__ieee754_yn): Likewise.
31337 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31338 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31339 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31341 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31342 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31343 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31344 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31345 (__erfc): Likewise.
31346 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31347 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31348 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31349 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31350 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31351 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31353 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31354 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31355 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31356 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31357 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31358 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31359 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31360 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31361 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31362 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31363 (__issignaling): Likewise.
31364 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31365 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31366 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31368 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31369 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31370 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31371 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31373 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31375 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31376 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31377 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31378 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31379 (__erfcf): Likewise.
31380 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31381 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31382 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31383 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31385 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31386 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31388 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31389 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31390 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31391 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31392 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31393 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31394 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31395 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31397 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31399 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31401 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31402 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31404 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31406 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31407 (__ieee754_ynl): Likewise.
31408 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31409 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31411 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31413 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31414 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31415 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31417 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31418 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31419 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31420 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31421 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31422 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31423 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31424 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31426 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31427 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31428 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31430 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31431 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31432 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31433 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31434 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31435 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31437 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31439 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31441 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31443 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31444 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31445 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31446 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31447 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31448 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31449 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31451 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31453 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31454 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31456 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31457 (__ieee754_remainderl): Likewise.
31458 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31459 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31460 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31461 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31463 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31464 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31466 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31467 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31468 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31469 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31470 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31471 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31473 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31474 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31475 (__ieee754_y0l): Likewise.
31478 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31479 (__ieee754_y1l): Likewise.
31482 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31483 (__ieee754_ynl): Likewise.
31484 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31485 (__ieee754_lgammal_r): Likewise.
31486 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31488 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31489 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31490 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31491 (__erfcl): Likewise.
31492 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31493 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31495 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31496 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31497 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31498 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31499 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31500 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31501 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31503 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31504 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31505 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31506 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31507 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31509 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31510 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31512 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31513 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31514 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31515 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31516 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31518 2017-08-03 Florian Weimer <fweimer@redhat.com>
31521 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31522 on memory allocation failure.
31524 2017-08-03 Alan Modra <amodra@gmail.com>
31526 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31527 tst-tlsopt-powerpc.c with function name change and no test harness.
31528 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31529 Call tls_get_addr_opt_test.
31530 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31531 (modules-names): Add mod-tlsopt-powerpc.
31532 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31533 (tst-tlsopt-powerpc): Depend on .so.
31534 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31535 define. Expand use in TLS_GD and TLS_LD.
31537 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31539 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31541 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31543 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31546 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31547 comparing size with that of double.
31548 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31549 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31550 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31551 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31552 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31553 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31554 unsigned __int128 types.
31556 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31558 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31559 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31560 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31561 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31562 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31564 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31566 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31568 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31570 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31572 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31573 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31574 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31575 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31576 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31577 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31578 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31580 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31583 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31584 bit-field expressions passed to sizeof or typeof.
31585 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31586 (__TGMATH_F128): Likewise.
31587 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31588 (__TGMATH_CF128): Likewise.
31589 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31590 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31591 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31592 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31593 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31594 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31595 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31596 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31597 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31598 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31599 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31600 (__TGMATH_UNARY_IMAG): Likewise.
31601 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31602 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31603 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31605 (define_vars_for_type): Handle bit_field type specially.
31606 (Tests.__init__): Declare structure with bit-field element.
31608 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31611 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31612 (MEMCPY_CHK): Define only if SHARED is defined.
31613 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31615 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31618 See ChangeLog.18 for earlier changes.