1 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
4 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
9 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
11 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
13 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
15 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
16 syscall-template file.
18 2019-01-31 Carlos O'Donell <carlos@redhat.com>
19 Torvald Riegel <triegel@redhat.com>
20 Rik Prohaska <prohaska7@gmail.com>
23 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
24 tst-rwlock-trywrlock-stall.
25 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
27 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
28 Set __wrphase_fute to 1 only if we started the write phase.
29 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
30 * nptl/tst-rwlock-trywrlock-stall.c: New file.
31 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
32 * support/xpthread_rwlock_destroy.c: New file.
33 * support/xthread.h: Declare xpthread_rwlock_destroy.
35 2019-02-01 Joseph Myers <joseph@codesourcery.com>
37 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
40 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
44 * libio/fileops.c (_IO_new_file_underflow): Likewise
45 * libio/wfileops.c (_IO_wfile_underflow): Likewise
46 * libio/putchar.c (putchar): Likewise.
47 * libio/putchar_u.c (putchar_unlocked): Likewise.
48 * libio/putwchar.c (putchar): Likewise.
49 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
50 * libio/tst-bz24051.c: New test.
51 * libio/Makefile (tests): Add tst-bz24051
53 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
55 regex: fix read overrun [BZ #24114]
56 Problem found by AddressSanitizer, reported by Hongxu Chen in:
57 https://debbugs.gnu.org/34140
58 * posix/regexec.c (proceed_next_node):
59 Do not read past end of input buffer.
61 2019-01-31 Florian Weimer <fweimer@redhat.com>
64 * nss/nss_files/files-alias.c (get_next_alias): Handle
65 continuation line without newline at the end.
66 * nss/tst-nss-files-alias-truncated.c: New file.
67 * nss/Makefile [$(build-shared)] (tests): Add
68 tst-nss-files-alias-truncated.
69 (tst-nss-files-alias-truncated): Link with libnss_files.so.
70 * support/namespace.h (struct support_chroot_configuration): Add
72 (struct support_chroot): Add path_aliases member.
73 * support/support_chroot.c (support_chroot_create): Handle
75 (support_chroot_free): Free path_aliases.
77 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
79 * version.h (RELEASE): Set to "development".
80 (VERSION): Set to "2.29.9000".
81 * NEWS: Add section for 2.30.
83 * version.h (RELEASE): Set to "stable".
84 (VERSION): Set to "2.29".
85 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
87 * NEWS: Add the list of bugs fixed in 2.29.
88 * manual/contrib.texi: Update contributors list with some more
90 * manual/install.texi: Update latest versions of packages
92 * INSTALL: Regenerated.
94 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
96 * po/be.po: Update translations.
100 * po/da.po: Likewise.
101 * po/de.po: Likewise.
102 * po/el.po: Likewise.
103 * po/eo.po: Likewise.
104 * po/es.po: Likewise.
105 * po/fi.po: Likewise.
106 * po/fr.po: Likewise.
107 * po/gl.po: Likewise.
108 * po/hr.po: Likewise.
109 * po/hu.po: Likewise.
110 * po/ia.po: Likewise.
111 * po/id.po: Likewise.
112 * po/it.po: Likewise.
113 * po/ja.po: Likewise.
114 * po/ko.po: Likewise.
115 * po/lt.po: Likewise.
116 * po/nb.po: Likewise.
117 * po/nl.po: Likewise.
118 * po/pl.po: Likewise.
119 * po/pt_BR.po: Likewise.
120 * po/ru.po: Likewise.
121 * po/rw.po: Likewise.
122 * po/sk.po: Likewise.
123 * po/sl.po: Likewise.
124 * po/sv.po: Likewise.
125 * po/tr.po: Likewise.
126 * po/uk.po: Likewise.
127 * po/vi.po: Likewise.
128 * po/zh_CN.po: Likewise.
129 * po/zh_TW.po: Likewise.
131 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
134 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
135 of $f3 register on $y_is_neg path.
137 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
140 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
141 sigaltstack.ss_flags.
143 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
146 * manual/time.texi (strftime): Document "%Ey".
147 * time/strftime_l.c (__strftime_internal): Set the default width
148 padding with zero of "%Ey" to 2.
151 * manual/time.texi (strftime): Document "%EC" and "%EY".
152 * time/Makefile (tests): Add tst-strftime2.
153 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
154 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
155 override padding for "%Ey".
156 If an optional flag ('_' or '-') is specified to "%EY", interpret the
157 "%Ey" in the subformat as if decorated with that flag.
158 * time/tst-strftime2.c: New file.
160 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
162 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
166 * elf/Makefile (tests): Add tst-audit13.
167 (modules-names): Add tst-audit13mod1.
168 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
170 * elf/rtld.c (dl_main): Handle invalid audit module version.
171 * elf/tst-audit13.c: New file.
172 * elf/tst-audit13mod1.c: Likewise.
174 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
176 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
177 returned by __hurd_at_flags.
178 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
179 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
180 directly instead of __hurd_file_name_lookup.
182 2019-01-21 Joseph Myers <joseph@codesourcery.com>
184 * scripts/build-many-glibcs.py (Context.checkout): Default
185 binutils version to 2.32 branch.
187 2019-01-21 Florian Weimer <fweimer@redhat.com>
191 resolv: Reject trailing characters in host names
192 * include/arpa/inet.h (__inet_aton_exact): Declare.
193 (inet_aton): Remove hidden prototype. No longer used internally.
194 * nscd/gai.c (__inet_aton): Do not define.
195 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
196 * nss/digits_dots.c (__inet_aton): Likewise.
197 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
198 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
199 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
200 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
201 (tst-resolv-trailing): Likewise.
202 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
204 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
205 Make static. Add endp parameter.
206 (__inet_aton_exact): New function.
207 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
208 (__inet_addr): Call inet_aton_end.
209 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
210 not just IPv6. Call __inet_aton_exact.
211 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
212 (tests): Make const. Add additional test cases with trailing
214 (do_test): Use array_length.
215 * resolv/tst-inet_aton_exact.c: New file.
216 * resolv/tst-resolv-trailing.c: Likewise.
217 * resolv/tst-resolv-nondecimal.c: Likewise.
218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
220 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
224 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
225 Clear the upper 32 bits of RSI register.
226 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
227 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
228 and tst-size_t-wcsnlen.
229 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
230 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
232 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
236 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
237 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
238 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
239 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
240 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
242 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
246 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
247 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
248 * sysdeps/x86_64/strcmp.S: Likewise.
249 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
250 tst-size_t-strncmp and tst-size_t-wcsncmp.
251 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
252 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
253 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
255 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
259 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
260 RDX_LP for length. Clear the upper 32 bits of RDX register.
261 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
262 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
263 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
264 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
266 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
270 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
271 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
272 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
273 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
275 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
279 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
280 length. Clear the upper 32 bits of RDX register.
281 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
282 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
284 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
286 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
288 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
290 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
294 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
295 length. Clear the upper 32 bits of RDX register.
296 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
297 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
298 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
300 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
301 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
303 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
307 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
308 upper 32 bits of RDX register.
309 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
310 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
312 * sysdeps/x86_64/x32/test-size_t.h: New file.
313 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
314 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
316 2019-01-18 Florian Weimer <fweimer@redhat.com>
319 resolv: Do not send queries for non-host-names in nss_dns.
320 * resolv/nss_dns/dns-host.c (check_name): New function.
321 (_nss_dns_gethostbyname2_r): Use it.
322 (_nss_dns_gethostbyname_r): Likewise.
323 (_nss_dns_gethostbyname4_r): Likewise.
325 2019-01-21 Florian Weimer <fweimer@redhat.com>
327 * resolv/inet_addr.c: Reformat to GNU style.
328 (__inet_addr, __inet_aton): Update comment.
330 2019-01-18 Florian Weimer <fweimer@redhat.com>
332 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
333 ("malloc: Use current (C11-style) atomics for fastbin access").
334 This commit introduces a substantial performance regression on
336 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
338 (_int_malloc): Use it and reindent.
339 (_int_free): Use CAS loop with
340 catomic_compare_and_exchange_val_rel.
341 (malloc_consolidate): Use atomic_exchange_acq.
344 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
346 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
348 (LDFLAGS-tst-minsigstksz-2): Likewise.
349 (LDFLAGS-tst-minsigstksz-3): Likewise.
350 (LDFLAGS-tst-minsigstksz-3a): Likewise.
351 (LDFLAGS-tst-minsigstksz-4): Likewise.
353 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
355 * manual/time.texi (strftime): Fix the wording to "alternative" rather
358 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
360 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
362 2019-01-16 Zack Weinberg <zackw@panix.com>
364 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
365 (xget_sigstack_location): New test support functions.
366 * support/xsigstack.c: New file, implementing them.
367 * support/tst-xsigstack.c: New test for them.
368 * support/Makefile: Update.
370 * signal/tst-minsigstksz-1.c
371 * signal/tst-minsigstksz-2.c
372 * signal/tst-minsigstksz-3.c
373 * signal/tst-minsigstksz-3a.c
374 * signal/tst-minsigstksz-4.c: New tests.
375 * signal/Makefile: Run them.
377 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
379 * po/libc.pot: Regenerate.
381 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
383 * math/libm-test-fma.inc (fma_test_data): Set
384 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
386 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
388 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
389 (do_test): Changed __vector __int128_t to __vector unsigned int.
391 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
394 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
395 stpcpy-avx2 and stpncpy-avx2.
396 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
397 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
398 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
400 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
401 ifunc-strcpy.h}: rename header for a more generic name.
402 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
403 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
404 AVX unaligned load is fast and vzeroupper is preferred.
405 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
406 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
407 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
408 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
409 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
410 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
412 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
414 * argp/argp-help.c: Fix typo in comment.
415 * misc/sys/cdefs.h: Likewise.
416 * posix/regexec.c (sift_states_iter_mb): Likewise.
417 * socket/sockatmark.c: Likewise.
418 * socket/sys/socket.h: Likewise.
419 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
420 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
421 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
422 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
423 * sysdeps/unix/sockatmark.c: Likewise.
424 * time/strptime_l.c: Likewise.
426 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
428 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
429 missing space after the cast of "_NL_CURRENT".
431 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
433 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
434 ifdef to fix read of VSCR.
435 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
436 tst-ucontext-ppc64-vscr.c to test list.
437 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
439 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
441 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
444 2019-01-09 Jim Wilson <jimw@sifive.com>
446 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
448 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
450 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
451 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
452 __memcpy_falkor for ares.
453 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
455 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
458 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
461 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
462 4_FP_W_TYPEs are used for IEEE quad precision.
463 * soft-fp/extendhftf2.c: Likewise.
464 * soft-fp/extendsftf2.c: Likewise.
465 * soft-fp/extendxftf2.c: Likewise.
466 * soft-fp/trunctfdf2.c: Likewise.
467 * soft-fp/trunctfhf2.c: Likewise.
468 * soft-fp/trunctfsf2.c: Likewise.
469 * soft-fp/trunctfxf2.c: Likewise.
470 * sysdeps/alpha/ots_cvttx.c: Likewise.
471 * sysdeps/alpha/ots_cvtxt.c: Likewise.
472 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
473 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
474 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
475 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
476 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
477 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
478 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
479 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
480 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
481 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
482 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
483 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
484 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
485 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
486 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
487 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
489 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
492 * Makeconfig: Build libm with -fno-math-errno but build the remaining
493 code with -fmath-errno.
494 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
495 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
496 * string/test-strerror-errno.c: New file.
498 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
501 * localedata/locales/en_US (date_fmt): Add, set to
504 2019-01-07 Florian Weimer <fweimer@redhat.com>
507 * manual/arith.texi (Math Error Reporting): Use @code{errno}
508 instead of @var{errno}.
509 (Parsing of Integers): Likewise.
510 (Parsing of Floats): Likewise.
511 * manual/filesys.texi (Working with Directory Trees): Likewise.
512 (Temporary Files): Likewise.
513 * manual/job.texi (Terminal Access Functions): Likewise.
514 * manual/llio.texi (Synchronizing I/O): Likewise.
515 * manual/math.texi (SVID Random): Likewise.
516 * manual/message.texi (The catgets Functions): Likewise.
517 (Translation with gettext): Likewise.
518 (Locating gettext catalog): Likewise.
519 (Charset conversion in gettext): Likewise.
520 * manual/nss.texi (NSS Module Function Internals): Likewise.
521 * manual/search.texi (Hash Search Function): Likewise.
522 * manual/setjmp.texi (System V contexts): Likewise.
523 * manual/time.texi (Sleeping): Likewise.
524 * manual/users.texi (Lookup User): Likewise.
525 (Lookup Group): Likewise.
527 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
529 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
532 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
535 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
536 __builtin_unreachable for default case in switch.
537 (__ieee754_yn): Likewise.
538 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
539 (__ieee754_ynl): Likewise.
540 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
541 (__ieee754_ynl): Likewise.
542 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
543 (__ieee754_ynl): Likewise.
545 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
547 * manual/maint.texi: Use @{ and @}.
549 2019-01-04 Florian Weimer <fweimer@redhat.com>
551 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
553 (do_in_chroot_1): Call it.
555 Improve error reporting in case it is not possible to create a
556 collision for the PTY name required by the test.
558 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
560 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
561 lll_wait_tid with timeout.
562 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
563 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
564 futex_reltimed_wait_cancelable for cancelabla mode.
565 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
566 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
568 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
569 * sysdeps/posix/waitid.c (__sigwait): Likewise.
570 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
571 SYSCALL_CANCEL_NCS): New macro.
572 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
573 (lll_timedwait_tid): Remove macro.
574 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
576 (lll_timedwait_tid): Likewise.
577 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
579 (lll_timedwait_tid): Likewise.
580 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
582 (lll_timedwait_tid): Likewise.
583 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
584 Use INTERNAL_SYSCALL_CANCEL.
585 * sysdeps/unix/sysv/linux/futex-internal.h
586 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
587 instead of __pthread_{enable,disable}_asynccancel.
588 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
589 (lll_futex_wait_cancel): New macro.
591 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
592 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
594 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
595 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
597 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
598 in backtrace analysis.
599 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
603 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
604 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
605 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
606 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
607 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
608 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
609 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
610 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
611 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
612 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
613 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
614 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
616 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
617 tst-cancel-wrappers.sh.
618 (generated): Remove tst-cancel-wrappers.out.
619 (tst-cancel-wrappers.out): Remove rule.
620 * nptl/tst-cancel-wrappers.sh: Remove file.
622 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
624 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
625 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
628 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
631 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
632 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
633 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
634 close-on-exec reset for adddup2 file action.
635 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
637 2019-01-03 Zack Weinberg <zackw@panix.com>
639 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
640 parameter. Only use deprecated scanf when __USE_GNU is defined
641 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
642 than 201103L, whichever is relevant for the language being compiled.
644 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
645 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
646 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
647 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
648 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
657 * stdio-common/fscanf.c
658 * stdio-common/scanf.c
659 * stdio-common/vfscanf.c
660 * stdio-common/vfwscanf.c
661 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
662 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
663 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
664 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
665 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
666 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
667 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
668 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
669 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
670 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
671 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
672 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
673 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
674 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
675 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
677 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
678 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
679 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
681 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
682 with a preprocessor macro.
684 * stdio-common/bug21.c, stdio-common/scanf14.c:
685 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
686 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
687 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
688 to xscanf, xfscanf, xsscanf.
690 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
691 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
692 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
693 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
695 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
696 override feature selection macros or provide definitions of u_char etc.
697 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
698 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
699 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
702 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
706 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
707 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
708 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
709 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
710 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
711 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
713 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
714 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
715 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
716 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
717 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
718 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
720 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
721 (sysdep_headers): Add termios-misc.h.
723 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
724 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
725 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
730 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
731 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
732 TCSAFLUSH): Move to termios-tcflow.h.
733 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
734 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
736 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
740 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
741 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
742 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
743 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
744 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
745 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
746 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
747 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
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/Makefile (sysdep_headers): Add
756 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
757 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
758 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
759 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
760 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
762 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
763 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
764 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
765 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
770 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
771 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
772 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
773 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
774 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
775 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
776 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
777 __MAX_BAUD): Move to termios-baud.h.
778 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
779 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
780 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
781 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
782 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
784 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
786 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
787 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
788 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
789 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
790 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
791 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
793 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
794 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
796 [USE_MISC] (XTABS): Likewise.
797 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
798 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
799 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
800 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
802 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
804 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
805 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
806 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
807 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
808 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
809 IUTF8): Move to termios-c_iflag.h.
810 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
811 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
812 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
813 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
815 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
817 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
818 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
819 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
820 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
821 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
822 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
823 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
824 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
825 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
826 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
827 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
828 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
830 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
831 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
832 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
833 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
836 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
838 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
840 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
842 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
844 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
846 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
847 _HAVE_C_OSPEED): Define.
848 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
849 _HAVE_C_OSPEED): Likewise.
850 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
851 _HAVE_C_OSPEED): Likewise.
852 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
853 (cfsetospeed): Check for define value instead of existence.
854 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
855 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
856 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
857 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
858 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
861 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
863 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
864 (TIOCSER_TEMT): Likewise.
865 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
866 (TEOCSER_TEMT): Likewise.
868 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
871 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
873 2019-01-02 Joseph Myers <joseph@codesourcery.com>
875 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
877 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
879 * sysdeps/htl/pt-barrierattr-setpshared.c
880 (pthread_barrierattr_setpshared): Add stub warning.
881 * sysdeps/htl/pt-condattr-setpshared.c
882 (pthread_condattr_setpshared): Likewise.
883 * sysdeps/htl/pt-mutexattr-setpshared.c
884 (pthread_mutexattr_setpshared): Likewise.
885 * sysdeps/htl/pt-rwlockattr-setpshared.c
886 (pthread_rwlockattr_setpshared): Likewise.
887 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
888 (pthread_mutexattr_setpshared): Likewise.
890 2019-01-02 Joseph Myers <joseph@codesourcery.com>
892 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
893 constants to match with Linux 4.20.
895 * sysdeps/mips/mips32/libm-test-ulps: Update.
896 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
898 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
901 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
902 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
903 than __typeof (...) for the a_ptr variable.
905 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
907 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
908 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
909 * libio/Makefile (tests): Add tst-sprintf-ub and
911 (CFLAGS-tst-sprintf-ub.c): New variable.
912 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
913 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
914 destination buffer and check for overflows in fortified mode.
915 * libio/libioP.h (PRINTF_CHK): New macro.
916 * libio/tst-sprintf-chk-ub.c: New file.
917 * libio/tst-sprintf-ub.c: Likewise.
919 2019-01-02 Florian Weimer <fweimer@redhat.com>
922 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
925 2019-01-02 Florian Weimer <fweimer@redhat.com>
927 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
929 2019-01-01 Joseph Myers <joseph@codesourcery.com>
931 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
934 * sysdeps/unix/sysv/linux/netpacket/packet.h
935 (PACKET_IGNORE_OUTGOING): New macro.
937 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
940 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
942 (riscv_flush_icache): New syscall.
944 * manual/texinfo.tex: Update to version 2018-12-28.17 with
945 trailing whitespace removed.
946 * scripts/config.guess: Update to version 2019-01-01.
947 * scripts/config.sub: Update to version 2019-01-01.
948 * scripts/move-if-change: Update from gnulib.
950 * NEWS: Update copyright dates.
951 * catgets/gencat.c (print_version): Likewise.
952 * csu/version.c (banner): Likewise.
953 * debug/catchsegv.sh: Likewise.
954 * debug/pcprofiledump.c (print_version): Likewise.
955 * debug/xtrace.sh (do_version): Likewise.
956 * elf/ldconfig.c (print_version): Likewise.
957 * elf/ldd.bash.in: Likewise.
958 * elf/pldd.c (print_version): Likewise.
959 * elf/sotruss.sh: Likewise.
960 * elf/sprof.c (print_version): Likewise.
961 * iconv/iconv_prog.c (print_version): Likewise.
962 * iconv/iconvconfig.c (print_version): Likewise.
963 * locale/programs/locale.c (print_version): Likewise.
964 * locale/programs/localedef.c (print_version): Likewise.
965 * login/programs/pt_chown.c (print_version): Likewise.
966 * malloc/memusage.sh (do_version): Likewise.
967 * malloc/memusagestat.c (print_version): Likewise.
968 * malloc/mtrace.pl: Likewise.
969 * manual/libc.texinfo: Likewise.
970 * nptl/version.c (banner): Likewise.
971 * nscd/nscd.c (print_version): Likewise.
972 * nss/getent.c (print_version): Likewise.
973 * nss/makedb.c (print_version): Likewise.
974 * posix/getconf.c (main): Likewise.
975 * scripts/test-installation.pl: Likewise.
976 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
978 * All files with FSF copyright notices: Update copyright dates
979 using scripts/update-copyrights.
980 * locale/programs/charmap-kw.h: Regenerated.
981 * locale/programs/locfile-kw.h: Likewise.
983 2018-12-31 Joseph Myers <joseph@codesourcery.com>
985 * timezone/zdump.c: Update from tzcode 2018i.
986 * timezone/zic.c: Likewise.
988 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
990 regex: improve Gnulib port to AIX
991 From the glibc point of view, this removes duplicate macro
992 definitions and is obviously safe.
993 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
994 * posix/regex_internal.h:
995 (__attribute__, __attribute_warn_unused_result__):
996 Remove; already defined elsewhere.
998 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1001 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1002 copying operation. (ncopies had the wrong type, resulting in an
1003 integer wraparound and too few elements being copied.)
1005 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1008 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1009 <asm/syscalls.h> exists with __has_include__ before including it.
1011 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1013 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1016 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1018 * hurd/lookup-retry: Include <unistd.h>.
1019 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1020 Release it on return. Handle "pid" magical lookup retry.
1022 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1025 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1026 (t_fmt_ampm): Likewise.
1027 * localedata/locales/aa_ER (t_fmt): Likewise.
1028 (t_fmt_ampm): Likewise.
1029 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1030 (t_fmt_ampm): Likewise.
1031 * localedata/locales/aa_ET (t_fmt): Likewise.
1032 (t_fmt_ampm): Likewise.
1033 * localedata/locales/am_ET (t_fmt): Likewise.
1034 (t_fmt_ampm): Likewise.
1035 * localedata/locales/byn_ER (t_fmt): Likewise.
1036 (t_fmt_ampm): Likewise.
1037 * localedata/locales/om_ET (t_fmt): Likewise.
1038 (t_fmt_ampm): Likewise.
1039 * localedata/locales/sid_ET (t_fmt): Likewise.
1040 (t_fmt_ampm): Likewise.
1041 * localedata/locales/so_DJ (t_fmt): Likewise.
1042 (t_fmt_ampm): Likewise.
1043 * localedata/locales/so_ET (t_fmt): Likewise.
1044 (t_fmt_ampm): Likewise.
1045 * localedata/locales/so_SO (t_fmt): Likewise.
1046 (t_fmt_ampm): Likewise.
1047 * localedata/locales/ti_ER (t_fmt): Likewise.
1048 (t_fmt_ampm): Likewise.
1049 * localedata/locales/ti_ET (t_fmt): Likewise.
1050 (t_fmt_ampm): Likewise.
1051 * localedata/locales/tig_ER (t_fmt): Likewise.
1052 (t_fmt_ampm): Likewise.
1053 * localedata/locales/wal_ET (t_fmt): Likewise.
1054 (t_fmt_ampm): Likewise.
1056 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1057 * localedata/locales/ar_IN (t_fmt): Likewise.
1058 * localedata/locales/bhb_IN (t_fmt): Likewise.
1059 * localedata/locales/bho_IN (t_fmt): Likewise.
1060 * localedata/locales/bi_VU (t_fmt): Likewise.
1061 * localedata/locales/bn_BD (t_fmt): Likewise.
1062 * localedata/locales/bn_IN (t_fmt): Likewise.
1063 * localedata/locales/brx_IN (t_fmt): Likewise.
1064 * localedata/locales/doi_IN (t_fmt): Likewise.
1065 * localedata/locales/en_HK (t_fmt): Likewise.
1066 (t_fmt_ampm): Likewise.
1067 * localedata/locales/en_IN (t_fmt): Likewise.
1068 * localedata/locales/en_PH (t_fmt): Likewise.
1069 * localedata/locales/gu_IN (t_fmt): Likewise.
1070 * localedata/locales/hi_IN (t_fmt): Likewise.
1071 * localedata/locales/hif_FJ (t_fmt): Likewise.
1072 * localedata/locales/hne_IN (t_fmt): Likewise.
1073 * localedata/locales/kn_IN (t_fmt): Likewise.
1074 * localedata/locales/kok_IN (t_fmt): Likewise.
1075 * localedata/locales/ks_IN (t_fmt): Likewise.
1076 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1077 * localedata/locales/mag_IN (t_fmt): Likewise.
1078 * localedata/locales/mai_IN (t_fmt): Likewise.
1079 * localedata/locales/mjw_IN (t_fmt): Likewise.
1080 * localedata/locales/ml_IN (t_fmt): Likewise.
1081 * localedata/locales/mni_IN (t_fmt): Likewise.
1082 * localedata/locales/mr_IN (t_fmt): Likewise.
1083 * localedata/locales/ms_MY (t_fmt): Likewise.
1084 * localedata/locales/pa_IN (t_fmt): Likewise.
1085 * localedata/locales/raj_IN (t_fmt): Likewise.
1086 * localedata/locales/sa_IN (t_fmt): Likewise.
1087 * localedata/locales/sat_IN (t_fmt): Likewise.
1088 * localedata/locales/sd_IN (t_fmt): Likewise.
1089 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1090 * localedata/locales/tcy_IN (t_fmt): Likewise.
1091 * localedata/locales/the_NP (t_fmt): Likewise.
1092 * localedata/locales/to_TO (t_fmt): Likewise.
1093 * localedata/locales/ur_IN (t_fmt): Likewise.
1095 * localedata/locales/hif_FJ (d_t_fmt): Set to
1096 "%A %d %b %Y %I:%M:%S %p".
1097 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1099 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1100 * localedata/locales/ar_BH (t_fmt): Likewise.
1101 * localedata/locales/ar_DZ (t_fmt): Likewise.
1102 * localedata/locales/ar_EG (t_fmt): Likewise.
1103 * localedata/locales/ar_IQ (t_fmt): Likewise.
1104 * localedata/locales/ar_JO (t_fmt): Likewise.
1105 * localedata/locales/ar_KW (t_fmt): Likewise.
1106 * localedata/locales/ar_LB (t_fmt): Likewise.
1107 * localedata/locales/ar_LY (t_fmt): Likewise.
1108 * localedata/locales/ar_OM (t_fmt): Likewise.
1109 * localedata/locales/ar_QA (t_fmt): Likewise.
1110 * localedata/locales/ar_SD (t_fmt): Likewise.
1111 * localedata/locales/ar_SS (t_fmt): Likewise.
1112 * localedata/locales/ar_SY (t_fmt): Likewise.
1113 * localedata/locales/ar_TN (t_fmt): Likewise.
1114 * localedata/locales/ar_YE (t_fmt): Likewise.
1116 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1117 (t_fmt_ampm): Likewise.
1118 * localedata/locales/gez_ET (t_fmt): Likewise.
1119 (t_fmt_ampm): Likewise.
1121 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1122 (t_fmt_ampm): Likewise.
1123 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1125 * localedata/locales/zh_HK (t_fmt):
1126 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1128 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1129 because this locale does not use the 12-hour clock.
1130 (t_fmt): Set to "%Z %H:%M:%S".
1131 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1133 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1134 because this locale does not use the 12-hour clock.
1135 (t_fmt): Set to "%H:%M:%S %Z".
1136 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1138 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1139 because this locale does not use the 12-hour clock.
1140 (t_fmt): Set to "%T".
1141 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1142 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1144 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1145 because this locale does not use the 12-hour clock.
1146 (t_fmt): Set to "%H:%M:%S %Z".
1147 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1149 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1150 because this locale does not use the 12-hour clock.
1151 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1152 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1154 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1158 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1159 (t_fmt_ampm): Likewise.
1160 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1161 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1162 (d_fmt): Set to "%-d.%-m.%y".
1164 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1166 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1167 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1168 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1170 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1171 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1172 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1174 * support/blob_repeat.c (check_mul_overflow_size_t,
1175 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1177 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1179 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1181 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1183 regex: simplify Gnulib port
1184 This simplifies the code, by removing stuff intended for porting
1185 to Gnulib but no longer needed there.
1186 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1187 uses of libc_hidden_def, weak_alias.
1188 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1189 _Restrict_ except for public-facing headers.
1190 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1191 Remove; already defined elsewhere.
1192 * posix/regex.c, posix/regex_internal.h:
1193 Use __GNUC_PREREQ instead of rolling our own.
1194 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1196 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1198 * benchtests/bench-strlen.c (generic_strlen): New function.
1199 (memchr_strlen): New function.
1201 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1203 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1204 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1205 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1207 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1209 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1211 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1213 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1214 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1215 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1216 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1217 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1218 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1219 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1221 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1224 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1225 PLT reference in libc.so.
1226 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1227 _Q_lltoq and _Q_qtod PLT references in libc.so.
1229 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1231 * benchtests/bench-memchr.c: Cleanup defines.
1232 * benchtests/bench-memcmp.c: Likewise.
1233 * benchtests/bench-memset.c: Likewise.
1234 * benchtests/bench-memset-large.c: Likewise.
1235 * benchtests/bench-memset-walk.c: Likewise.
1236 * benchtests/bench-stpcpy.c: Likewise.
1237 * benchtests/bench-stpncpy.c: Likewise.
1238 * benchtests/bench-strcat.c: Likewise.
1239 * benchtests/bench-strchr.c: Likewise.
1240 * benchtests/bench-strcmp.c: Likewise.
1241 * benchtests/bench-strcpy.c: Likewise.
1242 * benchtests/bench-strcspn.c: Likewise.
1243 * benchtests/bench-string.h: Likewise.
1244 * benchtests/bench-strlen.c: Likewise.
1245 * benchtests/bench-strncat.c: Likewise.
1246 * benchtests/bench-strncmp.c: Likewise.
1247 * benchtests/bench-strncpy.c: Likewise.
1248 * benchtests/bench-strnlen.c: Likewise.
1249 * benchtests/bench-strpbrk.c: Likewise.
1250 * benchtests/bench-strrchr.c: Likewise.
1251 * benchtests/bench-strspn.c: Likewise.
1253 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1255 * stdlib/longlong.h: Update from GCC.
1258 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1259 * configure: Regenerated.
1260 * manual/install.texi (Tools for Compilation): Update minimum GCC
1262 * INSTALL: Regenerated.
1264 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1266 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1268 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1270 * malloc/malloc.c (mremap_chunk): Additional checks.
1272 2018-12-21 Mao Han <han_mao@c-sky.com>
1274 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1275 * scripts/build-many-glibcs.py: Add C-SKY targets.
1276 * sysdeps/csky/Implies: New file.
1277 * sysdeps/csky/Makefile: Likewise.
1278 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1279 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1280 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1281 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1282 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1283 * sysdeps/csky/abiv2/memmove.S: Likewise.
1284 * sysdeps/csky/abiv2/memset.S: Likewise.
1285 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1286 * sysdeps/csky/abiv2/start.S: Likewise.
1287 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1288 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1289 * sysdeps/csky/abiv2/strlen.S: Likewise.
1290 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1291 * sysdeps/csky/abort-instr.h: Likewise.
1292 * sysdeps/csky/atomic-machine.h: Likewise.
1293 * sysdeps/csky/bits/endian.h: Likewise.
1294 * sysdeps/csky/bits/fenv.h: Likewise.
1295 * sysdeps/csky/bits/link.h: Likewise.
1296 * sysdeps/csky/bits/setjmp.h: Likewise.
1297 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1298 * sysdeps/csky/bsd-setjmp.S: Likewise.
1299 * sysdeps/csky/configure: Likewise.
1300 * sysdeps/csky/configure.ac: Likewise.
1301 * sysdeps/csky/dl-machine.h: Likewise.
1302 * sysdeps/csky/dl-procinfo.c: Likewise.
1303 * sysdeps/csky/dl-procinfo.h: Likewise.
1304 * sysdeps/csky/dl-sysdep.h: Likewise.
1305 * sysdeps/csky/dl-tls.h: Likewise.
1306 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1307 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1308 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1309 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1310 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1311 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1312 * sysdeps/csky/fpu/fegetround.c: Likewise.
1313 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1314 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1315 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1316 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1317 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1318 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1319 * sysdeps/csky/fpu/fesetround.c: Likewise.
1320 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1321 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1322 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1323 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1324 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1325 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1326 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1327 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1328 * sysdeps/csky/fpu_control.h: Likewise.
1329 * sysdeps/csky/gccframe.h: Likewise.
1330 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1331 * sysdeps/csky/ldsodefs.h: Likewise.
1332 * sysdeps/csky/libc-tls.c: Likewise.
1333 * sysdeps/csky/linkmap.h: Likewise.
1334 * sysdeps/csky/machine-gmon.h: Likewise.
1335 * sysdeps/csky/memusage.h: Likewise.
1336 * sysdeps/csky/nofpu/Implies: Likewise.
1337 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1338 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1339 * sysdeps/csky/nptl/Makefile: Likewise.
1340 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1341 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1342 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1343 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1344 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1345 * sysdeps/csky/nptl/tls.h: Likewise.
1346 * sysdeps/csky/preconfigure: Likewise.
1347 * sysdeps/csky/sfp-machine.h: Likewise.
1348 * sysdeps/csky/sotruss-lib.c: Likewise.
1349 * sysdeps/csky/stackinfo.h: Likewise.
1350 * sysdeps/csky/sysdep.h: Likewise.
1351 * sysdeps/csky/tininess.h: Likewise.
1352 * sysdeps/csky/tst-audit.h: Likewise.
1353 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1354 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1355 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1356 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1357 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1358 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1359 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1360 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1361 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1362 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1363 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1364 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1365 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1366 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1367 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1368 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1369 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1370 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1371 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1372 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1373 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1374 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1375 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1376 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1377 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1378 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1379 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1380 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1381 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1382 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1383 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1384 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1385 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1386 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1387 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1388 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1389 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1390 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1391 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1392 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1393 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1394 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1395 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1396 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1398 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1400 * include/time.h (__difftime64): Add.
1401 * time/difftime.c (subtract): convert to 64-bit time.
1402 * time/difftime.c (__difftime64): Add.
1403 * time/difftime.c (__difftime): Wrap around __difftime64.
1405 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1407 * manual/examples/add.c: Remove redundant "if not".
1408 * manual/examples/argp-ex1.c: Likewise.
1409 * manual/examples/argp-ex2.c: Likewise.
1410 * manual/examples/argp-ex3.c: Likewise.
1411 * manual/examples/argp-ex4.c: Likewise.
1412 * manual/examples/atexit.c: Likewise.
1413 * manual/examples/db.c: Likewise.
1414 * manual/examples/dir.c: Likewise.
1415 * manual/examples/dir2.c: Likewise.
1416 * manual/examples/execinfo.c: Likewise.
1417 * manual/examples/filecli.c: Likewise.
1418 * manual/examples/filesrv.c: Likewise.
1419 * manual/examples/fmtmsgexpl.c: Likewise.
1420 * manual/examples/genpass.c: Likewise.
1421 * manual/examples/inetcli.c: Likewise.
1422 * manual/examples/inetsrv.c: Likewise.
1423 * manual/examples/isockad.c: Likewise.
1424 * manual/examples/longopt.c: Likewise.
1425 * manual/examples/memopen.c: Likewise.
1426 * manual/examples/memstrm.c: Likewise.
1427 * manual/examples/mkdirent.c: Likewise.
1428 * manual/examples/mkfsock.c: Likewise.
1429 * manual/examples/mkisock.c: Likewise.
1430 * manual/examples/mygetpass.c: Likewise.
1431 * manual/examples/pipe.c: Likewise.
1432 * manual/examples/popen.c: Likewise.
1433 * manual/examples/rprintf.c: Likewise.
1434 * manual/examples/search.c: Likewise.
1435 * manual/examples/select.c: Likewise.
1436 * manual/examples/setjmp.c: Likewise.
1437 * manual/examples/sigh1.c: Likewise.
1438 * manual/examples/sigusr.c: Likewise.
1439 * manual/examples/stpcpy.c: Likewise.
1440 * manual/examples/strdupa.c: Likewise.
1441 * manual/examples/strftim.c: Likewise.
1442 * manual/examples/subopt.c: Likewise.
1443 * manual/examples/swapcontext.c: Likewise.
1444 * manual/examples/termios.c: Likewise.
1445 * manual/examples/testopt.c: Likewise.
1446 * manual/examples/testpass.c: Likewise.
1447 * manual/examples/timeval_subtract.c: Likewise.
1449 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1451 * sysdeps/x86/fpu/math_private.h: New file.
1452 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1454 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1459 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1461 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1462 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1463 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1464 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1466 (_dl_show_auxv): Give a special treatment to
1467 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1468 and AT_L3_CACHEGEOMETRY.
1469 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1470 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1471 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1472 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1474 2018-12-19 Andreas Schwab <schwab@suse.de>
1476 * nscd/connections.c (check_use): Don't abort on invalid len.
1478 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1480 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1481 values in the 64bit value cases.
1483 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1489 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1495 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1498 (__gmtime64_r): Add.
1500 (__gmtime64_r): Add.
1501 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1507 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1510 (__localtime64_r): Add.
1512 (__localtime64_r): Add.
1513 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1515 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1517 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1518 kernel_sigction definition.
1520 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1522 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1524 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1525 __syscall_rt_sigaction.
1526 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1527 (kernel_sigaction): Use Linux generic defintion.
1529 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1530 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1531 (__syscall_rt_sigaction): Remove implementation.
1532 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1534 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1535 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1536 INTERNAL_SYSCALL): Remove definitions.
1537 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1538 action and signal set size.
1539 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1540 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1542 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1543 James Clarke <jrtc27@jrtc27.com>
1546 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1547 Define if SA_RESTORER is defined.
1548 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1549 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1551 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1552 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1554 (HAS_SA_RESTORER): Define.
1555 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1556 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1557 (HAS_SA_RESTORER): Define.
1558 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1559 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1560 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1561 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1562 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1564 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1566 * sysdeps/unix/sysv/linux/kernel-features.h
1567 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1568 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1569 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1570 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1571 (__ASSUME_ST_INO_64_BIT): Likewise.
1572 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1573 <kernel-features.h>.
1574 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1575 Remove conditional code.
1576 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1577 <kernel-features.h>.
1578 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1579 Remove conditional code.
1580 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1581 <kernel-features.h>.
1582 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1583 Remove conditional code.
1584 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1585 <kernel-features.h>.
1586 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1587 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1589 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1591 * sysdeps/s390/multiarch/ifunc-resolve.h
1592 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1593 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1594 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1595 Delete macro definition.
1596 (s390_libc_ifunc_init): Rename to
1597 s390_libc_ifunc_expr_stfle_init.
1598 * sysdeps/s390/bzero: Use
1599 s390_libc_ifunc_expr_stfle_init instead of
1600 s390_libc_ifunc_init.
1601 * sysdeps/s390/memcmp.c: Likewise.
1602 * sysdeps/s390/memcpy.c: Likewise.
1603 * sysdeps/s390/mempcpy.c: Likewise.
1604 * sysdeps/s390/memset.c: Likewise.
1606 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1608 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1609 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1611 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1613 * sysdeps/s390/multiarch/Makefile
1614 (sysdep_routines): Remove wmemcmp variants.
1615 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1616 * sysdeps/s390/multiarch/ifunc-impl-list.c
1617 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1618 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1619 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1620 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1621 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1622 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1623 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1624 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1626 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1628 * sysdeps/s390/multiarch/Makefile
1629 (sysdep_routines): Remove wmemset variants.
1630 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1631 * sysdeps/s390/multiarch/ifunc-impl-list.c
1632 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1633 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1634 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1635 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1636 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1637 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1638 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1639 * sysdeps/s390/ifunc-wmemset.h: New file.
1641 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1643 * sysdeps/s390/multiarch/Makefile
1644 (sysdep_routines): Remove wmemchr variants.
1645 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1646 * sysdeps/s390/multiarch/ifunc-impl-list.c
1647 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1648 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1649 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1650 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1651 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1652 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1653 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1654 * sysdeps/s390/ifunc-wmemchr.h: New file.
1656 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1658 * sysdeps/s390/multiarch/Makefile
1659 (sysdep_routines): Remove wcscspn variants.
1660 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1661 * sysdeps/s390/multiarch/ifunc-impl-list.c
1662 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1663 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1664 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1665 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1666 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1667 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1668 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1669 * sysdeps/s390/ifunc-wcscspn.h: New file.
1671 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1673 * sysdeps/s390/multiarch/Makefile
1674 (sysdep_routines): Remove wcspbrk variants.
1675 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1676 * sysdeps/s390/multiarch/ifunc-impl-list.c
1677 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1678 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1679 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1680 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1681 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1682 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1683 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1684 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1686 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1688 * sysdeps/s390/multiarch/Makefile
1689 (sysdep_routines): Remove wcsspn variants.
1690 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1691 * sysdeps/s390/multiarch/ifunc-impl-list.c
1692 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1693 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1694 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1695 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1696 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1697 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1698 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1699 * sysdeps/s390/ifunc-wcsspn.h: New file.
1701 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1703 * sysdeps/s390/multiarch/Makefile
1704 (sysdep_routines): Remove wcsrchr variants.
1705 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1706 * sysdeps/s390/multiarch/ifunc-impl-list.c
1707 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1708 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1709 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1710 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1711 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1712 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1713 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1714 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1716 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1718 * sysdeps/s390/multiarch/Makefile
1719 (sysdep_routines): Remove wcschrnul variants.
1720 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1721 * sysdeps/s390/multiarch/ifunc-impl-list.c
1722 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1723 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1724 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1725 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1726 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1727 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1728 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1729 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1731 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1733 * sysdeps/s390/multiarch/Makefile
1734 (sysdep_routines): Remove wcschr variants.
1735 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1736 * sysdeps/s390/multiarch/ifunc-impl-list.c
1737 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1738 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1739 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1740 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1741 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1742 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1743 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1744 * sysdeps/s390/ifunc-wcschr.h: New file.
1746 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1748 * sysdeps/s390/multiarch/Makefile
1749 (sysdep_routines): Remove wcsncmp variants.
1750 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1751 * sysdeps/s390/multiarch/ifunc-impl-list.c
1752 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1753 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1754 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1755 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1756 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1757 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1758 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1759 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1761 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1763 * sysdeps/s390/multiarch/Makefile
1764 (sysdep_routines): Remove wcscmp variants.
1765 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1766 * sysdeps/s390/multiarch/ifunc-impl-list.c
1767 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1768 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1769 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1770 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1771 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1772 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1773 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1774 * sysdeps/s390/ifunc-wcscmp.h: New file.
1776 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1778 * sysdeps/s390/multiarch/Makefile
1779 (sysdep_routines): Remove wcsncat variants.
1780 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1781 * sysdeps/s390/multiarch/ifunc-impl-list.c
1782 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1783 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1784 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1785 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1786 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1787 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1788 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1789 * sysdeps/s390/ifunc-wcsncat.h: New file.
1791 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1793 * sysdeps/s390/multiarch/Makefile
1794 (sysdep_routines): Remove wcscat variants.
1795 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1796 * sysdeps/s390/multiarch/ifunc-impl-list.c
1797 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1798 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1799 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1800 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1801 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1802 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1803 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1804 * sysdeps/s390/ifunc-wcscat.h: New file.
1806 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1808 * sysdeps/s390/multiarch/Makefile
1809 (sysdep_routines): Remove wcpncpy variants.
1810 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
1811 * sysdeps/s390/multiarch/ifunc-impl-list.c
1812 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
1813 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
1814 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
1815 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
1816 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
1817 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
1818 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
1819 * sysdeps/s390/ifunc-wcpncpy.h: New file.
1821 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1823 * sysdeps/s390/multiarch/Makefile
1824 (sysdep_routines): Remove wcsncpy variants.
1825 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
1826 * sysdeps/s390/multiarch/ifunc-impl-list.c
1827 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
1828 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
1829 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
1830 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
1831 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
1832 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
1833 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
1834 * sysdeps/s390/ifunc-wcsncpy.h: New file.
1836 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1838 * sysdeps/s390/multiarch/Makefile
1839 (sysdep_routines): Remove wcpcpy variants.
1840 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
1841 * sysdeps/s390/multiarch/ifunc-impl-list.c
1842 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
1843 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
1844 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
1845 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
1846 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
1847 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
1848 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
1849 * sysdeps/s390/ifunc-wcpcpy.h: New file.
1851 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1853 * sysdeps/s390/multiarch/Makefile
1854 (sysdep_routines): Remove wcscpy variants.
1855 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
1856 * sysdeps/s390/multiarch/ifunc-impl-list.c
1857 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
1858 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
1859 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
1860 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
1861 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
1862 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
1863 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
1864 * sysdeps/s390/ifunc-wcscpy.h: New file.
1866 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1868 * sysdeps/s390/multiarch/Makefile
1869 (sysdep_routines): Remove wcsnlen variants.
1870 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
1871 * sysdeps/s390/multiarch/ifunc-impl-list.c
1872 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
1873 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
1874 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
1875 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
1876 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
1877 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
1878 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
1879 * sysdeps/s390/ifunc-wcsnlen.h: New file.
1881 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1883 * sysdeps/s390/multiarch/Makefile
1884 (sysdep_routines): Remove wcslen variants.
1885 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
1886 * sysdeps/s390/multiarch/ifunc-impl-list.c
1887 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
1888 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
1889 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
1890 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
1891 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
1892 * sysdeps/s390/multiarch/wcslen.c: Move to ...
1893 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
1894 * sysdeps/s390/ifunc-wcslen.h: New file.
1896 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1898 * sysdeps/s390/multiarch/Makefile
1899 (sysdep_routines): Remove memrchr variants.
1900 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
1901 * sysdeps/s390/multiarch/ifunc-impl-list.c
1902 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
1903 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
1904 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
1905 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
1906 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
1907 * sysdeps/s390/multiarch/memrchr.c: Move to ...
1908 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
1909 * sysdeps/s390/ifunc-memrchr.h: New file.
1911 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1913 * sysdeps/s390/multiarch/Makefile
1914 (sysdep_routines): Remove memccpy variants.
1915 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
1916 * sysdeps/s390/multiarch/ifunc-impl-list.c
1917 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
1918 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
1919 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
1920 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
1921 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
1922 * sysdeps/s390/multiarch/memccpy.c: Move to ...
1923 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
1924 * sysdeps/s390/ifunc-memccpy.h: New file.
1926 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1928 * sysdeps/s390/multiarch/Makefile
1929 (sysdep_routines): Remove rawmemchr variants.
1930 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
1931 * sysdeps/s390/multiarch/ifunc-impl-list.c
1932 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
1933 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
1934 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
1935 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
1936 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
1937 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
1938 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
1939 * sysdeps/s390/ifunc-rawmemchr.h: New file.
1941 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1943 * sysdeps/s390/multiarch/Makefile
1944 (sysdep_routines): Remove memchr variants.
1945 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
1946 * sysdeps/s390/multiarch/ifunc-impl-list.c
1947 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
1948 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
1949 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
1950 * sysdeps/s390/multiarch/memchr.c: Move to ...
1951 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
1952 * sysdeps/s390/ifunc-memchr.h: New file.
1953 * sysdeps/s390/s390-64/memchr.S: Move to ...
1954 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
1955 for 31/64bit and ifunc handling.
1956 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
1957 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1958 * sysdeps/s390/s390-32/memchr.S: Likewise.
1960 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1962 * sysdeps/s390/multiarch/Makefile
1963 (sysdep_routines): Remove strcspn variants.
1964 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
1965 * sysdeps/s390/multiarch/ifunc-impl-list.c
1966 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
1967 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
1968 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
1969 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
1970 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
1971 * sysdeps/s390/multiarch/strcspn.c: Move to ...
1972 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
1973 * sysdeps/s390/ifunc-strcspn.h: New file.
1975 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1977 * sysdeps/s390/multiarch/Makefile
1978 (sysdep_routines): Remove strpbrk variants.
1979 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
1980 * sysdeps/s390/multiarch/ifunc-impl-list.c
1981 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
1982 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
1983 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
1984 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
1985 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
1986 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
1987 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
1988 * sysdeps/s390/ifunc-strpbrk.h: New file.
1990 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1992 * sysdeps/s390/multiarch/Makefile
1993 (sysdep_routines): Remove strspn variants.
1994 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
1995 * sysdeps/s390/multiarch/ifunc-impl-list.c
1996 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
1997 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
1998 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
1999 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2000 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2001 * sysdeps/s390/multiarch/strspn.c: Move to ...
2002 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2003 * sysdeps/s390/ifunc-strspn.h: New file.
2005 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2007 * sysdeps/s390/multiarch/Makefile
2008 (sysdep_routines): Remove strrchr variants.
2009 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2010 * sysdeps/s390/multiarch/ifunc-impl-list.c
2011 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2012 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2013 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2014 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2015 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2016 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2017 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2018 * sysdeps/s390/ifunc-strrchr.h: New file.
2020 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2022 * sysdeps/s390/multiarch/Makefile
2023 (sysdep_routines): Remove strchrnul variants.
2024 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2025 * sysdeps/s390/multiarch/ifunc-impl-list.c
2026 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2027 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2028 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2029 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2030 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2031 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2032 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2033 * sysdeps/s390/ifunc-strchrnul.h: New file.
2035 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2037 * sysdeps/s390/multiarch/Makefile
2038 (sysdep_routines): Remove strchr variants.
2039 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2040 * sysdeps/s390/multiarch/ifunc-impl-list.c
2041 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2042 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2043 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2044 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2045 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2046 * sysdeps/s390/multiarch/strchr.c: Move to ...
2047 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2048 * sysdeps/s390/ifunc-strchr.h: New file.
2050 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2052 * sysdeps/s390/multiarch/Makefile
2053 (sysdep_routines): Remove strncmp variants.
2054 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2055 * sysdeps/s390/multiarch/ifunc-impl-list.c
2056 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2057 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2058 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2059 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2060 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2061 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2062 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2063 * sysdeps/s390/ifunc-strncmp.h: New file.
2065 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2067 * sysdeps/s390/multiarch/Makefile
2068 (sysdep_routines): Remove strcmp variants.
2069 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2070 * sysdeps/s390/multiarch/ifunc-impl-list.c
2071 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2072 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2073 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2074 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2075 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2076 * sysdeps/s390/ifunc-strcmp.h: New file.
2077 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2078 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2079 for 31/64bit and ifunc handling.
2080 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2081 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2082 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2084 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2086 * sysdeps/s390/multiarch/Makefile
2087 (sysdep_routines): Remove strncat variants.
2088 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2089 * sysdeps/s390/multiarch/ifunc-impl-list.c
2090 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2091 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2092 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2093 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2094 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2095 * sysdeps/s390/multiarch/strncat.c: Move to ...
2096 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2097 * sysdeps/s390/ifunc-strncat.h: New file.
2099 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2101 * sysdeps/s390/multiarch/Makefile
2102 (sysdep_routines): Remove strcat variants.
2103 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2104 * sysdeps/s390/multiarch/ifunc-impl-list.c
2105 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2106 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2107 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2108 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2109 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2110 * sysdeps/s390/multiarch/strcat.c: Move to ...
2111 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2112 * sysdeps/s390/ifunc-strcat.h: New file.
2114 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2116 * sysdeps/s390/multiarch/Makefile
2117 (sysdep_routines): Remove stpncpy variants.
2118 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2119 * sysdeps/s390/multiarch/ifunc-impl-list.c
2120 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2121 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2122 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2123 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2124 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2125 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2126 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2127 * sysdeps/s390/ifunc-stpncpy.h: New file.
2129 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2131 * sysdeps/s390/multiarch/Makefile
2132 (sysdep_routines): Remove strncpy variants.
2133 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2134 * sysdeps/s390/multiarch/ifunc-impl-list.c
2135 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2136 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2137 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2138 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2139 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2140 * sysdeps/s390/ifunc-strncpy.h: New file.
2141 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2142 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2143 and adjust ifunc handling.
2144 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2145 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2146 and adjust ifunc handling.
2147 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2148 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2150 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2152 * sysdeps/s390/multiarch/Makefile
2153 (sysdep_routines): Remove stpcpy variants.
2154 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2155 * sysdeps/s390/multiarch/ifunc-impl-list.c
2156 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2157 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2158 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2159 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2160 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2161 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2162 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2163 * sysdeps/s390/ifunc-stpcpy.h: New file.
2165 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2167 * sysdeps/s390/multiarch/Makefile
2168 (sysdep_routines): Remove strcpy variants.
2169 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2170 * sysdeps/s390/multiarch/ifunc-impl-list.c
2171 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2172 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2173 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2174 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2175 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2176 * sysdeps/s390/ifunc-strcpy.h: New file.
2177 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2178 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2179 for 31/64bit and ifunc handling.
2180 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2181 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2182 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2184 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2186 * sysdeps/s390/multiarch/Makefile
2187 (sysdep_routines): Remove strnlen variants.
2188 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2189 * sysdeps/s390/multiarch/ifunc-impl-list.c
2190 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2191 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2192 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2193 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2194 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2195 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2196 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2197 * sysdeps/s390/ifunc-strnlen.h: New file.
2199 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2201 * sysdeps/s390/multiarch/Makefile
2202 (sysdep_routines): Remove strlen variants.
2203 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2204 * sysdeps/s390/multiarch/ifunc-impl-list.c
2205 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2206 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2207 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2208 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2209 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2210 * sysdeps/s390/multiarch/strlen.c: Move to ...
2211 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2212 * sysdeps/s390/ifunc-strlen.h: New file.
2214 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2216 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2217 * sysdeps/s390/multiarch/ifunc-impl-list.c
2218 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2219 * sysdeps/s390/ifunc-memmem.h: New file.
2220 * sysdeps/s390/memmem.c: Likewise.
2221 * sysdeps/s390/memmem-c.c: Likewise.
2222 * sysdeps/s390/memmem-vx.c: Likewise.
2224 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2226 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2227 * sysdeps/s390/multiarch/ifunc-impl-list.c
2228 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2229 * sysdeps/s390/ifunc-strstr.h: New file.
2230 * sysdeps/s390/strstr.c: Likewise.
2231 * sysdeps/s390/strstr-c.c: Likewise.
2232 * sysdeps/s390/strstr-vx.c: Likewise.
2234 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2236 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2237 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2238 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2239 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2241 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2242 * sysdeps/s390/memmove-c.c: New file.
2243 * sysdeps/s390/memmove.c: Likewise.
2244 * sysdeps/s390/multiarch/ifunc-impl-list.c
2245 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2247 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2249 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2250 * sysdeps/s390/configure.ac: Add check for z13 support.
2251 * sysdeps/s390/configure: Regenerated.
2253 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2255 * sysdeps/s390/memcopy.h: New file.
2257 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2259 * sysdeps/s390/s390-32/bcopy.S: Remove.
2260 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2262 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2264 * sysdeps/s390/ifunc-memcpy.h: New File.
2265 * sysdeps/s390/memcpy.S: Move to ...
2266 * sysdeps/s390/memcpy-z900.S ... here.
2267 Move implementations from memcpy-s390x.s to here.
2268 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2269 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2270 Remove memcpy/mempcpy variants.
2271 * sysdeps/s390/Makefile (sysdep_routines):
2272 Add memcpy/mempcpy variants.
2273 * sysdeps/s390/multiarch/ifunc-impl-list.c
2274 (__libc_ifunc_impl_list): Adjust ifunc variants for
2276 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2278 * sysdeps/s390/memcpy.c: ... here.
2279 Adjust ifunc variants for memcpy.
2280 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2281 * sysdeps/s390/mempcpy.c: ... here.
2282 Adjust ifunc variants for mempcpy.
2283 * sysdeps/s390/mempcpy.S: Delete file.
2285 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2287 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2288 * sysdeps/s390/memcpy.S: ... here.
2289 Adjust to be usable for 31/64bit.
2290 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2291 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2292 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2293 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2294 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2295 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2296 Adjust to be usable for 31/64bit.
2297 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2298 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2299 * sysdeps/s390/multiarch/memcpy.c: ... here.
2300 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2302 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2304 * sysdeps/s390/ifunc-memcmp.h: New File.
2305 * sysdeps/s390/memcmp.S: Move to ...
2306 * sysdeps/s390/memcmp-z900.S ... here.
2307 Move implementations from memcmp-s390x.s to here.
2308 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2309 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2310 Remove memcmp variants.
2311 * sysdeps/s390/Makefile (sysdep_routines):
2312 Add memcmp variants.
2313 * sysdeps/s390/multiarch/ifunc-impl-list.c
2314 (__libc_ifunc_impl_list): Adjust ifunc variants for
2316 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2318 * sysdeps/s390/memcmp.c: ... here.
2319 Adjust ifunc variants for memcmp.
2321 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2323 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2324 * sysdeps/s390/memcmp.S: ... here.
2325 Adjust to be usable for 31/64bit.
2326 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2327 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2328 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2330 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2331 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2332 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2333 Adjust to be usable for 31/64bit.
2334 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2335 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2336 * sysdeps/s390/multiarch/memcmp.c: ... here.
2337 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2339 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2341 * sysdeps/s390/s390-32/bzero.S: Delete file.
2342 * sysdeps/s390/s390-64/bzero.S: Likewise.
2343 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2344 * sysdeps/s390/bzero.c: New file.
2345 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2346 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2347 * sysdeps/s390/multiarch/ifunc-impl-list.c
2348 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2350 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2352 * sysdeps/s390/ifunc-memset.h: New File.
2353 * sysdeps/s390/memset.S: Move to ...
2354 * sysdeps/s390/memset-z900.S ... here.
2355 Move implementations from memset-s390x.s to here.
2356 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2357 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2358 Remove memset variants.
2359 * sysdeps/s390/Makefile (sysdep_routines):
2360 Add memset variants.
2361 * sysdeps/s390/multiarch/ifunc-impl-list.c
2362 (__libc_ifunc_impl_list): Adjust ifunc variants for
2364 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2366 * sysdeps/s390/memset.c: ... here.
2367 Adjust ifunc variants for memset.
2369 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2371 * sysdeps/s390/s390-64/memset.S: Move to ...
2372 * sysdeps/s390/memset.S: ... here.
2373 Adjust to be usable for 31/64bit.
2374 * sysdeps/s390/s390-32/memset.S: Delete File.
2375 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2376 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2378 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2379 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2380 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2381 Adjust to be usable for 31/64bit.
2382 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2383 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2384 * sysdeps/s390/multiarch/memset.c: ... here.
2385 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2387 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2389 * sysdeps/s390/multiarch/ifunc-resolve.h
2390 (s390_libc_ifunc_init, s390_libc_ifunc,
2391 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2393 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2395 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2396 * sysdeps/s390/configure.ac: Add check for z10 support.
2397 * sysdeps/s390/configure: Regenerated.
2399 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2401 * sysdeps/i386/atomic-machine.h: Merged with ...
2402 * sysdeps/x86_64/atomic-machine.h: To ...
2403 * sysdeps/x86/atomic-machine.h: This. New file.
2405 2018-12-18 Florian Weimer <fweimer@redhat.com>
2407 Rewrite locale/gen-translit.pl in Python.
2408 * locale/Makefile (generated): Add C-translit.h.
2409 (before-compile): Add $(objpfx)C-translit.h.
2410 (C-translit.h): Move to $(objpfx). Create target directory.
2411 Build using Python script.
2412 * locale/gen-translit.py: New file.
2413 * locale/gen-translit.pl: Remove file.
2414 * locale/C-translit.h.in: Change comment character to '#' for
2415 easier parsing without a C preprocessor.
2416 * locale/C-translit.h: Remove generated file.
2417 * manual/install.texi (Tools for Compilation): Do not mention
2419 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2420 Remove locale/C-translit.h.
2421 * scripts/update-copyrights: Likewise.
2422 * INSTALL: Regenerate.
2424 2018-12-18 Florian Weimer <fweimer@redhat.com>
2427 * localedata/locales/bi_VU: Remove executable bit from file.
2429 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2432 (__localtime64): Add.
2433 * manual/maint.texi: Document Y2038 symbol handling.
2435 (__localtime64): Add.
2436 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2438 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2440 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2443 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2444 to allow extra macros from first or second sources.
2445 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2446 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2447 (tests-special): Add $(objpfx)tst-mman-consts.out.
2448 ($(objpfx)tst-mman-consts.out): New makefile target.
2450 2018-12-17 Mao Han <han_mao@c-sky.com>
2452 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2453 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2454 without stat64 system call support.
2455 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2456 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2457 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2458 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2459 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2460 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2461 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2462 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2463 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2464 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2465 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2467 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2469 regex: fix storage-exhaustion error
2471 * posix/regexec.c (get_subexp):
2472 Do not continue if storage is exhausted.
2474 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2476 regex: fix heap-use-after-free error
2478 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2479 https://debbugs.gnu.org/32592
2480 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2481 call extend_buffers which reallocates the re_string_t internal buffer.
2482 Local variable 'buf' was not updated in such case, resulting in
2484 * posix/regexec.c (get_subexp): Update 'buf' after call to
2487 2018-12-15 Florian Weimer <fweimer@redhat.com>
2489 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2490 (minimum_stride_size): Use it.
2491 (support_blob_repeat_allocate): Likewise.
2493 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2495 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2500 2018-12-14 Florian Weimer <fweimer@redhat.com>
2502 * manual/process.texi (Process Creation Concepts): Remove
2503 documentation of process (ID) lifetime. List more process
2504 creation functions. Reference Process Identification section.
2505 (Process Identification): Add information about process ID
2506 lifetime. Describe Linux thread/task IDs.
2507 * manual/signal.texi (Signaling Another Process): Mention that the
2508 signal is always sent to the process.
2510 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2512 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2513 and tst-ldbl-efgcvt.
2514 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2515 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2516 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2517 (fcvt_tests, output_error, output_r_error, do_test): Use the
2518 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2519 select the type of floating-point variables and arguments; to
2520 produce extra tests for double and conversion specifiers for
2521 printf; and to set the names of called functions.
2522 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2523 in tst-efgcvt-template.c.
2524 * misc/tst-ldbl-efgcvt.c: Likewise.
2526 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2528 * nss/Makefile (tst-nss-test3.out): New rule.
2530 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2532 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2535 2018-12-13 fanjinke <fanjinke@hygon.cn>
2537 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2540 2018-12-13 Andreas Schwab <schwab@suse.de>
2543 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2544 (__pthread_rwlock_rdlock_full): Update expected value for
2545 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2546 * nptl/tst-rwlock-pwn.c: New file.
2547 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2549 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2551 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2554 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2556 * benchtests/scripts/compare_bench.py (do_compare): write to
2557 stderr in casestat is not present.
2558 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2559 stderr in case timings field is not present. Also string showing
2560 the output filename goes into the stderr.
2562 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2564 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2565 and ZeroDivisorError exceptions.
2566 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2567 argument to loop through user provided statistics.
2568 * benchtests/scripts/compare_bench.py (main): Include the --stats
2571 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2573 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2576 2018-12-12 Florian Weimer <fweimer@redhat.com>
2578 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2579 clause to copyright header.
2581 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2584 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2585 registers saved in the stack frame.
2586 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2587 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2589 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2591 * include/bits/monetary-ldbl.h: New file.
2592 * include/bits/printf-ldbl.h: Likewise.
2593 * include/bits/stdio-ldbl.h: Likewise.
2594 * include/bits/stdlib-ldbl.h: Likewise.
2595 * include/bits/syslog-ldbl.h: Likewise.
2596 * include/bits/wchar-ldbl.h: Likewise.
2598 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2600 * libio/libio.h: Remove redirection for _IO_vfprintf.
2602 2018-12-11 Andreas Schwab <schwab@suse.de>
2604 * Makerules: Remove all references to abilist-pattern.
2605 (update-all-abi): Simplify find expression.
2607 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2610 * math/auto-libm-test-in: Add new test case.
2611 * math/auto-libm-test-out-pow: Regenerated.
2612 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2614 2018-12-10 DJ Delorie <dj@redhat.com>
2617 * support/test-container.c: Move postclean step to before we
2620 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2622 * scripts/gen-as-const.py (main): Handle --python option.
2623 * scripts/gen-py-const.awk: Remove.
2624 * Makerules (py-const-script): Use gen-as-const.py.
2625 ($(py-const)): Likewise.
2626 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2627 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2628 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2629 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2630 ~PTHREAD_MUTEX_NO_ELISION_NP.
2631 * manual/README.pretty-printers: Update reference to
2634 * scripts/glibcextract.py: New file.
2635 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2636 or tempfile. Import glibcexctract.
2637 (compute_c_consts): Remove. Moved to glibcextract.py.
2638 (gen_test): Update reference to compute_c_consts.
2640 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2641 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2642 * sysdeps/unix/sysv/linux/Makefile
2643 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2644 Redirect stderr as well as stdout.
2646 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2649 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2650 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2651 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2652 ALWAYS_USE_VSYSCALL.
2653 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2654 ALWAYS_USE_VSYSCALL.
2655 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2656 ALWAYS_USE_VSYSCALL.
2658 2018-12-10 Florian Weimer <fweimer@redhat.com>
2661 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2662 offset instead of count for clarity. Fix typo in comment.
2663 (__old_getdents64): Keep track of previous offset. Use it to call
2665 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2666 that d_off is never zero.
2668 2018-12-10 Andreas Schwab <schwab@suse.de>
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2671 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2673 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2674 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2676 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2678 * timezone/private.h: Update from tzcode 2018g.
2679 * timezone/tzfile.h: Likewise.
2680 * timezone/tzselect.ksh: Likewise.
2681 * timezone/zdump.c: Likewise.
2682 * timezone/zic.c: Likewise.
2684 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2687 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2688 (do_test): Adjust buffer size and fix format.
2690 2018-12-07 DJ Delorie <dj@redhat.com>
2693 * malloc/tst-tcfree3.c: New.
2694 * malloc/Makefile: Add it.
2696 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2698 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2700 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2702 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2703 used as a mask for the mode argument of __vfscanf_internal and
2704 __vfwscanf_internal.
2705 * stdio-common/vfscanf-internal.c
2706 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2707 (__strtof128_internal): Define to __wcstof128_internal.
2708 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2709 __strtof128_internal or __wcstof128_internal when the format of
2710 long double is the same as _Float128.
2712 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2714 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2715 * posix/confstr.c (confstr): Rename to __confstr.
2716 (__confstr): Add hidden def.
2717 (confstr): Add weak alias for __confstr.
2718 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2721 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2723 * NEWS: Mention getcpu.
2724 * include/sched.h (__getcpu): New libc_hidden_proto.
2725 * manual/resource.texi: Document getcpu.
2726 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2727 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2728 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2729 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2730 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2731 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2732 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2733 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2734 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2735 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2736 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2737 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2738 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2740 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2741 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2742 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2751 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2752 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2753 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2754 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2755 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2756 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2757 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2758 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2759 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2760 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2761 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2764 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2766 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2768 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2770 2018-12-07 Florian Weimer <fweimer@redhat.com>
2773 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2774 * posix/Versions (GLIBC_2.29): Export
2775 posix_spawn_file_actions_addfchdir_np.
2776 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2777 * posix/spawn_faction_destroy.c
2778 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2779 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2780 and the field action.fchdir_action.
2781 * posix/tst-spawn-chdir.c (add_chdir): New function.
2782 (do_test): Add do_fchdir loop. Call add_chdir.
2783 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2784 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2785 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2786 posix_spawn_file_actions_addfchdir_np.
2787 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2789 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2791 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2792 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2794 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2796 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2798 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2800 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2802 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2804 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2805 (GLIBC_2.29): Likewise.
2806 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2807 (GLIBC_2.29): Likewise.
2808 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2809 (GLIBC_2.29): Likewise.
2810 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2811 (GLIBC_2.29): Likewise.
2812 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2815 (GLIBC_2.29): Likewise.
2816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2817 (GLIBC_2.29): Likewise.
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2819 (GLIBC_2.29): Likewise.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2821 (GLIBC_2.29): Likewise.
2822 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2824 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2826 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2828 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2829 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2831 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2833 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2835 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2838 2018-12-06 Joseph Myers <joseph@codesourcery.com>
2840 * manual/texinfo.tex: Update to version 2018-09-21.20 with
2841 trailing whitespace removed.
2842 * scripts/config.guess: Update to version 2018-11-28.
2843 * scripts/config.sub: Update to version 2018-11-28.
2844 * scripts/install-sh: Update to version 2018-03-11.20.
2845 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
2846 * scripts/move-if-change: Update to version 2018-03-07 03:47.
2848 2018-12-07 Florian Weimer <fweimer@redhat.com>
2852 * inet/tst-if_index-long.c: New file.
2853 * inet/Makefile (tests): Add tst-if_index-long.
2855 2018-12-07 Florian Weimer <fweimer@redhat.com>
2857 * support/check.h (support_record_failure_is_failed): Declare.
2858 * support/descriptors.h: New file.
2859 * support/support_descriptors.c: Likewise.
2860 * support/tst-support_descriptors.c: Likewise.
2861 * support/support_record_failure.c
2862 (support_record_failure_is_failed): New function.
2863 * support/Makefile (libsupport-routines): Add support_descriptors.
2864 (tests): Add tst-support_descriptors.
2866 2018-12-05 Zack Weinberg <zackw@panix.com>
2867 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2869 * stdio-common/vfprintf-internal.c
2870 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
2871 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
2872 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
2873 and __no_long_double.
2874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
2875 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
2876 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
2877 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
2878 and __nldbl_*syslog* functions.
2879 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
2880 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
2881 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
2882 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
2883 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
2884 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
2885 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
2886 (__nldbl_vwprintf, __nldbl_wprintf):
2887 Directly call the appropriate __v*printf_internal routine, passing
2888 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
2890 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
2891 (__nldbl___printf_chk, __nldbl___snprintf_chk)
2892 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
2893 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
2894 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
2895 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2896 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
2897 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
2898 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
2899 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
2900 Likewise, and also pass PRINTF_FORTIFY when appropriate.
2901 (__nldbl_syslog, __nldbl_vsyslog):
2902 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
2903 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2905 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2908 2018-12-05 Zack Weinberg <zackw@panix.com>
2909 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2912 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
2913 Moved here from debug/vsprintf_chk.c.
2914 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
2915 and completion logic for the strfile to match exactly what
2916 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
2917 _IO_str_init_static_internal instead of maxlen-1.
2918 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2919 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
2920 __vsprintf_internal.
2922 * debug/vsprintf_chk.c (__vsprintf_chk)
2923 * debug/sprintf_chk.c (__sprintf_chk):
2924 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
2925 'flags' argument is positive, and slen as maxlen. No need to lock
2926 the FILE and/or construct a temporary FILE. Minimize and normalize
2927 header inclusions and variable names. Do not libc_hidden_def anything.
2929 * debug/asprintf_chk.c (__asprintf_chk)
2930 * debug/dprintf_chk.c (__dprintf_chk)
2931 * debug/fprintf_chk.c (__fprintf_chk)
2932 * debug/fwprintf_chk.c (__fwprintf_chk)
2933 * debug/printf_chk.c (__printf_chk)
2934 * debug/snprintf_chk.c (__snprintf_chk)
2935 * debug/swprintf_chk.c (__swprintf_chk)
2936 * debug/vasprintf_chk.c (__vasprintf_chk)
2937 * debug/vdprintf_chk.c (__vdprintf_chk)
2938 * debug/vfprintf_chk.c (__vfprintf_chk)
2939 * debug/vfwprintf_chk.c (__vfwprintf_chk)
2940 * debug/vprintf_chk.c (__vprintf_chk)
2941 * debug/vsnprintf_chk.c (__vsnprintf_chk)
2942 * debug/vswprintf_chk.c (__vswprintf_chk)
2943 * debug/vwprintf_chk.c (__vwprintf_chk)
2944 * debug/wprintf_chk.c (__wprintf_chk):
2945 Directly call the corresponding vxxprintf_internal function, passing
2946 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
2947 the FILE and/or construct a temporary FILE. Minimize and normalize
2948 header inclusions and variable names. Do not libc_hidden_def anything.
2950 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
2951 __obstack_vprintf_internal.
2952 (__obstack_vprintf_chk): Convert into a wrapper that calls
2953 __obstack_vprintf_internal (these two functions already had the
2954 same code) and move to new file...
2955 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
2957 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
2958 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
2959 * debug/Makefile (routines): Add vobprintf_chk.
2961 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2962 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2963 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
2964 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2965 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
2966 (__nldbl___obstack_vfprintf_chk):
2967 Directly call the corresponding vxxprintf_internal function,
2968 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
2969 duplicate comparison of slen with 0 or maxlen from the corresponding
2970 non-__nldbl function.
2972 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
2973 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
2974 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
2975 Remove libc_hidden_proto.
2977 * stdio-common/vfprintf-internal.c
2978 (__vfprintf_internal, __vfwprintf_internal):
2979 Do not check _IO_FLAGS2_FORTIFY.
2980 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
2981 * libio/libioP.h: Update prototype of __vsprintf_internal and add
2982 a comment explaining why it has the maxlen argument.
2983 (_IO_acquire_lock_clear_flags2_fct): Remove.
2984 (_IO_acquire_lock_clear_flags2): Remove.
2985 (_IO_release_lock): Remove conditional statement which will
2987 (_IO_acquire_lock): Remove variable which is now unused.
2988 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2989 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
2991 * stdio-common/Makefile (tests): Add tst-bz11319 and
2992 tst-bz11319-fortify2.
2993 (CFLAGS-tst-bz11319-fortify2.c): New macro.
2994 * stdio-common/tst-bz11319-fortify2.c: New file.
2995 * stdio-common/tst-bz11319.c: Likewise.
2997 2018-12-05 Zack Weinberg <zackw@panix.com>
2998 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3000 * misc/syslog.c: Include libioP.h, not iolibio.h.
3001 (__vsyslog_internal): New function with the former body of
3002 __vsyslog_chk; takes mode_flags argument same as
3003 __v*printf_internal. Call __vfprintf_internal directly.
3005 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3006 Remove libc_hidden_def.
3007 (__syslog, __syslog_chk): Use __vsyslog_internal.
3008 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3010 * include/sys/syslog.h: Add multiple inclusion guard.
3011 Add prototype for __vsyslog_internal.
3012 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3014 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3015 Use __vsyslog_internal.
3017 2018-12-05 Zack Weinberg <zackw@panix.com>
3018 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3020 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3021 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3022 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3024 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3025 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3027 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3028 Include wctype.h here if COMPILE_WPRINTF is defined.
3029 Define __vfprintf_internal or __vfwprintf_internal, depending
3031 Temporarily, on entry to this function, update mode_flags
3032 according to the environmental settings corresponding to
3033 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3034 Throughout, check mode_flags instead of __ldbl_is_dbl and
3035 _IO_FLAGS2_FORTIFY on the destination FILE.
3036 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3037 Include vfprintf-internal.c. Don't include wctype.h.
3038 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3039 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3041 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3042 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3044 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3046 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3047 and add mode_flags argument; use __vfprintf_internal.
3048 (__vdprintf): New function. Alias vdprintf to this.
3049 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3050 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3051 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3052 (__obstack_printf): Use __obstack_printf_internal.
3053 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3054 public aliases __vsnprintf and vsnprintf.
3055 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3057 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3058 public aliases _IO_vsprintf and vsprintf.
3059 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3060 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3061 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3062 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3063 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3065 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3066 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3067 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3068 * stdio-common/printf.c: Use __vfprintf_internal.
3070 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3071 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3072 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3074 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3075 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3076 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3077 __vfwprintf_internal.
3079 * libio/libio.h: Remove libc_hidden_proto and declaration for
3081 Remove declaration of _IO_vfwprintf.
3082 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3084 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3086 * include/stdio.h: Add prototype for __vasprintf.
3087 (__vsnprintf): Remove declaration, because there are no more
3089 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3090 declaration, because there are no more internal calls.
3092 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3093 __vsnprintf_internal, instead of _IO_vsnprintf.
3094 * argp/argp-help.c (__argp_error, __argp_failure): Use
3095 __vasprintf_internal, instead of _IO_vasprintf.
3096 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3097 redefine, because there are no more internal calls.
3099 2018-12-05 Zack Weinberg <zackw@panix.com>
3100 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3102 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3103 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3104 Include libio/strfile.h instead of libioP.h.
3105 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3106 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3107 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3108 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3109 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3110 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3111 necessary. Do not set __no_long_double. Normalize variable names.
3112 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3113 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3114 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3115 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3116 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3117 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3118 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3119 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3120 Do not set __no_long_double. Normalize variable names.
3122 2018-12-05 Zack Weinberg <zackw@panix.com>
3123 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3125 * stdio-common/isoc99_scanf.c
3126 * stdio-common/isoc99_fscanf.c
3127 * stdio-common/isoc99_sscanf.c
3128 * stdio-common/isoc99_vscanf.c
3129 * stdio-common/isoc99_vfscanf.c
3130 * stdio-common/isoc99_vsscanf.c
3131 * wcsmbs/isoc99_wscanf.c
3132 * wcsmbs/isoc99_fwscanf.c
3133 * wcsmbs/isoc99_swscanf.c
3134 * wcsmbs/isoc99_vwscanf.c
3135 * wcsmbs/isoc99_vfwscanf.c
3136 * wcsmbs/isoc99_vswscanf.c:
3137 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3138 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3139 No need to lock and unlock the FILE passed to that function.
3141 * stdio-common/vfscanf-internal.c
3142 (__vfscanf_internal, __vfwscanf_internal):
3143 Don't look at _IO_FLAGS2_SCANF_STD.
3144 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3145 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3146 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3148 2018-12-05 Zack Weinberg <zackw@panix.com>
3149 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3151 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3152 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3153 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3154 * libio/strfile.h: Add multiple inclusion guard.
3155 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3157 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3158 consistency with the other version of this file.
3159 (ldbl_compat_symbol): New macro.
3160 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3163 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3164 Define __vfscanf_internal or __vfwscanf_internal, depending on
3165 COMPILE_WSCANF; don't define any other public symbols.
3166 Remove errval and code to set errp.
3167 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3168 as the mode_flags argument.
3169 (encode_error, conv_error, input_error): Don't set errval.
3170 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3171 Include vfscanf-internal.c.
3172 * stdio-common/vfscanf.c: New file defining the public entry
3173 point vfscanf, which calls __vfscanf_internal.
3174 * stdio-common/vfwscanf.c: New file defining the public entry
3175 point vfwscanf, which calls __vfwscanf_internal.
3177 * stdio-common/iovfscanf.c: New file.
3178 * stdio-common/iovfwscanf.c: Likewise.
3180 * stdio-common/Makefile (routines): Add vfscanf-internal,
3181 vfwscanf-internal, iovfscanf, iovfwscanf.
3182 * stdio-common/Versions: Mention GLIBC_2.29, so that
3183 it can be used in SHLIB_COMPAT expressions.
3184 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3185 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3186 Call __vfscanf_internal, instead of _IO_vfscanf.
3187 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3189 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3192 * libio/iovsscanf.c: Clean up includes, when possible. Use
3193 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3194 __vfscanf_internal or __vfwscanf_internal directly.
3195 * libio/iovswscanf.c: Likewise.
3196 * libio/swscanf.c: Likewise.
3197 * libio/vscanf.c: Likewise.
3198 * libio/vwscanf.c: Likewise.
3199 * libio/wscanf.c: Likewise.
3200 * stdio-common/isoc99_fscanf.c: Likewise.
3201 * stdio-common/isoc99_scanf.c: Likewise.
3202 * stdio-common/isoc99_sscanf.c: Likewise.
3203 * stdio-common/isoc99_vfscanf.c: Likewise.
3204 * stdio-common/isoc99_vscanf.c: Likewise.
3205 * stdio-common/isoc99_vsscanf.c: Likewise.
3206 * stdio-common/scanf.c: Likewise.
3207 * stdio-common/sscanf.c: Likewise.
3208 * wcsmbs/isoc99_fwscanf.c: Likewise.
3209 * wcsmbs/isoc99_swscanf.c: Likewise.
3210 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3211 * wcsmbs/isoc99_vswscanf.c: Likewise.
3212 * wcsmbs/isoc99_vwscanf.c: Likewise.
3213 * wcsmbs/isoc99_wscanf.c: Likewise.
3215 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3218 (__tz_compute): Replace time_t with __time64_t.
3219 (__tz_convert): Replace time_t* with __time64_t.
3220 (__offtime): Replace time_t* with __time64_t.
3222 (__gmtime_r): Adjust call to __tz_convert.
3225 (__localtime_r): Likewise.
3226 (localtime): Likewise.
3227 * time/offtime.c: Replace time_t with __time64_t.
3228 * time/tzset.c: Likewise.
3230 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3232 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3233 dynamic linker unless [$(run-built-tests) = yes].
3235 2018-12-03 DJ Delorie <dj@delorie.com>
3237 * support/test-container.c (check_for_unshare_hints): New.
3238 (main): Call it if unshare fails. Add support for "su" scriptlet
3241 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3243 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3244 'START' to indicate that start text should be output.
3245 (gen_test): Likewise.
3246 (main): Generate 'START' for first symbol or '--' line, or at end
3247 of input if not previously generated.
3249 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3252 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3253 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3254 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3255 ALWAYS_USE_VSYSCALL.
3257 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3260 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3263 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3266 * locale/programs/localedef.c: Declare boolean hard_links default true.
3267 (options): Add --no-hard-links option.
3268 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3269 * locale/programs/localedef.h: Declare prototype for hard_links.
3270 * locale/programs/locfile.c (write_locale_data): Don't use hard
3271 links if hard_links is false.
3273 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3275 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3277 (__cache_sysconf): Likewise.
3278 (init_cacheinfo): Likewise.
3279 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3280 populate COMMON_CPUID_INDEX_80000007 and
3281 COMMON_CPUID_INDEX_80000008.
3282 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3283 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3284 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3285 (init_cpu_features): Use _Static_assert on
3286 index_arch_Fast_Unaligned_Load.
3287 __get_cpuid_registers and __get_arch_feature. Updated for
3288 cpu_features_basic. Set stepping in cpu_features.
3289 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3290 (FEATURE_INDEX_2): New.
3291 (FEATURE_INDEX_MAX): Changed to enum.
3292 (COMMON_CPUID_INDEX_D_ECX_1): New.
3293 (COMMON_CPUID_INDEX_80000007): Likewise.
3294 (COMMON_CPUID_INDEX_80000008): Likewise.
3295 (cpuid_registers): Likewise.
3296 (cpu_features_basic): Likewise.
3297 (CPU_FEATURE_USABLE): Likewise.
3298 (bit_arch_XXX_Usable): Likewise.
3299 (cpu_features): Use cpuid_registers and cpu_features_basic.
3300 (bit_arch_XXX): Reweritten.
3301 (bit_cpu_XXX): Likewise.
3302 (index_cpu_XXX): Likewise.
3303 (reg_XXX): Likewise.
3304 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3306 (CHECK_CPU_FEATURE): New.
3307 (CHECK_CPU_FEATURE_USABLE): Likewise.
3308 (cpu_kinds): Likewise.
3309 (do_test): Print vendor, family, model and stepping. Check
3310 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3311 (TEST_FUNCTION): Removed.
3312 Include <support/test-driver.c> instead of
3313 "../../test-skeleton.c".
3314 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3315 Check POPCNT instead of POPCOUNT.
3316 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3318 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3320 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3321 there is no element in `consts'.
3323 2018-12-01 Florian Weimer <fweimer@redhat.com>
3325 * support/support_capture_subprocess.c
3326 (support_capture_subprocess): Check that pipe descriptors have
3327 expected values. Close original pipe descriptors in subprocess.
3329 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3332 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3333 attr with __pthread_default_barrierattr.
3334 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3335 attr with __pthread_default_condattr.
3336 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3337 attr with __pthread_default_mutexattr.
3338 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3339 attr with __pthread_default_rwlockattr.
3341 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3343 * manual/tunables.texi (POSIX Thread Tunables): New node.
3344 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3345 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3346 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3347 __pthread_tunables_init.
3348 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3349 (max_adaptive_count): Define.
3350 * nptl/pthread_mutex_conf.c: New file.
3351 * nptl/pthread_mutex_conf.h: New file.
3352 * sysdeps/generic/adaptive_spin_count.h: New file.
3353 * sysdeps/nptl/dl-tunables.list: New file.
3354 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3355 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3356 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3359 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3362 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3363 * stdlib/on_exit.c (__on_exit): Likewise.
3364 * stdlib/Makefile (tests): Add tst-bz20544.
3365 * stdlib/tst-bz20544.c: New test.
3367 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3370 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3371 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3374 2018-11-30 Florian Weimer <fweimer@redhat.com>
3376 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3377 Extend error logging.
3378 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3381 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3383 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3384 __sigismember instead of sigismember.
3385 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3386 cancel_handler): New definitions.
3387 (do_system): Use posix_spawn instead of fork and execl and remove
3389 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3390 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3391 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3392 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3393 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3394 * sysdeps/unix/sysv/linux/system.c: Likewise.
3398 * NEWS: Add new semantic for atfork with popen and system.
3399 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3402 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3405 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3406 modification order when accessing reloc_result->addr.
3407 * include/link.h (reloc_result): Add field init.
3408 * nptl/Makefile (tests): Add tst-audit-threads.
3409 (modules-names): Add tst-audit-threads-mod1 and
3410 tst-audit-threads-mod2.
3411 Add rules to build tst-audit-threads.
3412 * nptl/tst-audit-threads-mod1.c: New file.
3413 * nptl/tst-audit-threads-mod2.c: Likewise.
3414 * nptl/tst-audit-threads.c: Likewise.
3415 * nptl/tst-audit-threads.h: Likewise.
3417 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3419 * scripts/gen-as-const.py: New file.
3420 * scripts/gen-as-const.awk: Remove.
3421 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3423 ($(objpfx)test-as-const-%.c): Likewise.
3425 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3427 * elf/dl-exception.c: Include <_itoa.h>.
3429 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3431 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3432 returned by __f_setlk.
3434 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3435 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3437 * elf/Makefile (tests-internal): Add tst-create_format1.
3438 * elf/dl-exception.c (_dl_exception_create_format): Support
3440 * elf/tst-create_format1.c: New file.
3442 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3444 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3445 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3447 * argp/argp-help.c (__argp_failure): Likewise.
3449 2018-11-29 Mao Han <han_mao@c-sky.com>
3451 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3452 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3453 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3454 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3455 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3456 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3457 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3458 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3459 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3460 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3461 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3462 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3463 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3464 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3465 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3466 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3467 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3468 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3469 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3470 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3471 (R_CKCORE_TLS_TPOFF32): New defines.
3473 2018-11-29 Florian Weimer <fweimer@redhat.com>
3475 * posix/Makefile (before-compile): Remove testcases.h and
3477 (generated): Add testcases.h and ptestcases.h.
3478 (testcases.h, ptestcases.h): Move to $(objpfx).
3479 (runtests.o): Add dependency on testcases.h.
3480 (runptests.o): Add dependency on ptestcases.h.
3481 * posix/testcases.h, posix/ptestcases.h: Remove files.
3482 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3483 not touch posix/testcases.h and posix/ptestcases.h.
3485 2018-11-28 Florian Weimer <fweimer@redhat.com>
3487 support: Add signal support to support_capture_subprocess_check.
3488 * support/capture_subprocess.h (support_capture_subprocess_check):
3489 Adjust comment and rename parameter.
3490 * support/support_capture_subprocess_check.c
3491 (print_actual_status): New function.
3492 (support_capture_subprocess_check): Support negative
3493 status_or_signal. Call print_actual_status.
3494 * support/tst-support_capture_subprocess.c (do_test): Call
3495 support_capture_subprocess_check.
3496 * libio/tst-vtables-common.c (termination_status)
3497 (init_termination_status): Remove.
3498 (check_for_termination): Adjust support_capture_subprocess_check
3500 (do_test): Remove call to init_termination_status.
3502 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3504 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3505 source directory instead of a copy.
3506 (CommandList.create_copy_dir): Remove.
3508 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3510 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3512 2018-11-28 Florian Weimer <fweimer@redhat.com>
3514 * support/support.h (support_quote_string): Do not use str
3517 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3519 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3520 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3522 2018-11-27 Florian Weimer <fweimer@redhat.com>
3524 * support/support.h (support_quote_string): Declare.
3525 * support/support_quote_string.c: New file.
3526 * support/tst-support_quote_string.c: Likewise.
3527 * support/Makefile (libsupport-routines): Add
3528 support_quote_string.
3529 (tests): Add tst-support_quote_string.
3531 2018-11-27 Florian Weimer <fweimer@redhat.com>
3535 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3536 descriptor leak in case of ENODEV error.
3538 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3541 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3542 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3543 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3545 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3547 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3548 Error for unknown lines.
3550 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3552 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3553 Touch additional files.
3555 2018-11-26 Florian Weimer <fweimer@redhat.com>
3558 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3561 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3564 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3565 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3566 SHARED. Include sysdep.h.
3567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3568 ALWAYS_USE_VSYSCALL.
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3570 ALWAYS_USE_VSYSCALL.
3572 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3575 * nptl/Makefile (tests-static): Add tst-cond11-static.
3577 * nptl/tst-cond11-static.c: New File.
3578 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3579 tst-affinity-static.
3581 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3583 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3584 (USE_VSYSCALL): Likewise.
3585 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3586 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3588 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3593 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3596 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3597 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3600 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3602 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3603 (tst-cet-legacy-1a-ARGS): New.
3604 ($(objpfx)tst-cet-legacy-1a): New target.
3605 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3607 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3609 * conform/conformtest.py (CompileSubTest.__init__): Set
3610 self.run_early to False.
3611 (ExecuteSubTest.__init__): Likewise.
3612 (HeaderTests.run): Try running all non-optional, non-XFAILed
3613 compilation tests in a single execution of the compiler.
3615 * conform/conformtest.py (CompileSubTest): New class.
3616 (ExecuteSubTest): Likewise.
3617 (ElementTest.run): Rename to gen_subtests. Append tests to
3618 self.subtests instead of running them.
3619 (ConstantTest.run): Likewise.
3620 (SymbolTest.run): Likewise.
3621 (TypeTest.run): Likewise.
3622 (TagTest.run): Likewise.
3623 (FunctionTest.run): Likewise.
3624 (VariableTest.run): Likewise.
3625 (MacroFunctionTest.run): Likewise.
3626 (MacroStrTest.run): Likewise.
3627 (HeaderTests.handle_test_line): Generate subtests for tests.
3628 (HeaderTests.run): Run subtests for tests.
3630 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3632 * math/Versions (GLIBC_2.29): Add pow.
3633 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3635 * math/w_pow.c: New file.
3636 * sysdeps/i386/fpu/w_pow.c: New file.
3637 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3638 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3639 and add necessary aliases.
3640 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3641 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3642 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3643 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3644 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3645 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3646 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3647 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3648 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3649 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3650 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3651 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3652 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3653 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3654 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3659 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3660 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3661 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3662 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3663 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3664 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3665 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3666 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3668 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3669 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3670 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3672 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3674 * math/Versions (GLIBC_2.29): Add log2.
3675 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3677 * math/w_log2.c: New file.
3678 * sysdeps/i386/fpu/w_log2.c: New file.
3679 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3680 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3681 and add necessary aliases.
3682 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3683 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3684 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3685 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3686 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3687 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3688 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3689 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3690 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3691 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3692 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3693 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3694 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3695 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3696 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3701 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3702 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3703 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3704 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3705 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3706 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3707 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3709 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3711 * math/Versions (GLIBC_2.29): Add log.
3712 * math/w_log_compat.c (__log_compat): Change to versioned compat
3714 * math/w_log.c: New file.
3715 * sysdeps/i386/fpu/w_log.c: New file.
3716 * sysdeps/ia64/fpu/e_log.S: Update.
3717 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3718 and add necessary aliases.
3719 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3720 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3721 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3722 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3723 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3724 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3725 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3726 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3727 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3728 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3729 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3730 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3731 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3732 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3733 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3738 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3739 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3740 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3741 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3742 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3743 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3744 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3745 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3747 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3748 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3749 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3750 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3752 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3754 * math/Versions (GLIBC_2.29): Add exp and exp2.
3755 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3756 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3757 * math/w_exp_compat.c (__exp_compat): Likewise.
3758 * math/w_exp.c: New file.
3759 * math/w_exp2.c: New file.
3760 * sysdeps/i386/fpu/w_exp.c: New file.
3761 * sysdeps/i386/fpu/w_exp2.c: New file.
3762 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3763 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3764 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3765 and add necessary aliases.
3766 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3767 and add necessary aliases.
3768 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3769 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3770 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3771 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3772 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3773 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3774 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3775 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3776 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3777 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3778 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3779 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3780 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3781 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3782 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3783 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3784 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3789 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3790 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3791 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3792 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3793 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3794 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3795 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3796 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3797 (__ieee754_exp): Rename to __exp.
3798 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3799 (__ieee754_exp): Rename to __exp.
3800 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3801 (__ieee754_exp): Rename to __exp.
3802 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3804 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
3806 2018-11-20 DJ Delorie <dj@redhat.com>
3808 * malloc/malloc.c (tcache_entry): Add key field.
3809 (tcache_put): Set it.
3810 (tcache_get): Likewise.
3811 (_int_free): Check for double free in tcache.
3812 * malloc/tst-tcfree1.c: New.
3813 * malloc/tst-tcfree2.c: New.
3814 * malloc/Makefile: Run the new tests.
3815 * manual/probes.texi: Document memory_tcache_double_free probe.
3817 * dlfcn/dlerror.c (check_free): Prevent double frees.
3819 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
3821 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
3823 2018-11-20 Joseph Myers <joseph@codesourcery.com>
3825 * conform/conformtest.py (ElementTest.run): Use unique identifiers
3826 in tests. Use names for format arguments.
3827 (ConstantTest.run): Likewise.
3828 (SymbolTest.run): Likewise.
3829 (TypeTest.run): Likewise.
3830 (TagTest.run): Likewise.
3831 (FunctionTest.run): Likewise.
3832 (VariableTest.run): Likewise.
3833 (MacroFunctionTest.run): Likewise.
3834 (MacroStrTest.run): Likewise.
3835 (HeaderTests.__init__): Set self.num_tests.
3836 (HeaderTests.handle_test_line): Set test.num. Increment
3839 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3841 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
3842 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
3845 2018-11-19 Mao Han <han_mao@c-sky.com>
3847 * scripts/config.guess: Update to version 2018-08-29.
3848 * scripts/config.sub: Update to version 2018-08-29.
3850 2018-11-19 Florian Weimer <fweimer@redhat.com>
3852 support: Print timestamps in timeout handler.
3853 * support/support_test_main.c (print_timestamp): New function.
3854 (signal_handler): Use it to print the termination time and the
3855 time of the last write to standard output.
3857 2018-11-16 Zack Weinberg <zackw@panix.com>
3858 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3860 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
3861 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
3863 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
3864 and add flags argument. Check flags instead of __ldbl_is_dbl when
3865 deciding whether to set is_long_double.
3866 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
3867 passing zero for flags argument.
3868 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
3870 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3871 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
3872 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
3873 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
3874 variable names. Remove libc_hidden_def/libc_hidden_proto from
3875 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
3876 longer called from within the library.
3877 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
3878 for __nldbl___vstrfmon_l, declare it explicitly.
3880 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
3882 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
3884 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
3886 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
3887 F_SETLK64, F_SETLKW64, respectively.
3888 * sysdeps/mach/hurd/f_setlk.c: New file.
3889 * sysdeps/mach/hurd/f_setlk.h: New file.
3890 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
3892 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
3893 (__libc_fcntl): Move non-flock operations to...
3894 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
3895 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
3897 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
3899 mktime: DEBUG_MKTIME cleanup
3900 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
3901 And it’s no longer needed now that glibc and Gnulib both have
3902 their own testing mechanisms for mktime.
3903 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
3905 mktime: fix non-EOVERFLOW errno handling
3907 mktime was not properly reporting failures when the underlying
3908 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
3909 them like EOVERFLOW failures, and set errno to EOVERFLOW.
3910 The problem could happen on non-glibc platforms, with Gnulib.
3911 * time/mktime.c (guess_time_tm): Remove, replacing with ...
3912 (tm_diff): ... this simpler function, which does not change errno.
3913 All callers changed to deal with errno themselves.
3914 (ranged_convert, __mktime_internal): Return failure immediately if
3915 the underlying function reports any failure other than EOVERFLOW.
3916 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
3919 mktime: fix bug with Y2038 DST transition
3921 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
3922 mishandle a DST transition that jumps over the Y2038 boundary.
3923 No such DST transitions are known so this is only a theoretical
3924 bug, but we might as well do things right.
3926 mktime: make more room for overflow
3928 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
3929 This is so that we can add tm_diff results to a previous guess,
3930 which will be useful in a later patch.
3932 mktime: simplify offset guess
3934 * time/mktime.c (__mktime_internal): Omit excess precision.
3936 mktime: new test for mktime failure
3938 Based on a test suggested by Albert Aribaud in:
3939 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
3940 * time/Makefile (tests): Add bug-mktime4.
3941 * time/bug-mktime4.c: New file.
3943 mktime: fix EOVERFLOW bug
3945 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
3946 Include libc-config.h, not config.h, for __set_errno.
3947 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
3949 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
3951 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
3952 __attribute_copy__ to copy attributes from name. Drop static qualifier
3953 to avoid warnings about leaf attribute not having effect on static
3956 2018-11-13 Florian Weimer <fweimer@redhat.com>
3958 * malloc/malloc.c (fastbin_push_entry): New function.
3959 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
3960 (REMOVE_FB): Remove macro.
3961 (_int_malloc): Use fastbin_pop_entry and reindent.
3962 (_int_free): Use fastbin_push_entry.
3963 (malloc_consolidate): Use atomic_exchange_acquire.
3965 2018-11-13 Joseph Myers <joseph@codesourcery.com>
3967 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
3968 alias attribute, not with strong_alias.
3970 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
3971 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
3972 with additional parameter thread.
3973 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
3974 in terms of __hidden_ver2.
3975 (hidden_tls_def): New macro.
3976 (libc_hidden_tls_def): Likewise.
3977 (rtld_hidden_tls_def): Likewise.
3978 (libm_hidden_tls_def): Likewise.
3979 (libmvec_hidden_tls_def): Likewise.
3980 (libresolv_hidden_tls_def): Likewise.
3981 (librt_hidden_tls_def): Likewise.
3982 (libdl_hidden_tls_def): Likewise.
3983 (libnss_files_hidden_tls_def): Likewise.
3984 (libnsl_hidden_tls_def): Likewise.
3985 (libnss_nisplus_hidden_tls_def): Likewise.
3986 (libutil_hidden_tls_def): Likewise.
3987 (libutil_hidden_tls_def): Likweise.
3988 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
3989 libc_hidden_tls_def.
3990 (__sim_disabled_exceptions_thread): Likewise.
3991 (__sim_round_mode_thread): Likewise.
3993 * sysdeps/sparc/sparc-ifunc.h [SHARED]
3994 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
3995 copy attributes from name.
3997 2018-11-12 Joseph Myers <joseph@codesourcery.com>
3999 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4000 Use __attribute_copy__ to copy attributes from name.
4002 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4003 with __hidden_ver1 call.
4004 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4005 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4006 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4007 (__cosf): Do not declare here.
4008 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4009 (__sincosf): Do not declare here.
4010 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4011 (__sinf): Do not declare here.
4013 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4014 (__BIG_ENDIAN): Likewise.
4015 (__BYTE_ORDER): Likewise.
4016 (strong_alias): Likewise.
4017 (_strong_alias): Likewise.
4019 2018-11-12 Florian Weimer <fweimer@redhat.com>
4021 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4022 function. Move after the definition of in_smallbin_range. Do not
4023 use __builtin_expect for paths that lead to a noreturn function.
4024 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4025 because it is unclear whether this is in fact an unlikely
4027 (_int_malloc, _int_free): Adjust.
4028 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4030 * malloc/arena.c (heap_trim): Likewise.
4032 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4034 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4035 it, free it if needed.
4036 (reauthenticate): Test and use ccwdir.
4037 (child_init_port): In non-resetids case, test and use ccwdir.
4038 (child_chdir): New nested function to set ccwdir.
4039 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4040 * hurd/hurd/port.h (_hurd_port_move): New function.
4041 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4042 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4043 * hurd/Versions (_hurd_port_move): Export function.
4044 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4046 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4047 of dtablesize for allocating dtable_cloexec.
4049 2018-11-09 Martin Sebor <msebor@redhat.com>
4051 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4052 it's already defined.
4053 (_strong_alias): Use __attribute_copy__.
4054 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4055 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4056 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4057 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4058 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4059 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4060 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4061 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4062 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4063 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4064 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4065 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4066 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4067 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4068 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4069 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4070 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4071 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4072 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4074 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4076 * misc/tst-efgcvt.c: Include support/check.h and
4077 support/test-driver.c. Do not include test-skeleton.c.
4078 (error_count): Remove.
4079 (output_error): Replace increments to error_count with calls to
4080 support_record_failure.
4081 (output_r_error): Likewise.
4082 (special): Likewise.
4083 (do_test): Unconditionally return zero.
4084 (TEST_FUNCTION): Remove.
4086 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4088 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4090 ($(linknamespace-header-tests)): Likewise.
4092 * conform/conformtest.py: New file.
4093 * conform/conformtest.pl: Remove.
4094 * conform/GlibcConform.pm: Likewise.
4095 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4096 (KEYWORDS_C99): Likewise.
4097 (KEYWORDS): Likewise.
4098 * conform/Makefile ($(conformtest-header-tests)): Use
4099 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4100 option. Use --header instead of --headers.
4101 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4103 * conform/data/spawn.h-data: Likewise.
4104 * conform/data/fcntl.h-data (openat): Add space after function
4106 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4107 (wcscasecmp_l): Likewise.
4108 * conform/data/termios.h-data (c_cc): Add space after element
4111 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4113 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4114 instead of manually comparing and reporting mismatching strings.
4115 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4116 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4118 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4120 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4121 __ASSUME_SOCKETCALL.
4122 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4123 (__ASSUME_SOCKETCALL): Remove.
4124 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4125 (__ASSUME_SOCKETCALL): Likewise.
4126 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4127 (__ASSUME_SOCKETCALL): Likewise.
4128 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4129 (__ASSUME_SOCKETCALL): Likewise.
4130 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4131 (__ASSUME_SOCKETCALL): Likewise.
4132 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4133 (__ASSUME_SOCKETCALL): Likewise.
4134 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4135 (__ASSUME_SOCKETCALL): Likewise.
4137 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4140 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4141 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4142 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4143 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4144 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4147 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4150 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4152 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4155 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4156 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4157 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4158 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4160 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4162 * support/support_test_compare_string.c
4163 (support_test_compare_string): Fix printf format.
4165 2018-11-07 Florian Weimer <fweimer@redhat.com>
4167 Implement TEST_COMPARE_STRING.
4168 * support/check.h (TEST_COMPARE_STRING): Define.
4169 (support_test_compare_string): Declare.
4170 * support/Makefile (libsupport-routines): Add
4171 support_test_compare_string.
4172 (tests): Add tst-test_compare_string.
4173 * support/support_test_compare_string.c: New file.
4174 * support/tst-test_compare_string.c: Likewise.
4176 2018-11-07 Andreas Schwab <schwab@suse.de>
4179 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4180 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4183 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4186 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4187 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4188 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4189 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4192 2018-11-06 Florian Weimer <fweimer@redhat.com>
4195 * posix/Makefile (routines): Add spawn_faction_addchdir.
4196 (tests): Add tst-spawn-chdir.
4197 * posix/Versions (GLIBC_2.29): Add
4198 posix_spawn_file_actions_addchdir_np.
4199 * posix/spawn_faction_addchdir.c: New file.
4200 * posix/spawn_faction_destroy.c
4201 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4202 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4203 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4205 * posix/tst-spawn-chdir.c: New file.
4206 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4207 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4208 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4209 posix_spawn_file_actions_addchdir_np.
4210 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4212 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4214 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4215 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4217 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4219 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4221 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4223 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4225 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4227 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4228 (GLIBC_2.29): Likewise.
4229 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4230 (GLIBC_2.29): Likewise.
4231 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4232 (GLIBC_2.29): Likewise.
4233 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4234 (GLIBC_2.29): Likewise.
4235 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4238 (GLIBC_2.29): Likewise.
4239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4240 (GLIBC_2.29): Likewise.
4241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4242 (GLIBC_2.29): Likewise.
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4244 (GLIBC_2.29): Likewise.
4245 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4247 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4249 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4251 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4252 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4254 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4256 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4258 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4261 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4263 * misc/Makefile (tests): Add tst-ldbl-error.
4264 * misc/tst-ldbl-error.c: New file.
4266 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4268 * misc/Makefile (tests): Add tst-ldbl-warn.
4269 * misc/tst-ldbl-warn.c: New file.
4271 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4273 * argp/Makefile (tests): Add tst-ldbl-argp.
4274 * argp/tst-ldbl-argp.c: New file.
4276 2018-11-05 Arjun Shankar <arjun@redhat.com>
4278 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4279 __gconv_path_elem and call __gconv_get_path unconditionally.
4281 2018-11-05 Andreas Schwab <schwab@suse.de>
4284 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4285 creating the first helper thread failed.
4287 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4289 * sysdeps/mach/hurd/msync.c: New file.
4291 2018-11-02 Florian Weimer <fweimer@redhat.com>
4293 * support/shell-container.c (copy_func): Call
4294 support_copy_file_range instead of copy_file_range to support
4295 cross-device copies.
4297 2018-11-02 Florian Weimer <fweimer@redhat.com>
4299 * support/test-container.c: Include <libc-pointer-arith.h> for
4302 2018-11-01 Zong Li <zong@andestech.com>
4304 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4305 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4306 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4307 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4309 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4310 variable to avoid overlap arguments.
4312 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4314 * posix/bug-regex22.c (main): Use puts with distinct error
4315 messages for unexpected success of re_compile_pattern, not printf
4316 with NULL argument to %s.
4318 * stdio-common/bug22.c: Include <libc-diag.h>.
4319 (do_test): Disable -Wformat-overflow= warnings around fprintf
4320 calls outputting more than INT_MAX characters.
4321 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4322 around printf call with NULL %s argument.
4325 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4326 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4328 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4329 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4330 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4331 (__ASSUME_SENDTO_SYSCALL): Likewise.
4332 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4333 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4335 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4336 (__ASSUME_CONNECT_SYSCALL): Likewise.
4337 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4338 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4339 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4341 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4343 [__LINUX_KERNEL_VERSION >= 0x040400]
4344 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4345 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4348 (setsockopt): Likewise.
4350 2018-11-01 Fredrik Noring <noring@nocrew.org>
4352 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4353 with the ISA override.
4355 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4357 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4360 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4362 * manual/errno.texi (EIEIO): Document how translators should
4363 translate the error message.
4364 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4365 printing trailing whitespaces refused by git.
4366 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4367 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4368 * hurd/Makefile (user-interfaces): Add pci.
4370 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4372 * conform/linknamespace.py: New file.
4373 * conform/linknamespace.pl: Remove file.
4374 * conform/Makefile ($(linknamespace-header-tests)): Use
4375 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4378 2018-10-30 Florian Weimer <fweimer@redhat.com>
4380 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4383 2018-10-30 Florian Weimer <fweimer@redhat.com>
4385 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4387 2018-10-30 Florian Weimer <fweimer@redhat.com>
4389 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4390 support_blob_repeat.
4392 2018-10-30 Florian Weimer <fweimer@redhat.com>
4394 Avoid spurious test failures in stdlib/test-bz22786.
4395 * support/Makefile (libsupport-routines): Add blob_repeat.
4396 (tests): Add tst-support_blob_repeat.
4397 * support/blob_repeat.h: New file.
4398 * support/blob_repeat.c: Likewise.
4399 * support/tst-support_blob_repeat.c: Likewise.
4400 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4401 support_blob_repeat_allocate.
4403 2018-10-30 Andreas Schwab <schwab@suse.de>
4406 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4407 Don't use tail call.
4408 * elf/tst-unwind-main.c: New file.
4409 * elf/Makefile (tests): Add tst-unwind-main.
4410 (CFLAGS-tst-unwind-main.c): Define.
4412 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4415 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4417 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4419 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4421 * conform/glibcconform.py: Do not import shutil.
4422 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4425 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4426 critic_missing for versions before 3.4.
4427 * configure: Regenerated.
4428 * manual/install.texi (Tools for Compilation): Document
4429 requirement for Python to build glibc.
4430 * INSTALL: Regenerated.
4431 * Rules [PYTHON]: Make code unconditional.
4432 * benchtests/Makefile [PYTHON]: Likewise.
4433 * conform/Makefile [PYTHON]: Likewise.
4434 * manual/Makefile [PYTHON]: Likewise.
4435 * math/Makefile [PYTHON]: Likewise.
4437 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4439 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4440 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4441 answer to interrupt_operation, return EIEIO instead of EINTR.
4442 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4443 _hurd_intr_rpc_msg_about_to global point to start of controlled
4444 assembly snippet. Make it check canceled flag.
4445 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4446 the _hurd_intr_rpc_msg_about_to point.
4447 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4448 issue, remove cancel flag check.
4450 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4452 * scripts/build-many-glibcs.py: Remove compatibility for missing
4453 os.cpu_count and re.fullmatch.
4455 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4458 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4459 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4460 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4462 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4464 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4467 2018-10-25 Florian Weimer <fweimer@redhat.com>
4471 XFAIL siginfo_t si_band conform test on sparc64.
4472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4473 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4474 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4475 (conformtest-xfail-conds): Add sparc64-linux.
4476 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4478 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4480 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4482 * elf/elf.h (NT_MIPS_DSP): New macro.
4483 (NT_MIPS_FP_MODE): Likewise.
4485 2018-10-25 Zong Li <zong@andestech.com>
4487 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4488 name by adding the file extension (.so).
4490 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4492 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4493 (test-xfail-ISO11/threads.h/linknamespace,
4494 test-xfail-ISO11/threads.h/conform): Add.
4496 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4498 * math/gen-libm-test.py: Import os.
4499 (ALL_FLOATS_MANUAL): New constant.
4500 (ALL_FLOATS_SUFFIX): Likewise.
4501 (Ulps.all_functions): New function.
4502 (real_all_ulps): Likewise.
4503 (generate_err_table_sub): Likewise.
4504 (generate_err_table): Likewise.
4505 (main): Handle -s and -m options.
4506 * manual/libm-err-tab.pl: Remove.
4507 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4508 instead of libm-err-tab.pl.
4509 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4511 * manual/install.texi (Tools for Compilation): Document
4512 requirement for Python to build manual.
4513 * INSTALL: Regenerated.
4515 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4517 * bits/time64.h: New file.
4518 * include/time.h: Replace internal_time_t with __time64_t.
4519 * posix/bits/types (__time64_t): Add.
4520 * stdlib/Makefile: Add bits/time64.h to includes.
4521 * time/tzfile.c: Replace internal_time_t with __time64_t.
4523 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4525 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4526 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4527 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4528 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4529 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4531 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4532 * posix/spawn_faction_addclose.c
4533 (__posix_spawn_file_actions_addclose): Add hidden definition.
4534 * posix/spawn_faction_adddup2.c
4535 (__posix_spawn_file_actions_adddup2): Likewise.
4536 * posix/spawn_faction_destroy.c
4537 (__posix_spawn_file_actions_destroy): Likewise.
4538 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4540 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4541 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4542 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4544 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4545 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4548 2018-10-24 Andreas Schwab <schwab@suse.de>
4551 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4553 * elf/cache.c (print_cache): Likewise.
4555 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4557 * bits/timesize.h: New file.
4558 * stdlib/Makefile (headers): Add bits/timesize.h.
4559 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4560 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4561 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4562 (__SEM_PAD_AFTER_TIME): Likewise.
4563 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4564 (__SHM_PAD_AFTER_TIME): Likewise.
4565 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4566 (__MSQ_PAD_BEFORE_TIME): Likewise.
4567 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4568 (__SEM_PAD_BEFORE_TIME): Likewise.
4569 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4570 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4571 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4572 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4573 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4574 (__MSQ_PAD_BEFORE_TIME): Likewise.
4575 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4576 (__SEM_PAD_BEFORE_TIME): Likewise.
4577 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4578 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4579 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4580 (__MSQ_PAD_BEFORE_TIME): Likewise.
4581 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4582 (__SEM_PAD_BEFORE_TIME): Likewise.
4583 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4584 (__SHM_PAD_BEFORE_TIME): Likewise.
4585 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4586 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4587 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4589 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4591 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4592 USE_RDTSCP is defined.
4593 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4594 USE_RDTSCP is defined.
4596 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4598 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4602 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4603 independently of other flags.
4605 2018-10-23 Florian Weimer <fweimer@redhat.com>
4607 * time/tst-mktime2.c (N_STRINGS): Remove.
4608 (set_timezone): New function.
4609 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4610 (mktime_test1): Report localtime failure and check errno value.
4612 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4613 (do_test): Remove alarm call. Use set_timezone and array_length.
4615 2018-10-23 Andreas Schwab <schwab@suse.de>
4617 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4618 (__start_context): Use END instead of PSEUDO_END.
4620 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4622 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4625 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4629 * wcsmbs/c32rtomb.c: New file.
4630 * wcsmbs/mbrtoc32.c: Likewise.
4631 * wcsmbs/tst-c32-state.c: Likewise.
4632 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4633 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4634 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4635 (tests): Add tst-c32-state.
4636 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4639 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4641 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4642 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4644 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4647 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4648 pair and return 0 in that case, and use saved character to
4649 interpret following character.
4650 * wcsmbs/tst-c16-surrogate.c: New file.
4651 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4652 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4653 Depend on $(gen-locales)
4655 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4658 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4659 (struct siginfo_t): Use correct type for si_band.
4661 2018-10-19 Florian Weimer <fweimer@redhat.com>
4664 * resource/bits/types/struct_rusage.h (struct rusage): Update
4665 comment on struct. Remove extraneous field comment.
4667 2018-10-18 David S. Miller <davem@davemloft.net>
4669 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4670 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4671 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4672 sysdep_routines in subdir elf.
4673 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4674 version for __vdso_clock_gettime.
4675 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4677 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4678 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4680 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4682 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4684 * sysdeps/i386/init-arch.h: Removed.
4685 * sysdeps/i386/i586/init-arch.h: Likewise.
4686 * sysdeps/i386/i686/init-arch.h: Likewise.
4687 * sysdeps/i386/i686/hp-timing.h: Likewise.
4688 * sysdeps/x86_64/hp-timing.h: Likewise.
4689 * sysdeps/i386/isa.h: New file.
4690 * sysdeps/i386/i586/isa.h: Likewise.
4691 * sysdeps/i386/i686/isa.h: Likewise.
4692 * sysdeps/x86_64/isa.h: Likewise.
4693 * sysdeps/x86/hp-timing.h: New file.
4694 * sysdeps/x86/init-arch.h: Include <isa.h>.
4696 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4698 * math/libm-test-pow.inc (pow_test_data): Do not allow
4699 divide-by-zero exception for pow(+/- 0, -Inf).
4701 2018-10-17 Zack Weinberg <zackw@panix.com>
4703 * manual/job.texi (Job Control is Optional): Remove node, as
4704 job control has not been optional in quite some time.
4705 (Job Control): Mention briefly that systems older than
4706 POSIX.1-2001 might not support job control.
4707 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4708 defined on systems conforming to POSIX.1-2001.
4710 2018-10-17 Arjun Shankar <arjun@redhat.com>
4713 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4715 * (__gconv_read_conf): Mark function static.
4716 * (once): New static variable.
4717 * (__gconv_load_conf): New function.
4718 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4719 * iconv/gconv_db.c (once): Remove static variable.
4720 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4722 * (__gconv_find_transform): Likewise.
4723 * iconv/tst-iconv-mt.c: New test.
4724 * iconv/Makefile: Add tst-iconv_mt.
4726 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4730 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4731 (shmatt_t): Define as __syscall_ulong_t.
4732 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4733 and [__SHM_PAD_AFTER_TIME].
4734 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4735 Define shm_segsz and associated padding based on
4736 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4737 Use __syscall_ulong_t instead of unsigned long int.
4738 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4740 [__USE_MISC] (struct shm_info): Likewise.
4741 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4742 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4743 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4744 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4745 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4746 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4747 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4748 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4749 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4750 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4751 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4755 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4756 (SHMLBA): Remove macro.
4757 (__getpagesize): Remove function declaration.
4758 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4760 (SHMLBA): Remove macro.
4761 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4763 (SHMLBA): Remove macro.
4764 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4766 (SHMLBA): Remove macro.
4767 (__getpagesize): Remove function declaration.
4768 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4770 (SHMLBA): Remove macro.
4771 (__getshmlba): Remove function declaration.
4772 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4773 (SHMLBA): Remove macro.
4774 (__getpagesize): Remove function declaration.
4775 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4776 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4777 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4778 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4779 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4780 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4781 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4782 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4783 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4784 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4786 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4789 * nptl/tst-mutex10.c: New File.
4790 * nptl/Makefile (tests): Add tst-mutex10.
4791 (tst-mutex10-ENV): New variable.
4792 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4793 Ensure that elision path is used if elision is available.
4794 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4796 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4798 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4799 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4800 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4801 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4803 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4804 (__pthread_mutex_cond_lock_adjust): Likewise.
4805 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4807 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
4808 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4809 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4810 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
4812 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4813 Use atomic_load_relaxed and atomic_store_relaxed.
4814 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
4815 Use atomic_store_relaxed.
4817 2018-10-17 Andreas Schwab <schwab@suse.de>
4819 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
4820 * crypt/badsalttest.c (TIMEOUT): Likewise.
4821 * crypt/sha256c-test.c (TIMEOUT): Likewise.
4822 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
4823 * io/test-lfs.c (TIMEOUT): Likewise.
4824 * libio/tst-atime.c (TIMEOUT): Likewise.
4825 * localedata/tst-leaks.c (TIMEOUT): Likewise.
4826 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
4827 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
4828 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
4829 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
4830 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
4831 * nptl/tst-cond11.c (TIMEOUT): Likewise.
4832 * nptl/tst-cond14.c (TIMEOUT): Likewise.
4833 * nptl/tst-cond15.c (TIMEOUT): Likewise.
4834 * nptl/tst-cond24.c (TIMEOUT): Likewise.
4835 * nptl/tst-cond25.c (TIMEOUT): Likewise.
4836 * nptl/tst-kill2.c (TIMEOUT): Likewise.
4837 * nptl/tst-kill3.c (TIMEOUT): Likewise.
4838 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
4839 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
4840 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
4841 * nptl/tst-once2.c (TIMEOUT): Likewise.
4842 * nptl/tst-once3.c (TIMEOUT): Likewise.
4843 * nptl/tst-once4.c (TIMEOUT): Likewise.
4844 * nptl/tst-robust8.c (TIMEOUT): Likewise.
4845 * nptl/tst-robust9.c (TIMEOUT): Likewise.
4846 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
4847 * nptl/tst-sem14.c (TIMEOUT): Likewise.
4848 * nptl/tst-sem6.c (TIMEOUT): Likewise.
4849 * nptl/tst-signal3.c (TIMEOUT): Likewise.
4850 * nptl/tst-spin4.c (TIMEOUT): Likewise.
4851 * nptl/tst-tls3.c (TIMEOUT): Likewise.
4852 * nptl/tst-tls4.c (TIMEOUT): Likewise.
4853 * posix/tst-chmod.c (TIMEOUT): Likewise.
4854 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
4855 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
4856 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
4857 * posix/tst-regex2.c (TIMEOUT): Likewise.
4858 * posix/tst-waitid.c (TIMEOUT): Likewise.
4859 * rt/tst-aio.c (TIMEOUT): Likewise.
4860 * rt/tst-aio10.c (TIMEOUT): Likewise.
4861 * rt/tst-aio4.c (TIMEOUT): Likewise.
4862 * rt/tst-aio5.c (TIMEOUT): Likewise.
4863 * rt/tst-aio6.c (TIMEOUT): Likewise.
4864 * rt/tst-aio64.c (TIMEOUT): Likewise.
4865 * rt/tst-aio7.c (TIMEOUT): Likewise.
4866 * rt/tst-aio9.c (TIMEOUT): Likewise.
4867 * rt/tst-clock.c (TIMEOUT): Likewise.
4868 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
4869 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
4870 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
4871 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
4872 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
4873 * rt/tst-timer4.c (TIMEOUT): Likewise.
4874 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
4875 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
4876 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
4877 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
4878 * time/tst-ftime.c (TIMEOUT): Likewise.
4879 * timezone/tst-tzset.c (TIMEOUT): Likewise.
4881 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4883 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
4884 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
4887 2018-10-15 Joseph Myers <joseph@codesourcery.com>
4889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4891 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
4892 instead of <bits/wordsize.h>.
4893 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
4894 and [__SEM_PAD_AFTER_TIME].
4895 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
4896 __syscall_ulong_t instead of unsigned long int.
4897 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
4898 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
4899 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
4900 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
4901 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
4902 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
4903 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
4904 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
4905 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4906 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4907 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4909 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
4911 regex: simplify by using intprops.h
4913 * posix/regex_internal.h [_LIBC]: Include intprops.h.
4914 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
4915 intprops.h defines them.
4917 regex: __builtin_expect → __glibc_unlikely
4919 This refactoring was prompted by a problem when the regex code is
4920 used as part of Gnulib and when the builder’s compiler does not grok
4921 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
4922 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
4923 Although this refactoring does not fix the problem directly,
4924 we might as well have Gawk use the now-preferred glibc style for when
4925 __builtin_expect is unavailable.
4926 * posix/regex_internal.h (BE): Remove.
4927 All uses replaced by __glibc_unlikely or __glibc_likely.
4929 2018-10-11 Joseph Myers <joseph@codesourcery.com>
4931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4933 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
4934 instead of <bits/wordsize.h>.
4935 (msgqnum_t): Define as __syscall_ulong_t.
4936 (msglen_t): Likewise.
4937 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
4938 and [__MSQ_PAD_AFTER_TIME].
4939 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
4940 __syscall_ulong_t instead of unsigned long int.
4941 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
4942 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
4943 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
4944 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
4945 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
4946 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
4947 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
4948 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
4949 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4950 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4951 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4953 2018-10-10 Joseph Myers <joseph@codesourcery.com>
4955 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
4956 (struct shmid_ds): Condition padding after time fields on
4958 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
4959 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
4960 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4962 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
4963 (struct semid_ds): Condition padding after time fields on
4965 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
4966 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
4967 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
4968 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4970 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
4971 (struct msqid_ds): Condition padding after time fields on
4973 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
4974 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
4975 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
4976 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4978 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4980 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
4982 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4984 * libio/tst-readline.c (TIMEOUT): Define.
4986 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
4988 mktime fix for Gnulib + coreutils
4990 This fix affects only Gnulib. Problem discovered when
4991 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
4993 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
4994 Do not define since it is not used. Defining an unused static
4995 function prompts a warning from GCC when Coreutils is configured
4996 with --enable-gcc-warnings.
4998 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5000 * benchtests/scripts/compare_bench.py (main): set float type on
5003 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5006 * localedata/locales/kl_GL (mon): Update, the relative case.
5007 (alt_mon): Add, fill with month names in the nominative case.
5008 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5009 (d_fmt): Set to "%b %d %Y".
5011 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5013 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5014 <bits/mman-linux.h>.
5015 (PROT_READ): Don't define here.
5016 (PROT_WRITE): Likewise.
5017 (PROT_EXEC): Likewise.
5018 (PROT_NONE): Likewise.
5019 (PROT_GROWSDOWN): Likewise.
5020 (PROT_GROWSUP): Likewise.
5021 (MAP_SHARED): Likewise.
5022 (MAP_PRIVATE): Likewise.
5023 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5024 [__USE_MISC] (MAP_FILE): Likewise.
5025 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5026 [__USE_MISC] (MAP_ANON): Likewise.
5027 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5028 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5029 (MCL_CURRENT): Likewise.
5030 (MCL_FUTURE): Likewise.
5031 (MCL_ONFAULT): Likewise.
5032 [__USE_MISC] (MADV_NORMAL): Likewise.
5033 [__USE_MISC] (MADV_RANDOM): Likewise.
5034 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5035 [__USE_MISC] (MADV_WILLNEED): Likewise.
5036 [__USE_MISC] (MADV_DONTNEED): Likewise.
5037 [__USE_MISC] (MADV_FREE): Likewise.
5038 [__USE_MISC] (MADV_REMOVE): Likewise.
5039 [__USE_MISC] (MADV_DONTFORK): Likewise.
5040 [__USE_MISC] (MADV_DOFORK): Likewise.
5041 [__USE_MISC] (MADV_HWPOISON): Likewise.
5042 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5043 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5044 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5045 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5046 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5047 (__MAP_ANONYMOUS): New macro.
5048 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5049 <bits/mman-linux.h> inclusion.
5050 (MAP_FIXED): Likewise.
5051 (MS_SYNC): Likewise.
5052 (MS_ASYNC): Likewise.
5053 (MS_INVALIDATE): Likewise.
5054 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5055 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5056 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5057 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5058 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5059 [__USE_MISC] (MADV_DODUMP): Likewise.
5060 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5061 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5064 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5066 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5067 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5068 Add test-nldbl-redirect.
5069 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5070 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5071 $(objpfx)libnldbl_nonshared.a.
5073 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5075 * support/support.h (support_objdir_elf_ldso): New variable.
5076 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5077 * support/Makefile (CFLAGS-support_paths.c): Add definition
5078 for OBJDIR_ELF_LDSO_PATH.
5079 * support/test-container.c (main): Search for the ld.so
5080 which is also used by the testsuite.
5082 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5085 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5086 should be "sap" rather than "sab".
5087 (day): Fix spelling of Sunday, should be "sapaat" rather than
5090 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5092 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5094 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5097 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5098 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5099 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5101 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5103 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5105 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5107 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5109 (CFLAGS-elision-unlock.c): Likewise.
5110 (CFLAGS-elision-timed.c): Likewise.
5111 (CFLAGS-elision-trylock.c): Likewise.
5112 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5114 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5117 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5118 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5119 new fd_to_filename interface.
5120 * libio/freopen64.c (freopen64): Likewise.
5121 * libio/tst-memstream.h: New file.
5122 * libio/tst-memstream4.c: Likewise.
5123 * libio/tst-wmemstream4.c: Likewise.
5124 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5125 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5126 and remove internal dynamic allocation.
5128 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5130 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5131 (MREMAP_MAYMOVE): Do not define here.
5132 [__USE_GNU] (MREMAP_FIXED): Likewise.
5133 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5134 (MREMAP_MAYMOVE): Define here instead.
5135 [__USE_GNU] (MREMAP_FIXED): Likewise.
5136 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5137 (MREMAP_MAYMOVE): Remove.
5138 [__USE_GNU] (MREMAP_FIXED): Likewise.
5140 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5142 * math/fromfp.h: Do not include <math_private.h>.
5143 * math/s_cacosh_template.c: Likewise.
5144 * math/s_casin_template.c: Likewise.
5145 * math/s_casinh_template.c: Likewise.
5146 * math/s_ccos_template.c: Likewise.
5147 * math/s_cproj_template.c: Likewise.
5148 * math/s_fdim_template.c: Likewise.
5149 * math/s_fmaxmag_template.c: Likewise.
5150 * math/s_fminmag_template.c: Likewise.
5151 * math/s_iseqsig_template.c: Likewise.
5152 * math/s_ldexp_template.c: Likewise.
5153 * math/s_nextdown_template.c: Likewise.
5154 * math/w_log1p_template.c: Likewise.
5155 * math/w_scalbln_template.c: Likewise.
5156 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5157 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5158 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5159 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5160 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5161 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5162 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5163 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5164 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5165 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5166 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5167 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5168 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5169 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5170 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5171 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5172 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5173 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5174 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5175 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5176 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5177 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5178 * sysdeps/ieee754/k_standardf.c: Likewise.
5179 * sysdeps/ieee754/k_standardl.c: Likewise.
5180 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5181 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5182 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5183 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5184 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5185 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5187 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5188 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5189 * sysdeps/ieee754/s_signgam.c: Likewise.
5190 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5191 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5192 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5193 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5194 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5195 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5196 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5197 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5198 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5199 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5200 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5201 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5202 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5203 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5204 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5205 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5206 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5207 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5208 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5209 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5210 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5211 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5212 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5213 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5214 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5215 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5216 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5217 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5218 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5219 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5220 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5221 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5222 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5223 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5224 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5225 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5226 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5228 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5230 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5233 * sysdeps/i386/dl-cet.c: Removed.
5234 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5236 (_dl_runtime_profile_shstk): Likewise.
5237 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5238 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5240 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5243 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5244 do_test_with_invalid_iov): New tests.
5245 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5246 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5247 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5249 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5250 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5251 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5253 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5255 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5256 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5257 (MATH_REDIRECT_BINARY_ARGS): New macro.
5258 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5259 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5260 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5262 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5264 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5265 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5266 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5267 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5268 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5275 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5276 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5281 * sysdeps/generic/math_private_calls.h
5282 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5283 Do not declare and define as an inline function.
5284 * math/divtc3.c (__divtc3): Use copysign functions instead of
5285 __copysign variants.
5286 * math/multc3.c (__multc3): Likewise.
5287 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5288 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5289 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5290 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5292 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5293 (__ieee754_yn): Likewise.
5294 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5295 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5296 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5297 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5298 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5300 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5301 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5303 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5305 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5307 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5308 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5310 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5311 (__ieee754_ynf): Likewise.
5312 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5313 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5314 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5315 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5317 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5318 (__ieee754_ynl): Likewise.
5319 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5320 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5321 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5323 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5324 (__ieee754_ynl): Likewise.
5325 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5326 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5328 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5330 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5332 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5333 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5334 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5335 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5336 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5338 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5339 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5340 using MATH_REDIRECT.
5341 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5343 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5346 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5347 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5348 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5349 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5354 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5355 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5356 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5357 (round): Redirect to __round.
5358 (__roundl): Call round instead of __round.
5359 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5361 [_ARCH_PWR5X] (__roundf): Likewise.
5362 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5363 functions instead of __round variants.
5364 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5365 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5367 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5369 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5371 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5372 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5374 (__ieee754_expl): Call roundl instead of __roundl.
5376 2018-09-27 Andreas Schwab <schwab@suse.de>
5379 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5380 (do_test): Make st1 static.
5382 2018-09-26 Andreas Schwab <schwab@suse.de>
5385 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5386 * elf/Makefile (tests): Add tst-unwind-ctor.
5387 (modules-names): Add tst-unwind-ctor-lib.
5388 ($(objpfx)tst-unwind-ctor): Depend on
5389 $(objpfx)tst-unwind-ctor-lib.so.
5391 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5393 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5394 file. Most contents moved from ....
5395 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5396 and include <bits/mman-map-flags-generic.h>.
5397 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5398 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5399 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5400 <bits/mman-map-flags-generic.h>.
5401 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5402 macros defined in <bits/mman-map-flags-generic.h>.
5403 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5404 <bits/mman-map-flags-generic.h>.
5405 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5406 defined in <bits/mman-map-flags-generic.h>.
5408 2018-09-26 Andreas Schwab <schwab@suse.de>
5410 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5413 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5414 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5415 Fangrui Song <maskray@google.com>
5418 * config.make.in (have-textrel_ifunc): New define.
5419 * configure.ac: Add check if linker supports textrel relocation with
5421 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5423 (CFLAGS-tst-ifunc-textrel.c): New rule.
5424 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5425 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5426 * elf/tst-ifunc-textrel.c: New file.
5428 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5430 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5431 <bits/procfs-prregset.h>.
5432 (prgregset_t): Define using __prgregset_t.
5433 (prfpregset_t): Define using __prfpregset_t.
5434 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5435 (sysdep_headers): Add bits/procfs-prregset.h.
5436 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5437 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5438 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5439 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5441 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5442 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5443 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5445 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5446 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5447 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5448 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5449 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5450 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5451 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5452 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5453 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5454 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5455 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5456 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5457 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5458 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5459 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5460 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5461 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5462 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5463 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5464 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5465 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5466 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5467 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5468 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5470 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5471 AArch64 version. Include <bits/procfs.h>.
5472 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5473 (sysdep_headers): Add bits/procfs.h.
5474 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5475 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5476 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5477 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5478 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5479 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5480 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5481 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5482 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5483 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5484 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5485 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5486 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5487 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5488 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5489 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5490 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5492 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5494 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5497 2018-09-25 Arjun Shankar <arjun@redhat.com>
5499 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5500 (__gconv_max_path_elem_len): Likewise.
5501 (__gconv_nmodules): Likewise.
5502 (__gconv_get_path): Likewise.
5503 (path_elem): Move to ...
5504 * iconv/gconv_conf.c: ... here.
5505 (__gconv_get_path): Mark function static.
5506 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5507 * iconv/gconv_open.c: ... here.
5509 2018-09-24 Andreas Schwab <schwab@suse.de>
5511 * scripts/haveversions.awk: New file.
5512 * Makerules ($(common-objpfx)Versions.def)
5513 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5514 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5516 * Makeconfig ($(common-objpfx)Versions.def)
5517 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5518 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5520 ($(common-objpfx)Versions.mk): New rule. Include it.
5521 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5522 Emit error if build-obsolete-nsl = yes.
5523 * manual/install.texi (Configuring and compiling): Describe
5524 --enable-obsolete-nsl as unavaiable after version 2.28.
5525 * INSTALL: Regenerate.
5527 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5529 * NEWS: Add note about new TLE support on powerpc64le.
5530 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5531 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5533 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5534 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5535 * sysdeps/powerpc/powerpc32/sysdep.h,
5536 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5537 ABORT_TRANSACTION): Remove macros.
5538 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5539 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5540 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5542 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5543 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5545 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5547 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5550 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5551 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5552 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5553 which is the same as in it_IT.
5554 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5555 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5557 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5559 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5560 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5561 using MATH_REDIRECT.
5562 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5564 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5565 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5566 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5567 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5568 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5574 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5575 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5576 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5577 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5578 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5579 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5580 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5581 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5582 (ceil): Redirect to __ceil.
5583 (floor): Redirect to __floor.
5584 (trunc): Redirect to __trunc.
5585 (__truncl): Call trunc instead of __trunc.
5586 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5588 [_ARCH_PWR5X] (__truncf): Likewise.
5589 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5590 trunc functions instead of __trunc variants.
5591 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5593 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5595 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5597 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5600 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5601 [__i586__ || __pentium__].
5602 [__i486__]: Handle explicitly.
5603 (HAS_CPUID): Define to 1 if above macros are undefined.
5604 (HAS_I586): Likewise.
5605 (HAS_I686): Likewise.
5607 2018-09-20 Florian Weimer <fweimer@redhat.com>
5609 * misc/tst-gethostid.c: New file.
5610 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5611 (tst-gethostid): Link with -ldl.
5613 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5615 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5616 value from gethostbyname_r.
5618 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5620 * stdlib/tst-setcontext9.c (f1): Rename to...
5622 (f1b): New function implementing lower half of f1 in alternate stack.
5624 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5626 Fix mktime localtime offset confusion
5628 * include/time.h (__mktime_internal): The localtime offset is now
5629 of type long int instead of time_t. This is the longstanding type
5630 in glibc, and it is more than enough to represent difference
5631 between localtime and gmtime even if it is 32 bits and time_t is
5632 64. Changing it now will let us avoid an unnecessary change when
5633 time_t is widened to 64 bits on 32-bit platforms.
5634 * time/mktime-internal.h (mktime_offset_t): Now long int.
5636 Merge mktime, timegm from upstream Gnulib
5637 [BZ #23603][BZ #16346]
5638 This fixes some obscure problems with integer overflow.
5639 Although it looks scary, it is almost all a byte-for-byte copy
5640 from Gnulib, and the Gnulib code has been tested reasonably well.
5641 * include/intprops.h: New file, copied from Gnulib.
5642 * include/verify.h, time/mktime-internal.h:
5643 New tiny files, simplified from Gnulib.
5644 * time/mktime.c: Copy from Gnulib. This has the following changes:
5645 Do not include config.h if DEBUG_MKTIME is nonzero.
5646 Include stdbool.h, intprops.h, verify.h.
5647 Include string.h only if needed.
5648 Include stdlib.h on MS-Windows.
5649 Include mktime-internal.h.
5650 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5651 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5652 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5653 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5654 simplify later conditionals; default the others to zero. Use
5655 these conditionals to express only the code needed on the current
5656 platform. In uses of these conditionals, explicitly spell out how
5657 _LIBC affects things, so it’s easier to review from a glibc
5659 (WRAPV): Remove; no longer needed now that we have
5660 systematic overflow checking.
5661 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5662 compartmentalize tzset issues. Move system-dependent tzsettish
5663 code here from mktime.
5664 (verify): Remove; now done by verify.h. All uses changed.
5665 (long_int): Use a more-conservative definition, to avoid
5667 (SHR): Remove, replacing with ...
5668 (shr): New function, which means we needn’t worry about side
5669 effects in args, and conversion analysis is simpler.
5670 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5671 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5672 (time_t_avg, time_t_add_ok): Remove.
5673 (mktime_min, mktime_max): New constants.
5674 (leapyear, isdst_differ): Use bool for booleans.
5675 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5676 Use long_int, not time_t, for mktime differences.
5677 (long_int_avg): New function, replacing time_t_avg.
5678 INT_ADD_WRAPV replaces time_t_add_ok.
5679 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5681 (convert_time): New function.
5682 (ranged_convert): Use it.
5683 (__mktime_internal): Last arg now points to mktime_offset_t, not
5684 time_t. All uses changed. This is a no-op on glibc, where
5685 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5686 offset guess. Directly check for integer overflow instead of
5687 using a heuristic that works only 99.9...% of the time.
5688 Access *OFFSET only once, to avoid an unlikely race if the
5689 compiler delays a load and if this cascades into a signed integer
5691 (mktime): Move tzsettish code to my_tzset, and move
5692 localtime_offset to within mktime so that it doesn’t
5693 need a separate ifdef.
5694 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5695 instead of localtime.
5696 * time/timegm.c: Copy from Gnulib. This has the following changes:
5697 Include mktime-internal.h.
5698 [!_LIBC]: Include config.h and time.h. Do not include
5699 timegm.h or time_r.h. Make __mktime_internal a macro,
5700 and include mktime-internal.h to get its declaration.
5701 (timegm): Temporary is now mktime_offset_t, not time_t.
5702 This affects only Gnulib.
5704 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5707 * string/test-strstr.c (pr23637): New function.
5708 (test_main): Add tests with longer needles.
5709 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5710 * string/strstr.c (AVAILABLE): Likewise.
5712 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5714 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5716 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5718 * NEWS: Mention pow improvements.
5719 * math/Makefile (type-double-routines): Add e_pow_log_data.
5720 * sysdeps/generic/math_private.h (__exp1): Remove.
5721 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5722 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5723 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5725 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5726 (exp_inline): Remove.
5727 (__ieee754_exp): Only single double input is handled.
5728 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5729 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5730 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5731 (__pow_log_data): Define.
5732 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5733 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5734 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5735 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5737 (CFLAGS-e_pow-fma4.c): Likewise.
5739 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5741 Simplify tzfile fstat failure code
5743 * time/tzfile.c (__tzfile_read): Simplify slightly.
5745 Fix tzfile low-memory assertion failure
5747 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5748 when registering time zone abbreviations.
5750 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5752 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5753 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5754 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5755 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5756 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5757 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5758 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5759 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5760 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5762 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5764 (__ceill): Call ceil instead of __ceil.
5765 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5767 (__floorl): Call floor instead of __floor.
5769 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5771 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5772 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5773 using MATH_REDIRECT.
5774 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5776 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5777 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5778 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5779 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5781 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5782 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5783 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5788 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5789 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5792 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5793 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5794 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5796 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5797 functions instead of __ceil variants.
5798 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5799 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5801 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5803 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5804 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5806 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5807 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5810 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
5812 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
5813 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
5814 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
5815 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
5816 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
5817 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
5818 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
5819 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
5820 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
5821 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
5822 (ILL_BADIADDR): Remove constant.
5823 (TRAP_BRANCH): Likewise.
5824 (TRAP_HWBKPT): Likewise.
5826 2018-09-14 Joseph Myers <joseph@codesourcery.com>
5829 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
5830 Remove [_MIPS_SIM = _ABIN32] conditional case.
5831 (struct elf_prpsinfo): Likewise.
5834 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
5835 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
5836 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
5838 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
5839 elf_prpsinfo): Likewise.
5840 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
5841 elf_prpsinfo): Likewise.
5842 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
5845 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5846 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
5847 using MATH_REDIRECT.
5848 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
5850 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
5851 * sysdeps/alpha/fpu/s_rint.c: Likewise.
5852 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
5853 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5854 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5855 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5856 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
5857 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5858 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5859 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5860 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
5861 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
5862 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
5863 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5864 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5865 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5866 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5867 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
5868 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5871 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
5872 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
5873 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5874 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5875 * sysdeps/x86_64/fpu/math_private.h: Remove file.
5876 * math/e_scalb.c (invalid_fn): Use rint functions instead of
5878 * math/e_scalbf.c (invalid_fn): Likewise.
5879 * math/e_scalbl.c (invalid_fn): Likewise.
5880 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5882 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5884 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5885 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
5886 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5888 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5890 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5892 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
5893 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
5895 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5896 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
5898 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5899 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
5900 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5901 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
5902 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5903 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
5904 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5905 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
5906 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5907 && !NO_MATH_REDIRECT] (floor): Likewise.
5908 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
5910 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5913 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
5914 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5915 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5916 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5917 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
5919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
5921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
5922 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5923 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5926 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5927 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5928 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
5930 [_ARCH_PWR5X] (__floorf): Likewise.
5931 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
5933 [__SSE4_1__] (__floorf): Likewise.
5934 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
5935 instead of __floor variants.
5936 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
5937 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
5938 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
5939 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
5940 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
5941 * math/w_tgamma_compat.c (__tgamma): Likewise.
5942 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
5943 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
5944 * math/w_tgammal_compat.c (__tgammal): Likewise.
5945 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
5946 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5948 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5949 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
5950 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5951 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5953 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5954 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
5956 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5957 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
5959 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5960 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
5962 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5963 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5964 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
5965 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
5966 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5967 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5969 2018-09-12 Joseph Myers <joseph@codesourcery.com>
5971 * elf/Makefile (modules-names-tests): New variable.
5973 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5975 * NEWS: Mention log2 improvements.
5976 * math/Makefile (type-double-routines): Add e_log2_data.
5977 * sysdeps/i386/fpu/e_log2_data.c: New file.
5978 * sysdeps/ia64/fpu/e_log2_data.c: New file.
5979 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
5980 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
5981 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
5982 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
5983 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
5985 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
5987 * NEWS: Mention log improvement.
5988 * math/Makefile (type-double-routines): Add e_log_data.
5989 * sysdeps/i386/fpu/e_log_data.c: New file.
5990 * sysdeps/ia64/fpu/e_log_data.c: New file.
5991 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
5992 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
5993 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
5994 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
5995 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
5996 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
5998 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
5999 Xuepeng Guo <xuepeng.guo@intel.com>
6002 * sysdeps/i386/start.S: Include <sysdep.h>
6003 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6004 enabled. Add cfi_undefined (eip).
6006 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6008 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6010 (EXTRACT_WORDS64): Likewise.
6011 (INSERT_WORDS64): Likewise.
6012 (GET_FLOAT_WORD): Likewise.
6013 (SET_FLOAT_WORD): Likewise.
6015 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6017 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6018 build, but not for second build if --full-gcc. Use
6019 --enable-languages=all for second build if --full-gcc.
6020 (get_parser): Add --full-gcc option.
6021 (main): Update call to Context.
6023 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6026 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6027 Single Quotation Mark).
6028 (thousands_sep): Likewise.
6029 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6030 * localedata/locales/it_IT (thousands_sep): Use ".".
6031 (grouping): Use "3;3".
6033 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6035 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6036 x86_64 and i686 configs using --enable-obsolete-rpc
6037 --enable-obsolete-nsl.
6039 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6041 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6043 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6045 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6046 Increment size of new_argv by one.
6048 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6051 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6052 * localedata/locales/ar_IN (d_fmt): Likewise.
6053 * localedata/locales/bhb_IN (d_fmt): Likewise.
6054 * localedata/locales/bho_IN (d_fmt): Likewise.
6055 * localedata/locales/bn_BD (d_fmt): Likewise.
6056 * localedata/locales/bn_IN (d_fmt): Likewise.
6057 * localedata/locales/doi_IN (d_fmt): Likewise.
6058 * localedata/locales/gu_IN (d_fmt): Likewise.
6059 * localedata/locales/hi_IN (d_fmt): Likewise.
6060 * localedata/locales/hne_IN (d_fmt): Likewise.
6061 * localedata/locales/kn_IN (d_fmt): Likewise.
6062 * localedata/locales/mag_IN (d_fmt): Likewise.
6063 * localedata/locales/mai_IN (d_fmt): Likewise.
6064 * localedata/locales/mjw_IN (d_fmt): Likewise.
6065 * localedata/locales/ml_IN (d_fmt): Likewise.
6066 * localedata/locales/mni_IN (d_fmt): Likewise.
6067 * localedata/locales/mr_IN (d_fmt): Likewise.
6068 * localedata/locales/pa_IN (d_fmt): Likewise.
6069 * localedata/locales/raj_IN (d_fmt): Likewise.
6070 * localedata/locales/sat_IN (d_fmt): Likewise.
6071 * localedata/locales/sd_IN (d_fmt): Likewise.
6072 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6073 * localedata/locales/ta_IN (d_fmt): Likewise.
6074 * localedata/locales/ta_LK (d_fmt): Likewise.
6075 * localedata/locales/tcy_IN (d_fmt): Likewise.
6076 * localedata/locales/ur_IN (d_fmt): Likewise.
6078 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6079 * localedata/locales/ks_IN (d_fmt): Likewise.
6080 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6082 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6083 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6084 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6085 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6087 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6089 * NEWS: Mention exp and exp2 improvements.
6090 * math/Makefile (libm-support): Remove t_exp.
6091 (type-double-routines): Add math_err and e_exp_data.
6092 * sysdeps/aarch64/libm-test-ulps: Update.
6093 * sysdeps/arm/libm-test-ulps: Update.
6094 * sysdeps/i386/fpu/e_exp_data.c: New file.
6095 * sysdeps/i386/fpu/math_err.c: New file.
6096 * sysdeps/i386/fpu/t_exp.c: Remove.
6097 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6098 * sysdeps/ia64/fpu/math_err.c: New file.
6099 * sysdeps/ia64/fpu/t_exp.c: Remove.
6100 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6101 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6102 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6104 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6105 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6106 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6107 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6108 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6109 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6110 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6111 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6112 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6113 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6117 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6119 * sysdeps/alpha/fpu/math_private.h: Remove.
6121 * sysdeps/generic/math_private.h
6122 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6123 Move this inline function ....
6124 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6125 * include/math.h [!_ISOMAC]: To here....
6127 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6129 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6131 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6132 * include/fenv.h [!_ISOMAC]: ... to here.
6133 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6134 (feraiseexcept): Likewise.
6135 * math/fromfp.h: Do not include <fenv_private.h>.
6136 * math/s_cexp_template.c: Likewise.
6137 * math/s_csin_template.c: Likewise.
6138 * math/s_csinh_template.c: Likewise.
6139 * math/s_ctan_template.c: Likewise.
6140 * math/s_ctanh_template.c: Likewise.
6141 * math/s_iseqsig_template.c: Likewise.
6142 * math/w_acos_compat.c: Likewise.
6143 * math/w_acosf_compat.c: Likewise.
6144 * math/w_acosl_compat.c: Likewise.
6145 * math/w_asin_compat.c: Likewise.
6146 * math/w_asinf_compat.c: Likewise.
6147 * math/w_asinl_compat.c: Likewise.
6148 * math/w_j0_compat.c: Likewise.
6149 * math/w_j0f_compat.c: Likewise.
6150 * math/w_j0l_compat.c: Likewise.
6151 * math/w_j1_compat.c: Likewise.
6152 * math/w_j1f_compat.c: Likewise.
6153 * math/w_j1l_compat.c: Likewise.
6154 * math/w_jn_compat.c: Likewise.
6155 * math/w_jnf_compat.c: Likewise.
6156 * math/w_log10_compat.c: Likewise.
6157 * math/w_log10f_compat.c: Likewise.
6158 * math/w_log10l_compat.c: Likewise.
6159 * math/w_log2_compat.c: Likewise.
6160 * math/w_log2f_compat.c: Likewise.
6161 * math/w_log2l_compat.c: Likewise.
6162 * math/w_log_compat.c: Likewise.
6163 * math/w_logf_compat.c: Likewise.
6164 * math/w_logl_compat.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6168 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6169 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6170 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6171 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6172 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6173 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6174 * sysdeps/ieee754/k_standardl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6177 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6185 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6186 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6187 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6188 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6189 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6190 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6191 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6192 * math/w_ilogb_template.c: Include <fenv.h> instead of
6194 * math/w_llogb_template.c: Likewise.
6195 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6196 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6198 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6200 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6201 * math/fromfp.h: Include <fenv_private.h>.
6202 * math/math-narrow.h: Likewise.
6203 * math/s_cexp_template.c: Likewise.
6204 * math/s_csin_template.c: Likewise.
6205 * math/s_csinh_template.c: Likewise.
6206 * math/s_ctan_template.c: Likewise.
6207 * math/s_ctanh_template.c: Likewise.
6208 * math/s_iseqsig_template.c: Likewise.
6209 * math/w_acos_compat.c: Likewise.
6210 * math/w_acosf_compat.c: Likewise.
6211 * math/w_acosl_compat.c: Likewise.
6212 * math/w_asin_compat.c: Likewise.
6213 * math/w_asinf_compat.c: Likewise.
6214 * math/w_asinl_compat.c: Likewise.
6215 * math/w_ilogb_template.c: Likewise.
6216 * math/w_j0_compat.c: Likewise.
6217 * math/w_j0f_compat.c: Likewise.
6218 * math/w_j0l_compat.c: Likewise.
6219 * math/w_j1_compat.c: Likewise.
6220 * math/w_j1f_compat.c: Likewise.
6221 * math/w_j1l_compat.c: Likewise.
6222 * math/w_jn_compat.c: Likewise.
6223 * math/w_jnf_compat.c: Likewise.
6224 * math/w_llogb_template.c: Likewise.
6225 * math/w_log10_compat.c: Likewise.
6226 * math/w_log10f_compat.c: Likewise.
6227 * math/w_log10l_compat.c: Likewise.
6228 * math/w_log2_compat.c: Likewise.
6229 * math/w_log2f_compat.c: Likewise.
6230 * math/w_log2l_compat.c: Likewise.
6231 * math/w_log_compat.c: Likewise.
6232 * math/w_logf_compat.c: Likewise.
6233 * math/w_logl_compat.c: Likewise.
6234 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6235 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6236 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6237 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6239 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6240 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6241 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6242 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6243 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6244 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6245 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6246 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6247 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6248 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6249 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6250 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6251 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6252 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6253 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6254 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6255 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6256 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6257 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6258 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6259 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6260 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6261 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6262 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6263 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6264 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6265 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6266 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6267 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6268 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6269 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6270 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6271 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6272 * sysdeps/ieee754/k_standardl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6279 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6280 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6290 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6292 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6296 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6297 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6298 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6299 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6301 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6303 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6304 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6305 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6309 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6310 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6311 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6312 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6313 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6314 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6315 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6316 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6317 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6318 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6319 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6320 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6321 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6322 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6323 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6324 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6325 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6326 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6327 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6328 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6329 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6330 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6331 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6332 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6333 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6334 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6335 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6336 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6337 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6338 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6339 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6340 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6341 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6342 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6343 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6345 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6348 * include/stdio.h (__libc_fatal): Mention newline in comment.
6349 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6350 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6351 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6352 * nss/nsswitch.c (__nss_next2): Likewise.
6353 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6354 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6355 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6356 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6357 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6358 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6359 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6360 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6361 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6362 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6363 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6364 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6365 (__netlink_assert_response): Likewise.
6367 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6369 * conform/glibcconform.py: New file.
6370 * conform/list-header-symbols.py: Likewise.
6371 * conform/list-header-symbols.pl: Remove.
6372 * conform/Makefile (tests-special): Only add linknamespace tests
6374 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6376 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6379 * support/Makefile (libsupport-routines): Add
6380 support_copy_file_range and xcopy_file_range.
6381 * support/support.h: Include <sys/types.h>.
6382 (support_copy_file_range): New prototype.
6383 * support/support_copy_file_range.c: New file. Copied and
6384 modified from io/copy_file_range-compat.c.
6385 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6386 instead of copy_file_range.
6387 * support/xcopy_file_range.c: New file.
6388 * support/xunistd.h (xcopy_file_range): New prototype.
6390 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6392 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6393 xpthread_create and xpthread_join.
6395 2018-08-30 Florian Weimer <fweimer@redhat.com>
6397 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6399 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6401 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6404 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6406 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6407 and minus_oflow as non-finite.
6409 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6411 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6412 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6413 moved to fenv_private.h except for ...
6414 (TOINT_INTRINSICS): Kept in math_private.h.
6415 (roundtoint): Likewise.
6416 (converttoint): Likewise.
6417 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6418 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6419 * sysdeps/arm/math_private.h: Remove.
6420 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6422 * sysdeps/generic/math_private.h: ... this file. Include
6423 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6424 Include <fenv_private.h>. Remove functions and macros moved to
6426 * sysdeps/i386/fpu/math_private.h: Remove.
6427 * sysdeps/mips/math_private.h: Move to ....
6428 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6429 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6430 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6431 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6432 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6433 * sysdeps/powerpc/fpu/math_private.h: Do not include
6435 * sysdeps/riscv/rvf/math_private.h: Move to ....
6436 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6437 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6439 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6440 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6441 * sysdeps/sparc/fpu/math_private.h: Remove.
6442 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6443 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6444 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6446 * sysdeps/x86_64/fpu/math_private.h: Do not include
6447 <sysdeps/i386/fpu/fenv_private.h>.
6449 2018-08-28 Florian Weimer <fweimer@redhat.com>
6452 * posix/tst-regcomp-truncated.c: New file.
6453 * posix/Makefile (tests): Add it.
6454 (tst-regcomp-truncated.out): Depend on generated locales.
6456 2018-08-28 Florian Weimer <fweimer@redhat.com>
6458 * support/test-container.c (main): Treat unshare failure with
6459 EPERM as an unsupported test.
6461 2018-08-28 Florian Weimer <fweimer@redhat.com>
6464 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6465 * nscd/netgroupcache.c
6466 (addgetnetgrentX): Add tofreep parameter. Do not free
6467 heap-allocated buffer.
6468 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6469 (addgetnetgrentX_ignore): New function.
6470 (addgetnetgrent): Call it.
6471 (readdgetnetgrent): Likewise.
6473 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6475 * string/memmem.c: Use memcmp for first match.
6477 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6480 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6482 2018-08-27 DJ Delorie <dj@redhat.com>
6484 * support/Makefile (others): Don't list programs explicitly as a
6485 dependency of "others".
6487 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6489 * sysdeps/generic/math-tests-trap-force.h: New file.
6490 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6491 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6492 * sysdeps/powerpc/math-tests.h: Remove file.
6493 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6495 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6496 Torvald Riegel <triegel@redhat.com>
6499 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6500 Update r to include the set wake-request flag if waiters are
6501 remaining after spinning.
6503 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6505 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6507 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6510 regex: fix uninitialized memory access
6511 I introduced this bug into gnulib in commit
6512 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6513 eventually it was merged into glibc. The bug was found by
6514 project-repo <bugs@feusi.co> and reported here:
6515 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6516 Diagnosis and draft fix reported by Assaf Gordon here:
6517 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6518 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6519 * posix/regex_internal.c (build_wcs_upper_buffer):
6520 Fix bug when mbrtowc returns 0.
6522 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6524 * po/be.po: Update translation.
6526 2018-08-24 DJ Delorie <dj@delorie.com>
6528 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6531 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6534 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6535 create temporary files in source tree.
6537 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6539 * sysdeps/generic/math-tests-trap.h: New file.
6540 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6541 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6542 * sysdeps/aarch64/math-tests.h: Remove file.
6543 * sysdeps/arm/math-tests.h: Likewise.
6544 * sysdeps/riscv/math-tests.h: Likewise.
6545 * sysdeps/aarch64/math-tests-trap.h: New file.
6546 * sysdeps/arm/math-tests-trap.h: Likewise.
6547 * sysdeps/riscv/math-tests-trap.h: Likewise.
6549 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6551 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6552 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6553 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6554 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6555 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6556 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6557 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6560 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6561 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6562 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6563 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6564 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6565 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6566 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6567 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6568 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6570 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6572 * sysdeps/generic/math-tests-exceptions.h: New file.
6573 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6574 (EXCEPTION_TESTS_float): Do not define here.
6575 (EXCEPTION_TESTS_double): Likewise.
6576 (EXCEPTION_TESTS_long_double): Likewise.
6577 (EXCEPTION_TESTS_float128): Likewise.
6578 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6580 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6581 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6582 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6583 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6584 * sysdeps/mips/math-tests.h: Likewise.
6585 * sysdeps/nios2/math-tests.h: Likewise.
6586 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6587 (EXCEPTION_TESTS_float): Do not define here.
6588 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6589 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6590 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6592 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6594 * NEWS: Move optimized sinf entry to 2.29.
6596 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6598 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6600 2018-08-22 DJ Delorie <dj@redhat.com>
6602 * Makefile (testroot.pristine): New rules to initialize the
6603 test-in-container "testroot".
6604 * Makerules (all-testsuite): Add tests-container.
6605 * Rules (tests-expected): Add tests-container.
6606 (binaries-all-tests): Likewise.
6607 (tests-container): New, run these tests in the testroot container.
6608 * support/Makefile (others): Add *-container, support_paths.c,
6609 xmkdirp, and links-dso-program.
6610 * support/links-dso-program-c.c: New.
6611 * support/links-dso-program.cc: New.
6612 * support/test-container.c: New.
6613 * support/shell-container.c: New.
6614 * support/echo-container.c: New.
6615 * support/true-container.c: New.
6616 * support/xmkdirp.c: New.
6617 * support/xsymlink.c: New.
6618 * support/support_paths.c: New.
6619 * support/support.h: Add support paths prototypes.
6620 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6622 * nss/tst-nss-test3.c: Convert to test-in-container.
6623 * nss/tst-nss-test3.root/: New.
6625 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6627 regex: port Gnulib code to z/OS POSIX environment
6628 Problem reported by Arnold Robbins in:
6629 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6630 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6633 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6635 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6636 (ROUNDING_TESTS_double): Remove.
6637 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6638 (ROUNDING_TESTS_double): Remove.
6639 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6640 (ROUNDING_TESTS_double): Remove.
6641 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6642 (ROUNDING_TESTS_float): Remove.
6643 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6644 (ROUNDING_TESTS_float): Remove.
6645 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6646 (ROUNDING_TESTS_float): Remove.
6647 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6649 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6650 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6652 * sysdeps/generic/math-tests-rounding.h: New file.
6653 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6654 (ROUNDING_TESTS_float): Do not define here.
6655 (ROUNDING_TESTS_double): Likewise.
6656 (ROUNDING_TESTS_long_double): Likewise.
6657 (ROUNDING_TESTS_float128): Likewise.
6658 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6659 (ROUNDING_TESTS_double): Undefine before defining.
6660 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6661 (ROUNDING_TESTS_double): Undefine before defining.
6662 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6663 (ROUNDING_TESTS_double): Undefine before defining.
6664 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6665 (ROUNDING_TESTS_float): Undefine before defining.
6666 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6667 (ROUNDING_TESTS_float): Undefine before defining.
6668 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6669 (ROUNDING_TESTS_float): Undefine before defining.
6670 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6671 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6673 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6674 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6675 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6676 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6677 (ROUNDING_TESTS_float): Do not define here.
6678 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6679 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6680 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6681 (ROUNDING_TESTS_float): Likewise.
6682 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6683 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6684 * sysdeps/mips/math-tests.h [__mips_soft_float]
6685 (ROUNDING_TESTS_float): Likewise.
6686 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6687 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6688 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6689 (ROUNDING_TESTS_double): Likewise.
6690 (ROUNDING_TESTS_long_double): Likewise.
6692 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6694 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6695 (PF_XDP): New macro.
6696 (AF_XDP): New macro.
6697 (SOL_XDP): New macro.
6699 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6701 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6702 (TCP_INQ): Likewise.
6703 (TCP_CM_INQ): Likewise.
6704 (TCP_REPAIR_ON): Likewise.
6705 (TCP_REPAIR_OFF): Likewise.
6706 (TCP_REPAIR_OFF_NO_WP): Likewise.
6707 (struct tcp_zerocopy_receive): New type.
6709 2018-08-21 Florian Weimer <fweimer@redhat.com>
6711 * support/support.h (support_descriptor_supports_holes): Declare.
6712 * support/Makefile (libsupport-routines): Add
6713 support_descriptor_supports_holes.
6714 * support/support_descriptor_supports_holes.c: New file.
6715 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6716 and stop testing if holes are not supported.
6717 * io/test-lfs.c (do_prepare): Likewise.
6718 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6720 * timezone/tst-tzset.c (create_tz_file): Likewise.
6721 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6723 (do_prepare): Set it.
6724 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6726 2018-08-21 Florian Weimer <fweimer@redhat.com>
6729 * Makeconfig (+cflags): Do not sort (and deduplicate).
6731 2018-08-21 Florian Weimer <fweimer@redhat.com>
6733 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6734 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6736 2018-08-20 Florian Weimer <fweimer@redhat.com>
6738 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6739 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6741 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6743 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6744 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6745 and ssi_arch members.
6747 * elf/elf.c (NT_VMCOREDD): New macro.
6748 (AT_MINSIGSTKSZ): Likewise.
6750 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6752 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6753 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6754 s_cosf-ppc64 and s_cosf-power8.
6755 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6756 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6757 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6758 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6765 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6766 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6768 2018-08-17 Florian Weimer <fweimer@redhat.com>
6770 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6772 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6774 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6776 2018-08-16 Florian Weimer <fweimer@redhat.com>
6778 * configure.ac: Add --with-nonshared-cflags option.
6779 * config.make.in (extra-nonshared-cflags): Set variable.
6780 * Makeconfig (CFLAGS-.oS): Use it.
6781 * manual/install.texi (Configuring and compiling): Document
6782 --with-nonshared-cflags.
6783 * configure: Regenerate.
6784 * INSTALL: Likewise.
6786 2018-08-16 Florian Weimer <fweimer@redhat.com>
6788 * Makeconfig (ASFLAGS): Always append required assembler flags.
6790 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6792 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6793 (malloc_consolidate): Likewise.
6795 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6797 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6799 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6801 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6804 * benchtests/bench-strlen.c: Print performance numbers in json.
6806 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6808 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6809 (sysdep_routines): Build strcmp-power9 and strncmp-power9
6810 only for little endian.
6811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6812 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
6813 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
6814 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
6815 Add check for little endian.
6816 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6817 (__strcmp_power9): Add check for little endian.
6818 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
6819 Add check for little endian.
6820 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6821 (__strncmp_power9): Add check for little endian.
6822 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
6823 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
6824 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6825 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
6826 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
6828 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
6830 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
6831 [!STRLEN](STRLEN): Set to __strlen.
6832 * sysdeps/aarch64/multiarch/strlen.c: New file.
6833 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
6834 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
6835 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6836 (__libc_ifunc_impl_list): Add strlen.
6837 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6838 strlen_generic and strlen_asimd.
6840 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6842 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
6843 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
6844 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6846 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6848 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
6850 2018-08-14 Florian Weimer <fweimer@redhat.com>
6853 * include/stdio.h (__vfxprintf): Declare.
6854 * stdio-common/fxprintf.c (__vfxprintf): New function.
6855 (__fxprintf): Call it.
6856 * misc/err.c (convert_and_print): Remove function.
6857 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
6858 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
6859 * misc/Makefile (tests): Add tst-warn-wide.
6860 * misc/tst-warn-wide.c: New file.
6862 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
6863 Szabolcs Nagy <szabolcs.nagy@arm.com>
6865 * NEWS: Mention sinf, cosf, sincosf.
6866 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
6867 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
6868 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
6869 constants rather than including generic sincosf.h.
6870 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
6871 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
6872 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
6873 (reduced_cos): Remove.
6874 (sinf_poly): New function.
6875 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
6877 2018-08-14 Florian Weimer <fweimer@redhat.com>
6881 * nss/nss_files/files-alias.c (get_next_alias): During :include:
6882 processing, bail out if no room, and close the stream before
6884 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
6885 (tst-nss-files-alias-leak): Link with libdl.
6886 (tst-nss-files-alias-leak.out): Depend on nss_files.
6888 * nss/tst-nss-files-alias-leak.c: New file.
6890 2018-08-14 Florian Weimer <fweimer@redhat.com>
6892 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
6893 server_user, stat_user.
6895 2018-08-13 Joseph Myers <joseph@codesourcery.com>
6897 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6899 (io_pgetevents): New syscall.
6902 * manual/install.texi (Configuring and compiling): Do not list
6903 tools used for testing pretty printers here.
6904 (Tools for Compilation): List Python, PExpect and GDB here.
6905 Update descriptions of uses of Perl and Python.
6906 * INSTALL: Regenerate.
6908 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6911 2018-08-13 Florian Weimer <fweimer@redhat.com>
6913 * misc/error.c (error): Add missing va_end call.
6914 (error_at_line): Likewise.
6916 2018-08-13 Florian Weimer <fweimer@redhat.com>
6918 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
6920 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6922 * benchtests/scripts/benchout.schema.json (properties): Add
6925 * benchtests/bench-skeleton.c (main): Add duration and
6926 iterations attributes.
6928 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
6930 regex: Gnulib unibyte RRI uses bytes not chars
6931 Adjust the non-glibc code to agree with what Gawk needs for
6932 rational range interpretation (RRI) for regular expression ranges.
6933 In unibyte locales, Gawk wants ranges to use the underlying byte
6934 rather than the character code point. This change does not affect
6936 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
6937 In unibyte locales, use the byte value rather than
6938 running it through btowc.
6940 2018-08-10 Joseph Myers <joseph@codesourcery.com>
6942 * sysdeps/generic/math-tests-snan.h: New file.
6943 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
6944 (SNAN_TESTS_float): Do not define here.
6945 (SNAN_TESTS_double): Likewise.
6946 (SNAN_TESTS_long_double): Likewise.
6947 (SNAN_TESTS_float128): Likewise.
6948 * sysdeps/i386/fpu/math-tests-snan.h: New file.
6949 * sysdeps/i386/fpu/math-tests.h: Remove file.
6950 * sysdeps/ia64/math-tests-snan.h: New file.
6951 * sysdeps/ia64/math-tests.h: Remove file.
6952 * sysdeps/x86/math-tests.h: Likewise.
6953 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
6955 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6956 Szabolcs Nagy <szabolcs.nagy@arm.com>
6958 * math/Makefile: Add s_sincosf_data.c.
6959 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
6960 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
6961 (sincosf_poly): Likewise.
6962 (reduce_small): Likewise.
6963 (reduce_large): Likewise.
6964 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
6965 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
6966 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
6967 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
6969 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6970 Szabolcs Nagy <szabolcs.nagy@arm.com>
6972 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
6973 (converttoint): Use lround.
6974 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
6975 document the semantics when TOINT_INTRINSICS is set.
6976 (converttoint): Likewise.
6977 (TOINT_RINT): Remove.
6978 (TOINT_SHIFT): Remove.
6979 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
6982 2018-08-10 Florian Weimer <fweimer@redhat.com>
6985 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
6987 (__old_getdents64): Use getdents64. Convert entries without
6989 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
6990 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
6991 tst-readdir64-compat.
6993 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
6995 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
6998 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7000 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7001 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7002 code to s390x-mcount.h and #include it.
7003 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7004 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7007 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7009 * stdlib/Versions: Remove __fentry__.
7010 * sysdeps/i386/Versions: Add __fentry__.
7011 * sysdeps/x86_64/Versions: Add __fentry__.
7013 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7015 * sysdeps/s390/Makefile: Register the new tests.
7016 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7017 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7018 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7019 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7020 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7021 * sysdeps/s390/tst-dl-runtime.c: New file.
7023 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7025 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7028 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7030 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7033 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7035 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7038 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7040 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7043 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7045 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7046 Use symbolic offsets for stack variables.
7048 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7050 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7051 Use symbolic offsets for stack variables.
7053 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7055 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7056 Use symbolic offsets for stack variables.
7058 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7060 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7061 Use symbolic offsets for stack variables.
7063 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7065 * math/gen-libm-test.py: New file.
7066 * math/gen-libm-test.pl: Remove.
7067 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7068 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7070 ($(libm-test-c-noauto-obj)): Likewise.
7071 ($(libm-test-c-auto-obj)): Likewise.
7072 ($(libm-test-c-narrow-obj)): Likewise.
7073 (regen-ulps): Likewise.
7074 * math/README.libm-test: Update references to gen-libm-test.pl.
7075 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7076 referencing gen-libm-test.pl.
7077 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7078 * math/libm-test-support.c: Likewise.
7079 * math/libm-test-support.h: Likewise.
7080 * sysdeps/generic/libm-test-ulps: Likewise.
7082 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7084 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7087 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7089 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7090 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7092 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7094 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7096 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7097 __pthread_setspecific): Add hidden proto.
7098 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7099 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7101 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7103 * benchtests/bench-string.h (buf1_size, buf2_size): New
7105 (init_sizes): New function.
7106 (test_init): Use it.
7107 (alloc_buf, exit_error): New functions.
7108 (alloc_bufs): Use ALLOC_BUF.
7109 (realloc_bufs): Remove.
7110 * benchtests/bench-memcmp.c (do_test): Adjust.
7111 * benchtests/bench-memset-large.c (do_test): Likewise.
7112 * benchtests/bench-memset-walk.c (do_test): Likewise.
7113 * benchtests/bench-memset.c (do_test): Likewise.
7114 * benchtests/bench-strncmp.c (do_test): Likewise.
7116 2018-08-06 Andreas Schwab <schwab@suse.de>
7118 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7119 of CONST_THREAD_AREA.
7121 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7123 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7124 (STATE_SAVE_MASK): Likewise.
7125 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7126 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7127 (STATE_SAVE_MASK): Likewise.
7128 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7129 instead of <cpu-features.h>.
7131 2018-08-03 DJ Delorie <dj@redhat.com>
7133 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7134 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7136 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7138 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7140 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7142 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7143 * math/libm-test-logb.inc (logb_test_data): Likewise.
7145 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7147 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7148 * string/strstr.c (AVAILABLE): Likewise.
7150 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7152 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7154 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7155 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7156 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7158 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7160 * po/be.po: Update translation.
7162 * po/be.po: Update translation.
7164 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7166 * sysdeps/x86/cpu-features-offsets.sym
7167 (rtld_global_ro_offsetof): Removed.
7168 (CPU_FEATURES_SIZE): Likewise.
7169 (CPUID_OFFSET): Likewise.
7170 (CPUID_SIZE): Likewise.
7171 (CPUID_EAX_OFFSET): Likewise.
7172 (CPUID_EBX_OFFSET): Likewise.
7173 (CPUID_ECX_OFFSET): Likewise.
7174 (CPUID_EDX_OFFSET): Likewise.
7175 (FAMILY_OFFSET): Likewise.
7176 (MODEL_OFFSET): Likewise.
7177 (FEATURE_OFFSET): Likewise.
7178 (FEATURE_SIZ): Likewise.
7179 (COMMON_CPUID_INDEX_1): Likewise.
7180 (COMMON_CPUID_INDEX_7): Likewise.
7181 (FEATURE_INDEX_1): Likewise.
7182 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7184 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7186 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7187 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7188 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7189 (install-locales): Depend on install-locale-archive.
7190 (install-locale-archive): Define.
7191 (install-locale-files): Define.
7192 (build-one-locale): Define macro.
7193 * manual/install.texi (Running make install): Document.
7194 * manual/INSTALL: Regenerate.
7196 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7198 * benchtests/scripts/compare_strings.py: Import traceback.
7199 (parse_file): Pretty-print error.
7201 * NEWS: Mention the change.
7202 * elf/dl-tunables.list: Rename tune namespace to cpu.
7203 * sysdeps/powerpc/dl-tunables.list: Likewise.
7204 * sysdeps/x86/dl-tunables.list: Likewise.
7205 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7207 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7208 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7209 * manual/README.tunables: Likewise.
7210 * manual/tunables.texi: Likewise.
7211 * sysdeps/powerpc/cpu-features.c: Likewise.
7212 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7213 (init_cpu_features): Likewise.
7214 * sysdeps/x86/cpu-features.c: Likewise.
7215 * sysdeps/x86/cpu-features.h: Likewise.
7216 * sysdeps/x86/cpu-tunables.c: Likewise.
7217 * sysdeps/x86_64/Makefile: Likewise.
7218 * sysdeps/x86/dl-cet.c: Likewise.
7220 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7223 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7224 [__mips_hard_float].
7225 (FE_UNDERFLOW): Likewise.
7226 (FE_OVERFLOW): Likewise.
7227 (FE_DIVBYZERO): Likewise.
7228 (FE_INVALID): Likewise.
7229 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7230 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7231 (FE_UPWARD): Likewise.
7232 (FE_DOWNWARD): Likewise.
7233 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7234 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7235 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7236 [__mips_hard_float].
7237 (FP_ROUNDMODE): Likewise.
7238 (FP_RND_NEAREST): Likewise.
7239 (FP_RND_ZERO): Likewise.
7240 (FP_RND_PINF): Likewise.
7241 (FP_RND_MINF): Likewise.
7242 (FP_EX_INVALID): Likewise.
7243 (FP_EX_OVERFLOW): Likewise.
7244 (FP_EX_UNDERFLOW): Likewise.
7245 (FP_EX_DIVZERO): Likewise.
7246 (FP_EX_INEXACT): Likewise.
7247 (FP_INIT_ROUNDMODE): Likewise.
7248 * sysdeps/mips/nofpu/fesetenv.c: New file.
7249 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7251 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7253 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7254 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7255 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7256 conditional on [FE_UPWARD].
7258 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7260 regex: fix memory leak in Gnulib
7261 Problem and fix reported by Assaf Gordon in:
7262 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7263 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7264 range_ends members too, as they are defined in 'struct
7265 re_charset_t' even if not _LIBC. This affects only Gnulib.
7267 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7269 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7271 (get_common_indices): This.
7272 (init_cpu_features): Updated.
7274 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7276 * sysdeps/generic/math-tests-snan-payload.h: New file.
7277 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7278 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7279 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7280 * sysdeps/generic/math-tests.h: Include
7281 <math-tests-snan-payload.h>.
7282 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7283 * sysdeps/hppa/math-tests.h: Remove file.
7284 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7285 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7286 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7289 * sysdeps/generic/math-tests-snan-cast.h: New file.
7290 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7291 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7292 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7293 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7295 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7297 * version.h (RELEASE): Set to "development".
7298 (VERSION): Set to "2.28.9000".
7299 * NEWS (2.29): New section.
7301 * version.h (RELEASE): Set to "stable".
7302 (VERSION): Set to "2.28".
7303 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7304 * NEWS: Add the list of bugs fixed in 2.28.
7306 * po/ca.po: Update to latest version.
7307 * po/cs.po: Likewise
7308 * po/da.po: Likewise
7309 * po/el.po: Likewise
7310 * po/eo.po: Likewise
7311 * po/es.po: Likewise
7312 * po/fi.po: Likewise
7313 * po/fr.po: Likewise
7314 * po/gl.po: Likewise
7315 * po/hu.po: Likewise
7316 * po/ia.po: Likewise
7317 * po/id.po: Likewise
7318 * po/it.po: Likewise
7319 * po/ja.po: Likewise
7320 * po/ko.po: Likewise
7321 * po/lt.po: Likewise
7322 * po/nb.po: Likewise
7323 * po/nl.po: Likewise
7324 * po/pt_BR.po: Likewise
7325 * po/ru.po: Likewise
7326 * po/rw.po: Likewise
7327 * po/sk.po: Likewise
7328 * po/sl.po: Likewise
7329 * po/tr.po: Likewise
7330 * po/zh_CN.po: Likewise
7331 * po/zh_TW.po: Likewise
7333 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7335 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7337 (init): ... before initializing libpthread.
7339 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7340 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7341 (__mach_setup_tls): ... new function.
7342 (mach_setup_tls): New alias.
7343 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7344 __mach_setup_thread.
7345 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7346 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7347 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7348 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7350 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7352 * manual/install.texi: Update versions.
7353 * INSTALL: Regenerate.
7355 * manual/contrib.texi (Contributors): Update contributions.
7357 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7359 * po/be.po: Update translations.
7361 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7363 * sysdeps/sh/libm-test-ulps: Update.
7365 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7367 * po/bg.po: Update translations.
7368 * po/de.po: Likewise.
7369 * po/hr.po: Likewise.
7370 * po/pt_BR.po: Likewise.
7371 * po/sv.po: Likewise.
7372 * po/vi.po: Likewise.
7374 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7377 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7378 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7379 (CFLAGS-tst-cet-property-1.o): New.
7380 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7381 ($(objpfx)tst-cet-property-2): Likewise.
7382 ($(objpfx)tst-cet-property-2.out): Likewise.
7383 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7384 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7385 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7386 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7387 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7389 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7392 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7394 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7396 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7397 __sbrk): Do not set attribute_hidden.
7398 * sysdeps/mach/hurd/not-errno.h: New file.
7399 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7400 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7402 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7404 * po/uk.po: Update translations.
7405 * po/cs.po: Likewise.
7406 * po/pl.po: Likewise.
7408 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7410 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7411 parse beyond the note end.
7413 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7415 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7416 kernel does not support OFD locks.
7417 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7419 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7421 * sysdeps/mach/hurd/Versions (libc): Make __access and
7422 __access_noerrno external so they can override the ld symbols.
7423 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7424 __writev, __open64, __access_noerrno extern so they can be overrided.
7425 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7426 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7428 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7430 * po/libc.pot: Regenerate.
7432 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7434 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7436 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7439 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7441 (init_cpu_features): Call get_extended_indices for both Intel
7443 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7444 Remove "for AMD" comment.
7446 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7449 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7450 COMMON_CPUID_INDEX_80000001.
7452 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7454 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7455 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7457 2018-07-26 Florian Weimer <fweimer@redhat.com>
7459 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7460 aliases for symbols not in the implementation namespace.
7462 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7465 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7466 lowercase in LATIN script.
7467 * localedata/Makefile (test-input): Add en_US.UTF-8.
7468 * localedata/en_US.UTF-8.in: New file.
7469 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7470 and restore old tests.
7471 * posix/tst-regexloc.c (do_test): Add back range expression test.
7473 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7475 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7477 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7479 * nptl/threads.h: Move to ...
7480 * sysdeps/nptl/threads.h: ... here.
7481 * sysdeps/hurd/stdc-predef.h: New file.
7483 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7485 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7486 tst-cet-setcontext-1 if CET is enabled.
7487 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7488 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7490 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7492 * include/threads.h: Move to ...
7493 * sysdeps/nptl/threads.h: ... here.
7494 * sysdeps/htl/threads.h: New file.
7495 * conform/Makefile (linknamespace-libs-ISO11): Use
7496 static-thread-library instead of linking libpthread.
7497 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7499 2018-07-25 Florian Weimer <fweimer@redhat.com>
7501 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7502 nanoseconds into seconds.
7503 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7504 (do_test): Likewise.
7505 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7506 (do_test): Likewise. Avoid nanosecond overflow and spurious
7507 timeouts due to system load.
7508 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7509 (child_wait): Increment it.
7510 (do_test): Wait as long as necessary until all expected threads
7513 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7514 H.J. Lu <hongjiu.lu@intel.com>
7516 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7518 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7519 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7520 (__push___start_context): New.
7521 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7523 (__getcontext): Record the current shadow stack base. Save the
7524 caller's shadow stack pointer and base.
7525 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7526 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7527 (__push___start_context): New prototype.
7528 (__makecontext): Call __push___start_context to allocate a new
7529 shadow stack, push __start_context onto the new stack as well
7530 as the new shadow stack.
7531 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7533 (__setcontext): Restore the target shadow stack.
7534 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7536 (__swapcontext): Record the current shadow stack base. Save
7537 the caller's shadow stack pointer and base. Restore the target
7539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7540 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7541 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7543 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7545 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7546 tst-setcontext8 and tst-setcontext9.
7547 * stdlib/tst-setcontext6.c: New file.
7548 * stdlib/tst-setcontext7.c: Likewise.
7549 * stdlib/tst-setcontext8.c: Likewise.
7550 * stdlib/tst-setcontext9.c: Likewise.
7552 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7554 * stdlib/Makefile ((tests): Add tst-setcontext5.
7555 * stdlib/tst-setcontext5.c: New file.
7557 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7559 * stdlib/Makefile (tests): Add tst-setcontext4.
7560 * stdlib/tst-setcontext4.c: New file.
7562 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7564 * stdlib/Makefile (tests): Add tst-swapcontext1.
7565 * stdlib/tst-swapcontext1.c: New test.
7567 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7569 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7570 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7571 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7572 and tst-cet-legacy-4c.
7573 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7574 and tst-cet-legacy-mod-4.
7575 (CFLAGS-tst-cet-legacy-2.c): New.
7576 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7577 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7578 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7579 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7580 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7581 ($(objpfx)tst-cet-legacy-1): Likewise.
7582 ($(objpfx)tst-cet-legacy-2): Likewise.
7583 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7584 ($(objpfx)tst-cet-legacy-2a): Likewise.
7585 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7586 ($(objpfx)tst-cet-legacy-4): Likewise.
7587 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7588 ($(objpfx)tst-cet-legacy-4a): Likewise.
7589 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7590 (tst-cet-legacy-4a-ENV): Likewise.
7591 ($(objpfx)tst-cet-legacy-4b): Likewise.
7592 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7593 (tst-cet-legacy-4b-ENV): Likewise.
7594 ($(objpfx)tst-cet-legacy-4c): Likewise.
7595 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7596 (tst-cet-legacy-4c-ENV): Likewise.
7597 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7598 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7599 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7600 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7601 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7602 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7603 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7604 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7605 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7606 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7607 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7609 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7611 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7612 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7614 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7615 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7618 2018-07-25 Andreas Schwab <schwab@suse.de>
7621 * locale/weightwc.h (findidx): Handle the case where usrc is a
7622 prefix of cp but one character too short.
7624 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7626 * NEWS: Add ISO C threads addition.
7628 2018-07-24 Florian Weimer <fweimer@redhat.com>
7630 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7631 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7632 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7635 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7637 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7638 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7639 <sys/prctl.h> and <asm/prctl.h>.
7640 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7641 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7643 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7644 ARCH_CET_LEGACY_BITMAP.
7645 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7646 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7647 * sysdeps/x86/libc-start.c: Include <startup.h>.
7649 2018-07-24 Florian Weimer <fweimer@redhat.com>
7651 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7652 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7654 2018-07-24 Rical Jasan <rj@2c3t.io>
7655 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7656 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7659 * manual/debug.texi: Update adjacent chapter name.
7660 * manual/probes.texi: Likewise.
7661 * manual/threads.texi (ISO C Threads): New section.
7662 (POSIX Threads): Convert to a section.
7664 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7665 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7668 * nptl/Makefile (tests): Add new test files.
7669 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7670 * nptl/tst-cnd-basic.c: Likewise.
7671 * nptl/tst-cnd-broadcast.c: Likewise.
7672 * nptl/tst-cnd-timedwait.c: Likewise.
7673 * nptl/tst-mtx-basic.c: Likewise.
7674 * nptl/tst-mtx-recursive.c: Likewise.
7675 * nptl/tst-mtx-timedlock.c: Likewise.
7676 * nptl/tst-mtx-trylock.c: Likewise.
7677 * nptl/tst-thrd-basic.c: Likewise.
7678 * nptl/tst-thrd-detach.c: Likewise.
7679 * nptl/tst-thrd-sleep.c: Likewise.
7680 * nptl/tst-tss-basic.c: Likewise.
7682 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7685 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7686 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7688 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7689 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7690 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7691 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7692 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7693 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7694 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7695 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7696 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7697 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7698 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7699 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7707 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7708 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7709 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7710 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7711 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7712 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7713 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7714 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7715 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7716 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7717 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7718 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7719 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7721 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7722 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7723 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7724 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7725 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7726 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7727 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7728 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7729 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7730 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7731 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7732 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7739 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7740 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7741 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7742 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7743 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7744 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7745 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7746 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7749 * conform/data/threads.h-data (thread_local): New macro.
7750 (TSS_DTOR_ITERATIONS): Likewise.
7752 (tss_dtor_t): Likewise.
7753 (tss_create): New function.
7754 (tss_get): Likewise.
7755 (tss_set): Likewise.
7756 (tss_delete): Likewise.
7757 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7758 tss_get, and tss_set objects.
7759 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7760 * nptl/tss_create.c: New file.
7761 * nptl/tss_delete.c: Likewise.
7762 * nptl/tss_get.c: Likewise.
7763 * nptl/tss_set.c: Likewise.
7764 * sysdeps/nptl/threads.h (thread_local): New define.
7765 (TSS_DTOR_ITERATIONS): Likewise.
7766 (tss_t): New typedef.
7767 (tss_dtor_t): Likewise.
7768 (tss_create): New prototype.
7769 (tss_get): Likewise.
7770 (tss_set): Likewise.
7771 (tss_delete): Likewise.
7774 * conform/data/threads.h-data (cnd_t): New type.
7775 (cnd_init): New function.
7776 (cnd_signal): Likewise.
7777 (cnd_broadcast): Likewise.
7778 (cnd_wait): Likewise.
7779 (cnd_timedwait): Likewise.
7780 (cnd_destroy): Likewise.
7781 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7782 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7784 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7785 * nptl/cnd_broadcast.c: New file.
7786 * nptl/cnd_destroy.c: Likewise.
7787 * nptl/cnd_init.c: Likewise.
7788 * nptl/cnd_signal.c: Likewise.
7789 * nptl/cnd_timedwait.c: Likewise.
7790 * nptl/cnd_wait.c: Likewise.
7791 * sysdeps/nptl/threads.h (cnd_t): New type.
7792 (cnd_init): New prototype.
7793 (cnd_signa): Likewise.
7794 (cnd_broadcast): Likewise.
7795 (cnd_wait): Likewise.
7796 (cnd_timedwait): Likewise.
7797 (cnd_destroy): Likewise.
7800 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7801 (once_flag): New type.
7802 (call_once): New function.
7803 * nptl/Makefile (libpthread-routines): Add call_once object.
7804 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7805 * nptl/call_once.c: New file.
7806 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
7807 (once_flag): New type.
7808 (call_once): New prototype.
7811 * conform/data/threads.h-data (mtx_plain): New constant.
7812 (mtx_recursive): Likewise.
7813 (mtx_timed): Likewise.
7815 (mtx_init): New function.
7816 (mtx_lock): Likewise.
7817 (mtx_timedlock): Likewise.
7818 (mtx_trylock): Likewise.
7819 (mtx_unlock): Likewise.
7820 (mtx_destroy): Likewise.
7821 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
7822 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
7823 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
7824 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
7825 * nptl/mtx_destroy.c: New file.
7826 * nptl/mtx_init.c: Likewise.
7827 * nptl/mtx_lock.c: Likewise.
7828 * nptl/mtx_timedlock.c: Likewise.
7829 * nptl/mtx_trylock.c: Likewise.
7830 * nptl/mtx_unlock.c: Likewise.
7831 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
7832 (mtx_recursive): Likewise.
7833 (mtx_timed): Likewise.
7835 (mtx_init): New prototype.
7836 (mtx_lock): Likewise.
7837 (mtx_timedlock): Likewise.
7838 (mtx_trylock): Likewise.
7839 (mtx_unlock): Likewise.
7840 (mtx_destroy): Likewise.
7843 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
7844 (linknamespace-libs-ISO11): Add libpthread.a.
7845 * conform/data/threads.h-data: New file: add C11 thrd_* types and
7847 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
7848 * nptl/Makefile (headers): Add threads.h.
7849 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
7850 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
7852 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
7853 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
7854 thrd_join, thrd_sleep, and thrd_yield symbols.
7855 * nptl/descr.h (struct pthread): Add c11 field.
7856 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
7857 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
7858 routine with expected function prototype.
7859 (__pthread_create_2_1): Add C11 threads check based on attribute
7861 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
7862 * nptl/thrd_create.c: New file.
7863 * nptl/thrd_current.c: Likewise.
7864 * nptl/thrd_detach.c: Likewise.
7865 * nptl/thrd_equal.c: Likewise.
7866 * nptl/thrd_exit.c: Likewise.
7867 * nptl/thrd_join.c: Likewise.
7868 * nptl/thrd_priv.h: Likewise.
7869 * nptl/thrd_sleep.c: Likewise.
7870 * nptl/thrd_yield.c: Likewise.
7871 * include/threads.h: Likewise.
7873 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7875 * bits/indirect-return.h: New file.
7876 * misc/sys/cdefs.h (__glibc_has_attribute): New.
7877 * sysdeps/x86/bits/indirect-return.h: Likewise.
7878 * stdlib/Makefile (headers): Add bits/indirect-return.h.
7879 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
7880 (swapcontext): Add __INDIRECT_RETURN.
7881 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
7882 (prepare_test_buffer): Use it.
7884 2018-07-24 Andreas Schwab <schwab@suse.de>
7887 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
7888 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
7890 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7892 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
7893 Redefine if shadow stack is enabled.
7894 (SYSCALL_ERROR_LABEL): Likewise.
7895 (__vfork): Pop shadow stack and jump back to to caller directly
7896 when shadow stack is in use.
7897 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
7898 Redefine if shadow stack is enabled.
7899 (SYSCALL_ERROR_LABEL): Likewise.
7900 (__vfork): Pop shadow stack and jump back to to caller directly
7901 when shadow stack is in use.
7903 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7905 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
7908 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
7911 2018-07-20 Joseph Myers <joseph@codesourcery.com>
7913 * scripts/build-many-glibcs.py (Context.checkout): Default
7914 binutils version to 2.31 branch.
7916 2018-07-20 Zong Li <zong@andestech.com>
7918 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
7919 URL of gcc's tarball.
7921 2018-07-20 Florian Weimer <fweimer@redhat.com>
7924 * posix/regcomp.c (build_equiv_class): When comparing weights, do
7925 not compare an extra byte after the end of the weights.
7927 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
7929 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
7931 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
7933 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
7934 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
7935 * scripts/check-execstack.awk: Consider `xfail' variable containing a
7936 list of libraries whose stack executability is expected.
7937 * elf/Makefile ($(objpfx)check-execstack.out): Pass
7938 $(check-execstack-xfail) to check-execstack.awk through `xfail'
7940 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
7941 libc.so libpthread.so.
7943 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
7945 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
7947 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
7949 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
7951 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
7953 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7955 * benchtests/scripts/compare_bench.py (__main__): use the argparse
7956 library to improve command line parsing.
7957 (__main__): make schema file as optional parameter (--schema),
7958 defaulting to benchtests/scripts/benchout.schema.json.
7959 (main): move out of the parsing stuff to __main_ and leave it
7960 only as caller of main comparison functions.
7962 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
7964 * NEWS: Add a note for Intel CET status.
7965 * manual/install.texi: Likewise.
7966 * INSTALL: Regenerated.
7968 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
7971 * localedata/locales/oc_FR (mon): Rename to...
7972 (alt_mon): This, then update October (typo fix).
7973 (mon): New content (genitive case, month names preceded by
7977 * localedata/locales/oc_FR (abday): Update all items.
7978 (day): Update Wednesday and Saturday (typo fixes).
7979 (abmon): Update all items, except May.
7980 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
7981 (LC_IDENTIFICATION): Bump the revision number and date.
7982 Keep the "category" entries in alphabetic order.
7983 (LC_ADDRESS): Remove no longer needed comment.
7984 (LC_COLLATE): Use “copy "ca_ES"”.
7985 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
7988 2018-07-18 Joseph Myers <joseph@codesourcery.com>
7990 * grp/tst_fgetgrent.c: Include <unistd.h>.
7991 (main): Use mkstemp instead of tmpnam.
7992 * io/test-utime.c (main): Likewise.
7993 * posix/annexc.c (macrofile): Change to modifiable array.
7994 (main): Remove macrofile here.
7995 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
7997 (check_header): Do not remove macrofile here.
7998 * posix/bug-getopt1.c: Include <stdlib.h>.
7999 (do_test): Use mkstemp instead of tmpnam.
8000 * posix/bug-getopt2.c: Include <stdlib.h>.
8001 (do_test): Use mkstemp instead of tmpnam.
8002 * posix/bug-getopt3.c: Include <stdlib.h>.
8003 (do_test): Use mkstemp instead of tmpnam.
8004 * posix/bug-getopt4.c: Include <stdlib.h>.
8005 (do_test): Use mkstemp instead of tmpnam.
8006 * posix/bug-getopt5.c: Include <stdlib.h>.
8007 (do_test): Use mkstemp instead of tmpnam.
8008 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8009 (main): Use mkstemp instead of tmpnam.
8010 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8011 (main): Use mkstemp instead of tmpnam.
8012 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8013 (main): use mkstemp instead of tmpnam.
8014 * stdlib/isomac.c (macrofile): Change to modifiable array.
8015 (main): Remove macrofile here.
8016 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8018 (check_header): Do not remove macrofile here.
8020 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8022 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8023 glibc.tune.x86_shstk.
8025 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8027 * NEWS: Mention --enable-cet.
8028 * manual/install.texi: Document --enable-cet.
8029 * INSTALL: Regenerated.
8031 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8033 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8034 Add _CET_NOTRACK before indirect jump to jump table.
8036 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8038 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8039 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8042 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8044 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8045 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8048 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8050 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8051 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8054 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8057 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8060 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8062 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8063 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8065 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8067 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8069 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8070 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8073 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8075 * sysdeps/i386/i686/multiarch/memset-sse2.S
8076 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8079 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8081 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8082 indirect jump to jump table.
8084 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8086 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8087 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8091 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8093 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8094 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8098 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8100 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8101 _CET_NOTRACK before indirect jump to jump table.
8103 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8105 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8106 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8109 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8111 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8112 indirect jump to jump table.
8114 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8117 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8118 (LOCALES): Likewise.
8119 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8120 * localedata/locales/sah_RU: New file.
8121 * localedata/sah_RU.UTF-8.in: New file.
8123 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8125 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8127 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8128 _CET_ENDBR to indirect jump targets and adjust jump destination
8130 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8132 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8133 _CET_ENDBR to indirect jump targets and adjust jump destination
8135 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8137 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8138 _CET_ENDBR to indirect jump targets and adjust jump destination
8141 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8143 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8146 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8148 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8150 (_dl_tlsdesc_undefweak): Likewise.
8151 (_dl_tlsdesc_dynamic): Likewise.
8152 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8153 (_dl_tlsdesc_resolve_rel): Likewise.
8154 (_dl_tlsdesc_resolve_rela): Likewise.
8155 (_dl_tlsdesc_resolve_hold): Likewise.
8156 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8157 (_dl_tlsdesc_undefweak): Likewise.
8158 (_dl_tlsdesc_dynamic): Likewise.
8159 (_dl_tlsdesc_resolve_rela): Likewise.
8160 (_dl_tlsdesc_resolve_hold): Likewise.
8162 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8164 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8166 * sysdeps/x86_64/crti.S (_init): Likewise.
8169 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8172 * localedata/locales/os_RU (mon): Rename to...
8174 (mon): Import from CLDR (genitive case).
8176 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8178 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8179 cet-tunables.h> when CET is enabled.
8181 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8184 * configure.ac: Add --enable-cet.
8185 * configure: Regenerated.
8186 * elf/Makefille (all-built-dso): Add a comment.
8187 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8188 Include <dl-prop.h>.
8189 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8191 * elf/dl-open.c: Include <dl-prop.h>.
8192 (dl_open_worker): Call _dl_open_check.
8193 * elf/rtld.c: Include <dl-prop.h>.
8194 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8196 * sysdeps/generic/dl-prop.h: New file.
8197 * sysdeps/i386/dl-cet.c: Likewise.
8198 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8199 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8200 * sysdeps/x86/cet-tunables.h: Likewise.
8201 * sysdeps/x86/check-cet.awk: Likewise.
8202 * sysdeps/x86/configure: Likewise.
8203 * sysdeps/x86/configure.ac: Likewise.
8204 * sysdeps/x86/dl-cet.c: Likewise.
8205 * sysdeps/x86/dl-procruntime.c: Likewise.
8206 * sysdeps/x86/dl-prop.h: Likewise.
8207 * sysdeps/x86/libc-start.h: Likewise.
8208 * sysdeps/x86/link_map.h: Likewise.
8209 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8211 (_dl_runtime_profile): Likewise.
8212 (_dl_runtime_resolve_shstk): New.
8213 (_dl_runtime_profile_shstk): Likewise.
8214 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8216 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8217 (CFLAGS-.os): Likewise.
8218 (CFLAGS-.op): Likewise.
8219 (CFLAGS-.oS): Likewise.
8220 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8222 (tests-special): Add $(objpfx)check-cet.out.
8223 (cet-built-dso): New.
8224 (+$(cet-built-dso:=.note)): Likewise.
8225 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8226 ($(objpfx)check-cet.out): New.
8227 (generated): Add check-cet.out.
8228 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8230 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8231 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8232 (init_cpu_features): Call get_cet_status to check CET status
8233 and update dl_x86_feature_1 with CET status. Call
8234 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8235 (set_x86_shstk). Disable and lock CET in libc.a.
8236 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8237 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8238 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8239 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8240 (_CET_ENDBR): Define if not defined.
8241 (ENTRY): Add _CET_ENDBR.
8242 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8244 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8246 (_dl_runtime_profile): Likewise.
8248 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8251 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8252 restore r2 on longjmp.
8253 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8255 Added rules to build test tst-setjmp-bug21895-static.
8256 Added module setjmp-bug21895 and rules to build a shared object from it.
8257 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8258 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8260 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8262 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8263 * benchtests/bench-strstr.c: Likewise.
8264 * string/memmem.c (FASTSEARCH): Define.
8265 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8266 Add support for FASTSEARCH.
8267 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8268 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8269 (FASTSEARCH): Define.
8270 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8271 * string/test-strstr.c: Likewise.
8273 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8275 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8276 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8278 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8279 H.J. Lu <hongjiu.lu@intel.com>
8281 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8282 (__longjmp): Restore shadow stack pointer if shadow stack is
8283 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8284 isn't defined for __longjmp_cancel.
8285 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8286 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8287 and SHADOW_STACK_POINTER_OFFSET is defined.
8288 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8289 (setjmp): Save shadow stack pointer if shadow stack is enabled
8290 and SHADOW_STACK_POINTER_OFFSET is defined.
8291 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8292 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8293 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8294 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8296 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8297 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8298 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8299 Remove jmp_buf-ssp.sym.
8300 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8302 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8303 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8304 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8306 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8307 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8308 (__longjmp): Restore shadow stack pointer if shadow stack is
8309 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8310 isn't defined for __longjmp_cancel.
8311 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8312 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8313 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8315 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8318 * nptl/pthread_create.c: Include <tls-setup.h>.
8319 (__pthread_create_2_1): Call tls_setup_tcbhead.
8320 * sysdeps/generic/tls-setup.h: New file.
8321 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8322 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8323 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8325 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8327 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8328 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8329 (X86_FEATURE_1_SHSTK): Likewise.
8330 (CET_ENABLED): Likewise.
8331 (IBT_ENABLED): Likewise.
8332 (SHSTK_ENABLED): Likewise.
8334 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8337 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8338 (LOCALES): Likewise.
8339 * localedata/dsb_DE.UTF-8.in: New file.
8340 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8342 2018-07-12 Florian Weimer <fweimer@redhat.com>
8344 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8345 __mprotect, not mprotect.
8347 2018-07-11 Florian Weimer <fweimer@redhat.com>
8349 * io/Makefile (headers): Add bits/statx.h.
8351 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8353 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8354 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8356 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8357 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8360 2018-07-10 Florian Weimer <fweimer@redhat.com>
8362 * io/Makefile (routines): Add statx.
8363 (tests-internal): Add tst-statx.
8364 * io/Versions (GLIBC_2.28): Export statx.
8365 * io/bits/statx.h: New file.
8366 * io/sys/stat.h [__USE_GNU]: Include it.
8367 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8368 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8370 * io/statx.c: New file.
8371 * io/statx_generic.: Likewise.
8372 * io/tst-statx.: Likewise.
8373 * include/bits/statx.h: Likewise.
8374 * sysdeps/unix/sysv/linux/kernel-features.h
8375 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8376 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8377 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8378 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8380 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8381 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8382 * sysdeps/unix/sysv/linux/statx.c: New file.
8383 * manual/filesys.texi: Note that statx is undocumented.
8384 * sysdeps/**/libc*.abilist: Update.
8386 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8388 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8389 a kernel issue which lead to test failure in some cases.
8391 2018-07-10 Florian Weimer <fweimer@redhat.com>
8394 * posix/regexec.c (check_node_accept_bytes): When comparing
8395 weights, do not compare an extra byte after the end of the
8398 2018-07-10 Florian Weimer <fweimer@redhat.com>
8400 * libio/readline.c: Fix copyright year.
8401 * libio/tst-readline.c Likewise.
8402 * nss/tst-nss-files-hosts-getent.c: Likewise.
8404 2018-07-06 Florian Weimer <fweimer@redhat.com>
8407 * nss/nss_files/files-XXX.c (internal_getent): Use
8408 __libc_readline_unlocked. Seek back to the start of the line if
8409 parsing failes with ERANGE.
8410 (get_contents_ret, get_contents): Remove.
8411 * nss/tst-nss-files-hosts-getent.c: New file.
8412 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8413 (tst-nss-files-hosts-getent): Link with -ldl.
8415 2018-07-06 Florian Weimer <fweimer@redhat.com>
8417 * include/stdio.h (__libc_readline_unlocked): Declare.
8418 (__ftello64, __fseeko64): Declare aliases.
8419 * libio/readline.c: New file.
8420 * libio/tst-readline.c: Likewise.
8421 (routines): Add readline.
8422 (tests-internal): Add tst-readlime.
8423 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8424 __libc_readline_unlocked.
8425 * libio/fseeko.c (__fseeko): Rename from fseeko.
8426 (fseeko): Add alias.
8427 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8428 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8429 (fseeko64): Add alias.
8430 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8431 * libio/ftello64.c (__ftello64): Rename from ftello64.
8432 (ftello64): Add alias.
8434 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8436 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8439 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8441 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8442 Use dl_hwcap without masking.
8443 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8446 2018-07-06 Florian Weimer <fweimer@redhat.com>
8448 * conform/conformtest.pl (checknamespace): Escape literal braces
8449 in regular expressions.
8451 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8453 * sysdeps/x86/cpu-features.c (get_common_indeces):
8454 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8455 * sysdeps/x86/cpu-features.c (init_cpu_features):
8456 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8458 2018-07-05 Florian Weimer <fweimer@redhat.com>
8460 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8462 (CFLAGS-elf-init.oS): Likewise.
8464 2018-07-05 Florian Weimer <fweimer@redhat.com>
8465 Carlos O'Donell <carlos@redhat.com>
8467 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8468 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8469 with stack protector enabled because there is no risk of infinite
8472 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8476 * libc-abis (ABSOLUTE): New ABI.
8477 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8478 * NEWS: Mention the new ABI.
8480 2018-07-05 Florian Weimer <fweimer@redhat.com>
8483 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8484 (RENAME_WHITEOUT): Define.
8485 [__USE_GNU] (renameat2): Declare.
8486 * stdio-common/Makefile (routines): Add renameat2.
8487 (tests): Add tst-renameat2.
8488 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8489 * stdio-common/renameat2.c: New file.
8490 * stdio-common/tst-renameat2.c: Likewise.
8491 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8492 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8494 * sysdeps/unix/sysv/linux/kernel-features.h
8495 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8496 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8497 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8498 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8499 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8500 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8501 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8502 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8503 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8504 * include/stdio.h (__renameat): Add alias for renameat.
8505 * stdio-common/renameat.c (__renameat): Rename from renameat.
8506 Add hidden definition and alias.
8507 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8508 * sysdeps/mach/hurd/renameat.c: Likewise.
8509 * sysdeps/**/libc*.abilist: Add renameat2.
8511 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8513 * posix/bug-regex33.c: Fix build after regex sync.
8515 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8518 * localedata/tst-langinfo-setlocale.c: New file.
8519 * localedata/tst-langinfo-setlocale-static.c: New file.
8520 * localedata/tst-langinfo-newlocale.c: New file.
8521 * localedata/tst-langinfo-newlocale-static.c: New file.
8522 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8523 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8524 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8525 (tests-static): Remove tst-langinfo-static. Add
8526 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8527 (tests-special): Remove $(objpfx)tst-langinfo.out,
8528 $(objpfx)tst-langinfo-static.out. Add
8529 $(objpfx)tst-langinfo-setlocale.out,
8530 $(objpfx)tst-langinfo-newlocale.out,
8531 $(objpfx)tst-langinfo-setlocale-static.out,
8532 $(objpfx)tst-langinfo-newlocale-static.out.
8533 ($(objpfx)tst-langinfo.out): Remove.
8534 ($(objpfx)tst-langinfo-static.out): Remove.
8535 ($(objpfx)tst-langinfo-newlocale.out): New target.
8536 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8537 (test-xfail-tst-langinfo-newlocale-static): Add.
8538 ($(objpfx)tst-langinfo-setlocale.out): New target.
8539 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8540 * localedata/tst-langinfo.c: Call test_locale.
8541 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8544 2018-07-04 Florian Weimer <fweimer@redhat.com>
8546 testrun.sh: Implement --tool=strace, --tool=valgrind
8547 * Makefile (testrun-script): Define variable.
8548 (testrun.sh): Use variable.
8549 * manual/install.texi (Tools for Compilation): make 4.0 or later
8551 * configure.ac: Check for make 4.0 or later.
8552 * INSTALL: Regenerate.
8553 * configure: Likewise.
8555 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8561 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8562 * posix/PCRE.tests: Remove invalid test.
8563 * posix/bug-regex28.c: Fix expected values for used syntax.
8564 * posix/bug-regex37.c: New file.
8565 * posix/bug-regex38.c: Likewise.
8566 * posix/regcomp.c: Sync with gnulib.
8567 * posix/regex.c: Likewise.
8568 * posix/regex.h: Likewise.
8569 * posix/regex_internal.c: Likewise.
8570 * posix/regex_internal.h: Likewise.
8571 * posix/regexec.c: Likewise.
8573 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8576 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8577 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8578 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8579 * localedata/unicode-gen/PropList.txt: likewise.
8580 * localedata/unicode-gen/UnicodeData.txt: likewise.
8581 * localedata/charmaps/UTF-8: Regenerate.
8582 * localedata/locales/i18n_ctype: likewise.
8583 * localedata/locales/tr_TR: likewise.
8584 * localedata/locales/translit_circle: likewise.
8585 * localedata/locales/translit_cjk_compat: likewise.
8586 * localedata/locales/translit_combining: likewise.
8587 * localedata/locales/translit_compat: likewise.
8588 * localedata/locales/translit_font: likewise.
8589 * localedata/locales/translit_fraction: likewise.
8591 2018-07-03 Florian Weimer <fweimer@redhat.com>
8594 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8595 * stdio-common/tst-printf.sh: Adjust expected output.
8598 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8600 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8603 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8605 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8606 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8607 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8608 * stdio-common/tst-printfsz-islongdouble.c: New file.
8609 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8610 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8611 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8612 [subdir == stdio-common] (tests-internal): Add
8613 test-printf-size-ieee128, and test-printf-size-ibm128.
8614 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8615 (CFLAGS-test-printf-size-ibm128.c): New variables.
8616 [subdir == stdio-common] (tests-special): Add
8617 $(objpfx)test-printf-size-ieee128.out and
8618 $(objpfx)test-printf-size-ibm128.out.
8619 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8620 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8621 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8622 __printf_sizeieee128.
8623 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8625 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8627 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8630 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8632 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8633 (exp2f_inline): Likewise.
8634 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8635 (__math_uflowf): Likewise.
8636 (__math_may_uflowf): Likewise.
8637 (__math_divzerof): Likewise.
8638 (__math_invalidf): Likewise.
8639 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8640 (__math_oflowf): Likewise.
8641 (__math_uflowf): Likewise.
8642 (__math_may_uflowf): Likewise.
8643 (__math_divzerof): Likewise.
8644 (__math_invalidf): Likewise.
8646 2018-06-29 DJ Delorie <dj@redhat.com>
8647 Carlos O'Donell <carlos@redhat.com>
8650 * include/libc-symbols.h: Comment the freeres framework.
8651 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8652 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8653 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8654 * dlfcn/dlerror.c: Include libc-symbols.h
8655 (__dlerror_main_freeres): New function.
8656 * dlfcn/dlfreeres.c: New file.
8657 * dlfcn/sdlfreeres.c: New file.
8658 * include/dlfcn.h: Declare __dlerror_main_freeres.
8659 * malloc/set-freeres.c: Declare __libdl_freeres, and
8660 __libpthread_freeres.
8661 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8662 the releavant libraries are loaded.
8663 * malloc/thread-freeres.c: Add comments.
8664 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8665 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8666 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8667 (__free_stacks): Rename to...
8668 (free_stacks): ...this. Mark static.
8669 (queue_stack): Call free_stacks.
8670 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8671 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8672 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8673 ptr_freeres element from struct.
8674 (pthread_functions): Remove .ptr_freeres from struct initializer.
8675 [SHARED] (nptl_freeres): Remove.
8676 * nptl/nptlfreeres.c: New file.
8678 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8679 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8681 (__free_stacks): Rename to...
8682 (__nptl_stacks_freeres): ...this.
8683 (__shm_directory_freeres): Declare.
8684 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8685 (__nptl_unwind_freeres): ...this.
8686 * resolv/res-close.c: Add comment.
8687 * resolv/resolv_conf.c: Include libc-symbols.h.
8688 * string/strerror_l.c: Include libc-symbols.h.
8689 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8690 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8691 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8692 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8694 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8696 * stdlib/tst-strfmon_l.c: Add tests for long double.
8698 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8701 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8702 * localedata/locales/dsb_DE: New file.
8704 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8707 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8709 (alt_mon): New entry, import from CLDR (nominative case).
8711 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8714 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8716 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8718 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8719 Use vector registers.
8721 * sysdeps/aarch64/multiarch/memmove_falkor.S
8722 (__memcpy_falkor): Use vector registers.
8724 2018-06-29 Martin Sebor <msebor@redhat.com>
8726 * manual/stdio.texi (Customizing Printf): Mention interaction
8729 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8732 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8733 `st_value' is 0 if `st_shndx' is SHN_ABS.
8734 * elf/tst-absolute-zero.c: New file.
8735 * elf/tst-absolute-zero-lib.c: New file.
8736 * elf/tst-absolute-zero-lib.lds: New file.
8737 * elf/Makefile (tests): Add `tst-absolute-zero'.
8738 (modules-names): Add `tst-absolute-zero-lib'.
8739 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8740 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8741 ($(objpfx)tst-absolute-zero: New dependency.
8743 2018-06-29 Zack Weinberg <zackw@panix.com>
8745 * configure.ac: New command-line option --disable-crypt.
8746 Force --disable-nss-crypt when --disable-crypt is given, with a
8747 warning if it was explicitly enabled.
8748 * configure: Regenerate.
8749 * config.make.in: New boolean substitution variable $(build-crypt).
8750 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8751 when $(build-crypt).
8752 * manual/install.texi: Document --disable-crypt.
8753 * INSTALL: Regenerate.
8755 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8757 * conform/Makefile: Only include libcrypt.a in
8758 linknamespace-libs-xsi and linknamespace-libs-XPG4
8759 when $(build-crypt).
8760 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8761 USE_CRYPT to 1 when $(build-crypt).
8762 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8763 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8764 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8766 2018-06-29 Zack Weinberg <zackw@panix.com>
8768 * crypt/crypt.h, posix/unistd.h: Update comments and
8769 prototypes for crypt and crypt_r.
8771 * manual/crypt.texi (Cryptographic Functions): New initial
8773 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8774 (Unpredictable Bytes): Improve initial exposition. Clarify error
8775 behavior of getentropy and getrandom.
8776 * manual/examples/genpass.c: Generate a salt using getentropy
8777 instead of the current time. Use hash $5$ (SHA-2-256).
8778 * manual/examples/testpass.c: Demonstrate validation against
8779 hashes generated with three different one-way functions.
8781 * manual/intro.texi: crypt.texi does not need an overview
8784 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8785 * manual/terminal.texi: Consistently refer to "passphrases"
8786 * instead of "passwords", and to the "user database" instead
8787 * of the "password database".
8788 * manual/users.texi: Similarly. Add notes about how actual
8789 passphrase hashes are now stored in the shadow database.
8790 Remove 20-year-old junk todo note.
8792 2018-06-29 Zack Weinberg <zackw@panix.com>
8794 * manual/crypt.texi: Use a normal top-level @node declaration.
8795 Move most of the introductory text to the 'crypt' section.
8796 Move the example programs below the @deftypefun for 'crypt_r'.
8797 Move the 'getpass' section...
8798 * manual/terminal.texi: ...here.
8800 2018-06-29 Zack Weinberg <zackw@panix.com>
8801 Florian Weimer <fweimer@redhat.com>
8803 * posix/unistd.h: Do not declare encrypt.
8804 (_XOPEN_CRYPT): Remove macro definition.
8805 (crypt): Declare only for _USE_MISC.
8806 * stdlib/stdlib.h: Do not declare setkey.
8807 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
8808 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
8810 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
8811 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
8812 into compat symbols. Don't define initial_perm if it's not
8814 * crypt/cert.c: Link explicitly with the expected versions for
8815 setkey and encrypt. If they are not available at all, mark
8816 the test as unsupported.
8818 * sunrpc/des_crypt.c: Unconditionally block linkage with
8819 cbc_crypt and ecb_crypt for new binaries.
8820 * sunrpc/des_soft.c: Unconditionally block linkage with
8821 des_setparity for new binaries.
8823 * manual/crypt.texi: Remove the entire "DES Encryption"
8824 section. Also remove the paragraph talking about FIPS 140-2
8825 from the introduction.
8826 * manual/string.texi (strfry, memfrob): Revise. Recommend use
8827 of libgcrypt for "real" encryption, not DES.
8828 * manual/conf.texi (Constants for Sysconf): Mention that
8829 _XOPEN_CRYPT is no longer impelemented.
8831 * conform/data/unistd.h-data: Remove crypt function declaration.
8833 2018-06-29 Florian Weimer <fweimer@redhat.com>
8836 * malloc/hooks.c: Update comments on restoring of dumped heaps.
8837 (disallow_malloc_check): Remove variable.
8838 (__malloc_check_init): Adjust.
8839 (malloc_set_state): Update comment.
8840 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
8843 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8846 * localedata/locales/ast_ES (mon): Rename to...
8848 (mon): Import from CLDR (genitive case).
8850 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
8851 Jakub Sitnicki <jkbs@redhat.com>
8854 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
8857 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8859 * manual/llio.texi: Remove spurious space.
8861 2018-06-28 Florian Weimer <fweimer@redhat.com>
8864 * time/bits/types/struct_timespec.h: Change header inclusion guard to
8867 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8869 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
8870 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
8871 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
8872 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
8873 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
8874 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
8875 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
8877 2018-06-27 Maciej W. Rozycki <macro@mips.com>
8880 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
8881 Copy and null-terminate entries that are not terminated, in
8882 addition to empty ones.
8884 2018-06-27 Florian Weimer <fweimer@redhat.com>
8887 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
8888 (extend_alloca_account): Remove.
8889 * manual/stdio.texi (Variable Arguments Output): Update comment.
8891 2018-06-27 Joseph Myers <joseph@codesourcery.com>
8893 * nptl/sockperf.c: Remove file.
8895 2018-06-27 Florian Weimer <fweimer@redhat.com>
8898 * elf/dl-deps.c (_dl_map_object_deps): Use struct
8899 scratch_buffer instead of extend_alloca.
8901 2018-06-27 Florian Weimer <fweimer@redhat.com>
8904 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
8905 scratch_buffer instead of extend_alloca. Update comments.
8907 2018-06-27 Florian Weimer <fweimer@redhat.com>
8910 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
8911 instead of extend_alloca.
8913 2018-06-26 Joseph Myers <joseph@codesourcery.com>
8916 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
8917 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
8919 * scripts/test-installation.pl: Put temporary files in build
8920 directory, not /tmp.
8921 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
8922 (CFLAGS-bug4.c): Likewise.
8923 (CFLAGS-bug5.c): Likewise.
8924 (CFLAGS-test-fseek.c): Likewise.
8925 (CFLAGS-test-popen.c): Likewise.
8926 (CFLAGS-test_rdwr.c): Likewise.
8927 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
8929 * stdio-common/bug4.c (main): Likewise.
8930 * stdio-common/bug5.c (main): Likewise.
8931 * stdio-common/test-fseek.c (TESTFILE): Likewise.
8932 * stdio-common/test-popen.c (do_test): Likewise.
8933 * stdio-common/test_rdwr.c (main): Likewise.
8935 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
8937 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
8938 (sem_open): Set sem.newsem.pad to zero for valgrind.
8940 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8943 * NEWS: Mention fcntl64 addition.
8944 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
8945 * login/utmp_file.c: Likewise.
8946 * sysdeps/posix/fdopendir.c: Likewise.
8947 * sysdeps/posix/opendir.c: Likewise.
8948 * sysdeps/unix/pt-fcntl.c: Likewise.
8949 * include/fcntl.h (__libc_fcntl64, __fcntl64,
8950 __fcntl64_nocancel_adjusted): New prototype.
8951 (__fcntl_nocancel_adjusted): Remove prototype.
8952 * io/Makefile (routines): Add fcntl64.
8953 (CFLAGS-fcntl64.c): New rule.
8954 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
8955 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
8956 * io/fcntl.h (fcntl64): Add prototype and redirect if
8957 __USE_FILE_OFFSET64 is defined.
8958 * io/fcntl64.c: New file.
8959 * manual/llio.text: Add a note for which commands fcntl acts a
8961 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
8962 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
8963 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
8965 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
8966 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
8968 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
8969 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
8970 to __fcntl64_nocancel.
8971 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
8972 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
8973 to __fcntl64_nocancel.
8974 * sysdeps/generic/not-cancel.h: Likewise.
8975 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
8976 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
8977 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
8978 (fcntl64): New symbol.
8979 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8980 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8981 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8984 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
8985 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8986 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8987 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8988 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8989 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
8991 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8992 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
8993 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8994 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8995 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8996 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8997 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8998 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8999 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9004 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9005 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9006 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9008 2018-06-26 Florian Weimer <fweimer@redhat.com>
9010 Run thread shutdown functions in an explicit order.
9011 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9013 (__libc_thread_freeres): Call thread shutdown functions
9015 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9016 * include/string.h (__strerror_thread_freeres): Declare.
9017 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9018 arena_thread_freeres. No longer static. Remove thread shutdown
9020 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9022 * resolv/res-close.c (__res_thread_freeres): Renamed from
9023 res_thread_freeres. No longer static. Remove thread shutdown
9025 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9026 * resolv/resolv_conf.c (freeres): Remove incorrect section
9027 attribute and use libc_freeres_fn.
9028 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9029 strerror_thread_freeres. No longer static. Remove thread
9030 shutdown hook registration.
9031 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9032 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9033 shutdown hook registration.
9034 * Makerules (shlib.lds): Do not provide section boundary symbols
9035 for __libc_thread_subfreeres.
9036 * manual/memory.texi (Basic Allocation): Update comment.
9038 2018-06-26 Florian Weimer <fweimer@redhat.com>
9040 Remove always-defined _RPC_THREAD_SAFE_ macro.
9041 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9042 Do not define _RPC_THREAD_SAFE_.
9043 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9045 * sunrpc/clnt_perr.c: Likewise.
9046 * sunrpc/clnt_raw.c: Likewise.
9047 * sunrpc/clnt_simp.c: Likewise.
9048 * sunrpc/key_call.c: Likewise.
9049 * sunrpc/rpc_common.c: Likewise.
9050 * sunrpc/rpc_main.c: Likewise.
9051 * sunrpc/rpc_thread.c: Likewise.
9052 * sunrpc/svc.c: Likewise.
9053 * sunrpc/svc_raw.c: Likewise.
9054 * sunrpc/svc_simple.c: Likewise.
9055 * sumrpc/svcauth_des.c: Likewise.
9057 2018-06-26 Florian Weimer <fweimer@redhat.com>
9059 * libio/Makefile (tests-internal): Add tst-vtables,
9060 tst-vtables-interposed.
9061 * libio/tst-vtables.c: New file.
9062 * libio/tst-vtables-common.c: Likewise.
9063 * libio/tst-vtables-interposed.c: Likewise.
9065 2018-06-26 Florian Weimer <fweimer@redhat.com>
9067 * support/support_test_main.c (support_test_main): Only call
9068 setvbuf if not disables.
9069 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9070 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9072 2018-06-26 Florian Weimer <fweimer@redhat.com>
9075 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9077 2018-06-25 Florian Weimer <fweimer@redhat.com>
9080 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9081 Use struct scratch_buffer instead of extend_alloca.
9083 2018-06-25 Florian Weimer <fweimer@redhat.com>
9086 * nss/getent.c (initgroups_keys): Use dynarray instead of
9089 2018-06-25 Florian Weimer <fweimer@redhat.com>
9092 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9093 Use struct scratch_buffer instead of extend_alloca.
9095 2018-06-25 Florian Weimer <fweimer@redhat.com>
9098 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9099 back to malloc directly, without stack allocations.
9101 2018-06-25 Florian Weimer <fweimer@redhat.com>
9104 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9107 2018-06-25 Florian Weimer <fweimer@redhat.com>
9110 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9112 * nscd/hstcache.c (addhstbyX): Likewise.
9113 * nscd/pwdcache.c (addpwbyX): Likewise.
9114 * nscd/servicescache.c (addservbyX): Likewise.
9116 2018-06-25 Florian Weimer <fweimer@redhat.com>
9119 * nscd/connections.c (read_cmdline): New function.
9120 (restart): Use it. Update comment.
9122 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9125 * localedata/locales/csb_PL (mon): Rename to...
9127 (abmon): Rename to...
9129 (mon): Add with proper genitive forms, copy from Wikipedia.
9132 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9135 * localedata/locales/csb_PL (mon): Fix typos:
9136 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9137 (yesstr): Add, value is "jo".
9138 (nostr): Add, value is "nié".
9140 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9142 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9143 all log1p and significand functions on m680x0.
9144 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9145 of s_significand.c..
9146 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9147 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9148 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9149 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9150 s_log1p.c and include it..
9152 2018-06-21 Vincent Chen <vincentc@andestech.com>
9154 * elf/elf.h (R_NDS32_NONE): New define.
9155 (R_NDS32_32_RELA): Likewise.
9156 (R_NDS32_COPY): Likewise.
9157 (R_NDS32_GLOB_DAT): Likewise.
9158 (R_NDS32_JUMP_SLOT): Likewise.
9159 (R_NDS32_RELATIVE): Likewise.
9160 (R_NDS32_TLS_TPOFF): Likewise.
9161 (R_NDS32_TLS_DESC): Likewise.
9163 2018-06-21 Mark Wielaard <mark@klomp.org>
9165 * elf/elf.h (R_BPF_MAP_FD): Removed.
9166 (R_BPF_64_64, R_BPF_64_32): New.
9168 2018-06-21 Florian Weimer <fweimer@redhat.com>
9171 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9172 Renamed from libc_feholdsetround_ctx.
9173 (default_libc_feresetround_ctx): Renamed from
9174 libc_feresetround_ctx.
9175 (default_libc_feholdsetround_noex_ctx): Renamed from
9176 libc_feholdsetround_noex_ctx.
9177 (default_libc_feresetround_noex_ctx): Renamed from
9178 libc_feresetround_noex_ctx.
9179 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9180 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9181 forwardning to the old implementations under the new names.
9182 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9183 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9184 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9185 (libc_feresetround_ctx): Forward to default implements for i386
9186 and MATH_SET_BOTH_ROUNDING_MODES.
9187 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9188 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9190 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9192 * string/tst-cmp.c: Include <libc-diag.h>.
9193 (strncmp_max): Disable -Wstringop-overflow= around call to
9195 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9198 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9199 (main): Disable -Wunused-value around call to strpbrk.
9200 * string/bug-strspn1.c: Include <libc-diag.h>.
9201 (main): Disable -Wunused-value around call to strspn.
9203 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9204 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9206 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9207 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9209 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9211 * math/Makefile (libm-calls): Move s_significandF to...
9212 (gen-libm-calls): ... here.
9213 * math/s_significand_template.c: New file.
9214 * math/s_significand.c: Removed.
9215 * math/s_significandf.c: Removed.
9216 * math/s_significandl.c: Removed.
9217 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9218 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9220 * math/e_exp2_template.c (declare_mgen_finite_alias,
9221 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9222 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9223 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9225 2018-06-20 Florian Weimer <fweimer@redhat.com>
9227 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9229 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9232 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9233 floating-point number to strtod functions rather than possibly
9234 negating result of those functions.
9235 * stdio-common/tst-scanf-round.c: New file.
9236 * stdio-common/Makefile (tests): Add tst-scanf-round.
9237 ($(objpfx)tst-scanf-round): Depend on $(libm).
9239 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9241 * sysdeps/mach/hurd/localplt.data: Move to...
9242 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9243 R_386_GLOB_DAT like on Linux i386.
9245 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9247 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9248 (SHM_STAT_ANY): New macro.
9249 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9250 (SHM_STAT_ANY): Likewise.
9251 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9252 (SHM_STAT_ANY): Likewise.
9253 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9254 (SHM_STAT_ANY): Likewise.
9255 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9256 (SHM_STAT_ANY): Likewise.
9257 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9258 (SHM_STAT_ANY): Likewise.
9259 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9260 (SHM_STAT_ANY): Likewise.
9261 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9262 (SHM_STAT_ANY): Likewise.
9263 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9264 (SHM_STAT_ANY): Likewise.
9265 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9266 (SHM_STAT_ANY): Likewise.
9267 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9268 (SHM_STAT_ANY): Likewise.
9269 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9270 (SHM_STAT_ANY): Likewise.
9272 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9273 (SEM_STAT_ANY): New macro.
9274 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9275 (SEM_STAT_ANY): Likewise.
9276 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9277 (SEM_STAT_ANY): Likewise.
9278 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9279 (SEM_STAT_ANY): Likewise.
9280 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9281 (SEM_STAT_ANY): Likewise.
9282 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9283 (SEM_STAT_ANY): Likewise.
9284 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9285 (SEM_STAT_ANY): Likewise.
9286 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9287 (SEM_STAT_ANY): Likewise.
9288 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9289 (SEM_STAT_ANY): Likewise.
9290 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9291 (SEM_STAT_ANY): Likewise.
9293 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9294 (MSG_STAT_ANY): New macro.
9295 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9296 (MSG_STAT_ANY): Likewise.
9297 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9298 (MSG_STAT_ANY): Likewise.
9299 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9300 (MSG_STAT_ANY): Likewise.
9301 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9302 (MSG_STAT_ANY): Likewise.
9303 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9304 (MSG_STAT_ANY): Likewise.
9305 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9306 (MSG_STAT_ANY): Likewise.
9307 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9308 (MSG_STAT_ANY): Likewise.
9309 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9310 (MSG_STAT_ANY): Likewise.
9311 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9312 (MSG_STAT_ANY): Likewise.
9314 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9315 (MAP_TYPE): Change value to 0x2b.
9317 2018-06-18 Florian Weimer <fweimer@redhat.com>
9320 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9321 socket with SOCK_CLOEXEC.
9323 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9326 * sysdeps/powerpc/powerpc64/le/Makefile
9327 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9328 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9329 (gnulib-tests): Also add $(f128-loader-link) for
9330 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9332 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9334 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9335 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9337 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9338 (sendfile64): New strong alias.
9339 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9340 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9341 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9342 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9344 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9345 ___pthread_get_cleanup_stack.
9346 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9347 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9348 * mach/shortcut.awk: Make syscall stubs include
9349 <mach-shortcuts-hidden.h> and add hidden definition.
9350 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9351 (__mach_msg): Add hidden prototype.
9352 * mach/msg.c: Include <mach.h>.
9353 (__mach_msg): Add hidden definition.
9354 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9355 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9356 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9357 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9358 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9359 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9360 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9361 prototype and definition.
9362 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9363 hidden target for _hurd_self_sigstate.
9365 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9368 * stdlib/tst-strtod-nan-sign-main.c: New file.
9369 * stdlib/tst-strtod-nan-sign.c: Likewise.
9370 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9371 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9372 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9373 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9374 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9376 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9379 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9382 2018-06-14 Florian Weimer <fweimer@redhat.com>
9385 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9386 that the result stays within the ISO-8859-1 range.
9387 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9388 characters are defined in IBM273.
9390 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9392 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9393 __mach_task_self): Remove attribute_hidden.
9395 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9397 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9398 ignore -Wrestrict for one test.
9400 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9401 Szabolcs Nagy <szabolcs.nagy@arm.com>
9403 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9405 2018-06-14 Florian Weimer <fweimer@redhat.com>
9407 * scripts/update-abilist.sh: Accept empty list of files to patch.
9409 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9411 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9412 test-xfail-check-abi-libmachuser): Add.
9413 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9414 __libc_read and __libc_write to __read and __write.
9415 * sysdeps/hurd/include/hurd/port.h: New file.
9416 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9417 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9418 __thread_switch, __evc_wait): Move declarations to...
9419 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9421 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9422 use PLT to call _hurd_self_sigstate.
9424 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9427 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9428 MAX_EXP as overflowing.
9429 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9431 (round_str): Output also whether result overflows in each rounding
9433 * stdlib/tst-strtod-round-data: Add more tests.
9434 * stdlib/tst-strtod-round-data.h: Regenerated.
9435 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9436 (TEST): Handle extra arguments for overflow flags.
9437 (struct test_overflow): New type.
9438 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9439 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9440 (test_in_one_mode): Take argument with overflow information.
9441 (do_test): Update calls to test_in_one_mode.
9443 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9445 * elf/dl-load (_dl_dst_substitute): Correct comment.
9446 (_dl_dst_count): Likewise.
9448 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9449 lll_futex_timed_wait.
9451 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9454 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9456 * math/test-nan-const.c: New file.
9457 * math/Makefile (tests): Add test-nan-const.
9458 (CFLAGS-test-nan-const.c): New variable.
9460 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9462 * benchtests/scripts/compare_strings.py (process_results): Add
9463 funcs argument. Compare only functions which are selected.
9464 (main): Check if base function is among selected functions.
9465 Pass selected functions to process_results.
9466 (__main__): Add -f/--functions argument.
9468 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9469 Hongbo Zhang <hongbo.zhang@linaro.org>
9471 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9472 __memcpy_falkor for phecda core.
9473 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9474 __memmove_falkor for phecda core.
9475 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9476 __memset_falkor for phecda core.
9477 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9479 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9480 macro to identify phecda core.
9482 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9483 Andreas Schwab <schwab@suse.de>
9484 Dmitry V. Levin <ldv@altlinux.org>
9485 Florian Weimer <fweimer@redhat.com>
9492 * elf/dl-dst.h: Remove DL_DST_COUNT.
9493 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9494 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9495 (is_dst): Comment. Support ELF gABI.
9496 (_dl_dst_count): Comment. Simplify and count DSTs.
9497 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9498 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9501 2018-06-12 Zack Weinberg <zackw@panix.com>
9503 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9504 * sysdeps/unix/sysv/linux/dl-sysdep.c
9505 Include not-cancel.h. Use __close_nocancel instead of __close,
9506 __open64_nocancel instead of __open, __read_nocancel instead of
9507 __libc_read, and __write_nocancel instead of __libc_write.
9509 * csu/check_fds.c (check_one_fd)
9510 * sysdeps/posix/fdopendir.c (__fdopendir)
9511 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9512 instead of __fcntl and/or __libc_fcntl.
9514 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9515 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9516 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9517 Use __open64_nocancel instead of __open_nocancel.
9519 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9520 hidden_proto declarations to the end and issue them if either
9521 IS_IN(libc) or IS_IN(rtld).
9522 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9523 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9524 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9525 read_nocancel, waitpid_nocancel, write_nocancel.
9527 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9528 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9529 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9531 * nptl/pt-fcntl.c: New file.
9532 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9533 (libpthread-routines): Add pt-fcntl.
9534 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9535 (__libc_fcntl): Remove attribute_hidden.
9536 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9537 __fcntl_nocancel_adjusted, not fcntl_common.
9538 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9539 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9540 to fcntl_nocancel.c.
9541 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9544 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9546 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9547 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9548 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9549 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9550 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9551 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9552 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9553 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9554 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9555 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9556 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9557 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9558 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9559 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9560 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9561 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9562 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9563 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9564 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9565 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9567 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9568 libpthread-routines.
9569 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9572 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9573 __libc_read, and __write instead of __libc_write. Define
9574 __open64 in addition to __open.
9576 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9580 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9581 to _private_tm[3] and add __glibc_reserved2.
9582 Add _Static_assert of offset of __private_ss == 0x30.
9583 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9584 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9586 2018-06-12 Florian Weimer <fweimer@redhat.com>
9588 x86: Make strncmp usable from rtld.
9589 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9590 __strncmp_ia32 if in libc (and not in rtld).
9591 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9592 strncmp if not in libc (and not to __strncmp_sse2).
9594 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9597 * localedata/locales/gd_GB (mon): Rename to...
9599 (mon): Import from CLDR (genitive case).
9600 * localedata/locales/hsb_DE (mon): Rename to...
9602 (mon): Import from CLDR (genitive case).
9603 * localedata/locales/wa_BE (mon): Rename to...
9605 (mon): Add, fill with the proper genitive forms, but CLDR data
9606 is incomplete; completed according to the comments in this file.
9607 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9609 * localedata/locales/wa_BE (country_name): Reword
9610 "Beljike" -> "Beldjike".
9612 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9615 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9616 cases of non-finite arguments.
9617 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9619 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9622 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9624 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9627 * include/unistd.h (__execvpex): New prototype.
9628 * posix/Makefile (tests): Add tst-spawn4.
9629 (tests-internal): Add tst-spawn4-compat.
9630 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9631 * posix/tst-spawn4-compat.c: New file.
9632 * posix/tst-spawn4.c: Likewise.
9633 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9634 binaries as shell scripts.
9635 * sysdeps/posix/spawni.c (__spawni): Likewise.
9637 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9640 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9641 ($(all-built-dso:=.dynsym): New target.
9642 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9643 ($(objpfx)check-initfini.out): New target.
9644 (generated): Add check-initfini.out.
9645 * scripts/check-initfini.awk: New file.
9646 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9648 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9650 * sysdeps/arm/crti.S (_init): Mark as hidden.
9652 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9654 * sysdeps/i386/crti.S (_init): Mark as hidden.
9656 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9658 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9660 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9662 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9664 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9666 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9668 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9670 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9672 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9674 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9676 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9678 * sysdeps/sh/crti.S (_init): Mark as hidden.
9680 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9682 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9685 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9687 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9688 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9689 and TF redirection to KFtype and KF only when the default
9690 long double type is not the IEEE 128-bit floating point type.
9692 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9694 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9696 (HWCAP_USCAT): Likewise.
9697 (HWCAP_ILRCPC): Likewise.
9698 (HWCAP_FLAGM): Likewise.
9699 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9701 (_dl_aarch64_cap_flags): Add new flag names.
9703 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9704 (MAP_FIXED_NOREPLACE): New macro.
9705 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9706 (MAP_FIXED_NOREPLACE): Likewise.
9707 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9708 (MAP_FIXED_NOREPLACE): Likewise.
9709 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9710 (MAP_FIXED_NOREPLACE): Likewise.
9711 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9712 (MAP_FIXED_NOREPLACE): Likewise.
9713 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9714 (MAP_FIXED_NOREPLACE): Likewise.
9715 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9716 (MAP_FIXED_NOREPLACE): Likewise.
9717 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9718 (MAP_FIXED_NOREPLACE): Likewise.
9719 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9720 (MAP_FIXED_NOREPLACE): Likewise.
9721 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9722 (MAP_FIXED_NOREPLACE): Likewise.
9723 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9724 (MAP_FIXED_NOREPLACE): Likewise.
9725 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9726 (MAP_FIXED_NOREPLACE): Likewise.
9727 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9728 (MAP_FIXED_NOREPLACE): Likewise.
9729 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9730 (MAP_FIXED_NOREPLACE): Likewise.
9731 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9732 (MAP_FIXED_NOREPLACE): Likewise.
9734 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9737 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9739 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9742 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9744 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9746 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9748 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9750 * benchtests/scripts/compare_string.py: (process_results) Catch
9751 exception in non-existent base_func and catch exception in
9752 non-existent attribute.
9753 (parse_file) Catch exception if input file does not exist.
9755 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9757 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9758 options to avoid diff calculation and omit header, respectively.
9759 (main): process --no-diff and --no-header
9761 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9762 H.J. Lu <hongjiu.lu@intel.com>
9764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9765 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9767 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9768 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9769 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9771 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9772 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9773 AVX unaligned load is fast and vzeroupper is preferred.
9774 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9775 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9776 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9777 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9778 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9779 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9780 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9781 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9782 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9783 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9786 2018-06-01 Florian Weimer <fweimer@redhat.com>
9788 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9789 configuring with --disable-multi-arch, building with
9790 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9793 2018-06-01 Florian Weimer <fweimer@redhat.com>
9795 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9796 results from building with “-march=x86-64 -mtune=generic
9797 -mfpmath=sse” and running on a Haswell-era CPU.
9799 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9802 * soft-fp/sqrttf2.c: Remove file.
9803 * soft-fp/sqrtdf2.c: Move to ....
9804 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
9806 (__sqrtdf2): Make conditional on
9807 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9809 * soft-fp/sqrtsf2.c: Move to ....
9810 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
9812 (__sqrtsf2): Make conditional on
9813 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9815 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
9816 (gcc-double-routines): Remove sqrtdf2.
9817 (gcc-quad-routines): Remove sqrttf2.
9818 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9819 Do not filter out sqrtsf2 and sqrtdf2.
9820 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9821 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
9823 2018-06-01 Florian Weimer <fweimer@redhat.com>
9825 * sysdeps/generic/libcidn.abilist: Remove file.
9827 2018-06-01 Florian Weimer <fweimer@redhat.com>
9830 * libio/strfile.h (struct _IO_str_fields): Rename members to
9831 discourage their use and add comment.
9832 (_IO_STR_DYNAMIC): Remove unused macro.
9833 * libio/strops.c (_IO_str_init_static_internal): Do not use
9834 callback pointers. Call malloc and free.
9835 (_IO_str_overflow): Do not use callback pointers. Call malloc
9837 (enlarge_userbuf): Likewise.
9838 (_IO_str_finish): Call free.
9839 * libio/wstrops.c (_IO_wstr_init_static): Initialize
9840 _allocate_buffer_unused.
9841 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
9843 (enlarge_userbuf): Likewise.
9844 (_IO_wstr_finish): Call free.
9845 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
9846 _allocate_buffer_unused, _free_buffer_unused.
9847 * libio/memstream.c (__open_memstream): Likewise.
9848 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9849 * libio/wmemstream.c (open_wmemstream): Likewise.
9851 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9853 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
9856 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9858 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
9859 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
9860 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
9862 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
9864 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
9866 2018-05-29 Florian Weimer <fweimer@redhat.com>
9868 * support/Makefile (libsupport-routines): Add
9869 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
9870 xpthread_barrierattr_setpshared.
9871 * support/xpthread_barrierattr_destroy.c: New file.
9872 * support/xpthread_barrierattr_init.c: Likewise.
9873 * support/xpthread_barrierattr_setpshared.c: Likewise.
9875 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
9878 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
9879 _r_debug and update DT_DEBUG for debugger.
9881 2018-05-29 Florian Weimer <fweimer@redhat.com>
9883 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
9884 (tst-strtod5i.out): Likewise.
9886 2018-05-25 Joseph Myers <joseph@codesourcery.com>
9888 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
9889 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
9890 (sparc64-quad-routines): New variable. Moved from ....
9891 [$(subdir) = soft-fp] (sysdep_routines): Add
9892 $(sparc64-quad-routines). Moved from ....
9893 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
9894 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
9895 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
9897 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
9898 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
9899 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
9900 * sysdeps/sparc/sparc64/qp_add.c: ... here.
9901 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
9902 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
9903 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
9904 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
9905 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
9906 * sysdeps/sparc/sparc64/qp_div.c: ... here.
9907 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
9908 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
9909 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
9910 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
9911 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
9912 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
9913 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
9914 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
9915 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
9916 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
9917 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
9918 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
9919 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
9920 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
9921 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
9922 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
9923 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
9924 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
9925 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
9926 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
9927 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
9928 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
9929 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
9930 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
9931 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
9932 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
9933 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
9934 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
9935 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
9936 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
9937 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
9938 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
9939 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
9940 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
9941 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
9942 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
9943 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
9944 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
9945 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
9946 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
9947 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
9948 * sysdeps/sparc/sparc64/qp_util.c: ... here.
9949 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
9950 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
9951 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
9952 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
9953 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
9954 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
9956 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
9957 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
9958 (sparc32-quad-routines): New variable. Moved from ....
9959 [$(subdir) = soft-fp] (sysdep_routines): Add
9960 $(sparc32-quad-routines). Moved from ....
9961 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
9962 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
9964 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
9965 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
9966 * sysdeps/sparc/sparc32/q_add.c: ... here.
9967 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
9968 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
9969 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
9970 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
9971 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
9972 * sysdeps/sparc/sparc32/q_div.c: ... here.
9973 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
9974 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
9975 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
9976 * sysdeps/sparc/sparc32/q_feq.c: ... here.
9977 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
9978 * sysdeps/sparc/sparc32/q_fge.c: ... here.
9979 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
9980 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
9981 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
9982 * sysdeps/sparc/sparc32/q_fle.c: ... here.
9983 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
9984 * sysdeps/sparc/sparc32/q_flt.c: ... here.
9985 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
9986 * sysdeps/sparc/sparc32/q_fne.c: ... here.
9987 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
9988 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
9989 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
9990 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
9991 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
9992 * sysdeps/sparc/sparc32/q_mul.c: ... here.
9993 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
9994 * sysdeps/sparc/sparc32/q_neg.c: ... here.
9995 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
9996 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
9997 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
9998 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
9999 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10000 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10001 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10002 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10003 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10004 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10005 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10006 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10007 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10008 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10009 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10010 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10011 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10012 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10013 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10014 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10015 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10016 * sysdeps/sparc/sparc32/q_util.c: ... here.
10017 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10018 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10019 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10020 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10022 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10023 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10025 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10026 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10027 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10028 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10030 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10036 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10037 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10039 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10042 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10045 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10047 * sysdeps/sh/Implies: Remove sh/soft-fp.
10048 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10049 * sysdeps/sh/sfp-machine.h: ... here.
10051 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10053 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10054 (__mempcpy_erms): Skip zero length.
10055 (__memmove_erms): Likewise.
10056 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10057 (__memset_erms): Likewise.
10059 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10061 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10062 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10063 Add functions moved from ....
10064 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10065 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10066 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10068 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10069 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10070 * sysdeps/alpha/e_sqrtl.c: ... here.
10071 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10072 * sysdeps/alpha/local-soft-fp.h: ... here.
10073 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10074 * sysdeps/alpha/ots_add.c: ... here.
10075 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10076 * sysdeps/alpha/ots_cmp.c: ... here.
10077 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10078 * sysdeps/alpha/ots_cmpe.c: ... here.
10079 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10080 * sysdeps/alpha/ots_cvtqux.c: ... here.
10081 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10082 * sysdeps/alpha/ots_cvtqx.c: ... here.
10083 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10084 * sysdeps/alpha/ots_cvttx.c: ... here.
10085 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10086 * sysdeps/alpha/ots_cvtxq.c: ... here.
10087 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10088 * sysdeps/alpha/ots_cvtxt.c: ... here.
10089 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10090 * sysdeps/alpha/ots_div.c: ... here.
10091 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10092 * sysdeps/alpha/ots_mul.c: ... here.
10093 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10094 * sysdeps/alpha/ots_nintxq.c: ... here.
10095 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10096 * sysdeps/alpha/ots_sub.c: ... here.
10097 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10098 * sysdeps/alpha/sfp-machine.h: ... here.
10100 2018-05-23 Florian Weimer <fweimer@redhat.com>
10108 Switch to extern IDNA implementation (libidn2).
10109 * libidn: Remove subdirectory.
10110 * LICENSES: Do not mention licensing conditions for the removed
10112 * config.h.in (HAVE_LIBIDN): Remove.
10113 * include/dlfcn.h (__libc_dlopen): Update comment.
10114 * include/idna.h: Remove file.
10115 * inet/Makefile (routines): Add idna.
10116 (tests-static, tests-internal): Add tst-idna_name_classify.
10117 (LOCALES): Generate locales for tests.
10118 (tst-idna_name_classify.out): Depend on generated locales.
10119 * inet/idna_name_classify.c: New file.
10120 * inet/tst-idna_name_classify.c: Likewise.
10121 * inet/net-internal.h (__idna_to_dns_encoding)
10122 (__idna_from_dns_encoding): Declare.
10123 * inet/net-internal.h (enum idna_name_classification): Define.
10124 (__idna_name_classify): Declare.
10125 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10126 __idna_from_dns_encoding.
10127 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10128 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10129 name as a fallback in case of encoding errors.
10130 (getnameinfo): Use DEPRECATED_NI_IDN.
10131 * inet/idna.c: New file.
10132 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10133 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10134 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10135 (modules-names): Add tst-no-libidn2.
10136 (extra-test-objs): Add tst-no-libidn2.os.
10137 (LDFLAGS-tst-no-libidn2.so): Set soname.
10138 (LOCALES): Set, and generate locales.
10139 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10140 (tst-resolv-ai_idn-latin1): Likewise.
10141 (tst-resolv-ai_idn-nolibidn2): Likewise.
10142 (tst-resolv-ai_idn.out): Depend on locales.
10143 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10144 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10146 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10147 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10148 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10149 * resolv/tst-resolv-ai_idn.c: New file.
10150 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10151 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10152 * resolv/tst-no-libidn2.c: Likewise.
10153 * support/support_format_addrinfo.c (format_ai_flags): Do not
10154 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10155 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10156 (gaih_inet): Call __idna_to_dns_encoding and
10157 __idna_from_dns_encoding, and use the original (punycode) name if
10158 __idna_from_dns_encoding fails due to an encoding error.
10159 (getaddrinfo): Use DEPRECATED_AI_IDN.
10160 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10161 * sysdeps/unix/inet/configure: Remove file.
10162 * sysdeps/unix/inet/configure.ac: Likewise.
10164 2018-05-23 Florian Weimer <fweimer@redhat.com>
10166 Implement allocate_once.
10167 * include/allocate_once.h: New file.
10168 * misc/allocate_once.c: Likewise.
10169 * misc/tst-allocate_once.c: Likewise.
10170 * misc/Makefile (routines): Add allocate_once.
10171 (tests-internal): Add tst-allocate_once.
10172 (generated): Add tst-allocate_once.mtrace,
10173 tst-allocate_once-mem.out.
10174 (tests-special): Add tst-allocate_once-mem.out.
10175 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10176 (tst-allocate_once-mem.out): Call mtrace.
10177 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10179 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10182 * string/test-memcpy.c (do_test1): New function.
10183 (test_main): Call it.
10185 2018-05-23 Andreas Schwab <schwab@suse.de>
10189 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10190 (L(preloop_large)): Save initial destination pointer in %r11 and
10191 use it instead of %rax after the loop.
10192 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10194 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10196 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10197 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10198 -I../soft-fp. Moved from ....
10199 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10200 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10201 * sysdeps/aarch64/e_sqrtl.c: ... here.
10202 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10203 * sysdeps/aarch64/sfp-machine.h: ... here.
10205 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10206 -Wmaybe-uninitialized around access to fq[0].
10207 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10211 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10212 aliases for non-libc case of versioned symbols.
10213 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10214 (llseek): Define as compat symbol if
10215 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10217 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10218 Make into a compat symbol, disabled for minimum symbol version
10219 GLIBC_2.28 and later.
10220 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10222 2018-05-22 Florian Weimer <fweimer@redhat.com>
10224 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10225 not add -mpreferred-stack-boundary=4.
10226 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10227 (stack-align-test-flags): Likewise.
10228 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10230 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10231 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10232 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10233 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10234 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10235 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10236 (CFLAGS-tst-align2.c): Likewise.
10238 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10240 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10241 (index_arch_Prefer_FSRM): Likewise.
10242 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10243 Also check Prefer_FSRM.
10244 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10245 Also return OPTIMIZE (erms) for Prefer_FSRM.
10247 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10249 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10250 (index_cpu_FSRM): Likewise.
10251 (reg_FSRM): Likewise.
10253 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10255 * math/gen-tgmath-tests.py: Import sys.
10256 (Tests.__init__): Initialize macros_seen.
10257 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10258 if requested to do so for this macro.
10259 (Tests.add_all_tests): Take argument for macro for which to
10261 (Tests.check_macro_list): New function.
10262 (main): Handle check-list argument and argument specifying macro
10263 for which to generate tests.
10264 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10265 [PYTHON] (tgmath3-macro-tests): Likewise.
10266 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10267 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10268 not test-tgmath3.c.
10269 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10270 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10272 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10273 [PYTHON] ($(foreach
10274 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10276 [PYTHON] (tests-special): Add
10277 $(objpfx)test-tgmath3-macro-list.out.
10278 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10280 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10281 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10285 * time/tzset.c (SECSPERDAY): Cast to time_t.
10286 * time/tst-y2039.c: New file.
10287 * time/Makefile (tests): Add tst-y2039.
10289 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10291 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10292 (PREFETCH_ONE_SET): Remove duplicate line.
10294 2018-05-17 Florian Weimer <fweimer@redhat.com>
10296 * sysdeps/generic/math-type-macros-double.h: Include
10297 <math-nan-payload-double.h> after <libm-alias-double.h>.
10298 * sysdeps/generic/math-type-macros-float.h: Include
10299 <math-nan-payload-float.h> after <libm-alias-float.h>.
10300 * sysdeps/generic/math-type-macros-float128.h: Include
10301 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10302 * sysdeps/generic/math-type-macros-ldouble.h: Include
10303 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10305 2018-05-17 Andreas Schwab <schwab@suse.de>
10307 * resolv/res_send.c (__res_context_send): Don't set errno when
10308 returing error after malloc failure.
10310 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10312 * nptl/allocatestack.c (allocate_stack): Remove the
10313 !__ASSUME_PRIVATE_FUTEX paths.
10314 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10315 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10317 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10318 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10319 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10320 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10321 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10322 !__ASSUME_PRIVATE_FUTEX path.
10323 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10324 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10325 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10326 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10327 !__ASSUME_PRIVATE_FUTEX macros.
10328 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10329 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10330 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10331 * sysdeps/unix/sysv/linux/kernel-features.h
10332 (__ASSUME_PRIVATE_FUTEX): Removed.
10334 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10336 * math/Makefile (libm-narrow-fns): Add div.
10337 (libm-test-funcs-narrow): Likewise.
10338 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10339 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10340 * math/gen-auto-libm-tests.c (test_functions): Add div.
10341 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10342 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10343 (NARROW_DIV_TRIVIAL): Likewise.
10344 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10346 (__ddivl): Likewise.
10347 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10349 (CFLAGS-nldbl-ddiv.c): New variable.
10350 (CFLAGS-nldbl-fdiv.c): Likewise.
10351 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10353 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10355 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10356 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10357 * math/auto-libm-test-in: Add tests of div.
10358 * math/auto-libm-test-out-narrow-div: New generated file.
10359 * math/libm-test-narrow-div.inc: New file.
10360 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10361 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10362 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10363 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10364 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10365 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10366 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10367 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10368 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10369 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10370 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10371 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10372 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10373 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10374 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10375 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10376 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10377 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10379 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10380 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10381 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10382 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10383 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10384 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10385 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10386 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10387 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10388 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10389 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10390 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10391 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10396 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10397 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10398 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10399 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10400 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10401 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10402 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10403 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10405 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10408 * nscd/nscd-client.h (sendfileall): Remove prototype.
10409 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10410 (handle_request): Use writeall instead of sendfileall.
10411 * nscd/aicache.c (addhstaiX): Likewise.
10412 * nscd/grpcache.c (cache_addgr): Likewise.
10413 * nscd/hstcache.c (cache_addhst): Likewise.
10414 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10415 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10416 * nscd/pwdcache.c (cache_addpw): Likewise.
10417 * nscd/servicescache.c (cache_addserv): Likewise.
10418 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10419 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10420 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10423 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10425 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10426 Include <string/strncat.c>.
10427 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10429 (__GI___strncat): New hidden alias.
10431 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10433 * sysdeps/mips/mips32/libm-test-ulps: Update.
10434 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10436 2018-05-16 Florian Weimer <fweimer@redhat.com>
10438 * support/Makefile (libsupport-routines): Add support_quote_blob,
10439 support_test_compare_blob.
10440 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10441 * support/check.h (TEST_COMPARE_BLOB): Define.
10442 (support_test_compare_blob): Declare.
10443 * support/support.h (support_quote_blob): Declare.
10444 * support/support_quote_blob.c: New file.
10445 * support/support_test_compare_blob.c: Likewise.
10446 * support/tst-support_quote_blob.c: Likewise.
10447 * support/tst-test_compare_blob.c: Likewise.
10449 2018-05-16 Florian Weimer <fweimer@redhat.com>
10451 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10452 of <strtod_nan_double.h>.
10453 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10454 instead of SET_MANTISSA.
10455 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10456 of include <strtod_nan_float.h>.
10457 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10458 instead of <strtod_nan_ldouble.h>.
10459 * stdlib/strtod_nan_double.h: Move to ...
10460 * sysdeps/generic/math-nan-payload-double.h: ... here.
10461 (FLOAT): Remove definition.
10462 (SET_MANTISSA): Rename to ...
10463 (SET_NAN_PAYLOAD): ... this.
10464 * stdlib/strtod_nan_float.h: Move to ...
10465 * sysdeps/generic/math-nan-payload-float.h: ... here.
10466 (FLOAT): Remove definition.
10467 (SET_MANTISSA): Rename to ...
10468 (SET_NAN_PAYLOAD): ... this.
10469 * sysdeps/generic/math-type-macros-double.h: Include
10470 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10471 instead of <math-svid-compat.h>.
10472 * sysdeps/generic/math-type-macros-float.h: Include
10473 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10474 instead of <math-svid-compat.h>.
10475 * sysdeps/generic/math-type-macros-float128.h: Include
10476 <math-nan-payload-float128.h>.
10477 * sysdeps/generic/math-type-macros-ldouble.h: Include
10478 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10479 instead of <math-svid-compat.h>.
10480 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10481 check for definition.
10482 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10483 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10484 Include <ieee754_float128.h>.
10485 (FLOAT): Remove definition.
10486 (SET_MANTISSA): Rename to ...
10487 (SET_NAN_PAYLOAD): ... this.
10488 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10489 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10490 Do not include <float128_private.h>.
10491 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10492 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10493 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10494 (FLOAT): Remove definition.
10495 (SET_MANTISSA): Rename to ...
10496 (SET_NAN_PAYLOAD): ... this.
10497 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10498 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10499 (FLOAT): Remove definition.
10500 (SET_MANTISSA): Rename to ...
10501 (SET_NAN_PAYLOAD): ... this.
10502 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10503 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10504 (FLOAT): Remove definition.
10505 (SET_MANTISSA): Rename to ...
10506 (SET_NAN_PAYLOAD): ... this.
10507 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10508 of "../stdlib/strtod_nan_double.h".
10509 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10510 of "../stdlib/strtod_nan_float.h".
10511 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10512 instead of "../stdlib/strtod_nan_ldouble.h".
10513 * manual/arith.texi (Parsing of Floats): Adjust comment.
10515 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10517 * math/Makefile (libm-narrow-fns): Add mul.
10518 (libm-test-funcs-narrow): Likewise.
10519 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10520 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10521 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10522 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10523 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10524 (NARROW_MUL_TRIVIAL): Likewise.
10525 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10526 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10528 (__dmull): Likewise.
10529 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10531 (CFLAGS-nldbl-dmul.c): New variable.
10532 (CFLAGS-nldbl-fmul.c): Likewise.
10533 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10535 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10537 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10538 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10539 * math/auto-libm-test-in: Add tests of mul.
10540 * math/auto-libm-test-out-narrow-mul: New generated file.
10541 * math/libm-test-narrow-mul.inc: New file.
10542 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10545 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10546 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10547 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10549 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10550 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10551 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10552 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10553 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10554 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10555 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10556 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10557 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10558 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10559 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10561 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10562 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10563 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10564 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10565 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10566 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10567 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10568 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10569 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10570 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10571 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10572 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10573 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10578 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10579 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10580 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10581 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10582 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10583 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10584 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10585 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10587 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10589 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10590 with *%eax in call.
10592 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10594 * sysdeps/i386/ldsodefs.h: Removed.
10595 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10596 * sysdeps/x86/ldsodefs.h: This.
10597 (La_i86_regs): New.
10598 (La_i86_retval): Likewise.
10599 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10600 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10602 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10604 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10607 2018-05-13 Alan Modra <amodra@gmail.com>
10609 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10610 R_PARISC_TLS_DTPOFF32 reloc addend.
10612 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10614 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10615 * math/math.h: Restrict the prototype definition for the functions
10616 issignaling(_Float128) and iszero(_Float128); and template
10617 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10618 __HAVE_FLOAT128_UNLIKE_LDBL.
10619 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10620 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10621 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10622 __f128() constants; define the type _Float128 as long double;
10623 and reuse long double in __CFLOAT128.
10625 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10627 * sysdeps/generic/math_private.h: Do not include
10629 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10631 * math/fromfp.h: Include <math-barriers.h>.
10632 * math/math-narrow.h: Likewise.
10633 * math/s_nextafter.c: Likewise.
10634 * math/s_nexttowardf.c: Likewise.
10635 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10636 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10637 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10638 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10639 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10640 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10641 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10642 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10643 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10644 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10654 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10655 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10656 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10657 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10658 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10659 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10660 * sysdeps/ieee754/k_standardl.c: Likewise.
10661 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10662 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10663 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10664 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10665 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10666 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10667 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10668 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10669 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10670 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10671 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10672 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10673 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10674 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10675 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10676 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10677 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10678 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10679 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10680 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10681 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10682 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10684 2018-05-11 Florian Weimer <fweimer@redhat.com>
10686 Use 64-bit epoch values in the time zone file parser.
10687 * include/time.h (internal_time_t): Define.
10688 (__tzfile_compute): Use it.
10689 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10691 (transitions): Switch to internal_time_t.
10692 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10694 (__tzfile_compute): Use internal_time_t for timer argument. Check
10695 for truncation before calling __offtime.
10697 2018-05-11 Florian Weimer <fweimer@redhat.com>
10700 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10701 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10703 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10704 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10705 export without --enable-obsolete-rpc.
10706 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10707 symbol. This should not have been exported, ever.
10709 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10712 * localedata/locales/gd_GB (abmon): Fix typo in May:
10713 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10715 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10717 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10718 Use multiple registers to copy data in loop tail.
10720 * sysdeps/aarch64/multiarch/memmove_falkor.S
10721 (__memmove_falkor): Use multiple registers to move data in
10724 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10726 * math/math-underflow.h: New file.
10727 * sysdeps/generic/math_private.h: Do not include <float.h>.
10728 (fabs_tg): Remove macro. Moved to math-underflow.h.
10729 (min_of_type_f): Likewise.
10730 (min_of_type_): Likewise.
10731 (min_of_type_l): Likewise.
10732 (min_of_type_f128): Likewise.
10733 (min_of_type): Likewise.
10734 (math_check_force_underflow): Likewise.
10735 (math_check_force_underflow_nonneg): Likewise.
10736 (math_check_force_underflow_complex): Likewise.
10737 * math/e_exp2_template.c: Include <math-underflow.h>.
10738 * math/k_casinh_template.c: Likewise.
10739 * math/s_catan_template.c: Likewise.
10740 * math/s_catanh_template.c: Likewise.
10741 * math/s_ccosh_template.c: Likewise.
10742 * math/s_cexp_template.c: Likewise.
10743 * math/s_clog10_template.c: Likewise.
10744 * math/s_clog_template.c: Likewise.
10745 * math/s_csin_template.c: Likewise.
10746 * math/s_csinh_template.c: Likewise.
10747 * math/s_csqrt_template.c: Likewise.
10748 * math/s_ctan_template.c: Likewise.
10749 * math/s_ctanh_template.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10764 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10765 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10766 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10767 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10768 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10769 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10770 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10771 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10772 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10773 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10774 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10775 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10776 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10777 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10778 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10779 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10780 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10781 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10782 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10786 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10788 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10792 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10793 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10795 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10802 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10804 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10808 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10810 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10811 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10812 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10813 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10814 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10815 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10816 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10818 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10819 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10820 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10821 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10823 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
10824 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10825 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10826 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10827 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10828 * sysdeps/x86/fpu/powl_helper.c: Likewise.
10829 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
10830 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
10831 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10833 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10835 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10837 * sysdeps/generic/math-barriers.h: New file.
10838 * sysdeps/generic/math_private.h [!math_opt_barrier]
10839 (math_opt_barrier): Move to math-barriers.h.
10840 [!math_opt_barrier] (math_force_eval): Likewise.
10841 * sysdeps/aarch64/fpu/math-barriers.h: New file.
10842 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
10844 (math_force_eval): Likewise.
10845 * sysdeps/alpha/fpu/math-barriers.h: New file.
10846 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
10848 (math_force_eval): Likewise.
10849 * sysdeps/x86/fpu/math-barriers.h: New file.
10850 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
10852 (math_force_eval): Likewise.
10853 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
10854 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
10855 multiple-include guard for rename.
10856 * sysdeps/powerpc/fpu/math-barriers.h: New file.
10857 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
10859 (math_force_eval): Likewise.
10861 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10865 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
10867 * stdlib/Makefile (test-bz22786): New test.
10868 * stdlib/test-bz22786.c: New test.
10870 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10872 * include/math-narrow-eval.h: New file. Contents moved from ....
10873 * sysdeps/generic/math_private.h: ... here.
10874 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
10875 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10876 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
10877 * stdlib/strtod_l.c: Likewise.
10878 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10879 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10880 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10881 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10882 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10883 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10884 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10886 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10887 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10888 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10889 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10890 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10891 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10892 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10893 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10894 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10895 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10896 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10897 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10898 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10899 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10900 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10901 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10902 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10903 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10904 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10905 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10906 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10908 2018-05-08 Andreas Schwab <schwab@suse.de>
10910 * sysdeps/nptl/internaltypes.h: Fix comment.
10912 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
10914 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10915 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
10918 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10920 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
10921 of I into loop header.
10922 * benchtests/bench-memmove-walk.c
10923 (test_main): Likewise.
10925 2018-05-07 Alexandre Oliva <oliva@gnu.org>
10928 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10929 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10931 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10934 * elf/dl-load.c (open_verify): Fix stack overflow.
10935 * elf/Makefile (tst-big-note): New test.
10936 * elf/tst-big-note-lib.S: New.
10937 * elf/tst-big-note.c: New.
10939 2018-05-04 Joseph Myers <joseph@codesourcery.com>
10941 * scripts/abilist.awk: Ignore absolute symbols.
10942 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
10943 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
10944 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
10945 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
10946 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
10947 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
10948 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10949 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
10950 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
10951 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
10952 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
10953 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
10954 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10955 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
10956 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
10957 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10958 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
10959 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
10960 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10961 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
10962 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
10963 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
10964 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
10965 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
10966 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
10967 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
10969 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
10970 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10971 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
10972 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
10973 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10974 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
10975 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
10976 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
10977 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
10978 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
10979 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
10980 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10981 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
10982 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
10983 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10984 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
10985 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
10986 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10987 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
10988 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
10989 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
10990 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
10991 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
10992 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
10993 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10994 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
10995 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
10996 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10997 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
10998 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
10999 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11000 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11001 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11002 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11003 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11004 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11005 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11006 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11007 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11008 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11009 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11010 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11011 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11012 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11013 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11014 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11015 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11016 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11017 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11018 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11019 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11020 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11021 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11022 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11023 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11024 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11025 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11026 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11027 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11028 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11029 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11030 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11031 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11032 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11033 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11035 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11036 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11037 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11038 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11039 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11040 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11041 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11042 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11043 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11044 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11045 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11046 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11047 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11049 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11050 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11051 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11052 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11053 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11054 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11055 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11056 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11057 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11058 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11059 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11060 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11061 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11062 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11063 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11064 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11065 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11066 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11067 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11068 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11069 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11070 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11071 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11072 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11073 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11074 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11075 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11077 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11078 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11079 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11080 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11081 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11082 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11083 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11084 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11085 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11086 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11087 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11088 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11089 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11090 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11091 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11092 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11093 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11094 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11095 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11096 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11098 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11099 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11100 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11101 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11102 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11103 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11104 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11105 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11106 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11107 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11108 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11109 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11110 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11111 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11112 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11113 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11114 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11115 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11116 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11117 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11118 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11119 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11120 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11121 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11122 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11123 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11124 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11125 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11185 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11186 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11188 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11189 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11190 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11191 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11192 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11193 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11194 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11195 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11196 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11197 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11198 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11199 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11200 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11201 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11203 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11204 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11205 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11206 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11207 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11208 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11209 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11210 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11211 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11212 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11213 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11214 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11216 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11217 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11218 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11219 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11220 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11221 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11222 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11223 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11224 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11225 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11226 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11227 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11228 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11229 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11230 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11231 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11232 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11233 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11234 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11235 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11236 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11237 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11240 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11242 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11243 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11244 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11245 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11246 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11247 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11248 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11249 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11250 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11251 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11252 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11253 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11254 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11256 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11257 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11258 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11259 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11260 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11261 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11262 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11263 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11264 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11265 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11268 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11269 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11270 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11271 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11272 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11273 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11274 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11275 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11276 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11277 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11278 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11279 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11280 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11281 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11282 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11283 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11284 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11285 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11286 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11287 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11288 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11289 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11290 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11291 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11295 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11298 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11299 Use atomic_load_acquire to load __tid.
11301 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11303 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11304 Restore the pointer into %rdx, after syscall and use %rdx,
11305 instead of %rsi, to restore context.
11307 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11309 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11310 Pop the pointer into %rdx after syscall and use %rdx, instead
11311 of %rsi, to restore context.
11313 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11315 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11316 handlers after setjmp.
11317 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11319 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11320 <libc-pointer-arith.h>.
11321 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11322 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11323 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11324 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11325 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11326 * sysdeps/x86/__longjmp_cancel.S: New file.
11327 * sysdeps/x86/longjmp.c: Likewise.
11328 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11330 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11332 * NEWS: Add ustat.h deprecation entry.
11333 * bits/ustat.h: Remove file.
11334 * misc/sys/ustat.h: Likewise.
11335 * misc/ustat.h: Likewise.
11336 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11337 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11338 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11339 compatibility mode.
11340 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11341 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11342 generic Linux implementation.
11344 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11346 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11347 * math/w_expl_compat.c: Likewise.
11348 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11350 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11352 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11354 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11356 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11357 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11358 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11360 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11362 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11363 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11364 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11367 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11369 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11371 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11372 * math/w_asin_template.c: Likewise.
11373 * math/w_atanh_template.c: Likewise.
11375 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11377 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11378 to powerpc/powerpc64/be for big-endian.
11379 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11382 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11383 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11384 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11385 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11386 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11387 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11388 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11389 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11390 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11391 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11392 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11393 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11394 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11395 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11396 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11397 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11398 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11399 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11400 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11401 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11402 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11403 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11404 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11405 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11406 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11407 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11408 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11409 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11410 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11411 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11412 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11413 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11415 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11416 adjusted to imply powerpc64 and older processors on powerpc64/be.
11417 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11418 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11419 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11420 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11421 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11422 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11423 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11424 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11425 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11426 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11427 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11428 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11429 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11430 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11431 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11432 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11433 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11434 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11435 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11436 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11437 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11438 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11439 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11440 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11441 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11442 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11443 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11444 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11445 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11446 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11447 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11449 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11450 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11451 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11452 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11454 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11455 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11456 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11457 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11459 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11460 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11461 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11462 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11463 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11464 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11465 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11466 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11467 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11468 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11469 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11471 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11472 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11473 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11474 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11475 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11476 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11477 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11478 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11479 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11480 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11481 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11483 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11484 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11485 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11486 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11487 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11488 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11489 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11490 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11491 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11492 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11493 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11494 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11496 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11497 and adjusted to imply olders processors.
11498 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11499 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11500 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11501 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11502 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11503 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11504 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11505 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11506 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11507 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11508 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11510 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11512 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11513 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11527 powerpc64 and adjusted.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11533 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11535 * sysdeps/tile: Remove.
11536 * sysdeps/unix/sysv/linux/tile: Likewise.
11537 * README (tilegx-*-linux-gnu): Remove from list of supported
11539 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11540 contribution of support for generic Linux kernel syscall
11542 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11543 tilegx configurations.
11544 (Config.install_linux_headers): Do not handle tile.
11545 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11547 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11548 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11549 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11550 conditional undefine and redefine.
11551 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11553 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11554 conditional undefine and redefine.
11556 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11558 * signal/tst-sigaction.c: New file to test BZ #23069.
11559 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11561 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11564 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11565 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11566 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11567 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11569 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11571 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11572 _DIRENT_MATCHES_DIRENT64 is not defined.
11573 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11574 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11576 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11577 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11579 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11581 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11582 version to GCC 8 branch.
11584 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11586 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11587 (check_no_hidden): Use type of original function when declaring
11590 * sysdeps/unix/sysv/linux/sys/ptrace.h
11591 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11592 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11593 (struct __ptrace_seccomp_metadata): New type.
11594 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11595 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11596 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11597 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11598 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11599 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11600 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11601 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11602 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11603 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11604 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11605 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11606 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11607 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11608 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11609 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11611 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11613 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11615 * dirent/versionsort.c (versionsort): Likewise.
11616 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11617 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11618 * dirent/versionsort64.c (versionsort64): Likewise.
11619 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11620 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11621 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11622 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11623 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11624 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11625 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11626 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11627 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11628 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11631 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11632 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11634 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11636 * elf/elf.h (NT_PPC_PKEY): New macro.
11638 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11641 * localedata/locales/hr_HR: fix thousands_sep and
11644 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11646 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11647 (XTABS): Define to TAB3.
11649 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11651 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11653 * dirent/scandir-tail-common.c: New file.
11654 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11655 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11656 * dirent/scandir.c: Use scandir-tail-common.c.
11657 * dirent/scandirat.c: Likewise.
11658 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11659 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11660 if _DIRENT_MATCHES_DIRENT64 is defined.
11661 * dirent/scandirat64.c (scandirat64): Likewise.
11662 * include/dirent.h (__scandir_tail): Only define iff
11663 _DIRENT_MATCHES_DIRENT64 is not defined.
11664 (__scandir64_tail): Define regardless.
11665 (__scandirat, scandirat64): Remove libc_hidden_proto.
11666 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11667 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11669 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11670 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11671 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11672 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11674 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11676 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11678 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11680 (_dl_aarch64_cap_flags): Add asimdfhm.
11682 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11684 * sysdeps/nios2/libm-test-ulps: Update.
11686 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11688 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11689 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11691 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11693 (_DIRENT_MATCHES_DIRENT64): Undef
11694 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11695 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11696 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11697 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11698 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11699 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11700 use getdents64 syscalls as base.
11701 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11702 symbol if required.
11703 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11704 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11705 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11706 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11707 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11708 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11709 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11710 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11712 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11713 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11715 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11717 * scripts/test_printers_common.py (init_test): Disable lock elision.
11719 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11721 * math/test-tgmath.c (count_double, count_float,
11722 count_ldouble, count_cdouble, count_cfloat,
11723 count_cldouble): Use volatile int.
11725 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11727 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11728 (conformtest-xfail-conds): Add i386-gnu.
11729 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11731 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11732 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11733 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11734 msqid_ds.msg_lrpid): Likewise.
11735 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11737 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11738 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11739 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11740 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11742 (struct statvfs64): Likewise.
11743 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11745 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11746 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11747 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11748 instead of wait_queue.
11749 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11750 instead of vm_area_struct.
11751 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11752 struct sched_param definition to it.
11753 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11754 * bits/types/struct_sched_param.h: New file.
11755 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11756 <bits/types/struct_sched_param.h> instead of <sched.h>.
11757 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11758 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11759 generic version but include <bits/pthreadtypes.h> to make struct
11760 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11761 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11763 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11764 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11765 [__USE_XOPEN] (OFDEL): New macro.
11766 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11767 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11768 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11770 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11771 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11772 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11774 * sysdeps/i386/sys/ucontext.h: Likewise.
11775 * sysdeps/m68k/sys/ucontext.h: Likewise.
11776 * sysdeps/mips/sys/ucontext.h: Likewise.
11777 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11778 * sysdeps/mach/hurd/i386/Makefile
11779 (test-xfail-POSIX/fcntl.h/conform): Add.
11780 (test-xfail-POSIX/signal.h/conform): Add.
11781 (test-xfail-POSIX/semaphore.h/conform): Add.
11782 (test-xfail-POSIX/regex.h/conform): Add.
11783 (test-xfail-POSIX/aio.h/conform): Add.
11784 (test-xfail-POSIX/mqueue.h/conform): Add.
11785 (test-xfail-POSIX/sys/types.h/conform): Add.
11786 (test-xfail-UNIX98/fcntl.h/conform): Add.
11787 (test-xfail-UNIX98/netdb.h/conform): Add.
11788 (test-xfail-UNIX98/signal.h/conform): Add.
11789 (test-xfail-UNIX98/semaphore.h/conform): Add.
11790 (test-xfail-UNIX98/regex.h/conform): Add.
11791 (test-xfail-UNIX98/aio.h/conform): Add.
11792 (test-xfail-UNIX98/ftw.h/conform): Add.
11793 (test-xfail-UNIX98/mqueue.h/conform): Add.
11794 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11795 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11796 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11797 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11798 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11799 (test-xfail-UNIX98/sys/types.h/conform): Add.
11800 (test-xfail-UNIX98/stdlib.h/conform): Add.
11801 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11802 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11803 (test-xfail-POSIX2008/netdb.h/conform): Add.
11804 (test-xfail-POSIX2008/signal.h/conform): Add.
11805 (test-xfail-POSIX2008/semaphore.h/conform): Add.
11806 (test-xfail-POSIX2008/regex.h/conform): Add.
11807 (test-xfail-POSIX2008/aio.h/conform): Add.
11808 (test-xfail-POSIX2008/mqueue.h/conform): Add.
11809 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
11810 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
11811 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
11812 (test-xfail-POSIX2008/sys/types.h/conform): Add.
11813 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
11814 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
11815 (test-xfail-XOPEN2K/netdb.h/conform): Add.
11816 (test-xfail-XOPEN2K/signal.h/conform): Add.
11817 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
11818 (test-xfail-XOPEN2K/regex.h/conform): Add.
11819 (test-xfail-XOPEN2K/aio.h/conform): Add.
11820 (test-xfail-XOPEN2K/ftw.h/conform): Add.
11821 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
11822 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
11823 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
11824 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
11825 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
11826 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
11827 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
11828 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
11829 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
11830 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
11831 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
11832 (test-xfail-XOPEN2K8/signal.h/conform): Add.
11833 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
11834 (test-xfail-XOPEN2K8/regex.h/conform): Add.
11835 (test-xfail-XOPEN2K8/aio.h/conform): Add.
11836 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
11837 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
11838 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
11839 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
11840 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
11841 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
11842 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
11843 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
11844 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
11845 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
11846 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
11848 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
11849 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
11851 2018-04-18 Joseph Myers <joseph@codesourcery.com>
11853 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
11854 --enable-obsolete for powerpc-linux-gnuspe.
11856 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11858 * conform/data/sys/un.h-data: Allow sun_ prefix.
11859 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
11861 * sysdeps/mach/include/mach.h: Likewise.
11862 * sysdeps/mach/include/mach/mig_support.h: Likewise.
11863 * sysdeps/mach/include/mach_error.h: Likewise.
11865 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11867 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
11868 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
11869 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
11870 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
11872 2018-04-16 Andreas Schwab <schwab@suse.de>
11875 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
11877 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
11879 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
11880 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
11882 2018-04-12 DJ Delorie <dj@redhat.com>
11884 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11887 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11889 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
11890 (struct kernel_sigaction): Use the same definition on 31bit as is used
11893 2018-04-09 Florian Weimer <fweimer@redhat.com>
11896 * resolv/res_send.c (send_dg): Use designated initializers instead
11897 of assignment to zero-initialize other fields of struct mmsghdr.
11899 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11901 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
11902 __READDIR_ALIAS): Undefine after usage.
11903 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
11904 __READDIR_R_ALIAS): Likewise.
11905 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
11906 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
11907 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
11908 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
11909 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
11910 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
11911 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11912 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11913 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
11914 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
11915 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
11916 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
11917 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11918 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
11919 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
11920 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
11921 * sysdeps/unix/sysv/linux/readdir.c: New file.
11922 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
11923 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
11924 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11926 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
11928 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
11930 * manual/charset.texi (Converting a Character): Fix typo.
11932 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11936 * sysdeps/arm/libm-test-ulps: Update.
11938 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
11939 as base implementation.
11940 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11941 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11942 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11943 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11944 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11945 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
11946 remove unrequired definitions and update comments.
11947 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
11948 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
11949 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
11950 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
11951 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
11952 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
11953 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
11954 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
11955 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
11956 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
11957 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
11958 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11959 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11960 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
11961 and RESET_SA_RESTORER hooks.
11963 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
11965 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11967 2018-04-05 Florian Weimer <fweimer@redhat.com>
11969 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
11970 integer overflow, memory leak on error, and indeterminate errno
11971 value. Add a null wide character to terminate the result string.
11972 * manual/charset.texi (Converting a Character): Mention embedded
11973 null bytes in the mbrtowc input string. Explain what happens in
11974 the -2 result case. Do not claim that mbrtowc is simple or
11975 obvious to use. Adjust the description of the code example. Use
11976 @code, not @var, for concrete variables.
11978 2018-04-05 Florian Weimer <fweimer@redhat.com>
11980 * manual/examples/mbstouwcs.c: New file.
11981 * manual/charset.texi (Converting a Character): Include it.
11983 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11985 * include/dirent.h (dirfd): Add hidden proto.
11986 * dirent/dirfd.c (dirfd): Add hidden def.
11987 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
11988 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
11990 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11992 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
11993 sin, cos and sincos to 1 ULP.
11995 2018-04-04 Maciej W. Rozycki <macro@mips.com>
11998 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12000 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12001 * elf/tst-absolute-sym.c: New file.
12002 * elf/tst-absolute-sym-lib.c: New file.
12003 * elf/tst-absolute-sym-lib.lds: New file.
12004 * elf/Makefile (tests): Add `tst-absolute-sym'.
12005 (modules-names): Add `tst-absolute-sym-lib'.
12006 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12007 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12008 ($(objpfx)tst-absolute-sym): New dependency.
12011 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12013 (SYMBOL_ADDRESS): New macro.
12014 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12015 SYMBOL_ADDRESS for symbol address calculation.
12016 * elf/dl-runtime.c (_dl_fixup): Likewise.
12017 (_dl_profile_fixup): Likewise.
12018 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12019 * elf/rtld.c (dl_main): Likewise.
12020 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12021 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12022 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12023 (elf_machine_rela): Likewise.
12024 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12025 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12026 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12027 (elf_machine_rela): Likewise.
12028 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12029 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12030 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12031 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12033 (elf_machine_reloc): Likewise.
12034 (elf_machine_got_rel): Likewise.
12035 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12036 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12037 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12039 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12041 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12042 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12044 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12046 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12047 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12049 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12051 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12052 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12054 2018-04-04 Zack Weinberg <zackw@panix.com>
12056 * sysdeps/generic/internal-signals.h: Include signal.h,
12057 sigsetops.h, and stdbool.h.
12058 (__libc_signal_block_all): Actually block all signals.
12059 (__libc_signal_block_app): Likewise.
12060 (__libc_signal_restore_set): Actually restore the signal mask.
12062 2018-04-04 Florian Weimer <fweimer@redhat.com>
12064 inet: Actually build and run tst-deadline.
12065 * inet/Makefile (tests-internal): Add tst-deadline and do not
12066 overwrite the variable.
12067 (tests-static-internal): Remove variable.
12069 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12072 * bits/uio-ext.h (RWF_APPEND): New.
12073 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12074 * manual/llio.texi: Document RWF_APPEND.
12075 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12076 (RWF_SUPPORTED): Add RWF_APPEND.
12078 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12081 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12082 check for internal nptl signals.
12083 * nptl/sigaction.c (__sigaction): Likewise.
12084 * signal/sigaddset.c (sigaddset): Likewise.
12085 * signal/sigdelset.c (sigdelset): Likewise.
12086 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12087 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12089 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12090 to filter out internal nptl signals.
12091 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12092 also check realtime signals using standard macros.
12093 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12094 __is_internal_signal, __libc_signal_block_all,
12095 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12096 * sysdeps/nptl/sigfillset.c: Remove file.
12097 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12098 Change return to bool.
12099 (__clear_internal_signals): Remove SIGTIMER clean since it is
12100 equal to SIGCANEL on Linux.
12101 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12102 signal set was constructed using standard functions.
12104 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12106 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12107 ifname is too long.
12108 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12109 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12110 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12112 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12113 * signal/sigaddset.c: Include <sigsetopts.h>.
12114 * signal/sigdelset.c: Likewise.
12116 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12118 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12120 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12121 logic as sin and cos.
12123 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12125 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12126 inputs. Return correct sign.
12127 (do_sincos): Remove small input check before do_sin, let do_sin set
12132 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12134 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12135 (do_cos_slow): Likewise.
12136 (do_sin_slow): Likewise.
12137 (reduce_and_compute): Likewise.
12142 (sloww1): Likewise.
12143 (sloww2): Likewise.
12145 (bslow1): Likewise.
12146 (bslow2): Likewise.
12147 (cslow2): Likewise.
12149 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12151 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12152 (do_cos): Remove corp parameter and calculations.
12153 (do_sin): Likewise.
12154 (do_sincos): Remove cor variable.
12155 (__sin): Use do_sincos for huge inputs.
12157 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12158 (reduce_and_compute_sincos): Remove unused function.
12160 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12162 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12163 reduce_sincos, improve accuracy to 136 bits.
12164 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12165 (__sin): Use improved reduction and simplified do_sincos calculation.
12167 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12169 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12171 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12172 (do_sincos_2): Likewise.
12173 (__sin): Remove middle range reduction case.
12175 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12178 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12180 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12181 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12184 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12186 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12188 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12191 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12193 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12194 Remove definitions.
12195 (opendir_oflags): Use O_DIRECTORY regardless.
12196 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12197 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12199 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12201 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12202 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12204 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12205 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12206 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12207 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12208 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12209 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12211 * htl/Makefile: Bump licence to LGPL 2.1+.
12212 * htl/alloca_cutoff.c: Likewise.
12213 * htl/cthreads-compat.c: Likewise.
12214 * htl/lockfile.c: Likewise.
12215 * htl/pt-alloc.c: Likewise.
12216 * htl/pt-cancel.c: Likewise.
12217 * htl/pt-cleanup.c: Likewise.
12218 * htl/pt-create.c: Likewise.
12219 * htl/pt-dealloc.c: Likewise.
12220 * htl/pt-detach.c: Likewise.
12221 * htl/pt-exit.c: Likewise.
12222 * htl/pt-getattr.c: Likewise.
12223 * htl/pt-initialize.c: Likewise.
12224 * htl/pt-internal.h: Likewise.
12225 * htl/pt-join.c: Likewise.
12226 * htl/pt-self.c: Likewise.
12227 * htl/pt-setcancelstate.c: Likewise.
12228 * htl/pt-setcanceltype.c: Likewise.
12229 * htl/pt-sigmask.c: Likewise.
12230 * htl/pt-spin-inlines.c: Likewise.
12231 * htl/pt-testcancel.c: Likewise.
12232 * htl/pt-yield.c: Likewise.
12233 * htl/tests/test-1.c: Likewise.
12234 * htl/tests/test-10.c: Likewise.
12235 * htl/tests/test-11.c: Likewise.
12236 * htl/tests/test-12.c: Likewise.
12237 * htl/tests/test-13.c: Likewise.
12238 * htl/tests/test-14.c: Likewise.
12239 * htl/tests/test-15.c: Likewise.
12240 * htl/tests/test-16.c: Likewise.
12241 * htl/tests/test-17.c: Likewise.
12242 * htl/tests/test-2.c: Likewise.
12243 * htl/tests/test-3.c: Likewise.
12244 * htl/tests/test-4.c: Likewise.
12245 * htl/tests/test-5.c: Likewise.
12246 * htl/tests/test-6.c: Likewise.
12247 * htl/tests/test-7.c: Likewise.
12248 * htl/tests/test-8.c: Likewise.
12249 * htl/tests/test-9.c: Likewise.
12250 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12251 * sysdeps/htl/bits/cancelation.h: Likewise.
12252 * sysdeps/htl/bits/pthread-np.h: Likewise.
12253 * sysdeps/htl/bits/pthread.h: Likewise.
12254 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12255 * sysdeps/htl/bits/semaphore.h: Likewise.
12256 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12257 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12258 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12259 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12260 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12261 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12262 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12263 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12264 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12265 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12266 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12267 * sysdeps/htl/old_pt-atfork.c: Likewise.
12268 * sysdeps/htl/pt-atfork.c: Likewise.
12269 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12270 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12271 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12272 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12273 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12274 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12275 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12276 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12277 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12278 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12279 * sysdeps/htl/pt-attr-init.c: Likewise.
12280 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12281 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12282 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12283 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12284 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12285 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12286 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12287 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12288 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12289 * sysdeps/htl/pt-attr.c: Likewise.
12290 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12291 * sysdeps/htl/pt-barrier-init.c: Likewise.
12292 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12293 * sysdeps/htl/pt-barrier.c: Likewise.
12294 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12295 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12296 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12297 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12298 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12299 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12300 * sysdeps/htl/pt-cond-init.c: Likewise.
12301 * sysdeps/htl/pt-cond-signal.c: Likewise.
12302 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12303 * sysdeps/htl/pt-cond-wait.c: Likewise.
12304 * sysdeps/htl/pt-cond.c: Likewise.
12305 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12306 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12307 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12308 * sysdeps/htl/pt-condattr-init.c: Likewise.
12309 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12310 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12311 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12312 * sysdeps/htl/pt-equal.c: Likewise.
12313 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12314 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12315 * sysdeps/htl/pt-getschedparam.c: Likewise.
12316 * sysdeps/htl/pt-getspecific.c: Likewise.
12317 * sysdeps/htl/pt-init-specific.c: Likewise.
12318 * sysdeps/htl/pt-key-create.c: Likewise.
12319 * sysdeps/htl/pt-key-delete.c: Likewise.
12320 * sysdeps/htl/pt-key.h: Likewise.
12321 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12322 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12323 * sysdeps/htl/pt-mutex-init.c: Likewise.
12324 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12325 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12326 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12327 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12328 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12329 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12330 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12331 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12332 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12333 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12334 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12335 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12336 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12337 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12338 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12339 * sysdeps/htl/pt-mutexattr.c: Likewise.
12340 * sysdeps/htl/pt-once.c: Likewise.
12341 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12342 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12343 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12344 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12345 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12346 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12347 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12348 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12349 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12350 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12351 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12352 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12353 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12354 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12355 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12356 * sysdeps/htl/pt-setschedparam.c: Likewise.
12357 * sysdeps/htl/pt-setschedprio.c: Likewise.
12358 * sysdeps/htl/pt-setspecific.c: Likewise.
12359 * sysdeps/htl/pt-spin.c: Likewise.
12360 * sysdeps/htl/pt-startup.c: Likewise.
12361 * sysdeps/htl/pthread.h: Likewise.
12362 * sysdeps/htl/sem-close.c: Likewise.
12363 * sysdeps/htl/sem-destroy.c: Likewise.
12364 * sysdeps/htl/sem-getvalue.c: Likewise.
12365 * sysdeps/htl/sem-init.c: Likewise.
12366 * sysdeps/htl/sem-open.c: Likewise.
12367 * sysdeps/htl/sem-post.c: Likewise.
12368 * sysdeps/htl/sem-timedwait.c: Likewise.
12369 * sysdeps/htl/sem-trywait.c: Likewise.
12370 * sysdeps/htl/sem-unlink.c: Likewise.
12371 * sysdeps/htl/sem-wait.c: Likewise.
12372 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12373 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12374 * sysdeps/mach/htl/pt-block.c: Likewise.
12375 * sysdeps/mach/htl/pt-spin.c: Likewise.
12376 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12377 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12378 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12379 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12380 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12381 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12382 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12383 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12384 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12385 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12386 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12387 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12388 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12389 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12390 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12391 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12392 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12393 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12394 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12395 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12396 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12397 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12398 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12399 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12400 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12401 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12402 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12403 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12404 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12405 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12406 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12407 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12408 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12409 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12410 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12411 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12412 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12413 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12414 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12415 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12416 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12417 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12418 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12420 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12421 * README: Remove the mention of out-of-tree patches needed for
12424 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12425 (UTIME_NOW, UTIME_OMIT): Define macros.
12427 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12428 instead of pthread_detach.
12429 (__cthread_fork): Call __pthread_create instead of pthread_create.
12430 (__cthread_keycreate): Call __pthread_key_create instead of
12431 pthread_key_create.
12432 (__cthread_getspecific): Call __pthread_getspecific instead of
12433 pthread_getspecific.
12434 (__cthread_setspecific): Call __pthread_setspecific instead of
12435 pthread_setspecific.
12436 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12437 __pthread_mutex_unlock instead of pthread_mutex_lock and
12438 pthread_mutex_unlock.
12439 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12440 ___pthread_get_cleanup_stack.
12441 (__pthread_get_cleanup_stack): New strong alias.
12442 * htl/pt-create.c: Include <pthreadP.h>.
12443 (entry_point): Call __pthread_exit instead of pthread_exit.
12444 (pthread_create): Rename to __pthread_create.
12445 (pthread_create): New strong alias.
12446 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12447 (pthread_detach): New strong alias.
12448 (__pthread_detach): Call __pthread_cond_broadcast instead of
12449 pthread_cond_broadcast.
12450 * htl/pt-exit.c: Include <pthreadP.h>.
12451 (__pthread_exit): Call __pthread_setcancelstate and
12452 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12453 __pthread_get_cleanup_stack.
12454 * htl/pt-testcancel.c: Include <pthreadP.h>.
12455 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12456 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12457 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12458 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12459 pthread_attr_getstacksize.
12460 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12461 Rename to __pthread_attr_getstackaddr.
12462 (pthread_attr_getstackaddr): New strong alias.
12463 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12464 Rename to __pthread_attr_getstacksize.
12465 (pthread_attr_getstacksize): New strong alias.
12466 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12467 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12468 (pthread_attr_setstack): New strong alias.
12469 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12470 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12471 pthread_attr_getstacksize, pthread_attr_setstacksize and
12472 pthread_attr_setstackaddr.
12473 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12474 Rename to __pthread_attr_setstackaddr.
12475 (pthread_attr_setstackaddr): New strong alias.
12476 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12477 Rename to __pthread_attr_setstacksize.
12478 (pthread_attr_setstacksize): New strong alias.
12479 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12480 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12482 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12483 (__pthread_key_create): New hidden def.
12484 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12485 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12486 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12487 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12488 __pthread_setspecific, __pthread_setcancelstate,
12489 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12490 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12491 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12493 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12494 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12495 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12496 (pthread_attr_setstackaddr): New strong alias.
12497 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12498 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12499 (pthread_attr_setstacksize): New strong alias.
12500 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12501 (call_exit): Call __pthread_exit instead of pthread_exit.
12502 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12503 (_pthread_mutex_init): New hidden definition.
12504 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12505 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12506 instead of pthread_attr_init and pthread_attr_setstack.
12508 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12509 __vm_deallocate instead of vm_allocate and vm_deallocate.
12510 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12512 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12514 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12516 * hurd/siginfo.c: Include <libioP.h>.
12517 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12518 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12520 * mach/devstream.c: Include <libioP.h>.
12521 (dealloc_ref): Call __mach_port_deallocate instead of
12522 mach_port_deallocate.
12523 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12524 Call __mach_port_deallocate instead of mach_port_deallocate.
12525 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12527 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12529 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12530 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12531 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12533 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12535 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12536 instead of sysconf.
12537 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12538 __clock_gettime instead of clock_gettime.
12539 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12540 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12541 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12542 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12543 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12545 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12546 __clock_gettime and __nanosleep instead of clock_gettime and
12548 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12549 __hurd_catch_signal.
12550 (hurd_catch_signal): New strong alias.
12551 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12552 __hurd_catch_signal instead of hurd_catch_signal.
12553 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12554 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12555 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12556 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12557 (_hurd_thread_sigstate): Add hidden def.
12558 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12560 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12561 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12562 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12563 __hurd_file_name_path_lookup.
12564 (hurd_file_name_path_lookup): New strong alias.
12565 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12566 hurd_file_name_path_lookup.
12567 * mach/errstring.c (mach_error_type): Add hidden def.
12568 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12569 * mach/mutex-init.c (__mutex_init): Add hidden def.
12570 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12571 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12572 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12573 * sysdeps/mach/hurd/getcwd.c
12574 (_hurd_canonicalize_directory_name_internal): Rename to
12575 __hurd_canonicalize_directory_name_internal.
12576 (_hurd_canonicalize_directory_name_internal): New strong alias.
12577 (__canonicalize_directory_name_internal, __getcwd): Call
12578 __hurd_canonicalize_directory_name_internal instead of
12579 _hurd_canonicalize_directory_name_internal.
12580 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12581 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12583 * sysdeps/hurd/include/hurd.h: New file.
12584 * sysdeps/hurd/include/hurd/fd.h: New file.
12585 * sysdeps/hurd/include/hurd/signal.h: New file.
12586 * sysdeps/mach/include/lock-intern.h: New file.
12587 * sysdeps/mach/include/mach.h: New file.
12588 * sysdeps/mach/include/mach/mig_support.h: New file.
12589 * sysdeps/mach/include/mach_error.h: New file.
12590 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12592 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12593 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12594 _HEADER_H_HIDDEN_DEF macro.
12595 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12596 _hurd_fd_error_signal): Add hidden prototype.
12597 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12599 * libio/iolibio.h (_IO_puts): New hidden prototype.
12600 * libio/ioputs.c (_IO_puts): New hidden def.
12601 * sysdeps/mach/hurd/localplt.data: New file.
12603 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12604 Amos Jeffries <squid3@treenet.co.nz>
12605 David Michael <fedora.dm0@gmail.com>
12606 Marco Gerards <marco@gnu.org>
12607 Marcus Brinkmann <marcus@gnu.org>
12608 Neal H. Walfield <neal@gnu.org>
12609 Pino Toscano <toscano.pino@tiscali.it>
12610 Richard Braun <rbraun@sceen.net>
12611 Roland McGrath <roland@gnu.org>
12612 Samuel Thibault <samuel.thibault@ens-lyon.org>
12613 Thomas DiModica <ricinwich@yahoo.com>
12614 Thomas Schwinge <tschwinge@gnu.org>
12616 * htl: New directory.
12617 * sysdeps/htl: New directory.
12618 * sysdeps/hurd/htl: New directory.
12619 * sysdeps/i386/htl: New directory.
12620 * sysdeps/mach/htl: New directory.
12621 * sysdeps/mach/hurd/htl: New directory.
12622 * sysdeps/mach/hurd/i386/htl: New directory.
12623 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12624 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12625 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12627 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12629 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12630 signals in thread created for runing timers.
12632 2018-04-01 Florian Weimer <fweimer@redhat.com>
12634 * support/support_format_addrinfo.c (support_format_addrinfo):
12635 Include unknown error number in formatted result.
12637 2018-03-29 Florian Weimer <fweimer@redhat.com>
12639 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12642 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12644 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12645 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12646 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12647 (__ASSUME_CLONE_BACKWARDS): Define.
12649 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12652 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12653 early when linux sentinel value is set.
12655 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12657 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12659 2018-03-27 Andreas Schwab <schwab@suse.de>
12662 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12663 allocation of private copy of nsaddr_list fails.
12665 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12668 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12669 * sysdeps/unix/sysv/linux/umount.c: ... here.
12670 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12671 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12672 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12673 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12675 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12676 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12678 2018-03-26 Andreas Schwab <schwab@suse.de>
12680 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12681 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12682 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12683 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12684 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12685 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12686 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12687 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12688 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12689 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12690 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12691 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12692 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12693 (R_RISCV_NUM): Define.
12695 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12697 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12698 TLS declaration of errno.
12699 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12701 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12702 (ARCH_SETUP_TLS): Likewise.
12703 * sysdeps/mach/hurd/libc-start.h: New file copied from
12704 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12705 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12706 instead of __libc_setup_tls.
12707 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12708 __libc_setup_tls before initializing libpthread and running _hurd_init
12709 which starts the signal thread.
12710 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12712 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12714 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12717 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12718 after it is defined.
12720 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12721 Max Horn <max@quendi.de>
12725 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12727 * string/test-memmove.c (do_test2): New testcase.
12729 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12731 * sysdeps/generic/frame.h: Remove file.
12732 * sysdeps/arm/frame.h: Likewise.
12733 * sysdeps/hppa/frame.h: Likewise.
12734 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12736 (GET_FRAME): Likewise.
12737 (GET_STACK): Likewise.
12738 (CALL_SIGHANDLER): Likewise.
12739 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12741 (GET_FRAME): Likewise.
12742 (GET_STACK): Likewise.
12743 (CALL_SIGHANDLER): Likewise.
12744 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12745 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12746 (GET_FRAME): Likewise.
12747 (GET_STACK): Likewise.
12748 (CALL_SIGHANDLER): Likewise.
12749 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12750 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12751 (GET_FRAME): Likewise.
12752 (GET_STACK): Likewise.
12753 (ADVANCE_STACK_FRAME): Likewise.
12754 (CALL_SIGHANDLER): Likewise.
12755 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12756 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12757 (GET_FRAME): Likewise.
12758 (GET_STACK): Likewise.
12759 (CALL_SIGHANDLER): Likewise.
12760 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12761 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12762 (GET_FRAME): Likewise.
12763 (GET_STACK): Likewise.
12764 (CALL_SIGHANDLER): Likewise.
12765 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12766 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12767 (GET_FRAME): Likewise.
12768 (GET_STACK): Likewise.
12769 (CALL_SIGHANDLER): Likewise.
12770 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12771 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12772 (GET_FRAME): Likewise.
12773 (GET_STACK): Likewise.
12774 (CALL_SIGHANDLER): Likewise.
12775 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12776 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12777 (GET_FRAME): Likewise.
12778 (GET_STACK): Likewise.
12779 (CALL_SIGHANDLER): Likewise.
12780 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12781 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12782 (GET_FRAME): Likewise.
12783 (GET_STACK): Likewise.
12784 (CALL_SIGHANDLER): Likewise.
12785 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12786 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12787 (GET_FRAME): Likewise.
12788 (GET_STACK): Likewise.
12789 (CALL_SIGHANDLER): Likewise.
12790 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12791 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12792 (GET_FRAME): Likewise.
12793 (GET_STACK): Likewise.
12794 (CALL_SIGHANDLER): Likewise.
12795 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12796 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12797 (GET_FRAME): Likewise.
12798 (GET_STACK): Likewise.
12799 (CALL_SIGHANDLER): Likewise.
12800 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12801 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12802 (FIRST_FRAME_POINTER): Likewise.
12803 (ADVANCE_STACK_FRAME): Likewise.
12804 (GET_STACK): Likewise.
12805 (GET_FRAME): Likewise.
12806 (CALL_SIGHANDLER): Likewise.
12807 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
12808 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12809 (ADVANCE_STACK_FRAME): Likewise.
12810 (GET_STACK): Likewise.
12811 (GET_FRAME): Likewise.
12812 (CALL_SIGHANDLER): Likewise.
12813 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
12814 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12815 (GET_FRAME): Likewise.
12816 (GET_STACK): Likewise.
12817 (CALL_SIGHANDLER): Likewise.
12818 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
12819 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12820 (GET_FRAME): Likewise.
12821 (GET_STACK): Likewise.
12822 (CALL_SIGHANDLER): Likewise.
12824 2018-03-21 Joseph Myers <joseph@codesourcery.com>
12826 * sysdeps/x86_64/backtrace.c: Move to ....
12827 * debug/backtrace.c: ... here.
12828 * sysdeps/aarch64/backtrace.c: Remove file.
12829 * sysdeps/alpha/backtrace.c: Likewise.
12830 * sysdeps/hppa/backtrace.c: Likewise.
12831 * sysdeps/ia64/backtrace.c: Likewise.
12832 * sysdeps/mips/backtrace.c: Likewise.
12833 * sysdeps/nios2/backtrace.c: Likewise.
12834 * sysdeps/riscv/backtrace.c: Likewise.
12835 * sysdeps/sh/backtrace.c: Likewise.
12836 * sysdeps/tile/backtrace.c: Likewise.
12838 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12841 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
12844 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
12847 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
12848 possibly overflowing computations.
12850 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12852 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
12853 values from Linux-specific section now that it is in the GNU section.
12854 * sysdeps/gnu/errlist.c: Regenerate.
12856 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12858 * math/Makefile (libm-narrow-fns): Add sub.
12859 (libm-test-funcs-narrow): Likewise.
12860 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
12861 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
12862 * math/gen-auto-libm-tests.c (test_functions): Add sub.
12863 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
12864 (NARROW_SUB_ROUND_TO_ODD): Likewise.
12865 (NARROW_SUB_TRIVIAL): Likewise.
12866 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
12868 (__dsubl): Likewise.
12869 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
12871 (CFLAGS-nldbl-dsub.c): New variable.
12872 (CFLAGS-nldbl-fsub.c): Likewise.
12873 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12875 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
12877 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
12878 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
12879 * math/auto-libm-test-in: Add tests of sub.
12880 * math/auto-libm-test-out-narrow-sub: New generated file.
12881 * math/libm-test-narrow-sub.inc: New file.
12882 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
12885 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
12886 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
12887 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
12888 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
12889 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
12890 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
12891 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
12893 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
12894 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
12896 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
12897 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
12898 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
12899 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
12900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12901 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12902 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12903 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12904 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12905 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12906 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12907 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12908 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12909 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12910 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12911 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12912 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12913 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12918 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12919 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12920 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12921 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12922 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12923 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12924 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12925 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12926 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12927 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12929 2018-03-19 Joseph Myers <joseph@codesourcery.com>
12932 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
12934 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
12936 * benchtests/bench-timing.h (attribute_hidden): Undefine.
12938 2018-03-18 Richard Braun <rbraun@sceen.net>
12940 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
12943 2018-03-18 Agustina Arzille <avarzille@riseup.net>
12945 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
12946 (__libc_cleanup_fct): Define function.
12947 (__libc_cleanup_region_start, __libc_cleanup_region_end,
12948 __libc_cleanup_end): Rewrite implementation using
12949 __attribute__ ((__cleanup__)).
12950 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
12951 * hurd/Makefile (routines): Add hurdlock.
12952 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
12954 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
12955 * hurd/hurdpid.c: Include <lowlevellock.h>
12956 (_S_msg_proc_newids): Use lll_wait to synchronize.
12957 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
12958 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
12959 * mach/Makefile (lock-headers): Remove machine-lock.h.
12960 * mach/lock-intern.h: Include <lowlevellock.h> instead of
12962 (__spin_lock_t): New type.
12963 (__SPIN_LOCK_INITIALIZER): New macro.
12964 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
12965 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
12966 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
12967 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
12968 (__mutex_init): Initialize with lll.
12969 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
12970 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
12972 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12973 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
12974 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
12975 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
12976 (__setpgid): Use lll for synchronization.
12977 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
12978 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
12979 instead of <cthreads.h>.
12980 (_IO_lock_inexpensive): New macro
12981 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
12982 (__libc_lock_self0): New declaration.
12983 (__libc_lock_owner_self): New macro.
12984 (__libc_key_t): Remove type.
12985 (_LIBC_LOCK_INITIALIZER): New macro.
12986 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
12987 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
12988 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
12989 __libc_lock_define_initialized_recursive,
12990 __rtld_lock_define_initialized_recursive,
12991 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
12992 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
12993 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
12994 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
12995 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
12996 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
12997 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
12999 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13000 * hurd/hurdlock.c: New file.
13001 * hurd/hurdlock.h: New file.
13002 * mach/lowlevellock.h: New file
13004 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13006 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13007 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13008 when opening a symlink with O_NOFOLLOW.
13009 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13010 path when flags contains O_NOFOLLOW.
13011 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13012 if flags contains O_DIRECTORY and the result is a directory.
13013 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13014 oneself when the pointer given in D is nul (as set by ext2fs).
13015 * sysdeps/mach/hurd/mlockall.c: New file.
13016 * sysdeps/mach/hurd/munlockall.c: New file.
13018 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13020 * hurd/hurdsig.c: Include <pthread.h>.
13021 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13022 get the signal thread stack layout.
13023 * hurd/Makefile (headers): Remove threadvar.h.
13024 (inline-headers): Remove threadvar.h.
13025 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13026 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13027 __hurd_threadvar_max, __hurd_errno_location.
13028 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13029 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13030 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13031 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13032 unless TLS is not initialized yet, in which case we do not need a
13033 critical section yet anyway.
13034 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13036 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13038 (__hurd_threadvar_index): Remove enum.
13039 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13040 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13042 (__hurd_reply_port0): New variable declaration.
13043 (__hurd_local_reply_port): New macro.
13044 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13045 (interrupted_reply_port_location): Add thread_t parameter. Use it
13046 with THREAD_TCB to access thread-local variables.
13047 (_hurdsig_abort_rpcs): Pass ss->thread to
13048 interrupted_reply_port_location.
13049 (_hurd_internal_post_signal): Likewise.
13050 (_hurdsig_init): Use presence of cthread_fork instead of
13051 __hurd_threadvar_stack_mask to start signal thread by hand.
13052 Remove signal thread threadvar initialization.
13053 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13054 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13055 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13057 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13059 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13060 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13061 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13062 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13063 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13064 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13065 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13067 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13068 <hurd/threadvar.h>.
13069 [IS_IN(rtld)] (rtld_errno): New variable.
13070 [IS_IN(rtld)] (__errno_location): New weak function.
13071 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13072 * sysdeps/mach/hurd/errno.c: Remove file.
13073 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13074 (__fork): Remove THREADVAR_SPACE macro and its use.
13075 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13077 (init): Do not initialize threadvar.
13078 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13080 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13081 __hurd_local_reply_port instead of threadvar.
13082 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13083 _hurd_sigstate fields.
13084 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13085 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13086 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13087 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13088 instead of threadvar.
13089 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13090 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13091 (use_threadvar, global_reply_port): Remove variables.
13092 (__hurd_reply_port0): New variable.
13093 (__mig_get_reply_port): Use __hurd_local_reply_port and
13094 __hurd_reply_port0 instead of threadvar.
13095 (__mig_dealloc_reply_port): Likewise.
13096 (__mig_init): Do not initialize threadvar.
13097 * sysdeps/mach/hurd/profil.c: Fix comment.
13098 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13099 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13100 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13101 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13102 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13103 __cthread_setspecific.
13104 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13105 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13106 __cthread_t instead of cthread_fork, cthread_detach,
13107 pthread_getattr_np, pthread_attr_getstack.
13108 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13109 __cthread_keycreate.
13110 (cthread_getspecific): Rename to __cthread_getspecific.
13111 (cthread_setspecific): Rename to __cthread_setspecific.
13112 (__libc_getspecific): Use __cthread_getspecific instead of
13113 cthread_getspecific.
13114 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13115 __cthread_keycreate instead of cthread_keycreate.
13116 (__libc_setspecific): Use __cthread_setspecific instead of
13117 cthread_setspecific.
13118 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13121 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13122 testing whether it is defined.
13124 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13126 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13128 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13129 * sysdeps/mach/i386/thread_state.h
13130 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13132 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13134 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13136 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13137 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13139 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13141 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13142 descriptor instead of creating a new one.
13143 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13145 * mach/setup-thread.c: Include <ldsodefs.h>.
13146 (__mach_setup_thread): Call _dl_allocate_tls, pass
13147 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13148 MACHINE_THREAD_STATE_FLAVOR, before getting
13149 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13150 MACHINE_THREAD_STATE_FLAVOR with the result.
13151 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13152 MACHINE_THREAD_STATE_FIX_NEW.
13153 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13154 too. Add original thread parameter.
13156 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13158 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13159 Remove inline function.
13161 * sysdeps/i386/fpu/libm-test-ulps: Update.
13162 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13164 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13166 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13169 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13171 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13172 (__sincos_code): Remove define and undefine.
13173 [__FAST_MATH__] (__sincos): Remove inline function.
13174 [__FAST_MATH__] (__sincosf): Remove inline function.
13175 [__FAST_MATH__] (__sincosl): Remove inline function.
13176 (__atan2l): Remove inline functions.
13177 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13178 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13180 (floor): Remove inline function.
13182 [__FAST_MATH__] (__ldexp_code): Remove macro.
13183 [__FAST_MATH__] (ldexp): Remove inline function.
13184 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13185 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13186 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13187 [__USE_ISOC99] (__lrint_code): Remove macro.
13188 [__USE_ISOC99] (__llrint_code): Likewise.
13189 [__USE_ISOC99] (lrintf): Remove inline function.
13190 [__USE_ISOC99] (lrint): Likewise.
13191 [__USE_ISOC99] (lrintl): Likewise.
13192 [__USE_ISOC99] (llrint): Likewise.
13193 [__USE_ISOC99] (llrintf): Likewise.
13194 [__USE_ISOC99] (llrintl): Likewise.
13196 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13198 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13199 (__ieee754_sqrtf): Remove.
13200 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13201 (__ieee754_sqrtf): Remove.
13202 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13203 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13204 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13205 (__ieee754_sqrtf): Remove.
13206 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13207 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13210 (__ieee754_sqrt): Remove.
13211 (__ieee754_sqrtf): Remove.
13212 (__ieee754_sqrtl): Remove.
13213 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13214 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13215 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13216 (__ieee754_sqrtf): Remove.
13217 (__ieee754_sqrtl): Remove.
13219 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13221 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13222 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13223 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13224 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13225 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13226 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13227 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13228 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13230 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13231 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13232 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13233 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13234 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13235 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13236 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13237 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13238 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13239 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13240 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13241 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13242 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13243 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13244 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13245 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13246 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13247 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13248 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13249 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13250 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13251 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13252 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13253 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13254 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13255 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13257 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13258 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13259 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13260 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13261 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13262 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13263 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13264 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13265 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13266 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13267 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13268 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13269 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13271 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13273 * include/math.h (sqrt): Declare with asm redirect.
13276 (sqrtf128): Likewise.
13277 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13278 nonlib and libnldbl with -fmath-errno.
13279 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13280 * math/w_sqrt_template.c: Likewise.
13281 * math/w_sqrtf_compat.c: Likewise.
13282 * math/w_sqrtl_compat.c: Likewise.
13283 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13284 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13285 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13288 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13290 * benchtests/Makefile: Define _ISOMAC.
13291 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13292 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13293 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13294 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13295 * benchtests/bench-timing.h: Define attribute_hidden.
13297 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13299 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13302 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13305 * localedata/locales/cs_CZ (mon): Rename to...
13307 (mon): Import from CLDR (genitive case).
13309 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13312 * localedata/locales/el_CY (abmon): Rename to...
13313 (ab_alt_mon): This.
13314 (abmon): Import from CLDR (abbreviated genitive case).
13315 * localedata/locales/el_GR (abmon): Rename to...
13316 (ab_alt_mon): This.
13317 (abmon): Import from CLDR (abbreviated genitive case).
13319 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13322 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13324 2018-03-15 Robert Buj <robert.buj@gmail.com>
13327 * localedata/locales/ca_ES (abmon): Rename to...
13328 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13329 (mon): Rename to...
13331 (abmon): Import from CLDR (genitive case, month names preceded by
13334 (abday): Synchronize with CLDR.
13335 (d_t_fmt): Likewise.
13339 (LC_TIME): Improve indentation.
13340 (LC_TELEPHONE): Likewise.
13341 (LC_NAME): Likewise.
13342 (LC_ADDRESS): Likewise.
13344 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13346 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13347 (lrintf): Remove definitions used only with old GCC.
13348 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13349 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13350 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13351 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13352 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13353 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13354 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13355 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13356 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13357 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13358 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13359 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13360 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13361 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13362 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13363 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13364 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13365 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13366 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13367 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13368 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13369 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13370 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13371 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13372 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13373 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13374 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13375 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13377 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13379 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13380 instruction to unbreak builds with binutils 2.26 and older.
13382 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13384 * sysdeps/aarch64/strncmp.S (count): New macro.
13385 (strncmp): Store misaligned length in SRC1 in COUNT.
13386 (mutual_align): Adjust.
13387 (misaligned8): Load dword at a time when it is safe.
13389 2018-03-12 Zack Weinberg <zackw@panix.com>
13393 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13394 if the _IO_EOF_SEEN bit is already set; update commentary.
13395 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13396 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13398 * support/support_openpty.c, support/tty.h: New files.
13399 * support/Makefile (libsupport-routines): Add support_openpty.
13401 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13403 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13404 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13406 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13408 * po/pt_BR.po: Update translations.
13410 2018-03-12 David Michael <fedora.dm0@gmail.com>
13412 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13413 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13414 get a port to the startup server.
13416 2018-03-11 Zack Weinberg <zackw@panix.com>
13418 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13419 before nldbl-compat.h.
13421 2018-03-10 Zack Weinberg <zackw@panix.com>
13423 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13424 math.h or math_private.h.
13426 * sysdeps/alpha/fpu/s_isnan.c
13427 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13428 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13429 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13430 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13431 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13432 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13433 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13434 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13435 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13438 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13439 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13440 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13441 Include math_private.h.
13443 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13444 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13445 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13446 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13447 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13448 * sysdeps/powerpc/power7/fpu/s_logb.c:
13449 Include math.h and math_private.h.
13451 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13452 uses of $at in .set noat / .set at.
13454 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13456 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13457 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13458 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13459 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13462 2018-03-09 Florian Weimer <fweimer@redhat.com>
13464 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13467 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13470 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13471 Add nop before __startcontext, add explaining comments.
13473 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13476 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13478 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13479 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13480 Do not build hardware transactional code for __SPE__.
13481 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13482 (__lll_trylock_elision): Likewise.
13483 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13484 (__lll_unlock_elision): Likewise.
13486 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13487 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13488 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13489 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13490 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13491 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13492 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13493 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13494 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13495 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13496 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13497 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13498 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13499 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13500 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13501 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13502 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13503 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13504 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13505 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13506 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13507 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13508 (__ASSUME_CLONE_BACKWARDS): Define.
13509 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13510 __clone2 if __NR_clone2 is defined.
13511 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13512 (__ASSUME_CLONE_BACKWARDS): Likewise.
13513 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13514 (__ASSUME_CLONE_BACKWARDS): Likewise.
13515 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13516 (__ASSUME_CLONE2): Likewise.
13517 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13518 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13519 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13520 variants and the define architecture can use.
13521 (__ASSUME_CLONE_DEFAULT): Define as default.
13522 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13523 (__ASSUME_CLONE_BACKWARDS): Likewise.
13524 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13525 (__ASSUME_CLONE_BACKWARDS): Likewise.
13526 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13527 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13529 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13531 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13533 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13536 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13537 (do_test_limit): Likewise.
13539 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13540 for every implementation.
13541 (do_test): Likewise.
13543 * benchtests/bench-strncmp.c: Convert output to json.
13545 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13547 * io/futimens.c: Add missing start-of-file descriptive comment.
13548 * io/utime.c: Likewise.
13549 * misc/futimesat.c: Likewise.
13550 * misc/utimes.c: Likewise.
13551 * sysdeps/mach/hurd/futimesat.c: Likewise.
13552 * sysdeps/mach/hurd/utimes.c: Likewise.
13553 * sysdeps/posix/utime.c: Likewise.
13554 * sysdeps/posix/utimes.c: Likewise.
13555 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13556 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13557 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13558 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13560 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13562 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13564 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13565 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13566 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13567 (__futimens): Move implementation to...
13568 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13569 utime_tvalue_from_tspec): ... new helper functions.
13570 (hurd_futimens): New function.
13571 * sysdeps/mach/hurd/futimesat.c: New file.
13572 * sysdeps/mach/hurd/utimensat.c: New file.
13574 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13576 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13577 UTIME_OMIT): New macros.
13578 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13579 before reverting to converting time spec to time value and calling
13581 * sysdeps/mach/hurd/utime-helper.c: New file.
13582 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13583 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13584 reverting to utime_tvalue_from_tval and __file_utimes.
13585 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13586 (__lutimes): Just call hurd_futimens after lookup.
13587 * sysdeps/mach/hurd/utimes.c: Likewise.
13589 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13591 * bits/sigaction.h: Add include guard.
13592 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13593 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13594 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13595 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13596 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13597 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13598 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13599 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13600 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13602 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13604 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13605 -Wmaybe-uninitialized for -Os.
13606 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13609 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13611 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13612 __INO_T_MATCHES_INO64_T is defined.
13613 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13614 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13616 * dirent/alphasort64.c: Likewise.
13617 * dirent/scandir.c: Likewise.
13618 * dirent/scandir64-tail.c: Likewise.
13619 * dirent/scandir64.c: Likewise.
13620 * dirent/scandirat.c: Likewise.
13621 * dirent/scandirat64.c: Likewise.
13622 * dirent/versionsort.c: Likewise.
13623 * dirent/versionsort64.c: Likewise.
13624 * include/dirent.h: Likewise.
13626 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13627 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13628 for socketpair endpoint.
13629 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13630 WRITE_BUFFER_SIZE as buffer size for sending socket.
13631 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13632 issue on system where send is implemented with sendto syscall.
13633 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13634 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13635 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13636 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13639 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13640 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13641 sa_restorer for vDSO case.
13642 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13644 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13646 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13647 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13648 * hurd/hurd/ioctl.h: Include <mach/port.h>
13649 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13650 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13651 <mach/mach_types.h> and <mach/message.h>.
13652 (headers): Move mach/param.h to bits/mach/param.h.
13653 * sysdeps/mach/i386/mach/param.h: Move file to ...
13654 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13655 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13657 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13658 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13659 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13660 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13661 trivial, for C++ conformity.
13662 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13663 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13664 Process mig output through $(migheadersed).
13665 * hurd/Makefile (migheadersed): Define variable.
13666 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13667 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13669 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13670 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13671 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13672 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13673 <bits/types/sigset_t.h>.
13674 [!defined __USE_GNU]: Do not #error out.
13675 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13676 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13677 Include <stddef.h> and <bits/types/sigset_t.h>
13678 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13679 instead of sighandler_t.
13680 * stdlib/errno.h (error_t): Move definition to...
13681 * bits/types/error_t.h: ... new header.
13682 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13683 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13684 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13685 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13686 * hurd/hurd.h: Include <bits/types/error_t.h>
13687 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13688 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13689 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13690 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13691 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13692 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13693 * sysdeps/mach/hurd/futimens.c: New file.
13695 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13698 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13699 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13700 * nscd/gai.c (__nss_hosts_database): Readd definition.
13701 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13702 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13703 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13705 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13707 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13708 (ifunc_one): Likewise.
13710 2018-03-01 DJ Delorie <dj@delorie.com>
13713 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13716 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13718 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13719 `match_pid' parameter.
13720 (td_ta_thr_iter): Update accordingly.
13722 2018-03-01 Florian Weimer <fweimer@redhat.com>
13724 * nptl/Makefile (install-lib-ldscripts): Remove.
13725 (install): Remove rule.
13726 ($(inst_libdir)/libpthread.so): Likewise.
13728 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13731 * localedata/locales/an_ES: update month and day names,
13732 improve d_fmt, improve postal_fmt, add country_post,
13735 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13737 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13738 Ukrainian instead of Bulgarian.
13740 2018-03-01 Florian Weimer <fweimer@redhat.com>
13742 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13745 2018-03-01 Florian Weimer <fweimer@redhat.com>
13747 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13748 * nptl/Makefile (routines): Add pthread_atfork.
13749 (static-only-routines): Set to pthread_atfork.
13750 (libpthread-routines): Remove pthread_atfork.
13751 (libpthread-static-only-routines): Remove.
13752 (install): Update comment.
13753 (libpthread.so): Do not install libpthread_nonshared.a.
13754 (tests): Do not link with libpthread_nonshared.a.
13755 (generated): Remove libpthread_nonshared.a.
13756 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13757 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13758 with libpthread_nonshared.a.
13760 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13763 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13764 (libc_feholdexcept_setroundf128): New macro.
13765 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13768 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13770 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13771 * include/inttypes.h: New file.
13773 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13775 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13776 -Os in two more places.
13778 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13780 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13781 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13782 be sorted correctly at the moment because of a bug.
13784 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13786 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13787 treat ñ as a primary different character, sync the collation
13788 for Spanish with CLDR.
13789 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13790 * localedata/Makefile: Add new test files.
13791 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13792 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13794 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13795 * localedata/am_ET.UTF-8.in: New test file.
13796 * localedata/az_AZ.UTF-8.in: Likewise.
13797 * localedata/be_BY.UTF-8.in: Likewise.
13798 * localedata/ber_DZ.UTF-8.in: Likewise.
13799 * localedata/ber_MA.UTF-8.in: Likewise.
13800 * localedata/bg_BG.UTF-8.in: Likewise.
13801 * localedata/br_FR.UTF-8.in: Likewise.
13802 * localedata/cmn_TW.UTF-8.in: Likewise.
13803 * localedata/crh_UA.UTF-8.in: Likewise.
13804 * localedata/csb_PL.UTF-8.in: Likewise.
13805 * localedata/cv_RU.UTF-8.in: Likewise.
13806 * localedata/cy_GB.UTF-8.in: Likewise.
13807 * localedata/dz_BT.UTF-8.in: Likewise.
13808 * localedata/eo.UTF-8.in: Likewise.
13809 * localedata/es_ES.UTF-8.in: Likewise.
13810 * localedata/fa_IR.UTF-8.in: Likewise.
13811 * localedata/fi_FI.UTF-8.in: Likewise.
13812 * localedata/fil_PH.UTF-8.in: Likewise.
13813 * localedata/fur_IT.UTF-8.in: Likewise.
13814 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
13815 * localedata/ha_NG.UTF-8.in: Likewise.
13816 * localedata/ig_NG.UTF-8.in: Likewise.
13817 * localedata/ik_CA.UTF-8.in: Likewise.
13818 * localedata/kk_KZ.UTF-8.in: Likewise.
13819 * localedata/ku_TR.UTF-8.in: Likewise.
13820 * localedata/ky_KG.UTF-8.in: Likewise.
13821 * localedata/ln_CD.UTF-8.in: Likewise.
13822 * localedata/mi_NZ.UTF-8.in: Likewise.
13823 * localedata/ml_IN.UTF-8.in: Likewise.
13824 * localedata/mn_MN.UTF-8.in: Likewise.
13825 * localedata/mr_IN.UTF-8.in: Likewise.
13826 * localedata/mt_MT.UTF-8.in: Likewise.
13827 * localedata/nb_NO.UTF-8.in: Likewise.
13828 * localedata/om_KE.UTF-8.in: Likewise.
13829 * localedata/os_RU.UTF-8.in: Likewise.
13830 * localedata/ps_AF.UTF-8.in: Likewise.
13831 * localedata/ro_RO.UTF-8.in: Likewise.
13832 * localedata/ru_RU.UTF-8.in: Likewise.
13833 * localedata/sc_IT.UTF-8.in: Likewise.
13834 * localedata/se_NO.UTF-8.in: Likewise.
13835 * localedata/sq_AL.UTF-8.in: Likewise.
13836 * localedata/sv_SE.UTF-8.in: Likewise.
13837 * localedata/szl_PL.UTF-8.in: Likewise.
13838 * localedata/tg_TJ.UTF-8.in: Likewise.
13839 * localedata/tk_TM.UTF-8.in: Likewise.
13840 * localedata/tt_RU.UTF-8.in: Likewise.
13841 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
13842 * localedata/ug_CN.UTF-8.in: Likewise.
13843 * localedata/uz_UZ.UTF-8.in: Likewise.
13844 * localedata/vi_VN.UTF-8.in: Likewise.
13845 * localedata/yi_US.UTF-8.in: Likewise.
13846 * localedata/yo_NG.UTF-8.in: Likewise.
13847 * localedata/zh_CN.UTF-8.in: Likewise.
13848 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
13849 file and fix bugs in the collation.
13850 * localedata/locales/az_AZ: Likewise.
13851 * localedata/locales/be_BY: Likewise.
13852 * localedata/locales/ber_DZ: Likewise.
13853 * localedata/locales/ber_MA: Likewise.
13854 * localedata/locales/bg_BG: Likewise.
13855 * localedata/locales/br_FR: Likewise.
13856 * localedata/locales/br_FR@euro: Likewise.
13857 * localedata/locales/ca_ES: Likewise.
13858 * localedata/locales/cns11643_stroke: Likewise.
13859 * localedata/locales/crh_UA: Likewise.
13860 * localedata/locales/cs_CZ: Likewise.
13861 * localedata/locales/csb_PL: Likewise.
13862 * localedata/locales/cv_RU: Likewise.
13863 * localedata/locales/cy_GB: Likewise.
13864 * localedata/locales/da_DK: Likewise.
13865 * localedata/locales/dz_BT: Likewise.
13866 * localedata/locales/en_CA: Likewise.
13867 * localedata/locales/eo: Likewise.
13868 * localedata/locales/es_CU: Likewise.
13869 * localedata/locales/es_EC: Likewise.
13870 * localedata/locales/es_ES: Likewise.
13871 * localedata/locales/es_US: Likewise.
13872 * localedata/locales/et_EE: Likewise.
13873 * localedata/locales/fa_IR: Likewise.
13874 * localedata/locales/fi_FI: Likewise.
13875 * localedata/locales/fil_PH: Likewise.
13876 * localedata/locales/fur_IT: Likewise.
13877 * localedata/locales/gez_ER@abegede: Likewise.
13878 * localedata/locales/ha_NG: Likewise.
13879 * localedata/locales/hr_HR: Likewise.
13880 * localedata/locales/hsb_DE: Likewise.
13881 * localedata/locales/hu_HU: Likewise.
13882 * localedata/locales/ig_NG: Likewise.
13883 * localedata/locales/ik_CA: Likewise.
13884 * localedata/locales/is_IS: Likewise.
13885 * localedata/locales/iso14651_t1_pinyin: Likewise.
13886 * localedata/locales/kk_KZ: Likewise.
13887 * localedata/locales/ku_TR: Likewise.
13888 * localedata/locales/ky_KG: Likewise.
13889 * localedata/locales/ln_CD: Likewise.
13890 * localedata/locales/lt_LT: Likewise.
13891 * localedata/locales/lv_LV: Likewise.
13892 * localedata/locales/mi_NZ: Likewise.
13893 * localedata/locales/ml_IN: Likewise.
13894 * localedata/locales/mn_MN: Likewise.
13895 * localedata/locales/mr_IN: Likewise.
13896 * localedata/locales/mt_MT: Likewise.
13897 * localedata/locales/nb_NO: Likewise.
13898 * localedata/locales/om_KE: Likewise.
13899 * localedata/locales/os_RU: Likewise.
13900 * localedata/locales/pl_PL: Likewise.
13901 * localedata/locales/ps_AF: Likewise.
13902 * localedata/locales/ro_RO: Likewise.
13903 * localedata/locales/ru_RU: Likewise.
13904 * localedata/locales/ru_UA: Likewise.
13905 * localedata/locales/sc_IT: Likewise.
13906 * localedata/locales/se_NO: Likewise.
13907 * localedata/locales/si_LK: Likewise.
13908 * localedata/locales/sq_AL: Likewise.
13909 * localedata/locales/sv_FI: Likewise.
13910 * localedata/locales/sv_FI@euro: Likewise.
13911 * localedata/locales/sv_SE: Likewise.
13912 * localedata/locales/szl_PL: Likewise.
13913 * localedata/locales/tg_TJ: Likewise.
13914 * localedata/locales/ti_ER: Likewise.
13915 * localedata/locales/tk_TM: Likewise.
13916 * localedata/locales/tl_PH: Likewise.
13917 * localedata/locales/tr_TR: Likewise.
13918 * localedata/locales/tt_RU: Likewise.
13919 * localedata/locales/tt_RU@iqtelif: Likewise.
13920 * localedata/locales/ug_CN: Likewise.
13921 * localedata/locales/uk_UA: Likewise.
13922 * localedata/locales/uz_UZ: Likewise.
13923 * localedata/locales/uz_UZ@cyrillic: Likewise.
13924 * localedata/locales/vi_VN: Likewise.
13925 * localedata/locales/yi_US: Likewise.
13926 * localedata/locales/yo_NG: Likewise.
13928 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13930 * gen-locales.mk: Make test files which contain @ modifiers in their
13932 * localedata/gen-locale.sh: Likewise.
13934 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13936 * posix/tst-fnmatch.input: Fix results for range expressions
13938 * posix/tst-regexloc.c: Do not use a range expression for
13939 de_DE.ISO-8859-1 locale.
13941 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13943 * posix/bug-regex5.c: Fix test case because with the new
13944 iso14651_t1_common file, the da_DK locale now has 6 collating elements
13945 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
13948 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13950 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
13951 downloaded from ISO, the collation order of @-. and space has changed.
13952 Therefore, this test file needed to be adapted.
13953 * localedata/fr_CA.UTF-8.in: Likewise.
13954 * localedata/fr_FR.UTF-8.in: Likewise.
13955 * localedata/uk_UA.UTF-8.in: Likewise.
13957 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13959 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
13960 order of ȥ in the new iso14651_t1_common file.
13961 * localedata/pl_PL.UTF-8.in: Likewise.
13963 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13965 * localedata/locales/iso14651_t1_common: Add sections for various
13966 scripts to the iso14651_t1_common file.
13968 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13970 * localedata/locales/iso14651_t1_common: Use the code point of a
13971 character in the fourth collation level instead of IGNORE for all
13972 entries which have IGNORE on all 4 levels.
13974 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13976 * localedata/locales/iso14651_t1_common: Add some convenient collation
13977 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
13978 rules similar to those in CLDR.
13980 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13982 * localedata/locales/iso14651_t1_common: The new version of this
13983 file downloaded from ISO contained several syntax errors which
13984 are fixed by this patch.
13986 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13988 * localedata/locales/iso14651_t1_common: replace all <U.....>
13989 with <U000.....> because glibc understands only 4 digit or 8 digit
13991 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13993 * localedata/locales/iso14651_t1_common: Necessary changes
13994 to make the file downloaded from ISO usable by glibc.
13996 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13999 * localedata/locales/iso14651_t1_common: Update file to
14000 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14002 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14004 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14005 of <nptl/pthreadP.h>
14006 (thread_attr_compare): Move function to...
14007 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14008 * sysdeps/nptl/timer_routines.h: ... new header.
14009 * sysdeps/mach/hurd/gai_misc.h: New file.
14011 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14013 * string/strcoll_l.c: Include <libc-diag.h>.
14014 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14015 declarations of seq1 and seq2.
14018 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14019 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14021 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14025 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14026 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14027 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14028 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14029 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14030 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14032 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14034 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14035 macros used in __ptrace_request.
14037 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14040 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14042 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14043 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14044 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14047 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14050 * ctype/ctype.c (tolower): Use libc_hidden_def.
14051 (toupper): Likewise.
14052 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14053 [!_ISOMAC] (toupper): Likewise.
14055 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14057 * localedata/Makefile: Remove --quiet argument when
14060 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14063 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14065 * localedata/locales/pt_PT (LC_TIME): likewise
14067 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14070 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14071 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14072 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14074 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14078 * nptl/Makefile (routines): Remove unregister-atfork.
14079 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14080 (fork_handler_alloc): Remove function.
14081 (fork_handlers, fork_handler_init): New variables.
14082 (__fork_lock): Rename to atfork_lock.
14083 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14084 to use a dynamic array to add/remove atfork handlers.
14085 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14086 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14087 Remove declaration.
14088 (fork_handler): Remove next, refcntr, and need_signal member.
14089 (__run_fork_handler_type): New enum.
14090 (__run_fork_handlers): New prototype.
14091 * nptl/register-atfork.c: Remove file.
14092 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14094 * sysdeps/nptl/nptl-signals.h: Move to ...
14095 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14097 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14098 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14099 unnecessary check for SIGTIMER.
14100 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14101 remove unnecessary removal of SIGTIMER.
14102 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14103 include-signals.h rename.
14104 * nptl/pthreadP.h: Likewise.
14105 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14106 __is_internal_signal instead of __nptl_is_internal_signal.
14108 2018-02-22 Andrew Waterman <andrew@sifive.com>
14111 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14112 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14113 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14114 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14116 2018-02-22 DJ Delorie <dj@delorie.com>
14118 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14120 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14122 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14123 do_misaligned, not misaligned8.
14125 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14127 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14128 Add memcpy_thunderx2.
14129 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14131 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14132 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14133 and IS_THUNDERX2PA checks.
14134 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14135 Use macro to set name appropriately.
14136 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14137 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14138 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14140 (IS_THUNDERX2): New macro.
14142 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14144 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14146 2018-02-21 Zack Weinberg <zackw@panix.com>
14148 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14149 Define here, unconditionally.
14150 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14151 * libio/libioP.h: Remove #if 0 blocks.
14152 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14153 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14154 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14156 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14157 Assume weak_alias is always defined.
14159 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14160 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14161 Remove #if 0 and #ifdef TODO blocks.
14162 Assume text_set_element is always defined.
14164 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14165 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14166 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14168 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14169 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14170 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14171 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14172 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14173 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14174 Reformat bit flags for _flags field to make occupancy clearer.
14176 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14177 Keep definitions consistent with those in libio/libio.h.
14179 * libio/libio.h (_IO_file_flags): Remove macro.
14180 All uses changed to _flags.
14182 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14183 (__HAVE_COLUMN, _IO_BE): Don't define.
14184 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14185 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14186 * libio/libioP.h (EOF): Don't define.
14187 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14188 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14189 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14190 testing _IO_UNIFIED_JUMPTABLES.
14192 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14193 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14194 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14195 (_IO_size_t): Delete; all uses changed to size_t.
14196 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14197 (_IO_off_t): Delete; all uses changed to off_t.
14198 (_IO_off64_t): Delete; all uses changed to off64_t.
14199 (_IO_pid_t): Delete; all uses changed to pid_t.
14200 (_IO_uid_t): Delete; all uses changed to uid_t.
14201 (_IO_wint_t): Delete; all uses changed to wint_t.
14202 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14203 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14204 (_IO_cookie_io_functions_t): Delete; all uses changed to
14205 cookie_io_functions_t.
14206 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14207 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14208 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14209 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14211 * libio/iofopncook.c: Remove unnecessary forward declarations.
14212 * libio/iolibio.h: Correct outdated commentary.
14213 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14214 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14215 Remove unnecessary casts.
14216 * stdio-common/getline.c: Use _IO_getdelim directly.
14217 Don't redefine ssize_t.
14218 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14219 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14220 Remove outdated comments.
14221 * stdio-common/vfscanf.c: Don't redefine va_list.
14223 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14224 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14225 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14226 which are always true, and __cplusplus, which is always false.
14228 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14232 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14233 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14234 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14235 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14237 [!_ISOMAC] (putc_unlocked): Likewise.
14238 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14239 define inline if [__USE_EXTERN_INLINES].
14240 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14245 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14246 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14247 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14248 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14249 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14251 * time/tzfile.c (__tzfile_read): Likewise.
14253 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14256 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14258 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14260 * io/fcntl.h: Fix a typo in a comment.
14262 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14265 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14266 define _DEFAULT_SOURCE.
14267 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14269 2018-02-21 Florian Weimer <fweimer@redhat.com>
14272 * elf/cache.c (save_cache): Call fsync on temporary file before
14274 (save_aux_cache): Call fdatasync on temporary file before renaming
14277 2018-02-21 Florian Weimer <fweimer@redhat.com>
14280 * include/caller.h: Remove file.
14281 * elf/dl-caller.c: Likewise.
14282 * elf/Makefile (dl-routines): Remove dl-caller.
14283 (shared-only-routines): Do not add dl-caller.
14284 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14286 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14288 (dl_open_worker): Do not call __check_caller.
14289 (_dl_open): Do not set caller_dl_open member.
14290 * elf/rtld.c (_rtld_global_ro): Do not initialize
14291 _dl_check_caller member.
14292 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14293 _dl_check_caller member.
14294 (_dl_check_caller): Remove declaration.
14295 * sysdeps/unix/sysv/linux/dl-execstack.c
14296 (_dl_make_stack_executable): Do not call __check_caller.
14298 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14300 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14301 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14303 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14305 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14308 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14311 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14312 of 199606L, 200112L, and 200809L.
14313 (_XOPEN_SOURCE): Document special values of 600 and 700.
14314 (_ISOC11_SOURCE): Document macro.
14315 (_ATFILE_SOURCE): Likewise.
14316 (_FORTIFY_SOURCE): Likewise.
14318 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14322 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14323 and define as weak alias of __ferror_unlocked. Use
14325 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14327 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14328 function if [__USE_EXTERN_INLINES].
14329 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14332 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14335 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14337 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14340 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14341 the GLIBC_2.1 version.
14343 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14346 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14347 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14348 intl/tst-gettext-de.po from po/de.po by removing the
14349 POT-Creation-Date line.
14350 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14352 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14355 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14357 * mach/Makefile (headers): Add mach/param.h.
14358 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14359 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14360 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14361 (__ptsname_r): Move implementation to...
14362 (__ptsname_internal): ... new function. Add filling the STP
14365 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14367 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14370 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14372 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14375 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14377 * nptl/Makefile (tst-mutex8-ENV): Delete.
14378 * nptl/tst-mutex8.c (check_type):
14379 Add runtime check if mutex will be elided.
14381 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14385 * manual/install.texi (Configuring and compiling): Describe
14386 passing CC and CFLAGS on configure command line, not as
14387 environment variables. Use @code markup on those variables.
14388 Specify what options go in CC and what go in CFLAGS. Note the
14389 requirement to compile with optimization.
14390 * INSTALL: Regenerated.
14393 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14394 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14395 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14396 __sigprocmask instead of sigprocmask.
14397 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14399 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14400 __sigsetjmp and sigprocmask.
14403 * include/argz.h (argz_next): Use libc_hidden_proto.
14404 (__argz_next): Likewise.
14405 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14406 (argz_next): Use libc_hidden_weak.
14409 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14411 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14415 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14417 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14421 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14422 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14423 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14424 (__feof_unlocked): New declaration, and inline function if
14425 [__USE_EXTERN_INLINES].
14426 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14427 instead of feof_unlocked.
14428 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14429 * nss/nsswitch.c (nss_parse_file): Likewise.
14430 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14432 * time/getdate.c (__getdate_r): Likewise.
14433 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14434 Define as macro to call __feof_unlocked.
14436 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14438 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14440 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14442 * math/Makefile: Remove mpexp.c and mplog.c
14443 * sysdeps/i386/fpu/mpexp.c: Delete file.
14444 * sysdeps/i386/fpu/mplog.c: Likewise.
14445 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14446 * sysdeps/ia64/fpu/mplog.c: Likewise.
14447 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14448 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14449 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14450 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14451 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14452 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14453 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14454 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14455 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14456 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14457 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14458 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14459 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14460 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14461 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14462 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14464 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14466 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14468 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14470 * sysdeps/sh/libm-test-ulps: Update.
14472 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14474 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14477 2018-02-12 Zack Weinberg <zackw@panix.com>
14480 * posix/sys/types.h: Don't include sys/sysmacros.h.
14481 * misc/sys/sysmacros.h: Remove the conditional deprecation
14482 warnings for the macros defined by this header.
14484 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14486 * manual/probes.texi: Remove slowexp probes.
14487 * math/Makefile: Remove slowexp.
14488 * sysdeps/generic/math_private.h (__slowexp): Remove.
14489 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14490 document error bounds.
14491 * sysdeps/i386/fpu/slowexp.c: Remove.
14492 * sysdeps/ia64/fpu/slowexp.c: Remove.
14493 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14494 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14495 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14496 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14497 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14498 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14499 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14500 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14501 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14502 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14503 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14505 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14508 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14509 * benchtests/pow-inputs: Update comment for slow path cases.
14510 * manual/probes.texi (slowpow_p10): Delete removed probe.
14511 (slowpow_p10): Likewise.
14512 * math/Makefile: Remove halfulp.c and slowpow.c.
14513 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14514 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14515 (__halfulp): Remove.
14516 (__slowpow): Remove.
14517 * sysdeps/i386/fpu/halfulp.c: Delete file.
14518 * sysdeps/i386/fpu/slowpow.c: Likewise.
14519 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14520 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14521 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14522 improve comments and add error analysis.
14523 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14524 (power1): Remove function:
14525 (log1): Remove error argument, add error analysis.
14526 (my_log2): Remove function.
14527 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14528 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14529 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14530 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14531 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14532 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14533 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14534 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14535 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14536 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14537 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14538 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14539 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14540 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14542 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14544 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14545 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14547 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14550 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14551 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14552 and PTRACE_SETHBPREGS.
14554 2018-02-10 Zack Weinberg <zackw@panix.com>
14557 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14559 * malloc/tst-malloc-stats-cancellation.c: New test case.
14560 * malloc/Makefile: Add new test case.
14562 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14564 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14566 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14568 * math/Makefile (libm-narrow-fns): Add add.
14569 (libm-test-funcs-narrow): Likewise.
14570 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14571 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14572 * math/gen-auto-libm-tests.c (test_functions): Add add.
14573 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14574 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14575 (NARROW_ADD_TRIVIAL): Likewise.
14576 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14578 (__daddl): Likewise.
14579 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14581 (CFLAGS-nldbl-dadd.c): New variable.
14582 (CFLAGS-nldbl-fadd.c): Likewise.
14583 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14585 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14587 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14588 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14589 * math/auto-libm-test-in: Add tests of add.
14590 * math/auto-libm-test-out-narrow-add: New generated file.
14591 * math/libm-test-narrow-add.inc: New file.
14592 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14593 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14594 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14595 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14596 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14597 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14598 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14599 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14600 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14601 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14602 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14603 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14604 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14605 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14606 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14607 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14608 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14609 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14611 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14612 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14613 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14614 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14615 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14616 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14618 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14619 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14620 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14621 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14622 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14623 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14630 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14636 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14637 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14639 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14640 (f128-pairs): New variable.
14641 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14642 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14644 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14645 Also make tests add $(f128-loader-link) to gnulib-tests.
14647 2018-02-09 DJ Delorie <dj@redhat.com>
14650 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14651 64-bit ELF type for 64-bit ELF objects.
14653 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14655 * math/libm-test-driver.c (snan_tests_arg): New variable.
14656 * math/libm-test-support.h (snan_tests_arg): New declaration.
14657 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14659 * math/Makefile (test-type-pairs): New variable.
14660 (test-type-pairs-f64xf128-yes): Likewise.
14661 (tests): Add test-narrow-macros.
14662 (libm-test-funcs-narrow): New variable.
14663 (libm-test-c-narrow): Likewise.
14664 (generated): Add $(libm-test-c-narrow).
14665 (libm-tests-base-narrow): New variable.
14666 (libm-tests-narrow): Likewise.
14667 (libm-tests): Add $(libm-tests-narrow).
14668 (libm-tests-for-type): Handle $(libm-tests-narrow).
14669 (libm-test-c-narrow-obj): New variable.
14670 ($(libm-test-c-narrow-obj)): New rule.
14671 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14672 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14673 $(o-iterator) to set dependencies and CFLAGS.
14674 * math/gen-auto-libm-tests.c: Document use for narrowing
14676 (output_for_one_input_case): Take argument NARROW.
14677 (generate_output): Likewise. Update call to
14678 output_for_one_input_case.
14679 (main): Take --narrow option. Update call to generate_output.
14680 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14681 (apply_lit): Update call to _apply_lit.
14682 (apply_arglit): New function.
14683 (parse_args): Handle "a" arguments.
14684 (parse_auto_input): Handle format names using ":".
14685 * math/README.libm-test: Document "a" parameter type.
14686 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14687 (ARG_TYPE_TRUE_MIN): Likewise.
14688 (ARG_TYPE_MAX): Likwise.
14689 (ARG_MIN_EXP): Likewise.
14690 (ARG_MAX_EXP): Likewise.
14691 (ARG_MANT_DIG): Likewise.
14692 (TEST_COND_arg_ibm128): Likewise.
14693 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14694 (TEST_COND_arg_fmt): New macro.
14695 (init_max_error): Update prototype.
14696 * math/libm-test-support.c (test_ibm128): New variable.
14697 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14698 instead of using [TEST_COND_ibm128] conditional.
14699 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14700 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14701 [TEST_NARROW] (TEST_MSG): New definition.
14702 (arg_plus_zero): New macro.
14703 (arg_minus_zero): Likewise.
14704 (arg_plus_infty): Likewise.
14705 (arg_minus_infty): Likewise.
14706 (arg_qnan_value_pl): Likewise.
14707 (arg_qnan_value): Likewise.
14708 (arg_snan_value_pl): Likewise.
14709 (arg_snan_value): Likewise.
14710 (arg_max_value): Likewise.
14711 (arg_min_value): Likewise.
14712 (arg_min_subnorm_value): Likewise.
14713 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14714 (RUN_TEST_LOOP_aa_f): New macro.
14715 (TEST_SUFF): New macro.
14716 (TEST_SUFF_STR): Likewise.
14717 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14718 (TEST_COND_any_ibm128): New macro.
14719 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14720 this_func. Update call to init_max_error.
14721 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14722 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14723 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14724 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14725 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14726 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14727 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14728 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14729 * math/test-math-vector.h (TEST_NARROW): Likewise.
14730 * math/test-arg-double.h: New file.
14731 * math/test-arg-float128.h: Likewise.
14732 * math/test-arg-float32x.h: Likewise.
14733 * math/test-arg-float64.h: Likewise.
14734 * math/test-arg-float64x.h: Likewise.
14735 * math/test-arg-ldouble.h: Likewise.
14736 * math/test-math-narrow.h: Likewise.
14737 * math/test-narrow-macros.c: Likewise.
14738 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14739 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14740 test-narrow-macros-ldbl-64.
14741 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14743 * math/bits/mathcalls-narrow.h: New file.
14744 * include/bits/mathcalls-narrow.h: Likewise.
14745 * math/math-narrow.h: Likewise.
14746 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14747 (__MATHCALL_NARROW_ARGS_2): Likewise.
14748 (__MATHCALL_NARROW_ARGS_3): Likewise.
14749 (__MATHCALL_NARROW_NORMAL): Likewise.
14750 (__MATHCALL_NARROW_REDIR): Likewise.
14751 (__MATHCALL_NARROW): Likewise.
14752 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14753 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14755 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14756 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14757 (libm-narrow-fns): New variable.
14758 (libm-narrow-types-basic): Likewise.
14759 (libm-narrow-types-ldouble-yes): Likewise.
14760 (libm-narrow-types-float128-yes): Likewise.
14761 (libm-narrow-types-float128-alias-yes): Likewise.
14762 (libm-narrow-types): Likewise.
14763 (libm-routines): Add narrowing functions.
14764 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14765 (libc_feholdexcept_setroundf128): New macro.
14766 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14767 * sysdeps/ieee754/float128/float128_private.h: Include
14768 <math/math-narrow.h>.
14769 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14770 Undefine and redefine.
14771 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14772 (libm_alias_float_ldouble): Undefine and redefine.
14773 (libm_alias_double_ldouble): Likewise.
14775 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14777 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14779 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14782 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14784 * manual/creature.texi: Convert references to gcc.info to gcc.
14785 * manual/stdio.texi: Likewise.
14786 * manual/string.texi: Likewise.
14788 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14791 * posix/bits/types.h (__int_least8_t): New typedef.
14792 (__uint_least8_t): Likewise.
14793 (__int_least16_t): Likewise.
14794 (__uint_least16_t): Likewise.
14795 (__int_least32_t): Likewise.
14796 (__uint_least32_t): Likewise.
14797 (__int_least64_t): Likewise.
14798 (__uint_least64_t): Likewise.
14799 * sysdeps/generic/stdint.h (int_least8_t): Define using
14801 (int_least16_t): Define using __int_least16_t.
14802 (int_least32_t): Define using __int_least32_t.
14803 (int_least64_t): Define using __int_least64_t.
14804 (uint_least8_t): Define using __uint_least8_t.
14805 (uint_least16_t): Define using __uint_least16_t.
14806 (uint_least32_t): Define using __uint_least32_t.
14807 (uint_least64_t): Define using __uint_least64_t.
14808 * wcsmbs/uchar.h: Include <bits/types.h>.
14809 (char16_t): Define using __uint_least16_t conditional only on
14811 (char32_t): Define using __uint_least32_t conditional only on
14813 * wcsmbs/test-char-types.c: New file.
14814 * wcsmbs/Makefile (tests): Add test-char-types.
14816 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14819 2018-02-07 Zack Weinberg <zackw@panix.com>
14821 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
14822 Delete all contents except for definitions of _G_HAVE_MMAP and
14823 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
14824 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
14825 sysdeps/unix/sysv/linux/_G_config.h. Make same content
14828 * libio/libio.h: Don't include bits/_G_config.h here.
14829 Include stddef.h with __need_wchar_t defined. Include
14830 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
14831 Define _IO_iconv_t here, directly.
14832 Don't define _IO_HAVE_ST_BLKSIZE.
14833 * libio/libioP.h: Include _G_config.h here. Move include of
14834 shlib-compat.h up with rest of includes. Simplify conditionals
14835 controlling definition of _IO_JUMPS_OFFSET.
14837 * csu/init.c: Remove always-true #if around entire file.
14838 Don't include stdio.h. Set _IO_stdin_used to hardwired
14839 constant 0x20001, and update commentary.
14840 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
14841 Replace all uses of _G_va_list with __gnuc_va_list.
14842 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
14843 instead of #if _IO_HAVE_ST_BLKSIZE.
14844 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
14845 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
14848 * libio/bits/libio.h: Move back to libio/libio.h and adjust
14849 multiple-include guard to match.
14850 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
14852 Remove preprocessor conditionals that are always true and/or
14853 redundant to other preprocessor conditionals in the same nest.
14854 Include shlib-compat.h unconditionally.
14855 Error out if _LIBC is not defined, or if _ISOMAC is defined,
14856 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
14857 defined after including stdio.h.
14858 Use __BEGIN_DECLS/__END_DECLS.
14860 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
14861 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
14862 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
14864 2018-02-07 Zack Weinberg <zackw@panix.com>
14866 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
14867 New single-type headers split from _G_config.h.
14868 * libio/bits/types/cookie_io_functions_t.h
14869 * libio/bits/types/struct_FILE.h
14870 New single-type headers split from libio.h.
14872 * libio/Makefile: Install the above new headers. Don't install
14873 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
14875 * libio/_G_config.h, libio/libio.h: Delete file.
14877 * libio/bits/libio.h: Remove improper-inclusion guard.
14878 Include stdio.h and don't repeat anything that it does.
14879 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
14880 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
14881 __io_read_fn as cookie_read_function_t,
14882 __io_write_fn as cookie_write_function_t,
14883 __io_seek_fn as cookie_seek_function_t,
14884 __io_close_fn as cookie_close_function_t,
14885 and _IO_cookie_io_functions_t as cookie_io_functions_t.
14886 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
14887 here, in the "compatibility defines" section. Remove an #if 0
14888 block. Use the "body" macros from bits/types/struct_FILE.h to
14889 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
14890 and _IO_ferror_unlocked.
14891 Move prototypes of __uflow and __overflow...
14893 * libio/stdio.h: ...here. Don't include bits/libio.h.
14894 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
14895 directly from stdarg.h. Include bits/types/__fpos_t.h,
14896 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
14897 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
14898 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
14899 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
14900 cookie_io_functions_t, not _IO_cookie_io_functions_t;
14901 __ssize_t, not _IO_ssize_t. Unconditionally define
14902 BUFSIZ as 8192 and EOF as (-1).
14904 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
14905 macros from bits/types/struct_FILE.h instead of _IO_* macros
14906 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
14907 instead of _IO_ssize_t.
14908 * libio/bits/stdio2.h: Similarly.
14910 * libio/iolibio.h: Add multiple-include guard.
14911 Include bits/libio.h after stdio.h.
14912 * libio/libioP.h: Add multiple-include guard.
14913 Include stdio.h and bits/libio.h before iolibio.h.
14915 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
14916 * include/bits/types/cookie_io_functions_t.h
14917 * include/bits/types/struct_FILE.h: New wrappers.
14919 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
14920 Get definitions of _G_fpos_t and _G_fpos64_t from
14921 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
14922 respectively. Remove improper-inclusion guards.
14924 * conform/data/stdio.h-data: Update expectations of va_list.
14925 * scripts/check-installed-headers.sh: Remove special case for
14926 libio.h and _G_config.h.
14928 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14932 * include/sys/sysmacros.h [!_ISOMAC]
14933 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
14934 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
14935 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
14936 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
14938 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
14939 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
14941 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
14942 Undefine and redefine to add use __gnu_dev_ prefix.
14943 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
14945 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
14946 and define as hidden inline function.
14947 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
14949 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
14951 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
14952 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
14953 (gnu_dev_minor): Likewise.
14954 (gnu_dev_makedev): Likewise.
14955 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
14957 * posix/wordexp.c (exec_comm_child): Likewise.
14958 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
14959 instead of minor and __gnu_dev_major instead of major.
14960 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
14961 __gnu_dev_major instead of major.
14962 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
14963 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
14964 instead of gnu_dev_minor.
14965 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
14966 (SLAVE_P): Likewise.
14967 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
14968 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
14972 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
14974 * locale/weightwc.h (findidx): Likewise.
14976 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
14978 * manual/probes.texi (slowlog): Delete documentation of removed probe.
14979 (slowlog_inexact): Likewise
14980 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
14981 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
14983 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
14986 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
14987 missing second underscore to parameter name.
14989 2018-02-06 Joseph Myers <joseph@codesourcery.com>
14995 * bits/byteswap.h: Update file comment. Do not include
14996 <bits/byteswap-16.h>.
14997 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
14999 (__bswap_16): Define as inline function.
15000 (__bswap_constant_32): Reformat definition.
15001 (__bswap_32): Always define as inline function, not macro, using
15002 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15003 otherwise __bswap_constant_32.
15004 (__bswap_constant_64): Reformat definition. Do not use
15005 __extension__ here.
15006 (__bswap_64): Always define as inline function, not macro. Use
15007 __extension__ on function definition. Use __builtin_bswap64 if
15008 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15009 * string/test-endian-file-scope.c: New file.
15010 * string/test-endian-sign-conversion.c: Likewise.
15011 * string/Makefile (headers): Remove bits/byteswap-16.h.
15012 (tests): Add test-endian-file-scope and
15013 test-endian-sign-conversion.
15014 (CFLAGS-test-endian-sign-conversion.c): New variable.
15015 * bits/byteswap-16.h: Remove file.
15016 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15017 * sysdeps/ia64/bits/byteswap.h: Likewise.
15018 * sysdeps/m68k/bits/byteswap.h: Likewise.
15019 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15020 * sysdeps/s390/bits/byteswap.h: Likewise.
15021 * sysdeps/tile/bits/byteswap.h: Likewise.
15022 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15023 * sysdeps/x86/bits/byteswap.h: Likewise.
15026 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15027 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15028 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15029 199901L] (__restrict): Define to restrict.
15032 * string/testcopy.c: Include <support/support.h>. Do not include
15033 <malloc.h>. Use <support/test-driver.c>.
15034 (main): Rename to do_test. Make static. Use xmalloc instead of
15038 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15039 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15040 (SSIZE_MAX): Define to INT_MAX.
15041 * posix/test-ssize-max.c: New file.
15042 * posix/Makefile (tests): Add test-ssize-max.
15045 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15046 <support/support.h>. Do not include <malloc.h>.
15047 (query_auxv): Use xmalloc instead of malloc.
15050 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15051 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15054 2018-02-06 Florian Weimer <fweimer@redhat.com>
15057 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15058 Use scratch_buffer instead of extend_alloca.
15060 2018-02-06 Zack Weinberg <zackw@panix.com>
15062 * libio/stdio.h: Don't define getc or putc as macros.
15063 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15064 not _IO_getc and _IO_putc.
15066 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15067 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15069 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15071 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15072 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15074 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15077 * elf/elf.h (NT_PRFPREG): New macro.
15078 (NT_S390_VXRS_LOW): Likewise.
15079 (NT_S390_VXRS_HIGH): Likewise.
15080 (NT_S390_GS_CB): Likewise.
15081 (NT_S390_GS_BC): Likewise.
15082 (NT_S390_RI_CB): Likewise.
15084 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15085 (MAP_SYNC): New macro.
15086 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15088 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15089 (MAP_SYNC): Likewise.
15090 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15091 (MAP_SYNC): Likewise.
15092 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15093 (MAP_SYNC): Likewise.
15094 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15095 (MAP_SYNC): Likewise.
15096 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15097 (MAP_SYNC): Likewise.
15098 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15099 (MAP_SYNC): Likewise.
15100 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15102 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15105 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15106 (MAP_SHARED_VALIDATE): New macro.
15107 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15108 (MAP_SHARED_VALIDATE): Likewise.
15110 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15112 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15113 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15114 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15116 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15118 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15119 (DT_NUM): Updated to 35.
15121 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15123 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15124 __builtin_expect with __glibc_likely and __glibc_unlikely.
15125 (elf_machine_rela): Likewise.
15126 (elf_machine_lazy_rel): Likewise.
15128 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15130 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15131 __builtin_expect with __glibc_likely and __glibc_unlikely.
15132 (elf_machine_lazy_rel): Likewise.
15134 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15137 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15139 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15141 2018-02-05 Andreas Schwab <schwab@suse.de>
15144 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15147 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15149 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15150 not check against PTHREAD_STACK_MIN.
15152 2018-02-02 Sean McKean <smckean83@gmail.com>
15155 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15157 2018-02-02 Florian Weimer <fweimer@redhat.com>
15160 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15161 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15162 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15163 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15164 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15165 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15166 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15167 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15168 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15169 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15170 * misc/tst-preadvwritev2.c (do_test): Call it.
15171 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15173 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15175 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15177 * benchtests/bench-memcmp.c: Print json instead of plain text.
15179 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15182 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15184 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15186 (s390_sthyi): New syscall.
15188 * sysdeps/generic/ldbl-classify-compat.h: New file.
15189 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15190 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15191 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15192 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15193 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15194 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15195 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15196 <ldbl-classify-compat.h>.
15197 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15198 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15199 <ldbl-classify-compat.h>.
15200 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15201 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15202 <ldbl-classify-compat.h>.
15203 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15204 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15205 <ldbl-classify-compat.h>.
15206 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15208 <ldbl-classify-compat.h>.
15209 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15210 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15211 <ldbl-classify-compat.h>.
15212 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15213 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15214 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15215 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15216 * sysdeps/microblaze/math_private.h: Likewise.
15217 * sysdeps/nios2/math_private.h: Likewise.
15218 * sysdeps/sh/math_private.h: Likewise.
15220 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15221 * sysdeps/m68k/coldfire/math_private.h: ... here.
15222 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15223 * sysdeps/tile/math_private.h: Likewise.
15224 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15226 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15229 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15231 (libc_fetestexcept): Likewise.
15232 (libc_feupdateenv_test): Likewise.
15233 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15234 (libc_fetestexcept): Likewise.
15235 (libc_feupdateenv_test): Likewise.
15236 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15237 (libc_fetestexcept): Likewise.
15238 (libc_feupdateenv_test): Likewise.
15239 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15240 (libc_fetestexcept): Likewise.
15241 (libc_feupdateenv_test): Likewise.
15243 * sysdeps/generic/math_private.h
15244 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15245 New inline function.
15246 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15249 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15250 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15251 * sysdeps/generic/math_private.h
15252 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15254 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15256 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15258 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15260 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15262 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15264 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15265 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15266 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15267 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15268 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15269 (__fegetenv): Likewise.
15270 (fesetenv): Likewise.
15271 (__fesetenv): Likewise.
15272 (feupdateenv): Likewise.
15273 (__feupdateenv): Likewise.
15274 (fegetround): Likewise.
15275 (__fegetround): Likewise.
15276 (fesetround): Likewise.
15277 (__fesetround): Likewise.
15279 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15280 (feraiseexcept): New macro.
15281 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15282 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15284 (__feraiseexcept): Likewise.
15285 (feclearexcept): Likewise.
15286 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15287 (__feraiseexcept): Likewise.
15288 (feclearexcept): Likewise.
15289 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15290 (__feraiseexcept): Likewise.
15291 (feclearexcept): Likewise.
15292 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15293 (__feraiseexcept): Likewise.
15294 (feclearexcept): Likewise.
15295 (fetestexcept): Likewise.
15297 * sysdeps/m68k/coldfire/math-tests.h: New file.
15299 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15300 * sysdeps/m68k/bits/fenv.h: ... here.
15301 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15303 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15305 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15307 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15309 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15311 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15313 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15314 (__FE_UNDEFINED): New enum constant.
15315 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15317 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15319 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15321 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15322 to match generic bits/fenv.h.
15323 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15326 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15328 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15329 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15330 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15331 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15333 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15334 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15335 Joseph Myers <joseph@codesourcery.com>
15338 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15339 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15340 computation using c.
15341 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15342 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15343 computation using c.
15345 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15347 * version.h (RELEASE): Set to "development".
15348 (VERSION): Set to "2.27.9000".
15349 * NEWS (2.28): New section.
15351 * version.h (RELEASE): Set to "stable".
15352 (VERSION): Set to "2.27".
15353 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15355 * NEWS: Add the list of bugs fixed in 2.27.
15357 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15359 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15360 against PTHREAD_STACK_MIN.
15362 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15364 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15366 (Rafal Luzynski, Andreas Schwab): Update.
15368 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15371 * NEWS: List the languages which actually use the alternative
15372 months feature in this release. Also explain that "alt_mon" and
15373 "ab_alt_mon" are optional.
15375 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15378 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15380 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15382 * manual/install.texi (Tools for Compilation): Update the newest
15383 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15384 * INSTALL: Regenerated.
15386 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15388 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15389 instead of __builtin_expect.
15391 2018-01-30 Florian Weimer <fweimer@redhat.com>
15393 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15395 * nss/tst-nss-getpwent.c (do_test): Likewise.
15397 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15400 * localedata/locales/hr_HR (mon): Rename to...
15402 (mon): Import from CLDR (genitive case).
15403 (d_t_fmt): Update the comment.
15405 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15407 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15408 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15409 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15411 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15413 * mach/Versions: Fix version when __mach_host_self_ was added.
15414 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15415 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15416 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15417 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15418 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15419 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15420 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15421 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15422 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15423 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15424 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15425 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15426 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15427 || to respect codestyle.
15428 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15429 (do_test_bz20181): Rename accordingly.
15430 * malloc/malloc.c: Include <assert.h>.
15431 (assert): Do not define.
15432 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15433 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15434 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15435 * sysdeps/mach/hurd/hp-timing.h: New file.
15436 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15438 2018-01-29 Darius Rad <darius@bluespec.com>
15440 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15442 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15444 * sysdeps/init_array/crti.S (.section .init_array): Add
15445 PREINIT_FUNCTION when defined.
15446 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15447 * config.h.in: Regenerate.
15448 * manual/platform.texi: Add RISC-V documenation for
15449 __riscv_flush_icache.
15450 * sysdeps/riscv/__longjmp.S: New file.
15451 * sysdeps/riscv/backtrace.c: Likewise.
15452 * sysdeps/riscv/bits/endian.h: Likewise.
15453 * sysdeps/riscv/bits/setjmp.h: Likewise.
15454 * sysdeps/riscv/bits/wordsize.h: Likewise.
15455 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15456 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15457 * sysdeps/riscv/dl-trampoline.S: Likewise.
15458 * sysdeps/riscv/gccframe.h: Likewise.
15459 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15460 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15461 * sysdeps/riscv/machine-gmon.h: Likewise.
15462 * sysdeps/riscv/memusage.h: Likewise.
15463 * sysdeps/riscv/setjmp.S: Likewise.
15464 * sysdeps/riscv/sys/asm.h: Likewise.
15465 * sysdeps/riscv/tls-macros.h: Likewise.
15466 * sysdeps/riscv/dl-tls.h: New file.
15467 * sysdeps/riscv/libc-tls.c: Likewise.
15468 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15469 * sysdeps/riscv/nptl/tls.h: Likewise.
15470 * sysdeps/riscv/stackinfo.h: Likewise.
15471 * sysdeps/riscv/bits/fenv.h: New file.
15472 * sysdeps/riscv/e_sqrtl.c: Likewise.
15473 * sysdeps/riscv/fpu_control.h: Likewise.
15474 * sysdeps/riscv/math-tests.h: Likewise.
15475 * sysdeps/riscv/nofpu/Implies: Likewise.
15476 * sysdeps/riscv/sfp-machine.h: Likewise.
15477 * sysdeps/riscv/tininess.h: Likewise.
15478 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15479 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15480 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15481 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15482 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15483 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15484 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15485 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15486 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15487 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15488 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15489 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15490 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15491 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15492 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15493 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15494 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15495 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15496 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15497 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15498 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15499 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15500 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15501 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15502 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15503 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15504 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15505 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15506 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15507 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15508 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15509 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15510 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15511 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15512 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15513 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15514 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15515 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15516 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15517 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15518 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15519 * sysdeps/riscv/rvf/math_private.h: Likewise.
15520 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15521 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15522 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15523 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15524 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15525 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15526 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15527 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15528 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15529 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15530 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15531 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15532 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15533 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15534 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15535 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15536 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15537 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15538 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15539 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15540 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15541 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15542 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15543 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15544 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15545 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15546 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15547 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15548 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15549 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15550 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15551 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15552 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15553 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15554 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15555 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15556 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15557 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15558 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15559 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15560 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15561 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15562 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15563 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15564 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15565 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15566 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15567 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15568 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15569 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15570 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15571 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15572 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15573 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15574 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15575 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15576 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15577 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15578 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15579 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15580 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15581 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15582 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15583 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15584 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15585 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15586 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15587 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15588 * sysdeps/riscv/Implies: New file.
15589 * sysdeps/riscv/Makefile: Likewise.
15590 * sysdeps/riscv/configure: Likewise.
15591 * sysdeps/riscv/configure.ac: Likewise.
15592 * sysdeps/riscv/nptl/Makefile: Likewise.
15593 * sysdeps/riscv/preconfigure: Likewise.
15594 * sysdeps/riscv/rv64/Implies-after: Likewise.
15595 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15596 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15597 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15598 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15599 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15600 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15601 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15602 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15603 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15604 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15605 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15606 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15607 (Config): Likewise.
15609 2018-01-29 Florian Weimer <fweimer@redhat.com>
15612 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15613 libnsl_hidden_proto.
15614 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15615 libnsl_hidden_proto.
15616 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15617 * nis/Makefile (libnsl-routines): Add nss-default only for
15618 build-obsolete-nsl.
15619 * nis/nis_defaults.c (__nis_default_ttl): Add
15620 libnsl_hidden_nolink_def.
15621 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15623 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15624 * nis/ypclnt.c (yp_maplist): Likewise.
15626 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15628 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15629 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15631 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15633 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15634 clean -dxfq for git updates when replacing sources.
15636 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15637 --disable-libcilkrts unconditionally, not just for the final GCC
15640 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15643 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15646 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15649 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15652 * localedata/locales/be_BY (mon): Rename to...
15653 (alt_mon): This, then synchronize with CLDR (nominative case).
15654 (abmon): Rename to...
15655 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15656 (mon): Import from CLDR (genitive case).
15658 * localedata/locales/be_BY@latin (mon): Rename to...
15660 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15662 * localedata/locales/be_BY@latin (lang_name): Reworded to
15663 "biełaruskaja mova".
15665 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15668 * localedata/locales/el_CY (mon): Renamed to...
15670 (mon): Import from CLDR (genitive case).
15671 * localedata/locales/el_GR: Likewise.
15673 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15676 * localedata/locales/ru_RU (mon): Rename to...
15678 (abmon): Rename to...
15679 (ab_alt_mon): This.
15680 (mon): Import from CLDR (genitive case).
15681 (abmon): Copy from the old content except the 5th month which is
15682 now in the genitive case, even when abbreviated.
15683 * localedata/locales/ru_UA: Likewise.
15684 * time/tst-strptime.c (day_tests): Add an actual example of
15685 a difference between %b and %Ob in Russian.
15687 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15689 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15690 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15692 * resolv/res-close.c: Include <stdlib.h>.
15693 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15694 <sys/wait.h>, <time.h>, <sys/uio.h>.
15695 (NOT_CANCEL_H): Add inclusion guard.
15696 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15697 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15698 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15700 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15701 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15702 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15704 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15705 timer_ptr2id to cast struct timer_node * to void *.
15706 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15707 --disable-libcilkrts to gcc configure.
15708 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15709 and make them the default for now.
15710 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15711 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15712 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15713 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15714 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15716 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15717 __task_terminate would ever return successfully.
15718 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15720 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15721 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15722 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15723 critical section to make code simpler and avoid warning.
15724 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15725 critical section to make code simpler and avoid warning.
15726 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15727 const char * instead of char *.
15728 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15729 __hurd_file_name_split, hurd_file_name_split,
15730 __hurd_directory_name_split, hurd_directory_name_split,
15731 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15732 hurd_file_name_path_lookup): Make lookup function parameter take a
15733 const char *name instead of char *name.
15734 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15735 __hurd_directory_name_split): Likewise.
15736 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15737 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15738 * sysdeps/mach/hurd/check_native.c: New file.
15739 * sysdeps/mach/hurd/check_pf.c: New file.
15740 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15741 (__freeifaddrs): Define macro to freeifaddrs.
15742 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15743 * sysdeps/mach/libmachuser.abilist: New file.
15744 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15745 (do_test_bz20181): Rename accordingly.
15746 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15747 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15749 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15750 version only if __USE_EXTERN_INLINES is defined.
15751 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15752 __hurd_sockfail): Likewise.
15753 (_hurd_fd_get): Always declare functions, and provide inline versions
15754 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15755 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15756 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15757 _hurd_port_set): Always declare functions, and provide inline versions
15758 only if __USE_EXTERN_INLINES and _LIBC are defined and
15760 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15761 _hurd_critical_section_unlock): Likewise.
15762 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15763 * __hurd_threadvar_location): Likewise.
15764 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15765 _hurd_userlink_clear): Likewise.
15766 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15767 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15768 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15769 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15770 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15771 __spin_lock_locked): Likewise.
15772 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15773 __spin_lock_locked): Likewise.
15774 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15775 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15776 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15777 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15778 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15779 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15780 _POSIX_NO_TRUNC): Define to 0.
15781 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15782 check size against PTHREAD_STACK_MIN.
15783 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15784 IS_IN(libpthread)]: Include <sigsetops.h>.
15785 * mach/Makefile (user-interfaces): Add mach/gnumach.
15786 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15787 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15788 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15789 instead of invalid -1.
15790 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15791 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15792 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15795 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15797 * hurd/fcntl-internal.h: New file.
15799 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15801 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15803 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15805 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
15808 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
15809 Build only shared objects.
15811 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15813 * README: Update for hppa.
15815 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15817 * sysdeps/sparc/fpu/libm-test-ulps: Update
15818 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
15820 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15824 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15827 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15828 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15829 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15830 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15833 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15836 * bits/types/__cancel_jmp_buf_tag.h: New file.
15837 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15838 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15839 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15840 * nptl/Makefile (headers): Add
15841 bits/types/__cancel_jmp_buf_tag.h.
15842 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15843 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15844 * sysdeps/nptl/pthread.h: Include
15845 <bits/types/__cancel_jmp_buf_tag.h>.
15846 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15848 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15850 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15853 * localedata/locales/uk_UA (mon): Renamed to...
15855 (alt_digits): "0" removed and then renamed to...
15857 (date_fmt): Definition changed not to use the alternative
15860 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
15862 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
15863 FLAG_RISCV_FLOAT_ABI_DOUBLE.
15864 * elf/elf.h (EF_RISCV_RVC): New define.
15865 (EF_RISCV_FLOAT_ABI): Likewise.
15866 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
15867 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
15868 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15869 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
15870 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
15872 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15874 2018-01-25 Andreas Schwab <schwab@suse.de>
15876 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
15878 * sysdeps/gnu/configure: Regenerate.
15879 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15880 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15882 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15883 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15884 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
15885 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15886 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15888 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15890 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
15891 URL, and run autoconf, make it the default for now.
15893 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15895 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15896 soft-float ColdFire configuration.
15898 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
15899 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
15900 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
15902 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
15905 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
15907 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
15909 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
15912 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
15913 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
15914 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
15917 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15920 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
15921 Rename to __reserved and add comment.
15922 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
15923 Rename to __reserved.
15925 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15927 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15928 i686-gnu configurations.
15929 (Context.run_builds): Include mig, gnumach and hurd in components
15931 (Context.checkout): Add mig, gnumach and hurd to components.
15932 (Context.checkout_tar): Add URL mappings for mig, gnumach and
15934 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
15935 (Config.build): Install gnumach headers, build mig and install
15936 hurd headers for 'gnu' OS.
15937 (Config.install_gnumach_headers): New function.
15938 (Config.install_hurd_headers): Likewise.
15939 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
15940 when building for 'gnu' OS.
15942 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
15944 * manual/tunables.texi (Hardware Capability Tunables): Fix
15947 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
15949 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
15950 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
15951 (ALTMON_11, ALTMON_12): Improve documentation.
15952 * manual/time.texi (strftime): Likewise.
15954 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15957 * localedata/locales/pl_PL: Alternative month names added,
15958 primary month names are genitive now.
15959 * time/tst-strptime.c (day_tests): Actually use a genitive case
15960 of a month name in Polish language.
15962 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15965 * manual/locale.texi: Document ALTMON_1..12 constants for
15966 nl_langinfo. Specify when to use ALTMON instead of MON.
15967 * manual/time.texi (strftime, strptime): Document GNU extension
15968 permitting O modifier with %B and %b. Specify when to use
15971 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
15974 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
15975 names, define them as the same as abbreviated month names explicitly.
15976 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
15977 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
15978 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
15979 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
15980 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
15981 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
15982 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
15983 _NL_WABALTMON_12): New enum constants.
15984 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
15985 wab_alt_mon, and ab_alt_mon_defined members.
15986 (time_output): Output ab_alt_mon and wab_alt_mon members.
15987 (time_read): Read them, initialize them as copies of abmon and wabmon
15988 respectively if they are missing, initialize ab_alt_mon_defined.
15989 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
15990 * locale/programs/locfile-kw.h: Regenerate.
15991 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
15992 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
15994 * time/strftime_l.c (a_altmonth, aam_len): New macros.
15995 [!COMPILE_WIDE] (ABALTMON_1): New macro.
15996 (__strftime_internal): Handle %Ob and %Oh formats.
15997 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
15998 (__strptime_internal): Handle %Ob and %Oh formats.
15999 * time/tst-strptime.c (day_tests): Add more tests to parse different
16000 forms of month names including the new %Ob format specifier.
16002 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16005 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16006 define them as the same as primary full month names explicitly.
16007 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16008 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16009 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16010 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16011 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16012 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16013 _NL_WALTMON_12): New enum constants.
16014 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16015 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16017 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16018 walt_mon, and alt_mon_defined members.
16019 (time_output): Output alt_mon and walt_mon members.
16020 (time_read): Read them, initialize them as copies of mon and wmon
16021 respectively if they are missing, initialize alt_mon_defined.
16022 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16023 * locale/programs/locfile-kw.h: Regenerate.
16024 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16025 * localedata/tst-langinfo.c (map): Add tests for the new constants
16026 ALTMON_1 .. ALTMON_12.
16027 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16029 * time/strftime_l.c (f_altmonth): New macro.
16030 (__strftime_internal): Handle %OB format.
16031 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16032 (__strptime_internal): Handle %OB format.
16033 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16034 of month names including the new %OB format specifier.
16036 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16039 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16040 from ABORT_TRANSACTION.
16041 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16042 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16043 ABORT_TRANSACTION_IMPL): Likewise.
16044 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16045 Linux code, but remove the code that aborts transactions.
16047 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16049 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16051 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16053 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16054 in date: "2004-14-09" should be "2004-09-14".
16055 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16056 "2003-15-09" should be "2003-09-15".
16058 2018-01-18 Arjun Shankar <arjun@redhat.com>
16064 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16066 (_int_memalign): check for integer overflow before calling
16068 * malloc/tst-malloc-too-large.c: New test.
16069 * malloc/Makefile: Add tst-malloc-too-large.
16071 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16073 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16074 in date: "2017-24-07" should be "2017-07-24".
16075 * localedata/locales/mai_IN: Likewise.
16076 * localedata/locales/mai_NP: Likewise.
16078 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16080 * po/ru.po: Update translations.
16082 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16085 * sysdeps/hppa/backtrace.c: New file.
16087 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16090 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16091 align La_x86_64_retval to VEC_SIZE.
16093 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16095 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16096 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16098 2018-01-16 Florian Weimer <fweimer@redhat.com>
16100 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16101 Move tst-thread-exit-clobber ...
16102 [$(CXX)] (tests-unsupported): ... to here.
16104 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16106 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16107 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16108 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16109 (_dl_aarch64_cap_flags): Update.
16110 (_DL_HWCAP_COUNT): Update.
16112 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16114 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16115 (_DL_HWCAP_LAST): Remove.
16116 (_DL_HWCAP_COUNT): Move to ...
16117 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16118 (_DL_HWCAP_COUNT): ... here.
16120 2018-01-16 Florian Weimer <fweimer@redhat.com>
16122 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16123 mode with GNU extensions.
16125 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16127 * elf/elf.h (NT_ARM_SVE): Define.
16129 2018-01-15 Florian Weimer <fweimer@redhat.com>
16132 * nptl/tst-minstack-throw.cc: New file.
16133 * nptl/Makefile (tests): Add tst-minstack-throw.
16134 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16135 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16137 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16139 * scripts/build-many-glibcs.py (Context.checkout): Default
16140 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16143 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16146 * elf/elf.h (DF_1_STUB): Define.
16147 (DF_1_PIE): Define.
16149 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16152 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16153 Do not add 0.5 to integer or out-of-range arguments.
16155 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16157 * po/bg.po: Update translations.
16158 * po/cs.po: Likewise.
16159 * po/de.po: Likewise.
16160 * po/ko.po: Likewise.
16161 * po/pl.po: Likewise.
16162 * po/sv.po: Likewise.
16163 * po/uk.po: Likewise.
16164 * po/vi.po: Likewise.
16166 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16168 * aarch64/start.S (_start): Use __wrap_main.
16169 (__wrap_main): New local symbol.
16171 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16175 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16176 generic_getcwd if the path returned by getcwd syscall is not absolute.
16177 * io/tst-getcwd-abspath.c: New test.
16178 * io/Makefile (tests): Add tst-getcwd-abspath.
16180 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16182 * malloc/malloc.c (malloc_consolidate): Add size check.
16184 2018-01-12 Florian Weimer <fweimer@redhat.com>
16186 * support/write_message.c (write_message): Preserve errno.
16187 * support/check.c (print_failure): Likewise.
16188 * support/support_test_verify_impl.c (support_test_verify_impl):
16190 * support/support_test_compare_failure.c
16191 (support_test_compare_failure): Likewise.
16193 2018-01-12 Florian Weimer <fweimer@redhat.com>
16196 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16197 Prevent installation of libnsl.so.
16198 (libnsl-inhibit-o): Do not build (or install) static libraries.
16200 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16203 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16204 before the day number which may produce a double space.
16205 (date_fmt): Likewise.
16207 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16209 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16210 instead of fegetenv.
16212 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16215 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16216 comment to say exceptions are discarded.
16217 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16219 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16222 2018-01-11 Florian Weimer <fweimer@redhat.com>
16224 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16227 2018-01-11 Florian Weimer <fweimer@redhat.com>
16230 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16231 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16233 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16236 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16237 negative arguments in test for NaN or infinity argument.
16239 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16241 * po/libc.pot: Regenerate.
16243 2018-01-10 Florian Weimer <fweimer@redhat.com>
16246 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16247 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16249 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16251 * hurd/hurd/fd.h: Include <fcntl.h>
16252 (__hurd_at_flags): New function.
16253 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16254 with call to __hurd_at_flags.
16255 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16256 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16258 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16259 (__access_noerrno): Use __faccessat_common instead of access_common.
16260 (__access): Likewise.
16261 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16262 with a call to __faccessat.
16263 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16264 (__faccessat_common): ... this. Move implementation of __access into it when
16265 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16266 reauthenticate_cwdir_at helper to implement AT mechanism.
16267 (__faccessat_noerrno): New function, just calls __faccessat_common.
16268 (__faccessat): New function, just calls __faccessat_common.
16269 (faccessat): Define weak alias.
16271 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16274 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16275 (CFLAGS-s_fmaxmagl.c): New variable.
16276 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16279 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16280 long int for arguments of possibly overflowing addition or
16282 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16284 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16287 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16288 (CFLAGS-e_remainderl.c): New variable.
16291 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16293 (CFLAGS-s_cacoshl.c): Likewise.
16294 (CFLAGS-s_casinhl.c): Likewise.
16295 (CFLAGS-s_catanl.c): Likewise.
16296 (CFLAGS-s_catanhl.c): Likewise.
16297 (CFLAGS-s_cexpl.c): Likewise.
16298 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16299 (CFLAGS-s_csinhl.c): Likewise.
16300 (CFLAGS-s_clogl.c): Likewise.
16301 (CFLAGS-s_clog10l.c): Likewise.
16302 (CFLAGS-s_csinl.c): Likewise.
16303 (CFLAGS-s_csqrtl.c): Likewise.
16305 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16306 2017-01-09 Svante Signell <svante.signell@gmail.com>
16308 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16309 (_hurd_exec_paths): New function.
16310 * hurd/hurd.h (_hurd_exec): Deprecate function.
16311 (_hurd_exec_paths): Declare function.
16312 * hurd/Versions: Export _hurd_exec_paths.
16313 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16314 (__execve): Use __getcwd to build absolute path, and use
16315 _hurd_exec_paths instead of _hurd_exec.
16316 * sysdeps/mach/hurd/spawni.c: Likewise.
16317 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16320 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16322 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16323 test instead of failing in case of ENOENT returned by posix_openpt.
16325 2018-01-08 Florian Weimer <fweimer@redhat.com>
16327 resolv: Support binary labels in test framework.
16328 * support/resolv_test.c (struct to_be_freed): Remove.
16329 (struct compressed_name): New.
16330 (allocate_compressed_name, ascii_tolower)
16331 (compare_compressed_name): New functions.
16332 (struct resolv_response_builder): Update type of
16333 compression_offsets for use with tsearch. Rempve to_be_freed.
16334 (response_push_pointer_to_free): Remove function.
16335 (resolv_response_add_name): Rewrite using struct compressed_name
16336 and tsearch instead of hsearch_r.
16337 (response_builder_allocate): Remove initialization of
16338 compression_offsets.
16339 (response_builder_free): Update for removal of to_be_freed. Use
16340 tdestroy instead of hdestroy_r.
16341 * resolv/Makefile (tests): Add tst-resolv-binary.
16342 (tst-resolv-binary): Link with -lresolv -lpthread.
16344 2018-01-08 Florian Weimer <fweimer@redhat.com>
16346 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16347 time. Pass positive flag instead of negative flag to
16348 support_test_compare_failure.
16349 (support_test_compare_failure): Change negative parameter to
16351 * support/support_test_compare_failure.c (report)
16352 (support_test_compare_failure): Likewise.
16353 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16354 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16356 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16359 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16360 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16361 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16363 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16365 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16367 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16368 Add s_sincosf-sse2 and s_sincosf-fma.
16369 (CFLAGS-s_sincosf-fma.c): New.
16370 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16371 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16372 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16373 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16374 __sincosf is defined.
16376 2018-01-08 Florian Weimer <fweimer@redhat.com>
16378 * nptl/tst-thread-exit-clobber.cc: New file.
16379 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16381 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16382 (tests): Add tst-thread-exit-clobber.
16383 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16385 2018-01-08 Florian Weimer <fweimer@redhat.com>
16387 * support/check.h (support_static_assert): Define.
16388 (TEST_COMPARE): Use it.
16390 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16392 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16393 [!__RLIM_T_MATCHES_RLIM64_T]
16394 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16395 __getrlimit64. Add libc_hidden_weak.
16397 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16399 * elf/elf.h (R_RISCV_NONE): New define.
16400 (R_RISCV_32): Likewise.
16401 (R_RISCV_64): Likewise.
16402 (R_RISCV_RELATIVE): Likewise.
16403 (R_RISCV_COPY): Likewise.
16404 (R_RISCV_JUMP_SLOT): Likewise.
16405 (R_RISCV_TLS_DTPMOD32): Likewise.
16406 (R_RISCV_TLS_DTPMOD64): Likewise.
16407 (R_RISCV_TLS_DTPREL32): Likewise.
16408 (R_RISCV_TLS_DTPREL64): Likewise.
16409 (R_RISCV_TLS_TPREL32): Likewise.
16410 (R_RISCV_TLS_TPREL64): Likewise.
16411 * Makerules (make-link-multidir): Make directories before linking into
16413 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16415 (VDSO_HASH_LINUX_4_15): Likewise.
16416 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16417 in subdirectories of lib.
16418 * nptl/Makefile (/librt.so): Always depend on
16419 "$(shared-thread-library)".
16421 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16423 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16424 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16425 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16427 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16428 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16430 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16431 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16432 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16433 * sysdeps/gnu/glob-lstat-compat.c: New file.
16434 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16435 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16437 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16439 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16440 Reserve 16 chars to reloc_addr before calling _itoa_word.
16442 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16445 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16446 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16448 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16449 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16451 * resource/tst-getrlimit.c: Add copyright header.
16453 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16454 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16456 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16457 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16458 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16459 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16461 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16462 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16463 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16464 RLIM64_INFINITY): Fix values to match the kernel ones.
16465 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16466 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16467 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16468 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16469 getrlimit64@@GLIBC_2_27.
16470 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16472 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16473 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16474 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16475 setrlimit, getrlimit64 and setrlimit64.
16477 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16480 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16481 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16483 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16485 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16486 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16487 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16489 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16493 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16494 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16498 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16499 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16500 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16501 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16503 2018-01-04 Florian Weimer <fweimer@redhat.com>
16506 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16507 Align the stack before calling exit.
16508 * stdlib/tst-makecontext-align.c: New file.
16509 * stdlib/Makefile (tests): Add tst-makecontext-align.
16511 2018-01-04 Florian Weimer <fweimer@redhat.com>
16513 Add support for calling dlvsym from libc.so.
16514 * include/dlfcn.h (__libc_dlvsym): Declare.
16515 * elf/Makefile (tests-static-internal): Add
16516 tst-libc_dlvsym-static.
16517 (tests-internal): Add tst-libc_dlvsym.
16518 (modules-names): Add tst-libc_dlvsym-dso.
16519 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16520 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16521 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16522 object tst-libc_dlvsym-dso.so needs to be built before running
16524 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16525 * elf/Versions: Export __libc_dlvsym.
16526 * elf/dl-libc.c (struct do_dlvsym_args): New.
16527 (do_dlvsym, __libc_dlvsym): New functions.
16528 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16529 (_dl_open_hook2): New variable.
16530 (__libc_register_dl_open_hook): Set it.
16531 * elf/tst-libc_dlvsym-dso.c: New file.
16532 * elf/tst-libc_dlvsym-static.c: Likewise.
16533 * elf/tst-libc_dlvsym.c: Likewise.
16534 * elf/tst-libc_dlvsym.h: Likewise.
16536 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16538 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16539 include <sys/mount.h>.
16541 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16543 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16544 Add __NO_MATH_ERRNO__ check.
16546 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16548 * sysdeps/mips/mips32/libm-test-ulps: Update.
16549 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16551 2018-01-02 Florian Weimer <fweimer@redhat.com>
16553 * misc/tst-pselect.c: Add copyright header.
16555 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16557 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16559 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16561 (settrlimit): Rename into setrlimit.
16562 (__sttrlimit): Rename into __setrlimit.
16564 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16565 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16566 never defined in that case.
16568 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16570 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16572 * sysdeps/arm/libm-test-ulps: Update.
16574 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16575 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16577 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16579 * NEWS: Add cosf and sincosf to list of optimized functions.
16581 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16584 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16585 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16586 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16587 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16589 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16592 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16594 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16595 making a copy of it.
16597 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16599 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16600 trailing whitespace removed.
16601 * scripts/config.guess: Update to version 2018-01-01.
16602 * scripts/config.sub: Update to version 2018-01-01.
16603 * scripts/move-if-change: Update from gnulib.
16605 * NEWS: Update copyright dates.
16606 * catgets/gencat.c (print_version): Likewise.
16607 * csu/version.c (banner): Likewise.
16608 * debug/catchsegv.sh: Likewise.
16609 * debug/pcprofiledump.c (print_version): Likewise.
16610 * debug/xtrace.sh (do_version): Likewise.
16611 * elf/ldconfig.c (print_version): Likewise.
16612 * elf/ldd.bash.in: Likewise.
16613 * elf/pldd.c (print_version): Likewise.
16614 * elf/sotruss.sh: Likewise.
16615 * elf/sprof.c (print_version): Likewise.
16616 * iconv/iconv_prog.c (print_version): Likewise.
16617 * iconv/iconvconfig.c (print_version): Likewise.
16618 * locale/programs/locale.c (print_version): Likewise.
16619 * locale/programs/localedef.c (print_version): Likewise.
16620 * login/programs/pt_chown.c (print_version): Likewise.
16621 * malloc/memusage.sh (do_version): Likewise.
16622 * malloc/memusagestat.c (print_version): Likewise.
16623 * malloc/mtrace.pl: Likewise.
16624 * manual/libc.texinfo: Likewise.
16625 * nptl/version.c (banner): Likewise.
16626 * nscd/nscd.c (print_version): Likewise.
16627 * nss/getent.c (print_version): Likewise.
16628 * nss/makedb.c (print_version): Likewise.
16629 * posix/getconf.c (main): Likewise.
16630 * scripts/test-installation.pl: Likewise.
16631 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16633 * All files with FSF copyright notices: Update copyright dates
16634 using scripts/update-copyrights.
16635 * locale/programs/charmap-kw.h: Regenerated.
16636 * locale/programs/locfile-kw.h: Likewise.
16638 2017-12-31 Zack Weinberg <zackw@panix.com>
16640 * libio/bits/libio-ldbl.h: Correct check for improper
16641 inclusion. Add own multiple include guard.
16643 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16644 Dmitry V. Levin <ldv@altlinux.org>
16648 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16649 string token expansion. Check for NULL pointer or empty string possibly
16650 returned by expand_dynamic_string_token.
16651 (decompose_rpath): Check for empty path after dynamic string
16654 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16657 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16659 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16660 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16661 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16662 and PTRACE_SYSCALL.
16663 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16664 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16665 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16668 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16670 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16671 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16672 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16673 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16675 bits/ptrace-shared.h.
16676 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16677 <bits/ptrace-shared.h>.
16678 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16679 __ptrace_peeksiginfo_flags, ptrace): Remove.
16680 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16681 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16682 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16683 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16684 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16686 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16689 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16690 end of the loop. Improve comments.
16692 2017-12-29 Zack Weinberg <zackw@panix.com>
16695 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16696 might be set on success.
16698 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16701 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16702 is unchanged on success.
16704 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16706 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16708 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16709 expand_dynamic_string_token): Likewise.
16710 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16713 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16716 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16717 is set and name contains ':', and all code depending on these checks.
16719 2017-12-24 Zack Weinberg <zackw@panix.com>
16721 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16722 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16724 * libio/libio.h: Rename the original version of this file to
16725 libio/bits/libio.h. Error out if not included by stdio.h or the
16727 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16728 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16729 if not included by bits/libio.h or the stub _G_config.h.
16730 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16731 sysdeps/unix/sysv/linux/bits. Error out if not included by
16732 bits/libio.h or the stub _G_config.h.
16733 * libio/stdio.h: Include bits/libio.h, not libio.h.
16734 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16735 well as libio.h and _G_config.h.
16737 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16738 * libio/strfile.h, stdio-common/vfscanf.c
16739 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16740 Include stdio.h, not _G_config.h nor libio.h.
16741 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16742 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16744 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16746 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16749 * stdlib/getrandom.c (getrandom): Fix comment.
16750 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16752 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16755 * manual/arith.texi (strtoul): Fix a typo.
16758 * manual/arith.texi (finite): Fix the description of the return
16761 2017-12-22 Eric Blake <ebb9@byu.net>
16763 Avoid gcc warnings on cygwin
16764 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16765 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16766 Avoid unused variable.
16768 2017-12-22 Florian Weimer <fweimer@redhat.com>
16770 * io/Makefile (routines): Add copy_file_range.
16771 (tests): Add tst-copy_file_range.
16772 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16773 * io/Versions (GLIBC_2.27): Export copy_file_range.
16774 * io/copy_file_range-compat.c: New file.
16775 * io/copy_file_range.c: Likewise.
16776 * io/tst-copy_file_range-compat.c: Likewise.
16777 * io/tst-copy_file_range.c: Likewise.
16778 * manual/llio.texi (Copying File Data): New section.
16779 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16780 * support/Makefile (libsupport-routines): Add support-xfstat,
16781 xftruncate, xlseek.
16782 * support/support-xfstat.c: New file.
16783 * support/xftruncate.c: Likewise.
16784 * support/xlseek.c: Likewise.
16785 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16786 * sysdeps/unix/sysv/linux/**.abilist: Update.
16787 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16789 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16791 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16792 disable-multi-arch variant to aarch64-linux-gnu.
16794 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16796 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16797 trailing whitespace removed.
16798 * scripts/config.guess: Update to version 2017-12-17.
16799 * scripts/config.sub: Update to version 2017-11-23.
16800 * scripts/install-sh: Update to version 2017-09-23.17.
16801 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16803 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16805 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
16806 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16807 * sysdeps/tile/_mcount.S (__mcount): Likewise.
16808 * sysdeps/tile/crti.S (_init, _fini): Likewise.
16809 * sysdeps/tile/crtn.S: Likewise.
16810 * sysdeps/tile/dl-start.S (_start): Likewise.
16811 * sysdeps/tile/dl-trampoline.S: Likewise.
16812 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
16813 * sysdeps/tile/start.S (_start): Likewise.
16814 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
16815 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
16816 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
16817 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
16818 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
16819 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
16820 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
16822 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
16824 * sysdeps/tile/preconfigure: Remove tilegx folder.
16825 * sysdeps/tile/tilegx/Implies: Move definitions to ...
16826 * sysdeps/tile/Implies: ... here.
16827 * sysdeps/tile/tilegx/Makefile: Move rules to ...
16828 * sysdeps/tile/Makefile: ... here.
16829 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
16830 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
16831 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
16832 * sysdeps/tile/bits/wordsize.h: ... here.
16833 * sysdeps/tile/tilegx/*: Move to ...
16834 * sysdeps/tile/*: ... here.
16835 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
16836 * sysdeps/tile/tilegx32/Implies: ... here.
16837 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
16838 * sysdeps/tile/tilegx64/Implies: ... here.
16839 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
16841 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16842 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
16843 * sysdeps/unix/sysv/linux/tile/*: ... here.
16844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
16845 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
16846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
16847 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
16849 * README: Remove tilepro-*-linux-gnu from supported architecture.
16850 * scripts/build-many-glibcs.py: Likewise.
16851 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16852 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
16853 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
16854 elf_machine_matches_host, elf_machine_dynamic,
16855 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
16856 howto, elf_machine_rela): Likewise.
16857 * sysdeps/tile/dl-start.S (_start): Likewise.
16858 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
16859 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
16860 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
16861 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
16862 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
16863 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16865 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
16866 * sysdeps/tile/preconfigure: Likewise.
16867 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
16868 POINTER_CHK_GUARD): Likewise.
16869 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
16870 * sysdeps/tile/start.S (_start): Likewise.
16871 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
16873 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
16874 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
16876 * sysdeps/unix/sysv/linux/tile/bits/environments.h
16877 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
16878 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
16880 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
16881 * sysdeps/tile/tilepro/Implies: Remove file.
16882 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
16883 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
16884 * sysdeps/tile/tilepro/memchr.c: Likewise.
16885 * sysdeps/tile/tilepro/memcpy.S: Likewise.
16886 * sysdeps/tile/tilepro/memset.c: Likewise.
16887 * sysdeps/tile/tilepro/memusage.h: Likewise.
16888 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
16889 * sysdeps/tile/tilepro/strchr.c: Likewise.
16890 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
16891 * sysdeps/tile/tilepro/strlen.c: Likewise.
16892 * sysdeps/tile/tilepro/strrchr.c: Likewise.
16893 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
16894 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
16895 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
16896 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
16897 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
16898 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16900 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
16901 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16902 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
16903 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
16904 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16905 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
16906 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
16907 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
16908 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
16909 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
16910 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
16911 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
16912 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
16913 tilepro mention in comment.
16915 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
16916 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
16917 * nptl/pthread_join_common.c: New file: common function used on
16918 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
16919 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
16920 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
16921 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16922 (cleanup): Move definition to pthread_join_common.c.
16923 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
16924 Remove superflous checks.
16925 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
16928 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
16930 * sysdeps/aarch64/libm-test-ulps: Update.
16932 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16934 * sysdeps/aarch64/memset.S (MEMSET): Define.
16936 2017-12-20 Florian Weimer <fweimer@redhat.com>
16939 nptl: Provide full implementation of pthread_self in libc.so.
16940 * nptl/Makefile (routines): Add pthread_self.
16941 (libpthread-routines): Replace pthread_self with
16942 compat-pthread_self.
16943 * nptl/forward.c (pthread_self): Remove.
16944 * nptl/nptl-init.c (pthread_functions): Do not initialize
16946 * nptl/pthread_self.c (pthread_self): Remove weak alias.
16947 * nptl/compat-pthread_self.c: New file.
16948 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
16949 Remove ptr_pthread_self.
16951 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
16953 * posix/regcomp.c: Fix spelling in comments.
16954 * posix/regex.h: Likewise.
16955 * posix/regex_internal.c: Likewise.
16956 * posix/regexec.c: Likewise.
16958 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16961 * math/Makefile [C++] (tests): Add test for iseqsig.
16962 * math/math.h [C++] (iseqsig): New implementation, which does
16963 not rely on __MATH_TG/__builtin_types_compatible_p.
16964 * math/test-math-iseqsig.cc: New file.
16965 * sysdeps/powerpc/powerpc64le/Makefile
16966 (CFLAGS-test-math-iseqsig.cc): New variable.
16968 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
16970 * elf/dl-load.c (is_trusted_path): Remove.
16971 (fillin_rpath): Remove check_trusted argument and its use,
16972 all callers changed.
16974 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16977 * Makeconfig (link-pie-before-libc): Replace -pie with
16978 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
16979 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
16980 (tst-dlopen-aout-no-pie): New.
16981 (LDFLAGS-tst-prelink): Removed.
16982 (tst-prelink-no-pie): New.
16983 (LDFLAGS-tst-main1): Removed.
16984 (tst-main1-no-pie): New.
16985 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
16986 (tst-gmon-no-pie): New.
16988 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16990 * manual/install.texi: Document that --enable-static-pie
16992 * INSTALL: Regenerated.
16994 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
16997 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17000 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17004 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17008 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17010 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17011 <errno.h>. Include "eexp.tbl".
17012 (half): New constant.
17014 (__ieee754_exp): Rewrite.
17015 (__slowexp): Remove prototype.
17016 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17017 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17018 * sysdeps/i386/fpu/slowexp.c: Likewise.
17019 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17020 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17021 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17022 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17023 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17024 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17025 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17027 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17028 (CPPFLAGS-slowexp.c): Remove variable.
17029 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17030 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17031 (CFLAGS-slowexp-fma.c): Remove variable.
17032 (CFLAGS-slowexp-fma4.c): Likewise.
17033 (CFLAGS-slowexp-avx.c): Likewise.
17034 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17036 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17037 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17038 * math/Makefile (type-double-routines): Remove slowexp.
17039 * manual/probes.texi (slowexp_p6): Remove.
17040 (slowexp_p32): Likewise.
17042 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17044 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17047 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17049 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17053 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17055 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17056 <errno.h>. Include "eexp.tbl".
17057 (half): New constant.
17059 (__ieee754_exp): Rewrite.
17060 (__slowexp): Remove prototype.
17061 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17062 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17063 * sysdeps/i386/fpu/slowexp.c: Likewise.
17064 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17065 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17066 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17067 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17068 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17069 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17070 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17072 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17073 (CPPFLAGS-slowexp.c): Remove variable.
17074 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17075 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17076 (CFLAGS-slowexp-fma.c): Remove variable.
17077 (CFLAGS-slowexp-fma4.c): Likewise.
17078 (CFLAGS-slowexp-avx.c): Likewise.
17079 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17081 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17082 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17083 * math/Makefile (type-double-routines): Remove slowexp.
17084 * manual/probes.texi (slowexp_p6): Remove.
17085 (slowexp_p32): Likewise.
17087 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17088 James Clarke <jrtc27@jrtc27.com>
17091 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17094 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17097 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17100 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17103 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17104 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17105 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17106 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17109 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17112 * bits/types/__cancel_jmp_buf_tag.h: New file.
17113 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17114 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17115 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17116 * nptl/Makefile (headers): Add
17117 bits/types/__cancel_jmp_buf_tag.h.
17118 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17119 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17120 * sysdeps/nptl/pthread.h: Include
17121 <bits/types/__cancel_jmp_buf_tag.h>.
17122 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17124 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17126 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17128 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17129 --enable-static-pie variants to x86_64, x32 and i686.
17131 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17134 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17135 argument for attrubutes. All callers changed.
17136 (__inline_mathop1): Likewise. All callers changed.
17137 (__inline_mathop): Likewise. All callers changed.
17138 [__USE_MISC] (scalbn): Use __inline_forward instead of
17139 __inline_forward_c.
17140 [__USE_ISOC99] (scalbln): Likewise.
17141 [__USE_ISOC99] (nearbyint): Likewise.
17142 [__USE_ISOC99] (lrint): Likewise.
17143 [__USE_MISC] (scalbnf): Likewise.
17144 [__USE_ISOC99] (scalblnf): Likewise.
17145 [__USE_ISOC99] (nearbyintf): Likewise.
17146 [__USE_ISOC99] (lrintf): Likewise.
17147 [__USE_MISC] (scalbnl): Likewise.
17148 [__USE_ISOC99] (scalblnl): Likewise.
17149 [__USE_ISOC99] (nearbyintl): Likewise.
17150 [__USE_ISOC99] (lrintl): Likewise.
17151 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17152 __inline_mathop and __m81_defun changed.
17154 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17155 CPU or FPU for ARM hard-float configurations.
17157 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17159 * nptl/tst-attr3.c: Include <libc-diag.h>.
17160 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17162 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17164 * string/tester.c (test_strncat): Also disable -Warray-bounds
17165 warnings for two tests.
17167 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17170 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17171 $(cc-pie-default) == yes.
17172 * config.make.in (cc-pie-default): New.
17173 * configure.ac (libc_cv_pie_default): Renamed to ...
17174 (libc_cv_cc_pie_default): This.
17175 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17176 * configure: Regenerated.
17178 2017-12-18 Florian Weimer <fweimer@redhat.com>
17181 ld.so: Harden dl-libc/libdl hooks.
17182 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17183 (rtld_active): New function.
17184 * dlfcn/dladdr.c (__dladdr): Call it.
17185 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17186 * dlfcn/dlclose.c (__dlcose): Likewise.
17187 * dlfcn/dlerror.c (__dlerror): Likewise.
17188 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17189 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17190 * dlfcn/dlopen.c (__dlopen): Likewise.
17191 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17192 * dlfcn/dlsym.c (__dlsym): Likewise.
17193 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17194 * libio/vtables.c (_IO_vtable_check): Likewise.
17195 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17196 (__libc_dlclose): Likewise.
17197 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17200 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17203 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17204 buffers for readlink input and output.
17206 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17209 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17210 inhibit_stack_protector.
17213 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17214 inhibit_stack_protector.
17216 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17219 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17220 code and invocation.
17222 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17224 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17226 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17229 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17231 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17233 * sysdeps/s390/fpu/libm-test-ulps: Update.
17235 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17239 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17241 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17242 constants to s_sincosf.h file.
17243 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17244 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17246 * sysdeps/ieee754/flt-32/s_sincosf.h:
17249 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17252 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17255 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17258 * INSTALL: Regenerated.
17259 * Makeconfig (real-static-start-installed-name): New.
17260 (pic-default): Updated for --enable-static-pie.
17261 (pie-default): New for --enable-static-pie.
17262 (default-pie-ldflag): Likewise.
17263 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17264 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17265 Replace $(static-start-installed-name) with
17266 $(real-static-start-installed-name).
17267 (+prectorT): Updated for --enable-static-pie.
17268 (+postctorT): Likewise.
17269 (CFLAGS-.o): Add $(pie-default).
17270 (CFLAGS-.op): Likewise.
17271 * NEWS: Mention --enable-static-pie.
17272 * config.h.in (ENABLE_STATIC_PIE): New.
17273 * configure.ac (--enable-static-pie): New configure option.
17274 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17275 (have-static-pie): Likewise.
17276 Enable static PIE if linker supports --no-dynamic-linker.
17277 (ENABLE_STATIC_PIE): New AC_DEFINE.
17278 (enable-static-pie): New LIBC_CONFIG_VAR.
17279 * configure: Regenerated.
17280 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17281 gr$(start-installed-name) for --enable-static-pie.
17282 (extra-objs): Likewise.
17283 (install-lib): Likewise.
17284 (extra-objs): Add static-reloc.o and static-reloc.os
17285 ($(objpfx)$(start-installed-name)): Also depend on
17286 $(objpfx)static-reloc.o.
17287 ($(objpfx)r$(start-installed-name)): New.
17288 ($(objpfx)g$(start-installed-name)): Also depend on
17289 $(objpfx)static-reloc.os.
17290 ($(objpfx)gr$(start-installed-name)): New.
17291 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17293 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17295 * csu/static-reloc.c: New file.
17296 * elf/Makefile (routines): Add dl-reloc-static-pie.
17297 (elide-routines.os): Likewise.
17298 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17299 (tst-tls1-static-non-pie-no-pie): New.
17300 * elf/dl-reloc-static-pie.c: New file.
17301 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17302 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17303 STATIC_PIE_BOOTSTRAP.
17304 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17305 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17306 (tests-static): Likewise.
17307 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17308 (tst-gmon-static-no-pie): New.
17309 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17310 (CRT-tst-gmon-static-pie): Likewise.
17311 (tst-gmon-static-pie-ENV): Likewise.
17312 (tests-special): Likewise.
17313 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17314 (clean-tst-gmon-static-pie-data): Likewise.
17315 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17316 * gmon/tst-gmon-static-pie.c: New file.
17317 * manual/install.texi: Document --enable-static-pie.
17318 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17319 (_dl_get_dl_main_map): Likewise.
17320 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17321 * sysdeps/x86_64/configure.ac: Likewise.
17322 * sysdeps/i386/configure: Regenerated.
17323 * sysdeps/x86_64/configure: Likewise.
17324 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17325 (ASFLAGS-.op): Likewise.
17327 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17329 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17330 * posix/tst-mmap-offset.c (fname): Use /tmp.
17331 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17333 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17335 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17337 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17339 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17342 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17344 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17345 --with-float=hard for arm-linux-gnueabihf configurations.
17348 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17349 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17350 ($(mo-installed)): Use $(objpfx)%.mo.
17351 (realclean): Remove rule.
17353 * po/Makefile (linguas): Remove rule and dependencies.
17354 (linguas.mo): Likewise.
17355 (.PHONY): Do not depend on linguas and linguas.mo.
17356 (podir): Remove variable.
17357 (pofiles): Likewise.
17358 [$(pofiles)] (%.po): Remove rule.
17360 * sysdeps/sparc/sparc32/Makefile
17361 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17362 start-of-line whitespace in argument of echo.
17363 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17364 with whitespace. Generate __wrap_.udiv alias.
17365 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17366 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17367 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17368 * sysdeps/sparc/sparc32/urem.S: Likewise.
17370 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17372 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17373 for aligned inputs.
17375 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17377 * benchtests/bench-strcmp.c: Print output in JSON format.
17379 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17381 2017-12-14 Florian Weimer <fweimer@redhat.com>
17385 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17386 the expanded path string.
17388 2017-12-14 Florian Weimer <fweimer@redhat.com>
17392 * elf/dl-load.c (system_dirs): Update comment.
17393 (nsystem_dirs_len): Use array_length.
17394 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17396 2017-12-14 Florian Weimer <fweimer@redhat.com>
17398 Simplify compiling most of support/ outside of glibc.
17399 * support/check_addrinfo.c: Include <string.h>.
17400 * support/check_dns_packet.c: Likewise.
17401 * support/check_hostent.c: Likewise.
17402 * support/support_can_chroot.c: Include <support/xunistd.h>.
17403 * support/support_format_addrinfo.c: Include <stdlib.h>
17404 * support/support_format_dns_packet.c: Include <stdbool.h>.
17405 * support/support_format_hostent.c: Include <stdlib.h>.
17406 * support/support_format_netent.c: Likewise.
17407 * support/support_write_string.c: Include <support/xunistd.h>.
17408 * support/xdlfcn.c: Include <stddef.h>.
17410 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17412 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17414 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17415 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17417 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17418 (sysdeps_routines): Add memset-niagara7.
17419 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17421 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17423 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17424 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17425 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17426 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17427 Add niagara7 option.
17428 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17431 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17432 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17433 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17435 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17437 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17438 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17439 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17440 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17441 and __memmove_niagara7.
17442 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17443 Add niagara7 option.
17444 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17445 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17446 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17447 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17448 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17450 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17452 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17453 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17454 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17455 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17457 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17458 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17459 _dl_sparc_cap_flags array.
17460 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17462 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17464 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17465 time whenever possible.
17467 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17469 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17470 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17472 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17474 * soft-fp/fmadf4.c: Move to ....
17475 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17476 * soft-fp/fmasf4.c: Move to ....
17477 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17478 * soft-fp/fmatf4.c: Move to ....
17479 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17480 * sysdeps/ieee754/soft-fp/Makefile: New file.
17481 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17482 * sysdeps/arm/preconfigure: Regenerated.
17483 * sysdeps/arm/nofpu/Implies: New file.
17484 * sysdeps/arm/s_fma.c: Remove file.
17485 * sysdeps/arm/s_fmaf.c: Likewise.
17486 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17487 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17488 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17489 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17490 * sysdeps/microblaze/s_fma.c: Remove file.
17491 * sysdeps/microblaze/s_fmaf.c: Likewise.
17492 * sysdeps/mips/mips32/nofpu/Implies: New file.
17493 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17494 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17495 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17496 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17497 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17498 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17499 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17501 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17502 * sysdeps/nios2/s_fma.c: Remove file.
17503 * sysdeps/nios2/s_fmaf.c: Likewise.
17504 * sysdeps/sh/nofpu/Implies: New file.
17505 * sysdeps/sh/s_fma.c: Remove file.
17506 * sysdeps/sh/s_fmaf.c: Likewise.
17507 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17508 * sysdeps/tile/s_fma.c: Remove file.
17509 * sysdeps/tile/s_fmaf.c: Likewise.
17511 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17513 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17514 Add s_cosf-sse2 and s_cosf-fma.
17515 (CFLAGS-s_cosf-fma.c): New.
17516 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17517 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17518 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17520 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17522 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17524 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17526 * libio/Makefile (tests): Add tst-bz22415.
17527 (tst-bz22415-ENV): New rule.
17528 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17529 (tests-special): Add tst-bz22415-mem.out.
17530 ($(objpfx)tst-bz22415-mem.out): New rule.
17531 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17532 in case of a successful seek operation.
17533 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17534 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17535 buffer is required.
17536 * libio/tst-bz22415.c: New test.
17538 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17540 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17542 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17543 __IPC_64 to 0 to avoid IPC_64 being set.
17545 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17548 * math/bits/mathcalls.h (nextafter): Remove const.
17549 (nexttoward): Likewise.
17551 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17553 * configure.ac (--with-fp): Remove configure option.
17554 (with_fp_cond): New variable.
17555 (libc_cv_with_fp): New configure test. Use this variable instead
17557 * configure: Regenerated.
17558 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17559 * manual/install.texi (Configuring and compiling): Remove
17561 * INSTALL: Regenerated.
17562 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17563 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17564 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17565 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17566 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17567 use --without-fp to configure glibc.
17569 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17571 * manual/locale.texi (nl_langinfo): Fix a typo.
17573 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17576 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17578 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17580 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17581 (CFLAGS-argp-parse.c): Likewise.
17582 (CFLAGS-argp-fmtstream.c): Likewise.
17583 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17584 (CPPFLAGS-sha512-crypt.c): Likewise.
17585 (CPPFLAGS-md5-crypt.c): Likewise.
17586 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17587 (CFLAGS-stack_chk_fail_local.c): Likewise.
17588 (CFLAGS-backtrace.c): Likewise.
17589 (CFLAGS-sprintf_chk.c): Likewise.
17590 (CFLAGS-snprintf_chk.c): Likewise.
17591 (CFLAGS-vsprintf_chk.c): Likewise.
17592 (CFLAGS-vsnprintf_chk.c): Likewise.
17593 (CFLAGS-asprintf_chk.c): Likewise.
17594 (CFLAGS-vasprintf_chk.c): Likewise.
17595 (CFLAGS-obprintf_chk.c): Likewise.
17596 (CFLAGS-dprintf_chk.c): Likewise.
17597 (CFLAGS-vdprintf_chk.c): Likewise.
17598 (CFLAGS-printf_chk.c): Likewise.
17599 (CFLAGS-fprintf_chk.c): Likewise.
17600 (CFLAGS-vprintf_chk.c): Likewise.
17601 (CFLAGS-vfprintf_chk.c): Likewise.
17602 (CFLAGS-gets_chk.c): Likewise.
17603 (CFLAGS-fgets_chk.c): Likewise.
17604 (CFLAGS-fgets_u_chk.c): Likewise.
17605 (CFLAGS-fread_chk.c): Likewise.
17606 (CFLAGS-fread_u_chk.c): Likewise.
17607 (CFLAGS-swprintf_chk.c): Likewise.
17608 (CFLAGS-vswprintf_chk.c): Likewise.
17609 (CFLAGS-wprintf_chk.c): Likewise.
17610 (CFLAGS-fwprintf_chk.c): Likewise.
17611 (CFLAGS-vwprintf_chk.c): Likewise.
17612 (CFLAGS-vfwprintf_chk.c): Likewise.
17613 (CFLAGS-fgetws_chk.c): Likewise.
17614 (CFLAGS-fgetws_u_chk.c): Likewise.
17615 (CFLAGS-read_chk.c): Likewise.
17616 (CFLAGS-pread_chk.c): Likewise.
17617 (CFLAGS-pread64_chk.c): Likewise.
17618 (CFLAGS-recv_chk.c): Likewise.
17619 (CFLAGS-recvfrom_chk.c): Likewise.
17620 (CFLAGS-tst-longjmp_chk.c): Likewise.
17621 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17622 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17623 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17624 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17625 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17626 (CFLAGS-tst-chk1.c): Likewise.
17627 (CFLAGS-tst-chk2.c): Likewise.
17628 (CFLAGS-tst-chk3.c): Likewise.
17629 (CFLAGS-tst-chk4.cc): Likewise.
17630 (CFLAGS-tst-chk5.cc): Likewise.
17631 (CFLAGS-tst-chk6.cc): Likewise.
17632 (CFLAGS-tst-lfschk1.c): Likewise.
17633 (CFLAGS-tst-lfschk2.c): Likewise.
17634 (CFLAGS-tst-lfschk3.c): Likewise.
17635 (CFLAGS-tst-lfschk4.cc): Likewise.
17636 (CFLAGS-tst-lfschk5.cc): Likewise.
17637 (CFLAGS-tst-lfschk6.cc): Likewise.
17638 (CFLAGS-tst-ssp-1.c): Likewise.
17639 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17640 (CFLAGS-scandir64.c): Likewise.
17641 (CFLAGS-scandir-tail.c): Likewise.
17642 (CFLAGS-scandir64-tail.c): Likewise.
17643 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17644 (CFLAGS-dl-tunables.c): Likewise.
17645 (CFLAGS-dl-runtime.c): Likewise.
17646 (CFLAGS-dl-lookup.c): Likewise.
17647 (CFLAGS-dl-iterate-phdr.c): Likewise.
17648 (CFLAGS-vismain.c): Likewise.
17649 (CFLAGS-tst-linkall-static.c): Likewise.
17650 (CFLAGS-tst-linkall-static.c): Likewise.
17651 (CPPFLAGS-dl-load.c): Likewise.
17652 (CFLAGS-ldconfig.c): Likewise.
17653 (CFLAGS-dl-cache.c): Likewise.
17654 (CFLAGS-cache.c): Likewise.
17655 (CFLAGS-rtld.c): Likewise.
17656 (CFLAGS-multiload.c): Likewise.
17657 (CFLAGS-filtmod1.c): Likewise.
17658 (CFLAGS-tst-align.c): Likewise.
17659 (CFLAGS-tst-align2.c): Likewise.
17660 (CFLAGS-tst-alignmod.c): Likewise.
17661 (CFLAGS-tst-alignmod2.c): Likewise.
17662 (CPPFLAGS-tst-execstack.c): Likewise.
17663 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17664 (CFLAGS-tst-latepthreadmod.c): Likewise.
17665 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17666 (CFLAGS-getgrnam_r.c): Likewise.
17667 (CFLAGS-getgrent_r.c): Likewise.
17668 (CFLAGS-getgrent.c): Likewise.
17669 (CFLAGS-fgetgrent.c): Likewise.
17670 (CFLAGS-fgetgrent_r.c): Likewise.
17671 (CFLAGS-putgrent.c): Likewise.
17672 (CFLAGS-initgroups.c): Likewise.
17673 (CFLAGS-getgrgid.c): Likewise.
17674 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17675 (CFLAGS-getsgent.c): Likewise.
17676 (CFLAGS-fgetsgent.c): Likewise.
17677 (CFLAGS-fgetsgent_r.c): Likewise.
17678 (CFLAGS-putsgent.c): Likewise.
17679 (CFLAGS-getsgnam.c): Likewise.
17680 (CFLAGS-getsgnam_r.c): Likewise.
17681 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17682 (CFLAGS-iconv_charmap.c): Likewise.
17683 (CFLAGS-dummy-repertoire.c): Likewise.
17684 (CFLAGS-charmap.c): Likewise.
17685 (CFLAGS-linereader.c): Likewise.
17686 (CFLAGS-simple-hash.c): Likewise.
17687 (CFLAGS-gconv_conf.c): Likewise.
17688 (CFLAGS-iconvconfig.c): Likewise.
17689 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17690 (CFLAGS-gethstbyad.c): Likewise.
17691 (CFLAGS-gethstbynm_r.c): Likewise.
17692 (CFLAGS-gethstbynm.c): Likewise.
17693 (CFLAGS-gethstbynm2_r.c): Likewise.
17694 (CFLAGS-gethstbynm2.c): Likewise.
17695 (CFLAGS-gethstent_r.c): Likewise.
17696 (CFLAGS-gethstent.c): Likewise.
17697 (CFLAGS-rcmd.c): Likewise.
17698 (CFLAGS-getnetbynm_r.c): Likewise.
17699 (CFLAGS-getnetbynm.c): Likewise.
17700 (CFLAGS-getnetbyad_r.c): Likewise.
17701 (CFLAGS-getnetbyad.c): Likewise.
17702 (CFLAGS-getnetent_r.c): Likewise.
17703 (CFLAGS-getnetent.c): Likewise.
17704 (CFLAGS-getaliasent_r.c): Likewise.
17705 (CFLAGS-getaliasent.c): Likewise.
17706 (CFLAGS-getrpcent_r.c): Likewise.
17707 (CFLAGS-getrpcent.c): Likewise.
17708 (CFLAGS-getservent_r.c): Likewise.
17709 (CFLAGS-getservent.c): Likewise.
17710 (CFLAGS-getprtent_r.c): Likewise.
17711 (CFLAGS-getprtent.c): Likewise.
17712 (CFLAGS-either_ntoh.c): Likewise.
17713 (CFLAGS-either_hton.c): Likewise.
17714 (CFLAGS-getnetgrent.c): Likewise.
17715 (CFLAGS-getnetgrent_r.c): Likewise.
17716 (CFLAGS-tst-checks-posix.c): Likewise.
17717 (CFLAGS-tst-sockaddr.c): Likewise.
17718 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17719 (CFLAGS-tst-translit.c): Likewise.
17720 (CFLAGS-tst-gettext2.c): Likewise.
17721 (CFLAGS-tst-codeset.c): Likewise.
17722 (CFLAGS-tst-gettext3.c): Likewise.
17723 (CFLAGS-tst-gettext4.c): Likewise.
17724 (CFLAGS-tst-gettext5.c): Likewise.
17725 (CFLAGS-tst-gettext6.c): Likewise.
17726 * io/Makefile (CFLAGS-open.c): Likewise.
17727 (CFLAGS-open64.c): Likewise.
17728 (CFLAGS-creat.c): Likewise.
17729 (CFLAGS-creat64.c): Likewise.
17730 (CFLAGS-fcntl.c): Likewise.
17731 (CFLAGS-poll.c): Likewise.
17732 (CFLAGS-ppoll.c): Likewise.
17733 (CFLAGS-lockf.c): Likewise.
17734 (CFLAGS-statfs.c): Likewise.
17735 (CFLAGS-fstatfs.c): Likewise.
17736 (CFLAGS-statvfs.c): Likewise.
17737 (CFLAGS-fstatvfs.c): Likewise.
17738 (CFLAGS-fts.c): Likewise.
17739 (CFLAGS-fts64.c): Likewise.
17740 (CFLAGS-ftw.c): Likewise.
17741 (CFLAGS-ftw64.c): Likewise.
17742 (CFLAGS-lockf.c): Likewise.
17743 (CFLAGS-posix_fallocate.c): Likewise.
17744 (CFLAGS-posix_fallocate64.c): Likewise.
17745 (CFLAGS-fallocate.c): Likewise.
17746 (CFLAGS-fallocate64.c): Likewise.
17747 (CFLAGS-read.c): Likewise.
17748 (CFLAGS-write.c): Likewise.
17749 (CFLAGS-test-stat.c): Likewise.
17750 (CFLAGS-test-lfs.c): Likewise.
17751 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17752 (CFLAGS-fputc.c): Likewise.
17753 (CFLAGS-fputwc.c): Likewise.
17754 (CFLAGS-freopen64.c): Likewise.
17755 (CFLAGS-freopen.c): Likewise.
17756 (CFLAGS-fseek.c): Likewise.
17757 (CFLAGS-fseeko64.c): Likewise.
17758 (CFLAGS-fseeko.c): Likewise.
17759 (CFLAGS-ftello64.c): Likewise.
17760 (CFLAGS-ftello.c): Likewise.
17761 (CFLAGS-fwide.c): Likewise.
17762 (CFLAGS-genops.c): Likewise.
17763 (CFLAGS-getc.c): Likewise.
17764 (CFLAGS-getchar.c): Likewise.
17765 (CFLAGS-getwc.c): Likewise.
17766 (CFLAGS-getwchar.c): Likewise.
17767 (CFLAGS-iofclose.c): Likewise.
17768 (CFLAGS-iofflush.c): Likewise.
17769 (CFLAGS-iofgetpos64.c): Likewise.
17770 (CFLAGS-iofgetpos.c): Likewise.
17771 (CFLAGS-iofgets.c): Likewise.
17772 (CFLAGS-iofgetws.c): Likewise.
17773 (CFLAGS-iofputs.c): Likewise.
17774 (CFLAGS-iofputws.c): Likewise.
17775 (CFLAGS-iofread.c): Likewise.
17776 (CFLAGS-iofsetpos64.c): Likewise.
17777 (CFLAGS-iofsetpos.c): Likewise.
17778 (CFLAGS-ioftell.c): Likewise.
17779 (CFLAGS-iofwrite.c): Likewise.
17780 (CFLAGS-iogetdelim.c): Likewise.
17781 (CFLAGS-iogetline.c): Likewise.
17782 (CFLAGS-iogets.c): Likewise.
17783 (CFLAGS-iogetwline.c): Likewise.
17784 (CFLAGS-ioputs.c): Likewise.
17785 (CFLAGS-ioseekoff.c): Likewise.
17786 (CFLAGS-ioseekpos.c): Likewise.
17787 (CFLAGS-iosetbuffer.c): Likewise.
17788 (CFLAGS-iosetvbuf.c): Likewise.
17789 (CFLAGS-ioungetc.c): Likewise.
17790 (CFLAGS-ioungetwc.c): Likewise.
17791 (CFLAGS-oldfileops.c): Likewise.
17792 (CFLAGS-oldiofclose.c): Likewise.
17793 (CFLAGS-oldiofgetpos64.c): Likewise.
17794 (CFLAGS-oldiofgetpos.c): Likewise.
17795 (CFLAGS-oldiofsetpos64.c): Likewise.
17796 (CFLAGS-oldiofsetpos.c): Likewise.
17797 (CFLAGS-peekc.c): Likewise.
17798 (CFLAGS-putc.c): Likewise.
17799 (CFLAGS-putchar.c): Likewise.
17800 (CFLAGS-putwc.c): Likewise.
17801 (CFLAGS-putwchar.c): Likewise.
17802 (CFLAGS-rewind.c): Likewise.
17803 (CFLAGS-wfileops.c): Likewise.
17804 (CFLAGS-wgenops.c): Likewise.
17805 (CFLAGS-oldiofopen.c): Likewise.
17806 (CFLAGS-iofopen.c): Likewise.
17807 (CFLAGS-iofopen64.c): Likewise.
17808 (CFLAGS-oldtmpfile.c): Likewise.
17809 (CFLAGS-tst_putwc.c): Likewise.
17810 * locale/Makefile (CFLAGS-md5.c): Likewise.
17811 (CFLAGS-charmap.c): Likewise.
17812 (CFLAGS-locfile.c): Likewise.
17813 (CFLAGS-charmap-dir.c): Likewise.
17814 * login/Makefile (CFLAGS-grantpt.c): Likewise.
17815 (CFLAGS-getpt.c): Likewise.
17816 (CFLAGS-pt_chown.c): Likewise.
17817 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
17818 (CFLAGS-obstack.c): Likewise.
17819 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
17820 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
17821 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
17822 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
17823 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
17824 (CFLAGS-test-tgmath.c): Likewise.
17825 (CFLAGS-test-tgmath2.c): Likewise.
17826 (CFLAGS-test-tgmath-ret.c): Likewise.
17827 (CFLAGS-test-powl.c): Likewise.
17828 (CFLAGS-test-snan.c): Likewise.
17829 (CFLAGS-test-signgam-finite.c): Likewise.
17830 (CFLAGS-test-signgam-finite-c99.c): Likewise.
17831 (CFLAGS-test-signgam-finite-c11.c): Likewise.
17832 (CFLAGS-test-signgam-uchar.c): Likewise.
17833 (CFLAGS-test-signgam-uchar-init.c): Likewise.
17834 (CFLAGS-test-signgam-uchar-static.c): Likewise.
17835 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17836 (CFLAGS-test-signgam-uint.c): Likewise.
17837 (CFLAGS-test-signgam-uint-init.c): Likewise.
17838 (CFLAGS-test-signgam-uint-static.c): Likewise.
17839 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17840 (CFLAGS-test-signgam-ullong.c): Likewise.
17841 (CFLAGS-test-signgam-ullong-init.c): Likewise.
17842 (CFLAGS-test-signgam-ullong-static.c): Likewise.
17843 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17844 (CFLAGS-test-math-cxx11.cc): Likewise.
17845 (CFLAGS-test-math-isinff.cc): Likewise.
17846 (CFLAGS-test-math-iszero.cc): Likewise.
17847 (CFLAGS-test-math-issignaling.cc): Likewise.
17848 (CFLAGS-test-math-iscanonical.cc): Likewise.
17849 (CFLAGS-test-iszero-excess-precision.c): Likewise.
17850 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
17851 (CFLAGS-test-flt-eval-method.c): Likewise.
17852 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
17853 (CFLAGS-test-finite-macros.c): Likewise.
17854 * misc/Makefile (CFLAGS-select.c): Likewise.
17855 (CFLAGS-tsearch.c): Likewise.
17856 (CFLAGS-lsearch.c): Likewise.
17857 (CFLAGS-pselect.c): Likewise.
17858 (CFLAGS-readv.c): Likewise.
17859 (CFLAGS-writev.c): Likewise.
17860 (CFLAGS-preadv.c): Likewise.
17861 (CFLAGS-preadv64.c): Likewise.
17862 (CFLAGS-pwritev.c): Likewise.
17863 (CFLAGS-pwritev64.c): Likewise.
17864 (CFLAGS-preadv2.c): Likewise.
17865 (CFLAGS-preadv64v2.c): Likewise.
17866 (CFLAGS-pwritev2.c): Likewise.
17867 (CFLAGS-pwritev64v2.c): Likewise.
17868 (CFLAGS-usleep.c): Likewise.
17869 (CFLAGS-syslog.c): Likewise.
17870 (CFLAGS-error.c): Likewise.
17871 (CFLAGS-getpass.c): Likewise.
17872 (CFLAGS-mkstemp.c): Likewise.
17873 (CFLAGS-mkstemp64.c): Likewise.
17874 (CFLAGS-getsysstats.c): Likewise.
17875 (CFLAGS-getusershell.c): Likewise.
17876 (CFLAGS-err.c): Likewise.
17877 (CFLAGS-tst-tsearch.c): Likewise.
17878 (CFLAGS-msync.c): Likewise.
17879 (CFLAGS-fdatasync.c): Likewise.
17880 (CFLAGS-fsync.c): Likewise.
17881 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
17882 (CFLAGS-unwind.c): Likewise.
17883 (CFLAGS-unwind-forcedunwind.c): Likewise.
17884 (CFLAGS-pthread_cancel.c): Likewise.
17885 (CFLAGS-pthread_setcancelstate.c): Likewise.
17886 (CFLAGS-pthread_setcanceltype.c): Likewise.
17887 (CFLAGS-cancellation.c): Likewise.
17888 (CFLAGS-libc-cancellation.c): Likewise.
17889 (CFLAGS-pthread_exit.c): Likewise.
17890 (CFLAGS-forward.c): Likewise.
17891 (CFLAGS-pthread_testcancel.c): Likewise.
17892 (CFLAGS-pthread_join.c): Likewise.
17893 (CFLAGS-pthread_timedjoin.c): Likewise.
17894 (CFLAGS-pthread_once.c): Likewise.
17895 (CFLAGS-pthread_cond_wait.c): Likewise.
17896 (CFLAGS-sem_wait.c): Likewise.
17897 (CFLAGS-sem_timedwait.c): Likewise.
17898 (CFLAGS-fcntl.c): Likewise.
17899 (CFLAGS-lockf.c): Likewise.
17900 (CFLAGS-pread.c): Likewise.
17901 (CFLAGS-pread64.c): Likewise.
17902 (CFLAGS-pwrite.c): Likewise.
17903 (CFLAGS-pwrite64.c): Likewise.
17904 (CFLAGS-wait.c): Likewise.
17905 (CFLAGS-waitpid.c): Likewise.
17906 (CFLAGS-sigwait.c): Likewise.
17907 (CFLAGS-msgrcv.c): Likewise.
17908 (CFLAGS-msgsnd.c): Likewise.
17909 (CFLAGS-tcdrain.c): Likewise.
17910 (CFLAGS-open.c): Likewise.
17911 (CFLAGS-open64.c): Likewise.
17912 (CFLAGS-pause.c): Likewise.
17913 (CFLAGS-recv.c): Likewise.
17914 (CFLAGS-send.c): Likewise.
17915 (CFLAGS-accept.c): Likewise.
17916 (CFLAGS-sendto.c): Likewise.
17917 (CFLAGS-connect.c): Likewise.
17918 (CFLAGS-recvfrom.c): Likewise.
17919 (CFLAGS-recvmsg.c): Likewise.
17920 (CFLAGS-sendmsg.c): Likewise.
17921 (CFLAGS-close.c): Likewise.
17922 (CFLAGS-read.c): Likewise.
17923 (CFLAGS-write.c): Likewise.
17924 (CFLAGS-nanosleep.c): Likewise.
17925 (CFLAGS-sigsuspend.c): Likewise.
17926 (CFLAGS-msync.c): Likewise.
17927 (CFLAGS-fdatasync.c): Likewise.
17928 (CFLAGS-fsync.c): Likewise.
17929 (CFLAGS-pt-system.c): Likewise.
17930 (CFLAGS-tst-cleanup2.c): Likewise.
17931 (CFLAGS-tst-cleanupx2.c): Likewise.
17932 (CFLAGS-flockfile.c): Likewise.
17933 (CFLAGS-ftrylockfile.c): Likewise.
17934 (CFLAGS-funlockfile.c): Likewise.
17935 (CFLAGS-tst-initializers1.c): Likewise.
17936 (CFLAGS-tst-initializers1-c89.c): Likewise.
17937 (CFLAGS-tst-initializers1-c99.c): Likewise.
17938 (CFLAGS-tst-initializers1-c11.c): Likewise.
17939 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
17940 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
17941 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17942 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
17943 (CFLAGS-nscd_getgr_r.c): Likewise.
17944 (CFLAGS-nscd_gethst_r.c): Likewise.
17945 (CFLAGS-nscd_getai.c): Likewise.
17946 (CFLAGS-nscd_initgroups.c): Likewise.
17947 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
17948 (CFLAGS-pause.c): Likewise.
17949 (CFLAGS-pread.c): Likewise.
17950 (CFLAGS-pread64.c): Likewise.
17951 (CFLAGS-pwrite.c): Likewise.
17952 (CFLAGS-pwrite64.c): Likewise.
17953 (CFLAGS-sleep.c): Likewise.
17954 (CFLAGS-wait.c): Likewise.
17955 (CFLAGS-waitid.c): Likewise.
17956 (CFLAGS-waitpid.c): Likewise.
17957 (CFLAGS-getopt.c): Likewise.
17958 (CFLAGS-wordexp.c): Likewise.
17959 (CFLAGS-sysconf.c): Likewise.
17960 (CFLAGS-pathconf.c): Likewise.
17961 (CFLAGS-fpathconf.c): Likewise.
17962 (CFLAGS-spawn.c): Likewise.
17963 (CFLAGS-spawnp.c): Likewise.
17964 (CFLAGS-spawni.c): Likewise.
17965 (CFLAGS-glob.c): Likewise.
17966 (CFLAGS-glob64.c): Likewise.
17967 (CFLAGS-getconf.c): Likewise.
17968 (CFLAGS-nanosleep.c): Likewise.
17969 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
17970 (CFLAGS-getpwent.c): Likewise.
17971 (CFLAGS-getpw.c): Likewise.
17972 (CFLAGS-fgetpwent_r.c): Likewise.
17973 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
17974 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
17975 (CFLAGS-mq_timedreceive.c): Likewise.
17976 (CFLAGS-mq_timedsend.c): Likewise.
17977 (CFLAGS-clock_nanosleep.c): Likewise.
17978 (CFLAGS-librt-cancellation.c): Likewise.
17979 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
17980 (CFLAGS-getspent.c): Likewise.
17981 (CFLAGS-fgetspent.c): Likewise.
17982 (CFLAGS-fgetspent_r.c): Likewise.
17983 (CFLAGS-putspent.c): Likewise.
17984 (CFLAGS-getspnam.c): Likewise.
17985 (CFLAGS-getspnam_r.c): Likewise.
17986 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
17987 (CFLAGS-sigsuspend.c): Likewise.
17988 (CFLAGS-sigtimedwait.c): Likewise.
17989 (CFLAGS-sigwait.c): Likewise.
17990 (CFLAGS-sigwaitinfo.c): Likewise.
17991 (CFLAGS-sigreturn.c): Likewise.
17992 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17993 (CFLAGS-vfwprintf.c): Likewise.
17994 (CFLAGS-tmpfile.c): Likewise.
17995 (CFLAGS-tmpfile64.c): Likewise.
17996 (CFLAGS-tempname.c): Likewise.
17997 (CFLAGS-psignal.c): Likewise.
17998 (CFLAGS-vprintf.c): Likewise.
17999 (CFLAGS-cuserid.c): Likewise.
18000 (CFLAGS-errlist.c): Likewise.
18001 (CFLAGS-siglist.c): Likewise.
18002 (CFLAGS-scanf15.c): Likewise.
18003 (CFLAGS-scanf17.c): Likewise.
18004 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18005 (CFLAGS-msort.c): Likewise.
18006 (CFLAGS-qsort.c): Likewise.
18007 (CFLAGS-system.c): Likewise.
18008 (CFLAGS-fmtmsg.c): Likewise.
18009 (CFLAGS-strfmon.c): Likewise.
18010 (CFLAGS-strfmon_l.c): Likewise.
18011 (CFLAGS-strfromd.c): Likewise.
18012 (CFLAGS-strfromf.c): Likewise.
18013 (CFLAGS-strfroml.c): Likewise.
18014 (CFLAGS-tst-bsearch.c): Likewise.
18015 (CFLAGS-tst-qsort.c): Likewise.
18016 (CFLAGS-tst-makecontext2.c): Likewise.
18017 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18018 (CFLAGS-xnlm_prot.c): Likewise.
18019 (CFLAGS-xrstat.c): Likewise.
18020 (CFLAGS-xyppasswd.c): Likewise.
18021 (CFLAGS-xklm_prot.c): Likewise.
18022 (CFLAGS-xrex.c): Likewise.
18023 (CFLAGS-xsm_inter.c): Likewise.
18024 (CFLAGS-xmount.c): Likewise.
18025 (CFLAGS-xrusers.c): Likewise.
18026 (CFLAGS-xspray.c): Likewise.
18027 (CFLAGS-xnfs_prot.c): Likewise.
18028 (CFLAGS-xrquota.c): Likewise.
18029 (CFLAGS-xkey_prot.c): Likewise.
18030 (CFLAGS-auth_unix.c): Likewise.
18031 (CFLAGS-key_call.c): Likewise.
18032 (CFLAGS-pmap_rmt.c): Likewise.
18033 (CFLAGS-clnt_perr.c): Likewise.
18034 (CFLAGS-openchild.c): Likewise.
18035 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18036 (CFLAGS-msgsnd.c): Likewise.
18037 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18038 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18039 (CFLAGS-tzset.c): Likewise.
18040 (CFLAGS-getdate.c): Likewise.
18041 (CFLAGS-test_time.c): Likewise.
18042 (CPPFLAGS-tst-tzname.c): Likewise.
18043 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18044 (CFLAGS-zic.c): Likewise.
18045 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18046 (CFLAGS-wcswidth.c): Likewise.
18047 (CFLAGS-wcstol.c): Likewise.
18048 (CFLAGS-wcstoul.c): Likewise.
18049 (CFLAGS-wcstoll.c): Likewise.
18050 (CFLAGS-wcstoull.c): Likewise.
18051 (CFLAGS-wcstod.c): Likewise.
18052 (CFLAGS-wcstold.c): Likewise.
18053 (CFLAGS-wcstof128.c): Likewise.
18054 (CFLAGS-wcstof.c): Likewise.
18055 (CFLAGS-wcstol_l.c): Likewise.
18056 (CFLAGS-wcstoul_l.c): Likewise.
18057 (CFLAGS-wcstoll_l.c): Likewise.
18058 (CFLAGS-wcstoull_l.c): Likewise.
18059 (CFLAGS-wcstod_l.c): Likewise.
18060 (CFLAGS-wcstold_l.c): Likewise.
18061 (CFLAGS-wcstof128_l.c): Likewise.
18062 (CFLAGS-wcstof_l.c): Likewise.
18063 (CPPFLAGS-tst-wchar-h.c): Likewise.
18064 (CPPFLAGS-wcstold_l.c): Likewise.
18066 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18068 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18070 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18071 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18073 * manual/tunables.texi (Hardware Capability Tunables): Document
18074 glibc.tune.cached_memopt.
18075 * sysdeps/powerpc/cpu-features.c: New file.
18076 * sysdeps/powerpc/cpu-features.h: New file.
18077 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18078 _dl_powerpc_cpu_features.
18079 * sysdeps/powerpc/dl-tunables.list: New file.
18080 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18081 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18082 (INIT_ARCH): Initialize use_aligned_memopt.
18083 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18084 IS_IN(rtld))]: Restrict dl_platform_init availability and
18085 initialize CPU features used by tunables.
18086 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18087 Add memcpy-power8-cached.
18088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18089 __memcpy_power8_cached.
18090 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18091 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18094 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18096 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18097 (CFLAGS-noinl-tester.c): Likewise.
18098 (CFLAGS-tst-strlen.c): Likewise.
18099 (CFLAGS-stratcliff.c): Likewise.
18100 (CFLAGS-test-ffs.c): Likewise.
18101 (CFLAGS-tst-inlcall.c): Likewise.
18102 (CFLAGS-tst-xbzero-opt.c): Likewise.
18103 (CFLAGS-memcpy.c): Likewise.
18104 (CFLAGS-wordcopy.c): Likewise.
18106 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18108 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18109 Store r15 on stack and add cfi rule.
18110 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18113 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18116 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18119 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18121 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18122 Add s_sinf-sse2 and s_sinf-fma.
18123 (CFLAGS-s_sinf-fma.c): New.
18124 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18125 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18126 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18128 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18130 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18132 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18135 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18136 part of result to imaginary part of argument if it is zero and the
18137 real part of the argument is not finite.
18138 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18139 of result to real part of argument if it is zero and the imaginary
18140 part of the argument is not finite.
18142 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18145 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18146 and to the list of locales to be built for testing.
18147 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18148 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18149 and build the collation rules upon that.
18151 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18153 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18154 * manual/math.texi (Mathematics): Document support for _Float32.
18155 * math/Makefile (test-types): Add float32.
18156 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18157 * stdlib/Versions (GLIBC_2.27): Likewise.
18158 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18159 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18160 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18161 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18162 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18163 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18164 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18165 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18166 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18167 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18168 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18169 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18170 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18171 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18172 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18173 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18174 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18175 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18176 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18181 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18203 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18221 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18222 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18223 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18224 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18225 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18226 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18227 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18228 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18230 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18232 * stdlib/strtof.c: Include <bits/floatn.h>
18233 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18234 and later undefine as macro. Define as weak alias if
18236 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18237 and later undefine as macro. Define as weak alias if
18239 * stdlib/strtof_l.c: Include <bits/floatn.h>
18240 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18241 and later undefine as macro. Define as weak alias if
18243 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18244 and later undefine as macro. Define as weak alias if
18247 * stdlib/strfromf.c: Include <bits/floatn.h>.
18248 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18249 and later undefine as macro and define as weak alias.
18251 * math/test-float32.h: New file.
18253 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18254 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18255 (libm_alias_float_other_r): Create f32 alias.
18256 (libm_alias_float_r): Use semicolon before call to
18257 libm_alias_float_other_r.
18259 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18260 second argument to libm_alias_float_other.
18261 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18262 second argument to libm_alias_float_other.
18263 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18264 argument to libm_alias_float_other.
18267 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18268 real part of result for argument 0 + i * NaN.
18269 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18270 results for tests of 0 + i * NaN.
18272 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18274 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18276 2017-12-06 David S. Miller <davem@davemloft.net>
18278 * sysdeps/sparc/fpu/libm-test-ulps: Update
18279 exp_{downward,towardzero,upward} ulps.
18281 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18283 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18286 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18288 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18290 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18292 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18295 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18298 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18299 and to the list of locales to be built for testing.
18300 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18301 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18302 and build the collation rules upon that.
18304 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18306 * NEWS: Add sinf to list of optimized functions.
18308 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18310 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18311 (__HAVE_FLOAT32X): Likewise.
18312 * manual/math.texi (Mathematics): Document support for _Float64
18314 * math/Makefile (test-types): Add float64 and float32x.
18315 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18317 * stdlib/Versions (GLIBC_2.27): Likewise.
18318 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18319 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18320 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18321 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18322 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18323 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18324 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18325 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18326 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18327 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18328 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18329 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18330 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18331 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18332 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18333 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18334 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18335 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18336 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18337 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18338 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18339 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18341 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18342 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18343 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18344 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18345 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18362 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18363 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18364 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18365 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18366 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18369 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18370 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18371 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18380 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18381 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18382 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18383 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18384 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18385 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18386 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18387 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18389 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18391 * bits/floatn-common.h: Include <bits/long-double.h>.
18392 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18393 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18394 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18395 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18396 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18397 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18398 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18399 (__builtin_huge_valf64): Use __builtin_huge_vall.
18400 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18401 (__builtin_inff64): Use __builtin_infl.
18402 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18403 (__builtin_nanf64): Use __builtin_nanl.
18404 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18405 (__builtin_nansf64): Use __builtin_nansl.
18407 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18408 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18409 Carlos O'Donnell <carlos@redhat.com>
18411 * elf/dl-tunables.list: Add elision parameters.
18412 * manual/tunables.texi: Add entries about elision tunable.
18413 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18414 Add callback functions to dynamically enable/disable elision.
18415 Add multiple callbacks functions to set elision parameters.
18416 Deleted __libc_enable_secure check.
18417 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18418 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18419 * configure: Regenerated.
18420 * configure.ac: Option enable_lock_elision was deleted.
18421 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18422 * config.make.in: Remove references to enable_lock_elision.
18423 * manual/install.texi: Elision configure option was removed.
18424 * INSTALL: Regenerated to remove enable_lock_elision.
18426 Disable elision so it can verify error case for destroying a mutex.
18427 * sysdeps/powerpc/nptl/elide.h:
18428 Cleanup ENABLE_LOCK_ELISION check.
18429 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18430 * sysdeps/s390/configure: Regenerated.
18431 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18432 * nptl/tst-mutex8.c:
18433 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18434 * sysdeps/powerpc/powerpc32/sysdep.h:
18435 Deleted all ENABLE_LOCK_ELISION checks.
18436 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18437 * sysdeps/powerpc/sysdep.h: Likewise.
18438 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18439 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18440 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18441 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18442 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18443 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18444 enable-lock-elision.
18446 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18448 * stdlib/strtod.c: Include <bits/floatn.h>.
18449 (BUILD_DOUBLE): New macro.
18450 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18451 (strtof64): Define and later undefine as macro. Define as weak
18452 alias if [!USE_WIDE_CHAR].
18453 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18454 (wcstof64): Define and later undefine as macro. Define as weak
18455 alias if [USE_WIDE_CHAR].
18456 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18457 (strtof32x): Define and later undefine as macro. Define as weak
18458 alias if [!USE_WIDE_CHAR].
18459 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18460 (wcstof32x): Define and later undefine as macro. Define as weak
18461 alias if [USE_WIDE_CHAR].
18462 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18463 (BUILD_DOUBLE): New macro.
18464 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18465 (strtof64_l): Define and later undefine as macro. Define as weak
18466 alias if [!USE_WIDE_CHAR].
18467 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18468 (wcstof64_l): Define and later undefine as macro. Define as weak
18469 alias if [USE_WIDE_CHAR].
18470 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18471 (strtof32x_l): Define and later undefine as macro. Define as weak
18472 alias if [!USE_WIDE_CHAR].
18473 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18474 (wcstof32x_l): Define and later undefine as macro. Define as weak
18475 alias if [USE_WIDE_CHAR].
18477 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18479 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18480 (reduced): Use ones as double instead of integer.
18482 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18484 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18486 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18488 * stdlib/strfromd.c: Include <bits/floatn.h>.
18489 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18490 and later undefine as macro and define as weak alias.
18491 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18494 * math/test-float32x.h: New file.
18495 * math/test-float64.h: Likewise.
18497 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18498 (libm_alias_double_other_r_f64): New macro.
18499 (libm_alias_double_other_r_f32x): Likewise.
18500 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18501 libm_alias_double_other_r_f32x.
18502 (libm_alias_double_r): Use semicolon before call to
18503 libm_alias_double_other_r.
18504 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18506 (libm_alias_double_other_r_f64): New macro.
18507 (libm_alias_double_other_r_f32x): Likewise.
18508 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18509 libm_alias_double_other_r_f32x.
18511 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18513 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18515 (SINF_FUNC): Likewise. Replace floor with simple casts.
18517 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18520 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18521 and to the list of locales to be built for testing.
18522 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18523 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18524 and build the collation rules upon that.
18526 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18528 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18529 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18530 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18531 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18532 instead of __insn__xxx.
18533 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18534 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18535 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18536 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18537 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18538 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18540 2017-12-05 Florian Weimer <fweimer@redhat.com>
18542 Linux: Implement interfaces for memory protection keys
18543 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18545 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18546 * support/xunistd.h (xsysconf): Declare.
18547 * support/xraise.c: New file.
18548 * support/xsigaction.c: Likewise.
18549 * support/xsignal.c: Likewise.
18550 * support/xsysconf.c: Likewise.
18551 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18552 pkey_set, pkey_get, pkey_mprotect.
18553 [misc] (tests): Add tst-pkey.
18554 (tst-pkey): Link with -lpthread.
18555 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18556 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18557 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18558 (PKEY_DISABLE_WRITE): Define.
18559 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18561 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18562 (SEGV_PKUERR): Add.
18563 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18564 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18565 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18566 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18568 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18569 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18570 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18571 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18572 * sysdeps/unix/sysv/linux/**.abilist: Update.
18574 2017-12-05 Florian Weimer <fweimer@redhat.com>
18576 * support/tst-test_compare.c (subprocess): Use long long instead
18577 of long argument for consistent type width across 32-bit and
18578 64-bit architectures.
18579 (do_test): Adjust expected output.
18581 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18583 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18584 (cosf): Define using libm_alias_float.
18585 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18586 (fabsf): Define using libm_alias_float.
18587 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18588 (fmaf): Define using libm_alias_float.
18589 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18590 (rintf): Define using libm_alias_float.
18591 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18592 (sinf): Define using libm_alias_float.
18593 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18594 <libm-alias-float.h>.
18595 (modff): Define using libm_alias_float.
18596 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18597 <libm-alias-float.h>.
18598 (logbf): Define using libm_alias_float.
18599 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18600 <libm-alias-float.h>.
18601 (ceilf): Define using libm_alias_float.
18602 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18603 <libm-alias-float.h>.
18604 (copysignf): Define using libm_alias_float.
18605 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18606 <libm-alias-float.h>.
18607 (floorf): Define using libm_alias_float.
18608 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18609 <libm-alias-float.h>.
18610 (llrintf): Define using libm_alias_float.
18611 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18612 <libm-alias-float.h>.
18613 (llroundf): Define using libm_alias_float.
18614 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18615 <libm-alias-float.h>.
18616 (lrintf): Define using libm_alias_float.
18617 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18618 <libm-alias-float.h>.
18619 (lroundf): Define using libm_alias_float.
18620 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18621 <libm-alias-float.h>.
18622 (nearbyintf): Define using libm_alias_float.
18623 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18624 <libm-alias-float.h>.
18625 (rintf): Define using libm_alias_float.
18626 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18627 <libm-alias-float.h>.
18628 (roundf): Define using libm_alias_float.
18629 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18630 <libm-alias-float.h>.
18631 (truncf): Define using libm_alias_float.
18632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18633 Include <libm-alias-float.h>.
18634 (ceilf): Define using libm_alias_float.
18635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18636 Include <libm-alias-float.h>.
18637 (copysignf): Define using libm_alias_float.
18638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18639 Include <libm-alias-float.h>.
18640 (floorf): Define using libm_alias_float.
18641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18642 Include <libm-alias-float.h>.
18643 (llrintf): Define using libm_alias_float.
18644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18645 Include <libm-alias-float.h>.
18646 (llroundf): Define using libm_alias_float.
18647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18648 Include <libm-alias-float.h>.
18649 (logbf): Define using libm_alias_float.
18650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18651 Include <libm-alias-float.h>.
18652 (lrintf): Define using libm_alias_float.
18653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18654 Include <libm-alias-float.h>.
18655 (lroundf): Define using libm_alias_float.
18656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18657 Include <libm-alias-float.h>.
18658 (modff): Define using libm_alias_float.
18659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18660 Include <libm-alias-float.h>.
18661 (roundf): Define using libm_alias_float.
18662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18663 Include <libm-alias-float.h>.
18664 (truncf): Define using libm_alias_float.
18665 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18666 <libm-alias-float.h>.
18667 (llrintf): Define using libm_alias_float.
18668 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18669 <libm-alias-float.h>.
18670 (llroundf): Define using libm_alias_float.
18671 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18672 <libm-alias-float.h>.
18673 (ceilf): Define using libm_alias_float.
18674 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18675 <libm-alias-float.h>.
18676 (floorf): Define using libm_alias_float.
18677 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18678 <libm-alias-float.h>.
18679 (llroundf): Define using libm_alias_float.
18680 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18681 <libm-alias-float.h>.
18682 (lroundf): Define using libm_alias_float.
18683 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18684 <libm-alias-float.h>.
18685 (roundf): Define using libm_alias_float.
18686 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18687 <libm-alias-float.h>.
18688 (truncf): Define using libm_alias_float.
18689 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18690 <libm-alias-float.h>.
18691 (copysignf): Define using libm_alias_float.
18692 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18693 <libm-alias-float.h>.
18694 (llrintf): Define using libm_alias_float.
18695 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18696 <libm-alias-float.h>.
18697 (llroundf): Define using libm_alias_float.
18698 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18699 <libm-alias-float.h>.
18700 (lrintf): Define using libm_alias_float.
18701 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18702 <libm-alias-float.h>.
18703 (lroundf): Define using libm_alias_float.
18704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18705 <libm-alias-float.h>.
18706 (ceilf): Define using libm_alias_float.
18707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18708 <libm-alias-float.h>.
18709 (copysignf): Define using libm_alias_float.
18710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18711 <libm-alias-float.h>.
18712 (cosf): Define using libm_alias_float.
18713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18714 <libm-alias-float.h>.
18715 (floorf): Define using libm_alias_float.
18716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18717 <libm-alias-float.h>.
18718 (llrintf): Define using libm_alias_float.
18719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18720 <libm-alias-float.h>.
18721 (llroundf): Define using libm_alias_float.
18722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18723 <libm-alias-float.h>.
18724 (logbf): Define using libm_alias_float.
18725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18726 <libm-alias-float.h>.
18727 (modff): Define using libm_alias_float.
18728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18729 <libm-alias-float.h>.
18730 (roundf): Define using libm_alias_float.
18731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18732 <libm-alias-float.h>.
18733 (sinf): Define using libm_alias_float.
18734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18735 <libm-alias-float.h>.
18736 (truncf): Define using libm_alias_float.
18737 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18738 <libm-alias-float.h>.
18739 (ceilf): Define using libm_alias_float.
18740 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18741 <libm-alias-float.h>.
18742 (copysignf): Define using libm_alias_float.
18743 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18744 <libm-alias-float.h>.
18745 (floorf): Define using libm_alias_float.
18746 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18747 <libm-alias-float.h>.
18748 (llrintf): Define using libm_alias_float.
18749 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18750 <libm-alias-float.h>.
18751 (llroundf): Define using libm_alias_float.
18752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18753 <libm-alias-float.h>.
18754 (nearbyintf): Define using libm_alias_float.
18755 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18756 <libm-alias-float.h>.
18757 (rintf): Define using libm_alias_float.
18758 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18759 <libm-alias-float.h>.
18760 (roundf): Define using libm_alias_float.
18761 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18762 <libm-alias-float.h>.
18763 (truncf): Define using libm_alias_float.
18764 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18765 <libm-alias-float.h>.
18766 (ceilf): Define using libm_alias_float.
18767 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18768 <libm-alias-float.h>.
18769 (floorf): Define using libm_alias_float.
18770 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18771 <libm-alias-float.h>.
18772 (llroundf): Define using libm_alias_float.
18773 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18774 <libm-alias-float.h>.
18775 (roundf): Define using libm_alias_float.
18776 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18777 <libm-alias-float.h>.
18778 (truncf): Define using libm_alias_float.
18779 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18780 <libm-alias-float.h>.
18781 (copysignf): Define using libm_alias_float.
18782 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18783 <libm-alias-float.h>.
18784 (llrintf): Define using libm_alias_float.
18785 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18786 <libm-alias-float.h>.
18787 (llroundf): Define using libm_alias_float.
18788 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18789 <libm-alias-float.h>.
18790 (cosf): Define using libm_alias_float.
18791 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18792 <libm-alias-float.h>.
18793 (llrintf): Define using libm_alias_float.
18794 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18795 <libm-alias-float.h>.
18796 (llroundf): Define using libm_alias_float.
18797 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18798 <libm-alias-float.h>.
18799 (sinf): Define using libm_alias_float.
18801 2017-12-04 Florian Weimer <fweimer@redhat.com>
18803 * support/check.h (TEST_COMPARE): Define.
18804 (support_test_compare_failure): Declare.
18805 * support/Makefile (libsupport-routines): Add
18806 support_test_compare_failure.
18807 (tests): Add tst-test_compare.
18808 * support /support_test_compare_failure.c: New file.
18809 * support/tst-test_compare.c: Likewise.
18811 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18814 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
18815 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
18816 available, this rewrite of the collation rules does reproduce
18817 the test file in the same order.
18819 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18822 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
18823 digraphs in the month and day names. Using single code points for
18824 digraphs is deprecated. While there are dedicated Unicode
18825 codepoints, for the digraphs, these are included for backwards
18826 compatibility and modern texts use a sequence of Basic Latin
18827 characters. See: https://www.unicode.org/faq/ligature_digraph.html
18828 This makes the month and day names agree exactly with CLDR now,
18829 CLDR does not use the single code points for the digraphs either.
18831 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
18833 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
18835 2017-12-04 Joseph Myers <joseph@codesourcery.com>
18837 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
18840 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
18842 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
18843 Define only for libc.so.
18845 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18848 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
18849 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
18850 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
18851 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18853 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18856 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
18858 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
18861 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
18862 PREINIT_FUNCTION_WEAK is nonzero.
18863 (gmon_initializer): New function. Put procedure label for it in
18864 .init_array section.
18865 (_init): Don't call PREINIT_FUNCTION.
18866 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
18867 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
18868 value when map argument is null.
18870 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
18871 depi instruction from PIC pc-relative sequence.
18872 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
18873 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
18874 (elf_machine_load_address): Likewise.
18875 (elf_machine_runtime_setup): Likewise.
18877 2017-12-02 Joseph Myers <joseph@codesourcery.com>
18879 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
18880 <libm-alias-double.h>.
18881 (logb): Define using libm_alias_double.
18882 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18883 <libm-alias-double.h>.
18884 (copysign): Define using libm_alias_double.
18885 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
18886 <libm-alias-double.h>.
18887 (llrint): Define using libm_alias_double.
18888 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
18889 <libm-alias-double.h>.
18890 (llround): Define using libm_alias_double.
18891 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18892 <libm-alias-double.h>.
18893 (lrint): Define using libm_alias_double.
18894 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18895 <libm-alias-double.h>.
18896 (lround): Define using libm_alias_double.
18897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18898 Include <libm-alias-double.h>.
18899 (copysign): Define using libm_alias_double.
18900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
18901 Include <libm-alias-double.h>.
18902 (llrint): Define using libm_alias_double.
18903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
18904 Include <libm-alias-double.h>.
18905 (llround): Define using libm_alias_double.
18906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
18907 <libm-alias-double.h>.
18908 (logb): Define using libm_alias_double.
18909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
18910 Include <libm-alias-double.h>.
18911 (lrint): Define using libm_alias_double.
18912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
18913 Include <libm-alias-double.h>.
18914 (lround): Define using libm_alias_double.
18915 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
18916 <libm-alias-double.h>.
18917 (llrint): Define using libm_alias_double.
18918 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18919 <libm-alias-double.h>.
18920 (llround): Define using libm_alias_double.
18921 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18922 <libm-alias-double.h>.
18923 (llround): Define using libm_alias_double.
18924 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18925 <libm-alias-double.h>.
18926 (lround): Define using libm_alias_double.
18927 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18928 <libm-alias-double.h>.
18929 (copysign): Define using libm_alias_double.
18930 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
18931 <libm-alias-double.h>.
18932 (llrint): Define using libm_alias_double.
18933 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18934 <libm-alias-double.h>.
18935 (llround): Define using libm_alias_double.
18936 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18937 <libm-alias-double.h>.
18938 (lrint): Define using libm_alias_double.
18939 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18940 <libm-alias-double.h>.
18941 (lround): Define using libm_alias_double.
18942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
18943 <libm-alias-double.h>.
18944 (copysign): Define using libm_alias_double.
18945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
18946 <libm-alias-double.h>.
18947 (llrint): Define using libm_alias_double.
18949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
18950 <libm-alias-double.h>.
18951 (llround): Define using libm_alias_double.
18952 (lround): Likewise.
18953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
18954 <libm-alias-double.h>.
18955 (logb): Define using libm_alias_double.
18956 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18957 <libm-alias-double.h>.
18958 (copysign): Define using libm_alias_double.
18959 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18960 <libm-alias-double.h>.
18961 (llrint): Define using libm_alias_double.
18963 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
18964 <libm-alias-double.h>.
18965 (llround): Define using libm_alias_double.
18966 (lround): Likewise.
18967 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18968 <libm-alias-double.h>.
18969 (llround): Define using libm_alias_double.
18970 (lround): Likewise.
18971 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18972 <libm-alias-double.h>.
18973 (copysign): Define using libm_alias_double.
18974 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18975 <libm-alias-double.h>.
18976 (llrint): Define using libm_alias_double.
18978 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18979 <libm-alias-double.h>.
18980 (llround): Define using libm_alias_double.
18981 (lround): Likewise.
18982 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18983 <libm-alias-double.h>.
18984 (llrint): Define using libm_alias_double.
18986 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18987 <libm-alias-double.h>.
18988 (llround): Define using libm_alias_double.
18989 (lround): Likewise.
18991 2017-12-01 Joseph Myers <joseph@codesourcery.com>
18993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18994 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
18995 compat symbol based on llround.
18997 * sysdeps/powerpc/power7/fpu/s_logb.c
18998 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
18999 symbol based on __logb, not on logb.
19000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19001 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19003 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19005 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19006 (rint): Define using libm_alias_double.
19007 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19008 <libm-alias-double.h>.
19009 (modf): Define using libm_alias_double.
19010 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19011 <libm-alias-double.h>.
19012 (ceil): Define using libm_alias_double.
19013 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19014 <libm-alias-double.h>.
19015 (floor): Define using libm_alias_double.
19016 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19017 <libm-alias-double.h>.
19018 (nearbyint): Define using libm_alias_double.
19019 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19020 <libm-alias-double.h>.
19021 (rint): Define using libm_alias_double.
19022 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19023 <libm-alias-double.h>.
19024 (round): Define using libm_alias_double.
19025 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19026 <libm-alias-double.h>.
19027 (trunc): Define using libm_alias_double.
19028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19029 <libm-alias-double.h>.
19030 (ceil): Define using libm_alias_double.
19031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19032 Include <libm-alias-double.h>.
19033 (floor): Define using libm_alias_double.
19034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19035 <libm-alias-double.h>.
19036 (modf): Define using libm_alias_double.
19037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19038 Include <libm-alias-double.h>.
19039 (round): Define using libm_alias_double.
19040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19041 Include <libm-alias-double.h>.
19042 (trunc): Define using libm_alias_double.
19043 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19044 <libm-alias-double.h>.
19045 (ceil): Define using libm_alias_double.
19046 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19047 <libm-alias-double.h>.
19048 (floor): Define using libm_alias_double.
19049 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19050 <libm-alias-double.h>.
19051 (round): Define using libm_alias_double.
19052 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19053 <libm-alias-double.h>.
19054 (trunc): Define using libm_alias_double.
19055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19056 <libm-alias-double.h>.
19057 (ceil): Define using libm_alias_double.
19058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19059 <libm-alias-double.h>.
19060 (floor): Define using libm_alias_double.
19061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19062 <libm-alias-double.h>.
19063 (modf): Define using libm_alias_double.
19064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19065 <libm-alias-double.h>.
19066 (round): Define using libm_alias_double.
19067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19068 <libm-alias-double.h>.
19069 (trunc): Define using libm_alias_double.
19070 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19071 <libm-alias-double.h>.
19072 (ceil): Define using libm_alias_double.
19073 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19074 <libm-alias-double.h>.
19075 (floor): Define using libm_alias_double.
19076 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19077 <libm-alias-double.h>.
19078 (nearbyint): Define using libm_alias_double.
19079 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19080 <libm-alias-double.h>.
19081 (rint): Define using libm_alias_double.
19082 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19083 <libm-alias-double.h>.
19084 (round): Define using libm_alias_double.
19085 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19086 <libm-alias-double.h>.
19087 (trunc): Define using libm_alias_double.
19088 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19089 <libm-alias-double.h>.
19090 (ceil): Define using libm_alias_double.
19091 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19092 <libm-alias-double.h>.
19093 (floor): Define using libm_alias_double.
19094 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19095 <libm-alias-double.h>.
19096 (round): Define using libm_alias_double.
19097 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19098 <libm-alias-double.h>.
19099 (trunc): Define using libm_alias_double.
19101 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19102 (fabs): Define using libm_alias_double.
19103 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19104 (fma): Define using libm_alias_double.
19105 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19106 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19107 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19108 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19110 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19112 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19114 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19115 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19116 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19119 due redirect macro.
19121 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19123 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19125 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19127 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19128 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19129 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19130 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19133 (libm-sysdep_routines): Add s_nearbyintf-generic and
19134 s_nearbyint-generic.
19135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19148 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19159 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19170 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19181 (sysdep_calls): New rule.
19182 (sysdep_routines): Use sysdep_calls as base.
19183 (libm-sysdep_routines): Add generic rule for symbols shared with
19184 libc. Add s_copysign-generic and s_copysign-generic objects.
19185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19194 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19197 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19198 the list of locales to be built for testing.
19199 * localedata/is_IS.UTF-8.in: New file.
19200 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19203 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19205 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19206 <libm-alias-float.h>.
19207 (fabsf): Define using libm_alias_float.
19209 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19211 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19213 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19215 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19216 <libm-alias-float.h>.
19217 (fabsf): Define using libm_alias_float.
19218 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19219 <libm-alias-float.h>.
19220 (lrintf): Define using libm_alias_float.
19221 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19222 <libm-alias-float.h>.
19223 (rintf): Define using libm_alias_float.
19225 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19226 <libm-alias-double.h>.
19227 (fabs): Define using libm_alias_double.
19228 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19229 <libm-alias-double.h>.
19230 (lrint): Define using libm_alias_double.
19231 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19232 <libm-alias-double.h>.
19233 (rint): Define using libm_alias_double.
19235 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19236 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19237 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19238 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19239 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19240 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19241 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19242 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19243 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19244 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19245 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19246 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19247 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19248 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19249 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19250 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19251 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19252 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19254 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19255 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19256 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19258 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19259 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19260 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19262 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19263 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19264 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19265 s_expm1_template.c.
19266 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19267 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19268 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19270 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19271 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19272 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19273 s_floor_template.c.
19274 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19275 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19276 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19277 s_frexp_template.c.
19278 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19279 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19280 s_lrint_template.c.
19281 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19282 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19283 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19285 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19286 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19287 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19288 s_nearbyint_template.c.
19289 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19290 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19291 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19292 s_remquo_template.c.
19293 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19294 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19295 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19297 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19298 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19299 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19301 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19302 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19303 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19304 s_sincos_template.c.
19305 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19306 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19307 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19309 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19310 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19311 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19313 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19314 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19315 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19316 s_trunc_template.c.
19317 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19318 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19319 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19320 s_atan.c instead of including s_atan.c.
19321 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19322 s_atanf.c instead of including s_atanf.c.
19323 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19324 s_atanl.c instead of including s_atanl.c.
19325 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19326 instead of s_atan.c.
19327 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19328 instead of s_atanf.c.
19329 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19330 instead of s_atanl.c.
19332 * scripts/update-copyrights: Do not handle intl/plural.c
19335 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19338 * configure.ac (BISON): Require to be present.
19339 * configure: Regenerated.
19340 * intl/Makefile (generated): Add plural.c.
19341 [$(BISON) != no]: Make code unconditional.
19342 (plural.c): Change rule to $(objpfx)plural.c.
19343 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19344 * intl/plural.c: Remove.
19345 * manual/install.texi (Tools for Compilation): Document bison as
19347 * INSTALL: Regenerated.
19349 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19351 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19352 <libm-alias-double.h>.
19353 (llrint): Define using libm_alias_double.
19354 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19355 <libm-alias-float.h>.
19356 (llrintf): Define using libm_alias_float.
19357 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19358 <libm-alias-ldouble.h>.
19359 (llrintl): Define using libm_alias_ldouble.
19361 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19362 declare_mgen_alias instead of weak_alias.
19363 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19364 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19365 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19367 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19369 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19371 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19372 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19373 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19375 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19376 Add submul_1-generic.
19377 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19378 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19379 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19381 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19382 Add addmul_1-generic.
19383 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19384 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19385 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19387 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19389 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19390 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19391 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19393 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19395 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19396 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19397 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19399 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19401 According to CLDR, collation rules for Serbian and Bosnian
19402 should be the same as for Croatian.
19405 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19406 and to the list of locales to be built for testing.
19407 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19408 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19409 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19410 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19412 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19414 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19415 to make test case pass.
19416 * localedata/hr_HR.UTF-8.in: Add more test strings.
19418 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19420 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19422 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19424 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19425 the list of locales to built for testing.
19426 * localedata/hr_HR.UTF-8.in: New file.
19428 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19431 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19433 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19434 CLDR (except use ligatures for the digraphs, CLDR does not use
19435 the ligatures), add first_workday, some fixes in the date and time
19437 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19439 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19440 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19441 Add int_p_cs_precedes and int_n_cs_precedes.
19442 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19443 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19445 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19446 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19448 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19449 and lang_lib. Change postal_fmt.
19451 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19453 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19455 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19456 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19457 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19458 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19459 * sysdeps/generic/setjmpP.h: New file.
19460 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19461 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19462 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19463 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19464 Add jmp_buf-ssp.sym.
19465 (tests): Add tst-saved_mask-1.
19467 2017-11-30 Arjun Shankar <arjun@redhat.com>
19471 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19472 instead of request2size.
19474 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19477 (__lllrint): Remove alias.
19478 (lllrint): Likewise.
19479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19480 (__lllrintf): Likewise.
19481 (lllrintf): Likewise.
19483 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19484 <libm-alias-float.h>.
19485 (copysignf): Define using libm_alias_float.
19486 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19487 <libm-alias-float.h>.
19488 (fabsf): Define using libm_alias_float.
19489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19490 Include <libm-alias-float.h>.
19491 (copysignf): Define using libm_alias_float.
19492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19493 <libm-alias-float.h>.
19494 (fabsf): Define using libm_alias_float.
19495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19496 <libm-alias-float.h>.
19497 (fdimf): Define using libm_alias_float.
19498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19499 <libm-alias-float.h>.
19500 (fmaf): Define using libm_alias_float.
19501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19502 <libm-alias-float.h>.
19503 (llrintf): Define using libm_alias_float.
19504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19505 Include <libm-alias-float.h>.
19506 (nearbyintf): Define using libm_alias_float.
19507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19508 <libm-alias-float.h>.
19509 (rintf): Define using libm_alias_float.
19510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19511 <libm-alias-float.h>.
19512 (llrintf): Define using libm_alias_float.
19513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19514 <libm-alias-float.h>.
19515 (lrintf): Define using libm_alias_float.
19516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19517 <libm-alias-float.h>.
19518 (nearbyintf): Define using libm_alias_float.
19519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19520 <libm-alias-float.h>.
19521 (rintf): Define using libm_alias_float.
19522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19523 <libm-alias-float.h>.
19524 (ceilf): Define using libm_alias_float.
19525 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19526 <libm-alias-float.h>.
19527 (floorf): Define using libm_alias_float.
19528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19529 <libm-alias-float.h>.
19530 (fmaf): Define using libm_alias_float.
19531 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19532 <libm-alias-float.h>.
19533 (lrintf): Define using libm_alias_float.
19534 (llrintf): Likewise.
19535 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19536 <libm-alias-float.h>.
19537 (nearbyintf): Define using libm_alias_float.
19538 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19539 <libm-alias-float.h>.
19540 (rintf): Define using libm_alias_float.
19541 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19542 <libm-alias-float.h>.
19543 (truncf): Define using libm_alias_float.
19544 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19545 <libm-alias-float.h>.
19546 (copysignf): Define using libm_alias_float.
19547 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19548 <libm-alias-float.h>.
19549 (fabsf): Define using libm_alias_float.
19550 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19551 <libm-alias-float.h>.
19552 (lrintf): Define using libm_alias_float.
19553 (llrintf): Likewise.
19554 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19555 <libm-alias-float.h>.
19556 (nearbyintf): Define using libm_alias_float.
19557 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19558 <libm-alias-float.h>.
19559 (rintf): Define using libm_alias_float.
19561 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19563 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19564 <libm-alias-double.h>.
19565 (copysign): Define using libm_alias_double.
19566 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19567 <libm-alias-double.h>.
19568 (fabs): Define using libm_alias_double.
19569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19570 Include <libm-alias-double.h>.
19571 (copysign): Define using libm_alias_double.
19572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19573 <libm-alias-double.h>.
19574 (fabs): Define using libm_alias_double.
19575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19576 <libm-alias-double.h>.
19577 (fdim): Define using libm_alias_double.
19578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19579 <libm-alias-double.h>.
19580 (fma): Define using libm_alias_double.
19581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19582 <libm-alias-double.h>.
19583 (llrint): Define using libm_alias_double.
19584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19585 Include <libm-alias-double.h>.
19586 (nearbyint): Define using libm_alias_double.
19587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19588 <libm-alias-double.h>.
19589 (rint): Define using libm_alias_double.
19590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19591 <libm-alias-double.h>.
19592 (fabs): Define using libm_alias_double.
19593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19594 <libm-alias-double.h>.
19595 (llrint): Define using libm_alias_double.
19596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19597 <libm-alias-double.h>.
19598 (nearbyint): Define using libm_alias_double.
19599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19600 <libm-alias-double.h>.
19601 (rint): Define using libm_alias_double.
19602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19603 <libm-alias-double.h>.
19604 (ceil): Define using libm_alias_double.
19605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19606 <libm-alias-double.h>.
19607 (floor): Define using libm_alias_double.
19608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19609 <libm-alias-double.h>.
19610 (fma): Define using libm_alias_double.
19611 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19612 <libm-alias-double.h>.
19613 (lrint): Define using libm_alias_double.
19614 (llrint): Likewise.
19615 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19616 <libm-alias-double.h>.
19617 (nearbyint): Define using libm_alias_double.
19618 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19619 <libm-alias-double.h>.
19620 (rint): Define using libm_alias_double.
19621 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19622 <libm-alias-double.h>.
19623 (trunc): Define using libm_alias_double.
19624 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19625 <libm-alias-double.h>.
19626 (copysign): Define using libm_alias_double.
19627 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19628 <libm-alias-double.h>.
19629 (fabs): Define using libm_alias_double.
19630 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19631 <libm-alias-double.h>.
19632 (lrint): Define using libm_alias_double.
19633 (llrint): Likewise.
19634 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19635 <libm-alias-double.h>.
19636 (nearbyint): Define using libm_alias_double.
19637 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19638 <libm-alias-double.h>.
19639 (rint): Define using libm_alias_double.
19642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19644 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19646 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19647 SPARC --disable-multi-arch glibc variants.
19649 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19650 <libm-alias-float.h>.
19651 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19653 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19654 <libm-alias-float.h>.
19655 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19657 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19658 <libm-alias-float.h>.
19659 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19661 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19662 <libm-alias-float.h>.
19663 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19665 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19666 <libm-alias-float.h>.
19667 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19669 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19670 <libm-alias-float.h>.
19671 (ceilf): Define using libm_alias_float.
19672 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19673 <libm-alias-float.h>.
19674 (floorf): Define using libm_alias_float.
19675 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19676 <libm-alias-float.h>.
19677 (fmaf): Define using libm_alias_float.
19678 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19679 <libm-alias-float.h>.
19680 (nearbyintf): Define using libm_alias_float.
19681 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19682 <libm-alias-float.h>.
19683 (rintf): Define using libm_alias_float.
19684 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19685 <libm-alias-float.h>.
19686 (truncf): Define using libm_alias_float.
19687 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19688 (copysignf): Define using libm_alias_float.
19689 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19690 (cosf): Define using libm_alias_float.
19691 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19692 (fabsf): Define using libm_alias_float.
19693 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19694 (fmaxf): Define using libm_alias_float.
19695 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19696 (fminf): Define using libm_alias_float.
19697 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19698 (llrintf): Define using libm_alias_float.
19699 [!__ILP32__] (lrintf): Likewise.
19700 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19701 (sincosf): Define using libm_alias_float.
19702 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19703 (sinf): Define using libm_alias_float.
19704 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19705 (lrintf): Define using libm_alias_float.
19707 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19708 <libm-alias-double.h>.
19709 (atan): Define using libm_alias_double.
19710 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19711 <libm-alias-double.h>.
19712 (ceil): Define using libm_alias_double.
19713 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19714 <libm-alias-double.h>.
19715 (floor): Define using libm_alias_double.
19716 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19717 <libm-alias-double.h>.
19718 (fma): Define using libm_alias_double.
19719 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19720 <libm-alias-double.h>.
19721 (nearbyint): Define using libm_alias_double.
19722 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19723 <libm-alias-double.h>.
19724 (rint): Define using libm_alias_double.
19725 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19726 <libm-alias-double.h>.
19727 (sin): Define using libm_alias_double.
19729 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19730 <libm-alias-double.h>.
19731 (tan): Define using libm_alias_double.
19732 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19733 <libm-alias-double.h>.
19734 (trunc): Define using libm_alias_double.
19735 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19736 (copysign): Define using libm_alias_double.
19737 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19738 (fabs): Define using libm_alias_double.
19739 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19740 (fmax): Define using libm_alias_double.
19741 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19742 (fmin): Define using libm_alias_double.
19743 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19744 (llrint): Define using libm_alias_double.
19745 [!__ILP32__] (lrint): Likewise.
19746 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19747 (lrint): Define using libm_alias_double.
19749 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19751 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19752 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19755 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19758 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19759 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19761 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19762 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19766 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19772 (libm-sysdep_routines): Add s_nearbyint-generic and
19773 s_nearbyintf-generic objects.
19774 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19775 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19776 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19777 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19778 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19779 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19781 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19782 Add s_finitef-generic and s_finite-generic objects.
19783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19785 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19786 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19787 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19788 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19791 Add s_isinff-generic and s_isinf-generic objects.
19792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19799 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19800 Add s_isnanf-generic and s_isnan-generic objects.
19801 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19802 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
19806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19808 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
19810 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
19812 (sysdep_routines): Use sysdep_calls as base.
19813 (libm-sysdep_routines): Add generic rule for symbols shared with
19814 libc. Add s_signbit-generic and s_signbitf-generic objects.
19815 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
19816 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
19817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
19818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
19819 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
19820 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19822 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19824 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
19825 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
19826 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
19827 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
19828 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
19829 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
19830 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
19831 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
19832 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
19833 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
19834 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
19835 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
19836 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
19837 libm_alias_float_r.
19838 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
19839 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
19841 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
19842 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
19843 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
19844 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
19845 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
19846 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
19847 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
19848 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
19849 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
19850 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
19852 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
19854 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
19855 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
19856 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
19857 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
19858 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
19859 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
19860 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
19861 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
19862 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
19863 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
19864 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
19865 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
19866 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
19867 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
19868 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
19869 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
19870 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
19871 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
19872 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
19874 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
19875 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
19876 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
19877 * sysdeps/ia64/fpu/w_lgammaf_main.c
19878 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
19879 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
19881 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19882 Alexandre Oliva <aoliva@redhat.com>
19885 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
19886 * localedata/fr_CA.UTF-8.in: New file with test data for backward
19888 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
19890 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
19891 * localedata/locales/de_DE (LC_COLLATE): Likewise.
19892 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
19893 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
19894 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
19895 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
19896 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
19897 instead of “ifdef DIACRIT_BACKWARD”.
19899 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19901 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
19902 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
19903 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
19904 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
19905 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
19906 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
19907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
19908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
19909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
19910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
19911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
19912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
19913 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
19914 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
19915 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
19916 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19917 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
19918 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
19919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19920 ($(have-as-vis3) == yes): Remove conditional.
19921 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
19923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
19925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
19927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
19929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
19931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
19932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
19933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
19934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
19935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
19936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
19937 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
19938 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
19940 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19942 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
19943 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
19944 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
19945 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
19946 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
19947 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
19948 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
19949 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
19950 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
19951 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
19952 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
19953 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
19954 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
19955 libm_alias_double_r.
19956 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
19958 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
19959 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
19960 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
19961 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
19962 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
19963 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
19964 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
19965 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
19966 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
19967 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
19968 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
19970 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
19972 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
19973 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
19974 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
19975 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
19976 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
19977 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
19978 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
19979 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
19980 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
19981 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
19982 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
19983 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
19984 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
19985 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
19986 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
19987 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
19988 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
19989 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
19991 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
19992 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
19993 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
19994 * sysdeps/ia64/fpu/w_lgamma_main.c
19995 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
19996 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
19998 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20000 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20001 address of $global$ into %dp register earlier. Use pc-relative
20002 instruction sequence for PIC case.
20004 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20006 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20007 (asinhf): Define using libm_alias_float.
20008 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20009 (atanf): Define using libm_alias_float.
20010 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20011 (cbrtf): Define using libm_alias_float.
20012 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20013 (ceilf): Define using libm_alias_float.
20014 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20015 (copysignf): Define using libm_alias_float.
20016 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20017 (expm1f): Define using libm_alias_float.
20018 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20019 (fabsf): Define using libm_alias_float.
20020 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20021 (floorf): Define using libm_alias_float.
20022 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20023 (fmaxf): Define using libm_alias_float.
20024 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20025 (fminf): Define using libm_alias_float.
20026 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20027 (frexpf): Define using libm_alias_float.
20028 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20029 (llrintf): Define using libm_alias_float.
20030 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20031 (logbf): Define using libm_alias_float.
20032 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20033 (lrintf): Define using libm_alias_float.
20034 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20035 (nearbyintf): Define using libm_alias_float.
20036 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20037 (remquof): Define using libm_alias_float.
20038 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20039 (rintf): Define using libm_alias_float.
20040 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20041 (truncf): Define using libm_alias_float.
20042 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20043 <libm-alias-float.h>.
20044 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20046 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20047 <libm-alias-float.h>.
20048 (expf): Define using libm_alias_float, or libm_alias_float_other
20050 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20051 <libm-alias-float.h>.
20052 (log2f): Define using libm_alias_float, or libm_alias_float_other
20054 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20055 <libm-alias-float.h>.
20056 (logf): Define using libm_alias_float, or libm_alias_float_other
20058 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20059 <libm-alias-float.h>.
20060 (powf): Define using libm_alias_float, or libm_alias_float_other
20062 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20063 <libm-alias-float.h>.
20064 (cosf): Define using libm_alias_float.
20065 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20066 <libm-alias-float.h>.
20067 (sincosf): Define using libm_alias_float.
20068 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20069 <libm-alias-float.h>.
20070 (sinf): Define using libm_alias_float.
20071 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20072 (fmaxf): Define using libm_alias_float.
20073 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20074 (fminf): Define using libm_alias_float.
20075 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20076 <libm-alias-float.h>.
20077 (fmaf): Define using libm_alias_float.
20079 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20080 (asinh): Define using libm_alias_double.
20081 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20082 (atan): Define using libm_alias_double.
20083 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20084 (cbrt): Define using libm_alias_double.
20085 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20086 (ceil): Define using libm_alias_double.
20087 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20088 (copysign): Define using libm_alias_double.
20089 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20090 (expm1): Define using libm_alias_double.
20091 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20092 (fabs): Define using libm_alias_double.
20093 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20094 (fdim): Define using libm_alias_double.
20095 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20096 (floor): Define using libm_alias_double.
20097 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20098 (fmax): Define using libm_alias_double.
20099 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20100 (fmin): Define using libm_alias_double.
20101 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20102 (frexp): Define using libm_alias_double.
20103 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20104 (llrint): Define using libm_alias_double.
20105 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20106 (logb): Define using libm_alias_double.
20107 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20108 (lrint): Define using libm_alias_double.
20109 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20110 (nearbyint): Define using libm_alias_double.
20111 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20112 (remquo): Define using libm_alias_double.
20113 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20114 (rint): Define using libm_alias_double.
20115 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20116 (trunc): Define using libm_alias_double.
20117 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20118 (fmax): Define using libm_alias_double.
20119 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20120 (fmin): Define using libm_alias_double.
20121 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20122 (fma): Define using libm_alias_double.
20124 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20127 * elf/dl-hwcaps.c (ROUND): Removed.
20128 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20129 and ELF_NOTE_NEXT_OFFSET.
20130 * elf/dl-load.c (ROUND): Removed.
20131 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20132 * elf/readelflib.c (ROUND): Removed.
20133 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20134 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20135 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20136 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20138 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20140 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20141 [!__fmaf] (fmaf): Define using libm_alias_float.
20143 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20144 [!__fma] (fma): Define using libm_alias_double.
20145 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20147 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20150 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20151 and implement the collation rules for cs from CLDR on top of that.
20152 * Makefile: Add cs_CZ.UTF-8 to test-input.
20153 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20155 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20157 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20159 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20160 Icarus Sparry <icarus.w.sparry@intel.com>
20162 * benchtests/Makefile:Add BENCHSET to allow subsets of
20163 benchmarks to be run.
20164 * benchtests/README: Add documentation for: Running subsets of
20167 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20169 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20170 range of tests names.
20172 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20173 result from property and remove "max", min" and "mean" from
20174 required properties based on benchtests/bench-skeleton.c.
20176 2017-11-28 Florian Weimer <fweimer@redhat.com>
20179 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20180 due to Internet requirement.
20181 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20183 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20185 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20187 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20188 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20189 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20190 (sysdep_routines): Add memset-ultra1.
20191 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20193 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20194 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20195 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20196 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20197 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20198 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20199 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20200 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20202 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20204 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20205 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20206 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20207 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20208 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20209 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20210 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20212 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20213 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20214 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20215 (sysdep_routines): Add memcpy-ultra1.
20216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20217 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20219 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20221 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20222 (cfloat_versions): Take function argument without trailing 'f'.
20223 Call libm_alias_float_other.
20224 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20225 * sysdeps/alpha/fpu/cargf.c: Likewise.
20226 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20227 * sysdeps/alpha/fpu/conjf.c: Likewise.
20228 * sysdeps/alpha/fpu/crealf.c: Likewise.
20229 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20230 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20231 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20232 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20233 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20234 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20235 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20236 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20237 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20238 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20239 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20240 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20241 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20242 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20243 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20244 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20245 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20246 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20247 (clog10f): Use libm_alias_float_other.
20248 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20249 (ceilf): Define using libm_alias_float.
20250 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20251 (copysignf): Define using libm_alias_float.
20252 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20253 (fabsf): Define using libm_alias_float.
20254 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20255 (floorf): Define using libm_alias_float.
20256 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20257 (fmaxf): Define using libm_alias_float.
20258 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20259 (fminf): Define using libm_alias_float.
20260 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20261 (lrintf): Define using libm_alias_float.
20262 (llrintf): Likewise.
20263 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20264 (lroundf): Define using libm_alias_float.
20265 (llroundf): Likewise.
20266 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20267 (rintf): Define using libm_alias_float.
20268 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20269 (truncf): Define using libm_alias_float.
20271 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20272 (ceilf): Define using libm_alias_float.
20273 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20274 (floorf): Define using libm_alias_float.
20275 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20276 (fmaf): Define using libm_alias_float.
20277 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20278 (fmaxf): Define using libm_alias_float.
20279 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20280 (fminf): Define using libm_alias_float.
20281 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20282 (llrintf): Define using libm_alias_float.
20283 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20284 (llroundf): Define using libm_alias_float.
20285 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20286 (lrintf): Define using libm_alias_float.
20287 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20288 (lroundf): Define using libm_alias_float.
20289 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20290 <libm-alias-float.h>.
20291 (nearbyintf): Define using libm_alias_float.
20292 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20293 (rintf): Define using libm_alias_float.
20294 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20295 (roundf): Define using libm_alias_float.
20296 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20297 (truncf): Define using libm_alias_float.
20299 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20300 (ceil): Define using libm_alias_double.
20301 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20302 (copysign): Define using libm_alias_double.
20303 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20304 (fabs): Define using libm_alias_double.
20305 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20306 (floor): Define using libm_alias_double.
20307 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20308 (fmax): Define using libm_alias_double.
20309 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20310 (fmin): Define using libm_alias_double.
20311 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20312 (lrint): Define using libm_alias_double.
20313 (llrint): Likewise.
20314 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20315 (lround): Define using libm_alias_double.
20316 (llround): Likewise.
20317 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20318 (rint): Define using libm_alias_double.
20319 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20320 (trunc): Define using libm_alias_double.
20322 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20323 (libm_alias_double_r): Add semicolon after weak_alias call.
20325 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20327 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20328 (ceil): Define using libm_alias_double.
20329 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20330 (floor): Define using libm_alias_double.
20331 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20332 (fma): Define using libm_alias_double.
20333 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20334 (fmax): Define using libm_alias_double.
20335 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20336 (fmin): Define using libm_alias_double.
20337 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20338 (llrint): Define using libm_alias_double.
20339 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20340 (llround): Define using libm_alias_double.
20341 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20342 (lrint): Define using libm_alias_double.
20343 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20344 (lround): Define using libm_alias_double.
20345 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20346 (nearbyint): Define using libm_alias_double.
20347 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20348 (rint): Define using libm_alias_double.
20349 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20350 (round): Define using libm_alias_double.
20351 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20352 (trunc): Define using libm_alias_double.
20354 2017-11-27 Florian Weimer <fweimer@redhat.com>
20356 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20357 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20358 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20359 (tests): Add tst-mlock2.
20360 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20361 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20362 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20363 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20364 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20365 for mlock. Document mlock2.
20367 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20369 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20370 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20372 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20374 * sysdeps/x86/Makeconfig: New file.
20375 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20376 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20377 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20378 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20379 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20380 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20381 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20383 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20384 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20385 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20386 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20387 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20388 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20389 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20390 * manual/math.texi (Mathematics): Document support for _Float64x.
20391 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20392 * stdlib/Versions (GLIBC_2.27): Likewise.
20393 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20394 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20395 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20396 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20397 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20398 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20399 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20400 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20401 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20402 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20403 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20404 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20409 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20410 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20411 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20412 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20413 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20414 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20415 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20416 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20417 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20418 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20419 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20420 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20421 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20422 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20424 2017-11-27 Andreas Schwab <schwab@suse.de>
20426 * elf/Makefile (dl-routines): Add dl-sort-maps.
20427 * elf/dl-sort-maps.c: New file.
20428 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20429 (_dl_sort_maps): Declare.
20430 * elf/dl-fini.c (_dl_sort_fini): Remove.
20431 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20432 * elf/dl-close.c (_dl_close_worker): Likewise.
20433 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20435 * elf/dl-open.c (dl_open_worker): Likewise.
20437 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20439 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20440 using libm_alias_float128.
20441 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20443 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20445 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20446 (setpayloadsigf128): Likewise.
20447 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20449 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20452 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20453 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20454 -mfloat128 to CFLAGS.
20456 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20458 (CFLAGS-libm-test-support-float64x.c): New variable.
20459 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20460 $(f128-loader-link) to gnulib-tests.
20462 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20463 (libm_alias_float128_other_r): If
20464 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20466 (libm_alias_float128_r): Add semicolon after weak_alias call.
20467 * sysdeps/generic/libm-alias-ldouble.h
20468 (libm_alias_ldouble_other_r_f128): New macro.
20469 (libm_alias_ldouble_other_r_f64x): Likewise.
20470 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20471 and libm_alias_ldouble_other_r_f64x.
20472 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20473 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20474 (libm_alias_ldouble_other_r_f128): New macro.
20475 (libm_alias_ldouble_other_r_f64x): Likewise.
20476 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20477 and libm_alias_ldouble_other_r_f64x.
20479 * stdlib/strfroml.c: Always include <stdlib.h>.
20480 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20481 undefine as macro and define as weak alias.
20482 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20483 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20485 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20486 Define and later undefine as macro and define as weak alias.
20488 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20489 Define and later undefine as macro. Define as weak alias if
20491 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20492 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20493 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20494 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20495 Define and later undefine as macro. Define as weak alias if
20497 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20498 Define and later undefine as macro. Define as weak alias if
20500 * sysdeps/ieee754/float128/strtof128_l.c
20501 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20502 Define and later undefine as macro. Define as weak alias if
20504 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20505 Define and later undefine as macro. Define as weak alias if
20507 * sysdeps/ieee754/ldbl-128/strtold_l.c
20508 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20509 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20510 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20511 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20512 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20513 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20514 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20515 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20516 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20517 * sysdeps/ieee754/ldbl-96/strtold_l.c
20518 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20519 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20520 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20521 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20523 * math/test-float64x.h: New file.
20524 * math/Makefile (type-float64x-yes): New variable.
20525 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20527 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20528 function-like macro.
20529 (min_of_type_): Likewise.
20530 (min_of_type_l): Likewise.
20531 (min_of_type_f128): Likewise.
20532 (min_of_type): Pass () as last argument of __MATH_TG.
20534 * stdlib/tst-strtod-round-skeleton.c
20535 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20538 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20539 for combinations of long double with _Float64 and _Float64x.
20541 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20542 (__DECL_SIMD_cosf32): Likewise.
20543 (__DECL_SIMD_cosf64): Likewise.
20544 (__DECL_SIMD_cosf32x): Likewise.
20545 (__DECL_SIMD_cosf64x): Likewise.
20546 (__DECL_SIMD_cosf128x): Likewise.
20547 (__DECL_SIMD_sinf16): Likewise.
20548 (__DECL_SIMD_sinf32): Likewise.
20549 (__DECL_SIMD_sinf64): Likewise.
20550 (__DECL_SIMD_sinf32x): Likewise.
20551 (__DECL_SIMD_sinf64x): Likewise.
20552 (__DECL_SIMD_sinf128x): Likewise.
20553 (__DECL_SIMD_sincosf16): Likewise.
20554 (__DECL_SIMD_sincosf32): Likewise.
20555 (__DECL_SIMD_sincosf64): Likewise.
20556 (__DECL_SIMD_sincosf32x): Likewise.
20557 (__DECL_SIMD_sincosf64x): Likewise.
20558 (__DECL_SIMD_sincosf128x): Likewise.
20559 (__DECL_SIMD_logf16): Likewise.
20560 (__DECL_SIMD_logf32): Likewise.
20561 (__DECL_SIMD_logf64): Likewise.
20562 (__DECL_SIMD_logf32x): Likewise.
20563 (__DECL_SIMD_logf64x): Likewise.
20564 (__DECL_SIMD_logf128x): Likewise.
20565 (__DECL_SIMD_expf16): Likewise.
20566 (__DECL_SIMD_expf32): Likewise.
20567 (__DECL_SIMD_expf64): Likewise.
20568 (__DECL_SIMD_expf32x): Likewise.
20569 (__DECL_SIMD_expf64x): Likewise.
20570 (__DECL_SIMD_expf128x): Likewise.
20571 (__DECL_SIMD_powf16): Likewise.
20572 (__DECL_SIMD_powf32): Likewise.
20573 (__DECL_SIMD_powf64): Likewise.
20574 (__DECL_SIMD_powf32x): Likewise.
20575 (__DECL_SIMD_powf64x): Likewise.
20576 (__DECL_SIMD_powf128x): Likewise.
20578 * stdlib/Versions (libc): Move entries for wcstof128 and
20579 wcstof128_l to ....
20580 * wcsmbs/Versions (libc): ... here.
20581 Include <float128-abi.h>.
20583 2017-11-24 Florian Weimer <fweimer@redhat.com>
20585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20586 bits/mman-shared.h.
20587 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20588 <bits/mman-shared.h>.
20589 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20591 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20592 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20593 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20594 <bits/mman-shared.h>.
20596 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20599 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20600 posix_memalign/free.
20601 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20603 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20606 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20607 and implement the collation rules for pl from CLDR on top of that.
20608 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20609 of locales to be built for testing.
20610 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20612 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20614 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20615 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20616 libm_alias_ldouble_other.
20617 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20618 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20619 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20620 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20621 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20622 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20623 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20624 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20625 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20626 libm_alias_ldouble_r.
20627 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20628 libm_alias_ldouble_other.
20629 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20630 (log10l): Likewise.
20631 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20632 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20633 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20634 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20635 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20636 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20637 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20638 (atan2l): Likewise.
20639 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20640 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20641 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20642 libm_alias_ldouble.
20643 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20645 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20646 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20647 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20649 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20650 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20651 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20652 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20653 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20654 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20655 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20656 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20657 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20658 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20659 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20660 libm_alias_ldouble.
20661 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20662 libm_alias_ldouble_other.
20663 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20664 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20665 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20666 libm_alias_ldouble.
20667 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20668 libm_alias_ldouble_other.
20669 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20670 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20671 * sysdeps/ia64/fpu/w_lgammal_main.c
20672 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20673 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20675 2017-11-23 Florian Weimer <fweimer@redhat.com>
20677 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20678 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20679 alike. Remove freeres marker.
20680 * malloc/arena.c (arena_thread_freeres): Call
20681 tcache_thread_shutdown.
20683 2017-11-23 Florian Weimer <fweimer@redhat.com>
20686 Export nscd hash function as __nss_hash.
20687 * include/nss.h (__nss_hash): Declare.
20688 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20690 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20691 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20693 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20694 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20695 * nss/Makefiles (routines): Add nss_hash.
20696 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20697 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20698 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20699 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20701 2017-11-23 Florian Weimer <fweimer@redhat.com>
20704 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20705 Return error code, not -1.
20706 * signal/tst-sigwait-eintr.c: New file.
20707 * signal/Makefile (tests): Add tst-sigwait-eintr.
20709 2017-11-23 Florian Weimer <fweimer@redhat.com>
20711 Linux: Add memfd_create system call wrapper
20712 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20714 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20715 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20716 [__USE_GNU] (memfd_create): Declare.
20717 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20718 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20719 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20720 * sysdeps/unix/sysv/linux/**.abilist: Update.
20721 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20723 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20725 * localedata/gen-locale.sh: Fix typo in variable name.
20727 * resolv/res_debug.c (p_secstodate): Condition definition on
20728 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20729 directly as __p_secstodate, and as a compat symbol. Do not use
20730 libresolv_hidden_def.
20731 * resolv/resolv.h (p_secstodate): Remove macro and function
20733 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20734 using p_secstodate.
20735 * include/resolv.h (__p_secstodate): Do not use
20736 libresolv_hidden_proto.
20737 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20738 (tests-internal): ... here.
20739 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20740 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20741 and declare and use __p_secstodate and use compat_symbol_reference
20743 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20744 implementation returning 77.
20747 * resolv/res_debug.c: Include <libc-diag.h>.
20748 (p_secstodate): Assert time_t at least as wide as u_long. On
20749 overflow, use integer seconds since the epoch as output, or use
20750 "<overflow>" as output and set errno to EOVERFLOW if integer
20751 seconds since the epoch would be 14 or more characters.
20752 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20754 * resolv/tst-p_secstodate.c: New file.
20755 * resolv/Makefile (tests): Add tst-p_secstodate.
20756 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20758 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20759 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20760 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20762 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20764 * posix/regcomp.c (init_word_char): Add comments.
20766 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20769 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20770 strlen to compute length of ut_user and set trailing NUL byte of
20773 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20776 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20777 using “copy "iso14651_t1"” and then implementing the
20778 collation rules for lv from CLDR on top of that.
20779 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20780 of locales to be built for testing.
20781 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20784 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20786 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20787 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20788 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20789 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20790 [__USE_MISC] (MADV_HWPOISON): New macro.
20791 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20793 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20795 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20796 -Wmissing-braces on GCC 4.9.
20798 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20800 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20801 * sysdeps/s390/s390-32/start.S (_start): Likewise
20802 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20803 (thread_start): Likewise.
20804 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20805 (thread_start): Likewise.
20806 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
20807 (__makecontext_ret): Likewise.
20808 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
20809 (__makecontext_ret): Likewise.
20811 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20813 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
20814 __wcschrnul): Remove attribute_hidden.
20816 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
20818 regex: don't assume uint64_t or uint32_t
20819 This avoids -Werror=overflow errors for 32-bit systems in
20820 the 64-bit case. Problem reported by Joseph Myers in:
20821 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
20822 Also, when this code is used in Gnulib it ports to platforms
20823 that lack uint64_t and uint32_t. The C standard doesn't guarantee
20824 them, and on some 32-bit compilers there is no uint64_t.
20825 Problem reported by Gianluigi Tiesi in:
20826 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
20827 * posix/regcomp.c (init_word_char): Don't assume that the types
20828 uint64_t and uint32_t exist. Adapted from Gnulib patch
20829 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
20830 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
20832 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
20834 * sysdeps/aarch64/memset-reg.h: New file.
20835 * sysdeps/aarch64/memset.S: Use it.
20836 (__memset): Rename to MEMSET macro.
20837 [ZVA_MACRO]: Use zva_macro.
20838 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20839 Add memset_generic and memset_falkor.
20840 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
20841 (__libc_ifunc_impl_list): Add memset ifuncs.
20842 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
20843 local variable zva_size.
20844 * sysdeps/aarch64/multiarch/memset.c: New file.
20845 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
20846 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
20847 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
20848 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
20849 (DCZID_DZP_MASK): New macro.
20850 (DCZID_BS_MASK): Likewise.
20851 (init_cpu_features): Read and set zva_size.
20852 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
20853 (struct cpu_features): New member zva_size.
20855 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
20856 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
20857 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
20859 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
20860 backwards. Fix timing computation.
20861 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
20862 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
20863 on memset by N at a time. Fix timing computation.
20865 2017-11-20 Florian Weimer <fweimer@redhat.com>
20867 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
20868 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
20870 2017-11-19 Florian Weimer <fweimer@redhat.com>
20872 manual: Document mprotect
20873 * manual/memory.texi (Memory Protection): New section.
20874 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
20875 documentation of PROT_* flags and reference the Memory Protection
20878 2017-11-19 Florian Weimer <fweimer@redhat.com>
20880 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
20881 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
20882 (Scatter-Gather): ... to here. Remove misleading comment.
20884 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
20886 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
20889 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
20890 when /proc/<pid>/setgroups does not exist.
20892 2017-11-18 Florian Weimer <fweimer@redhat.com>
20894 * sysdeps/unix/sysv/linux/tst-ttyname.c
20895 (become_root_in_mount_ns): Remove.
20896 (do_in_chroot_1): Call support_enter_mount_namespace.
20897 (do_in_chroot_2): Likewise.
20898 (do_test): Call support_become_root early.
20900 2017-11-18 Florian Weimer <fweimer@redhat.com>
20902 * support/namespace.h (support_enter_mount_namespace): Declare.
20903 * support/support_enter_mount_namespace.c: New file.
20904 * support/Makefile (libsupport-routines): Add
20905 support_enter_mount_namespace.
20907 2017-11-18 Florian Weimer <fweimer@redhat.com>
20909 * support/temp_file.c (support_create_temp_directory): Use
20910 test_dir and do not rely on the presence of the XXXXXX suffix.
20911 * support/temp_file.h (support_create_temp_directory): Update
20913 * support/tst-xreadlink.c (do_test): Adjust.
20914 * support/support_chroot.c (support_chroot_create): Likewise.
20916 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20918 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
20920 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
20923 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20925 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20926 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20927 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20928 (ceill): Define using libm_alias_ldouble.
20929 * sysdeps/x86_64/fpu/s_copysignl.S: Include
20930 <libm-alias-ldouble.h>.
20931 (copysignl): Define using libm_alias_ldouble.
20932 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20933 (fabsl): Define using libm_alias_ldouble.
20934 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20935 (floorl): Define using libm_alias_ldouble.
20936 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20937 (fmaxl): Define using libm_alias_ldouble.
20938 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20939 (fminl): Define using libm_alias_ldouble.
20940 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20941 (llrintl): Define using libm_alias_ldouble.
20942 (lrintl): Likewise.
20943 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
20944 <libm-alias-ldouble.h>.
20945 (nearbyintl): Define using libm_alias_ldouble.
20946 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20947 (truncl): Define using libm_alias_ldouble.
20948 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
20949 <libm-alias-ldouble.h>.
20950 (lrintl): Define using libm_alias_ldouble.
20952 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20953 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20954 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
20955 (asinhl): Define using libm_alias_ldouble.
20956 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
20957 (atanl): Define using libm_alias_ldouble.
20958 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
20959 (cbrtl): Define using libm_alias_ldouble.
20960 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20961 (ceill): Define using libm_alias_ldouble.
20962 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
20963 (copysignl): Define using libm_alias_ldouble.
20964 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20965 (fabsl): Define using libm_alias_ldouble.
20966 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20967 (floorl): Define using libm_alias_ldouble.
20968 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20969 (fmaxl): Define using libm_alias_ldouble.
20970 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20971 (fminl): Define using libm_alias_ldouble.
20972 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
20973 (frexpl): Define using libm_alias_ldouble.
20974 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20975 (llrintl): Define using libm_alias_ldouble.
20976 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
20977 (logbl): Define using libm_alias_ldouble.
20978 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
20979 (lrintl): Define using libm_alias_ldouble.
20980 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
20981 (nearbyintl): Define using libm_alias_ldouble.
20982 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
20983 (nextafterl): Define using libm_alias_ldouble.
20984 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
20985 (remquol): Define using libm_alias_ldouble.
20986 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
20987 (rintl): Define using libm_alias_ldouble.
20988 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20989 (truncl): Define using libm_alias_ldouble.
20990 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20991 (fmaxl): Define using libm_alias_ldouble.
20992 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20993 (fminl): Define using libm_alias_ldouble.
20995 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
20996 to C syntax instead of availability and properties of types.
20997 * bits/floatn.h [!__ASSEMBLER]: Likewise.
20998 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
20999 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21000 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21001 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21002 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21004 2017-11-17 Florian Weimer <fweimer@redhat.com>
21006 support_become_root: Enable file creation in namespaces.
21007 * support/support_become_root.c (setup_mapping): New function.
21008 (support_become_root): Call it.
21010 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21012 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21015 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21017 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21018 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21020 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21022 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21024 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21027 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21029 * INSTALL: Fix botched up regeneration.
21031 * NEWS: Update sourceare link to https.
21032 * configure.ac: Likewise.
21033 * crypt/md5test-giant.c: Likewise.
21034 * dlfcn/bug-atexit1.c: Likewise.
21035 * dlfcn/bug-atexit2.c: Likewise.
21036 * localedata/README: Likewise.
21037 * malloc/tst-mallocfork.c: Likewise.
21038 * manual/install.texi: Likewise.
21039 * nptl/tst-pthread-getattr.c: Likewise.
21040 * stdio-common/tst-fgets.c: Likewise.
21041 * stdio-common/tst-fwrite.c: Likewise.
21042 * sunrpc/Makefile: Likewise.
21043 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21044 * wcsmbs/tst-mbrtowc2.c: Likewise.
21045 * configure: Regenerate.
21046 * INSTALL: Regenerate.
21048 2017-11-15 Martin Sebor <msebor@redhat.com>
21050 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21051 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21052 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21054 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21057 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21058 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21061 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21062 Defer is_pty check until end of the function.
21063 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21066 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21067 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21068 (ttyname): Likewise.
21069 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21070 (__ttyname_r): Likewise.
21072 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21075 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21077 * manual/terminal.texi (Is It a Terminal):
21078 Mention ENODEV for ttyname and ttyname_r.
21080 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21082 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21083 constant and macro.
21085 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21086 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21087 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21088 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21089 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21090 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21092 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21094 * signal/sigrelse.c (sigrelse): Optimize implementation.
21096 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21097 (__sigpause): Rely on __sigsuspend to implement single thread
21098 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21100 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21102 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21103 kernel version to 4.14.
21105 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21108 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21109 Check if ifname is too long.
21111 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21113 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21115 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21117 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21118 was accidentally lost.
21120 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21122 * localedata/locales/az_IR: Add standard copyright header.
21124 2017-11-15 Florian Weimer <fweimer@redhat.com>
21127 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21128 not just the top one. Output a new "subheaps" statistic.
21130 2017-11-15 Florian Weimer <fweimer@redhat.com>
21133 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21134 under the per-arena lock.
21135 * malloc/Makefile (tests): Add tst-malloc_info.
21136 (tst-malloc_info): Link with libpthread.
21137 * malloc/tst-malloc_info.c: New file.
21139 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21142 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21143 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21144 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21145 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21146 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21147 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21148 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21149 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21150 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21151 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21152 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21153 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21154 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21155 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21156 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21157 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21158 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21159 (__floating_type): Likewise.
21160 (__real_integer_type): Likewise.
21161 (__complex_integer_type): Likewise.
21162 (__expr_is_real): Likewise.
21163 (__tgmath_real_type_sub): Likewise.
21164 (__tgmath_real_type): Likewise.
21165 (__tgmath_complex_type_sub): Likewise.
21166 (__tgmath_complex_type): Likewise.
21167 (__TGMATH_F128): Likewise.
21168 (__TGMATH_CF128): Likewise.
21169 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21171 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21172 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21174 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21176 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21177 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21178 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21179 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21181 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21182 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21184 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21185 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21186 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21188 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21189 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21190 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21194 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21196 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21197 for stpncpy calls for GCC 8.
21198 (test_strncat): Disable -Wstringop-truncation warning for strncat
21199 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21200 strncat call for GCC 7.
21201 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21203 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21206 * string/bug-strncat1.c: Include <libc-diag.h>.
21207 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21209 2017-11-13 Claude Paroz <claude@2xlibre.net>
21212 * localedata/locales/aa_DJ: Improved readibility by replacing
21213 <Uxxxx> sequences in the ASCII printable range by their ASCII
21214 character equivalents.
21215 * localedata/locales/aa_ER: Likewise.
21216 * localedata/locales/aa_ER@saaho: Likewise.
21217 * localedata/locales/aa_ET: Likewise.
21218 * localedata/locales/af_ZA: Likewise.
21219 * localedata/locales/agr_PE: Likewise.
21220 * localedata/locales/ak_GH: Likewise.
21221 * localedata/locales/am_ET: Likewise.
21222 * localedata/locales/anp_IN: Likewise.
21223 * localedata/locales/ar_AE: Likewise.
21224 * localedata/locales/ar_BH: Likewise.
21225 * localedata/locales/ar_DZ: Likewise.
21226 * localedata/locales/ar_EG: Likewise.
21227 * localedata/locales/ar_IN: Likewise.
21228 * localedata/locales/ar_IQ: Likewise.
21229 * localedata/locales/ar_JO: Likewise.
21230 * localedata/locales/ar_KW: Likewise.
21231 * localedata/locales/ar_LB: Likewise.
21232 * localedata/locales/ar_LY: Likewise.
21233 * localedata/locales/ar_MA: Likewise.
21234 * localedata/locales/ar_OM: Likewise.
21235 * localedata/locales/ar_QA: Likewise.
21236 * localedata/locales/ar_SA: Likewise.
21237 * localedata/locales/ar_SD: Likewise.
21238 * localedata/locales/ar_SS: Likewise.
21239 * localedata/locales/ar_SY: Likewise.
21240 * localedata/locales/ar_TN: Likewise.
21241 * localedata/locales/ar_YE: Likewise.
21242 * localedata/locales/as_IN: Likewise.
21243 * localedata/locales/ast_ES: Likewise.
21244 * localedata/locales/ayc_PE: Likewise.
21245 * localedata/locales/az_AZ: Likewise.
21246 * localedata/locales/az_IR: Likewise.
21247 * localedata/locales/be_BY: Likewise.
21248 * localedata/locales/be_BY@latin: Likewise.
21249 * localedata/locales/bem_ZM: Likewise.
21250 * localedata/locales/ber_DZ: Likewise.
21251 * localedata/locales/ber_MA: Likewise.
21252 * localedata/locales/bg_BG: Likewise.
21253 * localedata/locales/bhb_IN: Likewise.
21254 * localedata/locales/bho_IN: Likewise.
21255 * localedata/locales/bi_VU: Likewise.
21256 * localedata/locales/bn_BD: Likewise.
21257 * localedata/locales/bn_IN: Likewise.
21258 * localedata/locales/bo_CN: Likewise.
21259 * localedata/locales/bo_IN: Likewise.
21260 * localedata/locales/br_FR: Likewise.
21261 * localedata/locales/brx_IN: Likewise.
21262 * localedata/locales/bs_BA: Likewise.
21263 * localedata/locales/byn_ER: Likewise.
21264 * localedata/locales/ca_AD: Likewise.
21265 * localedata/locales/ca_ES: Likewise.
21266 * localedata/locales/ca_FR: Likewise.
21267 * localedata/locales/ca_IT: Likewise.
21268 * localedata/locales/ce_RU: Likewise.
21269 * localedata/locales/chr_US: Likewise.
21270 * localedata/locales/cmn_TW: Likewise.
21271 * localedata/locales/crh_UA: Likewise.
21272 * localedata/locales/cs_CZ: Likewise.
21273 * localedata/locales/csb_PL: Likewise.
21274 * localedata/locales/cv_RU: Likewise.
21275 * localedata/locales/cy_GB: Likewise.
21276 * localedata/locales/da_DK: Likewise.
21277 * localedata/locales/de_AT: Likewise.
21278 * localedata/locales/de_BE: Likewise.
21279 * localedata/locales/de_CH: Likewise.
21280 * localedata/locales/de_DE: Likewise.
21281 * localedata/locales/de_IT: Likewise.
21282 * localedata/locales/de_LI: Likewise.
21283 * localedata/locales/de_LU: Likewise.
21284 * localedata/locales/doi_IN: Likewise.
21285 * localedata/locales/dv_MV: Likewise.
21286 * localedata/locales/dz_BT: Likewise.
21287 * localedata/locales/el_CY: Likewise.
21288 * localedata/locales/el_GR: Likewise.
21289 * localedata/locales/en_AG: Likewise.
21290 * localedata/locales/en_AU: Likewise.
21291 * localedata/locales/en_BW: Likewise.
21292 * localedata/locales/en_CA: Likewise.
21293 * localedata/locales/en_DK: Likewise.
21294 * localedata/locales/en_GB: Likewise.
21295 * localedata/locales/en_HK: Likewise.
21296 * localedata/locales/en_IE: Likewise.
21297 * localedata/locales/en_IL: Likewise.
21298 * localedata/locales/en_IN: Likewise.
21299 * localedata/locales/en_NG: Likewise.
21300 * localedata/locales/en_NZ: Likewise.
21301 * localedata/locales/en_PH: Likewise.
21302 * localedata/locales/en_SG: Likewise.
21303 * localedata/locales/en_US: Likewise.
21304 * localedata/locales/en_ZA: Likewise.
21305 * localedata/locales/en_ZM: Likewise.
21306 * localedata/locales/en_ZW: Likewise.
21307 * localedata/locales/eo: Likewise.
21308 * localedata/locales/es_AR: Likewise.
21309 * localedata/locales/es_BO: Likewise.
21310 * localedata/locales/es_CL: Likewise.
21311 * localedata/locales/es_CO: Likewise.
21312 * localedata/locales/es_CR: Likewise.
21313 * localedata/locales/es_CU: Likewise.
21314 * localedata/locales/es_DO: Likewise.
21315 * localedata/locales/es_EC: Likewise.
21316 * localedata/locales/es_ES: Likewise.
21317 * localedata/locales/es_GT: Likewise.
21318 * localedata/locales/es_HN: Likewise.
21319 * localedata/locales/es_MX: Likewise.
21320 * localedata/locales/es_NI: Likewise.
21321 * localedata/locales/es_PA: Likewise.
21322 * localedata/locales/es_PE: Likewise.
21323 * localedata/locales/es_PR: Likewise.
21324 * localedata/locales/es_PY: Likewise.
21325 * localedata/locales/es_SV: Likewise.
21326 * localedata/locales/es_US: Likewise.
21327 * localedata/locales/es_UY: Likewise.
21328 * localedata/locales/es_VE: Likewise.
21329 * localedata/locales/et_EE: Likewise.
21330 * localedata/locales/eu_ES: Likewise.
21331 * localedata/locales/eu_ES@euro: Likewise.
21332 * localedata/locales/fa_IR: Likewise.
21333 * localedata/locales/ff_SN: Likewise.
21334 * localedata/locales/fi_FI: Likewise.
21335 * localedata/locales/fil_PH: Likewise.
21336 * localedata/locales/fo_FO: Likewise.
21337 * localedata/locales/fr_BE: Likewise.
21338 * localedata/locales/fr_CA: Likewise.
21339 * localedata/locales/fr_CH: Likewise.
21340 * localedata/locales/fr_FR: Likewise.
21341 * localedata/locales/fr_LU: Likewise.
21342 * localedata/locales/fur_IT: Likewise.
21343 * localedata/locales/fy_DE: Likewise.
21344 * localedata/locales/fy_NL: Likewise.
21345 * localedata/locales/ga_IE: Likewise.
21346 * localedata/locales/gd_GB: Likewise.
21347 * localedata/locales/gez_ER: Likewise.
21348 * localedata/locales/gez_ET: Likewise.
21349 * localedata/locales/gl_ES: Likewise.
21350 * localedata/locales/gu_IN: Likewise.
21351 * localedata/locales/gv_GB: Likewise.
21352 * localedata/locales/ha_NG: Likewise.
21353 * localedata/locales/hak_TW: Likewise.
21354 * localedata/locales/he_IL: Likewise.
21355 * localedata/locales/hi_IN: Likewise.
21356 * localedata/locales/hif_FJ: Likewise.
21357 * localedata/locales/hne_IN: Likewise.
21358 * localedata/locales/hr_HR: Likewise.
21359 * localedata/locales/hsb_DE: Likewise.
21360 * localedata/locales/ht_HT: Likewise.
21361 * localedata/locales/hu_HU: Likewise.
21362 * localedata/locales/hy_AM: Likewise.
21363 * localedata/locales/i18n: Likewise.
21364 * localedata/locales/ia_FR: Likewise.
21365 * localedata/locales/id_ID: Likewise.
21366 * localedata/locales/ig_NG: Likewise.
21367 * localedata/locales/ik_CA: Likewise.
21368 * localedata/locales/is_IS: Likewise.
21369 * localedata/locales/it_CH: Likewise.
21370 * localedata/locales/it_IT: Likewise.
21371 * localedata/locales/iu_CA: Likewise.
21372 * localedata/locales/ja_JP: Likewise.
21373 * localedata/locales/ka_GE: Likewise.
21374 * localedata/locales/kk_KZ: Likewise.
21375 * localedata/locales/kl_GL: Likewise.
21376 * localedata/locales/kn_IN: Likewise.
21377 * localedata/locales/ko_KR: Likewise.
21378 * localedata/locales/kok_IN: Likewise.
21379 * localedata/locales/ks_IN: Likewise.
21380 * localedata/locales/ks_IN@devanagari: Likewise.
21381 * localedata/locales/ku_TR: Likewise.
21382 * localedata/locales/kw_GB: Likewise.
21383 * localedata/locales/ky_KG: Likewise.
21384 * localedata/locales/lb_LU: Likewise.
21385 * localedata/locales/lg_UG: Likewise.
21386 * localedata/locales/li_BE: Likewise.
21387 * localedata/locales/li_NL: Likewise.
21388 * localedata/locales/lij_IT: Likewise.
21389 * localedata/locales/ln_CD: Likewise.
21390 * localedata/locales/lo_LA: Likewise.
21391 * localedata/locales/lt_LT: Likewise.
21392 * localedata/locales/lv_LV: Likewise.
21393 * localedata/locales/lzh_TW: Likewise.
21394 * localedata/locales/mag_IN: Likewise.
21395 * localedata/locales/mai_IN: Likewise.
21396 * localedata/locales/mg_MG: Likewise.
21397 * localedata/locales/mhr_RU: Likewise.
21398 * localedata/locales/mi_NZ: Likewise.
21399 * localedata/locales/mk_MK: Likewise.
21400 * localedata/locales/ml_IN: Likewise.
21401 * localedata/locales/mn_MN: Likewise.
21402 * localedata/locales/mni_IN: Likewise.
21403 * localedata/locales/mr_IN: Likewise.
21404 * localedata/locales/ms_MY: Likewise.
21405 * localedata/locales/mt_MT: Likewise.
21406 * localedata/locales/my_MM: Likewise.
21407 * localedata/locales/nan_TW: Likewise.
21408 * localedata/locales/nan_TW@latin: Likewise.
21409 * localedata/locales/nb_NO: Likewise.
21410 * localedata/locales/nds_DE: Likewise.
21411 * localedata/locales/nds_NL: Likewise.
21412 * localedata/locales/ne_NP: Likewise.
21413 * localedata/locales/nhn_MX: Likewise.
21414 * localedata/locales/niu_NU: Likewise.
21415 * localedata/locales/niu_NZ: Likewise.
21416 * localedata/locales/nl_AW: Likewise.
21417 * localedata/locales/nl_BE: Likewise.
21418 * localedata/locales/nl_NL: Likewise.
21419 * localedata/locales/nn_NO: Likewise.
21420 * localedata/locales/nr_ZA: Likewise.
21421 * localedata/locales/nso_ZA: Likewise.
21422 * localedata/locales/oc_FR: Likewise.
21423 * localedata/locales/om_ET: Likewise.
21424 * localedata/locales/om_KE: Likewise.
21425 * localedata/locales/or_IN: Likewise.
21426 * localedata/locales/os_RU: Likewise.
21427 * localedata/locales/pa_IN: Likewise.
21428 * localedata/locales/pa_PK: Likewise.
21429 * localedata/locales/pap_AW: Likewise.
21430 * localedata/locales/pap_CW: Likewise.
21431 * localedata/locales/pl_PL: Likewise.
21432 * localedata/locales/ps_AF: Likewise.
21433 * localedata/locales/pt_BR: Likewise.
21434 * localedata/locales/pt_PT: Likewise.
21435 * localedata/locales/quz_PE: Likewise.
21436 * localedata/locales/raj_IN: Likewise.
21437 * localedata/locales/ro_RO: Likewise.
21438 * localedata/locales/ru_RU: Likewise.
21439 * localedata/locales/ru_UA: Likewise.
21440 * localedata/locales/rw_RW: Likewise.
21441 * localedata/locales/sa_IN: Likewise.
21442 * localedata/locales/sat_IN: Likewise.
21443 * localedata/locales/sc_IT: Likewise.
21444 * localedata/locales/sd_IN: Likewise.
21445 * localedata/locales/sd_IN@devanagari: Likewise.
21446 * localedata/locales/se_NO: Likewise.
21447 * localedata/locales/sgs_LT: Likewise.
21448 * localedata/locales/shs_CA: Likewise.
21449 * localedata/locales/si_LK: Likewise.
21450 * localedata/locales/sid_ET: Likewise.
21451 * localedata/locales/sk_SK: Likewise.
21452 * localedata/locales/sl_SI: Likewise.
21453 * localedata/locales/sm_WS: Likewise.
21454 * localedata/locales/so_DJ: Likewise.
21455 * localedata/locales/so_ET: Likewise.
21456 * localedata/locales/so_KE: Likewise.
21457 * localedata/locales/so_SO: Likewise.
21458 * localedata/locales/sq_AL: Likewise.
21459 * localedata/locales/sq_MK: Likewise.
21460 * localedata/locales/sr_ME: Likewise.
21461 * localedata/locales/sr_RS: Likewise.
21462 * localedata/locales/sr_RS@latin: Likewise.
21463 * localedata/locales/ss_ZA: Likewise.
21464 * localedata/locales/st_ZA: Likewise.
21465 * localedata/locales/sv_FI: Likewise.
21466 * localedata/locales/sv_SE: Likewise.
21467 * localedata/locales/sw_KE: Likewise.
21468 * localedata/locales/sw_TZ: Likewise.
21469 * localedata/locales/szl_PL: Likewise.
21470 * localedata/locales/ta_IN: Likewise.
21471 * localedata/locales/ta_LK: Likewise.
21472 * localedata/locales/tcy_IN: Likewise.
21473 * localedata/locales/te_IN: Likewise.
21474 * localedata/locales/tg_TJ: Likewise.
21475 * localedata/locales/th_TH: Likewise.
21476 * localedata/locales/the_NP: Likewise.
21477 * localedata/locales/ti_ER: Likewise.
21478 * localedata/locales/ti_ET: Likewise.
21479 * localedata/locales/tig_ER: Likewise.
21480 * localedata/locales/tk_TM: Likewise.
21481 * localedata/locales/tl_PH: Likewise.
21482 * localedata/locales/tn_ZA: Likewise.
21483 * localedata/locales/to_TO: Likewise.
21484 * localedata/locales/tpi_PG: Likewise.
21485 * localedata/locales/tr_CY: Likewise.
21486 * localedata/locales/tr_TR: Likewise.
21487 * localedata/locales/ts_ZA: Likewise.
21488 * localedata/locales/tt_RU: Likewise.
21489 * localedata/locales/tt_RU@iqtelif: Likewise.
21490 * localedata/locales/ug_CN: Likewise.
21491 * localedata/locales/uk_UA: Likewise.
21492 * localedata/locales/unm_US: Likewise.
21493 * localedata/locales/ur_IN: Likewise.
21494 * localedata/locales/ur_PK: Likewise.
21495 * localedata/locales/uz_UZ: Likewise.
21496 * localedata/locales/uz_UZ@cyrillic: Likewise.
21497 * localedata/locales/ve_ZA: Likewise.
21498 * localedata/locales/vi_VN: Likewise.
21499 * localedata/locales/wa_BE: Likewise.
21500 * localedata/locales/wae_CH: Likewise.
21501 * localedata/locales/wal_ET: Likewise.
21502 * localedata/locales/wo_SN: Likewise.
21503 * localedata/locales/xh_ZA: Likewise.
21504 * localedata/locales/yi_US: Likewise.
21505 * localedata/locales/yo_NG: Likewise.
21506 * localedata/locales/yue_HK: Likewise.
21507 * localedata/locales/yuw_PG: Likewise.
21508 * localedata/locales/zh_CN: Likewise.
21509 * localedata/locales/zh_HK: Likewise.
21510 * localedata/locales/zh_SG: Likewise.
21511 * localedata/locales/zh_TW: Likewise.
21512 * localedata/locales/zu_ZA: Likewise.
21514 2017-11-13 Florian Weimer <fweimer@redhat.com>
21516 * support/next_to_fault.h, support/next_to_fault.c: New files.
21517 * support/Makefile (libsupport-routines): Add next_to_fault.
21518 * resolv/tst-inet_pton.c (struct next_to_fault)
21519 (next_to_fault_allocate, next_to_fault_free): Remove.
21520 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21522 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21524 * elf/dl-support.c: Include <dl-procruntime.c>.
21525 * include/link.h: Include <link_map.h>.
21526 * sysdeps/generic/dl-procruntime.c: New file.
21527 * sysdeps/generic/link_map.h: Likewise.
21528 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21529 the writable ld.so namespace.
21531 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21533 timezone: pacify GCC -Wstringop-truncation
21534 Problem reported by Martin Sebor in:
21535 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21536 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21538 2017-11-12 Florian Weimer <fweimer@redhat.com>
21540 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21542 (tests): Add tst-xreadlink.
21543 * support/support.h (xstrndup): Declare.
21544 * support/xunistd.h (xunlink, xreadlink): Declare.
21545 * support/temp_file.h (support_create_temp_directory): Declare.
21546 * support/temp_file.c (support_create_temp_directory): New function.
21547 * support/support_chroot.c (support_chroot_create): Use it.
21548 * support/xreadlink.c: New file.
21549 * support/xstrndup.c: Likewise.
21550 * support/xunlink.c: Likewise.
21551 * support/tst-xreadlink.c: Likewise.
21553 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21555 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21557 2017-11-11 Florian Weimer <fweimer@redhat.com>
21561 * resolv/res_comp.c (printable_string, binary_hnok)
21562 (binary_leading_dash): New functions.
21563 (res_hnok): Reimplement using these functions and ns_name_pton.
21564 (res_ownok): Likewise.
21565 (res_mailok): Reimplement using printable_string, ns_name_pton and
21567 (res_dnok): Reimplement using printable_string and ns_name_pton.
21568 * resolv/tst-res_hnok.c (tests): Add additional tests.
21569 (LETTERDIGITS, PRINTABLE): Define.
21570 (do_test): Adjust one_char results.
21572 2017-11-11 Florian Weimer <fweimer@redhat.com>
21575 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21576 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21578 2017-11-11 Florian Weimer <fweimer@redhat.com>
21580 * resolv/tst-ns_name_pton.c: New file.
21581 * resolv/Makefile (tests): Add tst-ns_name_pton.
21582 (tst-ns_name_pton): Link against libresolv.
21584 2017-11-11 Florian Weimer <fweimer@redhat.com>
21586 * resolv/tst-res_hnok.c: New file.
21587 * resolv/Makefile (tests): Add tst-res_hnok.
21588 (tst-res_hnok): Link against libresolv.
21590 2017-11-11 Florian Weimer <fweimer@redhat.com>
21592 * resolv/tst-resolv-network.c: Use test framework instead explicit
21595 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21597 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21598 <jmp_buf-macros.h>.
21599 [!_ISOMAC] (STR_HELPER): New.
21600 [!_ISOMAC] (STR): Likewise.
21601 [!_ISOMAC] (TEST_SIZE): Likewise.
21602 [!_ISOMAC] (TEST_ALIGN): Likewise.
21603 [!_ISOMAC] (TEST_OFFSET): Likewise.
21604 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21605 field offsets of jmp_buf as well as sigjmp_buf.
21606 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21607 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21608 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21609 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21610 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21611 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21612 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21613 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21614 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21615 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21617 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21619 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21624 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21625 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21626 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21627 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21628 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21633 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21634 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21635 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21637 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21640 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21641 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21642 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21643 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21644 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21645 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21646 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21647 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21648 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21649 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21650 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21651 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21652 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21653 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21654 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21655 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21656 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21657 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21658 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21659 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21660 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21661 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21662 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21663 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21664 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21665 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21666 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21667 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21668 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21669 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21670 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21671 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21672 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21673 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21674 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21675 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21676 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21677 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21678 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21679 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21680 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21681 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21682 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21683 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21684 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21685 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21686 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21687 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21688 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21689 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21690 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21691 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21692 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21693 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21694 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21695 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21696 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21697 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21698 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21699 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21700 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21701 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21702 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21703 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21704 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21705 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21706 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21707 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21708 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21709 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21710 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21711 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21712 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21713 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21714 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21715 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21716 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21717 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21718 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21719 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21720 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21721 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21722 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21723 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21724 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21725 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21726 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21727 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21729 * stdlib/tst-strtod.h (F16): New macro.
21735 (IF_FLOAT16): Likewise.
21736 (IF_FLOAT32): Likewise.
21737 (IF_FLOAT64): Likewise.
21738 (IF_FLOAT32X): Likewise.
21739 (IF_FLOAT64X): Likewise.
21740 (IF_FLOAT128X): Likewise.
21741 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21742 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21743 (STRTOD_TEST_FOREACH): Likewise.
21744 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21745 (CHOOSE_f64): Likewise.
21746 (CHOOSE_f32x): Likewise.
21747 (CHOOSE_f64x): Likewise.
21749 2017-11-07 Andreas Schwab <schwab@suse.de>
21751 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21753 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21756 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21758 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21761 2017-11-07 Claude Paroz <claude@2xlibre.net>
21764 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21766 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21768 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21771 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21774 * nptl/allocatestack.c (allocate_stack): Check if
21775 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21776 __PTHREAD_MUTEX_HAVE_PREV is defined.
21777 * nptl/descr.h (pthread): Likewise.
21778 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21780 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21781 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21782 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21783 * sysdeps/nptl/bits/thread-shared-types.h
21784 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21786 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21787 of __WORDSIZE for internal layout.
21788 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21789 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21790 instead of __WORDSIZE whether to use an union for __spins and __list
21792 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21794 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21795 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21797 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21798 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21800 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21801 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21803 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21804 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21806 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
21807 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21809 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
21810 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21812 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
21813 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21815 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
21816 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21818 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
21819 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21821 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
21822 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21824 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
21825 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21827 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
21828 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21830 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
21831 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21833 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
21834 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21836 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
21837 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21840 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
21842 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
21843 checks for expected input type size.
21844 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21845 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21847 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21848 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
21849 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21850 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
21851 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21852 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
21853 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
21854 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
21855 superflous runtime assert check.
21856 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
21858 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
21860 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21862 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
21864 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
21866 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
21868 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
21869 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
21870 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21872 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21874 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21876 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
21878 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21880 * nptl/pthread_attr_setinheritsched.c
21881 (__pthread_attr_setinheritsched): Likewise.
21882 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
21884 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
21886 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
21887 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
21888 __old_pthread_attr_setstack): Likewise.
21889 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21891 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21893 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
21895 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21896 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21898 * nptl/tst-typesizes.c: Remove file.
21900 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
21901 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
21902 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
21903 checks for internal pthread_mutex_t offsets.
21904 * sysdeps/aarch64/nptl/pthread-offsets.h
21905 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
21906 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
21907 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
21908 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
21909 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
21910 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
21911 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
21912 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
21913 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
21914 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
21915 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
21916 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
21917 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
21918 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
21919 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
21920 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
21921 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
21922 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
21924 2017-11-07 Florian Weimer <fweimer@redhat.com>
21926 * bits/mman-linux.h: Move ...
21927 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
21929 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
21932 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21934 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
21935 Redefine STRNLEN as __strnlen_power8.
21937 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21939 * signal/sighold.c (sighold): Optimize implementation.
21941 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
21942 __NR_rt_sigqueueinfo.
21944 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21946 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
21947 assume __NR_rt_sigtimedwait.
21948 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
21949 and add LIBC_CANCEL_HANDLED for cancellation marking.
21950 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21952 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21953 (sysdeps_routines): Add memchr_noneon.
21954 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
21955 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
21956 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
21957 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
21958 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
21959 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
21960 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
21962 * sysdeps/arm/arm-ifunc.h: New file.
21963 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
21964 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
21965 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
21966 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
21967 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
21968 (__memcpy_neon): Avoid create hidden alias.
21969 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
21970 (__memcpy_vfp): Likewise.
21971 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21972 (sysdep_routines): Add memcpy_arm.
21973 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
21975 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
21978 * Makerules (make-link-multidir): New.
21979 * config.make.in (multidir): New.
21980 * configure.ac (libc_cv_multidir): New. AC_SUBST.
21981 * configure: Regenerated.
21982 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
21983 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
21984 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
21987 2017-11-06 Joseph Myers <joseph@codesourcery.com>
21990 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
21991 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
21993 2017-11-04 Mike FABIAN <mfabian@redhat.com>
21995 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
21998 2017-11-04 Florian Weimer <fweimer@redhat.com>
22000 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22002 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22004 * math/math.h [__HAVE_DISTINCT_FLOAT16
22005 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22006 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22007 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22008 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22009 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22010 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22011 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22012 (__MATH_TG_F32): New macro.
22013 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22014 (__MATH_TG_F64X): Likewise.
22015 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22016 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22018 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22020 * po/de.po: Update translations.
22021 * po/ru.po: Likewise.
22023 2017-11-03 Florian Weimer <fweimer@redhat.com>
22025 * manual/filesys.texi (Hard Links): Document linkat.
22027 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22029 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22030 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22031 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22032 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22033 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22034 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22035 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22036 the same as _Float128.
22037 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22038 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22039 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22042 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22044 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22046 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22048 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22049 (strtof32x): Likewise.
22050 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22051 (strtof64x): Likewise.
22052 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22053 (strtof128x): Likewise.
22054 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22055 (strfromf16): Likewise.
22056 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22057 (strfromf32): Likewise.
22058 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22059 (strfromf64): Likewise.
22060 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22061 (strfromf32x): Likewise.
22062 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22063 (strfromf64x): Likewise.
22064 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22065 (strfromf128x): Likewise.
22066 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22067 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22068 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22069 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22070 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22071 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22073 2017-11-03 Richard Henderson <rth@twiddle.net>
22075 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22077 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22079 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22081 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22083 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22084 DT_TLSDESC_GOT initialization.
22085 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22086 (_dl_tlsdesc_resolve_hold): Likewise.
22087 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22088 (_dl_tlsdesc_resolve_hold): Likewise.
22089 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22090 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22092 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22094 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22096 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22099 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22100 non-lazily for R_ARM_TLS_DESC.
22102 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22105 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22106 R_ARM_TLS_DESC case.
22107 (elf_machine_lazy_rel): Remove the prelink check.
22109 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22111 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22112 DT_TLSDESC_GOT initialization.
22113 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22114 (_dl_tlsdesc_resolve_rela): Likewise.
22115 (_dl_tlsdesc_resolve_hold): Likewise.
22116 (_dl_tlsdesc_undefweak): Remove ldar.
22117 (_dl_tlsdesc_dynamic): Likewise.
22118 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22119 (_dl_tlsdesc_resolve_rela): Likewise.
22120 (_dl_tlsdesc_resolve_hold): Likewise.
22121 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22122 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22123 (_dl_tlsdesc_resolve_rela): Likewise.
22124 (_dl_tlsdesc_resolve_hold): Likewise.
22126 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22128 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22129 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22131 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22133 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22134 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22136 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22138 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22140 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22141 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22142 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22143 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22144 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22145 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22146 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22147 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22148 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22149 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22150 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22152 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22155 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22156 * localedata/locales/tpi_PG: Add standard header.
22158 2017-11-02 Florian Weimer <fweimer@redhat.com>
22160 test-errno-linux: quotactl can fail with EPERM in containers.
22161 * sysdeps/unix/sysv/linux/test-errno-linux.c
22162 (LIST, LIST_FORWARD): New macros.
22163 (check_error_in_list): New function.
22164 (test_wrp_rv): Accept list of permitted error codes.
22165 (test_wrp_rv2): Remove.
22166 (test_wrp): Call test_wrp_rv with list of error codes.
22167 (test_wrp2): Accept list of error codes.
22168 (do_test): Adjust. Allow EPERM for quotactl.
22170 2017-11-02 Florian Weimer <fweimer@redhat.com>
22172 * stdio-common/bug16.c (do_test): Use array_length.
22173 * stdio-common/errlist.c (_sys_nerr): Likewise.
22174 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22175 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22176 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22177 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22178 (do_test): Use array_length.
22179 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22180 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22181 * stdio-common/tst-printf-round.c (do_test): Likewise.
22182 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22183 (CHECK): Use array_length.
22184 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22185 * stdio-common/tstscanf.c (main): Likewise.
22186 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22188 2017-11-02 Florian Weimer <fweimer@redhat.com>
22190 Add array_length and array_end macros.
22191 * include/array_length.h: New file.
22193 2017-11-02 Florian Weimer <fweimer@redhat.com>
22196 * posix/tst-glob-tilde.c (do_noescape): New variable.
22197 (one_test): Process it.
22198 (do_test): Set do_noescape. Add unescaping test case.
22200 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22203 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22204 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22205 with appropriate macros defined and undefined.
22206 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22207 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22208 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22209 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22210 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22211 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22212 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22213 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22214 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22215 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22218 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22219 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22220 that for long double. Do not condition define and undefine of
22221 _Mdouble_complex_ on [__CFLOAT128].
22223 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22225 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22226 of <sysdeps/generic/sysdep.h>.
22227 (ALIGNARG): Removed.
22228 (ASM_SIZE_DIRECTIVE): Likewise.
22231 (ENTRY_CHK): Likewise.
22232 (END_CHK): Likewise.
22233 (syscall_error): Likewise.
22234 (mcount): Likewise.
22235 (PSEUDO_END): Likewise.
22237 (atom_text_section): Likewise.
22238 * sysdeps/x86/sysdep.h: New file.
22239 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22240 of <sysdeps/generic/sysdep.h>.
22241 (ALIGNARG): Removed.
22242 (ASM_SIZE_DIRECTIVE): Likewise.
22245 (ENTRY_CHK): Likewise.
22246 (END_CHK): Likewise.
22247 (syscall_error): Likewise.
22248 (mcount): Likewise.
22249 (PSEUDO_END): Likewise.
22251 (atom_text_section): Likewise.
22253 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22255 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22256 category of LC_CTYPE set to "i18n:2012".
22257 * localedata/locales/i18n_ctype: Regenerate.
22259 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22261 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22262 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22263 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22264 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22266 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22267 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22268 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22269 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22271 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22274 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22276 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22278 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22280 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22281 (CMPLXF32X): Likewise.
22282 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22283 (CMPLXF64X): Likewise.
22284 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22285 (CMPLXF128X): Likewise.
22288 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22289 (__MATH_EVAL_FMT2): Define to add 0.0f.
22291 2017-10-31 Alan Modra <amodra@gmail.com>
22293 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22309 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22310 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22311 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22312 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22313 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22314 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22315 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22316 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22317 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22318 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22319 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22320 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22321 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22322 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22323 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22324 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22325 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22326 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22327 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22328 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22329 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22330 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22331 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22332 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22333 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22334 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22335 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22336 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22337 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22338 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22339 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22340 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22341 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22342 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22343 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22344 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22345 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22346 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22347 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22348 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22349 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22350 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22351 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22352 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22353 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22354 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22355 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22356 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22357 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22358 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22359 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22360 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22361 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22362 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22363 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22366 include sysdep.h and math_ldbl_opt.h.
22368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22369 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22395 2017-10-31 Alan Modra <amodra@gmail.com>
22397 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22398 string/strncase_l.c, not string/strncase.c.
22399 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22400 (libc_hidden_def): Redefine.
22402 2017-10-31 Alan Modra <amodra@gmail.com>
22404 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22405 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22406 (__strcasecmp): Don't define.
22408 2017-10-31 Alan Modra <amodra@gmail.com>
22410 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22412 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22413 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22414 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22416 2017-10-31 Alan Modra <amodra@gmail.com>
22418 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22421 2017-10-31 Alan Modra <amodra@gmail.com>
22423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22424 Redefine only when SHARED.
22426 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22428 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22429 Include <bits/math-finite.h> with appropriate macros defined and
22431 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22432 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22433 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22434 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22435 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22437 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22438 [!_Mlong_double_] (_Mlong_double_): Likewise.
22439 [!_Mfloat16_] (_Mfloat16_): Likewise.
22440 [!_Mfloat32_] (_Mfloat32_): Likewise.
22441 [!_Mfloat64_] (_Mfloat64_): Likewise.
22442 [!_Mfloat128_] (_Mfloat128_): Likewise.
22443 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22444 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22445 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22446 (_Mdouble_): Define without indirection through those macros.
22447 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22448 [!_Mfloat128_] (_Mfloat128_): Likewise.
22449 [_Mlong_double_] (_Mlong_double_): Likewise.
22450 (_Mdouble_): Define without indirection through those macros.
22451 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22452 not add -D_Mlong_double_=double.
22453 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22454 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22456 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22458 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22460 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22462 * sysdeps/x86/libc-start.c: Reformat.
22464 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22467 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22468 (1): Renamed to ...
22471 (L(Src2)): Likewise.
22472 (L(1)): Renamed to ...
22475 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22477 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22478 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22479 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22480 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22481 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22482 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22483 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22484 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22485 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22486 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22487 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22488 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22489 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22490 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22491 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22492 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22493 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22494 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22495 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22496 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22497 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22498 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22499 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22500 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22501 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22502 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22503 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22504 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22505 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22506 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22507 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22508 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22509 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22510 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22511 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22512 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22513 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22514 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22515 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22516 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22517 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22518 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22519 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22520 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22521 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22522 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22523 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22524 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22525 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22526 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22527 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22528 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22529 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22530 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22531 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22532 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22533 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22534 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22535 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22536 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22537 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22538 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22539 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22540 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22541 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22542 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22544 2017-10-30 Florian Weimer <fweimer@redhat.com>
22546 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22548 * io/tst-mkdirat.c (do_test): Likewise.
22549 * io/tst-mkfifoat.c (do_test): Likewise.
22550 * io/tst-mknodat.c (do_test): Likewise.
22551 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22552 * locale/programs/locale.c (select_dirs): Likewise.
22553 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22554 * posix/bug-glob2.c (my_readdir): Likewise.
22555 * posix/tst-dir.c (main): Likewise.
22556 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22557 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22559 2017-10-30 Florian Weimer <fweimer@redhat.com>
22561 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22564 2017-10-30 Florian Weimer <fweimer@redhat.com>
22566 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22567 Convert to support/test-driver.c.
22568 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22569 New macro parameters.
22570 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22571 * posix/tst-gnuglob.c: New file.
22572 * posix/tst-gnuglob64.c: Likewise.
22573 * posix/Makefile (tests): Add tst-gnuglob64.
22575 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22578 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22579 and use a better translation for March in “mon”.
22580 * localedata/locales/csb_PL: Use more ASCII to improve the
22581 readability of the source.
22583 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22586 * localedata/locales/km_KH: Use ASCII as much
22587 as possible for better readability of the source and
22588 remove useless comments.
22589 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22590 was commented out and apparently wrong anyway because it was
22591 using Lao characters. If Buddhist era should be used
22592 for km_KH, a native speaker should write the correct formaat
22594 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22595 (According to CLDR, the first weekday for Cambodia is Sunday).
22596 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22597 (These were using Lao characters which must be wrong. If we get
22598 the correct data from a native speaker, we could add it back, until
22599 then it is better not to have name_mr and name_mrs at all than
22602 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22604 * locale/loadlocale.c: Correct size of
22605 _nl_value_type_LC_<category> arrays.
22607 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22609 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22610 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22611 with appropriate macros defined and undefined.
22612 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22613 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22614 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22615 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22616 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22618 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22620 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22623 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22625 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22626 with lowercase letters to make it agree with CLDR.
22628 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22631 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22632 first letters of yesstr and nostr in yesexpr and noexpr,
22633 not for the full words.
22634 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22635 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22636 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22637 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22638 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22639 first letters of yesstr and nostr in yesexpr and noexpr,
22640 until now only English was matched in yesexpr and noexpr.
22641 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22642 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22643 fil but not for tl. As tl and fil are very similar, using fil
22644 is probably better than using English.
22646 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22649 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22650 in yesstr and nostr.
22652 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22654 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22655 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22656 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22658 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22660 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22662 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22664 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22665 (SNANF128X): Likewise.
22667 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22668 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22669 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22670 (HUGE_VAL_F32): Likewise.
22671 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22672 (HUGE_VAL_F64): Likewise.
22673 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22674 (HUGE_VAL_F32X): Likewise.
22675 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22676 (HUGE_VAL_F64X): Likewise.
22677 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22678 (HUGE_VAL_F128X): Likewise.
22680 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22682 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22683 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22684 for the br_FR locale.
22686 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22689 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22691 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22693 * locale/programs/record-status.h: Define globals, and function
22694 prototypes. Move function bodies...
22695 * locale/programs/record-status.c: ... to here. New file.
22696 * iconv/Makefile (iconv_prog-modules): Add record-status.
22697 * locale/Makefile (lib-modules): Likewise.
22698 * iconv/iconv_prog.c: Remove verbose.
22699 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22700 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22701 record a warning about ASCII compatibility.
22702 * locale/programs/ld-monetary.c (monetary_finish): If
22703 warn_int_curr_symbol is true then record a warning about the symbol
22704 not being in our ISO 4217 list.
22705 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22706 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22707 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22708 (OPT_NO_WARN): Define.
22709 (OPT_WARN): Define.
22710 (options): Add entry for --no-warnings, and --warnings.
22711 (set_warnings): New function to enable/disable warnings.
22712 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22713 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22714 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22715 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22716 Pass flags to generate_locale.
22717 (generate_locale): Accept new flag argument and pass it to localedef
22719 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22720 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22722 * localedata/Makefile (test-input-data): Use full file name.
22723 * localedata/da_DK.in: Rename to...
22724 * localedata/da_DK.ISO-8859-1.in: ...this.
22725 * localedata/de_DE.in: Rename to...
22726 * localedata/de_DE.ISO-8859-1.in: ...this.
22727 * localedata/en_US.in: Rename to...
22728 * localedata/en_US.ISO-8859-1.in: ...this.
22729 * localedata/fr_FR.in: Rename to...
22730 * localedata/fr_FR.UTF-8.in: ... this.
22731 * localedata/hr_HR.in: Rename to...
22732 * localedata/hr_HR.ISO-8859-2.in: ...this.
22733 * localedata/hu_HU.in: Rename to...
22734 * localedata/hu_HU.UTF-8.in: ...this.
22735 * localedata/si_LK.in: Rename to...
22736 * localedata/si_LK.UTF-8.in: ...this.
22737 * localedata/sv_SE.in: Rename to...
22738 * localedata/sv_SE.ISO-8859-1.in: ...this.
22739 * localedata/tr_TR.in: Rename to...
22740 * localedata/tr_TR.UTF-8.in: ...this.
22741 * localedata/uk_UA.in: Rename to...
22742 * localedata/uk_UA.UTF-8.in: ...this.
22743 * localedata/sort-test.sh: Test file is locale name with the
22746 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22747 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22749 * localedata/locales/i18n_ctype: Regenerate.
22750 * localedata/locales/tr_TR: Likewise.
22751 * localedata/locales/translit_circle: Likewise.
22752 * localedata/locales/translit_cjk_compat: Likewise.
22753 * localedata/locales/translit_combining: Likewise.
22754 * localedata/locales/translit_compat: Likewise.
22755 * localedata/locales/translit_font: Likewise.
22756 * localedata/locales/translit_fraction: Likewise.
22758 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22760 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22761 lxvd2x/stxvd2x with lvx/stvx.
22762 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22764 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22766 * include/alloc_buffer.h: Replace "if if " with "if " in
22768 * sysdeps/mips/memcpy.S: Likkewise.
22769 * sysdeps/mips/memset.S: Likewise.
22770 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22772 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22774 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22777 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22780 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22781 yesexpr and noexpr.
22782 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22783 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22784 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22785 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22786 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22787 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22788 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22790 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22792 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22793 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22794 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22795 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22796 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22797 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22798 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22799 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22800 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22801 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22802 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22803 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22805 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22807 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
22808 as possible for better readability of the source.
22809 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
22810 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
22811 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
22812 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
22813 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
22814 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
22815 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
22816 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
22817 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22818 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
22819 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
22820 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
22821 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
22822 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
22823 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
22824 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
22825 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
22826 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
22827 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
22828 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
22829 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
22830 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
22831 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
22832 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
22833 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
22834 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
22835 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
22836 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
22837 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
22838 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
22839 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
22840 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22841 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
22842 * localedata/locales/en_US (LC_MESSAGES): Likewise.
22843 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
22844 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
22845 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
22846 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
22847 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
22848 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
22849 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
22850 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
22851 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
22852 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
22853 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
22854 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
22855 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
22856 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
22857 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
22858 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
22859 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
22860 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
22861 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
22862 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22863 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22864 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
22865 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
22866 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22867 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
22868 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
22869 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
22870 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
22871 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
22872 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
22873 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
22874 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
22875 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
22876 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
22877 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
22878 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
22879 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
22880 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
22881 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
22882 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
22883 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22884 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
22885 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
22886 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
22887 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
22888 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
22889 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
22890 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
22891 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
22892 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22893 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
22894 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
22895 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
22896 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22897 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
22898 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
22899 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
22900 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
22901 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22902 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
22903 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
22904 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22905 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
22906 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22907 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
22908 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
22909 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
22910 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
22911 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
22912 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
22913 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
22914 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
22915 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
22916 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
22917 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
22918 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
22919 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
22920 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
22921 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22922 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
22923 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
22924 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
22925 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
22926 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
22927 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
22928 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
22929 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
22930 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
22931 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
22932 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
22933 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
22934 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
22935 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
22936 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
22937 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
22938 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
22939 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
22940 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
22941 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
22942 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
22943 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
22944 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
22945 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
22946 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
22947 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
22948 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
22949 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
22950 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
22951 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
22952 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
22953 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
22954 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22955 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
22956 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
22957 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
22958 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
22959 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
22960 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
22961 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
22962 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
22963 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22964 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
22965 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
22966 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
22967 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
22968 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
22969 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
22970 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
22971 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
22972 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
22973 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
22974 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22975 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
22976 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
22977 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
22978 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
22979 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22980 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22981 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22982 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
22984 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22986 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
22987 (Use first letters of yesstr and nostr correctly instead of using
22990 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22992 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
22993 (Use first letters of yesstr and nostr correctly).
22995 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22997 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
22998 also check for the first characters of yesstr and nostr.
22999 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23000 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23002 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23004 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23005 also check for Chinese characters.
23007 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23009 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23010 match also for the contents of yesstr and nostr. As the first letter
23011 of yesstr and nostr is equal, checking only for the first letter
23014 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23016 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23017 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23019 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23021 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23022 of main contributor.
23024 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23026 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23027 instead of using English.
23029 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23031 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23032 by including the first letters of nostr and yesexpr in the regexp.
23033 Also make it more readable by using ASCII where possible.
23035 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23037 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23038 the first letter of nostr in the regexp. It agrees with CLDR now.
23039 Also make it more readable by using ASCII where possible.
23041 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23043 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23044 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23045 these strings contain a U+17D6 (which somewhat looks like a colon)
23046 instead of a real colon to separate the full words for “yes”
23047 and “no” from the single letter responses.
23049 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23051 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23052 it agree with CLDR (include the first letter of yesstr).
23053 Also make it more readable by using ASCII where possible.
23055 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23057 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23058 and improve yesexpr and noexpr. The yesstr and nostr apparently
23059 came from CLDR. And CLDR has a bug there: these strings contain
23060 a U+0903 (which looks like a colon) instead of a real colon
23061 to separate the full words for “yes” and “no” from the single
23064 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23066 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23067 letters of the full yesstr and nostr in yesexpr and noexpr.
23069 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23071 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23072 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23073 * localedata/locales/an_ES: Make source more readable by using ASCII
23076 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23079 * localedata/locales/yuw_PG: New file.
23080 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23081 * locale/iso-639.def: Add Yau (Uruwa).
23083 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23085 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23087 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23089 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23090 (__libc_realloc): Likewise.
23091 (_mid_memalign): Likewise.
23092 (__libc_calloc): Likewise.
23094 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23096 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23097 by adding the generic +1 and -0 as in all other locales.
23098 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23099 day names and make it more readable by using ASCII where possible.
23101 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23103 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23104 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23106 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23108 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23109 WNOHANG in waitpid call.
23111 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23113 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23114 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23116 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23117 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23118 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23119 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23120 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23121 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23122 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23123 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23126 2017-10-23 Michael Collison <michael.collison@arm.com>
23128 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23129 with __builtin_sqrt.
23130 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23131 with __builtin_sqrtf.
23132 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23133 with __builtin_ceil.
23134 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23135 with __builtin_ceilf.
23136 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23137 with __builtin_floor.
23138 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23139 with __builtin_floorf.
23140 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23141 with __builtin_fma.
23142 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23143 with __builtin_fmaf.
23144 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23145 with __builtin_fmax.
23146 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23147 with __builtin_fmaxf.
23148 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23149 with __builtin_fmin.
23150 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23151 with __builtin_fminf.
23152 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23153 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23154 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23155 with builtin_rint and conversion to int.
23156 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23157 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23158 with builtin_llround.
23159 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23160 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23161 with builtin_rint and conversion to long int.
23162 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23163 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23164 with builtin_lround.
23165 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23166 with builtin_lroundf.
23167 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23168 statements with __builtin_nearbyint.
23169 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23170 statements with __builtin_nearbyintf.
23171 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23172 with __builtin_rint.
23173 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23174 with __builtin_rintf.
23175 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23176 with __builtin_round.
23177 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23178 with __builtin_roundf.
23179 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23180 with __builtin_trunc.
23181 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23182 with __builtin_truncf.
23183 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23184 and s_l[l]round[f].c too.
23186 2017-10-23 Alan Modra <amodra@gmail.com>
23188 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23189 Adjust stack after restoring regs. Add missing LR cfi_restore.
23191 2017-10-23 Alan Modra <amodra@gmail.com>
23193 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23194 Move LR save and frame setup/teardown and LR restore to
23195 immediately around memset call. Provide cfi.
23197 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23199 * sysdeps/i386/fpu/e_powf.S: Removed.
23200 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23201 * sysdeps/i386/fpu/w_powf.c: Likewise.
23202 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23203 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23204 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23206 (CFLAGS-e_powf-sse2.c): New.
23207 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23208 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23210 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23212 * sysdeps/i386/fpu/e_log2f.S: Removed.
23213 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23214 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23215 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23216 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23217 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23219 (CFLAGS-e_log2f-sse2.c): New.
23220 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23221 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23223 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23225 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23227 (CFLAGS-e_powf-fma.c): New.
23228 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23229 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23231 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23233 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23235 (CFLAGS-e_log2f-fma.c): New.
23236 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23237 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23239 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23241 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23243 (CFLAGS-e_logf-fma.c): New.
23244 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23245 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23247 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23249 * sysdeps/i386/fpu/e_logf.S: Removed.
23250 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23251 * sysdeps/i386/fpu/w_logf.c: Likewise.
23252 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23253 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23254 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23255 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23257 (CFLAGS-e_logf-sse2.c): New.
23258 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23259 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23261 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23263 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23264 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23265 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23266 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23267 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23269 (CFLAGS-e_exp2f-sse2.c): New.
23270 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23271 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23273 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23275 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23277 (CFLAGS-e_exp2f-fma.c): New.
23278 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23279 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23281 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23283 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23284 * sysdeps/i386/fpu/e_expf.S: Likewise.
23285 * sysdeps/i386/fpu/math_errf.c: Likewise.
23286 * sysdeps/i386/fpu/w_expf.c: Likewise.
23287 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23288 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23289 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23290 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23291 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23292 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23293 Remove e_expf-ia32.
23294 (CFLAGS-e_expf-sse2.c): New.
23295 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23296 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23298 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23300 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23301 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23302 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23303 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23305 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23307 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23308 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23310 (__redirect_expf): This.
23311 (SYMBOL_NAME): Changed to expf.
23312 (__ieee754_expf): Renamed to ...
23314 (__GI___expf): This.
23315 (__ieee754_expf): Add strong_alias.
23316 (__expf_finite): Likewise.
23318 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23320 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23323 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23326 2017-10-21 Florian Weimer <fweimer@redhat.com>
23328 * posix/Makefile (tests): Add tst-glob-tilde.
23329 (tests-special): Add tst-glob-tilde-mem.out
23330 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23331 (tst-glob-tilde-mem.out): Add mtrace check.
23332 * posix/tst-glob-tilde.c: New file.
23334 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23336 * bits/floatn-common.h: New file.
23337 * math/Makefile (headers): Add bits/floatn-common.h.
23338 * bits/floatn.h: Include <bits/floatn-common.h>.
23339 * sysdeps/ia64/bits/floatn.h: Likewise.
23340 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23341 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23342 * sysdeps/powerpc/bits/floatn.h: Likewise.
23343 * sysdeps/x86/bits/floatn.h: Likewise.
23345 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23347 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23348 indicates whether compiler emits an warning for alias for
23349 functions with incompatible types.
23352 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23353 the auxiliary process is terminated by a signal before calling _exit
23356 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23359 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23361 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23362 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23363 and bit_arch_XSAVEC_Usable if needed.
23364 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23365 and bit_arch_Use_dl_runtime_resolve_opt.
23366 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23368 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23369 (bit_arch_Prefer_No_AVX512): Updated.
23370 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23371 (bit_arch_XSAVEC_Usable): New.
23372 (STATE_SAVE_OFFSET): Likewise.
23373 (STATE_SAVE_MASK): Likewise.
23374 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23375 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23376 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23377 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23378 (index_arch_XSAVEC_Usable): New.
23379 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23380 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23381 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23383 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23384 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23385 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23386 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23387 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23388 _dl_runtime_resolve_xsavec.
23389 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23391 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23392 instead of VEC_SIZE.
23393 (REGISTER_SAVE_BND0): Removed.
23394 (REGISTER_SAVE_BND1): Likewise.
23395 (REGISTER_SAVE_BND3): Likewise.
23396 (REGISTER_SAVE_RAX): Always defined to 0.
23398 (_dl_runtime_resolve_avx): Likewise.
23399 (_dl_runtime_resolve_avx_slow): Likewise.
23400 (_dl_runtime_resolve_avx_opt): Likewise.
23401 (_dl_runtime_resolve_avx512): Likewise.
23402 (_dl_runtime_resolve_avx512_opt): Likewise.
23403 (_dl_runtime_resolve_sse): Likewise.
23404 (_dl_runtime_resolve_sse_vex): Likewise.
23406 (_dl_runtime_resolve_fxsave): Likewise.
23407 (USE_XSAVE): Likewise.
23408 (_dl_runtime_resolve_xsave): Likewise.
23409 (USE_XSAVEC): Likewise.
23410 (_dl_runtime_resolve_xsavec): Likewise.
23411 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23413 (_dl_runtime_resolve_avx512_opt): Likewise.
23414 (_dl_runtime_resolve_avx): Likewise.
23415 (_dl_runtime_resolve_avx_opt): Likewise.
23416 (_dl_runtime_resolve_sse): Likewise.
23417 (_dl_runtime_resolve_sse_vex): Likewise.
23418 (_dl_runtime_resolve_fxsave): New.
23419 (_dl_runtime_resolve_xsave): Likewise.
23420 (_dl_runtime_resolve_xsavec): Likewise.
23422 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23426 * posix/glob.c (__glob): Fix one-byte overflow.
23428 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23430 * malloc/malloc.c (sysdep-cancel.h): Add include.
23432 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23434 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23436 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23438 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23439 (tests): Remove $(objpfx)ga_test depdendency.
23440 * resolv/ga_test.c: Remove file.
23442 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23445 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23446 * localedata/locales/kab_DZ: New file.
23448 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23450 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23451 _dl_relocate_static_pie instead of _dl_start to compute load
23452 address in static PIE.
23454 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23456 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23458 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23461 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23462 * localedata/locales/shn_MM: New file.
23464 2017-10-20 Florian Weimer <fweimer@redhat.com>
23467 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23468 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23469 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23470 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23471 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23472 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23474 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23476 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23478 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23480 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23483 * sysdeps/mips/bits/long-double.h: Move to ....
23484 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23486 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23488 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23490 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23491 H.J. Lu <hongjiu.lu@intel.com>
23494 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23495 GLRO(dl_platform) to NULL.
23496 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23497 (modules-names): Add tst-platformmod-1 and
23498 x86_64/tst-platformmod-2.
23499 (CFLAGS-tst-platform-1.c): New.
23500 (CFLAGS-tst-platformmod-1.c): Likewise.
23501 (CFLAGS-tst-platformmod-2.c): Likewise.
23502 (LDFLAGS-tst-platformmod-2.so): Likewise.
23503 ($(objpfx)tst-platform-1): Likewise.
23504 ($(objpfx)tst-platform-1.out): Likewise.
23505 (tst-platform-1-ENV): Likewise.
23506 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23507 * sysdeps/x86_64/tst-platform-1.c: New file.
23508 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23509 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23511 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23514 * locale/iso-639.def: Add Karbi.
23515 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23516 * localedata/locales/mjw_IN: New file.
23518 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23520 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23521 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23522 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23523 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23524 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23525 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23526 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23528 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23529 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23530 * manual/math.texi (Mathematics): Document additional architecture
23531 support for _Float128.
23532 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23533 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23534 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23535 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23536 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23537 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23538 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23539 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23540 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23541 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23542 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23543 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23544 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23545 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23546 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23548 2017-10-18 Renlin Li <renlin.li@arm.com>
23550 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23551 _DYNAMIC symbol to calculate load address.
23553 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23555 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23556 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23558 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23559 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23561 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23564 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23565 and improve readability by using more ASCII.
23566 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23567 and improve readability by using more ASCII.
23569 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23571 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23572 not all targets support atomics on bool.
23574 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23576 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23577 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23579 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23580 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23581 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23582 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23583 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23584 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23586 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23588 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23591 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23594 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23595 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23596 (do_check_remalloced_chunk): Fix build bug.
23597 (do_check_malloc_state): Add assert that checks arena->top.
23598 (malloc_consolidate): Remove initialization.
23599 (int_mallinfo): Remove call to malloc_consolidate.
23600 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23602 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23604 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23605 (have_fastchunks): Remove.
23606 (clear_fastchunks): Remove.
23607 (set_fastchunks): Remove.
23608 (malloc_state): Add have_fastchunks.
23609 (malloc_init_state): Use have_fastchunks.
23610 (do_check_malloc_state): Remove incorrect invariant checks.
23611 (_int_malloc): Use have_fastchunks.
23612 (_int_free): Likewise.
23613 (malloc_consolidate): Likewise.
23615 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23617 * malloc/malloc.c (tcache_put): Inline.
23618 (tcache_get): Inline.
23620 2017-10-17 Jordi Mallach <jordi@gnu.org>
23622 Aurelien Jarno <aurelien@aurel32.net>
23624 * localedata/locales/ca_ES@valencia: New file.
23625 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23627 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23630 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23633 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23635 * scripts/build-many-glibcs.py (Context.add_all_configs):
23636 Add arm-linux-gnueabihf multiarch extra_glibcs.
23638 * sysdeps/generic/ifunc-init.h: New file.
23639 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23641 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23644 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23645 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23646 * stdlib/tst-strfmon_l.c: adapt test case.
23648 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23650 * sysdeps/generic/float128-abi.h: New file.
23651 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23652 non-__prefixed symbols to ....
23653 * math/Versions: ... here. Include <float128-abi.h>.
23654 * stdlib/Versions ... and here. Include <float128-abi.h>
23656 2017-10-16 Florian Weimer <fweimer@redhat.com>
23658 * version.h (VERSION): Switch to ".9000" as the development
23661 2017-10-16 Florian Weimer <fweimer@redhat.com>
23664 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23665 compat_symbol_reference to access non-default version.
23667 2017-10-16 Florian Weimer <fweimer@redhat.com>
23669 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23671 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23673 * include/shlib-compat.h (compat_symbol_reference): Update
23676 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23678 * math/Makefile (test-types): Add
23679 $(type-float128-$(float128-alias-fcts)).
23680 * math/test-float128.h (TYPE_STR): Define conditional on
23681 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23682 (ULP_IDX): Likewise.
23683 (ULP_I_IDX): Likewise.
23685 * stdlib/strtold.c: Include <bits/floatn.h>
23686 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23687 and later undefine as macro. Define as weak alias if
23689 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23690 and later undefine as macro. Define as weak alias if
23692 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23693 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23694 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23695 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23696 Define and later undefine as macro. Define as weak alias if
23698 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23700 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23701 Define and later undefine as macro. Define as weak alias if
23703 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23704 Define and later undefine as macro. Define as weak alias if
23707 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23709 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23710 record_verbose messages.
23712 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23715 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23716 to silence -O3 -Wall warning with GCC 7.
23718 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23720 * Makeconfig (+link-static-before-libc): Use the first of
23721 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23722 * gmon/Makefile (tests): Add tst-gmon-static.
23723 (tests-static): Likewise.
23724 (CFLAGS-tst-gmon-static.c): New.
23725 (CRT-tst-gmon-static): Likewise.
23726 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23727 (tst-gmon-static-ENV): Likewise.
23728 (tests-special): Likewise.
23729 ($(objpfx)tst-gmon-static.out): Likewise.
23730 (clean-tst-gmon-static-data): Likewise.
23731 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23732 * gmon/tst-gmon-static-gprof.sh: New file.
23733 * gmon/tst-gmon-static.c: Likewise.
23735 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23738 * locale/programs/linereader.c (get_string): Don't warn on
23739 non-symbolic character.
23742 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23746 * locale/programs/record-status.h: New file
23747 * locale/programs/locale.c: Add comment.
23748 * locale/programs/charmap-dir.c: Don't include error.h.
23749 (charmap_opendir): Use record_error.
23750 * locale/programs/charmap.c: Don't include error.h.
23751 (charmap_read): Use record_error, and record_warning.
23752 (parse_charmap): Likewise.
23753 * locale/programs/ld-address.c: Don't include error.h.
23754 (address_finish): Use record_error, and record_warning.
23755 * locale/programs/ld-collate.c: Don't include error.h.
23756 (collate_finish): Use record_error, and record_error_at_line.
23757 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23758 (ctype_class_new): Likewise.
23759 (ctype_map_new): Likewise.
23760 (set_one_default): Likewise.
23761 (set_class_defaults): Likewise.
23762 (translit_flatten): Likewise.
23763 (allocate_arrays): Use record_error, and record_verbose.
23764 * locale/programs/ld-identification.c: Don't include error.h.
23765 (indentation_finish): Use record_error and record_warning.
23766 * locale/programs/ld-measurement.c: Don't include error.h.
23767 (measurement_finish): Use record_error.
23768 * locale/programs/ld-messages.c
23769 (message_finish): Likewise.
23770 * locale/programs/ld-monetary.c
23771 (monetary_finish): Likewise.
23772 * locale/programs/ld-name.c (name_finish): Use record_error
23773 and record_warning.
23774 * locale/programs/ld-numeric.c
23775 (numeric_finish): Use record_error.
23776 * locale/programs/ld-paper.c: Don't include error.h.
23777 (paper_finish): Use record_error.
23778 * locale/programs/ld-telephone.c: Don't include error.h.
23779 (telephone_finish): Use record_error.
23780 * locale/programs/ld-time.c (time_finish): Likewise.
23781 * locale/programs/linereader.h (lr_error): Make inline func.
23782 * locale/programs/localedef.c: Define recorded_warning_count,
23783 and recorded_error_count.
23784 (main): Use record_error. Use recorded_error_count and
23785 recorded_warning_count to issue correct error returns.
23786 (add_to_readlist): Use record_error.
23787 (find_locale): Likewise.
23788 (load_locale): Likewise.
23789 * locale/programs/localedef.h: Remove be_quiet
23790 and WITH_CUR_LOCALE.
23791 * locale/programs/locarchive.c (compare_from_file): Use
23793 * locale/programs/locfile.c (write_locale_data): Use
23795 * locale/programs/repertoire.c: Dont include error.h.
23796 (repertoire_complain): Use record_error.
23797 * localedata/tst-fmon.sh: Expect failures from localedef.
23798 * localedata/tst-locale.sh: Likewise.
23799 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23801 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23802 (REPORTS): Likewise.
23804 (i18n): Rename to...
23805 (i18n_ctype): ...this.
23806 (i18n-report): Rename to...
23807 (i18n_ctype-report): ...this.
23808 * localedata/locales/i18n_ctype: Regenerate.
23809 * localedata/locales/i18n: copy i18n_ctype.
23811 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23813 * stdlib/strfroml.c: Include <bits/floatn.h>.
23814 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
23815 Define before include of <stdlib.h> and undefine afterwards, then
23816 define as weak alias.
23818 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
23819 Undefine and restore default definition. Use
23820 libm_alias_ldouble_other.
23822 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
23825 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
23828 2017-10-13 James Clarke <jrtc27@jrtc27.com>
23830 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23831 Assign sym_map to be map for local symbols, as TLS relocations
23832 use sym_map to determine whether the symbol is defined and to
23833 extract the TLS information.
23834 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23837 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23840 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
23841 (math_force_eval): Add powerpc version.
23844 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
23846 (do_test): Likewise.
23847 * stdio-common/tst-printf.sh: Likewise.
23848 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
23849 ifdef clause in order to set the carry bit right. Replace r0 by
23850 0 without changing the behavior.
23852 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23854 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
23855 <libm-alias-ldouble.h>.
23856 (fabsl): Define using libm_alias_ldouble.
23857 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
23858 <libm-alias-ldouble.h>.
23859 (fabsl): Define using libm_alias_ldouble.
23861 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
23862 Remove conditional code.
23864 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
23865 Rename to __clog10_internal_l.
23866 (__clog10_internal_l): Define aliases using
23867 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
23870 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23872 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
23873 * benchtests/sincosf-inputs: New file.
23874 * benchtests/cosf-inputs: New file.
23875 * benchtests/sinf-inputs: New file.
23877 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23879 * posix/tst-spawn.c (do_test): Wait for both children.
23881 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
23884 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
23885 tests-pie): Add tst-gmon-pie.
23886 (CFLAGS-tst-gmon-pie.c): New.
23887 (CRT-tst-gmon-pie): Likewise.
23888 (tst-gmon-pie-ENV): Likewise.
23889 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
23890 ($(objpfx)tst-gmon-pie.out): Likewise.
23891 (clean-tst-gmon-pie-data): Likewise.
23892 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
23893 * gmon/gmon.c [PIC]: Include <link.h>.
23894 [PIC] (callback): New function.
23895 (write_hist): Add an argument for load address. Subtract load
23897 (write_call_graph): Likewise.
23898 (write_gmon): Call __dl_iterate_phdr to get load address, pass
23899 it to write_hist and write_call_graph.
23900 * gmon/tst-gmon-pie.c: New file.
23902 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23904 * math/Makefile (test-types-basic): New variable.
23905 (test-types): Likewise.
23906 (libm-test-support): Use $(test-types) instead of $(types).
23907 (libm-tests-base-normal): Likewise.
23908 (libm-tests-base-finite): Likewise.
23909 (libm-tests-base-inline): Likewise.
23910 (generated): Likewise.
23911 ($(objpfx)libm-test-support-$(t).c): Likewise.
23912 (libm-tests-for-type iterator): Likewise.
23913 (libm-test-support iterator): Likewise.
23914 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
23915 (ulp_idx): Use ULP_IDX.
23916 * math/test-ldouble.h: Include <float.h>.
23917 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
23918 (ULP_IDX): New macro.
23919 (ULP_I_IDX): Likewise.
23920 * math/test-double.h (ULP_IDX): Likewise.
23921 (ULP_I_IDX): Likewise.
23922 * math/test-float.h (ULP_IDX): Likewise.
23923 (ULP_I_IDX): Likewise.
23924 * math/test-float128.h (ULP_IDX): Likewise.
23925 (ULP_I_IDX): Likewise.
23927 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23929 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
23930 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23931 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23932 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
23933 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23934 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
23935 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
23936 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23937 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23938 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23939 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
23940 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23941 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23942 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23943 (SINGLE_THREAD_BY_GLOBAL): Define.
23944 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23946 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23948 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23950 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23952 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
23953 (SINGLE_THREAD_BY_GLOBAL): Likewise.
23954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23957 2017-10-11 Andreas Schwab <schwab@suse.de>
23959 * nis/Makefile (aux): Remove.
23960 * nscd/Makefile (aux): Add nscd_hash.
23961 (nscd-modules): Likewise.
23962 ($(objpfx)nscd): Don't depend on libnsl.
23963 * nscd/nscd_hash.c: New file.
23964 * nscd/nscd_hash.h: Likewise.
23965 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
23966 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
23967 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
23968 instead of <nis/rpcsvc/nis.h>.
23969 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
23971 2017-10-11 Florian Weimer <fweimer@redhat.com>
23974 Avoid large NSS buffers with many addresses, aliases.
23975 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
23976 using dynarrays and struct alloc_buffer.
23977 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
23978 (tst-nss-files-hosts-multi): Link with -ldl.
23979 * nss/tst-nss-files-hosts-multi.c: New file.
23981 2017-10-11 Florian Weimer <fweimer@redhat.com>
23984 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
23985 scratch_buffer. Eliminate gotos.
23987 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23989 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
23990 libm_alias_ldouble_other.
23991 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
23992 undefine and redefine.
23993 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
23994 (exp10l): Do not define here.
23995 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
23996 (weak_alias): Undefine and redefine.
23997 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
23998 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
23999 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24000 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24002 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24003 [!__fma] (fma): Define using libm_alias_double.
24004 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24005 [!__fmaf] (fmaf): Define using libm_alias_float.
24006 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24007 (fmal): Define using libm_alias_ldouble.
24009 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24011 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24013 (libm_alias_double_other): Likewise.
24014 (libm_alias_double_r): Use libm_alias_double_other_r.
24015 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24017 (libm_alias_float_other): Likewise.
24018 (libm_alias_float_r): Use libm_alias_float_other_r.
24019 * sysdeps/generic/libm-alias-float128.h
24020 (libm_alias_float128_other_r): New macro.
24021 (libm_alias_float128_other): Likewise.
24022 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24023 * sysdeps/generic/libm-alias-ldouble.h
24024 (libm_alias_ldouble_other_r): New macro.
24025 (libm_alias_ldouble_other): Likewise.
24026 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24027 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24028 (libm_alias_double_other_r): New macro.
24029 (libm_alias_double_other): Likewise.
24030 (libm_alias_double_r): Use libm_alias_double_other_r.
24031 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24032 (libm_alias_ldouble_other_r): New macro.
24033 (libm_alias_ldouble_other): Likewise.
24034 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24035 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24036 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24037 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24038 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24039 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24040 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24041 * math/w_exp2f.c: Use libm_alias_float_other.
24042 * math/w_expf.c: Likewise.
24043 * math/w_log2f.c: Likewise.
24044 * math/w_logf.c: Likewise.
24045 * math/w_powf.c: Likewise.
24046 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24047 [!__exp2f]: Use libm_alias_float_other.
24048 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24049 [!__expf]: Use libm_alias_float_other.
24050 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24051 [!__log2f]: Use libm_alias_float_other.
24052 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24053 [!__logf]: Use libm_alias_float_other.
24054 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24055 [!__powf]: Use libm_alias_float_other.
24057 2017-10-10 Florian Weimer <fweimer@redhat.com>
24059 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24061 (_nss_files_gethostbyname3_r): Call it.
24063 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24065 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24066 error. Remove default definition of declare_mgen_alias.
24067 [!declare_mgen_alias_r]: Likewise.
24068 * sysdeps/generic/math-type-macros-double.h
24069 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24070 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24071 (declare_mgen_alias_r): Likewise.
24072 * sysdeps/generic/math-type-macros-float128.h
24073 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24074 * sysdeps/generic/math-type-macros-ldouble.h
24075 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24076 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24078 (declare_mgen_alias_r_s): Likewise.
24079 (declare_mgen_alias_r): Likewise.
24080 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24081 (lgamma_r): Define using libm_alias_double_r.
24082 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24083 (lgammaf_r): Define using libm_alias_float_r.
24084 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24085 (lgammal_r): Define using libm_alias_ldouble_r.
24086 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24087 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24089 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24091 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24092 extern declaration.
24094 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24096 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24098 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24101 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24102 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24103 * math/Makefile (test-math-cxx11): New test.
24104 * math/test-math-cxx11.cc: New file.
24106 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24108 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24110 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24111 call to allocate the slave pty file descriptor.
24113 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24115 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24116 [!__fma] (fma): Define using libm_alias_double.
24117 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24118 [!__fma] (fma): Define using libm_alias_double.
24120 * sysdeps/ieee754/float128/float128_private.h: Include
24121 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24122 (libm_alias_ldouble_r): Undefine and redefine.
24123 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24124 <libm-alias-ldouble.h>.
24125 (asinhl): Define using libm_alias_ldouble.
24126 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24127 <libm-alias-ldouble.h>.
24128 (atanl): Define using libm_alias_ldouble.
24129 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24130 <libm-alias-ldouble.h>.
24131 (cbrtl): Define using libm_alias_ldouble.
24132 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24133 <libm-alias-ldouble.h>.
24134 (ceill): Define using libm_alias_ldouble.
24135 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24136 <libm-alias-ldouble.h>.
24137 (copysignl): Define using libm_alias_ldouble.
24138 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24139 <libm-alias-ldouble.h>.
24140 (cosl): Define using libm_alias_ldouble.
24141 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24142 <libm-alias-ldouble.h>.
24143 (erfl): Define using libm_alias_ldouble.
24145 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24146 <libm-alias-ldouble.h>.
24147 (expm1l): Define using libm_alias_ldouble.
24148 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24149 <libm-alias-ldouble.h>.
24150 (fabsl): Define using libm_alias_ldouble.
24151 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24152 <libm-alias-ldouble.h>.
24153 (floorl): Define using libm_alias_ldouble.
24154 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24155 <libm-alias-ldouble.h>.
24156 (fmal): Define using libm_alias_ldouble.
24157 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24158 <libm-alias-ldouble.h>.
24159 (frexpl): Define using libm_alias_ldouble.
24160 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24161 libm_alias_ldouble.
24162 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24163 <libm-alias-ldouble.h>.
24164 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24165 libm_alias_ldouble.
24166 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24167 <libm-alias-ldouble.h>.
24168 (getpayloadl): Define using libm_alias_ldouble.
24169 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24170 <libm-alias-ldouble.h>.
24171 (llrintl): Define using libm_alias_ldouble.
24172 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24173 <libm-alias-ldouble.h>.
24174 (llroundl): Define using libm_alias_ldouble.
24175 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24176 <libm-alias-ldouble.h>.
24177 (logbl): Define using libm_alias_ldouble.
24178 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24179 <libm-alias-ldouble.h>.
24180 (lrintl): Define using libm_alias_ldouble.
24181 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24182 <libm-alias-ldouble.h>.
24183 (lroundl): Define using libm_alias_ldouble.
24184 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24185 <libm-alias-ldouble.h>.
24186 (modfl): Define using libm_alias_ldouble.
24187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24188 <libm-alias-ldouble.h>.
24189 (nearbyintl): Define using libm_alias_ldouble.
24190 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24191 <libm-alias-ldouble.h>.
24192 (nextafterl): Define using libm_alias_ldouble.
24193 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24194 <libm-alias-ldouble.h>.
24195 (nextupl): Define using libm_alias_ldouble.
24196 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24197 <libm-alias-ldouble.h>.
24198 (remquol): Define using libm_alias_ldouble.
24199 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24200 <libm-alias-ldouble.h>.
24201 (rintl): Define using libm_alias_ldouble.
24202 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24203 <libm-alias-ldouble.h>.
24204 (roundevenl): Define using libm_alias_ldouble.
24205 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24206 <libm-alias-ldouble.h>.
24207 (roundl): Define using libm_alias_ldouble.
24208 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24209 using libm_alias_ldouble.
24210 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24211 <libm-alias-ldouble.h>.
24212 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24213 Define using libm_alias_ldouble.
24214 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24215 <libm-alias-ldouble.h>.
24216 (sincosl): Define using libm_alias_ldouble.
24217 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24218 <libm-alias-ldouble.h>.
24219 (sinl): Define using libm_alias_ldouble.
24220 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24221 <libm-alias-ldouble.h>.
24222 (tanhl): Define using libm_alias_ldouble.
24223 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24224 <libm-alias-ldouble.h>.
24225 (tanl): Define using libm_alias_ldouble.
24226 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24227 <libm-alias-ldouble.h>.
24228 (totalorderl): Define using libm_alias_ldouble.
24229 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24230 <libm-alias-ldouble.h>.
24231 (totalordermagl): Define using libm_alias_ldouble.
24232 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24233 <libm-alias-ldouble.h>.
24234 (truncl): Define using libm_alias_ldouble.
24235 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24236 libm_alias_ldouble.
24237 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24238 libm_alias_ldouble.
24239 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24240 <libm-alias-ldouble.h>.
24241 (weak_alias): Do not undefine and redefine.
24242 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24243 (copysignl): Define with long_double_symbol only if [IS_IN
24245 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24246 <libm-alias-ldouble.h>.
24247 (weak_alias): Do not undefine and redefine.
24248 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24249 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24250 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24251 <libm-alias-ldouble.h>.
24252 (weak_alias): Do not undefine and redefine.
24253 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24254 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24255 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24256 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24258 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24259 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24262 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24263 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24264 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24265 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24266 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24267 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24269 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24270 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24272 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24273 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24274 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24275 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24276 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24277 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24278 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24280 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24283 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24284 (tcache_thread_freeres): Set tcache_shutting_down before
24285 freeing the tcache.
24286 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24287 * malloc/tst-malloc-tcache-leak.c: New file.
24289 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24291 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24292 back to powerpc32 file.
24293 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24294 (memrchr): Add __memrchr_power8 to ifunc list.
24295 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24296 extra bytes for unaligned inputs.
24298 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24300 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24301 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24302 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24303 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24304 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24306 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24308 * sysdeps/arm/libm-test-ulps: Update.
24310 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24311 <libm-alias-ldouble.h>.
24312 (asinhl): Define using libm_alias_ldouble.
24313 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24314 <libm-alias-ldouble.h>.
24315 (cbrtl): Define using libm_alias_ldouble.
24316 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24317 <libm-alias-ldouble.h>.
24318 (copysignl): Define using libm_alias_ldouble.
24319 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24320 <libm-alias-ldouble.h>.
24321 (cosl): Define using libm_alias_ldouble.
24322 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24323 <libm-alias-ldouble.h>.
24324 (erfl): Define using libm_alias_ldouble.
24326 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24327 <libm-alias-ldouble.h>.
24328 (fmal): Define using libm_alias_ldouble.
24329 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24330 <libm-alias-ldouble.h>.
24331 (frexpl): Define using libm_alias_ldouble.
24332 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24333 libm_alias_ldouble.
24334 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24335 <libm-alias-ldouble.h>.
24336 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24337 libm_alias_ldouble.
24338 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24339 <libm-alias-ldouble.h>.
24340 (getpayloadl): Define using libm_alias_ldouble.
24341 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24342 <libm-alias-ldouble.h>.
24343 (llrintl): Define using libm_alias_ldouble.
24344 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24345 <libm-alias-ldouble.h>.
24346 (llroundl): Define using libm_alias_ldouble.
24347 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24348 <libm-alias-ldouble.h>.
24349 (lrintl): Define using libm_alias_ldouble.
24350 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24351 <libm-alias-ldouble.h>.
24352 (lroundl): Define using libm_alias_ldouble.
24353 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24354 <libm-alias-ldouble.h>.
24355 (modfl): Define using libm_alias_ldouble.
24356 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24357 <libm-alias-ldouble.h>.
24358 (nextupl): Define using libm_alias_ldouble.
24359 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24360 <libm-alias-ldouble.h>.
24361 (remquol): Define using libm_alias_ldouble.
24362 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24363 <libm-alias-ldouble.h>.
24364 (roundevenl): Define using libm_alias_ldouble.
24365 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24366 <libm-alias-ldouble.h>.
24367 (roundl): Define using libm_alias_ldouble.
24368 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24369 using libm_alias_ldouble.
24370 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24371 <libm-alias-ldouble.h>.
24372 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24373 <libm-alias-ldouble.h>.
24374 (setpayloadsigl): Define using libm_alias_ldouble.
24375 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24376 <libm-alias-ldouble.h>.
24377 (sincosl): Define using libm_alias_ldouble.
24378 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24379 <libm-alias-ldouble.h>.
24380 (sinl): Define using libm_alias_ldouble.
24381 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24382 <libm-alias-ldouble.h>.
24383 (tanhl): Define using libm_alias_ldouble.
24384 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24385 <libm-alias-ldouble.h>.
24386 (tanl): Define using libm_alias_ldouble.
24387 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24388 <libm-alias-ldouble.h>.
24389 (totalorderl): Define using libm_alias_ldouble.
24390 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24391 <libm-alias-ldouble.h>.
24392 (totalordermagl): Define using libm_alias_ldouble.
24393 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24394 libm_alias_ldouble.
24395 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24396 libm_alias_ldouble.
24398 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24400 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24402 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24403 (__libc_ifunc_impl_list): Likewise.
24404 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24405 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24407 * benchtests/bench-memmove-walk.c: New file.
24408 * benchtests/Makefile (string-benchset): Add it.
24410 * benchtests/bench-memset-walk.c: New file.
24411 * benchtests/Makefile (string-benchset): Add it.
24413 * benchtests/bench-memcpy-walk.c: New file.
24414 * benchtests/Makefile (string-benchset): Add it.
24416 2017-10-05 Florian Weimer <fweimer@redhat.com>
24418 nscd: Eliminate compilation time dependency in the build output.
24419 * nscd/nscd_stat.c (STATDATA_VERSION)
24420 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24421 (STATDATA_VERSION_FULL): New macro definitions.
24422 (compilation): Remove.
24423 (struct statdata): Adjust version member.
24424 (send_stats): Set version from STATDATA_VERSION_FULL.
24425 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24427 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24429 * configure.ac (--enable-add-ons): Remove option.
24430 (machine): Do not mention add-ons in comment.
24431 (LIBC_PRECONFIGURE): Likewise.
24432 (add_ons): Remove variable and sanity checks and logic to locate
24434 (add_ons_automatic): Remove variable.
24435 (configured_add_ons): Likewise.
24436 (add_ons_sfx): Likewise.
24437 (add_ons_pfx): Likewise.
24438 (add_on_subdirs): Likewise.
24439 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24440 consideration of add-ons in Implies handling.
24441 (sysdeps_add_ons): Likewise.
24442 * configure: Regenerated.
24443 * libidn/configure.ac: Remove.
24444 * libidn/configure: Likewise.
24445 * sysdeps/unix/inet/configure.ac: New file.
24446 * sysdeps/unix/inet/configure: New generated file.
24447 * sysdeps/unix/inet/Subdirs: Add libidn.
24448 * Makeconfig (sysdeps-srcdirs): Remove variable.
24449 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24450 ($(common-objpfx)config.status): Do not depend on add-on files.
24451 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24453 (all-subdirs): Do not include $(add-on-subdirs).
24454 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24455 * config.make.in (add-ons): Remove variable.
24456 (add-on-subdirs): Likewise.
24457 (sysdeps-add-ons): Likewise.
24458 * manual/Makefile (add-chapters): Remove.
24459 ($(objpfx)texis): Do not depend on $(add-chapters).
24460 (nonexamples): Do not handle $(add-chapters).
24461 (examples): Do not handle $(add-ons).
24462 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24464 * manual/install.texi (Installation): Do not mention add-ons.
24465 (--enable-add-ons): Do not document configure option.
24466 * INSTALL: Regenerated.
24467 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24468 * manual/maint.texi (Hierarchy Conventions): Do not mention
24470 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24472 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24474 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24475 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24477 2017-10-05 Andreas Schwab <schwab@suse.de>
24480 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24481 (_IO_flush_all_lockp): Always lock list_all_lock.
24482 (_IO_flush_all_linebuffered): Likewise.
24483 (_IO_unbuffer_all): Likewise.
24485 2017-10-05 Florian Weimer <fweimer@redhat.com>
24488 Do not flush stdio streams on abort.
24489 * stdlib/abort.c (fflush): Remove macro definition.
24490 (abort): Remove stages related to stdio flushing.
24492 2017-10-05 Florian Weimer <fweimer@redhat.com>
24494 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24496 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24498 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24500 2017-10-05 Florian Weimer <fweimer@redhat.com>
24502 * support/support_format_hostent.c (support_format_hostent): Add
24503 more error information for NETDB_INTERNAL.
24505 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24507 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24508 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24509 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24510 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24511 AC_DEFINE if multi-arch is enabled.
24512 * sysdeps/i386/configure: Regenerated.
24514 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24516 * Makeconfig (+link-static-before-libc): Use
24517 $(DEFAULT-LDFLAGS-$(@F)).
24518 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24519 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24520 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24522 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24524 * elf/Makefile (tests): Add tst-main1.
24525 (modules-names): Add tst-main1mod.
24526 ($(objpfx)tst-main1): New.
24527 (CRT-tst-main1): Likewise.
24528 (LDFLAGS-tst-main1): Likewise.
24529 (LDLIBS-tst-main1): Likewise.
24530 (tst-main1mod.so-no-z-defs): Likewise.
24531 * elf/tst-main1.c: New file.
24532 * elf/tst-main1mod.c: Likewise.
24534 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24536 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24538 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24540 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24541 (fma): Define using libm_alias_double.
24542 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24543 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24545 (fmal): Do not define as compat symbol here.
24546 * sysdeps/alpha/fpu/s_fma.c: New file.
24548 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24550 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24552 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24555 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24557 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24559 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24560 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24561 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24562 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24564 Include <math_ldbl_opt.h>
24565 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24567 (compat_symbol): Undefine and redefine.
24568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24570 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24571 (compat_symbol): Undefine and redefine.
24572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24573 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24574 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24575 GLIBC_2_1 for libm.
24576 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24577 GLIBC_2.0 copysignl symbol.
24578 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24579 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24581 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24583 2017-10-04 Florian Weimer <fweimer@redhat.com>
24585 * scripts/check-local-headers.sh: Ignore nspr4 header file
24586 directory in addition to nspr.
24588 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24591 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24592 * configure: Regenerate.
24593 * crypt/Makefile (nss-cpp-flags): New variable.
24594 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24595 (CPPFLAGS-md5-crypt.c): Use it.
24596 * scripts/check-local-headers.sh: Ignore nspr header file
24599 2017-10-04 Andreas Schwab <schwab@suse.de>
24601 * nis/Makefile (services): Remove compat.
24602 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24603 ($(objpfx)libnss_compat.so): Remove rule.
24604 * nis/Versions (libnss_compat): Remove.
24605 * nss/Makefile (services): Add compat.
24606 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24607 * nss/Versions (libnss_compat): Define.
24608 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24609 Don't include <rpc/types.h>. Replace bool_t by bool.
24610 * nss/nss_compat/compat-initgroups.c: Likewise.
24611 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24612 instead of <rpcsrv/ypclnt.h>.
24613 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24614 yp_get_default_domain.
24615 * nss/nss_compat/compat-pwd.c: Likewise.
24616 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24617 yp_get_default_domain.
24618 * nss/nss_compat/nisdomain.c: New file.
24619 * nss/nss_compat/nisdomain.h: Likewise.
24621 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24624 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24625 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24627 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24630 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24631 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24633 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24635 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24636 "movl main@GOTOFF(%ebx), %eax".
24638 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24640 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24641 allow undefined _DYNAMIC in PIE libc.a.
24642 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24645 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24647 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24650 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24652 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24655 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24657 * math/test-math-iscanonical.cc (error): Replace bool with int.
24659 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24661 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24662 (modf): Define using libm_alias_double, only if [!__modf].
24663 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24664 <libm-alias-double.h>.
24665 (modf): Define using libm_alias_double, only if [!__modf].
24666 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24667 compat symbol here.
24668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24669 (weak_alias): Do not undefine and redefine.
24670 (strong_alias): Likewise.
24671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24672 (weak_alias): Likewise.
24673 (strong_alias): Likewise.
24675 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24676 (logb): Define using libm_alias_double, only if [!__logb].
24677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24678 <libm-alias-double.h>.
24679 (logb): Define using libm_alias_double, only if [!__logb].
24680 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24682 (weak_alias): Do not undefine and redefine.
24683 (strong_alias): Likewise.
24684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24685 (weak_alias): Likewise.
24686 (strong_alias): Likewise.
24688 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24690 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24691 Check SHARED instead PIC.
24693 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24695 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24696 [!__fmaf] (fmaf): Define using libm_alias_float.
24698 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24699 (frexp): Define using libm_alias_double.
24700 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24701 <libm-alias-double.h>.
24702 (frexp): Define using libm_alias_double.
24703 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24704 compat symbol here.
24706 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24709 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24710 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24711 (CFLAGS-test-math-iscanonical.cc): New variable.
24712 * math/test-math-iscanonical.cc: New file.
24713 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24714 Provide a C++ implementation based on function overloading,
24715 rather than using __MATH_TG, which uses C-only builtins.
24716 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24718 * sysdeps/powerpc/powerpc64le/Makefile
24719 (CFLAGS-test-math-iscanonical.cc): New variable.
24721 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24723 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24724 (ceil): Define using libm_alias_double.
24725 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24726 (floor): Define using libm_alias_double.
24727 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24728 <libm-alias-double.h>.
24729 (llround): Define using libm_alias_double.
24730 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24731 <libm-alias-double.h>.
24732 (lround): Define using libm_alias_double.
24733 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24734 <libm-alias-double.h>.
24735 (nearbyint): Define using libm_alias_double.
24736 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24737 <libm-alias-double.h>.
24738 (remquo): Define using libm_alias_double.
24739 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24740 (rint): Define using libm_alias_double.
24741 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24742 (round): Define using libm_alias_double.
24743 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24744 (trunc): Define using libm_alias_double.
24745 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24746 <libm-alias-double.h>.
24747 (ceil): Define using libm_alias_double.
24748 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24749 <libm-alias-double.h>.
24750 (floor): Define using libm_alias_double.
24751 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24752 <libm-alias-double.h>.
24753 (llround): Define using libm_alias_double.
24754 [_LP64] (lround): Likewise.
24755 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24756 <libm-alias-double.h>.
24757 [!_LP64] (lround): Define using libm_alias_double.
24758 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24759 <libm-alias-double.h>.
24760 (nearbyint): Define using libm_alias_double.
24761 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24762 <libm-alias-double.h>.
24763 (remquo): Define using libm_alias_double.
24764 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24765 <libm-alias-double.h>.
24766 (rint): Define using libm_alias_double.
24767 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24768 <libm-alias-double.h>.
24769 (round): Define using libm_alias_double.
24770 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24771 <libm-alias-double.h>.
24772 (trunc): Define using libm_alias_double.
24773 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24774 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24775 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24776 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24777 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24778 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24779 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24780 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24781 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24783 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24785 * math/w_remainder.c: New file.
24786 * math/w_remainderf.c: New file.
24787 * math/w_remainderl.c: New file.
24789 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24791 * elf/rtld.c (BOOTSTRAP_MAP): New.
24792 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24793 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24795 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24797 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24800 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24802 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24803 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24804 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24805 rtld_hidden_data_ver): Define to empty.
24806 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
24807 __assert_perror_fail): Likewise.
24808 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24809 (__rewinddir): Likewise.
24810 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24811 (__profile_frequency): Likewise.
24812 * include/setjmp.h (__sigsetjmp): Likewise.
24813 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
24814 __libc_sigaction): Likewise.
24815 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
24816 not set hidden attribute.
24817 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
24818 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
24819 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
24820 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
24821 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
24822 __fxstatat64): Likewise.
24823 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24824 (__uname): Likewise.
24825 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24826 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
24827 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
24828 (NO_RTLD_HIDDEN): Set.
24829 * sysdeps/mach/hurd/configure: Refresh.
24830 * config.h.in: Refresh.
24832 2017-10-02 Joseph Myers <joseph@codesourcery.com>
24834 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
24835 (atan): Define using libm_alias_double.
24836 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
24837 (tan): Define using libm_alias_double.
24838 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
24839 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
24841 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
24842 define as weak alias of __atan. Do not define any aliases if
24844 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
24845 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
24846 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
24847 as weak alias of __tan. Do not define any aliases if [__tan].
24848 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
24849 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
24850 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
24852 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
24853 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
24854 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
24855 and define as weak alias of __atan.
24856 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
24858 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
24859 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
24860 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
24861 define as weak alias of __tan.
24863 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24865 * math/w_lgamma.c: New file.
24866 * math/w_lgammaf.c: New file.
24867 * math/w_lgammal.c: New file.
24869 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24871 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
24872 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
24873 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
24874 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
24875 * sysdeps/ieee754/flt-32/w_logf.c: New file.
24876 * sysdeps/ieee754/flt-32/w_powf.c: New file.
24877 * sysdeps/i386/fpu/w_log2f.c: New file.
24878 * sysdeps/i386/fpu/w_logf.c: New file.
24879 * sysdeps/i386/fpu/w_powf.c: New file.
24880 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
24881 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
24882 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
24884 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24885 H.J. Lu <hongjiu.lu@intel.com>
24887 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
24888 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
24889 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
24890 * sysdeps/ieee754/flt-32/w_expf.c: New file.
24891 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
24893 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
24894 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
24895 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
24896 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
24897 * sysdeps/i386/fpu/w_exp2f.c: New file.
24898 * sysdeps/i386/fpu/w_expf.c: New file.
24899 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
24900 * sysdeps/x86_64/fpu/w_expf.c: New file.
24902 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24904 * math/Versions (logf): New libm symbol at GLIBC_2.27.
24907 * math/w_log2f.c: New file.
24908 * math/w_logf.c: New file.
24909 * math/w_powf.c: New file.
24910 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
24911 * math/w_logf_compat.c (__logf_compat): Likewise.
24912 * math/w_powf_compat.c (__powf_compat): Likewise.
24913 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
24914 * sysdeps/ia64/fpu/e_logf.S: Likewise.
24915 * sysdeps/ia64/fpu/e_powf.S: Likewise.
24916 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24917 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24918 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24919 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24920 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24921 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24922 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24923 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24924 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24925 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24926 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24927 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24936 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24937 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24938 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24939 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24940 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24945 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24946 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24947 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24949 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24951 * sysdeps/powerpc/powerpc64/multiarch/Makefile
24952 (sysdep_routines): Add memrchr_power8.
24953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24954 (memrchr): Add __memrchr_power8 to list of memrchr functions.
24955 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
24957 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24958 (memrchr): Add __memrchr_power8 to ifunc list.
24959 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
24961 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24964 * sysdeps/unix/sysv/linux/posix_fadvise64.c
24965 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
24967 * sysdeps/unix/sysv/linux/posix_fallocate64.c
24968 (__posix_fallocate64_l64): Likewise.
24970 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24973 * sysdeps/unix/sysv/linux/sched_setaffinity.c
24974 (__sched_setaffinity_new): Add libc_hidden_proto and
24977 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24980 * include/glob.h (__glob64): Add libc_hidden_proto.
24981 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
24984 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24987 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
24990 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24993 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
24995 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24998 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25001 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25004 * csu/version.c (__libc_print_version): Add attribute_hidden.
25006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25009 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25011 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25014 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25016 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25019 * nscd/nscd_helper.c (__nis_hash): New prototype.
25021 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25024 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25025 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25027 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25028 * termios/tcgetattr.c (__tcgetattr): Likewise.
25030 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25033 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25034 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25035 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25036 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25037 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25039 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25042 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25044 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25047 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25048 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25050 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25053 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25055 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25058 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25059 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25061 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25064 * include/ifreq.h: New file.
25065 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25066 (__ifreq): Likewise.
25067 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25068 (__ifreq): Likewise.
25070 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25073 * include/idna.h: New file.
25074 * inet/getnameinfo.c: Include <idna.h> instead of
25076 (__idna_to_unicode_lzlz): Removed.
25077 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25079 (__idna_to_ascii_lz): Removed.
25080 (__idna_to_unicode_lzlz): Likewise.
25082 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25085 * include/plural-exp.h: New file.
25086 * intl/plural-exp.c: Include <plural-exp.h> instead of
25089 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25092 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25093 "getsourcefilter.h".
25094 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25095 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25096 "getsourcefilter.h".
25097 (__get_sol): Removed.
25099 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25102 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25104 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25106 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25109 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25112 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25115 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25117 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25120 * include/search.h (__tdestroy): Add libc_hidden_proto.
25121 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25123 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25126 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25128 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25131 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25134 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25137 * include/signal.h (__kill): Add libc_hidden_proto.
25138 (__sigblock): Likewise.
25139 (__sigprocmask): Likewise.
25140 (__sigaltstack): Likewise.
25141 * signal/kill.c (__kill): Add libc_hidden_def.
25142 * signal/sigblock.c (__sigblock): Likewise.
25143 * signal/sigprocmask.c (__sigprocmask): Likewise.
25144 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25145 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25146 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25147 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25148 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25150 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25152 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25153 (__sigprocmask): Likewise.
25154 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25156 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25157 (__sigprocmask): Likewise.
25158 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25161 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25164 * include/string.h (__strsep): Add libc_hidden_proto.
25165 * string/strsep.c (__strsep): Add libc_hidden_def.
25167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25170 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25172 (__spawni): Likewise.
25174 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25177 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25178 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25181 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25184 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25186 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25189 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25190 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25191 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25192 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25193 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25195 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25196 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25198 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25201 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25202 (__dcigettext): Likewise.
25204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25207 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25209 (__get_nprocs): Likewise.
25210 (__get_phys_pages): Likewise.
25211 (__get_avphys_pages): Likewise.
25212 (__get_child_max): Add attribute_hidden.
25213 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25214 (__get_nprocs): Likewise.
25215 (__get_phys_pages): Likewise.
25216 (__get_avphys_pages): Likewise.
25217 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25219 (__get_nprocs): Likewise.
25220 (__get_phys_pages): Likewise.
25221 (__get_avphys_pages): Likewise.
25222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25224 (__get_nprocs_conf): Likewise.
25225 (__get_phys_pages): Likewise.
25226 (__get_avphys_pages): Likewise.
25228 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25231 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25233 (__netlink_close): Likewise.
25234 (__netlink_free_handle): Likewise.
25235 (__netlink_request): Likewise.
25237 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25240 * include/rpc/rpc.h (__rpc_thread_variables): Add
25242 (__rpc_thread_svc_cleanup): Likewise.
25243 (__rpc_thread_clnt_cleanup): Likewise.
25244 (__rpc_thread_key_cleanup): Likewise.
25246 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25249 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25250 (__writev): Likewise.
25251 * misc/readv.c (__readv): Add libc_hidden_def.
25252 * misc/writev.c (__writev): Likewise.
25253 * sysdeps/posix/readv.c (__readv): Likewise.
25254 * sysdeps/posix/writev.c (__writev): Likewise.
25255 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25256 (__readv): Likewise.
25257 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25258 (__writev): Likewise.
25260 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25263 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25264 (__regcomp): Add libc_hidden_proto.
25265 (__regexec): Likewise.
25266 (__regfree): Likewise.
25267 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25268 (__regfree): Likewise.
25269 * posix/regexec.c (__regexec): Likewise.
25271 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25274 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25275 (__getutent): Likewise.
25276 (__getutid): Likewise.
25277 (__getutline): Likewise.
25278 (__pututline): Likewise.
25279 (__getutent_r): Likewise.
25280 (__getutid_r): Likewise.
25281 (__getutline_r): Likewise.
25282 (__utmpname): Add attribute_hidden.
25283 (__setutent): Likewise.
25284 (__endutent): Likewise.
25285 * login/getutent.c (__getutent): Add libc_hidden_def.
25286 * login/getutent_r.c (__getutent_r): Likewise.
25287 (__pututline): Likewise.
25288 * login/getutid.c (__getutid): Likewise.
25289 * login/getutid_r.c (__getutid_r): Likewise.
25290 * login/getutline.c (__getutline): Likewise.
25291 * login/getutline_r.c (__getutline_r): Likewise.
25292 * login/updwtmp.c (__updwtmp): Likewise.
25294 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25297 * include/dirent.h (__opendir): Always add attribute_hidden.
25298 (__fdopendir): Likewise.
25299 (__closedir): Likewise.
25300 (__readdir): Likewise.
25301 (__readdir64): Add libc_hidden_proto.
25302 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25303 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25304 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25305 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25308 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25311 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25312 * include/netdb.h (__gethostbyaddr_r): Likewise.
25313 (__gethostbyname_r): Likewise.
25314 (__gethostbyname2_r): Likewise.
25315 (__getnetbyaddr_r): Likewise.
25316 (__getnetbyname_r): Likewise.
25317 (__getservbyname_r): Likewise.
25318 (__getservbyport_r): Likewise.
25319 (__getprotobyname_r): Likewise.
25320 (__getprotobynumber_r): Likewise.
25321 (__getnetgrent_r): Likewise.
25322 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25323 (__getrpcbynumber_r): Likewise.
25324 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25326 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25329 * include/stdio.h (__fcloseall): Add attribute_hidden.
25330 (__getline): Likewise.
25331 (__path_search): Likewise.
25332 (__gen_tempname): Likewise.
25333 (__libc_message): Likewise.
25334 (__flockfile): Likewise.
25335 (__funlockfile): Likewise.
25336 (__fxprintf): Likewise.
25337 (__fxprintf_nocancel): Likewise.
25339 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25342 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25343 (__sgetsgent_r): Likewise.
25345 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25348 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25349 (__statfs64): Likewise.
25350 (__fstatfs64): Likewise.
25351 * include/sys/statvfs.h (__statvfs64): Likewise.
25352 (__fstatvfs64): Likewise.
25353 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25354 (__statfs_filesize_max): Likewise.
25355 (__statfs_symlinks): Likewise.
25356 (__statfs_chown_restricted): Likewise.
25358 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25361 * include/time.h (__tzstring): Add attribute_hidden.
25362 (__tzfile_read): Likewise.
25363 (__tzfile_compute): Likewise.
25364 (__tzfile_default): Likewise.
25365 (__tzset_parse_tz): Likewise.
25366 (__offtime): Likewise.
25367 (__asctime_r): Likewise.
25368 (__tzset): Likewise.
25369 (__tz_convert): Likewise.
25370 (__getdate_r): Likewise.
25371 (__getclktck): Likewise.
25373 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25376 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25377 (__nscd_unmap): Likewise.
25378 (__nscd_cache_search): Likewise.
25379 (__nscd_get_nl_timestamp): Likewise.
25380 (__nscd_getpwnam_r): Likewise.
25381 (__nscd_getpwuid_r): Likewise.
25382 (__nscd_getgrnam_r): Likewise.
25383 (__nscd_getgrgid_r): Likewise.
25384 (__nscd_gethostbyname_r): Likewise.
25385 (__nscd_gethostbyname2_r): Likewise.
25386 (__nscd_gethostbyaddr_r): Likewise.
25387 (__nscd_getai): Likewise.
25388 (__nscd_getgrouplist): Likewise.
25389 (__nscd_getservbyname_r): Likewise.
25390 (__nscd_getservbyport_r): Likewise.
25391 (__nscd_innetgr): Likewise.
25392 (__nscd_setnetgrent): Likewise.
25394 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25397 * include/gmp.h: Declare internal functions only if _ISOMAC is
25399 (__mpn_extract_double): Add attribute_hidden.
25400 (__mpn_extract_long_double): Likewise.
25401 (__mpn_extract_float128): Likewise.
25402 (__mpn_construct_float): Likewise.
25403 (__mpn_construct_double): Likewise.
25404 (__mpn_construct_long_double): Likewise.
25405 (__mpn_construct_float128): Likewise.
25406 (mpn_add_1): Likewise.
25407 (mpn_addmul_1): Likewise.
25408 (mpn_add_n): Likewise.
25409 (mpn_cmp): Likewise.
25410 (mpn_divrem): Likewise.
25411 (mpn_lshift): Likewise.
25412 (mpn_mul): Likewise.
25413 (mpn_mul_1): Likewise.
25414 (mpn_rshift): Likewise.
25415 (mpn_sub_1): Likewise.
25416 (mpn_submul_1): Likewise.
25417 (mpn_sub_n): Likewise.
25419 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25422 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25423 (__wcscat): Likewise.
25424 (__btowc): Likewise.
25425 (__wcrtomb): Likewise.
25426 (__mbsrtowcs): Likewise.
25427 (__wcsrtombs): Likewise.
25428 (__mbsnrtowcs): Likewise.
25429 (__wcsnrtombs): Likewise.
25430 (__wcsncpy): Likewise.
25431 (__wcpncpy): Likewise.
25432 (__wmemcpy): Likewise.
25433 (__wmempcpy): Likewise.
25434 (__wmemmove): Likewise.
25435 (__wcschrnul): Likewise.
25436 (__vfwscanf): Likewise.
25437 (__vswprintf): Likewise.
25438 (__fwprintf): Likewise.
25439 (__vfwprintf): Likewise.
25441 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25444 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25445 (__getgrgid_r): Likewise.
25446 (__getgrnam_r): Likewise.
25447 * include/pwd.h (__getpwuid_r): Likewise.
25448 (__getpwnam_r): Likewise.
25449 (__fgetpwent_r): Likewise.
25450 * include/shadow.h (__getspnam_r): Likewise.
25451 (__sgetspent_r): Likewise.
25452 (__fgetspent_r): Likewise.
25454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25457 * include/unistd.h (__access): Add attribute_hidden.
25458 (__lseek64): Likewise.
25459 (__libc_pread64): Likewise.
25460 (__pipe2): Likewise.
25461 (__sleep): Likewise.
25462 (__chdir): Likewise.
25463 (__fchdir): Likewise.
25464 (__getcwd): Likewise.
25465 (__rmdir): Likewise.
25466 (__execvpe): Likewise.
25467 (__execve): Likewise.
25468 (__setsid): Likewise.
25469 (__getuid): Likewise.
25470 (__geteuid): Likewise.
25471 (__getgid): Likewise.
25472 (__getegid): Likewise.
25473 (__getgroups): Likewise.
25474 (__group_member): Likewise.
25475 (__ttyname_r): Likewise.
25476 (__isatty): Likewise.
25477 (__readlink): Likewise.
25478 (__unlink): Likewise.
25479 (__gethostname): Likewise.
25480 (__profil): Likewise.
25481 (__getdtablesize): Likewise.
25483 (__ftruncate): Likewise.
25484 (__ftruncate64): Likewise.
25486 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25489 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25490 * argp/argp-fs-xinl.c: Likewise.
25491 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25492 * argp/argp-parse.c: Include <argp.h>.
25493 * argp/argp-xinl.c: Likewise.
25494 * include/argp-fmtstream.h: New file.
25495 * include/argp.h (__argp_error): Add attribute_hidden.
25496 (__argp_failure): Likewise.
25497 (__argp_input): Likewise.
25498 (__argp_state_help): Likewise.
25500 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25503 * include/wchar.h (____wcstof_l_internal): New prototype.
25504 (____wcstod_l_internal): Likewise.
25505 (____wcstold_l_internal): Likewise.
25506 (____wcstol_l_internal): Likewise.
25507 (____wcstoul_l_internal): Likewise.
25508 (____wcstoll_l_internal): Likewise.
25509 (____wcstoull_l_internal): Likewise.
25510 (____wcstof128_l_internal): Likewise.
25511 * sysdeps/ieee754/float128/wcstof128.c
25512 (____wcstof128_l_internal): Removed.
25513 * sysdeps/ieee754/float128/wcstof128_l.c
25514 (____wcstof128_l_internal): Likewise.
25515 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25516 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25517 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25518 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25519 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25520 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25521 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25522 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25523 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25524 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25526 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25529 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25530 instead of <sys/statvfs.h>.
25531 (__internal_statvfs): Removed.
25532 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25533 instead of <sys/statvfs.h>.
25534 (__internal_statvfs64): Removed.
25535 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25536 "internal_statvfs.h" instead of <sys/statvfs.h>.
25537 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25538 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25539 instead of <sys/statvfs.h>.
25540 (__internal_statvfs): Removed.
25541 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25542 instead of <sys/statvfs.h>.
25543 (__internal_statvfs64): Removed.
25545 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25548 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25549 (__gconv_close): Likewise.
25550 (__gconv): Likewise.
25551 (__gconv_find_transform): Likewise.
25552 (__gconv_lookup_cache): Likewise.
25553 (__gconv_compare_alias_cache): Likewise.
25554 (__gconv_load_cache): Likewise.
25555 (__gconv_get_path): Likewise.
25556 (__gconv_close_transform): Likewise.
25557 (__gconv_release_cache): Likewise.
25558 (__gconv_find_shlib): Likewise.
25559 (__gconv_release_shlib): Likewise.
25560 (__gconv_get_builtin_trans): Likewise.
25561 (__gconv_compare_alias): Likewise.
25562 * include/dlfcn.h (_dlerror_run): Likewise.
25563 * include/stdio.h (__fortify_fail_abort): Likewise.
25564 * include/time.h (__tz_compute): Likewise.
25565 (__strptime_internal): Likewise.
25566 * intl/gettextP.h (_nl_find_domain): Likewise.
25567 (_nl_load_domain): Likewise.
25568 (_nl_find_msg): Likewise.
25569 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25570 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25571 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25572 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25573 (__gai_find_request): Likewise.
25574 (__gai_remove_request): Likewise.
25575 (__gai_notify): Likewise.
25576 (__gai_notify_only): Likewise.
25577 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25578 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25579 (_dl_non_dynamic_init): Likewise.
25580 (_dl_aux_init): Likewise.
25581 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25582 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25584 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25585 (__wcsmbs_clone_conv): Likewise.
25586 (__wcsmbs_named_conv): Likewise.
25588 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25591 * include/stdlib.h (__random): Add attribute_hidden.
25592 (__random_r): Likewise.
25593 (__srandom_r): Likewise.
25594 (__initstate_r): Likewise.
25595 (__setstate_r): Likewise.
25596 (__erand48_r): Likewise.
25597 (__nrand48_r): Likewise.
25598 (__jrand48_r): Likewise.
25599 (__srand48_r): Likewise.
25600 (__seed48_r): Likewise.
25601 (__lcong48_r): Likewise.
25602 (__drand48_iterate): Likewise.
25603 (__setenv): Likewise.
25604 (__unsetenv): Likewise.
25605 (__clearenv): Likewise.
25606 (__ptsname_r): Likewise.
25607 (__posix_openpt): Likewise.
25608 (__add_to_environ): Likewise.
25609 (__realpath): Add libc_hidden_proto.
25610 (__ecvt_r): Likewise.
25611 (__fcvt_r): Likewise.
25612 (__qecvt_r): Likewise.
25613 (__qfcvt_r): Likewise.
25614 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25615 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25617 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25620 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25621 * include/time.h (__mktime_internal): Likewise.
25622 * libio/iolibio.h (__fopen_internal): Likewise.
25624 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25626 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25628 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25629 Correct offset used to restore PIC register.
25631 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25634 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25635 code to load address of __getcontext_ret when generating PIC code.
25637 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25639 * elf/Makefile (tests-static-internal): Add
25640 tst-tls1-static-non-pie.
25641 (LDFLAGS-tst-tls1-static-non-pie): New.
25642 * elf/tst-tls1-static-non-pie.c: New file.
25644 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25646 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25647 (asinh): Define using libm_alias_double.
25648 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25649 (cbrt): Define using libm_alias_double.
25650 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25651 <libm-alias-double.h>.
25652 (copysign): Define using libm_alias_double.
25653 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25654 (erf): Define using libm_alias_double.
25656 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25657 (expm1): Define using libm_alias_double.
25658 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25659 (fabs): Define using libm_alias_double.
25660 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25662 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25663 <libm-alias-double.h>.
25664 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25666 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25667 <libm-alias-double.h>.
25668 (getpayload): Define using libm_alias_double.
25669 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25670 <libm-alias-double.h>.
25671 (llrint): Define using libm_alias_double.
25672 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25673 (lrint): Define using libm_alias_double.
25674 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25675 <libm-alias-double.h>.
25676 (nextup): Define using libm_alias_double.
25677 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25678 <libm-alias-double.h>.
25679 (roundeven): Define using libm_alias_double.
25680 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25682 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25683 <libm-alias-double.h>.
25684 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25685 using libm_alias_double.
25686 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25687 (cos): Define using libm_alias_double.
25689 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25690 <libm-alias-double.h>.
25691 (sincos): Define using libm_alias_double.
25692 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25693 (tanh): Define using libm_alias_double.
25694 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25695 <libm-alias-double.h>.
25696 (totalorder): Define using libm_alias_double.
25697 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25698 <libm-alias-double.h>.
25699 (totalordermag): Define using libm_alias_double.
25700 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25702 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25704 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25705 <libm-alias-double.h>.
25706 (getpayload): Define using libm_alias_double.
25707 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25708 <libm-alias-double.h>.
25709 (roundeven): Define using libm_alias_double.
25710 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25711 <libm-alias-double.h>.
25712 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25713 <libm-alias-double.h>.
25714 (totalorder): Define using libm_alias_double.
25715 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25716 <libm-alias-double.h>.
25717 (totalordermag): Define using libm_alias_double.
25718 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25719 libc compat symbol here.
25720 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25721 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25722 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25723 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25724 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25725 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25726 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25727 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25728 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25729 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25731 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25733 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25734 _dl_relocate_static_pie instead of _dl_start to compute load
25735 address in static PIE. Return 0 if _DYNAMIC is undefined for
25738 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25740 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25741 _DYNAMIC is undefined for static executable.
25743 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25745 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25747 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25751 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25753 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25754 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25755 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25756 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25757 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25758 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25759 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25760 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25761 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25762 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25763 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25764 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25765 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25766 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25767 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25768 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25769 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25771 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25773 * math/bits/cmathcalls.h (cimag): Remove inline.
25774 (creal): Remove inline.
25775 (conj): Remove inline.
25777 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25779 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25780 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25781 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25782 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25783 (issignalingf_inline): Likewise.
25784 (POWF_LOG2_TABLE_BITS): Likewise.
25785 (POWF_LOG2_POLY_ORDER): Likewise.
25786 (POWF_SCALE_BITS): Likewise.
25787 (POWF_SCALE): Likewise.
25788 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25789 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25790 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25792 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25794 * math/Makefile (type-float-routines): Add e_log2f_data.
25795 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25796 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25797 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25798 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25799 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25800 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25801 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25803 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25805 * math/Makefile (type-float-routines): Add e_logf_data.
25806 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
25807 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
25808 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
25809 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
25810 * sysdeps/i386/fpu/e_logf_data.c: New file.
25811 * sysdeps/ia64/fpu/e_logf_data.c: New file.
25812 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
25814 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
25816 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
25817 undefined _DYNAMIC in PIE libc.a.
25818 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25821 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25823 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
25824 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
25825 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
25826 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
25827 (__signbit): Remove.
25828 (__signbitl): Remove.
25829 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
25830 (__signbit): Remove.
25831 (__signbitl): Remove.
25832 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
25833 (__signbit): Remove.
25834 (__signbitl): Remove.
25835 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
25836 (__signbit): Remove.
25837 (__signbitl): Remove.
25838 * sysdeps/tile/bits/mathinline.h: Delete file.
25839 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
25840 (__signbit): Remove.
25841 (__signbitl): Remove.
25843 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25845 * math/math.h: Improve handling of C99 isgreater macros.
25846 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
25847 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
25848 * sysdeps/powerpc/bits/mathinline.h: Likewise.
25849 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25850 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
25852 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
25854 * sysdeps/aarch64/libm-test-ulps: Update.
25856 2017-09-28 Joseph Myers <joseph@codesourcery.com>
25859 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25860 math_opt_barrier on argument when doing arithmetic on it.
25861 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25862 Likewise. Use math_force_eval not math_opt_barrier after
25864 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
25865 math_opt_barrier on argument when doing arithmetic on it.
25866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25869 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
25871 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
25873 (__freeifaddrs): Likewise.
25875 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
25877 * include/dirent.h (__dirfd): New declaration.
25878 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
25880 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
25881 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
25882 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
25883 * include/unistd.h (__revoke): New declaration.
25884 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
25886 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25887 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
25889 * include/dirent.h (__seekdir): New declaration.
25890 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
25891 redefine as weak alias.
25892 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
25894 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
25895 and use libc_hidden_def on them.
25896 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
25898 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
25899 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
25900 instead of getifaddrs and freeifaddrs.
25902 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25905 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
25906 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
25907 (__dso_handle): Remove declaration.
25908 * dlfcn/tstatexit.c (__dso_handle): Removed.
25909 (main): Don't check __dso_handle.
25910 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
25911 (main): Don't check __dso_handle.
25912 * include/dso_handle.h: New file.
25913 * malloc/mtrace.c: Include <dso_handle.h>.
25914 (mtrace): Pass __dso_handle directly.
25915 * nptl/pthread_atfork.c: Include <dso_handle.h>.
25916 (__dso_handle): Remove declaration.
25917 (__pthread_atfork): Pass __dso_handle directly.
25918 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
25919 (__dso_handle): Removed.
25920 * posix/wordexp-test.c: Include <dso_handle.h>.
25921 (__dso_handle): Remove declaration.
25922 (__app_register_atfork): Pass __dso_handle directly.
25923 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
25924 (__dso_handle): Remove declaration.
25925 (at_quick_exit): Pass __dso_handle directly.
25926 * stdlib/atexit.c: Include <dso_handle.h>.
25927 (__dso_handle): Remove declaration.
25928 (atexit): Pass __dso_handle directly.
25929 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
25930 (__dso_handle): Removed.
25932 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25934 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
25937 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
25939 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
25940 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
25941 values to correct default value for given type.
25943 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25946 * elf/Makefile (tests): Add tst-debug1.
25947 ($(objpfx)tst-debug1): New.
25948 ($(objpfx)tst-debug1.out): Likewise.
25949 ($(objpfx)tst-debug1mod1.so): Likewise.
25950 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
25951 with p_filesz == 0.
25952 * elf/tst-debug1.c: New file.
25954 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25956 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
25957 Define using __ifunc.
25959 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25961 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
25964 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25967 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
25969 2017-09-26 Florian Weimer <fweimer@redhat.com>
25971 * resolv/Makefile (tests-internal): Fix typo in comment.
25973 2017-09-26 Florian Weimer <fweimer@redhat.com>
25975 * resolv/nss_dns/dns-host.c: Fix typo in comment.
25977 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25979 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
25980 Use an union instead of a max_align_t array for __space,
25981 so that __space is the same size on all platforms.
25982 * malloc/scratch_buffer_grow_preserve.c
25983 (__libc_scratch_buffer_grow_preserve): Likewise.
25986 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
25988 * posix/Makefile (routines): Add glob-lstat-compat and
25989 glob64-lstat-compat.
25990 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
25991 * posix/glob-lstat-compat.c: New file.
25992 * posix/glob64-lstat-compat.c: Likewise.
25993 * posix/tst-glob_lstat_compat.c: Likewise.
25994 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
25995 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
25996 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
25997 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
25999 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26000 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26001 * posix/glob.c (glob_lstat): New function.
26002 (glob): Rename to __glob and add versioned symbol to 2.27.
26003 (glob_in_dir): Use glob_lstat.
26004 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26005 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26006 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26008 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26009 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26010 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26011 gl_lstat on glob call.
26012 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26013 and glob64 symbols.
26014 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26015 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26016 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26017 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26018 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26019 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26020 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26021 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26022 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26023 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26024 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26025 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26028 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26030 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26031 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26032 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26033 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26034 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26037 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26038 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26039 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26041 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26043 * configure.ac (AS): Require binutils 2.25 or later.
26044 * configure: Regenerated.
26046 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26049 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26052 2017-09-25 DJ Delorie <dj@redhat.com>
26055 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26058 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26060 * sysdeps/ieee754/dbl-64/sincos32.h
26061 [SINCCOS32_H]: Remove define.
26062 [SINCOS32_H]: Define.
26064 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26066 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26068 * math/w_exp2f.c: New file.
26069 * math/w_expf.c: New file.
26070 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26071 * math/w_expf_compat.c (__expf_compat): Likewise.
26072 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26073 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26074 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26075 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26076 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26077 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26078 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26079 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26080 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26081 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26082 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26083 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26084 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26085 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26094 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26095 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26096 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26097 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26098 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26103 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26104 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26105 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26107 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26109 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26110 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26111 (roundtoint, converttoint): Likewise.
26112 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26113 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26114 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26115 * sysdeps/ieee754/flt-32/math_config.h: New file.
26116 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26117 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26118 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26119 * sysdeps/i386/fpu/math_errf.c: New file.
26120 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26121 * sysdeps/ia64/fpu/math_errf.c: New file.
26122 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26123 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26125 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26127 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26128 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26129 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26130 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26131 to make sure that these symbols are defined.
26132 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26134 (__need_NULL): Do not define.
26135 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26137 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26138 CMGROUP_MAX, cmsgcred): Do not define.
26139 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26141 * bits/socket.h: Likewise.
26142 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26143 __gettimeofday instead of gettimeofday.
26144 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26145 instead of settimeofday.
26147 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26149 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26150 (asinhf): Define using libm_alias_float.
26151 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26152 (atanf): Define using libm_alias_float.
26153 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26154 (cbrtf): Define using libm_alias_float.
26155 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26156 (ceilf): Define using libm_alias_float.
26157 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26158 <libm-alias-float.h>.
26159 (copysignf): Define using libm_alias_float.
26160 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26161 (cosf): Define using libm_alias_float.
26162 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26163 (erff): Define using libm_alias_float.
26165 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26166 (expm1f): Define using libm_alias_float.
26167 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26168 (fabsf): Define using libm_alias_float.
26169 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26170 (floorf): Define using libm_alias_float.
26171 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26172 (frexpf): Define using libm_alias_float.
26173 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26175 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26176 <libm-alias-float.h>.
26177 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26179 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26180 <libm-alias-float.h>.
26181 (getpayloadf): Define using libm_alias_float.
26182 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26183 <libm-alias-float.h>.
26184 (llrintf): Define using libm_alias_float.
26185 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26186 <libm-alias-float.h>.
26187 (llroundf): Define using libm_alias_float.
26188 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26189 (logbf): Define using libm_alias_float.
26190 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26191 (lrintf): Define using libm_alias_float.
26192 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26193 (lroundf): Define using libm_alias_float.
26194 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26195 (modff): Define using libm_alias_float.
26196 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26197 <libm-alias-float.h>.
26198 (nearbyintf): Define using libm_alias_float.
26199 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26200 <libm-alias-float.h>.
26201 (nextafterf): Define using libm_alias_float.
26202 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26203 <libm-alias-float.h>.
26204 (nextupf): Define using libm_alias_float.
26205 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26206 <libm-alias-float.h>.
26207 (remquof): Define using libm_alias_float.
26208 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26209 (rintf): Define using libm_alias_float.
26210 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26211 <libm-alias-float.h>.
26212 (roundevenf): Define using libm_alias_float.
26213 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26214 (roundf): Define using libm_alias_float.
26215 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26216 using libm_alias_float.
26217 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26218 <libm-alias-float.h>.
26219 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26220 Define using libm_alias_float.
26221 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26222 <libm-alias-float.h>.
26223 (sincosf): Define using libm_alias_float.
26224 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26225 (sinf): Define using libm_alias_float.
26226 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26227 (tanf): Define using libm_alias_float.
26228 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26229 (tanhf): Define using libm_alias_float.
26230 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26231 <libm-alias-float.h>.
26232 (totalorderf): Define using libm_alias_float.
26233 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26234 <libm-alias-float.h>.
26235 (totalordermagf): Define using libm_alias_float.
26236 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26237 (truncf): Define using libm_alias_float.
26238 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26240 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26243 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26246 math/math.h: Let fpclassify use the builtin in C++ mode, even
26247 when optimazing for size.
26249 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26251 * csu/Makefile (generated): Do not add version-info.h.
26252 (before-compile): Likewise.
26253 (all-Banner-files): Remove variable.
26254 ($(objpfx)version-info.h): Remove rule.
26255 * csu/version.c (banner): Do not include "version-info.h".
26256 * libidn/Banner: Remove.
26257 * manual/contrib.texi (Simon Josefsson): New entry.
26259 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26261 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26262 Remove conditionals on LDBL_MANT_DIG.
26263 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26264 (__ieee754_lgammal_r): Likewise.
26266 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26268 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26270 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26271 _Float128 and L(). Replace _Float128 with long double and L(x)
26272 with xL, throughout the file.
26273 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26278 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26280 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26281 sysdeps/ieee754/ldbl-128ibm.
26282 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26283 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26284 of including it. Keep _Float128 and L() intact. These will be
26285 reviewed by a separate patch.
26286 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26287 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26288 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26291 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26294 (__finitef128): Define to __redirect___finitef128.
26295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26296 (__isinff128): Define to __redirect___isinff128.
26297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26298 (__isnanf128): Define to __redirect___isnanf128.
26300 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26302 * sysdeps/powerpc/powerpc64le/Makefile
26303 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26304 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26306 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26307 Carlos O'Donell <carlos@redhat.com>
26310 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26311 * stdlib/test-dlclose-exit-race.c: New file.
26312 * stdlib/test-dlclose-exit-race-helper.c: New file.
26313 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26315 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26317 * crypt/Banner: Remove file.
26318 * nptl/Banner: Likewise.
26319 * resolv/Banner: Likewise.
26320 * soft-fp/Banner: Likewise.
26321 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26322 ($(objpfx)version.d): Remove dependency on banner.h.
26323 ($(objpfx)version.os): Likewise.
26324 * nptl/version.c (banner): Do not include banner.h.
26325 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26326 Jelinek and BIND code.
26328 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26329 Carlos O'Donell <carlos@redhat.com>
26331 * support/xdlfcn.h: New file.
26332 * support/xdlfcn.c: New file.
26333 * support/Makefile (libsupport-routines): Add xdlfcn.
26334 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26336 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26339 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26340 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26341 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26342 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26343 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26344 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26345 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26346 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26348 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26349 Ricky Zhou <rickyz@google.com>
26350 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26353 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26355 (__new_exitfn): Fail registration when we finished at_exit processing.
26356 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26357 * stdlib/on_exit.c (__on_exit): Likewise.
26358 * stdlib/exit.c (__exit_funcs_done): New variable.
26359 (__run_exit_handlers): Use __exit_funcs_lock.
26360 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26362 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26363 (test-cxa_atexit-race, test-on_exit-race): New tests.
26364 * stdlib/test-atexit-race-common.c: New file.
26365 * stdlib/test-atexit-race.c: New file.
26366 * stdlib/test-at_quick_exit-race.c: New file.
26367 * stdlib/test-cxa_atexit-race.c: New file.
26368 * stdlib/test-on_exit-race.c: New file.
26370 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26372 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26373 * benchtests/exp2f-inputs: Copy of expf-inputs.
26374 * benchtests/log2f-inputs: Copy of logf-inputs.
26376 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26378 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26379 Explicitly take address of first element of array arguments in
26380 call to INLINE_SYSCALL.
26382 2017-09-19 Andreas Schwab <schwab@suse.de>
26385 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26387 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26389 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26390 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26391 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26392 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26393 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26394 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26395 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26396 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26397 * posix/Makefile (tests): Add tst-fexecve.
26398 * posix/tst-fexecve.c: New file.
26400 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26402 * benchtests/Makefile: Add logf benchmark.
26403 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26405 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26407 * benchtests/Makefile: Add expf benchmark.
26408 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26410 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26412 * csu/Makefile: Add -funwind-tables to libc-start.c.
26413 * debug/Makefile: Add -funwind-tables to backtrace.c.
26414 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26415 * sysdeps/arm/Makefile: Likewise.
26416 * sysdeps/i386/Makefile: Likewise.
26417 * sysdeps/m68k/Makefile: Likewise.
26418 * sysdeps/mips/Makefile: Likewise.
26419 * sysdeps/nios2/Makefile: Likewise.
26420 * sysdeps/sh/Makefile: Likewise.
26421 * sysdeps/sparc/Makefile: Likewise.
26423 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26425 * benchtests/Makefile (bench-math): Add trunc and truncf.
26426 (CFLAGS-bench-trunc.c): New variable.
26427 (CFLAGS-bench-truncf.c): Likewise.
26428 * benchtests/trunc-inputs: New file.
26429 * benchtests/truncf-inputs: Likewise.
26431 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26433 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26435 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26437 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26438 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26440 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26441 (exp10l): Define as weak alias.
26442 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26443 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26445 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26446 (remainderl): Define as weak alias.
26448 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26449 (fmal): Define using libm_alias_ldouble.
26450 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26451 (acoshl): Define using libm_alias_ldouble.
26452 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26453 (acosl): Define using libm_alias_ldouble.
26454 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26455 (asinl): Define using libm_alias_ldouble.
26456 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26457 (atan2l): Define using libm_alias_ldouble.
26458 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26459 (atanhl): Define using libm_alias_ldouble.
26460 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26461 (coshl): Define using libm_alias_ldouble.
26462 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26463 (exp10l): Define using libm_alias_ldouble.
26464 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26465 (exp2l): Define using libm_alias_ldouble.
26466 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26467 (expl): Define using libm_alias_ldouble.
26468 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26469 (fmodl): Define using libm_alias_ldouble.
26470 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26471 (hypotl): Define using libm_alias_ldouble.
26472 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26473 (j0l): Define using libm_alias_ldouble.
26475 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26476 (j1l): Define using libm_alias_ldouble.
26478 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26479 (jnl): Define using libm_alias_ldouble.
26481 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26482 (log10l): Define using libm_alias_ldouble.
26483 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26484 (log2l): Define using libm_alias_ldouble.
26485 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26486 (logl): Define using libm_alias_ldouble.
26487 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26488 (powl): Define using libm_alias_ldouble.
26489 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26490 (remainderl): Define using libm_alias_ldouble.
26491 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26492 (sinhl): Define using libm_alias_ldouble.
26493 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26494 (sqrtl): Define using libm_alias_ldouble.
26495 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26496 (tgammal): Define using libm_alias_ldouble.
26497 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26498 (exp10l): Do not use long_double_symbol here.
26499 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26500 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26501 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26502 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26503 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26504 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26505 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26506 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26507 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26508 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26509 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26510 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26511 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26512 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26513 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26514 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26515 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26516 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26517 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26518 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26519 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26520 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26522 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26524 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26525 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26527 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26529 * io/read.c (read): Add libc_hidden_weak.
26530 * sysdeps/mach/hurd/read.c (read): Likewise.
26531 * io/write.c (write): Likewise.
26532 * sysdeps/mach/hurd/write.c (write): Likewise.
26533 * io/pread64.c (__pread64): Likewise.
26534 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26535 * posix/pread64.c (__pread64): Add libc_hidden_def.
26537 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26539 * benchtests/scripts/compare_strings.py: New option -g.
26540 (draw_graph): Print a message that a graph is being generated.
26541 (process_results): Generate graph only if -g is passed.
26542 (main): Process option -g.
26544 * benchtests/scripts/compare_strings.py (process_results):
26545 Better spacing for output.
26547 * benchtests/scripts/compare_strings.py: Use argparse.
26548 * benchtests/README: Document existence of compare_strings.py.
26550 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26552 * math/s_fma.c: Include <libm-alias-double.h>.
26553 (fma): Define using libm_alias_double.
26554 * math/s_nextafter.c: Include <libm-alias-double.h>.
26555 (nextafter): Define using libm_alias_double.
26556 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26557 (acos): Define using libm_alias_double.
26558 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26559 (aocsh): Define using libm_alias_double.
26560 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26561 (asin): Define using libm_alias_double.
26562 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26563 (atan2): Define using libm_alias_double.
26564 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26565 (atanh): Define using libm_alias_double.
26566 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26567 (cosh): Define using libm_alias_double.
26568 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26569 (exp10): Define using libm_alias_double.
26570 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26571 (exp2): Define using libm_alias_double.
26572 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26573 (exp): Define using libm_alias_double.
26574 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26575 (fmod): Define using libm_alias_double.
26576 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26577 (hypot): Define using libm_alias_double.
26578 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26579 (j0): Define using libm_alias_double.
26581 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26582 (j1): Define using libm_alias_double.
26584 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26585 (jn): Define using libm_alias_double.
26587 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26588 (log10): Define using libm_alias_double.
26589 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26590 (log2): Define using libm_alias_double.
26591 * math/w_log_compat.c: Include <libm-alias-double.h>.
26592 (log): Define using libm_alias_double.
26593 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26594 (pow): Define using libm_alias_double.
26595 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26596 (remainder): Define using libm_alias_double.
26597 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26598 (sinh): Define using libm_alias_double.
26599 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26600 (sqrt): Define using libm_alias_double.
26601 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26602 (tgamma): Define using libm_alias_double.
26603 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26604 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26605 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26606 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26607 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26608 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26609 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26610 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26611 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26612 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26613 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26614 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26615 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26616 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26617 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26618 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26619 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26620 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26621 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26622 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26623 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26624 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26625 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26626 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26627 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26629 * math/e_acoshl.c: Remove.
26630 * math/e_acosl.c: Likewise.
26631 * math/e_asinl.c: Likewise.
26632 * math/e_atan2l.c: Likewise.
26633 * math/e_atanhl.c: Likewise.
26634 * math/e_coshl.c: Likewise.
26635 * math/e_expl.c: Likewise.
26636 * math/e_fmodl.c: Likewise.
26637 * math/e_gammal_r.c: Likewise.
26638 * math/e_hypotl.c: Likewise.
26639 * math/e_j0l.c: Likewise.
26640 * math/e_j1l.c: Likewise.
26641 * math/e_jnl.c: Likewise.
26642 * math/e_lgammal_r.c: Likewise.
26643 * math/e_log10l.c: Likewise.
26644 * math/e_log2l.c: Likewise.
26645 * math/e_logl.c: Likewise.
26646 * math/e_powl.c: Likewise.
26647 * math/e_rem_pio2l.c: Likewise.
26648 * math/e_sinhl.c: Likewise.
26649 * math/e_sqrtf128.c: Likewise.
26650 * math/e_sqrtl.c: Likewise.
26651 * math/k_cosl.c: Likewise.
26652 * math/k_sinl.c: Likewise.
26653 * math/k_tanl.c: Likewise.
26654 * math/s_asinhl.c: Likewise.
26655 * math/s_atanl.c: Likewise.
26656 * math/s_cbrtl.c: Likewise.
26657 * math/s_erfl.c: Likewise.
26658 * math/s_expm1l.c: Likewise.
26659 * math/s_log1pl.c: Likewise.
26660 * math/s_tanhl.c: Likewise.
26662 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26665 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26666 [$(subdir) = math] (sysdep_calls): New variable. Has the
26667 previous contents of sysdep_routines, but re-sorted..
26668 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26670 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26671 defined in sysdep_calls and replace by the respective m_* names.
26672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26673 (compat_symbol): Undefine to avoid duplicated compat symbols in
26676 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26678 * math/s_fmaf.c: Include <libm-alias-float.h>.
26679 (fmaf): Define using libm_alias_float.
26680 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26681 (acosf): Define using libm_alias_float.
26682 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26683 (acoshf): Define using libm_alias_float.
26684 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26685 (asinf): Define using libm_alias_float.
26686 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26687 (atan2f): Define using libm_alias_float.
26688 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26689 (atanhf): Define using libm_alias_float.
26690 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26691 (coshf): Define using libm_alias_float.
26692 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26693 (exp10f): Define using libm_alias_float.
26694 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26695 (fmodf): Define using libm_alias_float.
26696 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26697 (hypotf): Define using libm_alias_float.
26698 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26699 (j0f): Define using libm_alias_float.
26701 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26702 (j1f): Define using libm_alias_float.
26704 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26705 (jnf): Define using libm_alias_float.
26707 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26708 (log10f): Define using libm_alias_float.
26709 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26710 (log2f): Define using libm_alias_float.
26711 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26712 (logf): Define using libm_alias_float.
26713 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26714 (powf): Define using libm_alias_float.
26715 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26716 (remainderf): Define using libm_alias_float.
26717 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26718 (sinhf): Define using libm_alias_float.
26719 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26720 (sqrtf): Define using libm_alias_float.
26721 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26722 (tgammaf): Define using libm_alias_float.
26724 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26726 * include/math.h (roundeven): Change hidden_proto call to
26728 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26730 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26731 (y0): Rename to __y0 and define as weak alias.
26732 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26733 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26735 (y0f): Rename to __y0f and define as weak alias.
26736 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26738 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26739 (y1): Rename to __y1 and define as weak alias.
26740 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26741 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26743 (y1f): Rename to __y1f and define as weak alias.
26744 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26746 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26747 (yn): Rename to __yn and define as weak alias.
26748 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26749 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26751 (ynf): Rename to __ynf and define as weak alias.
26752 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26753 (fromfp): Define as weak alias.
26754 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26755 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26756 (fromfpx): Define as weak alias.
26757 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26758 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26759 __getpayload and define as weak alias.
26760 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26761 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26762 __roundeven and define as weak alias.
26763 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26764 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26766 (setpayload): Define as weak alias.
26767 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26768 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26770 (setpayloadsig): Define as weak alias.
26771 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26772 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26773 __totalorder and define as weak alias.
26774 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26775 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26776 to __totalordermag and define as weak alias.
26777 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26778 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26779 (ufromfp): Define as weak alias.
26780 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26781 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26783 (ufromfpx): Define as weak alias.
26784 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26785 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26786 Rename to __getpayload and define as weak alias.
26787 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26788 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26789 Rename to __roundeven and define as weak alias.
26790 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26791 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26792 Rename to __totalorder and define as weak alias.
26793 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26794 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26795 (totalordermag): Rename to __totalordermag and define as weak
26797 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26798 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26800 (__roundevenl): Likewise.
26801 (__totalorderl): Likewise.
26802 (__totalordermagl): Likewise
26803 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26805 (fromfpf128): Define as weak alias.
26806 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
26808 (fromfpxf128): Define as weak alias.
26809 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
26811 (setpayloadf128): Define as weak alias.
26812 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
26813 __setpayloadsigf128.
26814 (setpayloadsigf128): Define as weak alias.
26815 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
26817 (ufromfpf128): Define as weak alias.
26818 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
26820 (ufromfpxf128): Define as weak alias.
26821 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
26822 (fromfpf): Define as weak alias.
26823 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
26825 (fromfpxf): Define as weak alias.
26826 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
26827 __getpayloadf and define as weak alias.
26828 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
26829 __roundevenf and define as weak alias.
26830 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
26832 (setpayloadf): Define as weak alias.
26833 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
26835 (setpayloadsigf): Define as weak alias.
26836 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
26837 __totalorderf and define as weak alias.
26838 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
26839 Rename to __totalordermagf and define as weak alias.
26840 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
26842 (ufromfpf): Define as weak alias.
26843 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
26845 (ufromfpxf): Define as weak alias.
26846 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
26848 (fromfpl): Define as weak alias.
26849 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
26851 (fromfpxl): Define as weak alias.
26852 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
26853 to __getpayloadl and define as weak alias.
26854 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
26855 __roundevenl and define as weak alias.
26856 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
26858 (setpayloadl): Define as weak alias.
26859 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
26861 (setpayloadsigl): Define as weak alias.
26862 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
26863 to __totalorderl and define as weak alias.
26864 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
26865 Rename to __totalordermagl and define as weak alias.
26866 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
26868 (ufromfpl): Define as weak alias.
26869 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
26871 (ufromfpxl): Define as weak alias.
26872 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
26874 (fromfpl): Define as weak alias.
26875 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
26877 (fromfpxl): Define as weak alias.
26878 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
26879 Rename to __getpayloadl and define as weak alias.
26880 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
26881 to __roundevenl and define as weak alias. Call __roundeven
26882 instead of roundeven.
26883 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
26885 (setpayloadl): Define as weak alias.
26886 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
26888 (setpayloadsigl): Define as weak alias.
26889 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
26890 Rename to __totalorderl and define as weak alias.
26891 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
26892 Rename to __totalordermagl and define as weak alias.
26893 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
26895 (ufromfpl): Define as weak alias.
26896 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
26898 (ufromfpxl): Define as weak alias.
26899 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
26901 (fromfpl): Define as weak alias.
26902 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
26904 (fromfpxl): Define as weak alias.
26905 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
26906 __getpayloadl and define as weak alias.
26907 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
26908 __roundevenl and define as weak alias.
26909 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
26911 (setpayloadl): Define as weak alias.
26912 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
26914 (setpayloadsigl): Define as weak alias.
26915 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
26916 __totalorderl and define as weak alias.
26917 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
26918 Rename to __totalordermagl and define as weak alias.
26919 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
26921 (ufromfpl): Define as weak alias.
26922 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
26924 (ufromfpxl): Define as weak alias.
26926 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
26928 * benchtests/bench-string.h (realloc_bufs): New function.
26929 (test_init): Call it.
26930 * benchtests/bench-memset-large.c (do_test): Likewise.
26931 * benchtests/bench-memset.c (do_test): Likewise.
26933 * benchtests/bench-memset-large.c: Print output in JSON
26935 * benchtests/bench-memset.c: Likewise.
26937 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26940 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
26941 * iconvdata/Makefile: Add IBM858.
26942 * iconvdata/gconv-modules: Likewise.
26943 * iconvdata/tst-tables.sh: Likewise.
26944 * iconvdata/ibm858.c: New file.
26945 * localedata/charmaps/IBM858: Likewise.
26947 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
26950 * locales/niu_NZ (LC_TIME): copy "niu_NU".
26951 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
26953 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26956 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
26957 and add tel_int_fmt.
26959 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26961 * sysdeps/generic/libm-alias-float128.h: New file.
26962 * sysdeps/generic/math-type-macros-float128.h: Include
26963 <libm-alias-float128.h>.
26964 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
26966 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26968 * sysdeps/generic/libm-alias-ldouble.h: New file.
26969 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
26970 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
26971 * sysdeps/generic/math-type-macros-ldouble.h: Include
26972 <libm-alias-ldouble.h>.
26973 [!declare_mgen_alias] (declare_mgen_alias): Define to use
26974 libm_alias_ldouble.
26976 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26978 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
26979 * math/w_exp_compat.c: ... here.
26980 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
26981 * math/w_expf_compat.c: ... here.
26982 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
26983 * math/w_expl_compat.c: ... here.
26984 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
26985 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
26986 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
26987 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26989 2017-09-13 Joseph Myers <joseph@codesourcery.com>
26991 * math/w_scalbln_template.c (strong_alias): Do not undefine and
26993 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
26995 (ldexpl): Only define as compat symbol for libc, not libm.
26996 (scalbnl): Define as compat symbol for libc here.
26997 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
26998 define for [IS_IN (libc)].
26999 (__ldexpl_2): Remove alias.
27000 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27001 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27002 name in long_double_symbol call.
27003 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27004 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27005 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27006 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27007 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27009 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27010 Define as compat symbol.
27012 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27014 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27015 * sysdeps/unix/sysv/linux/alpha/Makefile
27016 [$(subdir) = csu] (sysdep_routines): Remove rule.
27018 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27020 * sysdeps/generic/libm-alias-double.h: New file.
27021 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27022 * sysdeps/generic/math-type-macros-double.h: Include
27023 <libm-alias-double.h>.
27024 [declare_mgen_alias] (declare_mgen_alias): Define to use
27026 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27027 (M_LIBM_NEED_COMPAT): Remove macro.
27028 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27029 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27030 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27032 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27033 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27034 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27035 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27036 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27037 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27038 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27039 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27040 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27041 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27042 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27043 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27044 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27045 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27046 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27047 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27048 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27049 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27050 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27051 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27052 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27053 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27054 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27055 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27056 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27057 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27058 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27059 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27060 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27062 (declare_mgen_alias): New macro.
27063 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27064 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27066 (M_LIBM_NEED_COMPAT): Remove macro.
27067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27068 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27069 <first-versions.h>.
27070 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27071 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27073 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27075 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27076 (declare_mgen_alias_2): Remove.
27077 * sysdeps/generic/math-type-macros-double.h
27078 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27080 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27082 (ldexp): Define with declare_mgen_alias.
27083 (scalbn): Likewise.
27085 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27087 * grp/initgroups.c: Include config.h.
27088 (DEFAULT_CONFIG): New macro.
27089 (internal_getgrouplist): Use DEFAULT_CONFIG.
27090 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27091 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27092 (DEFAULT_DEFCONFIG): New macro.
27093 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27094 * nss/grp-lookup.c: Include config.h
27095 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27096 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27097 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27098 * manual/nss.texi: Update default values section.
27100 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27103 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27105 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27106 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27107 Handle MathVec_Prefer_No_AVX512.
27108 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27109 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27112 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27114 * posix/sched_primax.c (__sched_get_priority_max): Add
27116 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27117 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27118 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27119 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27120 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27121 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27122 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27123 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27126 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27128 * sysdeps/generic/libm-alias-float.h: New file.
27129 * sysdeps/generic/math-type-macros-float.h: Include
27130 <libm-alias-float.h>.
27131 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27133 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27136 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27137 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27138 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27139 (HWCAP_IMPORTANT): Likewise.
27140 (HWCAP_X86_64): New enum.
27141 (HWCAP_X86_AVX512_1): Updated.
27142 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27143 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27144 (modules-names): Add x86_64/tst-x86_64mod-1.
27145 (LDFLAGS-tst-x86_64mod-1.so): New.
27146 ($(objpfx)tst-x86_64-1): Likewise.
27147 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27148 (tst-x86_64-1-clean): Likewise.
27149 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27150 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27152 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27154 * po/sv.po: Update translations.
27155 * po/fr.po: Likewise.
27157 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27159 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27161 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27163 * elf/rtld-Rules: Fix $(error) use.
27165 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27168 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27169 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27170 * localedata/locales/bn_BD: “Bengali” was still used in some
27171 comments. Change it to “Bangla”.
27173 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27175 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27177 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27179 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27180 thunderx2t99p1 to list of cpu names.
27181 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27182 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27184 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27186 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27187 Use strcmp instead of tunable_is_name.
27189 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27191 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27192 (F_GET_RW_HINT): New macro.
27193 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27194 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27195 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27196 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27197 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27198 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27199 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27200 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27201 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27203 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27204 (F_ADD_SEALS): New macro.
27205 [__USE_GNU] (F_GET_SEALS): Likewise.
27206 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27207 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27208 [__USE_GNU] (F_SEAL_GROW): Likewise.
27209 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27211 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27213 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27214 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27215 * posix/glob_internal.h (__glob_pattern_type):
27216 * posix/glob.c (glob):
27217 * posix/glob_pattern_p.c (__glob_pattern_p):
27220 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27221 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27222 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27223 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27224 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27226 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27227 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27228 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27229 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27230 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27231 * sysdeps/wordsize-64/glob.c: Likewise.
27232 * sysdeps/wordsize-64/glob64.c: Likewise.
27233 * sysdeps/wordsize-64/globfree.c: Likewise.
27234 * sysdeps/wordsize-64/globfree64.c: Likewise.
27235 * sysdeps/unix/sysv/linux/glob.c: New file.
27236 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27237 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27238 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27239 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27240 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27241 adds !GLOB_NO_OLD_VERSION as an extra condition.
27242 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27243 using relative path instead of absolute one.
27244 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27245 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27246 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27247 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27248 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27249 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27252 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27253 (glob): Use the same scratch buffer for both getlogin_r and
27254 getpwnam_r. Don’t require preallocation of the login name. This
27255 simplifies storage allocation, and corrects the handling of
27259 * posix/glob.c (glob): Port recent patches to platforms
27260 lacking getpwnam_r.
27261 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27262 returns an error number rather than setting errno.
27264 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27265 instead of GCC extension.
27266 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27267 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27268 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27272 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27273 * posix/bug-glob1.c: Remove file.
27274 * posix/tst-glob_symlinks.c: New file.
27275 * posix/glob.c (__lstat64): New macro.
27276 (is_dir): New function.
27277 (glob, glob_in_dir): Match symlinks even if they are dangling.
27278 (link_stat, link_exists_p): Remove. All uses removed.
27282 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27283 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27288 * posix/Makefile (routines): Add globfree, globfree64, and
27290 * posix/flexmember.h: New file.
27291 * posix/glob_internal.h: Likewise.
27292 * posix/glob_pattern_p.c: Likewise.
27293 * posix/globfree.c: Likewise.
27294 * posix/globfree64.c: Likewise.
27295 * sysdeps/gnu/globfree64.c: Likewise.
27296 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27297 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27298 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27299 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27300 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27301 * sysdeps/wordsize-64/globfree.c: Likewise.
27302 * sysdeps/wordsize-64/globfree64.c: Likewise.
27303 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27304 [NDEBUG): Remove comments.
27305 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27306 (dirent_type): New type. Use uint_fast8_t not
27307 uint8_t, as C99 does not require uint8_t.
27308 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27309 (struct readdir_result): Use dirent_type. Do not define skip_entry
27310 unless it is needed; this saves a byte on platforms lacking d_ino.
27311 (readdir_result_type, readdir_result_skip_entry):
27312 New functions, replacing ...
27313 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27314 these functions, which were removed. This makes the callers
27315 easier to read. All callers changed.
27316 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27317 (size_add_wrapv, glob_use_alloca): New static functions.
27318 (glob, glob_in_dir): Check for size_t overflow in several places,
27319 and fix some size_t checks that were not quite right.
27320 Remove old code using SHELL since Bash no longer
27322 (glob, prefix_array): Separate MS code better.
27323 (glob_in_dir): Remove old Amiga and VMS code.
27324 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27326 (glob_in_dir): Do not rely on undefined behavior in accessing
27327 struct members beyond their bounds. Use a flexible array member
27329 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27330 0/1. Caller changed.
27331 (glob): Fix memory leaks.
27332 * posix/glob64 (globfree64): Move to separate file.
27333 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27334 (globfree64): Remove hidden alias.
27335 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27337 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27339 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27341 Move compat code to separate file.
27342 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27345 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27347 * resolv/tst-resolv-qtypes.c (domain): Changed to
27348 "const char domain[] =".
27350 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27352 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27355 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27356 (TCP_MD5SIG_EXT): Likewise.
27357 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27358 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27359 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27361 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27363 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27365 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27367 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27370 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27372 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27374 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27375 before assuming that the file is empty. Avoid testing buffer content
27378 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27381 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27383 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27385 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27387 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27389 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27391 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27393 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27396 2017-09-06 Florian Weimer <fweimer@redhat.com>
27398 * malloc/dynarray_emplace_enlarge.c
27399 (__libc_dynarray_emplace_enlarge): Add missing else.
27401 2017-09-06 Florian Weimer <fweimer@redhat.com>
27404 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27405 case of failure to obtain the global conf object.
27407 2017-09-06 Florian Weimer <fweimer@redhat.com>
27410 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27411 dynarray allocation failure.
27413 2017-09-06 Florian Weimer <fweimer@redhat.com>
27415 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27416 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27417 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27419 (response): Call them. Add 'p', '6' flag processing.
27420 (test_reverse): New function.
27421 (test_get2_any): Call it.
27422 (test_no_inet6): Add 'p' test.
27423 (test_inet6): Likewise.
27425 2017-09-06 Florian Weimer <fweimer@redhat.com>
27427 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27428 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27430 (test_gai): Adjust query names. Add additional tests.
27431 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27432 test_get2. Adjust query names. Add additional tests.
27433 (test_no_inet6): New function, extracted from threadfunc.
27434 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27435 Add additional tests.
27437 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27440 * localedata/unicode-gen/utf8_gen.py: Set the width for
27441 characters with Prepended_Concatenation_Mark property to 1
27442 * localedata/charmaps/UTF-8: Updated using the improved script.
27444 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27447 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27448 use the range notation for all ranges of neighbouring characters
27449 with the same width.
27451 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27453 * sysdeps/generic/math-type-macros-double.h: Include
27454 <math-svid-compat.h>.
27455 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27456 * sysdeps/generic/math-type-macros-float.h: Include
27457 <math-svid-compat.h>.
27458 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27459 * sysdeps/generic/math-type-macros-ldouble.h: Include
27460 <math-svid-compat.h>.
27461 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27462 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27464 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27465 * math/w_acosf_compat.c: Likewise.
27466 * math/w_acosh_compat.c: Likewise.
27467 * math/w_acoshf_compat.c: Likewise.
27468 * math/w_acoshl_compat.c: Likewise.
27469 * math/w_acosl_compat.c: Likewise.
27470 * math/w_asin_compat.c: Likewise.
27471 * math/w_asinf_compat.c: Likewise.
27472 * math/w_asinl_compat.c: Likewise.
27473 * math/w_atan2_compat.c: Likewise.
27474 * math/w_atan2f_compat.c: Likewise.
27475 * math/w_atan2l_compat.c: Likewise.
27476 * math/w_atanh_compat.c: Likewise.
27477 * math/w_atanhf_compat.c: Likewise.
27478 * math/w_atanhl_compat.c: Likewise.
27479 * math/w_cosh_compat.c: Likewise.
27480 * math/w_coshf_compat.c: Likewise.
27481 * math/w_coshl_compat.c: Likewise.
27482 * math/w_exp10_compat.c: Likewise.
27483 * math/w_exp10f_compat.c: Likewise.
27484 * math/w_exp10l_compat.c: Likewise.
27485 * math/w_exp2_compat.c: Likewise.
27486 * math/w_exp2f_compat.c: Likewise.
27487 * math/w_exp2l_compat.c: Likewise.
27488 * math/w_fmod_compat.c: Likewise.
27489 * math/w_fmodf_compat.c: Likewise.
27490 * math/w_fmodl_compat.c: Likewise.
27491 * math/w_hypot_compat.c: Likewise.
27492 * math/w_hypotf_compat.c: Likewise.
27493 * math/w_hypotl_compat.c: Likewise.
27494 * math/w_j0_compat.c: Likewise.
27495 * math/w_j0f_compat.c: Likewise.
27496 * math/w_j0l_compat.c: Likewise.
27497 * math/w_j1_compat.c: Likewise.
27498 * math/w_j1f_compat.c: Likewise.
27499 * math/w_j1l_compat.c: Likewise.
27500 * math/w_jn_compat.c: Likewise.
27501 * math/w_jnf_compat.c: Likewise.
27502 * math/w_jnl_compat.c: Likewise.
27503 * math/w_lgamma_r_compat.c: Likewise.
27504 * math/w_lgammaf_r_compat.c: Likewise.
27505 * math/w_lgammal_r_compat.c: Likewise.
27506 * math/w_log10_compat.c: Likewise.
27507 * math/w_log10f_compat.c: Likewise.
27508 * math/w_log10l_compat.c: Likewise.
27509 * math/w_log2_compat.c: Likewise.
27510 * math/w_log2f_compat.c: Likewise.
27511 * math/w_log2l_compat.c: Likewise.
27512 * math/w_log_compat.c: Likewise.
27513 * math/w_logf_compat.c: Likewise.
27514 * math/w_logl_compat.c: Likewise.
27515 * math/w_pow_compat.c: Likewise.
27516 * math/w_powf_compat.c: Likewise.
27517 * math/w_powl_compat.c: Likewise.
27518 * math/w_remainder_compat.c: Likewise.
27519 * math/w_remainderf_compat.c: Likewise.
27520 * math/w_remainderl_compat.c: Likewise.
27521 * math/w_sinh_compat.c: Likewise.
27522 * math/w_sinhf_compat.c: Likewise.
27523 * math/w_sinhl_compat.c: Likewise.
27524 * math/w_sqrt_compat.c: Likewise.
27525 * math/w_sqrtf_compat.c: Likewise.
27526 * math/w_sqrtl_compat.c: Likewise.
27527 * math/w_tgamma_compat.c: Likewise.
27528 * math/w_tgammaf_compat.c: Likewise.
27529 * math/w_tgammal_compat.c: Likewise.
27530 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27531 [LIBM_SVID_COMPAT].
27532 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27533 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27534 [LIBM_SVID_COMPAT].
27535 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27536 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27537 [LIBM_SVID_COMPAT].
27538 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27539 * sysdeps/i386/fpu/w_sqrt.c: New file.
27540 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27541 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27542 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27543 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27544 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27545 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27546 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27547 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27548 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27549 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27550 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27551 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27552 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27553 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27554 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27555 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27556 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27557 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27558 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27559 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27560 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27561 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27562 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27563 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27564 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27565 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27566 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27567 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27568 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27569 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27570 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27571 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27572 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27573 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27574 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27575 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27576 * sysdeps/ia64/fpu/w_log.c: Likewise.
27577 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27578 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27579 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27580 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27581 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27582 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27583 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27584 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27585 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27586 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27587 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27588 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27589 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27590 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27591 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27592 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27593 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27594 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27595 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27596 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27597 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27598 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27599 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27600 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27601 [LIBM_SVID_COMPAT].
27602 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27603 * sysdeps/ieee754/k_standard.c: Likewise.
27604 * sysdeps/ieee754/k_standardf.c: Likewise.
27605 * sysdeps/ieee754/k_standardl.c: Likewise.
27606 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27607 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27608 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27609 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27610 long_double_symbol call on [LIBM_SVID_COMPAT].
27611 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27612 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27613 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27614 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27615 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27616 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27617 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27618 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27619 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27620 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27621 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27622 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27623 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27624 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27625 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27626 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27627 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27628 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27629 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27630 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27631 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27632 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27634 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27636 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27637 * malloc/tst-mallocstate.c: Convert from test-skeleton
27638 to test-driver. Ifdef code using TEST_COMPAT macro.
27639 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27640 * math/test-matherr.c: Likewise.
27642 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27645 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27646 comparing word with byte-swapped constant.
27648 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27651 * locale/iso-639.def: add Miskito.
27652 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27653 * localedata/locales/miq_NI: New file.
27655 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27658 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27659 (__mkdir): Likewise.
27660 * io/chmod.c (__chmod): Add libc_hidden_def.
27661 * io/mkdir.c (__mkdir): Likewise.
27662 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27663 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27664 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27665 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27667 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27669 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27673 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27674 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27676 2017-09-04 Florian Weimer <fweimer@redhat.com>
27678 * math/math.h: Issue warning if log is defined.
27680 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27682 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27683 kernel version to 4.13.
27685 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27687 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27688 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27690 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27691 just <bits/types.h>.
27692 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27693 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27694 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27695 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27696 * misc/preadv2.c: Include <errno.h>.
27697 * misc/preadv64v2.c: Include <errno.h>.
27698 * misc/pwritev2.c: Include <errno.h>.
27699 * misc/pwritev64v2.c: Include <errno.h>.
27700 * sysdeps/posix/preadv2.c: Include <errno.h>.
27701 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27702 Fix <unistd.h> inclusion.
27703 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27704 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27705 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27706 __strtoul_internal): New functions.
27707 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27708 * sysdeps/posix/system.c: Include <sigsetops.h>.
27709 * sysdeps/mach/hurd/i386/Makefile
27710 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27711 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27712 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27713 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27714 __feraiseexcept_renamed to feraiseexcept instead of
27715 __GI_feraiseexcept.
27716 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27717 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27718 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27719 RWF_NOWAIT): Define to 0 if undefined already.
27720 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27722 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27723 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27725 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27727 * manual/math.texi (pow10): Do not document.
27728 (pow10f): Likewise.
27729 (pow10l): Likewise.
27730 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27731 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27732 * math/libm-test-exp10.inc (pow10_test): Remove.
27733 (do_test): Do not call pow10.
27734 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27735 [NO_LONG_DOUBLE] (pow10l): Likewise.
27736 * math/w_exp10f_compat.c (pow10f): Likewise.
27737 * math/w_exp10l_compat.c (pow10l): Likewise.
27738 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27739 (pow10): Make into compat symbol.
27740 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27741 (pow10f): Make into compat symbol.
27742 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27743 (pow10l): Make into compat symbol.
27744 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27746 (CFLAGS-nldbl-pow10.c): Remove variable..
27747 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27748 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27749 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27750 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27751 Undefine and redefine.
27752 (pow10l): Make into compat symbol.
27753 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27754 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27755 * sysdeps/arm/libm-test-ulps: Likewise.
27756 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27757 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27758 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27759 * sysdeps/microblaze/libm-test-ulps: Likewise.
27760 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27761 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27762 * sysdeps/nios2/libm-test-ulps: Likewise.
27763 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27764 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27765 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27766 * sysdeps/sh/libm-test-ulps: Likewise.
27767 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27768 * sysdeps/tile/libm-test-ulps: Likewise.
27769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27771 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27773 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27775 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27777 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27778 "../ChangeLog.old/ChangeLog.8".
27779 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27780 "../ChangeLog.old/ChangeLog.14".
27782 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27784 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27787 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27789 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27791 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27793 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27794 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27796 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27798 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27799 32 atexit handlers.
27801 2017-09-01 Zack Weinberg <zackw@panix.com>
27803 * math/math.h (HUGE_VAL): Improve commentary.
27805 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27806 Andreas Schwab <schwab@suse.de>
27809 * include/stdio.h (__gen_tempfd): New function.
27810 * stdio-common/Makefile (routines): Add gentempfd.
27811 * stdio-common/gentempfd.c: New file.
27812 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
27813 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
27814 unnamed file first.
27816 2017-09-01 Florian Weimer <fweimer@redhat.com>
27820 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
27821 result to determine success or failure, not the errno value.
27822 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
27823 (tst-nss-files-hosts-erange): Link with -ldl.
27824 * nss/tst-nss-files-hosts-erange.c: New file.
27825 * nss/tst-resolv-basic.c (response): Handle nodata.example.
27826 (do_test): Add NO_DATA tests.
27827 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
27828 (do_test): Call it.
27830 2017-09-01 Florian Weimer <fweimer@redhat.com>
27833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
27834 coming from gethostbyname2_r.
27836 2017-09-01 Florian Weimer <fweimer@redhat.com>
27838 * support/namespace.h (struct support_chroot_configuration): Add
27840 (struct support_chroot): Add path_hosts, path_host_conf.
27841 * support/support_chroot.c (write_file): New function.
27842 (support_chroot_create): Call it to process /etc/resolv.conf,
27843 /etc/hosts, /etc/host.conf.
27844 (support_chroot_free): Update.
27846 2017-09-01 Florian Weimer <fweimer@redhat.com>
27848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
27849 status indicates it is set.
27851 2017-09-01 Florian Weimer <fweimer@redhat.com>
27854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
27855 function lookup failures more reliable.
27857 2017-09-01 Florian Weimer <fweimer@redhat.com>
27859 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
27860 (getcanonname): Likewise.
27861 (gaih_inet): Likewise.
27863 2017-09-01 Florian Weimer <fweimer@redhat.com>
27865 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
27866 (getcanonname): Likewise.
27867 (gaih_inet): Likewise.
27869 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27870 Richard Henderson <rth@twiddle.net>
27872 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
27873 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
27874 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
27875 (IREG_SIZE, OREG_SIZE): New macros.
27876 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
27877 (IREG_SIZE, OREG_SIZE): New macros.
27878 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
27879 (IREG_SIZE): New macro.
27880 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
27881 (IREG_SIZE): New macro.
27882 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
27884 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
27885 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27886 (__CONCATX): Handle exceptions correctly on large values that may
27888 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
27889 Initialize if not already set.
27890 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27892 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27894 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
27895 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
27897 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
27899 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
27901 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
27903 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
27905 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
27907 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
27909 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
27910 (NO_CANCELLATION): Likewise.
27911 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
27913 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
27915 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
27917 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
27918 (NO_CANCELLATION): Likewise.
27919 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
27920 (NO_CANCELLATION): Likewise.
27921 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
27923 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
27925 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
27927 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
27929 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
27931 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
27932 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
27934 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27936 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
27939 2017-08-31 Florian Weimer <fweimer@redhat.com>
27941 * include/libc-symbols.h (internal_function): Remove.
27943 2017-08-31 Florian Weimer <fweimer@redhat.com>
27945 * stdlib/fmtmsg.c (internal_addseverity): Remove
27948 2017-08-31 Florian Weimer <fweimer@redhat.com>
27950 * stdio-common/printf_fp.c (group_number): Remove
27952 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
27954 2017-08-31 Florian Weimer <fweimer@redhat.com>
27956 * posix/fnmatch.c (internal_function): Remove definition.
27957 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
27958 * posix/regcomp.c (peek_token, init_word_char)
27959 (duplicate_node_closure, fetch_token, peek_token)
27960 (peek_token_bracket, build_range_exp, build_collating_symbol):
27962 * posix/regex_internal.c (re_string_construct_common)
27963 (create_ci_newstate, create_cd_newstate, re_string_allocate)
27964 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
27965 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
27966 (re_string_translate_buffer, re_string_reconstruct)
27967 (re_string_peek_byte_case, re_string_fetch_byte_case)
27968 (re_string_destruct, re_string_context_at, re_node_set_alloc)
27969 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
27970 (re_node_set_add_intersect, re_node_set_init_union)
27971 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
27972 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
27973 (re_dfa_add_node, calc_state_hash, re_acquire_state)
27974 (re_acquire_state_context): Likewise.
27975 * posix/regex_internal.h (internal_function): Remove definition.
27976 (re_string_realloc_buffers, build_wcs_buffer)
27977 (build_wcs_upper_buffer, build_upper_buffer)
27978 (re_string_translate_buffer, re_string_context_at)
27979 (re_string_char_size_at, re_string_wchar_at)
27980 (re_string_elem_size_at): Likewise.
27981 * posix/regexec.c (match_ctx_init, match_ctx_clean)
27982 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
27983 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
27984 (re_search_internal, re_search_2_stub, re_search_stub)
27985 (re_copy_regs, prune_impossible_nodes, check_matching)
27986 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
27987 (free_fail_stack_return, sift_states_iter_mb)
27988 (sift_states_backward, build_sifted_states)
27989 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
27990 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
27991 (check_subexp_limits, sift_states_bkref, merge_state_array)
27992 (find_recover_state, transit_state, merge_state_with_log)
27993 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
27994 (transit_state_mb, transit_state_bkref, get_subexp)
27995 (get_subexp_sub, find_subexp_node, check_arrival)
27996 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
27997 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
27998 (check_node_accept_bytes, find_collation_sequence_value)
27999 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28000 (acquire_init_state_context, check_halt_node_context)
28001 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28002 (sub_epsilon_src_nodes): Likewise.
28003 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28004 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28005 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28006 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28007 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28008 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28009 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28010 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28011 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28012 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28013 (PREADV): Likewise.
28014 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28015 (PREADV): Likewise.
28016 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28017 (PWRITEV): Likewise.
28018 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28019 (PWRITEV): Likewise.
28020 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28021 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28023 2017-08-31 Florian Weimer <fweimer@redhat.com>
28025 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28026 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28027 Remove internal_function.
28028 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28029 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28030 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28031 (__deallocate_stack, __libc_pthread_init)
28032 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28033 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28034 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28036 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28037 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28038 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28040 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28041 (__pthread_mutex_unlock_usercnt): Likewise.
28043 2017-08-31 Florian Weimer <fweimer@redhat.com>
28045 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28046 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28047 (fts_safe_changedir): Remove internal_function.
28048 * io/ftw.c (internal_function): Remove definition.
28049 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28051 2017-08-31 Florian Weimer <fweimer@redhat.com>
28053 * inet/deadline.c (__deadline_current_time)
28054 (__deadline_from_timeval, __deadline_to_ms): Remove
28056 * inet/getnameinfo.c (nrl_domainname): Likewise.
28057 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28058 * inet/inet6_option.c (add_pad): Likewise.
28059 * inet/net-internal.h (__deadline_current_time)
28060 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28061 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28062 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28063 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28065 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28067 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28068 include <bits/nan.h>.
28069 * math/Makefile (headers): Remove bits/nan.h.
28070 * bits/nan.h: Remove.
28071 * sysdeps/ieee754/bits/nan.h: Likewise.
28072 * sysdeps/mips/bits/nan.h: Likewise.
28074 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28075 not include <bits/inf.h>.
28076 * math/Makefile (headers): Remove bits/inf.h.
28077 * bits/inf.h: Remove.
28078 * sysdeps/ieee754/bits/inf.h: Likewise.
28080 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28081 bits/huge_vall.h or bits/huge_val_flt128.h.
28082 (HUGE_VAL): Define directly here.
28083 [__USE_ISOC99] (HUGE_VALF): Likewise.
28084 [__USE_ISOC99] (HUGE_VALL): Likewise.
28085 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28086 (HUGE_VAL_F128): Likewise.
28087 * math/Makefile (headers): Remove bits/huge_val.h,
28088 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28089 * bits/huge_val.h: Remove.
28090 * bits/huge_val_flt128.h: Likewise.
28091 * bits/huge_valf.h: Likewise.
28092 * bits/huge_vall.h: Likewise.
28093 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28094 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28095 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28096 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28097 * sysdeps/sh/bits/huge_val.h: Likewise.
28098 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28099 * sysdeps/x86/bits/huge_vall.h: Likewise.
28101 2017-08-31 Florian Weimer <fweimer@redhat.com>
28103 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28105 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28107 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28108 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28109 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28110 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28111 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28112 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28113 * elf/dl-libc.c (dlerror_run): Likewise.
28114 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28115 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28116 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28117 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28119 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28120 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28121 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28122 * elf/dl-profile.c (_dl_start_profile): Likewise.
28123 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28124 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28126 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28127 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28128 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28129 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28130 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28131 (_dl_allocate_tls_storage): Likewise.
28132 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28133 (_dl_check_all_versions): Likewise.
28134 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28135 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28136 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28137 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28138 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28139 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28140 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28141 internal_function from __dl_start.
28142 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28143 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28144 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28145 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28146 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28147 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28148 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28149 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28150 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28151 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28152 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28153 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28154 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28155 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28156 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28158 (struct rtld_global_ro): Remove internal_function from the
28159 _dl_lookup_symbol_x member.
28160 (_dl_symbol_value): Remove. No longer defined anywhere.
28161 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28163 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28164 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28165 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28166 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28167 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28168 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28169 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28170 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28171 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28172 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28173 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28174 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28176 2017-08-31 Florian Weimer <fweimer@redhat.com>
28178 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28179 Remove internal_function.
28180 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28182 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28185 2017-08-31 Florian Weimer <fweimer@redhat.com>
28187 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28188 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28189 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28191 2017-08-31 Florian Weimer <fweimer@redhat.com>
28193 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28194 (__gai_enqueue_request): Remove internal_function.
28195 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28196 (__gai_remove_request, __gai_notify, __gai_notify_only)
28197 (__gai_sigqueue): Likewise.
28198 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28199 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28200 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28201 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28204 2017-08-31 Florian Weimer <fweimer@redhat.com>
28206 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28207 * include/dirent.h (__opendirat, __getdents, __getdents64)
28208 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28209 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28210 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28211 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28213 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28215 2017-08-31 Florian Weimer <fweimer@redhat.com>
28217 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28219 (GETCWD_RETURN_TYPE): Likewise.
28221 2017-08-31 Florian Weimer <fweimer@redhat.com>
28223 * include/time.h (__tz_compute, __strptime_internal): Remove
28225 * time/strptime_l.c (__strptime_internal): Likewise.
28226 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28228 2017-08-31 Florian Weimer <fweimer@redhat.com>
28230 * iconv/gconv.c (__gconv): Remove internal_function.
28231 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28232 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28233 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28234 (__gconv_release_cache): Likewise.
28235 * iconv/gconv_close.c (__gconv_close): Likewise.
28236 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28237 (read_conf_file, __gconv_get_path): Likewise.
28238 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28239 (__gconv_release_step, gen_steps, increment_counter)
28240 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28241 (__gconv_close_transform, free_modules_db): Likewise.
28242 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28244 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28245 (__gconv_find_transform, __gconv_lookup_cache)
28246 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28247 (__gconv_close_transform, __gconv_release_cache)
28248 (__gconv_loaded_object, __gconv_release_shlib)
28249 (__gconv_compare_alias): Likewise.
28250 * iconv/gconv_open.c (__gconv_open): Likewise.
28251 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28252 * iconv/iconvconfig.c (add_module): Likewise.
28253 * intl/dcigettext.c (plural_lookup, guess_category_value)
28254 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28255 * intl/eval-plural.h (plural_eval): Likewise.
28256 * intl/finddomain.c (_nl_find_domain): Likewise.
28257 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28258 (_nl_load_domain, _nl_find_msg): Likewise.
28259 (internal_function): Remove definition.
28260 * intl/loadinfo.h (internal_function): Likewise.
28261 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28263 * intl/localealias.c (internal_function): Remove definition.
28264 (read_alias_file): Remove internal_function.
28265 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28266 * intl/plural-exp.h (internal_function): Remove definition.
28267 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28269 * intl/plural.c: Regenerate.
28270 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28271 * locale/coll-lookup.c (__collidx_table_lookup)
28272 (__collseq_table_lookup): Likewise.
28273 * locale/coll-lookup.h (__collidx_table_lookup)
28274 (__collseq_table_lookup): Likewise.
28275 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28276 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28277 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28278 (_nl_unload_locale): Likewise.
28279 * locale/localeinfo.h (struct __locale_data): Remove
28280 internal_function from cleanup member.
28281 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28282 (_nl_remove_locale, _nl_load_locale_from_archive)
28283 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28284 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28285 (_nl_cleanup_time): Remove internal_function.
28286 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28287 (_nl_parse_alt_digit): Likewise.
28288 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28289 (_nl_select_era_entry): Likewise.
28290 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28291 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28292 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28293 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28294 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28296 2017-08-31 Florian Weimer <fweimer@redhat.com>
28298 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28299 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28300 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28301 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28303 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28304 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28305 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28306 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28308 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28310 2017-08-31 Florian Weimer <fweimer@redhat.com>
28312 * misc/getttyent.c (skip, value): Remove internal_function.
28313 * misc/syslog.c (openlog_internal): Likewise.
28314 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28316 2017-08-31 Florian Weimer <fweimer@redhat.com>
28318 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28319 (__nss_rewrite_field): Remove internal_function.
28320 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28321 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28322 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28323 * nss/nsswitch.c (nss_parse_file, nss_getline)
28324 (nss_parse_service_list, nss_new_service): Likewise.
28325 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28326 * nss/valid_field.c (__nss_valid_field): Likewise.
28327 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28329 2017-08-31 Florian Weimer <fweimer@redhat.com>
28331 * malloc/arena.c (__malloc_fork_lock_parent)
28332 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28333 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28334 internal_function from defintions.
28335 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28336 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28337 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28338 internal_function from declarations.
28339 * malloc/malloc.c (internal_function): Do not define.
28340 (mem2mem_check): Remove internal_function from declaration.
28341 (munmap_chunk, mremap_chunk): Remove internal_function.
28342 * malloc/mtrace.c (tr_where): Likewise.
28344 2017-08-31 Florian Weimer <fweimer@redhat.com>
28346 * include/rpc/pmap_clnt.h (__get_socket): Remove
28348 * sunrpc/auth_des.c (synchronize): Likewise.
28349 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28350 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28351 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28352 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28353 (key_call): Likewise.
28354 * sunrpc/pm_getport.c (__get_socket): Likewise.
28355 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28356 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28357 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28358 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28359 (invalidate): Likewise.
28360 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28361 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28362 (set_input_fragment, get_input_bytes): Likewise.
28364 2017-08-31 Florian Weimer <fweimer@redhat.com>
28366 * malloc/malloc.c (_int_free): Remove locked variable and related
28369 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28372 * Makerules (build-module-helper-objlist): Filter out
28373 $(elf-objpfx)sofini.os.
28374 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28377 2017-08-31 Florian Weimer <fweimer@redhat.com>
28379 * libio/fcloseall.c: Assume weak_alias is defined.
28380 * libio/feof.c: Likewise.
28381 * libio/fileno.c: Likewise.
28382 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28383 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28385 (_IO_file_open): Call __open directly.
28386 (_IO_new_file_sync): Assume ESPIPE is defined.
28387 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28388 (_IO_new_file_write): Call __write directly.
28389 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28390 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28391 * libio/genops.c: Assume _LIBC is defined.
28392 (save_for_backup): Remove internal_function.
28393 * libio/getc.c: Assume weak_alias is defined.
28394 * libio/getwc.c: Likewise.
28395 * libio/iofclose.c: Assume _LIBC is defined.
28396 * libio/iofdopen.c: Likewise.
28397 (_IO_fcntl): Remove macro definition.
28398 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28399 Call __fcntl directly.
28400 * libio/iofflush.c: Assume weak_alias is defined.
28401 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28403 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28404 * libio/iofgets.c: Likewise.
28405 * libio/iofopen.c: Assume _LIBC is defined.
28406 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28407 * libio/iofputs.c: Assume weak_alias is defined.
28408 * libio/iofread.c: Likewise.
28409 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28410 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28411 * libio/ioftell.c: Assume weak_alias is defined.
28412 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28413 * libio/iofwide.c: Assume _LIBC is defined.
28414 (_IO_fwide): Drop SHARED conditional because it is implied by
28416 * libio/iofwrite.c: Assume weak_alias is defined.
28417 * libio/iogetdelim.c: Likewise.
28418 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28419 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28420 (_IO_getwline): Call __wmemcpy directly.
28421 * libio/iopopen.c: Assume _LIBC is defined.
28422 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28423 (_IO_close): Remove macro definitions.
28424 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28426 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28428 * libio/ioputs.c: Assume weak_alias is defined.
28429 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28430 * libio/iosetbuffer.c: Assume weak_alias is defined.
28431 * libio/iosetvbuf.c: Likewise.
28432 * libio/ioungetc.c: Likewise.
28433 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28434 libc_hidden_def, libc_hidden_weak, NULL are defined.
28435 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28436 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28438 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28440 (_IO_old_file_init_internal): Drop SHARED conditional because it
28441 is implied by SHLIB_COMPAT.
28442 (_IO_old_file_fopen): Call __open directly.
28443 (_IO_old_file_sync): Assume ESPIPE is defined.
28444 (_IO_old_file_write): Call __write directly.
28445 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28446 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28447 Call __fcntl directly.
28448 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28449 (_IO_old_fgetpos): Assume EIO is defined.
28450 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28451 (_IO_old_fgetpos64): Assume EIO is defined.
28452 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28453 (_IO_old_fsetpos): Assume EIO is defined.
28454 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28455 (_IO_old_fsetpos64): Assume EIO is defined.
28456 * libio/oldiopopen.c: Assume _LIBC is defined.
28457 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28458 (_IO_close): Remove macro definitions.
28459 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28461 (_IO_old_proc_close): Call __close, __waitpid directly.
28462 * libio/put.c: Assume weak_alias is defined.
28463 * libio/stdfiles.c: Assume _LIBC is defined.
28464 * libio/stdio.c: Likewise.
28465 * libio/wfileops.c: Likewise.
28466 (_IO_wfile_sync): Assume ESPIPE is defined.
28467 * libio/wgenops.c: Assume _LIBC is defined.
28468 (save_for_wbackup): Remove internal_function.
28470 2017-08-31 Florian Weimer <fweimer@redhat.com>
28472 * malloc/malloc.c (top_check): Change return type to void. Remove
28474 * malloc/hooks.c (top_check): Likewise.
28475 (malloc_check, realloc_check, memalign_check): Adjust.
28477 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28480 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28481 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28482 sigcontext and namespace requirements.
28483 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28484 * sysdeps/m68k/sys/ucontext.h: Likewise.
28485 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28486 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28487 <bits/sigcontext.h>.
28488 (__ctx): Define earlier.
28489 (mcontext_t): Define structure contents rather than using struct
28491 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28492 __glibc_reserved1 instead of __reserved.
28493 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28494 <bits/sigcontext.h>.
28495 (__ctx): Define earlier.
28496 (mcontext_t): Define structure contents rather than using struct
28498 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28499 mcontext_t instead of struct sigcontext.
28500 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28501 <bits/sigcontext.h>.
28502 (__ctx): Define earlier.
28503 (mcontext_t): Define structure contents rather than using struct
28505 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28506 <bits/sigcontext.h>.
28507 (__ctx): Define earlier.
28508 (mcontext_t): Define structure contents rather than using struct
28510 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28511 mcontext_t instead of struct sigcontext.
28512 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28513 mcontext_t instead of struct sigcontext.
28514 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28515 <bits/sigcontext.h>.
28516 (__ctx): New macro.
28517 (struct __ia64_fpreg_mcontext): New type.
28518 (mcontext_t): Define structure contents rather than using struct
28520 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28521 (uc_sigmask): Define using __ctx.
28522 (uc_stack): Likewise.
28523 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28524 <bits/sigcontext.h>.
28525 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28526 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28527 <bits/sigcontext.h>.
28528 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28529 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28530 <bits/sigcontext.h>.
28531 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28532 <bits/sigcontext.h>.
28533 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28534 <bits/sigcontext.h>.
28535 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28536 <bits/sigcontext.h>.
28537 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28538 <bits/sigcontext.h>.
28539 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28540 <bits/sigcontext.h>.
28541 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28542 <bits/sigcontext.h>.
28543 (__ctx): Define earlier.
28544 (mcontext_t): Define structure contents rather than using struct
28546 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28547 <bits/sigcontext.h>. Include <bits/types.h>.
28548 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28549 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28550 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28551 (test-xfail-UNIX98/signal.h/conform): Likewise.
28552 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28553 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28554 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28555 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28556 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28557 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28558 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28559 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28560 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28562 2017-08-30 Florian Weimer <fweimer@redhat.com>
28564 * malloc/dynarray_emplace_enlarge.c
28565 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28566 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28567 * malloc/tst-dynarray.c (test_long_overflow): New function.
28568 (do_test): Call it.
28570 2017-08-30 Florian Weimer <fweimer@redhat.com>
28572 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28573 (set_arena_corrupt): Remove definitions.
28574 (mtrim): Do not check for corrupt arena.
28575 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28578 2017-08-30 Florian Weimer <fweimer@redhat.com>
28581 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28583 (ptmalloc_init): Do not set or use check_action.
28584 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28585 call to malloc_printerr. Remove return statement.
28586 (free_check): Likewise. Remove arena unlock.
28587 (top_check): Update comment. Adjust call to malloc_printerr.
28588 Remove heap repair code.
28589 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28590 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28591 (sysmalloc): Adjust call to malloc_printerr.
28592 (munmap_chunk, __libc_realloc): Likewise. Remove return
28594 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28595 Remove errout label and corresponding gotos.
28596 (_int_free): Likewise. Remove arena unlock.
28597 (do_set_mallopt_check): Do not set check_action.
28598 (malloc_printerr): Adjust parameter list. Do not mark arena as
28600 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28602 * manual/probes.texi (Memory Allocation Probes): Remove
28603 memory_mallopt_check_action.
28605 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28607 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28608 Use pointer to uint64_t instead of long int for sp.
28610 2017-08-30 Florian Weimer <fweimer@redhat.com>
28613 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28614 without printing a backtrace. Do not leak any information in the
28616 * manual/memory.texi (Heap Consistency Checking): Update.
28617 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28619 2017-08-30 Florian Weimer <fweimer@redhat.com>
28621 Do not scale NPTL tests with available number of CPUs.
28622 * nptl/tst-cond16.c (count): Set to constant value of 8.
28623 * nptl/tst-cond18.c (count): Likewise.
28625 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28628 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28629 Define to take a second argument that is a macro that
28630 concatentates a suffix, not the suffix itself.
28631 (__CONCAT_d): New macro.
28632 (__CONCAT_f): Likewise.
28633 (__CONCAT_l): Likewise.
28635 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28637 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28640 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28641 Aurelien Jarno <aurelien@aurel32.net>
28642 Maciej W. Rozycki <macro@imgtec.com>
28645 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28646 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28647 `mips16-syscall6' and `mips16-syscall7'.
28648 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28649 (CFLAGS-mips16-syscall7.c): Remove.
28650 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28651 Remove `__mips16_syscall5', `__mips16_syscall6' and
28652 `__mips16_syscall7'.
28653 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28654 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28655 `__mips_syscall_return'.
28656 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28657 (__mips16_syscall1): Likewise.
28658 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28659 (__mips16_syscall2): Likewise.
28660 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28661 (__mips16_syscall3): Likewise.
28662 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28663 (__mips16_syscall4): Likewise.
28664 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28666 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28668 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28670 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28671 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28672 `__mips16_syscall5'. Remove prototype.
28673 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28674 `__mips16_syscall6'. Remove prototype.
28675 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28676 `__mips16_syscall7'. Remove prototype.
28677 (__nomips16, __mips16_syscall_return): Move to...
28678 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28679 (__nomips16, __mips_syscall_return): ... here.
28680 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28681 `__mips16_syscall_return' to `__mips_syscall_return'.
28682 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28683 `internal_syscall##nr'.
28684 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28685 `internal_syscall##nr'.
28686 (FORCE_FRAME_POINTER): Remove.
28687 (__mips_syscall5): New prototype.
28688 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28689 (__mips_syscall6): New prototype.
28690 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28691 (__mips_syscall7): New prototype.
28692 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28693 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28694 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28695 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28696 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28697 (sysdep_routines): Add libc-do-syscall.
28698 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28699 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28701 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28704 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28705 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28706 (advise_stack_range): New function.
28707 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28708 stack non required to advise_stack_range at allocatestack.c
28710 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28712 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28714 2017-08-29 Florian Weimer <fweimer@redhat.com>
28717 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28718 __end_fct. Mangle __end_fct after setting it to NULL.
28719 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28720 (modules-names, modules-names-tests): Add
28721 tst-gconv-init-failure-mod.
28722 (gconv-modules): New target.
28723 (tst-gconv-init-failure-mod.so): Link against libsupport.
28724 (tst-gconv-init-failure): Depend on gconv-modules,
28725 tst-gconv-init-failure-mod.so.
28726 * iconv/tst-gconv-init-failure-mod.c: New file.
28727 * iconv/tst-gconv-init-failure.c: Likewise.
28728 * iconv/test-gconv-modules: Likewise.
28730 2017-08-29 Florian Weimer <fweimer@redhat.com>
28733 * iconv/gconv_db.c (free_derivation): Remove redundant
28735 (gen_steps): Unconditionally mangle __btowc_fct after
28737 (increment_counter): Likewise. Do not call init_fct for internal
28740 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28743 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28744 (_MSUF_): Remove macro.
28745 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28747 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28748 (__REDIRFROM_X): New macro.
28749 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28751 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28752 (__REDIRTO_X): Likewise.
28753 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28755 (__MATH_REDIRCALL_2): Likewise.
28756 (__MATH_REDIRCALL_INTERNAL): Likewise.
28757 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28758 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28759 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28760 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28761 * math/test-finite-macros.c: New file.
28762 * math/Makefile (tests): Add test-finite-macros.
28763 (CFLAGS-test-finite-macros.c): New variable.
28765 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28766 Jeff Law <law@redhat.com>
28769 Mangle NULL pointers in iconv/gconv.
28770 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28771 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28772 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28773 is non-NULL before demangling the end_fct. Check for NULL
28774 end_fct after demangling.
28775 (__gconv_release_step): Demangle the end_fct before checking
28776 it for NULL. Remove assert on __shlibc_handle != NULL.
28777 (gen_steps): Don't check btowc_fct for NULL before mangling.
28778 Demangle init_fct before checking for NULL.
28779 (increment_counter): Likewise.
28780 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28781 end_fct for NULL before mangling.
28782 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28785 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28788 * locale/iso-639.def: add Morisyen.
28790 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28793 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28794 (iszero): New C++ implementation that does not use
28795 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28796 signaling nans are enabled, since __builtin_types_compatible_p
28797 is a C-only feature.
28798 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28799 defined, include ieee754_float128.h for access to the union and
28800 member ieee854_float128.ieee.
28801 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28802 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28803 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28804 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28805 options of test-math-zero on powerpc64le.
28807 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
28809 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28810 Change double to float.
28812 2017-08-28 Joseph Myers <joseph@codesourcery.com>
28814 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
28816 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
28817 conditional code; define contents only for [LIBM_SVID_COMPAT].
28819 2017-08-28 Florian Weimer <fweimer@redhat.com>
28821 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
28822 (abi-lp64_be-options): Remove.
28823 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
28824 (abi-hard-options): Likewise.
28825 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
28826 (abi-o32_hard-options, abi-o32_soft_2008-options)
28827 (abi-o32_hard_2008-options, abi-n32_soft-options)
28828 (abi-n32_hard-options, abi-n32_soft_2008-options)
28829 (abi-n32_hard_2008-options, abi-n64_soft-options)
28830 (abi-n64_hard-options, abi-n64_soft_2008-options)
28831 (abi-n64_hard_2008-options): Likewise.
28832 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
28833 (abi-64-v1-options, abi-64-v2-options): Likewise.
28834 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
28835 (abi-64-options): Likewise.
28836 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
28837 (abi-64-options): Likewise.
28838 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
28839 (abi-64-options): Likewise.
28840 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
28841 (abi-64-options, abi-x32-options): Likewise.
28843 2017-08-28 Florian Weimer <fweimer@redhat.com>
28845 Store supported list of SYS_* system calls in the source tree.
28846 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
28847 (bits/syscall.h): Generate from list file.
28848 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
28849 [$(subdir) = misc] (tests): Add tst-syscall-list.
28850 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
28851 [$(subdir) = misc] (tst-syscall-list-macros.list)
28852 [$(subdir) = misc] (tst-syscall-list-nr.list)
28853 (tst-syscall-list-sys.list): Helper targets for new
28854 tst-syscall-list test.
28855 [$(subdir) = misc] (tst-syscall-list.out): Run test script
28856 tst-syscall-list.sh.
28857 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
28858 target. Do not include bits/syscall.d.
28859 [$(subdir) = misc] (generated): Do not update.
28860 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
28861 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
28862 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
28863 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
28865 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
28867 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
28868 (tst-cxa_atexit, tst-on_exit): Likewise.
28869 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
28870 tst-cxa_atexit, and tst-on_exit.
28871 * stdlib/tst-atexit-common.c: New file.
28872 * stdlib/tst-atexit.c: New file.
28873 * stdlib/tst-at_quick_exit.c: New file.
28874 * stdlib/tst-cxa_atexit.c: New file.
28875 * stdlib/tst-on_exit.c: New file.
28877 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28879 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
28880 * mach/stack_chk_fail_local.c: New file.
28881 * hurd/stack_chk_fail_local.c: New file.
28882 * mach/Machrules ($(interface-library)-routines): Add
28883 stack_chk_fail_local.
28884 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
28885 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
28886 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
28887 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
28888 * hurd/Makefile (CFLAGS-hurdstartup.o,
28889 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
28891 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
28893 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28894 (index_cpu_*, index_arch_*): Removed.
28896 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28898 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
28899 Use uint64_t instead of unsigned long.
28901 2017-08-25 Joseph Myers <joseph@codesourcery.com>
28903 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
28904 [__HAVE_DISTINCT_FLOAT128].
28906 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
28907 of <bits/math-finite.h>.
28908 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
28909 inclusion of <bits/math-finite.h>.
28910 * math/bits/math-finite.h (__REDIRTO_X): Do not define
28911 conditionally on [__MATH_DECLARING_LDOUBLE && defined
28912 __NO_LONG_DOUBLE_MATH].
28913 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
28914 (__MATH_REDIRCALL_2): Likewise.
28915 (__MATH_REDIRCALL_INTERNAL): Likewise.
28916 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28917 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
28918 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
28922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
28924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
28926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
28928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
28930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
28932 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28933 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28934 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28935 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
28937 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
28938 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
28939 w_sqrtf_compat-ppc32.
28941 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28943 * math/math.h [defined __cplusplus] (issignaling): In the long
28944 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
28945 is not defined. Call __issignaling, otherwise.
28947 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28949 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
28950 syscall definitions and replace __builtin_expect with __glibc_likely.
28951 * sysdeps/unix/syscall-template.S: Update comment about cancellable
28953 (SYSCALL_CANCELLABLE): Removedefinition
28954 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
28956 (PSEUDO_END): Likewise.
28957 [IS_IN (libpthread)] (CENABLE): Likewise.
28958 [IS_IN (libpthread)] (CDISABLE): Likewise.
28959 [IS_IN (libc)] (CENABLE): Likewise.
28960 [IS_IN (libc)] (CENABLE): Likewise.
28961 [IS_IN (librt)] (CDISABLE): Likewise.
28962 [IS_IN (librt)] (CDISABLE): Likewise.
28963 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28964 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
28966 (PSEUDO_END): Likewise.
28967 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
28968 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
28969 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28970 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
28971 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28972 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
28973 (CENABLE): Likewise.
28974 (CDISABLE): Likewise.
28975 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28976 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
28978 (PSEUDO_END): Likewise.
28979 [IS_IN (libpthread)] (CENABLE): Likewise.
28980 [IS_IN (libpthread)] (CDISABLE): Likewise.
28981 [IS_IN (libc)] (CENABLE): Likewise.
28982 [IS_IN (libc)] (CENABLE): Likewise.
28983 [IS_IN (librt)] (CDISABLE): Likewise.
28984 [IS_IN (librt)] (CDISABLE): Likewise.
28985 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28986 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
28988 (PSEUDO_END): Likewise.
28989 [IS_IN (libpthread)] (CENABLE): Likewise.
28990 [IS_IN (libpthread)] (CDISABLE): Likewise.
28991 [IS_IN (libc)] (CENABLE): Likewise.
28992 [IS_IN (libc)] (CENABLE): Likewise.
28993 [IS_IN (librt)] (CDISABLE): Likewise.
28994 [IS_IN (librt)] (CDISABLE): Likewise.
28995 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
28996 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
28998 (PSEUDO_END): Likewise.
28999 [IS_IN (libpthread)] (CENABLE): Likewise.
29000 [IS_IN (libpthread)] (CDISABLE): Likewise.
29001 [IS_IN (libc)] (CENABLE): Likewise.
29002 [IS_IN (libc)] (CENABLE): Likewise.
29003 [IS_IN (librt)] (CDISABLE): Likewise.
29004 [IS_IN (librt)] (CDISABLE): Likewise.
29005 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29006 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29008 (PSEUDO_END): Likewise.
29009 [IS_IN (libpthread)] (CENABLE): Likewise.
29010 [IS_IN (libpthread)] (CDISABLE): Likewise.
29011 [IS_IN (libc)] (CENABLE): Likewise.
29012 [IS_IN (libc)] (CENABLE): Likewise.
29013 [IS_IN (librt)] (CDISABLE): Likewise.
29014 [IS_IN (librt)] (CDISABLE): Likewise.
29015 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29016 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29018 (PSEUDO_END): Likewise.
29019 [IS_IN (libpthread)] (CENABLE): Likewise.
29020 [IS_IN (libpthread)] (CDISABLE): Likewise.
29021 [IS_IN (libc)] (CENABLE): Likewise.
29022 [IS_IN (libc)] (CENABLE): Likewise.
29023 [IS_IN (librt)] (CDISABLE): Likewise.
29024 [IS_IN (librt)] (CDISABLE): Likewise.
29025 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29026 * sysdeps/unix/sysv/linux/microblaze/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/mips/mips64/sysdep-cancel.h (PSEUDO):
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 (SINGLE_THREAD_P): Likewise.
29046 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29048 (PSEUDO_END): Likewise.
29049 [IS_IN (libpthread)] (CENABLE): Likewise.
29050 [IS_IN (libpthread)] (CDISABLE): Likewise.
29051 [IS_IN (libc)] (CENABLE): Likewise.
29052 [IS_IN (libc)] (CENABLE): Likewise.
29053 [IS_IN (librt)] (CDISABLE): Likewise.
29054 [IS_IN (librt)] (CDISABLE): Likewise.
29055 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29056 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29058 (PSEUDO_END): Likewise.
29059 [IS_IN (libpthread)] (CENABLE): Likewise.
29060 [IS_IN (libpthread)] (CDISABLE): Likewise.
29061 [IS_IN (libc)] (CENABLE): Likewise.
29062 [IS_IN (libc)] (CENABLE): Likewise.
29063 [IS_IN (librt)] (CDISABLE): Likewise.
29064 [IS_IN (librt)] (CDISABLE): Likewise.
29065 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29066 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29067 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29068 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29069 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29071 (PSEUDO_END): Likewise.
29072 [IS_IN (libpthread)] (CENABLE): Likewise.
29073 [IS_IN (libpthread)] (CDISABLE): Likewise.
29074 [IS_IN (libc)] (CENABLE): Likewise.
29075 [IS_IN (libc)] (CENABLE): Likewise.
29076 [IS_IN (librt)] (CDISABLE): Likewise.
29077 [IS_IN (librt)] (CDISABLE): Likewise.
29078 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29079 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29081 (PSEUDO_END): Likewise.
29082 [IS_IN (libpthread)] (CENABLE): Likewise.
29083 [IS_IN (libpthread)] (CDISABLE): Likewise.
29084 [IS_IN (libc)] (CENABLE): Likewise.
29085 [IS_IN (libc)] (CENABLE): Likewise.
29086 [IS_IN (librt)] (CDISABLE): Likewise.
29087 [IS_IN (librt)] (CDISABLE): Likewise.
29088 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29089 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29091 (PSEUDO_END): Likewise.
29092 [IS_IN (libpthread)] (CENABLE): Likewise.
29093 [IS_IN (libpthread)] (CDISABLE): Likewise.
29094 [IS_IN (libc)] (CENABLE): Likewise.
29095 [IS_IN (libc)] (CENABLE): Likewise.
29096 [IS_IN (librt)] (CDISABLE): Likewise.
29097 [IS_IN (librt)] (CDISABLE): Likewise.
29098 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29099 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29100 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29101 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29102 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29104 (PSEUDO_END): Likewise.
29105 [IS_IN (libpthread)] (CENABLE): Likewise.
29106 [IS_IN (libpthread)] (CDISABLE): Likewise.
29107 [IS_IN (libc)] (CENABLE): Likewise.
29108 [IS_IN (libc)] (CENABLE): Likewise.
29109 [IS_IN (librt)] (CDISABLE): Likewise.
29110 [IS_IN (librt)] (CDISABLE): Likewise.
29111 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29112 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29114 (PSEUDO_END): Likewise.
29115 [IS_IN (libpthread)] (CENABLE): Likewise.
29116 [IS_IN (libpthread)] (CDISABLE): Likewise.
29117 [IS_IN (libc)] (CENABLE): Likewise.
29118 [IS_IN (libc)] (CENABLE): Likewise.
29119 [IS_IN (librt)] (CDISABLE): Likewise.
29120 [IS_IN (librt)] (CDISABLE): Likewise.
29121 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29123 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29125 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29127 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29129 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29131 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29134 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29135 middle and outer with size_t instead of int. Repleace %d and
29136 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29137 "MAX (outer, nchars - 64)" to support unsigned outer and
29138 nchars. Also exit loop when outer == 0.
29140 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29142 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29143 * include/signal.h (__sigsuspend_nocancel): Likewise.
29144 * include/time.h (__nanosleep_nocancel): Likewise.
29145 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29146 * login/utmp_file.c: Include non cancellable syscall header.
29147 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29150 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29152 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29153 .byte sequences with AVX512F instructions.
29154 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29155 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29156 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29157 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29159 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29162 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29163 Steve Ellcey <sellcey@cavium.com>
29165 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29166 Use PTR_REG macro in cmp instruction.
29168 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29170 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29171 Change the return type of the ifunc resolver to match the return
29172 type of the target function.
29174 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29176 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29177 (preadv64): Likewise.
29178 (pwrite64(: Likewise.
29179 (pwritev64): Likewise.
29181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29182 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29183 (LOAD_ARGS_0): Likewise.
29184 (LOAD_ARGS_1): Likewise.
29185 (LOAD_ARGS_2): Likewise.
29186 (LOAD_ARGS_3): Likewise.
29187 (LOAD_ARGS_4): Likewise.
29188 (LOAD_ARGS_5): Likewise.
29189 (LOAD_ARGS_6): Likewise.
29190 (LOAD_REGS_0): Likewise.
29191 (LOAD_REGS_1): Likewise.
29192 (LOAD_REGS_2): Likewise.
29193 (LOAD_REGS_3): Likewise.
29194 (LOAD_REGS_4): Likewise.
29195 (LOAD_REGS_5): Likewise.
29196 (LOAD_REGS_6): Likewise.
29197 (ASM_ARGS_0): Likewise.
29198 (ASM_ARGS_1): Likewise.
29199 (ASM_ARGS_2): Likewise.
29200 (ASM_ARGS_3): Likewise.
29201 (ASM_ARGS_4): Likewise.
29202 (ASM_ARGS_5): Likewise.
29203 (ASM_ARGS_6): Likewise.
29204 (LOAD_ARGS_TYPES_1): Likewise.
29205 (LOAD_ARGS_TYPES_2): Likewise.
29206 (LOAD_ARGS_TYPES_3): Likewise.
29207 (LOAD_ARGS_TYPES_4): Likewise.
29208 (LOAD_ARGS_TYPES_5): Likewise.
29209 (LOAD_ARGS_TYPES_6): Likewise.
29210 (LOAD_REGS_TYPES_1): Likewise.
29211 (LOAD_REGS_TYPES_2): Likewise.
29212 (LOAD_REGS_TYPES_3): Likewise.
29213 (LOAD_REGS_TYPES_4): Likewise.
29214 (LOAD_REGS_TYPES_5): Likewise.
29215 (LOAD_REGS_TYPES_6): Likewise.
29216 (TYPEFY): New define.
29217 (ARGIFY): Likewise.
29218 (internal_syscall0): Likewise.
29219 (internal_syscall1): Likewise.
29220 (internal_syscall2): Likewise.
29221 (internal_syscall3): Likewise.
29222 (internal_syscall4): Likewise.
29223 (internal_syscall5): Likewise.
29224 (internal_syscall6): Likewise.
29225 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29226 (INTERNAL_SYSCALL_NCS): Remove define.
29227 (internal_syscall1): Add define.
29229 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29231 * math/w_remainder_compat.c: Remove duplicate inclusion of
29232 math-svid-compat.h.
29233 * math/w_remainderf_compat.c: Likewise.
29234 * math/w_remainderl_compat.c: Likewise.
29236 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29240 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29243 * math/tgmath.h (__floating_type): Simplify definitions.
29244 (__real_integer_type): New macro.
29245 (__complex_integer_type): Likewise.
29246 (__expr_is_real): Likewise.
29247 (__tgmath_real_type_sub): Update comment to describe handling of
29249 (__tgmath_complex_type_sub): New macro.
29250 (__tgmath_complex_type): Likewise.
29251 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29252 (__TGMATH_CF128): Use __expr_is_real.
29253 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29255 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29256 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29257 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29260 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29262 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29264 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29266 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29269 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29270 nanosleep_not_cancel with __nanosleep_nocancel.
29271 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29272 (__nanosleep_nocancel): New macro.
29273 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29275 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29277 (__nanosleep_nocancel): New prototype.
29279 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29280 pause_not_cancel with __pause_nocancel.
29281 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29282 (__pause_nocancel): New macro.
29283 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29285 (__pause_nocancel): New prototype.
29286 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29288 2017-08-22 Martin Sebor <msebor@redhat.com>
29290 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29291 to return a pointer to the same type as the target function.
29293 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29297 * include/printf.h (__printf_fphex): Add attribute_hidden.
29298 (__guess_grouping): New prototype.
29299 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29300 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29301 libc_hidden_proto and libc_hidden_def.
29302 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29303 (__vstrfmon_l): Remove the third argument passed to
29306 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29308 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29309 definition for issignaling that does not rely on __MATH_TG,
29310 since __MATH_TG uses __builtin_types_compatible_p, which is only
29311 available in C mode.
29312 (CFLAGS-test-math-issignaling.cc): New variable.
29313 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29314 * math/test-math-issignaling.cc: New test for C++ implementation
29315 of type-generic issignaling.
29316 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29317 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29318 options of test-math-issignaling on powerpc64le.
29320 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29322 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29324 (hidden_proto): Likewise.
29325 (hidden_tls_proto): Likewise.
29326 (__hidden_proto): Likewise.
29328 2017-08-22 Florian Weimer <fweimer@redhat.com>
29330 math: Statically link tests of internal functionality.
29331 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29333 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29334 (gmp-objs): Remove assignment.
29335 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29337 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29340 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29342 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29344 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29347 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29348 variable definitions above inclusion of ../Rules.
29350 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29352 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29353 case calling __builtin_unreachable.
29355 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29357 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29358 __waitpid_nocancel.
29359 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29360 (__waitpid_nocancel): New macro.
29361 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29363 (__waitpid_nocancel): Replace macro with a function.
29364 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29367 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29369 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29370 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29372 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29373 __writev_nocancel_nostatus.
29374 (write_call_graph): Likewise.
29375 (write_bb_counts): Likewise.
29376 * resolv/herror.c (herror): Likewise.
29377 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29379 (__writev_nocancel_nostatus): New macro.
29380 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29382 (__writev_nocancel_nostatus): New function.
29384 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29387 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29389 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29391 (hidden_proto): Likewise.
29392 (hidden_tls_proto): Likewise.
29393 (__hidden_proto): Likewise.
29396 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29397 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29408 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29409 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29410 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29411 GLIBC_2.0 sqrtl symbol.
29413 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29414 [__USE_MISC] (_LIB_VERSION): Likewise.
29415 [__USE_MISC] (struct exception): Likewise.
29416 [__USE_MISC] (matherr): Likewise.
29417 [__USE_MISC] (DOMAIN): Likewise.
29418 [__USE_MISC] (SING): Likewise.
29419 [__USE_MISC] (OVERFLOW): Likewise.
29420 [__USE_MISC] (UNDERFLOW): Likewise.
29421 [__USE_MISC] (TLOSS): Likewise.
29422 [__USE_MISC] (PLOSS): Likewise.
29423 [__USE_MISC] (HUGE): Likewise.
29424 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29425 * math/math-svid-compat.h: New file.
29426 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29428 * include/math.h [!_ISOMAC] (__matherr): Remove.
29429 * manual/arith.texi (FP Exceptions): Do not document matherr.
29430 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29431 (tests-internal): New variable.
29432 (install-lib): Do not add libieee.a.
29433 (non-lib.a): Likewise.
29434 (extra-objs): Do not add libieee.a and ieee-math.o.
29435 (CPPFLAGS-s_lib_version.c): Remove variable.
29436 ($(objpfx)libieee.a): Remove rule.
29437 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29438 * math/ieee-math.c: Remove.
29439 * math/libm-test-support.c (matherr): Remove.
29440 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29441 and license notices. Include <math-svid-compat.h> and
29443 (matherr): Undefine as macro. Use compat_symbol_reference.
29444 (_LIB_VERSION): Likewise.
29445 * math/test-matherr-2.c: New file.
29446 * math/test-matherr-3.c: Likewise.
29447 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29449 (__kernel_standard_f): Likewise.
29450 (__kernel_standard_l): Likewise.
29451 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29452 <math_private.h>. Include <math-svid-compat.h>.
29453 (_LIB_VERSION): Undefine as macro.
29454 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29455 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29456 [LIBM_SVID_COMPAT], use compat_symbol.
29457 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29458 <math_private.h>. Include <math-svid-compat.h>.
29459 (matherr): Undefine as macro.
29460 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29462 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29463 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29464 compat_symbol_reference.
29465 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29466 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29467 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29468 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29469 (MATHERR_D): Remove declaration.
29470 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29471 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29472 [LIBM_BUILD] (pmatherrf): Likewise.
29473 [LIBM_BUILD] (pmatherr): Likewise.
29474 [LIBM_BUILD] (pmatherrl): Likewise.
29475 (DOMAIN): Likewise.
29477 (OVERFLOW): Likewise.
29478 (UNDERFLOW): Likewise.
29481 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29482 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29484 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29485 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29487 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29488 * math/w_acos_compat.c: Likewise.
29489 * math/w_acosf_compat.c: Likewise.
29490 * math/w_acosh_compat.c: Likewise.
29491 * math/w_acoshf_compat.c: Likewise.
29492 * math/w_acoshl_compat.c: Likewise.
29493 * math/w_acosl_compat.c: Likewise.
29494 * math/w_asin_compat.c: Likewise.
29495 * math/w_asinf_compat.c: Likewise.
29496 * math/w_asinl_compat.c: Likewise.
29497 * math/w_atan2_compat.c: Likewise.
29498 * math/w_atan2f_compat.c: Likewise.
29499 * math/w_atan2l_compat.c: Likewise.
29500 * math/w_atanh_compat.c: Likewise.
29501 * math/w_atanhf_compat.c: Likewise.
29502 * math/w_atanhl_compat.c: Likewise.
29503 * math/w_cosh_compat.c: Likewise.
29504 * math/w_coshf_compat.c: Likewise.
29505 * math/w_coshl_compat.c: Likewise.
29506 * math/w_exp10_compat.c: Likewise.
29507 * math/w_exp10f_compat.c: Likewise.
29508 * math/w_exp10l_compat.c: Likewise.
29509 * math/w_exp2_compat.c: Likewise.
29510 * math/w_exp2f_compat.c: Likewise.
29511 * math/w_exp2l_compat.c: Likewise.
29512 * math/w_fmod_compat.c: Likewise.
29513 * math/w_fmodf_compat.c: Likewise.
29514 * math/w_fmodl_compat.c: Likewise.
29515 * math/w_hypot_compat.c: Likewise.
29516 * math/w_hypotf_compat.c: Likewise.
29517 * math/w_hypotl_compat.c: Likewise.
29518 * math/w_j0_compat.c: Likewise.
29519 * math/w_j0f_compat.c: Likewise.
29520 * math/w_j0l_compat.c: Likewise.
29521 * math/w_j1_compat.c: Likewise.
29522 * math/w_j1f_compat.c: Likewise.
29523 * math/w_j1l_compat.c: Likewise.
29524 * math/w_jn_compat.c: Likewise.
29525 * math/w_jnf_compat.c: Likewise.
29526 * math/w_jnl_compat.c: Likewise.
29527 * math/w_lgamma_main.c: Likewise.
29528 * math/w_lgamma_r_compat.c: Likewise.
29529 * math/w_lgammaf_main.c: Likewise.
29530 * math/w_lgammaf_r_compat.c: Likewise.
29531 * math/w_lgammal_main.c: Likewise.
29532 * math/w_lgammal_r_compat.c: Likewise.
29533 * math/w_log10_compat.c: Likewise.
29534 * math/w_log10f_compat.c: Likewise.
29535 * math/w_log10l_compat.c: Likewise.
29536 * math/w_log2_compat.c: Likewise.
29537 * math/w_log2f_compat.c: Likewise.
29538 * math/w_log2l_compat.c: Likewise.
29539 * math/w_log_compat.c: Likewise.
29540 * math/w_logf_compat.c: Likewise.
29541 * math/w_logl_compat.c: Likewise.
29542 * math/w_pow_compat.c: Likewise.
29543 * math/w_powf_compat.c: Likewise.
29544 * math/w_powl_compat.c: Likewise.
29545 * math/w_remainder_compat.c: Likewise.
29546 * math/w_remainderf_compat.c: Likewise.
29547 * math/w_remainderl_compat.c: Likewise.
29548 * math/w_scalb_compat.c: Likewise.
29549 * math/w_scalbf_compat.c: Likewise.
29550 * math/w_scalbl_compat.c: Likewise.
29551 * math/w_sinh_compat.c: Likewise.
29552 * math/w_sinhf_compat.c: Likewise.
29553 * math/w_sinhl_compat.c: Likewise.
29554 * math/w_sqrt_compat.c: Likewise.
29555 * math/w_sqrtf_compat.c: Likewise.
29556 * math/w_sqrtl_compat.c: Likewise.
29557 * math/w_tgamma_compat.c: Likewise.
29558 * math/w_tgammaf_compat.c: Likewise.
29559 * math/w_tgammal_compat.c: Likewise.
29560 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29561 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29562 * sysdeps/ieee754/k_standard.c: Likewise.
29563 * sysdeps/ieee754/k_standardf.c: Likewise.
29564 * sysdeps/ieee754/k_standardl.c: Likewise.
29565 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29566 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29567 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29568 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29569 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29570 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29571 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29572 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29573 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29578 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29579 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29580 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29581 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29583 2017-08-21 Florian Weimer <fweimer@redhat.com>
29586 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29587 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29588 Move before inclusion of ../Rules.
29590 2017-08-21 Florian Weimer <fweimer@redhat.com>
29593 * assert/assert.h (assert): Use static_cast (bool) for C++.
29594 Use the ternary operator in the warning branch for GNU C.
29595 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29596 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29597 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29598 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29599 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29601 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29604 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29605 (__syscall_clock_gettime): Add attribute_hidden.
29606 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29607 (__start_context): Likewise.
29609 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29611 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29613 (hidden_proto): Likewise.
29614 (hidden_tls_proto): Likewise.
29615 (__hidden_proto): Likewise.
29617 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29619 * include/libc-symbols.h (attribute_hidden): Enable hidden
29620 visibility in libc.a compiled with PIE.
29622 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29625 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29626 Add attribute_hidden.
29628 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29631 * Makerules (all-nonlib): Add $(others-extras).
29632 * catgets/Makefile (others-extras): New.
29633 * elf/Makefile (others-extras): Likewise.
29634 * nss/Makefile (others-extras): Likewise.
29636 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29639 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29640 * elf/dl-open.c: Include <libc-internal.h>.
29641 (__libc_multiple_libcs): Removed.
29642 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29644 * include/libc-internal.h (__libc_multiple_libcs): New.
29645 * misc/sbrk.c: Include <libc-internal.h>.
29646 (__libc_multiple_libcs): Removed.
29648 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29651 * grp/initgroups.c (__nss_group_database): Removed.
29652 (__nss_initgroups_database): Likewise.
29653 * nscd/gai.c (__nss_hosts_database): Likewise.
29654 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29655 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29656 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29657 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29658 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29659 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29661 * nss/nsswitch.c (__nss_database_custom): Define only if
29662 USE_NSCD is defined.
29663 (__nss_configure_lookup): Use __nss_database_custom only if
29664 USE_NSCD is defined.
29665 * nss/nsswitch.h (__nss_database_custom): Declare only if
29666 USE_NSCD is defined. Add attribute_hidden.
29667 (__nss_setent): Add attribute_hidden.
29668 (__nss_endent): Likewise.
29669 (__nss_getent_r): Likewise.
29670 (__nss_getent): Likewise.
29671 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29673 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29676 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29677 libc_hidden_proto and libc_hidden_def.
29679 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29682 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29683 Add libc_hidden_proto.
29684 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29685 Add libc_hidden_def.
29687 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29690 * gmon/Makefile (routines): Remove bb_init_func and
29692 (elide-routines.os): Removed.
29693 * gmon/bb_exit_func.c: Likewise.
29694 * gmon/bb_init_func.c: Likewise.
29695 * include/sys/gmon.h (__bb): Likewise.
29696 (__bb_init_func): Likewise.
29697 (__bb_exit_func): Likewise.
29698 * sysdeps/alpha/bb_init_func.S: Likewise.
29700 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29702 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29703 * include/setjmp.h (____longjmp_chk): Here. Add
29706 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29709 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29711 (__strspn_sse2): Likewise.
29713 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29715 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29716 (close_not_cancel_no_status): Likewise.
29717 (__close_nocancel): New macro.
29718 (__close_nocancel_nostatus): Likewise.
29719 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29721 (close_not_cancel): Likewise.
29722 (close_not_cancel_no_status): Likewise.
29723 (__close_nocancel): New prototype.
29724 (__close_nocancel_nostatus): New function.
29725 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29726 * catgets/open_catalog.c (__open_catalog): Replace
29727 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29728 * gmon/gmon.c (write_gmon): Likewise.
29729 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29730 * intl/loadmsgcat.c (close): Likewise.
29731 * io/ftw.c (open_dir_stream): Likewise.
29732 (ftw_startup): Likewise.
29733 * libio/fileops.c (_IO_file_open): Likewise.
29734 (_IO_file_close_mmap): Likewise.
29735 (_IO_file_close): Likewise.
29736 * libio/iopopen.c (_IO_dup2): Likewise.
29737 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29738 * locale/loadlocale.c (_nl_load_locale): Likewise.
29739 * login/utmp_file.c (pututline_file): Likewise.
29740 (endutent_file): Likewise.
29741 * misc/daemon.c (daemon): Likewise.
29742 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29743 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29744 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29745 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29746 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29747 * nscd/nscd_helper.c (open_socket): Likewise.
29748 (__nscd_open_socket): Likewise.
29749 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29750 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29751 (__nscd_innetgr): Likewise.
29752 * nss/nss_db/db-open.c (internal_setent): Likewise.
29753 * resolv/res-close.c (__res_iclose): Likewise.
29754 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29755 * sysdeps/posix/closedir.c (__closedir): Likewise.
29756 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29757 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29758 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29759 (opendir_tail): Likewise.
29760 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29761 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29762 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29763 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29764 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29765 (gethostid): Likewise.
29766 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29767 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29770 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29771 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29772 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29774 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29775 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29776 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29778 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29779 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29781 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29783 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29784 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29785 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29788 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29789 (openat_not_cancel_3): Likewise.
29790 (openat64_not_cancel_3): Likewise).
29791 (openat_not_cancel_3): Likewise).
29792 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29794 (openat_not_cancel_3): Likewise.
29795 (openat64_not_cancel): Likewise.
29796 (openat64_not_cancel_3): Likewise.
29797 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29798 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29799 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29800 __open{64}_nocancel.
29801 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29802 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29803 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29805 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29808 * include/argz.h (__argz_create_sep): New function prototype.
29809 (__argz_append): Likewise.
29810 (__argz_add): Likewise.
29811 (__argz_add_sep): Likewise.
29812 (__argz_delete): Likewise.
29813 (__argz_insert): Likewise.
29814 (__argz_replace): Likewise.
29815 * string/argz.h (__argz_create_sep): Removed.
29816 (__argz_append): Likewise.
29817 (__argz_add): Likewise.
29818 (__argz_add_sep): Likewise.
29819 (__argz_delete): Likewise.
29820 (__argz_insert): Likewise.
29821 (__argz_replace): Likewise.
29823 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29825 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
29826 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
29827 (GNU_PROPERTY_STACK_SIZE): Likewie.
29828 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
29829 (GNU_PROPERTY_LOPROC): Likewise.
29830 (GNU_PROPERTY_HIPROC): Likewise.
29831 (GNU_PROPERTY_LOUSER): Likewise.
29832 (GNU_PROPERTY_HIUSER): Likewise.
29833 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
29834 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
29835 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
29836 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
29837 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
29838 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
29839 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
29840 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
29841 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
29842 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
29843 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
29844 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
29845 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
29846 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
29847 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
29848 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
29849 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
29850 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
29851 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
29852 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
29853 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
29854 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
29855 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
29857 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29859 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
29862 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29865 * math/math.h (isinf): Check if in C or C++ mode before using
29866 __builtin_types_compatible_p, since this is a C mode feature.
29868 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29870 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
29871 (__write_nocancel): New macro.
29872 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
29873 Rewrite as a function prototype.
29874 (write_not_cancel): Remove macro.
29875 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
29876 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
29877 (write_gmon): Likewise.
29878 * libio/fileops.c (_IO_new_file_write): Likewise.
29879 * login/utmp_file.c (pututline_file): Likewise.
29880 (updwtmp_file): Likewise.
29881 * stdio-common/psiginfo.c (psiginfo): Likewise.
29882 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29883 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29884 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29886 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29889 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
29890 (__read_nocancel): New macro.
29891 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29893 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
29895 (__read_nocancel): New prototype.
29896 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
29897 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
29898 with __read_nocancel.
29899 * intl/loadmsgcat.c (read): Likewise.
29900 * libio/fileops.c (_IO_file_read): Likewise.
29901 * locale/loadlocale.c (_nl_load_locale): Likewise.
29902 * login/utmp_file.c (getutent_r_file): Likewise.
29903 (internal_getut_r): Likewise.
29904 (getutline_r_file): Likewise.
29905 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29906 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29907 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29908 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29910 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
29911 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29912 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29914 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29916 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29918 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29920 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29922 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29925 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
29926 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
29929 2017-08-17 DJ Delorie <dj@redhat.com>
29931 * bug17079.c: Update to new test harness.
29932 * test-digits-dots.c: Likewise.
29933 * test-netdb.c: Likewise.
29934 * tst-field.c: Likewise.
29935 * tst-nss-getpwent.c: Likewise.
29936 * tst-nss-static.c: Likewise.
29937 * tst-nss-test1.c: Likewise.
29938 * tst-nss-test2.c: Likewise.
29939 * tst-nss-test3.c: Likewise.
29940 * tst-nss-test4.c: Likewise.
29941 * tst-nss-test5.c: Likewise.
29943 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29945 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
29946 (open_not_cancel_2): Likewise.
29947 (open_nocancel): New macro.
29948 (open64_nocancel): Likewise.
29949 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
29950 (open_not_cancel_2): Likewise.
29951 (__open_nocancel): New prototype.
29952 (__open64_nocancel): Likewise.
29953 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29955 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
29956 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
29957 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
29958 with __open_nocancel.
29959 * csu/check_fds.c (check_one_fd): Likewise.
29960 * gmon/gmon.c (write_gmon): Likewise.
29961 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
29962 * intl/loadmsgcat.c (open): Likewise.
29963 * libio/fileops.c (_IO_file_open): Likewise.
29964 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29965 * locale/loadlocale.c (_nl_load_locale): Likewise.
29966 * login/utmp_file.c (setutent_file): Likewise.
29967 * misc/daemon.c (daemon): Likewise.
29968 * nss/nss_db/db-open.c (internal_setent): Likewise.
29969 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29970 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
29971 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29972 (__opendir): Likewise.
29973 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29974 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29975 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29976 (gethostid): Likewise.
29977 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29978 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29981 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
29982 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29983 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29985 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29987 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29989 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29991 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29993 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29995 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29996 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29998 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30000 * benchtests/bench-skeleton.c (main): Add support for
30001 latency benchmarking.
30002 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30004 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30006 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30007 the startup object.
30009 2017-08-17 Florian Weimer <fweimer@redhat.com>
30011 * include/sys/socket.h (__opensock): Remove internal_function.
30012 * socket/opensock.c (__opensock): Likewise.
30013 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30015 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30018 * signal/bits/types/__sigval_t.h: New file.
30019 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30020 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30021 and define sigval_t using __sigval_t.
30022 * include/bits/types/__sigval_t.h: New file.
30023 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30024 instead of <bits/types/__sigval_t.h>.
30025 (struct sigevent): Use __sigval_t instead of sigval_t.
30026 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30027 instead of <bits/types/__sigval_t.h>.
30028 (siginfo_t): Use __sigval_t instead of sigval_t.
30029 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30030 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30031 (struct sigevent): Use __sigval_t instead of sigval_t.
30032 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30033 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30034 (siginfo_t): Use __sigval_t instead of sigval_t.
30035 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30037 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30039 * NEWS: Remove "[Add new features here]" for 2.27.
30041 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30043 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30046 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30048 * NEWS: Mention x86-64 FMA optimization.
30050 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30053 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30055 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30056 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30057 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30059 2017-08-16 Andreas Schwab <schwab@suse.de>
30063 * elf/ldd.bash.in: Never run file directly.
30065 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30068 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30069 (L(SP_INF_0)): Likewise.
30071 2017-08-15 Florian Weimer <fweimer@redhat.com>
30073 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30076 2017-08-15 Florian Weimer <fweimer@redhat.com>
30078 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30079 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30080 BROKEN_THREAD_SIGNALS code.
30081 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30082 request_list): Remove caller_pid member used for
30083 BROKEN_THREAD_SIGNALS.
30084 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30085 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30086 Remove BROKEN_THREAD_SIGNALS support.
30087 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30088 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30090 2017-08-15 Florian Weimer <fweimer@redhat.com>
30092 * gmon/Makefile (tests): Add tst-gmon.
30093 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30095 (tests-special): Add tst-gmon-prof.out.
30096 (tst-gmon.out): Depend on clean-tst-gmon-data.
30097 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30098 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30099 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30101 * aclocal.m4 (GPROF): Set and substitute.
30102 * config.amke.in (GPROF): Set.
30103 * configure: Regenerate.
30105 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30107 * elf/elf.h A (NT_PPC_TAR): New macro.
30108 (NT_PPC_PPR): Likewise.
30109 (NT_PPC_DSCR): Likewise.
30110 (NT_PPC_EBB): Likewise.
30111 (NT_PPC_PMU): Likewise.
30112 (NT_PPC_TM_CGPR): Likewise.
30113 (NT_PPC_TM_CFPR): Likewise.
30114 (NT_PPC_TM_CVMX): Likewise.
30115 (NT_PPC_TM_CVSX): Likewise.
30116 (NT_PPC_TM_SPR): Likewise.
30117 (NT_PPC_TM_CTAR): Likewise.
30118 (NT_PPC_TM_CPPR): Likewise.
30119 (NT_PPC_TM_CDSCR): Likewise.
30121 2017-08-15 Florian Weimer <fweimer@redhat.com>
30123 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30124 regparm (2) instead of internal_function.
30125 (_MCOUNT_DECL): Adjust.
30127 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30129 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30130 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30132 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30134 * conform/data/sys/wait.h-data (si_value): Do not expect for
30137 2017-08-14 Florian Weimer <fweimer@redhat.com>
30140 NSS: Create stubs for accidentally exported lookup functions.
30141 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30142 Remove declaration.
30143 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30144 (ether_hostton): Call __nss_ethers_lookup2 instead.
30145 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30146 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30147 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30148 (setup): Call __nss_netgroup_lookup2 instead.
30149 * nss/Makefile (routines): Add compat-lookup.
30150 * nss/Versions (GLIBC_2.27): Add symbol version.
30151 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30152 (DB_COMPAT_FCT): Remove.
30153 * nss/compat-lookup.c: New file.
30154 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30155 from databases.def.
30156 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30157 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30158 (netname2user): Call __nss_publickey_lookup2 instead.
30159 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30160 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30163 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30164 Sergei Trofimovich <slyfox@inbox.ru>
30167 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30168 Rename to MMAP2_PAGE_UNIT.
30169 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30170 __OFF_T_MATCHES_OFF64_T is not defined.
30171 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30173 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30174 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30176 2017-08-14 Florian Weimer <fweimer@redhat.com>
30178 i386: Do not set internal_function.
30179 * config.h.in (USE_REGPARMS, internal_function): Remove.
30180 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30181 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30183 2017-08-14 Florian Weimer <fweimer@redhat.com>
30185 * elf/dl-init.c (_dl_init): Remove internal_function.
30186 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30187 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30189 2017-08-14 Florian Weimer <fweimer@redhat.com>
30191 * elf/rtld.c (_dl_start): Remove internal_function.
30192 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30195 2017-08-14 Florian Weimer <fweimer@redhat.com>
30197 * elf/dl-fini.c (_dl_fini): Remove internal_function
30198 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30200 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30202 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30203 (bit_cpu_SHSTK): Likewise.
30204 (index_cpu_IBT): Likewise.
30205 (index_cpu_SHSTK): Likewise.
30206 (reg_IBT): Likewise.
30207 (reg_SHSTK): Likewise.
30208 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30209 Handle index_cpu_IBT and index_cpu_SHSTK.
30211 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30214 * po/fr.po: Fix spelling mistake.
30216 2017-08-13 Florian Weimer <fweimer@redhat.com>
30218 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30219 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30220 (_dl_catch_error, _dl_receive_error): Likewise.
30221 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30222 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30223 (_dl_deallocate_tls): Likewise.
30224 * include/dlfcn.h (_dl_addr): Likewise.
30225 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30226 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30227 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30230 2017-08-13 Florian Weimer <fweimer@redhat.com>
30232 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30233 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30235 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30237 2017-08-13 Florian Weimer <fweimer@redhat.com>
30239 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30241 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30242 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30243 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30244 internal_function from _dl_make_stack_executable_hook member.
30245 (_dl_make_stack_executable): Remove internal_function.
30246 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30248 * sysdeps/unix/sysv/linux/dl-execstack.c
30249 (_dl_make_stack_executable): Likewise.
30251 2017-08-13 Florian Weimer <fweimer@redhat.com>
30253 * sysdeps/unix/sysv/linux/netlinkaccess.h
30254 (__netlink_assert_response): Remove internal_function.
30255 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30256 (__netlink_assert_response): Likewise.
30258 2017-08-13 Florian Weimer <fweimer@redhat.com>
30260 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30262 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30264 2017-08-13 Florian Weimer <fweimer@redhat.com>
30266 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30268 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30269 * inet/netgroup.h (__internal_setnetgrent)
30270 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30271 * inet/getnetgrent_r.c (__internal_setnetgrent)
30272 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30273 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30274 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30275 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30276 * nss/nsswitch.h (db_lookup_function): Likewise.
30278 2017-08-13 Florian Weimer <fweimer@redhat.com>
30280 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30281 Remove internal_function.
30282 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30283 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30284 message argument on the stack.
30285 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30288 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30290 Adapt test case data to the changes in the thousands
30294 * localedata/tst-langinfo.sh: Adapt test case data.
30295 * stdlib/tst-strfmon_l.c: Likewise.
30296 * stdlib/tst-strtod4.c: Likewise.
30297 * stdlib/tst-strtod5i.c: Likewise.
30299 2017-08-11 Florian Weimer <fweimer@redhat.com>
30302 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30303 Suppress pedantic warning resulting from statement expression.
30304 (__ASSERT_FUNCTION): Add missing __extension__.
30306 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30308 * benchtests/bench-memmove-large.c: Print output in JSON
30310 * benchtests/bench-memmove.c: Likewise.
30312 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30313 * benchtests/bench-memchr.c (do_one_test): Likewise.
30314 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30315 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30316 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30317 * benchtests/bench-memmove.c (do_one_test): Likewise.
30318 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30319 * benchtests/bench-memset.c (do_one_test): Likewise.
30320 * benchtests/bench-string.h (test_init): Remove memsets.
30322 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30325 (Computing the Width of an Integer Data Type): Rename section to
30326 "Width of an Integer Type". Remove inaccurate statement regarding
30327 lack of C language facilities for determining width of integer
30328 types, and reorder content to improve flow and context of
30331 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30333 * lang.texi (va_copy): Change standard from ISO to C99.
30334 (__va_copy): Add standard and header annotation.
30335 Update description for clarity of origins and current use.
30337 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30340 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30341 xssqrtqp requires operands to be in Vector Registers
30342 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30343 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30344 (__ieee754_sqrtf128): Likewise.
30346 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30348 * sysdeps/aarch64/memcmp.S (memcmp):
30349 Rewrite of optimized memcmp.
30351 2017-08-10 Florian Weimer <fweimer@redhat.com>
30353 Introduce ld.so exceptions.
30354 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30355 (_dl_exception_create, _dl_exception_create_format)
30356 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30357 (_dl_catch_exception): Declare.
30358 (_dl_catch_error): Update comment.
30359 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30360 errstring, malloced members with exception member.
30361 (_dl_out_of_memory): Remove.
30362 (fatal_error): New function, extracted from _dl_signal_error.
30363 (_dl_signal_exception, _dl_signal_cexception): New functions.
30364 (_dl_signal_error): Call _dl_exception_create to allocate an
30366 (_dl_catch_exception): New function, based on _dl_catch_error.
30367 (_dl_catch_error): Implement using _dl_catch_exception.
30368 * elf/dl-exception.c: New file.
30369 * elf/Makefile (dl-routines): Add dl-exception.
30370 (elide-routines.os): Likewise.
30371 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30372 _dl_exception_create_format, _dl_exception_free.
30373 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30374 _dl_signal_exception.
30375 * elf/dl-lookup.c (make_string): Remove.
30376 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30377 _dl_signal_cexception, _dl_exception_free.
30378 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30379 _dl_signal_exception.
30380 * elf/dl-sym.c (do_sym): Likewise.
30381 * elf/dl-version.c (make_string): Remove.
30382 (match_symbol): Use _dl_exception_create_format,
30383 _dl_signal_cexception, _dl_exception_free.
30384 (_dl_check_map_versions): Likewise.
30385 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30386 _dl_catch_exception.
30387 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30388 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30389 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30390 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30391 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30392 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30393 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30394 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30396 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30403 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30404 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30405 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30407 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30409 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30411 2017-08-10 Florian Weimer <fweimer@redhat.com>
30413 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30414 attribute_hidden, internal_function.
30415 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30418 2017-08-10 Florian Weimer <fweimer@redhat.com>
30420 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30421 function which calls __builtin_unreachable.
30423 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30425 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30426 Indian monetary formatting
30427 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30430 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30432 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30433 Fix typo in comment.
30436 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30437 PTRACE_SEIZE_DEVEL): Remove.
30438 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30439 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30440 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30441 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30442 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30444 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30446 * posix/bits/types.h (__qaddr_t): Remove.
30449 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30450 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30452 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30453 (ucontext_t): Use __ctx with uc_flags.
30454 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30455 (__ctxt): Likewise.
30456 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30458 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30459 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30461 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30462 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30464 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30466 (ucontext_t): Use __ctx with uc_flags.
30467 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30468 (ucontext_t): Use __ctx with uc_flags.
30469 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30470 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30471 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30472 (ucontext_t): Use __ctx with uc_flags.
30473 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30474 undefine further down.
30475 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30477 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30478 undefine further down.
30479 (ucontext_t): Use __ctx with uc_flags.
30480 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30481 undefine further down.
30482 (ucontext_t): Use __ctx with uc_flags.
30483 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30484 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30485 Rename uc_pad to __glibc_reserved1.
30486 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30487 undefine further down.
30488 (ucontext_t): Use __ctx with uc_flags.
30489 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30491 (ucontext_t): Use __ctx with uc_flags.
30492 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30493 __ctx with uc_flags.
30494 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30495 (ucontext_t): Use __ctx with uc_flags.
30496 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30497 __ctx with uc_flags.
30499 2017-08-09 Florian Weimer <fweimer@redhat.com>
30502 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30503 before early return.
30505 2017-08-09 Andreas Schwab <schwab@suse.de>
30508 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30512 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30513 tst-compat-forwarder.
30514 (modules-names): Add tst-compat-forwarder-mod.
30515 ($(objpfx)tst-compat-forwarder): Depend on
30516 $(objpfx)tst-compat-forwarder-mod.so.
30517 * nptl/tst-compat-forwarder.c: New file.
30518 * nptl/tst-compat-forwarder-mod.c: New file.
30520 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30522 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30525 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30526 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30528 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30530 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30531 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30532 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30533 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30535 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30538 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30541 * manual/setjmp.texi (getcontex): Document uc_stack value
30542 compatibility differences.
30544 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30546 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30547 (old_malloc_hook): Likewise.
30548 (old_memalign_hook): Likewise.
30549 (old_realloc_hook): Likewise.
30550 (struct hdr): Likewise.
30552 (freehook): Likewise.
30553 (mallochook): Likewise.
30554 (memalignhook): Likewise.
30555 (reallochook): Likewise.
30556 (mprobe): Likewise.
30557 * malloc/mtrace.c (mallwatch): Likewise.
30558 (tr_old_free_hook): Likewise.
30559 (tr_old_malloc_hook): Likewise.
30560 (tr_old_realloc_hook): Likewise.
30561 (tr_old_memalign_hook): Likewise.
30562 (tr_where): Likewise.
30563 (lock_and_info): Likewise.
30564 (tr_freehook): Likewise.
30565 (tr_mallochook): Likewise.
30566 (tr_reallochook): Likewise.
30567 (tr_memalignhook): Likewise.
30568 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30569 * misc/mmap.c (__mmap): Likewise.
30570 * misc/mmap64.c (__mmap64): Likewise.
30571 * misc/mprotect.c (__mprotect): Likewise.
30572 * misc/msync.c (msync): Likewise.
30573 * misc/munmap.c (__munmap): Likewise.
30574 * posix/posix_madvise.c (posix_madvise): Likewise.
30575 * socket/send.c (__send): Likewise.
30576 * socket/sendto.c (__sendto): Likewise.
30577 * socket/setsockopt.c (__setsockopt): Likewise.
30578 * string/memcmp.c (__ptr_t): Remove macro.
30579 (MEMCMP): Use void * instead of ptr_t.
30580 * string/memrchr.c (__ptr_t): Remove macro.
30581 (__memrchr): Use void * instead of ptr_t.
30582 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30583 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30584 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30585 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30586 * sysdeps/mach/msync.c (msync): Likewise.
30587 * sysdeps/mach/munmap.c (__munmap): Likewise.
30588 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30590 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30591 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30592 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30593 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30594 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30595 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30596 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30597 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30599 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30600 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30601 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30602 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30603 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30604 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30605 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30606 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30607 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30609 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30610 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30611 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30612 (MEMCMP): Use void * instead of ptr_t.
30613 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30614 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30616 2017-08-08 Florian Weimer <fweimer@redhat.com>
30618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30621 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30624 * csu/libc-tls.c: Include <startup.h> first.
30625 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30626 * elf/dl-tunables.c: Include <startup.h> first.
30627 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30628 * sysdeps/generic/startup.h: New file.
30629 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30630 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30631 (I386_USE_SYSENTER): New. Defined to 0.
30633 2017-08-08 Andreas Schwab <schwab@suse.de>
30636 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30637 * nptl/pt-system.c (system): Likewise.
30639 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30642 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30644 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30645 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30646 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30647 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30648 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30649 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30650 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30652 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30655 * bits/sigaction.h (struct sigaction): Define sa_handler and
30656 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30657 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30658 [__USE_XOPEN_EXTENDED].
30659 (SA_RESTART): Likewise.
30660 (SA_NODEFER): Likewise.
30661 (SA_RESETHAND): Likewise.
30662 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30663 (struct sigaction): Define sa_handler and sa_sigaction using union
30664 also for [__USE_XOPEN_EXTENDED].
30665 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30666 [__USE_XOPEN_EXTENDED].
30667 (SA_RESTART): Likewise.
30668 (SA_NODEFER): Likewise.
30669 (SA_RESETHAND): Likewise.
30670 * sysdeps/unix/sysv/linux/bits/sigaction.h
30671 (struct sigaction): Define sa_handler and sa_sigaction using union
30672 also for [__USE_XOPEN_EXTENDED].
30673 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30674 [__USE_XOPEN_EXTENDED].
30675 (SA_RESTART): Likewise.
30676 (SA_NODEFER): Likewise.
30677 (SA_RESETHAND): Likewise.
30678 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30679 (struct sigaction): Define sa_handler and sa_sigaction using union
30680 also for [__USE_XOPEN_EXTENDED].
30681 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30682 [__USE_XOPEN_EXTENDED].
30683 (SA_RESTART): Likewise.
30684 (SA_NODEFER): Likewise.
30685 (SA_RESETHAND): Likewise.
30686 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30687 (struct sigaction): Define sa_handler and sa_sigaction using union
30688 also for [__USE_XOPEN_EXTENDED].
30689 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30690 [__USE_XOPEN_EXTENDED].
30691 (SA_RESTART): Likewise.
30692 (SA_NODEFER): Likewise.
30693 (SA_RESETHAND): Likewise.
30694 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30695 (struct sigaction): Define sa_handler and sa_sigaction using union
30696 also for [__USE_XOPEN_EXTENDED].
30697 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30698 [__USE_XOPEN_EXTENDED].
30699 (SA_RESTART): Likewise.
30700 (SA_NODEFER): Likewise.
30701 (SA_RESETHAND): Likewise.
30702 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30703 (struct sigaction): Define sa_handler and sa_sigaction using union
30704 also for [__USE_XOPEN_EXTENDED].
30705 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30706 [__USE_XOPEN_EXTENDED].
30707 (SA_RESTART): Likewise.
30708 (SA_NODEFER): Likewise.
30709 (SA_RESETHAND): Likewise.
30710 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30711 (struct sigaction): Define sa_handler and sa_sigaction using union
30712 also for [__USE_XOPEN_EXTENDED].
30713 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30714 [__USE_XOPEN_EXTENDED].
30715 (SA_RESTART): Likewise.
30716 (SA_NODEFER): Likewise. Define directly rather than as alias.
30717 (SA_RESETHAND): Likewise.
30718 (SA_INTERRUPT): Define only for [__USE_MISC].
30719 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30720 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30722 (SA_STACK): Define only for [__USE_MISC].
30723 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30724 (struct sigaction): Define sa_handler and sa_sigaction using union
30725 also for [__USE_XOPEN_EXTENDED].
30726 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30727 [__USE_XOPEN_EXTENDED].
30728 (SA_RESTART): Likewise.
30729 (SA_NODEFER): Likewise.
30730 (SA_RESETHAND): Likewise.
30731 (SA_NOPTRACE): Define only for [__USE_MISC].
30733 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30734 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30735 (struct catalog_info): Likewise.
30736 * inet/htontest.c (lo): Likewise.
30738 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30739 * inet/inet_net.c (inet_network): Likewise.
30740 * inet/inet_netof.c (inet_netof): Likewise.
30741 * inet/rcmd.c (__ivaliduser): Likewise.
30742 (iruserok): Likewise.
30743 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30744 * locale/programs/locale-spec.c (locale_special): Likewise.
30745 * nis/nis_findserv.c (struct findserv_req): Likewise.
30746 (__nis_findfastest_with_timeout): Likewise.
30747 * nss/test-netdb.c (test_network): Likewise.
30748 * resolv/inet_neta.c (inet_neta): Likewise.
30749 * resolv/ns_date.c (ns_datetosecs): Likewise.
30750 (SECS_PER_DAY): Likewise.
30751 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30753 * resolv/res_comp.c (__putlong): Likewise.
30754 (__putshort): Likewise.
30755 (_getlong): Likewise.
30756 (_getshort): Likewise.
30757 * resolv/res_debug.c (p_time): Likewise.
30758 (precsize_ntoa): Likewise.
30759 (precsize_aton): Likewise.
30760 (latlon2ul): Likewise.
30761 (loc_aton): Likewise.
30762 (loc_ntoa): Likewise.
30763 * resolv/res_hconf.c (struct netaddr): Likewise.
30764 (_res_hconf_reorder_addrs): Likewise.
30765 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30766 (clnttcp_control): Likewise.
30767 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30768 (clntudp_control): Likewise.
30769 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30770 (clntunix_control): Likewise.
30771 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30772 * sunrpc/rpc/auth.h (union des_block): Likewise.
30773 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30774 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30775 (xdrrec_create): Likewise.
30776 (xdrrec_endofrecord): Likewise.
30777 (flush_out): Likewise.
30778 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30779 (xdrstdio_putlong): Likewise.
30780 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30783 * misc/sys/cdefs.h (__long_double_t): Remove.
30784 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30785 instead of __long_double_t,
30786 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30788 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30790 * benchtests/scripts/compare_strings.py: Avoid display error when
30791 running on a text terminal.
30793 * benchtests/scripts/compare_strings.py (main): Add an
30794 optional -base option.
30795 (process_results): New argument base_func.
30797 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30799 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30800 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30802 2017-08-07 Andreas Schwab <schwab@suse.de>
30804 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30805 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30806 * intl/Makefile ($(objpfx)tst-gettext.out)
30807 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
30808 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
30809 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30810 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30811 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
30812 * posix/Makefile ($(objpfx)globtest.out)
30813 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
30814 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
30815 ($(objpfx)tst-printf.out): Likewise.
30816 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
30817 ($(objpfx)tst-setcontext3.out): Likewise.
30819 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
30821 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30822 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
30823 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
30824 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
30825 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
30827 (CFLAGS-doasin-fma.c): New.
30828 (CFLAGS-dosincos-fma.c): Likewise.
30829 (CFLAGS-e_asin-fma.c): Likewise.
30830 (CFLAGS-e_atan2-fma.c): Likewise.
30831 (CFLAGS-e_exp-fma.c): Likewise.
30832 (CFLAGS-e_log-fma.c): Likewise.
30833 (CFLAGS-e_pow-fma.c): Likewise.
30834 (CFLAGS-halfulp-fma.c): Likewise.
30835 (CFLAGS-mpa-fma.c): Likewise.
30836 (CFLAGS-mpatan-fma.c): Likewise.
30837 (CFLAGS-mpatan2-fma.c): Likewise.
30838 (CFLAGS-mpexp-fma.c): Likewise.
30839 (CFLAGS-mplog-fma.c): Likewise.
30840 (CFLAGS-mpsqrt-fma.c): Likewise.
30841 (CFLAGS-mptan-fma.c): Likewise.
30842 (CFLAGS-s_atan-fma.c): Likewise.
30843 (CFLAGS-sincos32-fma.c): Likewise.
30844 (CFLAGS-slowexp-fma.c): Likewise.
30845 (CFLAGS-slowpow-fma.c): Likewise.
30846 (CFLAGS-s_sin-fma.c): Likewise.
30847 (CFLAGS-s_tan-fma.c): Likewise.
30848 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
30849 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
30850 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
30851 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
30852 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
30853 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
30854 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
30855 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
30856 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
30857 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
30858 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
30859 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
30860 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
30861 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
30862 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
30863 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
30864 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
30865 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
30866 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
30867 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
30868 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
30869 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
30870 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
30871 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
30872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30875 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30876 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30877 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30878 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30880 2017-08-04 Joseph Myers <joseph@codesourcery.com>
30882 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
30883 (min_of_type_f): New macro.
30884 (min_of_type_): Likewise.
30885 (min_of_type_l): Likewise.
30886 (min_of_type_f128): Likewise.
30887 (min_of_type): Define using __MATH_TG and taking an expression
30889 (math_check_force_underflow): Pass expression instead of type to
30891 (math_check_force_underflow_nonneg): Likewise.
30893 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30895 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30896 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
30897 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
30899 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30902 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
30903 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
30904 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
30905 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
30906 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
30907 memcpy_chk-nonshared, mempcpy_chk-nonshared,
30908 memmove_chk-nonshared and memset_chk-nonshared
30909 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
30910 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
30911 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
30912 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
30913 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
30914 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
30915 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
30916 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
30917 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
30918 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
30919 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
30920 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
30921 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
30922 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
30923 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
30924 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
30925 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
30926 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
30927 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
30928 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
30929 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
30930 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
30931 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
30932 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
30933 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
30934 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
30935 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
30936 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
30937 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
30938 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
30939 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
30940 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
30941 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
30942 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30943 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30944 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
30945 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
30946 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
30947 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
30948 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
30949 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
30950 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
30951 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
30952 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
30953 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
30954 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
30955 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
30956 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
30957 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
30958 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
30959 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
30960 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
30961 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
30962 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
30963 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
30964 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
30965 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
30966 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
30967 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
30968 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
30969 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
30970 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
30971 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
30972 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
30973 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
30974 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
30975 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
30976 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
30977 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
30978 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
30979 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
30980 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30981 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30982 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30983 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30984 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30985 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30986 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30987 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30988 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30989 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30990 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30991 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30992 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30993 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30994 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30995 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30996 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30997 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30998 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30999 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31000 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31001 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31002 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31003 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31004 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31005 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31006 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31007 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31008 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31009 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31010 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31011 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31012 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31013 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31014 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31015 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31016 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31018 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31020 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31021 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31022 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31023 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31024 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31025 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31026 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31027 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31028 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31029 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31030 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31031 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31032 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31033 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31034 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31035 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31036 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31037 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31038 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31039 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31040 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31041 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31042 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31043 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31044 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31045 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31046 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31047 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31048 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31049 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31050 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31051 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31052 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31053 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31054 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31055 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31056 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31057 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31058 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31059 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31060 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31061 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31062 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31063 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31064 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31065 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31066 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31067 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31068 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31069 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31070 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31071 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31072 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31073 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31074 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31075 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31076 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31077 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31078 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31080 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31081 Don't include <sysdep.h> nor <init-arch.h>.
31082 (_ZGVbN2v_cos): Removed.
31083 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31085 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31086 Don't include <sysdep.h> nor <init-arch.h>.
31087 (_ZGVdN4v_cos): Removed.
31088 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31090 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31091 Don't include <sysdep.h> nor <init-arch.h>.
31092 (_ZGVeN8v_cos): Removed.
31093 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31095 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31096 Don't include <sysdep.h> nor <init-arch.h>.
31097 (_ZGVbN2v_exp): Removed.
31098 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31100 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31101 Don't include <sysdep.h> nor <init-arch.h>.
31102 (_ZGVdN4v_exp): Removed.
31103 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31105 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31106 Don't include <sysdep.h> nor <init-arch.h>.
31107 (_ZGVeN8v_exp): Removed.
31108 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31110 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31111 Don't include <sysdep.h> nor <init-arch.h>.
31112 (_ZGVbN2v_log): Removed.
31113 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31115 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31116 Don't include <sysdep.h> nor <init-arch.h>.
31117 (_ZGVdN4v_log): Removed.
31118 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31120 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31121 Don't include <sysdep.h> nor <init-arch.h>.
31122 (_ZGVeN8v_log): Removed.
31123 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31125 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31126 Don't include <sysdep.h> nor <init-arch.h>.
31127 (_ZGVbN2vv_pow): Removed.
31128 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31130 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31131 Don't include <sysdep.h> nor <init-arch.h>.
31132 (_ZGVdN4vv_pow): Removed.
31133 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31135 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31136 Don't include <sysdep.h> nor <init-arch.h>.
31137 (_ZGVeN8vv_pow): Removed.
31138 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31140 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31141 Don't include <sysdep.h> nor <init-arch.h>.
31142 (_ZGVbN2v_sin): Removed.
31143 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31145 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31146 Don't include <sysdep.h> nor <init-arch.h>.
31147 (_ZGVbN4v_sin): Removed.
31148 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31150 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31151 Don't include <sysdep.h> nor <init-arch.h>.
31152 (_ZGVbN8v_sin): Removed.
31153 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31155 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31156 Don't include <sysdep.h> nor <init-arch.h>.
31157 (_ZGVbN2vvv_sincos): Removed.
31158 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31160 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31161 Don't include <sysdep.h> nor <init-arch.h>.
31162 (_ZGVdN4vvv_sincos): Removed.
31163 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31165 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31166 Don't include <sysdep.h> nor <init-arch.h>.
31167 (_ZGVeN8vvv_sincos): Removed.
31168 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31170 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31171 Don't include <sysdep.h> nor <init-arch.h>.
31172 (_ZGVeN16v_cosf): Removed.
31173 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31175 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31176 Don't include <sysdep.h> nor <init-arch.h>.
31177 (_ZGVbN4v_cosf): Removed.
31178 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31180 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31181 Don't include <sysdep.h> nor <init-arch.h>.
31182 (_ZGVdN8v_cosf): Removed.
31183 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31185 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31186 Don't include <sysdep.h> nor <init-arch.h>.
31187 (_ZGVeN16v_expf): Removed.
31188 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31190 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31191 Don't include <sysdep.h> nor <init-arch.h>.
31192 (_ZGVbN4v_expf): Removed.
31193 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31195 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31196 Don't include <sysdep.h> nor <init-arch.h>.
31197 (_ZGVdN8v_expf): Removed.
31198 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31200 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31201 Don't include <sysdep.h> nor <init-arch.h>.
31202 (_ZGVeN16v_logf): Removed.
31203 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31205 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31206 Don't include <sysdep.h> nor <init-arch.h>.
31207 (_ZGVbN4v_logf): Removed.
31208 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31210 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31211 Don't include <sysdep.h> nor <init-arch.h>.
31212 (_ZGVdN8v_logf): Removed.
31213 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31215 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31216 Don't include <sysdep.h> nor <init-arch.h>.
31217 (_ZGVeN16vv_powf): Removed.
31218 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31220 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31221 Don't include <sysdep.h> nor <init-arch.h>.
31222 (_ZGVbN4vv_powf): Removed.
31223 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31225 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31226 Don't include <sysdep.h> nor <init-arch.h>.
31227 (_ZGVdN8vv_powf): Removed.
31228 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31230 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31231 Don't include <sysdep.h> nor <init-arch.h>.
31232 (_ZGVeN16vvv_sincosf): Removed.
31233 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31235 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31236 Don't include <sysdep.h> nor <init-arch.h>.
31237 (_ZGVbN4vvv_sincosf): Removed.
31238 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31240 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31241 Don't include <sysdep.h> nor <init-arch.h>.
31242 (_ZGVdN8vvv_sincosf): Removed.
31243 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31245 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31246 Don't include <sysdep.h> nor <init-arch.h>.
31247 (_ZGVeN16v_sinf): Removed.
31248 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31250 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31251 Don't include <sysdep.h> nor <init-arch.h>.
31252 (_ZGVbN4v_sinf): Removed.
31253 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31255 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31256 Don't include <sysdep.h> nor <init-arch.h>.
31257 (_ZGVdN8v_sinf): Removed.
31259 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31261 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31262 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31263 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31264 s_rint-sse4_1 and s_rintf-sse4_1.
31265 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31266 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31267 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31268 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31269 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31270 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31271 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31272 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31273 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31274 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31275 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31276 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31278 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31279 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31280 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31281 (__ceilf): Removed.
31282 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31283 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31284 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31285 (__floor): Removed.
31286 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31287 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31288 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31289 (__floorf): Removed.
31290 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31291 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31292 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31293 (__nearbyint): Removed.
31294 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31295 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31296 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31297 (__nearbyintf): Removed.
31298 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31299 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31300 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31302 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31303 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31304 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31305 (__rintf): Removed.
31307 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31309 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31310 SHARED. Avoid dynamic relocation against main in static PIE.
31312 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31315 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31316 (LDFLAGS-tst-prelink): Likewise.
31318 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31320 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31321 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31322 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31323 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31324 (INTERNAL_SYSCALL_NCS): Likewise.
31325 (LOADARGS_1): Likewise.
31326 (LOADARGS_5): Likewise.
31327 (RESTOREARGS_1): Likewise.
31328 (RESTOREARGS_5): Likewise.
31330 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31332 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31333 (MEMPCPY_SYMBOL): Likewise.
31334 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31335 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31336 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31338 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31339 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31341 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31342 (__hidden_ver1): Don't use in libc.a.
31343 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31344 (__mempcpy): Don't create a weak alias in libc.a.
31345 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31347 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31348 (__hidden_ver1): Don't use in libc.a.
31350 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31352 * config.make.in (have-insert): New.
31353 * configure.ac (libc_cv_insert): New. Set to yes if linker
31354 supports INSERT in linker script.
31355 (AC_SUBST(libc_cv_insert): New.
31356 * configure: Regenerated.
31357 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31358 if $(have-insert) == yes.
31360 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31362 * elf/Makefile (tests): Add vismain only if
31363 $(have-protected-data) == yes.
31364 (tests-pie): Likewise.
31366 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31369 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31370 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31372 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31375 * sysdeps/i386/i586/memset.S
31376 (__memset_zero_constant_len_parameter): Removed.
31377 * sysdeps/i386/i686/memset.S
31378 (__memset_zero_constant_len_parameter): Likewise.
31379 * sysdeps/i386/i686/multiarch/memset_chk.S
31380 (__memset_zero_constant_len_parameter): Likewise.
31381 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31384 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31386 * stdlib/getentropy.c (getentropy): Change return type to int.
31388 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31390 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31392 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31394 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31396 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31397 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31399 (ieee_float_shape_type): Likewise.
31400 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31401 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31402 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31403 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31404 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31405 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31406 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31407 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31408 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31410 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31411 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31412 (__ieee754_yn): Likewise.
31413 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31414 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31415 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31417 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31418 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31419 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31420 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31421 (__erfc): Likewise.
31422 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31423 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31424 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31425 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31426 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31427 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31429 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31430 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31431 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31432 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31433 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31434 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31435 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31436 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31437 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31438 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31439 (__issignaling): Likewise.
31440 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31441 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31442 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31444 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31445 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31446 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31447 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31449 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31451 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31452 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31453 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31454 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31455 (__erfcf): Likewise.
31456 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31457 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31458 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31459 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31461 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31462 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31464 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31465 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31466 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31467 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31468 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31469 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31470 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31471 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31473 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31475 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31477 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31478 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31480 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31482 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31483 (__ieee754_ynl): Likewise.
31484 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31485 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31487 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31489 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31490 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31491 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31493 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31494 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31495 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31496 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31497 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31498 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31499 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31500 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31502 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31503 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31504 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31506 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31507 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31508 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31509 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31510 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31511 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31513 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31515 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31519 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31520 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31521 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31522 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31523 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31524 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31525 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31527 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31529 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31530 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31532 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31533 (__ieee754_remainderl): Likewise.
31534 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31535 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31536 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31537 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31539 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31540 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31542 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31543 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31544 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31545 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31546 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31547 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31549 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31550 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31551 (__ieee754_y0l): Likewise.
31554 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31555 (__ieee754_y1l): Likewise.
31558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31559 (__ieee754_ynl): Likewise.
31560 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31561 (__ieee754_lgammal_r): Likewise.
31562 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31564 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31565 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31566 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31567 (__erfcl): Likewise.
31568 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31569 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31571 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31572 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31573 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31574 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31575 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31576 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31577 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31579 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31580 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31581 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31582 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31583 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31585 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31586 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31588 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31589 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31590 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31591 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31592 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31594 2017-08-03 Florian Weimer <fweimer@redhat.com>
31597 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31598 on memory allocation failure.
31600 2017-08-03 Alan Modra <amodra@gmail.com>
31602 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31603 tst-tlsopt-powerpc.c with function name change and no test harness.
31604 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31605 Call tls_get_addr_opt_test.
31606 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31607 (modules-names): Add mod-tlsopt-powerpc.
31608 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31609 (tst-tlsopt-powerpc): Depend on .so.
31610 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31611 define. Expand use in TLS_GD and TLS_LD.
31613 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31615 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31617 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31619 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31622 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31623 comparing size with that of double.
31624 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31625 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31626 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31627 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31628 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31629 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31630 unsigned __int128 types.
31632 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31634 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31635 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31636 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31637 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31638 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31640 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31642 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31644 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31646 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31648 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31649 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31650 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31651 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31652 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31653 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31654 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31656 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31659 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31660 bit-field expressions passed to sizeof or typeof.
31661 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31662 (__TGMATH_F128): Likewise.
31663 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31664 (__TGMATH_CF128): Likewise.
31665 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31666 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31667 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31668 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31669 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31670 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31671 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31672 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31673 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31674 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31675 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31676 (__TGMATH_UNARY_IMAG): Likewise.
31677 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31678 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31679 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31681 (define_vars_for_type): Handle bit_field type specially.
31682 (Tests.__init__): Declare structure with bit-field element.
31684 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31687 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31688 (MEMCPY_CHK): Define only if SHARED is defined.
31689 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31691 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31694 See ChangeLog.18 for earlier changes.