1 2019-02-01 Florian Weimer <fweimer@redhat.com>
3 * support/support_format_address_family.c
4 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6 2019-02-01 Florian Weimer <fweimer@redhat.com>
8 * manual/socket.texi (Internet Address Formats): Clarify the byte
9 order of struct sockaddr_in, struct sockaddr_in6. Document
10 sin6_flowinfo and sin6_scope_id.
12 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
14 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
15 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
16 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
17 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
18 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
19 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
21 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
23 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
24 [!MEMCHR](MEMCHR): Set to __memchr.
25 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
26 Add memchr_generic and memchr_nosimd.
27 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28 (__libc_ifunc_impl_list): Add memchr ifuncs.
29 * sysdeps/aarch64/multiarch/memchr.c: New file.
30 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
31 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
33 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
35 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
37 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
38 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
39 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
40 Add IS_EMAG check for ifunc dispatch.
41 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
42 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
44 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
46 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
47 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
49 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
52 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
54 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
56 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
58 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
59 syscall-template file.
61 2019-01-31 Carlos O'Donell <carlos@redhat.com>
62 Torvald Riegel <triegel@redhat.com>
63 Rik Prohaska <prohaska7@gmail.com>
66 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
67 tst-rwlock-trywrlock-stall.
68 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
69 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
70 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
71 Set __wrphase_fute to 1 only if we started the write phase.
72 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
73 * nptl/tst-rwlock-trywrlock-stall.c: New file.
74 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
75 * support/xpthread_rwlock_destroy.c: New file.
76 * support/xthread.h: Declare xpthread_rwlock_destroy.
78 2019-02-01 Joseph Myers <joseph@codesourcery.com>
80 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
83 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
86 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
87 * libio/fileops.c (_IO_new_file_underflow): Likewise
88 * libio/wfileops.c (_IO_wfile_underflow): Likewise
89 * libio/putchar.c (putchar): Likewise.
90 * libio/putchar_u.c (putchar_unlocked): Likewise.
91 * libio/putwchar.c (putchar): Likewise.
92 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
93 * libio/tst-bz24051.c: New test.
94 * libio/Makefile (tests): Add tst-bz24051
96 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
98 regex: fix read overrun [BZ #24114]
99 Problem found by AddressSanitizer, reported by Hongxu Chen in:
100 https://debbugs.gnu.org/34140
101 * posix/regexec.c (proceed_next_node):
102 Do not read past end of input buffer.
104 2019-01-31 Florian Weimer <fweimer@redhat.com>
107 * nss/nss_files/files-alias.c (get_next_alias): Handle
108 continuation line without newline at the end.
109 * nss/tst-nss-files-alias-truncated.c: New file.
110 * nss/Makefile [$(build-shared)] (tests): Add
111 tst-nss-files-alias-truncated.
112 (tst-nss-files-alias-truncated): Link with libnss_files.so.
113 * support/namespace.h (struct support_chroot_configuration): Add
115 (struct support_chroot): Add path_aliases member.
116 * support/support_chroot.c (support_chroot_create): Handle
118 (support_chroot_free): Free path_aliases.
120 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
122 * version.h (RELEASE): Set to "development".
123 (VERSION): Set to "2.29.9000".
124 * NEWS: Add section for 2.30.
126 * version.h (RELEASE): Set to "stable".
127 (VERSION): Set to "2.29".
128 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
130 * NEWS: Add the list of bugs fixed in 2.29.
131 * manual/contrib.texi: Update contributors list with some more
133 * manual/install.texi: Update latest versions of packages
135 * INSTALL: Regenerated.
137 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
139 * po/be.po: Update translations.
140 * po/bg.po: Likewise.
141 * po/ca.po: Likewise.
142 * po/cs.po: Likewise.
143 * po/da.po: Likewise.
144 * po/de.po: Likewise.
145 * po/el.po: Likewise.
146 * po/eo.po: Likewise.
147 * po/es.po: Likewise.
148 * po/fi.po: Likewise.
149 * po/fr.po: Likewise.
150 * po/gl.po: Likewise.
151 * po/hr.po: Likewise.
152 * po/hu.po: Likewise.
153 * po/ia.po: Likewise.
154 * po/id.po: Likewise.
155 * po/it.po: Likewise.
156 * po/ja.po: Likewise.
157 * po/ko.po: Likewise.
158 * po/lt.po: Likewise.
159 * po/nb.po: Likewise.
160 * po/nl.po: Likewise.
161 * po/pl.po: Likewise.
162 * po/pt_BR.po: Likewise.
163 * po/ru.po: Likewise.
164 * po/rw.po: Likewise.
165 * po/sk.po: Likewise.
166 * po/sl.po: Likewise.
167 * po/sv.po: Likewise.
168 * po/tr.po: Likewise.
169 * po/uk.po: Likewise.
170 * po/vi.po: Likewise.
171 * po/zh_CN.po: Likewise.
172 * po/zh_TW.po: Likewise.
174 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
177 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
178 of $f3 register on $y_is_neg path.
180 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
183 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
184 sigaltstack.ss_flags.
186 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
189 * manual/time.texi (strftime): Document "%Ey".
190 * time/strftime_l.c (__strftime_internal): Set the default width
191 padding with zero of "%Ey" to 2.
194 * manual/time.texi (strftime): Document "%EC" and "%EY".
195 * time/Makefile (tests): Add tst-strftime2.
196 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
197 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
198 override padding for "%Ey".
199 If an optional flag ('_' or '-') is specified to "%EY", interpret the
200 "%Ey" in the subformat as if decorated with that flag.
201 * time/tst-strftime2.c: New file.
203 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
205 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
209 * elf/Makefile (tests): Add tst-audit13.
210 (modules-names): Add tst-audit13mod1.
211 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
213 * elf/rtld.c (dl_main): Handle invalid audit module version.
214 * elf/tst-audit13.c: New file.
215 * elf/tst-audit13mod1.c: Likewise.
217 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
219 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
220 returned by __hurd_at_flags.
221 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
222 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
223 directly instead of __hurd_file_name_lookup.
225 2019-01-21 Joseph Myers <joseph@codesourcery.com>
227 * scripts/build-many-glibcs.py (Context.checkout): Default
228 binutils version to 2.32 branch.
230 2019-01-21 Florian Weimer <fweimer@redhat.com>
234 resolv: Reject trailing characters in host names
235 * include/arpa/inet.h (__inet_aton_exact): Declare.
236 (inet_aton): Remove hidden prototype. No longer used internally.
237 * nscd/gai.c (__inet_aton): Do not define.
238 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
239 * nss/digits_dots.c (__inet_aton): Likewise.
240 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
241 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
242 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
243 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
244 (tst-resolv-trailing): Likewise.
245 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
247 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
248 Make static. Add endp parameter.
249 (__inet_aton_exact): New function.
250 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
251 (__inet_addr): Call inet_aton_end.
252 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
253 not just IPv6. Call __inet_aton_exact.
254 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
255 (tests): Make const. Add additional test cases with trailing
257 (do_test): Use array_length.
258 * resolv/tst-inet_aton_exact.c: New file.
259 * resolv/tst-resolv-trailing.c: Likewise.
260 * resolv/tst-resolv-nondecimal.c: Likewise.
261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
263 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
267 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
268 Clear the upper 32 bits of RSI register.
269 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
270 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
271 and tst-size_t-wcsnlen.
272 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
273 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
275 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
279 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
280 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
281 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
282 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
283 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
285 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
289 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
290 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
291 * sysdeps/x86_64/strcmp.S: Likewise.
292 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
293 tst-size_t-strncmp and tst-size_t-wcsncmp.
294 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
295 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
296 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
298 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
302 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
303 RDX_LP for length. Clear the upper 32 bits of RDX register.
304 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
305 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
306 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
307 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
309 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
313 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
314 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
315 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
316 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
318 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
322 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
323 length. Clear the upper 32 bits of RDX register.
324 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
325 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
327 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
329 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
331 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
333 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
337 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
338 length. Clear the upper 32 bits of RDX register.
339 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
340 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
341 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
343 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
344 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
346 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
350 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
351 upper 32 bits of RDX register.
352 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
353 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
355 * sysdeps/x86_64/x32/test-size_t.h: New file.
356 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
357 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
359 2019-01-18 Florian Weimer <fweimer@redhat.com>
362 resolv: Do not send queries for non-host-names in nss_dns.
363 * resolv/nss_dns/dns-host.c (check_name): New function.
364 (_nss_dns_gethostbyname2_r): Use it.
365 (_nss_dns_gethostbyname_r): Likewise.
366 (_nss_dns_gethostbyname4_r): Likewise.
368 2019-01-21 Florian Weimer <fweimer@redhat.com>
370 * resolv/inet_addr.c: Reformat to GNU style.
371 (__inet_addr, __inet_aton): Update comment.
373 2019-01-18 Florian Weimer <fweimer@redhat.com>
375 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
376 ("malloc: Use current (C11-style) atomics for fastbin access").
377 This commit introduces a substantial performance regression on
379 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
381 (_int_malloc): Use it and reindent.
382 (_int_free): Use CAS loop with
383 catomic_compare_and_exchange_val_rel.
384 (malloc_consolidate): Use atomic_exchange_acq.
387 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
389 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
391 (LDFLAGS-tst-minsigstksz-2): Likewise.
392 (LDFLAGS-tst-minsigstksz-3): Likewise.
393 (LDFLAGS-tst-minsigstksz-3a): Likewise.
394 (LDFLAGS-tst-minsigstksz-4): Likewise.
396 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
398 * manual/time.texi (strftime): Fix the wording to "alternative" rather
401 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
403 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
405 2019-01-16 Zack Weinberg <zackw@panix.com>
407 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
408 (xget_sigstack_location): New test support functions.
409 * support/xsigstack.c: New file, implementing them.
410 * support/tst-xsigstack.c: New test for them.
411 * support/Makefile: Update.
413 * signal/tst-minsigstksz-1.c
414 * signal/tst-minsigstksz-2.c
415 * signal/tst-minsigstksz-3.c
416 * signal/tst-minsigstksz-3a.c
417 * signal/tst-minsigstksz-4.c: New tests.
418 * signal/Makefile: Run them.
420 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
422 * po/libc.pot: Regenerate.
424 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
426 * math/libm-test-fma.inc (fma_test_data): Set
427 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
429 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
431 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
432 (do_test): Changed __vector __int128_t to __vector unsigned int.
434 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
437 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
438 stpcpy-avx2 and stpncpy-avx2.
439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
440 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
441 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
443 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
444 ifunc-strcpy.h}: rename header for a more generic name.
445 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
446 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
447 AVX unaligned load is fast and vzeroupper is preferred.
448 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
449 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
450 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
451 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
452 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
453 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
455 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
457 * argp/argp-help.c: Fix typo in comment.
458 * misc/sys/cdefs.h: Likewise.
459 * posix/regexec.c (sift_states_iter_mb): Likewise.
460 * socket/sockatmark.c: Likewise.
461 * socket/sys/socket.h: Likewise.
462 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
463 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
464 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
466 * sysdeps/unix/sockatmark.c: Likewise.
467 * time/strptime_l.c: Likewise.
469 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
471 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
472 missing space after the cast of "_NL_CURRENT".
474 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
476 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
477 ifdef to fix read of VSCR.
478 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
479 tst-ucontext-ppc64-vscr.c to test list.
480 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
482 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
484 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
487 2019-01-09 Jim Wilson <jimw@sifive.com>
489 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
491 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
493 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
494 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
495 __memcpy_falkor for ares.
496 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
498 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
501 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
504 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
505 4_FP_W_TYPEs are used for IEEE quad precision.
506 * soft-fp/extendhftf2.c: Likewise.
507 * soft-fp/extendsftf2.c: Likewise.
508 * soft-fp/extendxftf2.c: Likewise.
509 * soft-fp/trunctfdf2.c: Likewise.
510 * soft-fp/trunctfhf2.c: Likewise.
511 * soft-fp/trunctfsf2.c: Likewise.
512 * soft-fp/trunctfxf2.c: Likewise.
513 * sysdeps/alpha/ots_cvttx.c: Likewise.
514 * sysdeps/alpha/ots_cvtxt.c: Likewise.
515 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
516 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
517 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
518 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
519 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
520 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
521 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
522 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
523 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
524 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
525 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
526 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
527 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
528 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
529 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
530 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
532 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
535 * Makeconfig: Build libm with -fno-math-errno but build the remaining
536 code with -fmath-errno.
537 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
538 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
539 * string/test-strerror-errno.c: New file.
541 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
544 * localedata/locales/en_US (date_fmt): Add, set to
547 2019-01-07 Florian Weimer <fweimer@redhat.com>
550 * manual/arith.texi (Math Error Reporting): Use @code{errno}
551 instead of @var{errno}.
552 (Parsing of Integers): Likewise.
553 (Parsing of Floats): Likewise.
554 * manual/filesys.texi (Working with Directory Trees): Likewise.
555 (Temporary Files): Likewise.
556 * manual/job.texi (Terminal Access Functions): Likewise.
557 * manual/llio.texi (Synchronizing I/O): Likewise.
558 * manual/math.texi (SVID Random): Likewise.
559 * manual/message.texi (The catgets Functions): Likewise.
560 (Translation with gettext): Likewise.
561 (Locating gettext catalog): Likewise.
562 (Charset conversion in gettext): Likewise.
563 * manual/nss.texi (NSS Module Function Internals): Likewise.
564 * manual/search.texi (Hash Search Function): Likewise.
565 * manual/setjmp.texi (System V contexts): Likewise.
566 * manual/time.texi (Sleeping): Likewise.
567 * manual/users.texi (Lookup User): Likewise.
568 (Lookup Group): Likewise.
570 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
572 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
575 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
578 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
579 __builtin_unreachable for default case in switch.
580 (__ieee754_yn): Likewise.
581 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
582 (__ieee754_ynl): Likewise.
583 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
584 (__ieee754_ynl): Likewise.
585 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
586 (__ieee754_ynl): Likewise.
588 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
590 * manual/maint.texi: Use @{ and @}.
592 2019-01-04 Florian Weimer <fweimer@redhat.com>
594 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
596 (do_in_chroot_1): Call it.
598 Improve error reporting in case it is not possible to create a
599 collision for the PTY name required by the test.
601 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
603 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
604 lll_wait_tid with timeout.
605 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
606 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
607 futex_reltimed_wait_cancelable for cancelabla mode.
608 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
609 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
611 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
612 * sysdeps/posix/waitid.c (__sigwait): Likewise.
613 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
614 SYSCALL_CANCEL_NCS): New macro.
615 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
616 (lll_timedwait_tid): Remove macro.
617 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
619 (lll_timedwait_tid): Likewise.
620 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
622 (lll_timedwait_tid): Likewise.
623 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
625 (lll_timedwait_tid): Likewise.
626 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
627 Use INTERNAL_SYSCALL_CANCEL.
628 * sysdeps/unix/sysv/linux/futex-internal.h
629 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
630 instead of __pthread_{enable,disable}_asynccancel.
631 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
632 (lll_futex_wait_cancel): New macro.
634 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
635 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
637 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
638 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
640 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
641 in backtrace analysis.
642 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
646 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
647 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
648 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
649 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
650 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
651 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
652 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
653 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
654 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
655 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
656 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
657 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
659 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
660 tst-cancel-wrappers.sh.
661 (generated): Remove tst-cancel-wrappers.out.
662 (tst-cancel-wrappers.out): Remove rule.
663 * nptl/tst-cancel-wrappers.sh: Remove file.
665 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
667 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
668 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
671 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
674 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
675 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
676 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
677 close-on-exec reset for adddup2 file action.
678 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
680 2019-01-03 Zack Weinberg <zackw@panix.com>
682 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
683 parameter. Only use deprecated scanf when __USE_GNU is defined
684 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
685 than 201103L, whichever is relevant for the language being compiled.
687 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
688 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
689 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
690 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
691 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
700 * stdio-common/fscanf.c
701 * stdio-common/scanf.c
702 * stdio-common/vfscanf.c
703 * stdio-common/vfwscanf.c
704 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
705 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
706 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
707 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
708 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
709 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
710 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
711 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
712 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
713 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
714 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
715 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
716 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
717 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
718 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
720 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
721 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
722 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
724 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
725 with a preprocessor macro.
727 * stdio-common/bug21.c, stdio-common/scanf14.c:
728 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
729 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
730 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
731 to xscanf, xfscanf, xsscanf.
733 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
734 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
735 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
736 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
738 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
739 override feature selection macros or provide definitions of u_char etc.
740 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
741 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
742 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
745 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
749 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
750 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
751 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
752 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
753 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
754 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
756 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
757 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
758 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
759 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
760 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
761 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
763 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
764 (sysdep_headers): Add termios-misc.h.
766 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
767 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
768 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
772 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
773 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
774 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
775 TCSAFLUSH): Move to termios-tcflow.h.
776 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
777 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
778 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
779 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
783 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
784 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
785 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
786 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
787 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
788 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
789 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
790 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
792 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
793 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
794 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
795 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
799 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
800 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
801 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
802 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
803 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
805 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
806 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
807 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
808 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
813 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
814 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
815 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
816 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
817 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
818 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
819 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
820 __MAX_BAUD): Move to termios-baud.h.
821 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
822 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
823 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
824 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
825 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
827 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
829 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
830 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
831 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
832 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
833 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
834 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
836 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
837 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
839 [USE_MISC] (XTABS): Likewise.
840 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
841 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
842 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
843 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
845 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
847 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
848 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
849 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
850 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
851 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
852 IUTF8): Move to termios-c_iflag.h.
853 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
854 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
855 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
856 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
858 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
860 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
861 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
862 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
863 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
864 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
865 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
866 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
867 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
868 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
869 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
870 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
871 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
873 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
874 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
875 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
876 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
877 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
879 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
881 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
883 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
885 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
887 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
889 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
890 _HAVE_C_OSPEED): Define.
891 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
892 _HAVE_C_OSPEED): Likewise.
893 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
894 _HAVE_C_OSPEED): Likewise.
895 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
896 (cfsetospeed): Check for define value instead of existence.
897 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
898 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
899 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
900 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
901 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
904 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
906 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
907 (TIOCSER_TEMT): Likewise.
908 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
909 (TEOCSER_TEMT): Likewise.
911 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
914 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
916 2019-01-02 Joseph Myers <joseph@codesourcery.com>
918 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
920 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
922 * sysdeps/htl/pt-barrierattr-setpshared.c
923 (pthread_barrierattr_setpshared): Add stub warning.
924 * sysdeps/htl/pt-condattr-setpshared.c
925 (pthread_condattr_setpshared): Likewise.
926 * sysdeps/htl/pt-mutexattr-setpshared.c
927 (pthread_mutexattr_setpshared): Likewise.
928 * sysdeps/htl/pt-rwlockattr-setpshared.c
929 (pthread_rwlockattr_setpshared): Likewise.
930 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
931 (pthread_mutexattr_setpshared): Likewise.
933 2019-01-02 Joseph Myers <joseph@codesourcery.com>
935 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
936 constants to match with Linux 4.20.
938 * sysdeps/mips/mips32/libm-test-ulps: Update.
939 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
941 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
944 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
945 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
946 than __typeof (...) for the a_ptr variable.
948 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
950 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
951 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
952 * libio/Makefile (tests): Add tst-sprintf-ub and
954 (CFLAGS-tst-sprintf-ub.c): New variable.
955 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
956 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
957 destination buffer and check for overflows in fortified mode.
958 * libio/libioP.h (PRINTF_CHK): New macro.
959 * libio/tst-sprintf-chk-ub.c: New file.
960 * libio/tst-sprintf-ub.c: Likewise.
962 2019-01-02 Florian Weimer <fweimer@redhat.com>
965 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
968 2019-01-02 Florian Weimer <fweimer@redhat.com>
970 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
972 2019-01-01 Joseph Myers <joseph@codesourcery.com>
974 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
977 * sysdeps/unix/sysv/linux/netpacket/packet.h
978 (PACKET_IGNORE_OUTGOING): New macro.
980 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
983 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
985 (riscv_flush_icache): New syscall.
987 * manual/texinfo.tex: Update to version 2018-12-28.17 with
988 trailing whitespace removed.
989 * scripts/config.guess: Update to version 2019-01-01.
990 * scripts/config.sub: Update to version 2019-01-01.
991 * scripts/move-if-change: Update from gnulib.
993 * NEWS: Update copyright dates.
994 * catgets/gencat.c (print_version): Likewise.
995 * csu/version.c (banner): Likewise.
996 * debug/catchsegv.sh: Likewise.
997 * debug/pcprofiledump.c (print_version): Likewise.
998 * debug/xtrace.sh (do_version): Likewise.
999 * elf/ldconfig.c (print_version): Likewise.
1000 * elf/ldd.bash.in: Likewise.
1001 * elf/pldd.c (print_version): Likewise.
1002 * elf/sotruss.sh: Likewise.
1003 * elf/sprof.c (print_version): Likewise.
1004 * iconv/iconv_prog.c (print_version): Likewise.
1005 * iconv/iconvconfig.c (print_version): Likewise.
1006 * locale/programs/locale.c (print_version): Likewise.
1007 * locale/programs/localedef.c (print_version): Likewise.
1008 * login/programs/pt_chown.c (print_version): Likewise.
1009 * malloc/memusage.sh (do_version): Likewise.
1010 * malloc/memusagestat.c (print_version): Likewise.
1011 * malloc/mtrace.pl: Likewise.
1012 * manual/libc.texinfo: Likewise.
1013 * nptl/version.c (banner): Likewise.
1014 * nscd/nscd.c (print_version): Likewise.
1015 * nss/getent.c (print_version): Likewise.
1016 * nss/makedb.c (print_version): Likewise.
1017 * posix/getconf.c (main): Likewise.
1018 * scripts/test-installation.pl: Likewise.
1019 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1021 * All files with FSF copyright notices: Update copyright dates
1022 using scripts/update-copyrights.
1023 * locale/programs/charmap-kw.h: Regenerated.
1024 * locale/programs/locfile-kw.h: Likewise.
1026 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1028 * timezone/zdump.c: Update from tzcode 2018i.
1029 * timezone/zic.c: Likewise.
1031 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1033 regex: improve Gnulib port to AIX
1034 From the glibc point of view, this removes duplicate macro
1035 definitions and is obviously safe.
1036 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1037 * posix/regex_internal.h:
1038 (__attribute__, __attribute_warn_unused_result__):
1039 Remove; already defined elsewhere.
1041 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1044 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1045 copying operation. (ncopies had the wrong type, resulting in an
1046 integer wraparound and too few elements being copied.)
1048 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1051 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1052 <asm/syscalls.h> exists with __has_include__ before including it.
1054 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1056 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1059 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1061 * hurd/lookup-retry: Include <unistd.h>.
1062 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1063 Release it on return. Handle "pid" magical lookup retry.
1065 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1068 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1069 (t_fmt_ampm): Likewise.
1070 * localedata/locales/aa_ER (t_fmt): Likewise.
1071 (t_fmt_ampm): Likewise.
1072 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1073 (t_fmt_ampm): Likewise.
1074 * localedata/locales/aa_ET (t_fmt): Likewise.
1075 (t_fmt_ampm): Likewise.
1076 * localedata/locales/am_ET (t_fmt): Likewise.
1077 (t_fmt_ampm): Likewise.
1078 * localedata/locales/byn_ER (t_fmt): Likewise.
1079 (t_fmt_ampm): Likewise.
1080 * localedata/locales/om_ET (t_fmt): Likewise.
1081 (t_fmt_ampm): Likewise.
1082 * localedata/locales/sid_ET (t_fmt): Likewise.
1083 (t_fmt_ampm): Likewise.
1084 * localedata/locales/so_DJ (t_fmt): Likewise.
1085 (t_fmt_ampm): Likewise.
1086 * localedata/locales/so_ET (t_fmt): Likewise.
1087 (t_fmt_ampm): Likewise.
1088 * localedata/locales/so_SO (t_fmt): Likewise.
1089 (t_fmt_ampm): Likewise.
1090 * localedata/locales/ti_ER (t_fmt): Likewise.
1091 (t_fmt_ampm): Likewise.
1092 * localedata/locales/ti_ET (t_fmt): Likewise.
1093 (t_fmt_ampm): Likewise.
1094 * localedata/locales/tig_ER (t_fmt): Likewise.
1095 (t_fmt_ampm): Likewise.
1096 * localedata/locales/wal_ET (t_fmt): Likewise.
1097 (t_fmt_ampm): Likewise.
1099 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1100 * localedata/locales/ar_IN (t_fmt): Likewise.
1101 * localedata/locales/bhb_IN (t_fmt): Likewise.
1102 * localedata/locales/bho_IN (t_fmt): Likewise.
1103 * localedata/locales/bi_VU (t_fmt): Likewise.
1104 * localedata/locales/bn_BD (t_fmt): Likewise.
1105 * localedata/locales/bn_IN (t_fmt): Likewise.
1106 * localedata/locales/brx_IN (t_fmt): Likewise.
1107 * localedata/locales/doi_IN (t_fmt): Likewise.
1108 * localedata/locales/en_HK (t_fmt): Likewise.
1109 (t_fmt_ampm): Likewise.
1110 * localedata/locales/en_IN (t_fmt): Likewise.
1111 * localedata/locales/en_PH (t_fmt): Likewise.
1112 * localedata/locales/gu_IN (t_fmt): Likewise.
1113 * localedata/locales/hi_IN (t_fmt): Likewise.
1114 * localedata/locales/hif_FJ (t_fmt): Likewise.
1115 * localedata/locales/hne_IN (t_fmt): Likewise.
1116 * localedata/locales/kn_IN (t_fmt): Likewise.
1117 * localedata/locales/kok_IN (t_fmt): Likewise.
1118 * localedata/locales/ks_IN (t_fmt): Likewise.
1119 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1120 * localedata/locales/mag_IN (t_fmt): Likewise.
1121 * localedata/locales/mai_IN (t_fmt): Likewise.
1122 * localedata/locales/mjw_IN (t_fmt): Likewise.
1123 * localedata/locales/ml_IN (t_fmt): Likewise.
1124 * localedata/locales/mni_IN (t_fmt): Likewise.
1125 * localedata/locales/mr_IN (t_fmt): Likewise.
1126 * localedata/locales/ms_MY (t_fmt): Likewise.
1127 * localedata/locales/pa_IN (t_fmt): Likewise.
1128 * localedata/locales/raj_IN (t_fmt): Likewise.
1129 * localedata/locales/sa_IN (t_fmt): Likewise.
1130 * localedata/locales/sat_IN (t_fmt): Likewise.
1131 * localedata/locales/sd_IN (t_fmt): Likewise.
1132 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1133 * localedata/locales/tcy_IN (t_fmt): Likewise.
1134 * localedata/locales/the_NP (t_fmt): Likewise.
1135 * localedata/locales/to_TO (t_fmt): Likewise.
1136 * localedata/locales/ur_IN (t_fmt): Likewise.
1138 * localedata/locales/hif_FJ (d_t_fmt): Set to
1139 "%A %d %b %Y %I:%M:%S %p".
1140 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1142 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1143 * localedata/locales/ar_BH (t_fmt): Likewise.
1144 * localedata/locales/ar_DZ (t_fmt): Likewise.
1145 * localedata/locales/ar_EG (t_fmt): Likewise.
1146 * localedata/locales/ar_IQ (t_fmt): Likewise.
1147 * localedata/locales/ar_JO (t_fmt): Likewise.
1148 * localedata/locales/ar_KW (t_fmt): Likewise.
1149 * localedata/locales/ar_LB (t_fmt): Likewise.
1150 * localedata/locales/ar_LY (t_fmt): Likewise.
1151 * localedata/locales/ar_OM (t_fmt): Likewise.
1152 * localedata/locales/ar_QA (t_fmt): Likewise.
1153 * localedata/locales/ar_SD (t_fmt): Likewise.
1154 * localedata/locales/ar_SS (t_fmt): Likewise.
1155 * localedata/locales/ar_SY (t_fmt): Likewise.
1156 * localedata/locales/ar_TN (t_fmt): Likewise.
1157 * localedata/locales/ar_YE (t_fmt): Likewise.
1159 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1160 (t_fmt_ampm): Likewise.
1161 * localedata/locales/gez_ET (t_fmt): Likewise.
1162 (t_fmt_ampm): Likewise.
1164 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1165 (t_fmt_ampm): Likewise.
1166 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1168 * localedata/locales/zh_HK (t_fmt):
1169 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1171 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1172 because this locale does not use the 12-hour clock.
1173 (t_fmt): Set to "%Z %H:%M:%S".
1174 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1176 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1177 because this locale does not use the 12-hour clock.
1178 (t_fmt): Set to "%H:%M:%S %Z".
1179 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1181 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1182 because this locale does not use the 12-hour clock.
1183 (t_fmt): Set to "%T".
1184 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1185 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1187 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1188 because this locale does not use the 12-hour clock.
1189 (t_fmt): Set to "%H:%M:%S %Z".
1190 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1192 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1193 because this locale does not use the 12-hour clock.
1194 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1195 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1197 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1201 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1202 (t_fmt_ampm): Likewise.
1203 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1204 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1205 (d_fmt): Set to "%-d.%-m.%y".
1207 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1209 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1210 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1211 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1213 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1214 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1215 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1217 * support/blob_repeat.c (check_mul_overflow_size_t,
1218 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1220 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1222 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1224 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1226 regex: simplify Gnulib port
1227 This simplifies the code, by removing stuff intended for porting
1228 to Gnulib but no longer needed there.
1229 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1230 uses of libc_hidden_def, weak_alias.
1231 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1232 _Restrict_ except for public-facing headers.
1233 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1234 Remove; already defined elsewhere.
1235 * posix/regex.c, posix/regex_internal.h:
1236 Use __GNUC_PREREQ instead of rolling our own.
1237 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1239 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1241 * benchtests/bench-strlen.c (generic_strlen): New function.
1242 (memchr_strlen): New function.
1244 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1246 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1247 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1248 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1250 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1252 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1254 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1256 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1257 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1258 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1259 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1260 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1261 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1262 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1264 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1267 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1268 PLT reference in libc.so.
1269 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1270 _Q_lltoq and _Q_qtod PLT references in libc.so.
1272 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1274 * benchtests/bench-memchr.c: Cleanup defines.
1275 * benchtests/bench-memcmp.c: Likewise.
1276 * benchtests/bench-memset.c: Likewise.
1277 * benchtests/bench-memset-large.c: Likewise.
1278 * benchtests/bench-memset-walk.c: Likewise.
1279 * benchtests/bench-stpcpy.c: Likewise.
1280 * benchtests/bench-stpncpy.c: Likewise.
1281 * benchtests/bench-strcat.c: Likewise.
1282 * benchtests/bench-strchr.c: Likewise.
1283 * benchtests/bench-strcmp.c: Likewise.
1284 * benchtests/bench-strcpy.c: Likewise.
1285 * benchtests/bench-strcspn.c: Likewise.
1286 * benchtests/bench-string.h: Likewise.
1287 * benchtests/bench-strlen.c: Likewise.
1288 * benchtests/bench-strncat.c: Likewise.
1289 * benchtests/bench-strncmp.c: Likewise.
1290 * benchtests/bench-strncpy.c: Likewise.
1291 * benchtests/bench-strnlen.c: Likewise.
1292 * benchtests/bench-strpbrk.c: Likewise.
1293 * benchtests/bench-strrchr.c: Likewise.
1294 * benchtests/bench-strspn.c: Likewise.
1296 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1298 * stdlib/longlong.h: Update from GCC.
1301 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1302 * configure: Regenerated.
1303 * manual/install.texi (Tools for Compilation): Update minimum GCC
1305 * INSTALL: Regenerated.
1307 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1309 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1311 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1313 * malloc/malloc.c (mremap_chunk): Additional checks.
1315 2018-12-21 Mao Han <han_mao@c-sky.com>
1317 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1318 * scripts/build-many-glibcs.py: Add C-SKY targets.
1319 * sysdeps/csky/Implies: New file.
1320 * sysdeps/csky/Makefile: Likewise.
1321 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1322 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1323 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1324 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1325 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1326 * sysdeps/csky/abiv2/memmove.S: Likewise.
1327 * sysdeps/csky/abiv2/memset.S: Likewise.
1328 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1329 * sysdeps/csky/abiv2/start.S: Likewise.
1330 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1331 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1332 * sysdeps/csky/abiv2/strlen.S: Likewise.
1333 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1334 * sysdeps/csky/abort-instr.h: Likewise.
1335 * sysdeps/csky/atomic-machine.h: Likewise.
1336 * sysdeps/csky/bits/endian.h: Likewise.
1337 * sysdeps/csky/bits/fenv.h: Likewise.
1338 * sysdeps/csky/bits/link.h: Likewise.
1339 * sysdeps/csky/bits/setjmp.h: Likewise.
1340 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1341 * sysdeps/csky/bsd-setjmp.S: Likewise.
1342 * sysdeps/csky/configure: Likewise.
1343 * sysdeps/csky/configure.ac: Likewise.
1344 * sysdeps/csky/dl-machine.h: Likewise.
1345 * sysdeps/csky/dl-procinfo.c: Likewise.
1346 * sysdeps/csky/dl-procinfo.h: Likewise.
1347 * sysdeps/csky/dl-sysdep.h: Likewise.
1348 * sysdeps/csky/dl-tls.h: Likewise.
1349 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1350 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1351 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1352 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1353 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1354 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1355 * sysdeps/csky/fpu/fegetround.c: Likewise.
1356 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1357 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1358 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1359 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1360 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1361 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1362 * sysdeps/csky/fpu/fesetround.c: Likewise.
1363 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1364 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1365 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1366 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1367 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1368 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1369 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1370 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1371 * sysdeps/csky/fpu_control.h: Likewise.
1372 * sysdeps/csky/gccframe.h: Likewise.
1373 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1374 * sysdeps/csky/ldsodefs.h: Likewise.
1375 * sysdeps/csky/libc-tls.c: Likewise.
1376 * sysdeps/csky/linkmap.h: Likewise.
1377 * sysdeps/csky/machine-gmon.h: Likewise.
1378 * sysdeps/csky/memusage.h: Likewise.
1379 * sysdeps/csky/nofpu/Implies: Likewise.
1380 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1381 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1382 * sysdeps/csky/nptl/Makefile: Likewise.
1383 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1384 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1385 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1386 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1387 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1388 * sysdeps/csky/nptl/tls.h: Likewise.
1389 * sysdeps/csky/preconfigure: Likewise.
1390 * sysdeps/csky/sfp-machine.h: Likewise.
1391 * sysdeps/csky/sotruss-lib.c: Likewise.
1392 * sysdeps/csky/stackinfo.h: Likewise.
1393 * sysdeps/csky/sysdep.h: Likewise.
1394 * sysdeps/csky/tininess.h: Likewise.
1395 * sysdeps/csky/tst-audit.h: Likewise.
1396 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1397 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1398 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1399 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1400 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1401 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1402 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1403 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1404 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1405 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1406 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1407 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1408 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1409 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1410 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1411 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1412 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1413 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1414 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1415 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1416 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1417 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1418 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1419 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1420 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1421 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1422 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1423 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1424 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1425 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1426 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1427 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1428 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1429 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1430 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1431 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1432 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1433 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1434 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1435 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1436 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1437 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1438 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1439 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1441 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1443 * include/time.h (__difftime64): Add.
1444 * time/difftime.c (subtract): convert to 64-bit time.
1445 * time/difftime.c (__difftime64): Add.
1446 * time/difftime.c (__difftime): Wrap around __difftime64.
1448 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1450 * manual/examples/add.c: Remove redundant "if not".
1451 * manual/examples/argp-ex1.c: Likewise.
1452 * manual/examples/argp-ex2.c: Likewise.
1453 * manual/examples/argp-ex3.c: Likewise.
1454 * manual/examples/argp-ex4.c: Likewise.
1455 * manual/examples/atexit.c: Likewise.
1456 * manual/examples/db.c: Likewise.
1457 * manual/examples/dir.c: Likewise.
1458 * manual/examples/dir2.c: Likewise.
1459 * manual/examples/execinfo.c: Likewise.
1460 * manual/examples/filecli.c: Likewise.
1461 * manual/examples/filesrv.c: Likewise.
1462 * manual/examples/fmtmsgexpl.c: Likewise.
1463 * manual/examples/genpass.c: Likewise.
1464 * manual/examples/inetcli.c: Likewise.
1465 * manual/examples/inetsrv.c: Likewise.
1466 * manual/examples/isockad.c: Likewise.
1467 * manual/examples/longopt.c: Likewise.
1468 * manual/examples/memopen.c: Likewise.
1469 * manual/examples/memstrm.c: Likewise.
1470 * manual/examples/mkdirent.c: Likewise.
1471 * manual/examples/mkfsock.c: Likewise.
1472 * manual/examples/mkisock.c: Likewise.
1473 * manual/examples/mygetpass.c: Likewise.
1474 * manual/examples/pipe.c: Likewise.
1475 * manual/examples/popen.c: Likewise.
1476 * manual/examples/rprintf.c: Likewise.
1477 * manual/examples/search.c: Likewise.
1478 * manual/examples/select.c: Likewise.
1479 * manual/examples/setjmp.c: Likewise.
1480 * manual/examples/sigh1.c: Likewise.
1481 * manual/examples/sigusr.c: Likewise.
1482 * manual/examples/stpcpy.c: Likewise.
1483 * manual/examples/strdupa.c: Likewise.
1484 * manual/examples/strftim.c: Likewise.
1485 * manual/examples/subopt.c: Likewise.
1486 * manual/examples/swapcontext.c: Likewise.
1487 * manual/examples/termios.c: Likewise.
1488 * manual/examples/testopt.c: Likewise.
1489 * manual/examples/testpass.c: Likewise.
1490 * manual/examples/timeval_subtract.c: Likewise.
1492 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1494 * sysdeps/x86/fpu/math_private.h: New file.
1495 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1497 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1502 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1504 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1505 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1506 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1507 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1509 (_dl_show_auxv): Give a special treatment to
1510 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1511 and AT_L3_CACHEGEOMETRY.
1512 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1513 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1514 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1515 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1517 2018-12-19 Andreas Schwab <schwab@suse.de>
1519 * nscd/connections.c (check_use): Don't abort on invalid len.
1521 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1523 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1524 values in the 64bit value cases.
1526 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1532 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1538 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1541 (__gmtime64_r): Add.
1543 (__gmtime64_r): Add.
1544 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1550 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1553 (__localtime64_r): Add.
1555 (__localtime64_r): Add.
1556 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1558 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1560 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1561 kernel_sigction definition.
1563 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1565 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1567 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1568 __syscall_rt_sigaction.
1569 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1570 (kernel_sigaction): Use Linux generic defintion.
1572 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1573 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1574 (__syscall_rt_sigaction): Remove implementation.
1575 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1577 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1578 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1579 INTERNAL_SYSCALL): Remove definitions.
1580 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1581 action and signal set size.
1582 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1583 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1585 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1586 James Clarke <jrtc27@jrtc27.com>
1589 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1590 Define if SA_RESTORER is defined.
1591 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1592 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1594 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1595 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1597 (HAS_SA_RESTORER): Define.
1598 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1599 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1600 (HAS_SA_RESTORER): Define.
1601 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1602 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1603 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1604 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1605 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1607 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1609 * sysdeps/unix/sysv/linux/kernel-features.h
1610 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1611 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1612 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1613 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1614 (__ASSUME_ST_INO_64_BIT): Likewise.
1615 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1616 <kernel-features.h>.
1617 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1618 Remove conditional code.
1619 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1620 <kernel-features.h>.
1621 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1622 Remove conditional code.
1623 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1624 <kernel-features.h>.
1625 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1626 Remove conditional code.
1627 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1628 <kernel-features.h>.
1629 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1630 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1632 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1634 * sysdeps/s390/multiarch/ifunc-resolve.h
1635 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1636 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1637 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1638 Delete macro definition.
1639 (s390_libc_ifunc_init): Rename to
1640 s390_libc_ifunc_expr_stfle_init.
1641 * sysdeps/s390/bzero: Use
1642 s390_libc_ifunc_expr_stfle_init instead of
1643 s390_libc_ifunc_init.
1644 * sysdeps/s390/memcmp.c: Likewise.
1645 * sysdeps/s390/memcpy.c: Likewise.
1646 * sysdeps/s390/mempcpy.c: Likewise.
1647 * sysdeps/s390/memset.c: Likewise.
1649 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1651 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1652 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1656 * sysdeps/s390/multiarch/Makefile
1657 (sysdep_routines): Remove wmemcmp variants.
1658 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1659 * sysdeps/s390/multiarch/ifunc-impl-list.c
1660 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1661 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1662 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1663 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1664 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1665 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1666 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1667 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1671 * sysdeps/s390/multiarch/Makefile
1672 (sysdep_routines): Remove wmemset variants.
1673 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1674 * sysdeps/s390/multiarch/ifunc-impl-list.c
1675 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1676 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1677 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1678 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1679 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1680 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1681 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1682 * sysdeps/s390/ifunc-wmemset.h: New file.
1684 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1686 * sysdeps/s390/multiarch/Makefile
1687 (sysdep_routines): Remove wmemchr variants.
1688 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1689 * sysdeps/s390/multiarch/ifunc-impl-list.c
1690 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1691 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1692 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1693 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1694 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1695 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1696 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1697 * sysdeps/s390/ifunc-wmemchr.h: New file.
1699 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1701 * sysdeps/s390/multiarch/Makefile
1702 (sysdep_routines): Remove wcscspn variants.
1703 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1704 * sysdeps/s390/multiarch/ifunc-impl-list.c
1705 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1706 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1707 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1708 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1709 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1710 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1711 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1712 * sysdeps/s390/ifunc-wcscspn.h: New file.
1714 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1716 * sysdeps/s390/multiarch/Makefile
1717 (sysdep_routines): Remove wcspbrk variants.
1718 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1719 * sysdeps/s390/multiarch/ifunc-impl-list.c
1720 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1721 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1722 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1723 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1724 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1725 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1726 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1727 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1729 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1731 * sysdeps/s390/multiarch/Makefile
1732 (sysdep_routines): Remove wcsspn variants.
1733 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1734 * sysdeps/s390/multiarch/ifunc-impl-list.c
1735 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1736 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1737 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1738 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1739 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1740 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1741 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1742 * sysdeps/s390/ifunc-wcsspn.h: New file.
1744 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1746 * sysdeps/s390/multiarch/Makefile
1747 (sysdep_routines): Remove wcsrchr variants.
1748 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1749 * sysdeps/s390/multiarch/ifunc-impl-list.c
1750 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1751 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1752 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1753 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1754 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1755 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1756 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1757 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1759 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1761 * sysdeps/s390/multiarch/Makefile
1762 (sysdep_routines): Remove wcschrnul variants.
1763 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1764 * sysdeps/s390/multiarch/ifunc-impl-list.c
1765 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1766 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1767 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1768 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1769 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1770 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1771 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1772 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1774 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1776 * sysdeps/s390/multiarch/Makefile
1777 (sysdep_routines): Remove wcschr variants.
1778 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1779 * sysdeps/s390/multiarch/ifunc-impl-list.c
1780 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1781 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1782 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1783 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1784 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1785 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1786 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1787 * sysdeps/s390/ifunc-wcschr.h: New file.
1789 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1791 * sysdeps/s390/multiarch/Makefile
1792 (sysdep_routines): Remove wcsncmp variants.
1793 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1794 * sysdeps/s390/multiarch/ifunc-impl-list.c
1795 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1796 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1797 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1798 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1799 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1800 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1801 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1802 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1804 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1806 * sysdeps/s390/multiarch/Makefile
1807 (sysdep_routines): Remove wcscmp variants.
1808 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1809 * sysdeps/s390/multiarch/ifunc-impl-list.c
1810 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1811 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1812 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1813 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1814 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1815 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1816 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1817 * sysdeps/s390/ifunc-wcscmp.h: New file.
1819 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1821 * sysdeps/s390/multiarch/Makefile
1822 (sysdep_routines): Remove wcsncat variants.
1823 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1824 * sysdeps/s390/multiarch/ifunc-impl-list.c
1825 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1826 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1827 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1828 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1829 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1830 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1831 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1832 * sysdeps/s390/ifunc-wcsncat.h: New file.
1834 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1836 * sysdeps/s390/multiarch/Makefile
1837 (sysdep_routines): Remove wcscat variants.
1838 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1839 * sysdeps/s390/multiarch/ifunc-impl-list.c
1840 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1841 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1842 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1843 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1844 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1845 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1846 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1847 * sysdeps/s390/ifunc-wcscat.h: New file.
1849 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1851 * sysdeps/s390/multiarch/Makefile
1852 (sysdep_routines): Remove wcpncpy variants.
1853 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
1854 * sysdeps/s390/multiarch/ifunc-impl-list.c
1855 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
1856 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
1857 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
1858 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
1859 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
1860 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
1861 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
1862 * sysdeps/s390/ifunc-wcpncpy.h: New file.
1864 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1866 * sysdeps/s390/multiarch/Makefile
1867 (sysdep_routines): Remove wcsncpy variants.
1868 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
1869 * sysdeps/s390/multiarch/ifunc-impl-list.c
1870 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
1871 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
1872 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
1873 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
1874 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
1875 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
1876 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
1877 * sysdeps/s390/ifunc-wcsncpy.h: New file.
1879 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1881 * sysdeps/s390/multiarch/Makefile
1882 (sysdep_routines): Remove wcpcpy variants.
1883 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
1884 * sysdeps/s390/multiarch/ifunc-impl-list.c
1885 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
1886 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
1887 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
1888 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
1889 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
1890 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
1891 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
1892 * sysdeps/s390/ifunc-wcpcpy.h: New file.
1894 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1896 * sysdeps/s390/multiarch/Makefile
1897 (sysdep_routines): Remove wcscpy variants.
1898 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
1899 * sysdeps/s390/multiarch/ifunc-impl-list.c
1900 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
1901 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
1902 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
1903 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
1904 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
1905 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
1906 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
1907 * sysdeps/s390/ifunc-wcscpy.h: New file.
1909 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1911 * sysdeps/s390/multiarch/Makefile
1912 (sysdep_routines): Remove wcsnlen variants.
1913 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
1914 * sysdeps/s390/multiarch/ifunc-impl-list.c
1915 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
1916 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
1917 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
1918 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
1919 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
1920 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
1921 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
1922 * sysdeps/s390/ifunc-wcsnlen.h: New file.
1924 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1926 * sysdeps/s390/multiarch/Makefile
1927 (sysdep_routines): Remove wcslen variants.
1928 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
1929 * sysdeps/s390/multiarch/ifunc-impl-list.c
1930 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
1931 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
1932 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
1933 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
1934 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
1935 * sysdeps/s390/multiarch/wcslen.c: Move to ...
1936 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
1937 * sysdeps/s390/ifunc-wcslen.h: New file.
1939 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1941 * sysdeps/s390/multiarch/Makefile
1942 (sysdep_routines): Remove memrchr variants.
1943 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
1944 * sysdeps/s390/multiarch/ifunc-impl-list.c
1945 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
1946 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
1947 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
1948 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
1949 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
1950 * sysdeps/s390/multiarch/memrchr.c: Move to ...
1951 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
1952 * sysdeps/s390/ifunc-memrchr.h: New file.
1954 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1956 * sysdeps/s390/multiarch/Makefile
1957 (sysdep_routines): Remove memccpy variants.
1958 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
1959 * sysdeps/s390/multiarch/ifunc-impl-list.c
1960 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
1961 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
1962 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
1963 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
1964 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
1965 * sysdeps/s390/multiarch/memccpy.c: Move to ...
1966 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
1967 * sysdeps/s390/ifunc-memccpy.h: New file.
1969 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1971 * sysdeps/s390/multiarch/Makefile
1972 (sysdep_routines): Remove rawmemchr variants.
1973 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
1974 * sysdeps/s390/multiarch/ifunc-impl-list.c
1975 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
1976 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
1977 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
1978 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
1979 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
1980 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
1981 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
1982 * sysdeps/s390/ifunc-rawmemchr.h: New file.
1984 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1986 * sysdeps/s390/multiarch/Makefile
1987 (sysdep_routines): Remove memchr variants.
1988 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
1989 * sysdeps/s390/multiarch/ifunc-impl-list.c
1990 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
1991 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
1992 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
1993 * sysdeps/s390/multiarch/memchr.c: Move to ...
1994 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
1995 * sysdeps/s390/ifunc-memchr.h: New file.
1996 * sysdeps/s390/s390-64/memchr.S: Move to ...
1997 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
1998 for 31/64bit and ifunc handling.
1999 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2000 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2001 * sysdeps/s390/s390-32/memchr.S: Likewise.
2003 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2005 * sysdeps/s390/multiarch/Makefile
2006 (sysdep_routines): Remove strcspn variants.
2007 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2008 * sysdeps/s390/multiarch/ifunc-impl-list.c
2009 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2010 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2011 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2012 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2013 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2014 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2015 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2016 * sysdeps/s390/ifunc-strcspn.h: New file.
2018 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2020 * sysdeps/s390/multiarch/Makefile
2021 (sysdep_routines): Remove strpbrk variants.
2022 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2023 * sysdeps/s390/multiarch/ifunc-impl-list.c
2024 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2025 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2026 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2027 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2028 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2029 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2030 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2031 * sysdeps/s390/ifunc-strpbrk.h: New file.
2033 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2035 * sysdeps/s390/multiarch/Makefile
2036 (sysdep_routines): Remove strspn variants.
2037 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2038 * sysdeps/s390/multiarch/ifunc-impl-list.c
2039 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2040 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2041 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2042 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2043 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2044 * sysdeps/s390/multiarch/strspn.c: Move to ...
2045 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2046 * sysdeps/s390/ifunc-strspn.h: New file.
2048 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2050 * sysdeps/s390/multiarch/Makefile
2051 (sysdep_routines): Remove strrchr variants.
2052 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2053 * sysdeps/s390/multiarch/ifunc-impl-list.c
2054 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2055 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2056 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2057 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2058 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2059 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2060 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2061 * sysdeps/s390/ifunc-strrchr.h: New file.
2063 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2065 * sysdeps/s390/multiarch/Makefile
2066 (sysdep_routines): Remove strchrnul variants.
2067 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2068 * sysdeps/s390/multiarch/ifunc-impl-list.c
2069 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2070 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2071 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2072 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2073 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2074 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2075 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2076 * sysdeps/s390/ifunc-strchrnul.h: New file.
2078 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2080 * sysdeps/s390/multiarch/Makefile
2081 (sysdep_routines): Remove strchr variants.
2082 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2083 * sysdeps/s390/multiarch/ifunc-impl-list.c
2084 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2085 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2086 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2087 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2088 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2089 * sysdeps/s390/multiarch/strchr.c: Move to ...
2090 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2091 * sysdeps/s390/ifunc-strchr.h: New file.
2093 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2095 * sysdeps/s390/multiarch/Makefile
2096 (sysdep_routines): Remove strncmp variants.
2097 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2098 * sysdeps/s390/multiarch/ifunc-impl-list.c
2099 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2100 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2101 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2102 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2103 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2104 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2105 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2106 * sysdeps/s390/ifunc-strncmp.h: New file.
2108 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2110 * sysdeps/s390/multiarch/Makefile
2111 (sysdep_routines): Remove strcmp variants.
2112 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2113 * sysdeps/s390/multiarch/ifunc-impl-list.c
2114 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2115 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2116 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2117 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2118 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2119 * sysdeps/s390/ifunc-strcmp.h: New file.
2120 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2121 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2122 for 31/64bit and ifunc handling.
2123 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2124 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2125 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2127 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2129 * sysdeps/s390/multiarch/Makefile
2130 (sysdep_routines): Remove strncat variants.
2131 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2132 * sysdeps/s390/multiarch/ifunc-impl-list.c
2133 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2134 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2135 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2136 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2137 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2138 * sysdeps/s390/multiarch/strncat.c: Move to ...
2139 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2140 * sysdeps/s390/ifunc-strncat.h: New file.
2142 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2144 * sysdeps/s390/multiarch/Makefile
2145 (sysdep_routines): Remove strcat variants.
2146 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2147 * sysdeps/s390/multiarch/ifunc-impl-list.c
2148 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2149 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2150 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2151 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2152 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2153 * sysdeps/s390/multiarch/strcat.c: Move to ...
2154 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2155 * sysdeps/s390/ifunc-strcat.h: New file.
2157 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2159 * sysdeps/s390/multiarch/Makefile
2160 (sysdep_routines): Remove stpncpy variants.
2161 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2162 * sysdeps/s390/multiarch/ifunc-impl-list.c
2163 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2164 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2165 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2166 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2167 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2168 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2169 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2170 * sysdeps/s390/ifunc-stpncpy.h: New file.
2172 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2174 * sysdeps/s390/multiarch/Makefile
2175 (sysdep_routines): Remove strncpy variants.
2176 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2177 * sysdeps/s390/multiarch/ifunc-impl-list.c
2178 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2179 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2180 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2181 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2182 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2183 * sysdeps/s390/ifunc-strncpy.h: New file.
2184 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2185 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2186 and adjust ifunc handling.
2187 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2188 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2189 and adjust ifunc handling.
2190 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2191 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2193 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2195 * sysdeps/s390/multiarch/Makefile
2196 (sysdep_routines): Remove stpcpy variants.
2197 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2198 * sysdeps/s390/multiarch/ifunc-impl-list.c
2199 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2200 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2201 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2202 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2203 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2204 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2205 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2206 * sysdeps/s390/ifunc-stpcpy.h: New file.
2208 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2210 * sysdeps/s390/multiarch/Makefile
2211 (sysdep_routines): Remove strcpy variants.
2212 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2213 * sysdeps/s390/multiarch/ifunc-impl-list.c
2214 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2215 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2216 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2217 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2218 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2219 * sysdeps/s390/ifunc-strcpy.h: New file.
2220 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2221 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2222 for 31/64bit and ifunc handling.
2223 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2224 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2225 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2227 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2229 * sysdeps/s390/multiarch/Makefile
2230 (sysdep_routines): Remove strnlen variants.
2231 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2232 * sysdeps/s390/multiarch/ifunc-impl-list.c
2233 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2234 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2235 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2236 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2237 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2238 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2239 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2240 * sysdeps/s390/ifunc-strnlen.h: New file.
2242 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2244 * sysdeps/s390/multiarch/Makefile
2245 (sysdep_routines): Remove strlen variants.
2246 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2247 * sysdeps/s390/multiarch/ifunc-impl-list.c
2248 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2249 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2250 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2251 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2252 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2253 * sysdeps/s390/multiarch/strlen.c: Move to ...
2254 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2255 * sysdeps/s390/ifunc-strlen.h: New file.
2257 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2259 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2260 * sysdeps/s390/multiarch/ifunc-impl-list.c
2261 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2262 * sysdeps/s390/ifunc-memmem.h: New file.
2263 * sysdeps/s390/memmem.c: Likewise.
2264 * sysdeps/s390/memmem-c.c: Likewise.
2265 * sysdeps/s390/memmem-vx.c: Likewise.
2267 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2269 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2270 * sysdeps/s390/multiarch/ifunc-impl-list.c
2271 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2272 * sysdeps/s390/ifunc-strstr.h: New file.
2273 * sysdeps/s390/strstr.c: Likewise.
2274 * sysdeps/s390/strstr-c.c: Likewise.
2275 * sysdeps/s390/strstr-vx.c: Likewise.
2277 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2279 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2280 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2281 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2282 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2284 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2285 * sysdeps/s390/memmove-c.c: New file.
2286 * sysdeps/s390/memmove.c: Likewise.
2287 * sysdeps/s390/multiarch/ifunc-impl-list.c
2288 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2290 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2292 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2293 * sysdeps/s390/configure.ac: Add check for z13 support.
2294 * sysdeps/s390/configure: Regenerated.
2296 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2298 * sysdeps/s390/memcopy.h: New file.
2300 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2302 * sysdeps/s390/s390-32/bcopy.S: Remove.
2303 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2305 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2307 * sysdeps/s390/ifunc-memcpy.h: New File.
2308 * sysdeps/s390/memcpy.S: Move to ...
2309 * sysdeps/s390/memcpy-z900.S ... here.
2310 Move implementations from memcpy-s390x.s to here.
2311 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2312 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2313 Remove memcpy/mempcpy variants.
2314 * sysdeps/s390/Makefile (sysdep_routines):
2315 Add memcpy/mempcpy variants.
2316 * sysdeps/s390/multiarch/ifunc-impl-list.c
2317 (__libc_ifunc_impl_list): Adjust ifunc variants for
2319 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2321 * sysdeps/s390/memcpy.c: ... here.
2322 Adjust ifunc variants for memcpy.
2323 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2324 * sysdeps/s390/mempcpy.c: ... here.
2325 Adjust ifunc variants for mempcpy.
2326 * sysdeps/s390/mempcpy.S: Delete file.
2328 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2330 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2331 * sysdeps/s390/memcpy.S: ... here.
2332 Adjust to be usable for 31/64bit.
2333 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2334 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2335 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2336 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2337 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2338 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2339 Adjust to be usable for 31/64bit.
2340 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2341 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2342 * sysdeps/s390/multiarch/memcpy.c: ... here.
2343 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2345 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2347 * sysdeps/s390/ifunc-memcmp.h: New File.
2348 * sysdeps/s390/memcmp.S: Move to ...
2349 * sysdeps/s390/memcmp-z900.S ... here.
2350 Move implementations from memcmp-s390x.s to here.
2351 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2352 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2353 Remove memcmp variants.
2354 * sysdeps/s390/Makefile (sysdep_routines):
2355 Add memcmp variants.
2356 * sysdeps/s390/multiarch/ifunc-impl-list.c
2357 (__libc_ifunc_impl_list): Adjust ifunc variants for
2359 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2361 * sysdeps/s390/memcmp.c: ... here.
2362 Adjust ifunc variants for memcmp.
2364 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2366 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2367 * sysdeps/s390/memcmp.S: ... here.
2368 Adjust to be usable for 31/64bit.
2369 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2370 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2371 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2373 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2374 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2375 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2376 Adjust to be usable for 31/64bit.
2377 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2378 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2379 * sysdeps/s390/multiarch/memcmp.c: ... here.
2380 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2382 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2384 * sysdeps/s390/s390-32/bzero.S: Delete file.
2385 * sysdeps/s390/s390-64/bzero.S: Likewise.
2386 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2387 * sysdeps/s390/bzero.c: New file.
2388 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2389 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2390 * sysdeps/s390/multiarch/ifunc-impl-list.c
2391 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2393 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2395 * sysdeps/s390/ifunc-memset.h: New File.
2396 * sysdeps/s390/memset.S: Move to ...
2397 * sysdeps/s390/memset-z900.S ... here.
2398 Move implementations from memset-s390x.s to here.
2399 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2400 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2401 Remove memset variants.
2402 * sysdeps/s390/Makefile (sysdep_routines):
2403 Add memset variants.
2404 * sysdeps/s390/multiarch/ifunc-impl-list.c
2405 (__libc_ifunc_impl_list): Adjust ifunc variants for
2407 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2409 * sysdeps/s390/memset.c: ... here.
2410 Adjust ifunc variants for memset.
2412 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2414 * sysdeps/s390/s390-64/memset.S: Move to ...
2415 * sysdeps/s390/memset.S: ... here.
2416 Adjust to be usable for 31/64bit.
2417 * sysdeps/s390/s390-32/memset.S: Delete File.
2418 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2419 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2421 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2422 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2423 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2424 Adjust to be usable for 31/64bit.
2425 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2426 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2427 * sysdeps/s390/multiarch/memset.c: ... here.
2428 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2430 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2432 * sysdeps/s390/multiarch/ifunc-resolve.h
2433 (s390_libc_ifunc_init, s390_libc_ifunc,
2434 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2436 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2438 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2439 * sysdeps/s390/configure.ac: Add check for z10 support.
2440 * sysdeps/s390/configure: Regenerated.
2442 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2444 * sysdeps/i386/atomic-machine.h: Merged with ...
2445 * sysdeps/x86_64/atomic-machine.h: To ...
2446 * sysdeps/x86/atomic-machine.h: This. New file.
2448 2018-12-18 Florian Weimer <fweimer@redhat.com>
2450 Rewrite locale/gen-translit.pl in Python.
2451 * locale/Makefile (generated): Add C-translit.h.
2452 (before-compile): Add $(objpfx)C-translit.h.
2453 (C-translit.h): Move to $(objpfx). Create target directory.
2454 Build using Python script.
2455 * locale/gen-translit.py: New file.
2456 * locale/gen-translit.pl: Remove file.
2457 * locale/C-translit.h.in: Change comment character to '#' for
2458 easier parsing without a C preprocessor.
2459 * locale/C-translit.h: Remove generated file.
2460 * manual/install.texi (Tools for Compilation): Do not mention
2462 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2463 Remove locale/C-translit.h.
2464 * scripts/update-copyrights: Likewise.
2465 * INSTALL: Regenerate.
2467 2018-12-18 Florian Weimer <fweimer@redhat.com>
2470 * localedata/locales/bi_VU: Remove executable bit from file.
2472 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2475 (__localtime64): Add.
2476 * manual/maint.texi: Document Y2038 symbol handling.
2478 (__localtime64): Add.
2479 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2481 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2483 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2486 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2487 to allow extra macros from first or second sources.
2488 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2489 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2490 (tests-special): Add $(objpfx)tst-mman-consts.out.
2491 ($(objpfx)tst-mman-consts.out): New makefile target.
2493 2018-12-17 Mao Han <han_mao@c-sky.com>
2495 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2496 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2497 without stat64 system call support.
2498 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2499 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2500 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2501 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2502 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2503 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2504 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2505 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2506 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2507 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2508 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2510 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2512 regex: fix storage-exhaustion error
2514 * posix/regexec.c (get_subexp):
2515 Do not continue if storage is exhausted.
2517 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2519 regex: fix heap-use-after-free error
2521 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2522 https://debbugs.gnu.org/32592
2523 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2524 call extend_buffers which reallocates the re_string_t internal buffer.
2525 Local variable 'buf' was not updated in such case, resulting in
2527 * posix/regexec.c (get_subexp): Update 'buf' after call to
2530 2018-12-15 Florian Weimer <fweimer@redhat.com>
2532 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2533 (minimum_stride_size): Use it.
2534 (support_blob_repeat_allocate): Likewise.
2536 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2538 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2543 2018-12-14 Florian Weimer <fweimer@redhat.com>
2545 * manual/process.texi (Process Creation Concepts): Remove
2546 documentation of process (ID) lifetime. List more process
2547 creation functions. Reference Process Identification section.
2548 (Process Identification): Add information about process ID
2549 lifetime. Describe Linux thread/task IDs.
2550 * manual/signal.texi (Signaling Another Process): Mention that the
2551 signal is always sent to the process.
2553 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2555 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2556 and tst-ldbl-efgcvt.
2557 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2558 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2559 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2560 (fcvt_tests, output_error, output_r_error, do_test): Use the
2561 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2562 select the type of floating-point variables and arguments; to
2563 produce extra tests for double and conversion specifiers for
2564 printf; and to set the names of called functions.
2565 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2566 in tst-efgcvt-template.c.
2567 * misc/tst-ldbl-efgcvt.c: Likewise.
2569 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2571 * nss/Makefile (tst-nss-test3.out): New rule.
2573 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2575 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2578 2018-12-13 fanjinke <fanjinke@hygon.cn>
2580 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2583 2018-12-13 Andreas Schwab <schwab@suse.de>
2586 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2587 (__pthread_rwlock_rdlock_full): Update expected value for
2588 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2589 * nptl/tst-rwlock-pwn.c: New file.
2590 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2592 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2594 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2597 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2599 * benchtests/scripts/compare_bench.py (do_compare): write to
2600 stderr in casestat is not present.
2601 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2602 stderr in case timings field is not present. Also string showing
2603 the output filename goes into the stderr.
2605 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2607 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2608 and ZeroDivisorError exceptions.
2609 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2610 argument to loop through user provided statistics.
2611 * benchtests/scripts/compare_bench.py (main): Include the --stats
2614 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2616 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2619 2018-12-12 Florian Weimer <fweimer@redhat.com>
2621 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2622 clause to copyright header.
2624 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2627 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2628 registers saved in the stack frame.
2629 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2630 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2632 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2634 * include/bits/monetary-ldbl.h: New file.
2635 * include/bits/printf-ldbl.h: Likewise.
2636 * include/bits/stdio-ldbl.h: Likewise.
2637 * include/bits/stdlib-ldbl.h: Likewise.
2638 * include/bits/syslog-ldbl.h: Likewise.
2639 * include/bits/wchar-ldbl.h: Likewise.
2641 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2643 * libio/libio.h: Remove redirection for _IO_vfprintf.
2645 2018-12-11 Andreas Schwab <schwab@suse.de>
2647 * Makerules: Remove all references to abilist-pattern.
2648 (update-all-abi): Simplify find expression.
2650 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2653 * math/auto-libm-test-in: Add new test case.
2654 * math/auto-libm-test-out-pow: Regenerated.
2655 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2657 2018-12-10 DJ Delorie <dj@redhat.com>
2660 * support/test-container.c: Move postclean step to before we
2663 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2665 * scripts/gen-as-const.py (main): Handle --python option.
2666 * scripts/gen-py-const.awk: Remove.
2667 * Makerules (py-const-script): Use gen-as-const.py.
2668 ($(py-const)): Likewise.
2669 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2670 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2671 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2672 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2673 ~PTHREAD_MUTEX_NO_ELISION_NP.
2674 * manual/README.pretty-printers: Update reference to
2677 * scripts/glibcextract.py: New file.
2678 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2679 or tempfile. Import glibcexctract.
2680 (compute_c_consts): Remove. Moved to glibcextract.py.
2681 (gen_test): Update reference to compute_c_consts.
2683 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2684 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2685 * sysdeps/unix/sysv/linux/Makefile
2686 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2687 Redirect stderr as well as stdout.
2689 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2692 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2693 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2694 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2695 ALWAYS_USE_VSYSCALL.
2696 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2697 ALWAYS_USE_VSYSCALL.
2698 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2699 ALWAYS_USE_VSYSCALL.
2701 2018-12-10 Florian Weimer <fweimer@redhat.com>
2704 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2705 offset instead of count for clarity. Fix typo in comment.
2706 (__old_getdents64): Keep track of previous offset. Use it to call
2708 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2709 that d_off is never zero.
2711 2018-12-10 Andreas Schwab <schwab@suse.de>
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2714 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2716 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2717 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2719 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2721 * timezone/private.h: Update from tzcode 2018g.
2722 * timezone/tzfile.h: Likewise.
2723 * timezone/tzselect.ksh: Likewise.
2724 * timezone/zdump.c: Likewise.
2725 * timezone/zic.c: Likewise.
2727 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2730 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2731 (do_test): Adjust buffer size and fix format.
2733 2018-12-07 DJ Delorie <dj@redhat.com>
2736 * malloc/tst-tcfree3.c: New.
2737 * malloc/Makefile: Add it.
2739 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2741 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2743 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2745 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2746 used as a mask for the mode argument of __vfscanf_internal and
2747 __vfwscanf_internal.
2748 * stdio-common/vfscanf-internal.c
2749 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2750 (__strtof128_internal): Define to __wcstof128_internal.
2751 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2752 __strtof128_internal or __wcstof128_internal when the format of
2753 long double is the same as _Float128.
2755 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2757 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2758 * posix/confstr.c (confstr): Rename to __confstr.
2759 (__confstr): Add hidden def.
2760 (confstr): Add weak alias for __confstr.
2761 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2764 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2766 * NEWS: Mention getcpu.
2767 * include/sched.h (__getcpu): New libc_hidden_proto.
2768 * manual/resource.texi: Document getcpu.
2769 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2770 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2771 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2772 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2773 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2774 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2775 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2776 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2777 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2778 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2779 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2780 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2781 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2783 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2784 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2785 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2794 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2795 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2796 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2797 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2798 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2799 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2800 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2801 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2802 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2803 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2804 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2807 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2809 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2811 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2813 2018-12-07 Florian Weimer <fweimer@redhat.com>
2816 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2817 * posix/Versions (GLIBC_2.29): Export
2818 posix_spawn_file_actions_addfchdir_np.
2819 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2820 * posix/spawn_faction_destroy.c
2821 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2822 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2823 and the field action.fchdir_action.
2824 * posix/tst-spawn-chdir.c (add_chdir): New function.
2825 (do_test): Add do_fchdir loop. Call add_chdir.
2826 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2827 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2828 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2829 posix_spawn_file_actions_addfchdir_np.
2830 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2832 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2834 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2835 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2837 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2839 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2841 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2843 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2845 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2847 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2848 (GLIBC_2.29): Likewise.
2849 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2850 (GLIBC_2.29): Likewise.
2851 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2852 (GLIBC_2.29): Likewise.
2853 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2854 (GLIBC_2.29): Likewise.
2855 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2858 (GLIBC_2.29): Likewise.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2860 (GLIBC_2.29): Likewise.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2862 (GLIBC_2.29): Likewise.
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2864 (GLIBC_2.29): Likewise.
2865 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2867 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2869 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2871 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2872 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2874 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2876 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2878 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2881 2018-12-06 Joseph Myers <joseph@codesourcery.com>
2883 * manual/texinfo.tex: Update to version 2018-09-21.20 with
2884 trailing whitespace removed.
2885 * scripts/config.guess: Update to version 2018-11-28.
2886 * scripts/config.sub: Update to version 2018-11-28.
2887 * scripts/install-sh: Update to version 2018-03-11.20.
2888 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
2889 * scripts/move-if-change: Update to version 2018-03-07 03:47.
2891 2018-12-07 Florian Weimer <fweimer@redhat.com>
2895 * inet/tst-if_index-long.c: New file.
2896 * inet/Makefile (tests): Add tst-if_index-long.
2898 2018-12-07 Florian Weimer <fweimer@redhat.com>
2900 * support/check.h (support_record_failure_is_failed): Declare.
2901 * support/descriptors.h: New file.
2902 * support/support_descriptors.c: Likewise.
2903 * support/tst-support_descriptors.c: Likewise.
2904 * support/support_record_failure.c
2905 (support_record_failure_is_failed): New function.
2906 * support/Makefile (libsupport-routines): Add support_descriptors.
2907 (tests): Add tst-support_descriptors.
2909 2018-12-05 Zack Weinberg <zackw@panix.com>
2910 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2912 * stdio-common/vfprintf-internal.c
2913 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
2914 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
2915 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
2916 and __no_long_double.
2917 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
2918 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
2919 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
2920 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
2921 and __nldbl_*syslog* functions.
2922 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
2923 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
2924 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
2925 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
2926 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
2927 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
2928 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
2929 (__nldbl_vwprintf, __nldbl_wprintf):
2930 Directly call the appropriate __v*printf_internal routine, passing
2931 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
2933 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
2934 (__nldbl___printf_chk, __nldbl___snprintf_chk)
2935 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
2936 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
2937 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
2938 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2939 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
2940 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
2941 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
2942 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
2943 Likewise, and also pass PRINTF_FORTIFY when appropriate.
2944 (__nldbl_syslog, __nldbl_vsyslog):
2945 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
2946 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2948 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2951 2018-12-05 Zack Weinberg <zackw@panix.com>
2952 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2955 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
2956 Moved here from debug/vsprintf_chk.c.
2957 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
2958 and completion logic for the strfile to match exactly what
2959 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
2960 _IO_str_init_static_internal instead of maxlen-1.
2961 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
2962 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
2963 __vsprintf_internal.
2965 * debug/vsprintf_chk.c (__vsprintf_chk)
2966 * debug/sprintf_chk.c (__sprintf_chk):
2967 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
2968 'flags' argument is positive, and slen as maxlen. No need to lock
2969 the FILE and/or construct a temporary FILE. Minimize and normalize
2970 header inclusions and variable names. Do not libc_hidden_def anything.
2972 * debug/asprintf_chk.c (__asprintf_chk)
2973 * debug/dprintf_chk.c (__dprintf_chk)
2974 * debug/fprintf_chk.c (__fprintf_chk)
2975 * debug/fwprintf_chk.c (__fwprintf_chk)
2976 * debug/printf_chk.c (__printf_chk)
2977 * debug/snprintf_chk.c (__snprintf_chk)
2978 * debug/swprintf_chk.c (__swprintf_chk)
2979 * debug/vasprintf_chk.c (__vasprintf_chk)
2980 * debug/vdprintf_chk.c (__vdprintf_chk)
2981 * debug/vfprintf_chk.c (__vfprintf_chk)
2982 * debug/vfwprintf_chk.c (__vfwprintf_chk)
2983 * debug/vprintf_chk.c (__vprintf_chk)
2984 * debug/vsnprintf_chk.c (__vsnprintf_chk)
2985 * debug/vswprintf_chk.c (__vswprintf_chk)
2986 * debug/vwprintf_chk.c (__vwprintf_chk)
2987 * debug/wprintf_chk.c (__wprintf_chk):
2988 Directly call the corresponding vxxprintf_internal function, passing
2989 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
2990 the FILE and/or construct a temporary FILE. Minimize and normalize
2991 header inclusions and variable names. Do not libc_hidden_def anything.
2993 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
2994 __obstack_vprintf_internal.
2995 (__obstack_vprintf_chk): Convert into a wrapper that calls
2996 __obstack_vprintf_internal (these two functions already had the
2997 same code) and move to new file...
2998 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3000 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3001 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3002 * debug/Makefile (routines): Add vobprintf_chk.
3004 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3005 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3006 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3007 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3008 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3009 (__nldbl___obstack_vfprintf_chk):
3010 Directly call the corresponding vxxprintf_internal function,
3011 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3012 duplicate comparison of slen with 0 or maxlen from the corresponding
3013 non-__nldbl function.
3015 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3016 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3017 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3018 Remove libc_hidden_proto.
3020 * stdio-common/vfprintf-internal.c
3021 (__vfprintf_internal, __vfwprintf_internal):
3022 Do not check _IO_FLAGS2_FORTIFY.
3023 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3024 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3025 a comment explaining why it has the maxlen argument.
3026 (_IO_acquire_lock_clear_flags2_fct): Remove.
3027 (_IO_acquire_lock_clear_flags2): Remove.
3028 (_IO_release_lock): Remove conditional statement which will
3030 (_IO_acquire_lock): Remove variable which is now unused.
3031 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3032 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3034 * stdio-common/Makefile (tests): Add tst-bz11319 and
3035 tst-bz11319-fortify2.
3036 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3037 * stdio-common/tst-bz11319-fortify2.c: New file.
3038 * stdio-common/tst-bz11319.c: Likewise.
3040 2018-12-05 Zack Weinberg <zackw@panix.com>
3041 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3043 * misc/syslog.c: Include libioP.h, not iolibio.h.
3044 (__vsyslog_internal): New function with the former body of
3045 __vsyslog_chk; takes mode_flags argument same as
3046 __v*printf_internal. Call __vfprintf_internal directly.
3048 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3049 Remove libc_hidden_def.
3050 (__syslog, __syslog_chk): Use __vsyslog_internal.
3051 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3053 * include/sys/syslog.h: Add multiple inclusion guard.
3054 Add prototype for __vsyslog_internal.
3055 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3057 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3058 Use __vsyslog_internal.
3060 2018-12-05 Zack Weinberg <zackw@panix.com>
3061 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3063 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3064 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3065 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3067 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3068 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3070 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3071 Include wctype.h here if COMPILE_WPRINTF is defined.
3072 Define __vfprintf_internal or __vfwprintf_internal, depending
3074 Temporarily, on entry to this function, update mode_flags
3075 according to the environmental settings corresponding to
3076 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3077 Throughout, check mode_flags instead of __ldbl_is_dbl and
3078 _IO_FLAGS2_FORTIFY on the destination FILE.
3079 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3080 Include vfprintf-internal.c. Don't include wctype.h.
3081 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3082 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3084 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3085 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3087 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3089 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3090 and add mode_flags argument; use __vfprintf_internal.
3091 (__vdprintf): New function. Alias vdprintf to this.
3092 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3093 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3094 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3095 (__obstack_printf): Use __obstack_printf_internal.
3096 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3097 public aliases __vsnprintf and vsnprintf.
3098 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3100 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3101 public aliases _IO_vsprintf and vsprintf.
3102 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3103 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3104 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3105 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3106 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3108 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3109 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3110 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3111 * stdio-common/printf.c: Use __vfprintf_internal.
3113 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3114 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3115 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3117 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3118 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3119 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3120 __vfwprintf_internal.
3122 * libio/libio.h: Remove libc_hidden_proto and declaration for
3124 Remove declaration of _IO_vfwprintf.
3125 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3127 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3129 * include/stdio.h: Add prototype for __vasprintf.
3130 (__vsnprintf): Remove declaration, because there are no more
3132 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3133 declaration, because there are no more internal calls.
3135 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3136 __vsnprintf_internal, instead of _IO_vsnprintf.
3137 * argp/argp-help.c (__argp_error, __argp_failure): Use
3138 __vasprintf_internal, instead of _IO_vasprintf.
3139 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3140 redefine, because there are no more internal calls.
3142 2018-12-05 Zack Weinberg <zackw@panix.com>
3143 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3145 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3146 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3147 Include libio/strfile.h instead of libioP.h.
3148 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3149 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3150 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3151 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3152 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3153 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3154 necessary. Do not set __no_long_double. Normalize variable names.
3155 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3156 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3157 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3158 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3159 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3160 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3161 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3162 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3163 Do not set __no_long_double. Normalize variable names.
3165 2018-12-05 Zack Weinberg <zackw@panix.com>
3166 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3168 * stdio-common/isoc99_scanf.c
3169 * stdio-common/isoc99_fscanf.c
3170 * stdio-common/isoc99_sscanf.c
3171 * stdio-common/isoc99_vscanf.c
3172 * stdio-common/isoc99_vfscanf.c
3173 * stdio-common/isoc99_vsscanf.c
3174 * wcsmbs/isoc99_wscanf.c
3175 * wcsmbs/isoc99_fwscanf.c
3176 * wcsmbs/isoc99_swscanf.c
3177 * wcsmbs/isoc99_vwscanf.c
3178 * wcsmbs/isoc99_vfwscanf.c
3179 * wcsmbs/isoc99_vswscanf.c:
3180 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3181 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3182 No need to lock and unlock the FILE passed to that function.
3184 * stdio-common/vfscanf-internal.c
3185 (__vfscanf_internal, __vfwscanf_internal):
3186 Don't look at _IO_FLAGS2_SCANF_STD.
3187 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3188 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3189 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3191 2018-12-05 Zack Weinberg <zackw@panix.com>
3192 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3194 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3195 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3196 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3197 * libio/strfile.h: Add multiple inclusion guard.
3198 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3200 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3201 consistency with the other version of this file.
3202 (ldbl_compat_symbol): New macro.
3203 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3206 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3207 Define __vfscanf_internal or __vfwscanf_internal, depending on
3208 COMPILE_WSCANF; don't define any other public symbols.
3209 Remove errval and code to set errp.
3210 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3211 as the mode_flags argument.
3212 (encode_error, conv_error, input_error): Don't set errval.
3213 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3214 Include vfscanf-internal.c.
3215 * stdio-common/vfscanf.c: New file defining the public entry
3216 point vfscanf, which calls __vfscanf_internal.
3217 * stdio-common/vfwscanf.c: New file defining the public entry
3218 point vfwscanf, which calls __vfwscanf_internal.
3220 * stdio-common/iovfscanf.c: New file.
3221 * stdio-common/iovfwscanf.c: Likewise.
3223 * stdio-common/Makefile (routines): Add vfscanf-internal,
3224 vfwscanf-internal, iovfscanf, iovfwscanf.
3225 * stdio-common/Versions: Mention GLIBC_2.29, so that
3226 it can be used in SHLIB_COMPAT expressions.
3227 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3228 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3229 Call __vfscanf_internal, instead of _IO_vfscanf.
3230 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3232 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3235 * libio/iovsscanf.c: Clean up includes, when possible. Use
3236 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3237 __vfscanf_internal or __vfwscanf_internal directly.
3238 * libio/iovswscanf.c: Likewise.
3239 * libio/swscanf.c: Likewise.
3240 * libio/vscanf.c: Likewise.
3241 * libio/vwscanf.c: Likewise.
3242 * libio/wscanf.c: Likewise.
3243 * stdio-common/isoc99_fscanf.c: Likewise.
3244 * stdio-common/isoc99_scanf.c: Likewise.
3245 * stdio-common/isoc99_sscanf.c: Likewise.
3246 * stdio-common/isoc99_vfscanf.c: Likewise.
3247 * stdio-common/isoc99_vscanf.c: Likewise.
3248 * stdio-common/isoc99_vsscanf.c: Likewise.
3249 * stdio-common/scanf.c: Likewise.
3250 * stdio-common/sscanf.c: Likewise.
3251 * wcsmbs/isoc99_fwscanf.c: Likewise.
3252 * wcsmbs/isoc99_swscanf.c: Likewise.
3253 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3254 * wcsmbs/isoc99_vswscanf.c: Likewise.
3255 * wcsmbs/isoc99_vwscanf.c: Likewise.
3256 * wcsmbs/isoc99_wscanf.c: Likewise.
3258 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3261 (__tz_compute): Replace time_t with __time64_t.
3262 (__tz_convert): Replace time_t* with __time64_t.
3263 (__offtime): Replace time_t* with __time64_t.
3265 (__gmtime_r): Adjust call to __tz_convert.
3268 (__localtime_r): Likewise.
3269 (localtime): Likewise.
3270 * time/offtime.c: Replace time_t with __time64_t.
3271 * time/tzset.c: Likewise.
3273 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3275 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3276 dynamic linker unless [$(run-built-tests) = yes].
3278 2018-12-03 DJ Delorie <dj@delorie.com>
3280 * support/test-container.c (check_for_unshare_hints): New.
3281 (main): Call it if unshare fails. Add support for "su" scriptlet
3284 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3286 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3287 'START' to indicate that start text should be output.
3288 (gen_test): Likewise.
3289 (main): Generate 'START' for first symbol or '--' line, or at end
3290 of input if not previously generated.
3292 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3295 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3296 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3297 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3298 ALWAYS_USE_VSYSCALL.
3300 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3303 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3306 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3309 * locale/programs/localedef.c: Declare boolean hard_links default true.
3310 (options): Add --no-hard-links option.
3311 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3312 * locale/programs/localedef.h: Declare prototype for hard_links.
3313 * locale/programs/locfile.c (write_locale_data): Don't use hard
3314 links if hard_links is false.
3316 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3318 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3320 (__cache_sysconf): Likewise.
3321 (init_cacheinfo): Likewise.
3322 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3323 populate COMMON_CPUID_INDEX_80000007 and
3324 COMMON_CPUID_INDEX_80000008.
3325 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3326 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3327 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3328 (init_cpu_features): Use _Static_assert on
3329 index_arch_Fast_Unaligned_Load.
3330 __get_cpuid_registers and __get_arch_feature. Updated for
3331 cpu_features_basic. Set stepping in cpu_features.
3332 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3333 (FEATURE_INDEX_2): New.
3334 (FEATURE_INDEX_MAX): Changed to enum.
3335 (COMMON_CPUID_INDEX_D_ECX_1): New.
3336 (COMMON_CPUID_INDEX_80000007): Likewise.
3337 (COMMON_CPUID_INDEX_80000008): Likewise.
3338 (cpuid_registers): Likewise.
3339 (cpu_features_basic): Likewise.
3340 (CPU_FEATURE_USABLE): Likewise.
3341 (bit_arch_XXX_Usable): Likewise.
3342 (cpu_features): Use cpuid_registers and cpu_features_basic.
3343 (bit_arch_XXX): Reweritten.
3344 (bit_cpu_XXX): Likewise.
3345 (index_cpu_XXX): Likewise.
3346 (reg_XXX): Likewise.
3347 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3349 (CHECK_CPU_FEATURE): New.
3350 (CHECK_CPU_FEATURE_USABLE): Likewise.
3351 (cpu_kinds): Likewise.
3352 (do_test): Print vendor, family, model and stepping. Check
3353 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3354 (TEST_FUNCTION): Removed.
3355 Include <support/test-driver.c> instead of
3356 "../../test-skeleton.c".
3357 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3358 Check POPCNT instead of POPCOUNT.
3359 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3361 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3363 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3364 there is no element in `consts'.
3366 2018-12-01 Florian Weimer <fweimer@redhat.com>
3368 * support/support_capture_subprocess.c
3369 (support_capture_subprocess): Check that pipe descriptors have
3370 expected values. Close original pipe descriptors in subprocess.
3372 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3375 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3376 attr with __pthread_default_barrierattr.
3377 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3378 attr with __pthread_default_condattr.
3379 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3380 attr with __pthread_default_mutexattr.
3381 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3382 attr with __pthread_default_rwlockattr.
3384 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3386 * manual/tunables.texi (POSIX Thread Tunables): New node.
3387 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3388 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3389 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3390 __pthread_tunables_init.
3391 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3392 (max_adaptive_count): Define.
3393 * nptl/pthread_mutex_conf.c: New file.
3394 * nptl/pthread_mutex_conf.h: New file.
3395 * sysdeps/generic/adaptive_spin_count.h: New file.
3396 * sysdeps/nptl/dl-tunables.list: New file.
3397 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3398 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3399 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3402 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3405 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3406 * stdlib/on_exit.c (__on_exit): Likewise.
3407 * stdlib/Makefile (tests): Add tst-bz20544.
3408 * stdlib/tst-bz20544.c: New test.
3410 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3413 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3414 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3417 2018-11-30 Florian Weimer <fweimer@redhat.com>
3419 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3420 Extend error logging.
3421 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3424 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3426 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3427 __sigismember instead of sigismember.
3428 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3429 cancel_handler): New definitions.
3430 (do_system): Use posix_spawn instead of fork and execl and remove
3432 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3433 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3434 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3435 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3436 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3437 * sysdeps/unix/sysv/linux/system.c: Likewise.
3441 * NEWS: Add new semantic for atfork with popen and system.
3442 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3445 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3448 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3449 modification order when accessing reloc_result->addr.
3450 * include/link.h (reloc_result): Add field init.
3451 * nptl/Makefile (tests): Add tst-audit-threads.
3452 (modules-names): Add tst-audit-threads-mod1 and
3453 tst-audit-threads-mod2.
3454 Add rules to build tst-audit-threads.
3455 * nptl/tst-audit-threads-mod1.c: New file.
3456 * nptl/tst-audit-threads-mod2.c: Likewise.
3457 * nptl/tst-audit-threads.c: Likewise.
3458 * nptl/tst-audit-threads.h: Likewise.
3460 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3462 * scripts/gen-as-const.py: New file.
3463 * scripts/gen-as-const.awk: Remove.
3464 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3466 ($(objpfx)test-as-const-%.c): Likewise.
3468 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3470 * elf/dl-exception.c: Include <_itoa.h>.
3472 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3474 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3475 returned by __f_setlk.
3477 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3478 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3480 * elf/Makefile (tests-internal): Add tst-create_format1.
3481 * elf/dl-exception.c (_dl_exception_create_format): Support
3483 * elf/tst-create_format1.c: New file.
3485 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3487 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3488 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3490 * argp/argp-help.c (__argp_failure): Likewise.
3492 2018-11-29 Mao Han <han_mao@c-sky.com>
3494 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3495 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3496 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3497 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3498 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3499 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3500 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3501 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3502 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3503 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3504 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3505 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3506 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3507 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3508 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3509 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3510 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3511 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3512 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3513 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3514 (R_CKCORE_TLS_TPOFF32): New defines.
3516 2018-11-29 Florian Weimer <fweimer@redhat.com>
3518 * posix/Makefile (before-compile): Remove testcases.h and
3520 (generated): Add testcases.h and ptestcases.h.
3521 (testcases.h, ptestcases.h): Move to $(objpfx).
3522 (runtests.o): Add dependency on testcases.h.
3523 (runptests.o): Add dependency on ptestcases.h.
3524 * posix/testcases.h, posix/ptestcases.h: Remove files.
3525 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3526 not touch posix/testcases.h and posix/ptestcases.h.
3528 2018-11-28 Florian Weimer <fweimer@redhat.com>
3530 support: Add signal support to support_capture_subprocess_check.
3531 * support/capture_subprocess.h (support_capture_subprocess_check):
3532 Adjust comment and rename parameter.
3533 * support/support_capture_subprocess_check.c
3534 (print_actual_status): New function.
3535 (support_capture_subprocess_check): Support negative
3536 status_or_signal. Call print_actual_status.
3537 * support/tst-support_capture_subprocess.c (do_test): Call
3538 support_capture_subprocess_check.
3539 * libio/tst-vtables-common.c (termination_status)
3540 (init_termination_status): Remove.
3541 (check_for_termination): Adjust support_capture_subprocess_check
3543 (do_test): Remove call to init_termination_status.
3545 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3547 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3548 source directory instead of a copy.
3549 (CommandList.create_copy_dir): Remove.
3551 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3553 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3555 2018-11-28 Florian Weimer <fweimer@redhat.com>
3557 * support/support.h (support_quote_string): Do not use str
3560 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3562 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3563 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3565 2018-11-27 Florian Weimer <fweimer@redhat.com>
3567 * support/support.h (support_quote_string): Declare.
3568 * support/support_quote_string.c: New file.
3569 * support/tst-support_quote_string.c: Likewise.
3570 * support/Makefile (libsupport-routines): Add
3571 support_quote_string.
3572 (tests): Add tst-support_quote_string.
3574 2018-11-27 Florian Weimer <fweimer@redhat.com>
3578 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3579 descriptor leak in case of ENODEV error.
3581 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3584 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3585 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3586 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3588 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3590 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3591 Error for unknown lines.
3593 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3595 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3596 Touch additional files.
3598 2018-11-26 Florian Weimer <fweimer@redhat.com>
3601 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3604 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3607 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3608 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3609 SHARED. Include sysdep.h.
3610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3611 ALWAYS_USE_VSYSCALL.
3612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3613 ALWAYS_USE_VSYSCALL.
3615 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3618 * nptl/Makefile (tests-static): Add tst-cond11-static.
3620 * nptl/tst-cond11-static.c: New File.
3621 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3622 tst-affinity-static.
3624 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3626 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3627 (USE_VSYSCALL): Likewise.
3628 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3629 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3631 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3636 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3639 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3640 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3643 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3645 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3646 (tst-cet-legacy-1a-ARGS): New.
3647 ($(objpfx)tst-cet-legacy-1a): New target.
3648 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3650 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3652 * conform/conformtest.py (CompileSubTest.__init__): Set
3653 self.run_early to False.
3654 (ExecuteSubTest.__init__): Likewise.
3655 (HeaderTests.run): Try running all non-optional, non-XFAILed
3656 compilation tests in a single execution of the compiler.
3658 * conform/conformtest.py (CompileSubTest): New class.
3659 (ExecuteSubTest): Likewise.
3660 (ElementTest.run): Rename to gen_subtests. Append tests to
3661 self.subtests instead of running them.
3662 (ConstantTest.run): Likewise.
3663 (SymbolTest.run): Likewise.
3664 (TypeTest.run): Likewise.
3665 (TagTest.run): Likewise.
3666 (FunctionTest.run): Likewise.
3667 (VariableTest.run): Likewise.
3668 (MacroFunctionTest.run): Likewise.
3669 (MacroStrTest.run): Likewise.
3670 (HeaderTests.handle_test_line): Generate subtests for tests.
3671 (HeaderTests.run): Run subtests for tests.
3673 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3675 * math/Versions (GLIBC_2.29): Add pow.
3676 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3678 * math/w_pow.c: New file.
3679 * sysdeps/i386/fpu/w_pow.c: New file.
3680 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3682 and add necessary aliases.
3683 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3684 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3685 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3686 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3687 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3688 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3689 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3690 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3691 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3692 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3693 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3694 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3695 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3696 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3697 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3702 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3703 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3704 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3705 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3706 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3707 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3708 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3709 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3711 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3712 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3713 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3715 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3717 * math/Versions (GLIBC_2.29): Add log2.
3718 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3720 * math/w_log2.c: New file.
3721 * sysdeps/i386/fpu/w_log2.c: New file.
3722 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3723 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3724 and add necessary aliases.
3725 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3726 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3727 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3728 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3729 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3730 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3731 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3732 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3733 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3734 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3735 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3736 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3737 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3738 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3739 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3744 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3745 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3746 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3747 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3748 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3749 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3750 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3752 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3754 * math/Versions (GLIBC_2.29): Add log.
3755 * math/w_log_compat.c (__log_compat): Change to versioned compat
3757 * math/w_log.c: New file.
3758 * sysdeps/i386/fpu/w_log.c: New file.
3759 * sysdeps/ia64/fpu/e_log.S: Update.
3760 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3761 and add necessary aliases.
3762 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3763 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3764 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3765 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3766 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3767 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3768 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3769 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3770 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3771 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3772 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3773 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3774 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3775 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3776 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3781 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3782 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3783 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3784 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3785 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3786 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3787 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3788 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3790 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3791 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3792 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3793 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3795 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3797 * math/Versions (GLIBC_2.29): Add exp and exp2.
3798 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3799 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3800 * math/w_exp_compat.c (__exp_compat): Likewise.
3801 * math/w_exp.c: New file.
3802 * math/w_exp2.c: New file.
3803 * sysdeps/i386/fpu/w_exp.c: New file.
3804 * sysdeps/i386/fpu/w_exp2.c: New file.
3805 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3806 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3807 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3808 and add necessary aliases.
3809 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3810 and add necessary aliases.
3811 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3812 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3813 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3814 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3815 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3816 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3817 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3818 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3819 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3820 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3821 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3822 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3823 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3824 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3825 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3826 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3827 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3832 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3833 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3834 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3835 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3836 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3837 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3838 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3839 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3840 (__ieee754_exp): Rename to __exp.
3841 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3842 (__ieee754_exp): Rename to __exp.
3843 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3844 (__ieee754_exp): Rename to __exp.
3845 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3847 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
3849 2018-11-20 DJ Delorie <dj@redhat.com>
3851 * malloc/malloc.c (tcache_entry): Add key field.
3852 (tcache_put): Set it.
3853 (tcache_get): Likewise.
3854 (_int_free): Check for double free in tcache.
3855 * malloc/tst-tcfree1.c: New.
3856 * malloc/tst-tcfree2.c: New.
3857 * malloc/Makefile: Run the new tests.
3858 * manual/probes.texi: Document memory_tcache_double_free probe.
3860 * dlfcn/dlerror.c (check_free): Prevent double frees.
3862 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
3864 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
3866 2018-11-20 Joseph Myers <joseph@codesourcery.com>
3868 * conform/conformtest.py (ElementTest.run): Use unique identifiers
3869 in tests. Use names for format arguments.
3870 (ConstantTest.run): Likewise.
3871 (SymbolTest.run): Likewise.
3872 (TypeTest.run): Likewise.
3873 (TagTest.run): Likewise.
3874 (FunctionTest.run): Likewise.
3875 (VariableTest.run): Likewise.
3876 (MacroFunctionTest.run): Likewise.
3877 (MacroStrTest.run): Likewise.
3878 (HeaderTests.__init__): Set self.num_tests.
3879 (HeaderTests.handle_test_line): Set test.num. Increment
3882 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3884 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
3885 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
3888 2018-11-19 Mao Han <han_mao@c-sky.com>
3890 * scripts/config.guess: Update to version 2018-08-29.
3891 * scripts/config.sub: Update to version 2018-08-29.
3893 2018-11-19 Florian Weimer <fweimer@redhat.com>
3895 support: Print timestamps in timeout handler.
3896 * support/support_test_main.c (print_timestamp): New function.
3897 (signal_handler): Use it to print the termination time and the
3898 time of the last write to standard output.
3900 2018-11-16 Zack Weinberg <zackw@panix.com>
3901 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3903 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
3904 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
3906 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
3907 and add flags argument. Check flags instead of __ldbl_is_dbl when
3908 deciding whether to set is_long_double.
3909 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
3910 passing zero for flags argument.
3911 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
3913 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3914 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
3915 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
3916 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
3917 variable names. Remove libc_hidden_def/libc_hidden_proto from
3918 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
3919 longer called from within the library.
3920 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
3921 for __nldbl___vstrfmon_l, declare it explicitly.
3923 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
3925 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
3927 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
3929 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
3930 F_SETLK64, F_SETLKW64, respectively.
3931 * sysdeps/mach/hurd/f_setlk.c: New file.
3932 * sysdeps/mach/hurd/f_setlk.h: New file.
3933 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
3935 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
3936 (__libc_fcntl): Move non-flock operations to...
3937 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
3938 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
3940 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
3942 mktime: DEBUG_MKTIME cleanup
3943 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
3944 And it’s no longer needed now that glibc and Gnulib both have
3945 their own testing mechanisms for mktime.
3946 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
3948 mktime: fix non-EOVERFLOW errno handling
3950 mktime was not properly reporting failures when the underlying
3951 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
3952 them like EOVERFLOW failures, and set errno to EOVERFLOW.
3953 The problem could happen on non-glibc platforms, with Gnulib.
3954 * time/mktime.c (guess_time_tm): Remove, replacing with ...
3955 (tm_diff): ... this simpler function, which does not change errno.
3956 All callers changed to deal with errno themselves.
3957 (ranged_convert, __mktime_internal): Return failure immediately if
3958 the underlying function reports any failure other than EOVERFLOW.
3959 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
3962 mktime: fix bug with Y2038 DST transition
3964 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
3965 mishandle a DST transition that jumps over the Y2038 boundary.
3966 No such DST transitions are known so this is only a theoretical
3967 bug, but we might as well do things right.
3969 mktime: make more room for overflow
3971 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
3972 This is so that we can add tm_diff results to a previous guess,
3973 which will be useful in a later patch.
3975 mktime: simplify offset guess
3977 * time/mktime.c (__mktime_internal): Omit excess precision.
3979 mktime: new test for mktime failure
3981 Based on a test suggested by Albert Aribaud in:
3982 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
3983 * time/Makefile (tests): Add bug-mktime4.
3984 * time/bug-mktime4.c: New file.
3986 mktime: fix EOVERFLOW bug
3988 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
3989 Include libc-config.h, not config.h, for __set_errno.
3990 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
3992 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
3994 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
3995 __attribute_copy__ to copy attributes from name. Drop static qualifier
3996 to avoid warnings about leaf attribute not having effect on static
3999 2018-11-13 Florian Weimer <fweimer@redhat.com>
4001 * malloc/malloc.c (fastbin_push_entry): New function.
4002 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4003 (REMOVE_FB): Remove macro.
4004 (_int_malloc): Use fastbin_pop_entry and reindent.
4005 (_int_free): Use fastbin_push_entry.
4006 (malloc_consolidate): Use atomic_exchange_acquire.
4008 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4010 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4011 alias attribute, not with strong_alias.
4013 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4014 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4015 with additional parameter thread.
4016 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4017 in terms of __hidden_ver2.
4018 (hidden_tls_def): New macro.
4019 (libc_hidden_tls_def): Likewise.
4020 (rtld_hidden_tls_def): Likewise.
4021 (libm_hidden_tls_def): Likewise.
4022 (libmvec_hidden_tls_def): Likewise.
4023 (libresolv_hidden_tls_def): Likewise.
4024 (librt_hidden_tls_def): Likewise.
4025 (libdl_hidden_tls_def): Likewise.
4026 (libnss_files_hidden_tls_def): Likewise.
4027 (libnsl_hidden_tls_def): Likewise.
4028 (libnss_nisplus_hidden_tls_def): Likewise.
4029 (libutil_hidden_tls_def): Likewise.
4030 (libutil_hidden_tls_def): Likweise.
4031 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4032 libc_hidden_tls_def.
4033 (__sim_disabled_exceptions_thread): Likewise.
4034 (__sim_round_mode_thread): Likewise.
4036 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4037 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4038 copy attributes from name.
4040 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4042 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4043 Use __attribute_copy__ to copy attributes from name.
4045 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4046 with __hidden_ver1 call.
4047 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4048 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4049 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4050 (__cosf): Do not declare here.
4051 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4052 (__sincosf): Do not declare here.
4053 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4054 (__sinf): Do not declare here.
4056 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4057 (__BIG_ENDIAN): Likewise.
4058 (__BYTE_ORDER): Likewise.
4059 (strong_alias): Likewise.
4060 (_strong_alias): Likewise.
4062 2018-11-12 Florian Weimer <fweimer@redhat.com>
4064 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4065 function. Move after the definition of in_smallbin_range. Do not
4066 use __builtin_expect for paths that lead to a noreturn function.
4067 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4068 because it is unclear whether this is in fact an unlikely
4070 (_int_malloc, _int_free): Adjust.
4071 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4073 * malloc/arena.c (heap_trim): Likewise.
4075 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4077 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4078 it, free it if needed.
4079 (reauthenticate): Test and use ccwdir.
4080 (child_init_port): In non-resetids case, test and use ccwdir.
4081 (child_chdir): New nested function to set ccwdir.
4082 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4083 * hurd/hurd/port.h (_hurd_port_move): New function.
4084 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4085 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4086 * hurd/Versions (_hurd_port_move): Export function.
4087 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4089 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4090 of dtablesize for allocating dtable_cloexec.
4092 2018-11-09 Martin Sebor <msebor@redhat.com>
4094 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4095 it's already defined.
4096 (_strong_alias): Use __attribute_copy__.
4097 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4098 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4099 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4100 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4101 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4102 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4103 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4104 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4105 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4106 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4107 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4108 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4109 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4110 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4111 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4112 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4113 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4114 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4115 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4117 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4119 * misc/tst-efgcvt.c: Include support/check.h and
4120 support/test-driver.c. Do not include test-skeleton.c.
4121 (error_count): Remove.
4122 (output_error): Replace increments to error_count with calls to
4123 support_record_failure.
4124 (output_r_error): Likewise.
4125 (special): Likewise.
4126 (do_test): Unconditionally return zero.
4127 (TEST_FUNCTION): Remove.
4129 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4131 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4133 ($(linknamespace-header-tests)): Likewise.
4135 * conform/conformtest.py: New file.
4136 * conform/conformtest.pl: Remove.
4137 * conform/GlibcConform.pm: Likewise.
4138 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4139 (KEYWORDS_C99): Likewise.
4140 (KEYWORDS): Likewise.
4141 * conform/Makefile ($(conformtest-header-tests)): Use
4142 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4143 option. Use --header instead of --headers.
4144 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4146 * conform/data/spawn.h-data: Likewise.
4147 * conform/data/fcntl.h-data (openat): Add space after function
4149 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4150 (wcscasecmp_l): Likewise.
4151 * conform/data/termios.h-data (c_cc): Add space after element
4154 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4156 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4157 instead of manually comparing and reporting mismatching strings.
4158 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4159 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4161 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4163 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4164 __ASSUME_SOCKETCALL.
4165 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4166 (__ASSUME_SOCKETCALL): Remove.
4167 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4168 (__ASSUME_SOCKETCALL): Likewise.
4169 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4170 (__ASSUME_SOCKETCALL): Likewise.
4171 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4172 (__ASSUME_SOCKETCALL): Likewise.
4173 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4174 (__ASSUME_SOCKETCALL): Likewise.
4175 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4176 (__ASSUME_SOCKETCALL): Likewise.
4177 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4178 (__ASSUME_SOCKETCALL): Likewise.
4180 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4183 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4184 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4185 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4186 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4187 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4190 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4193 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4195 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4198 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4199 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4200 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4201 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4203 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4205 * support/support_test_compare_string.c
4206 (support_test_compare_string): Fix printf format.
4208 2018-11-07 Florian Weimer <fweimer@redhat.com>
4210 Implement TEST_COMPARE_STRING.
4211 * support/check.h (TEST_COMPARE_STRING): Define.
4212 (support_test_compare_string): Declare.
4213 * support/Makefile (libsupport-routines): Add
4214 support_test_compare_string.
4215 (tests): Add tst-test_compare_string.
4216 * support/support_test_compare_string.c: New file.
4217 * support/tst-test_compare_string.c: Likewise.
4219 2018-11-07 Andreas Schwab <schwab@suse.de>
4222 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4223 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4226 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4229 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4230 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4231 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4232 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4235 2018-11-06 Florian Weimer <fweimer@redhat.com>
4238 * posix/Makefile (routines): Add spawn_faction_addchdir.
4239 (tests): Add tst-spawn-chdir.
4240 * posix/Versions (GLIBC_2.29): Add
4241 posix_spawn_file_actions_addchdir_np.
4242 * posix/spawn_faction_addchdir.c: New file.
4243 * posix/spawn_faction_destroy.c
4244 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4245 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4246 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4248 * posix/tst-spawn-chdir.c: New file.
4249 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4250 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4251 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4252 posix_spawn_file_actions_addchdir_np.
4253 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4255 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4257 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4258 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4260 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4262 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4264 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4266 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4268 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4270 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4271 (GLIBC_2.29): Likewise.
4272 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4273 (GLIBC_2.29): Likewise.
4274 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4275 (GLIBC_2.29): Likewise.
4276 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4277 (GLIBC_2.29): Likewise.
4278 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4281 (GLIBC_2.29): Likewise.
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4283 (GLIBC_2.29): Likewise.
4284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4285 (GLIBC_2.29): Likewise.
4286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4287 (GLIBC_2.29): Likewise.
4288 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4290 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4292 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4294 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4295 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4297 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4299 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4301 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4304 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4306 * misc/Makefile (tests): Add tst-ldbl-error.
4307 * misc/tst-ldbl-error.c: New file.
4309 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4311 * misc/Makefile (tests): Add tst-ldbl-warn.
4312 * misc/tst-ldbl-warn.c: New file.
4314 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4316 * argp/Makefile (tests): Add tst-ldbl-argp.
4317 * argp/tst-ldbl-argp.c: New file.
4319 2018-11-05 Arjun Shankar <arjun@redhat.com>
4321 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4322 __gconv_path_elem and call __gconv_get_path unconditionally.
4324 2018-11-05 Andreas Schwab <schwab@suse.de>
4327 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4328 creating the first helper thread failed.
4330 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4332 * sysdeps/mach/hurd/msync.c: New file.
4334 2018-11-02 Florian Weimer <fweimer@redhat.com>
4336 * support/shell-container.c (copy_func): Call
4337 support_copy_file_range instead of copy_file_range to support
4338 cross-device copies.
4340 2018-11-02 Florian Weimer <fweimer@redhat.com>
4342 * support/test-container.c: Include <libc-pointer-arith.h> for
4345 2018-11-01 Zong Li <zong@andestech.com>
4347 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4348 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4349 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4350 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4352 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4353 variable to avoid overlap arguments.
4355 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4357 * posix/bug-regex22.c (main): Use puts with distinct error
4358 messages for unexpected success of re_compile_pattern, not printf
4359 with NULL argument to %s.
4361 * stdio-common/bug22.c: Include <libc-diag.h>.
4362 (do_test): Disable -Wformat-overflow= warnings around fprintf
4363 calls outputting more than INT_MAX characters.
4364 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4365 around printf call with NULL %s argument.
4368 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4369 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4371 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4372 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4373 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4374 (__ASSUME_SENDTO_SYSCALL): Likewise.
4375 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4376 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4378 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4379 (__ASSUME_CONNECT_SYSCALL): Likewise.
4380 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4381 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4382 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4384 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4386 [__LINUX_KERNEL_VERSION >= 0x040400]
4387 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4388 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4391 (setsockopt): Likewise.
4393 2018-11-01 Fredrik Noring <noring@nocrew.org>
4395 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4396 with the ISA override.
4398 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4400 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4403 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4405 * manual/errno.texi (EIEIO): Document how translators should
4406 translate the error message.
4407 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4408 printing trailing whitespaces refused by git.
4409 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4410 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4411 * hurd/Makefile (user-interfaces): Add pci.
4413 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4415 * conform/linknamespace.py: New file.
4416 * conform/linknamespace.pl: Remove file.
4417 * conform/Makefile ($(linknamespace-header-tests)): Use
4418 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4421 2018-10-30 Florian Weimer <fweimer@redhat.com>
4423 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4426 2018-10-30 Florian Weimer <fweimer@redhat.com>
4428 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4430 2018-10-30 Florian Weimer <fweimer@redhat.com>
4432 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4433 support_blob_repeat.
4435 2018-10-30 Florian Weimer <fweimer@redhat.com>
4437 Avoid spurious test failures in stdlib/test-bz22786.
4438 * support/Makefile (libsupport-routines): Add blob_repeat.
4439 (tests): Add tst-support_blob_repeat.
4440 * support/blob_repeat.h: New file.
4441 * support/blob_repeat.c: Likewise.
4442 * support/tst-support_blob_repeat.c: Likewise.
4443 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4444 support_blob_repeat_allocate.
4446 2018-10-30 Andreas Schwab <schwab@suse.de>
4449 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4450 Don't use tail call.
4451 * elf/tst-unwind-main.c: New file.
4452 * elf/Makefile (tests): Add tst-unwind-main.
4453 (CFLAGS-tst-unwind-main.c): Define.
4455 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4458 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4460 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4462 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4464 * conform/glibcconform.py: Do not import shutil.
4465 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4468 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4469 critic_missing for versions before 3.4.
4470 * configure: Regenerated.
4471 * manual/install.texi (Tools for Compilation): Document
4472 requirement for Python to build glibc.
4473 * INSTALL: Regenerated.
4474 * Rules [PYTHON]: Make code unconditional.
4475 * benchtests/Makefile [PYTHON]: Likewise.
4476 * conform/Makefile [PYTHON]: Likewise.
4477 * manual/Makefile [PYTHON]: Likewise.
4478 * math/Makefile [PYTHON]: Likewise.
4480 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4482 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4483 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4484 answer to interrupt_operation, return EIEIO instead of EINTR.
4485 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4486 _hurd_intr_rpc_msg_about_to global point to start of controlled
4487 assembly snippet. Make it check canceled flag.
4488 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4489 the _hurd_intr_rpc_msg_about_to point.
4490 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4491 issue, remove cancel flag check.
4493 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4495 * scripts/build-many-glibcs.py: Remove compatibility for missing
4496 os.cpu_count and re.fullmatch.
4498 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4501 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4502 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4503 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4505 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4507 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4510 2018-10-25 Florian Weimer <fweimer@redhat.com>
4514 XFAIL siginfo_t si_band conform test on sparc64.
4515 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4516 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4517 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4518 (conformtest-xfail-conds): Add sparc64-linux.
4519 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4521 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4523 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4525 * elf/elf.h (NT_MIPS_DSP): New macro.
4526 (NT_MIPS_FP_MODE): Likewise.
4528 2018-10-25 Zong Li <zong@andestech.com>
4530 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4531 name by adding the file extension (.so).
4533 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4535 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4536 (test-xfail-ISO11/threads.h/linknamespace,
4537 test-xfail-ISO11/threads.h/conform): Add.
4539 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4541 * math/gen-libm-test.py: Import os.
4542 (ALL_FLOATS_MANUAL): New constant.
4543 (ALL_FLOATS_SUFFIX): Likewise.
4544 (Ulps.all_functions): New function.
4545 (real_all_ulps): Likewise.
4546 (generate_err_table_sub): Likewise.
4547 (generate_err_table): Likewise.
4548 (main): Handle -s and -m options.
4549 * manual/libm-err-tab.pl: Remove.
4550 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4551 instead of libm-err-tab.pl.
4552 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4554 * manual/install.texi (Tools for Compilation): Document
4555 requirement for Python to build manual.
4556 * INSTALL: Regenerated.
4558 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4560 * bits/time64.h: New file.
4561 * include/time.h: Replace internal_time_t with __time64_t.
4562 * posix/bits/types (__time64_t): Add.
4563 * stdlib/Makefile: Add bits/time64.h to includes.
4564 * time/tzfile.c: Replace internal_time_t with __time64_t.
4566 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4568 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4569 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4570 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4571 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4572 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4574 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4575 * posix/spawn_faction_addclose.c
4576 (__posix_spawn_file_actions_addclose): Add hidden definition.
4577 * posix/spawn_faction_adddup2.c
4578 (__posix_spawn_file_actions_adddup2): Likewise.
4579 * posix/spawn_faction_destroy.c
4580 (__posix_spawn_file_actions_destroy): Likewise.
4581 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4583 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4584 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4585 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4587 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4588 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4591 2018-10-24 Andreas Schwab <schwab@suse.de>
4594 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4596 * elf/cache.c (print_cache): Likewise.
4598 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4600 * bits/timesize.h: New file.
4601 * stdlib/Makefile (headers): Add bits/timesize.h.
4602 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4603 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4604 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4605 (__SEM_PAD_AFTER_TIME): Likewise.
4606 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4607 (__SHM_PAD_AFTER_TIME): Likewise.
4608 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4609 (__MSQ_PAD_BEFORE_TIME): Likewise.
4610 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4611 (__SEM_PAD_BEFORE_TIME): Likewise.
4612 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4613 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4614 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4615 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4616 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4617 (__MSQ_PAD_BEFORE_TIME): Likewise.
4618 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4619 (__SEM_PAD_BEFORE_TIME): Likewise.
4620 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4621 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4622 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4623 (__MSQ_PAD_BEFORE_TIME): Likewise.
4624 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4625 (__SEM_PAD_BEFORE_TIME): Likewise.
4626 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4627 (__SHM_PAD_BEFORE_TIME): Likewise.
4628 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4629 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4630 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4632 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4634 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4635 USE_RDTSCP is defined.
4636 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4637 USE_RDTSCP is defined.
4639 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4641 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4645 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4646 independently of other flags.
4648 2018-10-23 Florian Weimer <fweimer@redhat.com>
4650 * time/tst-mktime2.c (N_STRINGS): Remove.
4651 (set_timezone): New function.
4652 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4653 (mktime_test1): Report localtime failure and check errno value.
4655 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4656 (do_test): Remove alarm call. Use set_timezone and array_length.
4658 2018-10-23 Andreas Schwab <schwab@suse.de>
4660 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4661 (__start_context): Use END instead of PSEUDO_END.
4663 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4665 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4668 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4672 * wcsmbs/c32rtomb.c: New file.
4673 * wcsmbs/mbrtoc32.c: Likewise.
4674 * wcsmbs/tst-c32-state.c: Likewise.
4675 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4676 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4677 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4678 (tests): Add tst-c32-state.
4679 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4682 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4684 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4685 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4687 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4690 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4691 pair and return 0 in that case, and use saved character to
4692 interpret following character.
4693 * wcsmbs/tst-c16-surrogate.c: New file.
4694 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4695 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4696 Depend on $(gen-locales)
4698 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4701 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4702 (struct siginfo_t): Use correct type for si_band.
4704 2018-10-19 Florian Weimer <fweimer@redhat.com>
4707 * resource/bits/types/struct_rusage.h (struct rusage): Update
4708 comment on struct. Remove extraneous field comment.
4710 2018-10-18 David S. Miller <davem@davemloft.net>
4712 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4713 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4714 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4715 sysdep_routines in subdir elf.
4716 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4717 version for __vdso_clock_gettime.
4718 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4720 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4721 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4723 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4725 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4727 * sysdeps/i386/init-arch.h: Removed.
4728 * sysdeps/i386/i586/init-arch.h: Likewise.
4729 * sysdeps/i386/i686/init-arch.h: Likewise.
4730 * sysdeps/i386/i686/hp-timing.h: Likewise.
4731 * sysdeps/x86_64/hp-timing.h: Likewise.
4732 * sysdeps/i386/isa.h: New file.
4733 * sysdeps/i386/i586/isa.h: Likewise.
4734 * sysdeps/i386/i686/isa.h: Likewise.
4735 * sysdeps/x86_64/isa.h: Likewise.
4736 * sysdeps/x86/hp-timing.h: New file.
4737 * sysdeps/x86/init-arch.h: Include <isa.h>.
4739 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4741 * math/libm-test-pow.inc (pow_test_data): Do not allow
4742 divide-by-zero exception for pow(+/- 0, -Inf).
4744 2018-10-17 Zack Weinberg <zackw@panix.com>
4746 * manual/job.texi (Job Control is Optional): Remove node, as
4747 job control has not been optional in quite some time.
4748 (Job Control): Mention briefly that systems older than
4749 POSIX.1-2001 might not support job control.
4750 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4751 defined on systems conforming to POSIX.1-2001.
4753 2018-10-17 Arjun Shankar <arjun@redhat.com>
4756 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4758 * (__gconv_read_conf): Mark function static.
4759 * (once): New static variable.
4760 * (__gconv_load_conf): New function.
4761 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4762 * iconv/gconv_db.c (once): Remove static variable.
4763 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4765 * (__gconv_find_transform): Likewise.
4766 * iconv/tst-iconv-mt.c: New test.
4767 * iconv/Makefile: Add tst-iconv_mt.
4769 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4773 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4774 (shmatt_t): Define as __syscall_ulong_t.
4775 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4776 and [__SHM_PAD_AFTER_TIME].
4777 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4778 Define shm_segsz and associated padding based on
4779 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4780 Use __syscall_ulong_t instead of unsigned long int.
4781 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4783 [__USE_MISC] (struct shm_info): Likewise.
4784 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4785 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4786 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4787 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4788 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4789 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4790 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4791 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4792 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4793 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4794 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4798 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4799 (SHMLBA): Remove macro.
4800 (__getpagesize): Remove function declaration.
4801 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4803 (SHMLBA): Remove macro.
4804 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4806 (SHMLBA): Remove macro.
4807 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4809 (SHMLBA): Remove macro.
4810 (__getpagesize): Remove function declaration.
4811 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4813 (SHMLBA): Remove macro.
4814 (__getshmlba): Remove function declaration.
4815 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4816 (SHMLBA): Remove macro.
4817 (__getpagesize): Remove function declaration.
4818 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4819 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4820 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4821 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4822 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4823 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4824 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4825 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4826 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4827 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4829 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4832 * nptl/tst-mutex10.c: New File.
4833 * nptl/Makefile (tests): Add tst-mutex10.
4834 (tst-mutex10-ENV): New variable.
4835 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4836 Ensure that elision path is used if elision is available.
4837 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4839 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4841 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4842 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4843 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4844 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4846 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4847 (__pthread_mutex_cond_lock_adjust): Likewise.
4848 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4850 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
4851 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4852 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4853 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
4855 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4856 Use atomic_load_relaxed and atomic_store_relaxed.
4857 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
4858 Use atomic_store_relaxed.
4860 2018-10-17 Andreas Schwab <schwab@suse.de>
4862 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
4863 * crypt/badsalttest.c (TIMEOUT): Likewise.
4864 * crypt/sha256c-test.c (TIMEOUT): Likewise.
4865 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
4866 * io/test-lfs.c (TIMEOUT): Likewise.
4867 * libio/tst-atime.c (TIMEOUT): Likewise.
4868 * localedata/tst-leaks.c (TIMEOUT): Likewise.
4869 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
4870 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
4871 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
4872 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
4873 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
4874 * nptl/tst-cond11.c (TIMEOUT): Likewise.
4875 * nptl/tst-cond14.c (TIMEOUT): Likewise.
4876 * nptl/tst-cond15.c (TIMEOUT): Likewise.
4877 * nptl/tst-cond24.c (TIMEOUT): Likewise.
4878 * nptl/tst-cond25.c (TIMEOUT): Likewise.
4879 * nptl/tst-kill2.c (TIMEOUT): Likewise.
4880 * nptl/tst-kill3.c (TIMEOUT): Likewise.
4881 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
4882 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
4883 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
4884 * nptl/tst-once2.c (TIMEOUT): Likewise.
4885 * nptl/tst-once3.c (TIMEOUT): Likewise.
4886 * nptl/tst-once4.c (TIMEOUT): Likewise.
4887 * nptl/tst-robust8.c (TIMEOUT): Likewise.
4888 * nptl/tst-robust9.c (TIMEOUT): Likewise.
4889 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
4890 * nptl/tst-sem14.c (TIMEOUT): Likewise.
4891 * nptl/tst-sem6.c (TIMEOUT): Likewise.
4892 * nptl/tst-signal3.c (TIMEOUT): Likewise.
4893 * nptl/tst-spin4.c (TIMEOUT): Likewise.
4894 * nptl/tst-tls3.c (TIMEOUT): Likewise.
4895 * nptl/tst-tls4.c (TIMEOUT): Likewise.
4896 * posix/tst-chmod.c (TIMEOUT): Likewise.
4897 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
4898 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
4899 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
4900 * posix/tst-regex2.c (TIMEOUT): Likewise.
4901 * posix/tst-waitid.c (TIMEOUT): Likewise.
4902 * rt/tst-aio.c (TIMEOUT): Likewise.
4903 * rt/tst-aio10.c (TIMEOUT): Likewise.
4904 * rt/tst-aio4.c (TIMEOUT): Likewise.
4905 * rt/tst-aio5.c (TIMEOUT): Likewise.
4906 * rt/tst-aio6.c (TIMEOUT): Likewise.
4907 * rt/tst-aio64.c (TIMEOUT): Likewise.
4908 * rt/tst-aio7.c (TIMEOUT): Likewise.
4909 * rt/tst-aio9.c (TIMEOUT): Likewise.
4910 * rt/tst-clock.c (TIMEOUT): Likewise.
4911 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
4912 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
4913 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
4914 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
4915 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
4916 * rt/tst-timer4.c (TIMEOUT): Likewise.
4917 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
4918 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
4919 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
4920 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
4921 * time/tst-ftime.c (TIMEOUT): Likewise.
4922 * timezone/tst-tzset.c (TIMEOUT): Likewise.
4924 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4926 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
4927 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
4930 2018-10-15 Joseph Myers <joseph@codesourcery.com>
4932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4934 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
4935 instead of <bits/wordsize.h>.
4936 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
4937 and [__SEM_PAD_AFTER_TIME].
4938 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
4939 __syscall_ulong_t instead of unsigned long int.
4940 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
4941 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
4942 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
4943 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
4944 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
4945 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
4946 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
4947 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
4948 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4949 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4950 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4952 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
4954 regex: simplify by using intprops.h
4956 * posix/regex_internal.h [_LIBC]: Include intprops.h.
4957 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
4958 intprops.h defines them.
4960 regex: __builtin_expect → __glibc_unlikely
4962 This refactoring was prompted by a problem when the regex code is
4963 used as part of Gnulib and when the builder’s compiler does not grok
4964 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
4965 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
4966 Although this refactoring does not fix the problem directly,
4967 we might as well have Gawk use the now-preferred glibc style for when
4968 __builtin_expect is unavailable.
4969 * posix/regex_internal.h (BE): Remove.
4970 All uses replaced by __glibc_unlikely or __glibc_likely.
4972 2018-10-11 Joseph Myers <joseph@codesourcery.com>
4974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4976 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
4977 instead of <bits/wordsize.h>.
4978 (msgqnum_t): Define as __syscall_ulong_t.
4979 (msglen_t): Likewise.
4980 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
4981 and [__MSQ_PAD_AFTER_TIME].
4982 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
4983 __syscall_ulong_t instead of unsigned long int.
4984 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
4985 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
4986 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
4987 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
4988 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
4989 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
4990 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
4991 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
4992 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4993 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4994 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4996 2018-10-10 Joseph Myers <joseph@codesourcery.com>
4998 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
4999 (struct shmid_ds): Condition padding after time fields on
5001 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5002 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5003 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5005 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5006 (struct semid_ds): Condition padding after time fields on
5008 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5009 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5010 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5011 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5013 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5014 (struct msqid_ds): Condition padding after time fields on
5016 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5017 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5018 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5019 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5021 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5023 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5025 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5027 * libio/tst-readline.c (TIMEOUT): Define.
5029 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5031 mktime fix for Gnulib + coreutils
5033 This fix affects only Gnulib. Problem discovered when
5034 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5036 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5037 Do not define since it is not used. Defining an unused static
5038 function prompts a warning from GCC when Coreutils is configured
5039 with --enable-gcc-warnings.
5041 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5043 * benchtests/scripts/compare_bench.py (main): set float type on
5046 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5049 * localedata/locales/kl_GL (mon): Update, the relative case.
5050 (alt_mon): Add, fill with month names in the nominative case.
5051 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5052 (d_fmt): Set to "%b %d %Y".
5054 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5056 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5057 <bits/mman-linux.h>.
5058 (PROT_READ): Don't define here.
5059 (PROT_WRITE): Likewise.
5060 (PROT_EXEC): Likewise.
5061 (PROT_NONE): Likewise.
5062 (PROT_GROWSDOWN): Likewise.
5063 (PROT_GROWSUP): Likewise.
5064 (MAP_SHARED): Likewise.
5065 (MAP_PRIVATE): Likewise.
5066 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5067 [__USE_MISC] (MAP_FILE): Likewise.
5068 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5069 [__USE_MISC] (MAP_ANON): Likewise.
5070 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5071 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5072 (MCL_CURRENT): Likewise.
5073 (MCL_FUTURE): Likewise.
5074 (MCL_ONFAULT): Likewise.
5075 [__USE_MISC] (MADV_NORMAL): Likewise.
5076 [__USE_MISC] (MADV_RANDOM): Likewise.
5077 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5078 [__USE_MISC] (MADV_WILLNEED): Likewise.
5079 [__USE_MISC] (MADV_DONTNEED): Likewise.
5080 [__USE_MISC] (MADV_FREE): Likewise.
5081 [__USE_MISC] (MADV_REMOVE): Likewise.
5082 [__USE_MISC] (MADV_DONTFORK): Likewise.
5083 [__USE_MISC] (MADV_DOFORK): Likewise.
5084 [__USE_MISC] (MADV_HWPOISON): Likewise.
5085 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5086 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5087 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5088 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5089 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5090 (__MAP_ANONYMOUS): New macro.
5091 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5092 <bits/mman-linux.h> inclusion.
5093 (MAP_FIXED): Likewise.
5094 (MS_SYNC): Likewise.
5095 (MS_ASYNC): Likewise.
5096 (MS_INVALIDATE): Likewise.
5097 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5098 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5099 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5100 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5101 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5102 [__USE_MISC] (MADV_DODUMP): Likewise.
5103 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5104 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5107 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5109 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5110 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5111 Add test-nldbl-redirect.
5112 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5113 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5114 $(objpfx)libnldbl_nonshared.a.
5116 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5118 * support/support.h (support_objdir_elf_ldso): New variable.
5119 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5120 * support/Makefile (CFLAGS-support_paths.c): Add definition
5121 for OBJDIR_ELF_LDSO_PATH.
5122 * support/test-container.c (main): Search for the ld.so
5123 which is also used by the testsuite.
5125 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5128 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5129 should be "sap" rather than "sab".
5130 (day): Fix spelling of Sunday, should be "sapaat" rather than
5133 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5135 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5137 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5140 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5141 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5142 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5144 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5146 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5148 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5150 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5152 (CFLAGS-elision-unlock.c): Likewise.
5153 (CFLAGS-elision-timed.c): Likewise.
5154 (CFLAGS-elision-trylock.c): Likewise.
5155 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5157 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5160 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5161 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5162 new fd_to_filename interface.
5163 * libio/freopen64.c (freopen64): Likewise.
5164 * libio/tst-memstream.h: New file.
5165 * libio/tst-memstream4.c: Likewise.
5166 * libio/tst-wmemstream4.c: Likewise.
5167 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5168 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5169 and remove internal dynamic allocation.
5171 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5173 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5174 (MREMAP_MAYMOVE): Do not define here.
5175 [__USE_GNU] (MREMAP_FIXED): Likewise.
5176 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5177 (MREMAP_MAYMOVE): Define here instead.
5178 [__USE_GNU] (MREMAP_FIXED): Likewise.
5179 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5180 (MREMAP_MAYMOVE): Remove.
5181 [__USE_GNU] (MREMAP_FIXED): Likewise.
5183 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5185 * math/fromfp.h: Do not include <math_private.h>.
5186 * math/s_cacosh_template.c: Likewise.
5187 * math/s_casin_template.c: Likewise.
5188 * math/s_casinh_template.c: Likewise.
5189 * math/s_ccos_template.c: Likewise.
5190 * math/s_cproj_template.c: Likewise.
5191 * math/s_fdim_template.c: Likewise.
5192 * math/s_fmaxmag_template.c: Likewise.
5193 * math/s_fminmag_template.c: Likewise.
5194 * math/s_iseqsig_template.c: Likewise.
5195 * math/s_ldexp_template.c: Likewise.
5196 * math/s_nextdown_template.c: Likewise.
5197 * math/w_log1p_template.c: Likewise.
5198 * math/w_scalbln_template.c: Likewise.
5199 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5200 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5201 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5202 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5203 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5204 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5205 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5206 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5207 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5208 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5209 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5210 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5211 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5212 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5213 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5214 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5215 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5216 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5217 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5220 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5221 * sysdeps/ieee754/k_standardf.c: Likewise.
5222 * sysdeps/ieee754/k_standardl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5224 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5225 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5226 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5231 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5232 * sysdeps/ieee754/s_signgam.c: Likewise.
5233 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5234 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5235 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5236 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5237 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5238 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5239 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5240 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5241 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5242 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5243 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5244 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5245 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5246 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5247 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5248 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5249 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5250 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5251 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5252 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5253 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5254 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5255 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5256 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5257 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5258 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5259 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5260 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5261 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5262 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5263 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5264 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5265 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5266 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5267 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5268 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5269 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5271 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5273 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5276 * sysdeps/i386/dl-cet.c: Removed.
5277 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5279 (_dl_runtime_profile_shstk): Likewise.
5280 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5281 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5283 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5286 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5287 do_test_with_invalid_iov): New tests.
5288 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5289 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5290 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5292 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5293 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5294 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5296 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5298 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5299 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5300 (MATH_REDIRECT_BINARY_ARGS): New macro.
5301 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5302 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5303 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5305 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5306 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5307 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5308 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5318 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5319 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5324 * sysdeps/generic/math_private_calls.h
5325 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5326 Do not declare and define as an inline function.
5327 * math/divtc3.c (__divtc3): Use copysign functions instead of
5328 __copysign variants.
5329 * math/multc3.c (__multc3): Likewise.
5330 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5331 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5332 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5333 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5335 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5336 (__ieee754_yn): Likewise.
5337 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5338 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5339 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5340 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5341 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5343 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5344 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5346 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5350 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5351 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5353 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5354 (__ieee754_ynf): Likewise.
5355 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5356 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5357 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5358 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5360 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5361 (__ieee754_ynl): Likewise.
5362 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5363 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5364 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5366 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5367 (__ieee754_ynl): Likewise.
5368 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5371 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5373 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5375 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5376 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5377 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5378 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5379 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5381 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5382 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5383 using MATH_REDIRECT.
5384 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5386 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5389 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5390 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5391 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5392 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5397 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5398 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5400 (round): Redirect to __round.
5401 (__roundl): Call round instead of __round.
5402 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5404 [_ARCH_PWR5X] (__roundf): Likewise.
5405 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5406 functions instead of __round variants.
5407 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5408 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5410 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5412 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5414 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5415 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5417 (__ieee754_expl): Call roundl instead of __roundl.
5419 2018-09-27 Andreas Schwab <schwab@suse.de>
5422 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5423 (do_test): Make st1 static.
5425 2018-09-26 Andreas Schwab <schwab@suse.de>
5428 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5429 * elf/Makefile (tests): Add tst-unwind-ctor.
5430 (modules-names): Add tst-unwind-ctor-lib.
5431 ($(objpfx)tst-unwind-ctor): Depend on
5432 $(objpfx)tst-unwind-ctor-lib.so.
5434 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5436 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5437 file. Most contents moved from ....
5438 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5439 and include <bits/mman-map-flags-generic.h>.
5440 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5441 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5442 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5443 <bits/mman-map-flags-generic.h>.
5444 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5445 macros defined in <bits/mman-map-flags-generic.h>.
5446 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5447 <bits/mman-map-flags-generic.h>.
5448 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5449 defined in <bits/mman-map-flags-generic.h>.
5451 2018-09-26 Andreas Schwab <schwab@suse.de>
5453 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5456 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5457 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5458 Fangrui Song <maskray@google.com>
5461 * config.make.in (have-textrel_ifunc): New define.
5462 * configure.ac: Add check if linker supports textrel relocation with
5464 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5466 (CFLAGS-tst-ifunc-textrel.c): New rule.
5467 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5468 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5469 * elf/tst-ifunc-textrel.c: New file.
5471 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5473 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5474 <bits/procfs-prregset.h>.
5475 (prgregset_t): Define using __prgregset_t.
5476 (prfpregset_t): Define using __prfpregset_t.
5477 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5478 (sysdep_headers): Add bits/procfs-prregset.h.
5479 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5480 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5481 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5482 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5484 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5485 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5486 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5488 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5489 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5490 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5491 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5492 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5493 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5494 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5495 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5496 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5497 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5498 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5499 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5500 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5501 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5502 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5503 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5504 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5505 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5506 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5507 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5508 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5509 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5510 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5511 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5513 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5514 AArch64 version. Include <bits/procfs.h>.
5515 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5516 (sysdep_headers): Add bits/procfs.h.
5517 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5518 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5519 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5520 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5521 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5522 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5523 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5524 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5525 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5526 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5527 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5528 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5529 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5530 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5531 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5532 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5533 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5535 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5537 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5540 2018-09-25 Arjun Shankar <arjun@redhat.com>
5542 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5543 (__gconv_max_path_elem_len): Likewise.
5544 (__gconv_nmodules): Likewise.
5545 (__gconv_get_path): Likewise.
5546 (path_elem): Move to ...
5547 * iconv/gconv_conf.c: ... here.
5548 (__gconv_get_path): Mark function static.
5549 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5550 * iconv/gconv_open.c: ... here.
5552 2018-09-24 Andreas Schwab <schwab@suse.de>
5554 * scripts/haveversions.awk: New file.
5555 * Makerules ($(common-objpfx)Versions.def)
5556 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5557 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5559 * Makeconfig ($(common-objpfx)Versions.def)
5560 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5561 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5563 ($(common-objpfx)Versions.mk): New rule. Include it.
5564 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5565 Emit error if build-obsolete-nsl = yes.
5566 * manual/install.texi (Configuring and compiling): Describe
5567 --enable-obsolete-nsl as unavaiable after version 2.28.
5568 * INSTALL: Regenerate.
5570 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5572 * NEWS: Add note about new TLE support on powerpc64le.
5573 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5574 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5576 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5577 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5578 * sysdeps/powerpc/powerpc32/sysdep.h,
5579 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5580 ABORT_TRANSACTION): Remove macros.
5581 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5582 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5583 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5585 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5586 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5588 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5590 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5593 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5594 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5595 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5596 which is the same as in it_IT.
5597 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5598 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5600 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5602 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5603 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5604 using MATH_REDIRECT.
5605 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5607 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5608 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5609 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5610 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5611 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5612 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5617 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5618 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5619 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5620 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5621 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5622 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5623 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5624 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5625 (ceil): Redirect to __ceil.
5626 (floor): Redirect to __floor.
5627 (trunc): Redirect to __trunc.
5628 (__truncl): Call trunc instead of __trunc.
5629 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5631 [_ARCH_PWR5X] (__truncf): Likewise.
5632 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5633 trunc functions instead of __trunc variants.
5634 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5636 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5638 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5640 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5643 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5644 [__i586__ || __pentium__].
5645 [__i486__]: Handle explicitly.
5646 (HAS_CPUID): Define to 1 if above macros are undefined.
5647 (HAS_I586): Likewise.
5648 (HAS_I686): Likewise.
5650 2018-09-20 Florian Weimer <fweimer@redhat.com>
5652 * misc/tst-gethostid.c: New file.
5653 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5654 (tst-gethostid): Link with -ldl.
5656 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5658 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5659 value from gethostbyname_r.
5661 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5663 * stdlib/tst-setcontext9.c (f1): Rename to...
5665 (f1b): New function implementing lower half of f1 in alternate stack.
5667 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5669 Fix mktime localtime offset confusion
5671 * include/time.h (__mktime_internal): The localtime offset is now
5672 of type long int instead of time_t. This is the longstanding type
5673 in glibc, and it is more than enough to represent difference
5674 between localtime and gmtime even if it is 32 bits and time_t is
5675 64. Changing it now will let us avoid an unnecessary change when
5676 time_t is widened to 64 bits on 32-bit platforms.
5677 * time/mktime-internal.h (mktime_offset_t): Now long int.
5679 Merge mktime, timegm from upstream Gnulib
5680 [BZ #23603][BZ #16346]
5681 This fixes some obscure problems with integer overflow.
5682 Although it looks scary, it is almost all a byte-for-byte copy
5683 from Gnulib, and the Gnulib code has been tested reasonably well.
5684 * include/intprops.h: New file, copied from Gnulib.
5685 * include/verify.h, time/mktime-internal.h:
5686 New tiny files, simplified from Gnulib.
5687 * time/mktime.c: Copy from Gnulib. This has the following changes:
5688 Do not include config.h if DEBUG_MKTIME is nonzero.
5689 Include stdbool.h, intprops.h, verify.h.
5690 Include string.h only if needed.
5691 Include stdlib.h on MS-Windows.
5692 Include mktime-internal.h.
5693 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5694 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5695 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5696 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5697 simplify later conditionals; default the others to zero. Use
5698 these conditionals to express only the code needed on the current
5699 platform. In uses of these conditionals, explicitly spell out how
5700 _LIBC affects things, so it’s easier to review from a glibc
5702 (WRAPV): Remove; no longer needed now that we have
5703 systematic overflow checking.
5704 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5705 compartmentalize tzset issues. Move system-dependent tzsettish
5706 code here from mktime.
5707 (verify): Remove; now done by verify.h. All uses changed.
5708 (long_int): Use a more-conservative definition, to avoid
5710 (SHR): Remove, replacing with ...
5711 (shr): New function, which means we needn’t worry about side
5712 effects in args, and conversion analysis is simpler.
5713 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5714 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5715 (time_t_avg, time_t_add_ok): Remove.
5716 (mktime_min, mktime_max): New constants.
5717 (leapyear, isdst_differ): Use bool for booleans.
5718 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5719 Use long_int, not time_t, for mktime differences.
5720 (long_int_avg): New function, replacing time_t_avg.
5721 INT_ADD_WRAPV replaces time_t_add_ok.
5722 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5724 (convert_time): New function.
5725 (ranged_convert): Use it.
5726 (__mktime_internal): Last arg now points to mktime_offset_t, not
5727 time_t. All uses changed. This is a no-op on glibc, where
5728 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5729 offset guess. Directly check for integer overflow instead of
5730 using a heuristic that works only 99.9...% of the time.
5731 Access *OFFSET only once, to avoid an unlikely race if the
5732 compiler delays a load and if this cascades into a signed integer
5734 (mktime): Move tzsettish code to my_tzset, and move
5735 localtime_offset to within mktime so that it doesn’t
5736 need a separate ifdef.
5737 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5738 instead of localtime.
5739 * time/timegm.c: Copy from Gnulib. This has the following changes:
5740 Include mktime-internal.h.
5741 [!_LIBC]: Include config.h and time.h. Do not include
5742 timegm.h or time_r.h. Make __mktime_internal a macro,
5743 and include mktime-internal.h to get its declaration.
5744 (timegm): Temporary is now mktime_offset_t, not time_t.
5745 This affects only Gnulib.
5747 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5750 * string/test-strstr.c (pr23637): New function.
5751 (test_main): Add tests with longer needles.
5752 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5753 * string/strstr.c (AVAILABLE): Likewise.
5755 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5757 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5759 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5761 * NEWS: Mention pow improvements.
5762 * math/Makefile (type-double-routines): Add e_pow_log_data.
5763 * sysdeps/generic/math_private.h (__exp1): Remove.
5764 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5765 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5766 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5768 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5769 (exp_inline): Remove.
5770 (__ieee754_exp): Only single double input is handled.
5771 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5772 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5773 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5774 (__pow_log_data): Define.
5775 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5776 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5777 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5778 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5780 (CFLAGS-e_pow-fma4.c): Likewise.
5782 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5784 Simplify tzfile fstat failure code
5786 * time/tzfile.c (__tzfile_read): Simplify slightly.
5788 Fix tzfile low-memory assertion failure
5790 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5791 when registering time zone abbreviations.
5793 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5795 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5796 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5797 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5798 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5799 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5800 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5801 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5802 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5803 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5805 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5807 (__ceill): Call ceil instead of __ceil.
5808 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5810 (__floorl): Call floor instead of __floor.
5812 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5814 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5815 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5816 using MATH_REDIRECT.
5817 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5819 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5820 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5821 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5822 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5823 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5824 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5825 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5826 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5831 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5832 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5835 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5836 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5837 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5839 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5840 functions instead of __ceil variants.
5841 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5842 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5844 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5846 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5847 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5849 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5850 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5853 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
5855 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
5856 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
5857 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
5858 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
5859 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
5860 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
5861 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
5862 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
5863 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
5864 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
5865 (ILL_BADIADDR): Remove constant.
5866 (TRAP_BRANCH): Likewise.
5867 (TRAP_HWBKPT): Likewise.
5869 2018-09-14 Joseph Myers <joseph@codesourcery.com>
5872 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
5873 Remove [_MIPS_SIM = _ABIN32] conditional case.
5874 (struct elf_prpsinfo): Likewise.
5877 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
5878 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
5879 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
5881 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
5882 elf_prpsinfo): Likewise.
5883 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
5884 elf_prpsinfo): Likewise.
5885 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
5888 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5889 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
5890 using MATH_REDIRECT.
5891 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
5893 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
5894 * sysdeps/alpha/fpu/s_rint.c: Likewise.
5895 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
5896 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5897 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5898 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5899 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
5900 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5901 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5902 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5903 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
5904 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
5905 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
5906 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5907 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5908 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5909 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5910 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
5911 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
5915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
5916 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5917 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5918 * sysdeps/x86_64/fpu/math_private.h: Remove file.
5919 * math/e_scalb.c (invalid_fn): Use rint functions instead of
5921 * math/e_scalbf.c (invalid_fn): Likewise.
5922 * math/e_scalbl.c (invalid_fn): Likewise.
5923 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5925 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5927 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5928 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
5929 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5931 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5933 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5935 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
5936 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
5938 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5939 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
5941 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5942 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
5943 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5944 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
5945 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5946 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
5947 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5948 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
5949 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5950 && !NO_MATH_REDIRECT] (floor): Likewise.
5951 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
5953 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
5954 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5955 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5956 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
5957 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5958 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5959 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5960 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
5962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
5963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
5964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
5965 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5966 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5969 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
5970 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
5971 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
5973 [_ARCH_PWR5X] (__floorf): Likewise.
5974 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
5976 [__SSE4_1__] (__floorf): Likewise.
5977 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
5978 instead of __floor variants.
5979 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
5980 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
5981 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
5982 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
5983 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
5984 * math/w_tgamma_compat.c (__tgamma): Likewise.
5985 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
5986 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
5987 * math/w_tgammal_compat.c (__tgammal): Likewise.
5988 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
5989 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5991 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5992 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
5993 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5994 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5996 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5997 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
5999 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6000 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6002 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6003 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6005 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6006 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6007 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6008 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6009 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6010 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6012 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6014 * elf/Makefile (modules-names-tests): New variable.
6016 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6018 * NEWS: Mention log2 improvements.
6019 * math/Makefile (type-double-routines): Add e_log2_data.
6020 * sysdeps/i386/fpu/e_log2_data.c: New file.
6021 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6022 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6023 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6024 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6025 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6026 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6028 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6030 * NEWS: Mention log improvement.
6031 * math/Makefile (type-double-routines): Add e_log_data.
6032 * sysdeps/i386/fpu/e_log_data.c: New file.
6033 * sysdeps/ia64/fpu/e_log_data.c: New file.
6034 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6035 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6036 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6037 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6038 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6039 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6041 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6042 Xuepeng Guo <xuepeng.guo@intel.com>
6045 * sysdeps/i386/start.S: Include <sysdep.h>
6046 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6047 enabled. Add cfi_undefined (eip).
6049 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6051 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6053 (EXTRACT_WORDS64): Likewise.
6054 (INSERT_WORDS64): Likewise.
6055 (GET_FLOAT_WORD): Likewise.
6056 (SET_FLOAT_WORD): Likewise.
6058 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6060 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6061 build, but not for second build if --full-gcc. Use
6062 --enable-languages=all for second build if --full-gcc.
6063 (get_parser): Add --full-gcc option.
6064 (main): Update call to Context.
6066 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6069 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6070 Single Quotation Mark).
6071 (thousands_sep): Likewise.
6072 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6073 * localedata/locales/it_IT (thousands_sep): Use ".".
6074 (grouping): Use "3;3".
6076 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6078 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6079 x86_64 and i686 configs using --enable-obsolete-rpc
6080 --enable-obsolete-nsl.
6082 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6084 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6086 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6088 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6089 Increment size of new_argv by one.
6091 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6094 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6095 * localedata/locales/ar_IN (d_fmt): Likewise.
6096 * localedata/locales/bhb_IN (d_fmt): Likewise.
6097 * localedata/locales/bho_IN (d_fmt): Likewise.
6098 * localedata/locales/bn_BD (d_fmt): Likewise.
6099 * localedata/locales/bn_IN (d_fmt): Likewise.
6100 * localedata/locales/doi_IN (d_fmt): Likewise.
6101 * localedata/locales/gu_IN (d_fmt): Likewise.
6102 * localedata/locales/hi_IN (d_fmt): Likewise.
6103 * localedata/locales/hne_IN (d_fmt): Likewise.
6104 * localedata/locales/kn_IN (d_fmt): Likewise.
6105 * localedata/locales/mag_IN (d_fmt): Likewise.
6106 * localedata/locales/mai_IN (d_fmt): Likewise.
6107 * localedata/locales/mjw_IN (d_fmt): Likewise.
6108 * localedata/locales/ml_IN (d_fmt): Likewise.
6109 * localedata/locales/mni_IN (d_fmt): Likewise.
6110 * localedata/locales/mr_IN (d_fmt): Likewise.
6111 * localedata/locales/pa_IN (d_fmt): Likewise.
6112 * localedata/locales/raj_IN (d_fmt): Likewise.
6113 * localedata/locales/sat_IN (d_fmt): Likewise.
6114 * localedata/locales/sd_IN (d_fmt): Likewise.
6115 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6116 * localedata/locales/ta_IN (d_fmt): Likewise.
6117 * localedata/locales/ta_LK (d_fmt): Likewise.
6118 * localedata/locales/tcy_IN (d_fmt): Likewise.
6119 * localedata/locales/ur_IN (d_fmt): Likewise.
6121 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6122 * localedata/locales/ks_IN (d_fmt): Likewise.
6123 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6125 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6126 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6127 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6128 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6130 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6132 * NEWS: Mention exp and exp2 improvements.
6133 * math/Makefile (libm-support): Remove t_exp.
6134 (type-double-routines): Add math_err and e_exp_data.
6135 * sysdeps/aarch64/libm-test-ulps: Update.
6136 * sysdeps/arm/libm-test-ulps: Update.
6137 * sysdeps/i386/fpu/e_exp_data.c: New file.
6138 * sysdeps/i386/fpu/math_err.c: New file.
6139 * sysdeps/i386/fpu/t_exp.c: Remove.
6140 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6141 * sysdeps/ia64/fpu/math_err.c: New file.
6142 * sysdeps/ia64/fpu/t_exp.c: Remove.
6143 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6144 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6145 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6146 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6147 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6148 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6149 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6150 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6151 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6152 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6153 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6154 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6155 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6156 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6160 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6162 * sysdeps/alpha/fpu/math_private.h: Remove.
6164 * sysdeps/generic/math_private.h
6165 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6166 Move this inline function ....
6167 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6168 * include/math.h [!_ISOMAC]: To here....
6170 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6172 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6174 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6175 * include/fenv.h [!_ISOMAC]: ... to here.
6176 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6177 (feraiseexcept): Likewise.
6178 * math/fromfp.h: Do not include <fenv_private.h>.
6179 * math/s_cexp_template.c: Likewise.
6180 * math/s_csin_template.c: Likewise.
6181 * math/s_csinh_template.c: Likewise.
6182 * math/s_ctan_template.c: Likewise.
6183 * math/s_ctanh_template.c: Likewise.
6184 * math/s_iseqsig_template.c: Likewise.
6185 * math/w_acos_compat.c: Likewise.
6186 * math/w_acosf_compat.c: Likewise.
6187 * math/w_acosl_compat.c: Likewise.
6188 * math/w_asin_compat.c: Likewise.
6189 * math/w_asinf_compat.c: Likewise.
6190 * math/w_asinl_compat.c: Likewise.
6191 * math/w_j0_compat.c: Likewise.
6192 * math/w_j0f_compat.c: Likewise.
6193 * math/w_j0l_compat.c: Likewise.
6194 * math/w_j1_compat.c: Likewise.
6195 * math/w_j1f_compat.c: Likewise.
6196 * math/w_j1l_compat.c: Likewise.
6197 * math/w_jn_compat.c: Likewise.
6198 * math/w_jnf_compat.c: Likewise.
6199 * math/w_log10_compat.c: Likewise.
6200 * math/w_log10f_compat.c: Likewise.
6201 * math/w_log10l_compat.c: Likewise.
6202 * math/w_log2_compat.c: Likewise.
6203 * math/w_log2f_compat.c: Likewise.
6204 * math/w_log2l_compat.c: Likewise.
6205 * math/w_log_compat.c: Likewise.
6206 * math/w_logf_compat.c: Likewise.
6207 * math/w_logl_compat.c: Likewise.
6208 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6209 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6210 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6211 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6212 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6213 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6214 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6215 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6216 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6217 * sysdeps/ieee754/k_standardl.c: Likewise.
6218 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6220 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6221 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6222 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6223 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6224 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6226 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6227 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6228 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6229 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6230 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6231 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6232 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6233 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6234 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6235 * math/w_ilogb_template.c: Include <fenv.h> instead of
6237 * math/w_llogb_template.c: Likewise.
6238 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6239 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6241 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6243 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6244 * math/fromfp.h: Include <fenv_private.h>.
6245 * math/math-narrow.h: Likewise.
6246 * math/s_cexp_template.c: Likewise.
6247 * math/s_csin_template.c: Likewise.
6248 * math/s_csinh_template.c: Likewise.
6249 * math/s_ctan_template.c: Likewise.
6250 * math/s_ctanh_template.c: Likewise.
6251 * math/s_iseqsig_template.c: Likewise.
6252 * math/w_acos_compat.c: Likewise.
6253 * math/w_acosf_compat.c: Likewise.
6254 * math/w_acosl_compat.c: Likewise.
6255 * math/w_asin_compat.c: Likewise.
6256 * math/w_asinf_compat.c: Likewise.
6257 * math/w_asinl_compat.c: Likewise.
6258 * math/w_ilogb_template.c: Likewise.
6259 * math/w_j0_compat.c: Likewise.
6260 * math/w_j0f_compat.c: Likewise.
6261 * math/w_j0l_compat.c: Likewise.
6262 * math/w_j1_compat.c: Likewise.
6263 * math/w_j1f_compat.c: Likewise.
6264 * math/w_j1l_compat.c: Likewise.
6265 * math/w_jn_compat.c: Likewise.
6266 * math/w_jnf_compat.c: Likewise.
6267 * math/w_llogb_template.c: Likewise.
6268 * math/w_log10_compat.c: Likewise.
6269 * math/w_log10f_compat.c: Likewise.
6270 * math/w_log10l_compat.c: Likewise.
6271 * math/w_log2_compat.c: Likewise.
6272 * math/w_log2f_compat.c: Likewise.
6273 * math/w_log2l_compat.c: Likewise.
6274 * math/w_log_compat.c: Likewise.
6275 * math/w_logf_compat.c: Likewise.
6276 * math/w_logl_compat.c: Likewise.
6277 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6278 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6279 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6280 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6281 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6282 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6283 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6284 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6285 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6287 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6288 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6291 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6294 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6295 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6296 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6297 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6298 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6299 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6300 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6301 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6302 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6303 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6304 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6305 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6306 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6307 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6308 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6309 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6310 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6311 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6312 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6313 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6314 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6315 * sysdeps/ieee754/k_standardl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6341 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6342 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6346 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6347 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6352 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6353 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6354 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6355 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6356 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6357 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6358 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6359 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6360 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6361 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6362 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6363 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6364 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6365 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6366 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6367 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6368 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6369 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6370 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6371 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6372 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6373 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6374 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6375 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6376 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6377 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6378 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6379 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6380 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6381 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6382 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6383 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6384 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6385 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6386 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6388 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6391 * include/stdio.h (__libc_fatal): Mention newline in comment.
6392 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6393 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6394 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6395 * nss/nsswitch.c (__nss_next2): Likewise.
6396 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6397 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6398 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6399 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6400 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6401 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6402 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6403 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6404 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6405 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6406 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6407 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6408 (__netlink_assert_response): Likewise.
6410 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6412 * conform/glibcconform.py: New file.
6413 * conform/list-header-symbols.py: Likewise.
6414 * conform/list-header-symbols.pl: Remove.
6415 * conform/Makefile (tests-special): Only add linknamespace tests
6417 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6419 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6422 * support/Makefile (libsupport-routines): Add
6423 support_copy_file_range and xcopy_file_range.
6424 * support/support.h: Include <sys/types.h>.
6425 (support_copy_file_range): New prototype.
6426 * support/support_copy_file_range.c: New file. Copied and
6427 modified from io/copy_file_range-compat.c.
6428 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6429 instead of copy_file_range.
6430 * support/xcopy_file_range.c: New file.
6431 * support/xunistd.h (xcopy_file_range): New prototype.
6433 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6435 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6436 xpthread_create and xpthread_join.
6438 2018-08-30 Florian Weimer <fweimer@redhat.com>
6440 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6442 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6444 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6447 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6449 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6450 and minus_oflow as non-finite.
6452 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6454 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6455 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6456 moved to fenv_private.h except for ...
6457 (TOINT_INTRINSICS): Kept in math_private.h.
6458 (roundtoint): Likewise.
6459 (converttoint): Likewise.
6460 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6461 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6462 * sysdeps/arm/math_private.h: Remove.
6463 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6465 * sysdeps/generic/math_private.h: ... this file. Include
6466 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6467 Include <fenv_private.h>. Remove functions and macros moved to
6469 * sysdeps/i386/fpu/math_private.h: Remove.
6470 * sysdeps/mips/math_private.h: Move to ....
6471 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6472 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6473 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6474 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6475 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6476 * sysdeps/powerpc/fpu/math_private.h: Do not include
6478 * sysdeps/riscv/rvf/math_private.h: Move to ....
6479 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6480 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6482 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6483 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6484 * sysdeps/sparc/fpu/math_private.h: Remove.
6485 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6486 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6487 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6489 * sysdeps/x86_64/fpu/math_private.h: Do not include
6490 <sysdeps/i386/fpu/fenv_private.h>.
6492 2018-08-28 Florian Weimer <fweimer@redhat.com>
6495 * posix/tst-regcomp-truncated.c: New file.
6496 * posix/Makefile (tests): Add it.
6497 (tst-regcomp-truncated.out): Depend on generated locales.
6499 2018-08-28 Florian Weimer <fweimer@redhat.com>
6501 * support/test-container.c (main): Treat unshare failure with
6502 EPERM as an unsupported test.
6504 2018-08-28 Florian Weimer <fweimer@redhat.com>
6507 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6508 * nscd/netgroupcache.c
6509 (addgetnetgrentX): Add tofreep parameter. Do not free
6510 heap-allocated buffer.
6511 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6512 (addgetnetgrentX_ignore): New function.
6513 (addgetnetgrent): Call it.
6514 (readdgetnetgrent): Likewise.
6516 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6518 * string/memmem.c: Use memcmp for first match.
6520 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6523 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6525 2018-08-27 DJ Delorie <dj@redhat.com>
6527 * support/Makefile (others): Don't list programs explicitly as a
6528 dependency of "others".
6530 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6532 * sysdeps/generic/math-tests-trap-force.h: New file.
6533 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6534 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6535 * sysdeps/powerpc/math-tests.h: Remove file.
6536 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6538 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6539 Torvald Riegel <triegel@redhat.com>
6542 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6543 Update r to include the set wake-request flag if waiters are
6544 remaining after spinning.
6546 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6548 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6550 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6553 regex: fix uninitialized memory access
6554 I introduced this bug into gnulib in commit
6555 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6556 eventually it was merged into glibc. The bug was found by
6557 project-repo <bugs@feusi.co> and reported here:
6558 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6559 Diagnosis and draft fix reported by Assaf Gordon here:
6560 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6561 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6562 * posix/regex_internal.c (build_wcs_upper_buffer):
6563 Fix bug when mbrtowc returns 0.
6565 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6567 * po/be.po: Update translation.
6569 2018-08-24 DJ Delorie <dj@delorie.com>
6571 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6574 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6577 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6578 create temporary files in source tree.
6580 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6582 * sysdeps/generic/math-tests-trap.h: New file.
6583 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6584 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6585 * sysdeps/aarch64/math-tests.h: Remove file.
6586 * sysdeps/arm/math-tests.h: Likewise.
6587 * sysdeps/riscv/math-tests.h: Likewise.
6588 * sysdeps/aarch64/math-tests-trap.h: New file.
6589 * sysdeps/arm/math-tests-trap.h: Likewise.
6590 * sysdeps/riscv/math-tests-trap.h: Likewise.
6592 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6594 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6595 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6596 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6597 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6598 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6599 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6600 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6601 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6602 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6603 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6604 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6606 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6607 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6608 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6609 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6610 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6611 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6613 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6615 * sysdeps/generic/math-tests-exceptions.h: New file.
6616 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6617 (EXCEPTION_TESTS_float): Do not define here.
6618 (EXCEPTION_TESTS_double): Likewise.
6619 (EXCEPTION_TESTS_long_double): Likewise.
6620 (EXCEPTION_TESTS_float128): Likewise.
6621 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6623 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6624 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6625 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6626 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6627 * sysdeps/mips/math-tests.h: Likewise.
6628 * sysdeps/nios2/math-tests.h: Likewise.
6629 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6630 (EXCEPTION_TESTS_float): Do not define here.
6631 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6632 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6633 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6635 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6637 * NEWS: Move optimized sinf entry to 2.29.
6639 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6641 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6643 2018-08-22 DJ Delorie <dj@redhat.com>
6645 * Makefile (testroot.pristine): New rules to initialize the
6646 test-in-container "testroot".
6647 * Makerules (all-testsuite): Add tests-container.
6648 * Rules (tests-expected): Add tests-container.
6649 (binaries-all-tests): Likewise.
6650 (tests-container): New, run these tests in the testroot container.
6651 * support/Makefile (others): Add *-container, support_paths.c,
6652 xmkdirp, and links-dso-program.
6653 * support/links-dso-program-c.c: New.
6654 * support/links-dso-program.cc: New.
6655 * support/test-container.c: New.
6656 * support/shell-container.c: New.
6657 * support/echo-container.c: New.
6658 * support/true-container.c: New.
6659 * support/xmkdirp.c: New.
6660 * support/xsymlink.c: New.
6661 * support/support_paths.c: New.
6662 * support/support.h: Add support paths prototypes.
6663 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6665 * nss/tst-nss-test3.c: Convert to test-in-container.
6666 * nss/tst-nss-test3.root/: New.
6668 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6670 regex: port Gnulib code to z/OS POSIX environment
6671 Problem reported by Arnold Robbins in:
6672 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6673 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6676 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6678 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6679 (ROUNDING_TESTS_double): Remove.
6680 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6681 (ROUNDING_TESTS_double): Remove.
6682 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6683 (ROUNDING_TESTS_double): Remove.
6684 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6685 (ROUNDING_TESTS_float): Remove.
6686 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6687 (ROUNDING_TESTS_float): Remove.
6688 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6689 (ROUNDING_TESTS_float): Remove.
6690 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6692 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6693 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6695 * sysdeps/generic/math-tests-rounding.h: New file.
6696 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6697 (ROUNDING_TESTS_float): Do not define here.
6698 (ROUNDING_TESTS_double): Likewise.
6699 (ROUNDING_TESTS_long_double): Likewise.
6700 (ROUNDING_TESTS_float128): Likewise.
6701 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6702 (ROUNDING_TESTS_double): Undefine before defining.
6703 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6704 (ROUNDING_TESTS_double): Undefine before defining.
6705 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6706 (ROUNDING_TESTS_double): Undefine before defining.
6707 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6708 (ROUNDING_TESTS_float): Undefine before defining.
6709 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6710 (ROUNDING_TESTS_float): Undefine before defining.
6711 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6712 (ROUNDING_TESTS_float): Undefine before defining.
6713 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6714 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6716 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6717 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6718 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6719 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6720 (ROUNDING_TESTS_float): Do not define here.
6721 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6722 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6723 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6724 (ROUNDING_TESTS_float): Likewise.
6725 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6726 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6727 * sysdeps/mips/math-tests.h [__mips_soft_float]
6728 (ROUNDING_TESTS_float): Likewise.
6729 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6730 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6731 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6732 (ROUNDING_TESTS_double): Likewise.
6733 (ROUNDING_TESTS_long_double): Likewise.
6735 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6737 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6738 (PF_XDP): New macro.
6739 (AF_XDP): New macro.
6740 (SOL_XDP): New macro.
6742 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6744 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6745 (TCP_INQ): Likewise.
6746 (TCP_CM_INQ): Likewise.
6747 (TCP_REPAIR_ON): Likewise.
6748 (TCP_REPAIR_OFF): Likewise.
6749 (TCP_REPAIR_OFF_NO_WP): Likewise.
6750 (struct tcp_zerocopy_receive): New type.
6752 2018-08-21 Florian Weimer <fweimer@redhat.com>
6754 * support/support.h (support_descriptor_supports_holes): Declare.
6755 * support/Makefile (libsupport-routines): Add
6756 support_descriptor_supports_holes.
6757 * support/support_descriptor_supports_holes.c: New file.
6758 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6759 and stop testing if holes are not supported.
6760 * io/test-lfs.c (do_prepare): Likewise.
6761 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6763 * timezone/tst-tzset.c (create_tz_file): Likewise.
6764 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6766 (do_prepare): Set it.
6767 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6769 2018-08-21 Florian Weimer <fweimer@redhat.com>
6772 * Makeconfig (+cflags): Do not sort (and deduplicate).
6774 2018-08-21 Florian Weimer <fweimer@redhat.com>
6776 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6777 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6779 2018-08-20 Florian Weimer <fweimer@redhat.com>
6781 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6782 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6784 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6786 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6787 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6788 and ssi_arch members.
6790 * elf/elf.c (NT_VMCOREDD): New macro.
6791 (AT_MINSIGSTKSZ): Likewise.
6793 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6796 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6797 s_cosf-ppc64 and s_cosf-power8.
6798 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6799 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6800 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6801 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6808 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6809 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6811 2018-08-17 Florian Weimer <fweimer@redhat.com>
6813 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6815 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6817 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6819 2018-08-16 Florian Weimer <fweimer@redhat.com>
6821 * configure.ac: Add --with-nonshared-cflags option.
6822 * config.make.in (extra-nonshared-cflags): Set variable.
6823 * Makeconfig (CFLAGS-.oS): Use it.
6824 * manual/install.texi (Configuring and compiling): Document
6825 --with-nonshared-cflags.
6826 * configure: Regenerate.
6827 * INSTALL: Likewise.
6829 2018-08-16 Florian Weimer <fweimer@redhat.com>
6831 * Makeconfig (ASFLAGS): Always append required assembler flags.
6833 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6835 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6836 (malloc_consolidate): Likewise.
6838 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6840 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6842 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6844 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6847 * benchtests/bench-strlen.c: Print performance numbers in json.
6849 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6851 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6852 (sysdep_routines): Build strcmp-power9 and strncmp-power9
6853 only for little endian.
6854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6855 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
6856 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
6857 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
6858 Add check for little endian.
6859 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6860 (__strcmp_power9): Add check for little endian.
6861 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
6862 Add check for little endian.
6863 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6864 (__strncmp_power9): Add check for little endian.
6865 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
6866 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
6867 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6868 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
6869 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
6871 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
6873 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
6874 [!STRLEN](STRLEN): Set to __strlen.
6875 * sysdeps/aarch64/multiarch/strlen.c: New file.
6876 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
6877 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
6878 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6879 (__libc_ifunc_impl_list): Add strlen.
6880 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6881 strlen_generic and strlen_asimd.
6883 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6885 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
6886 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
6887 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6889 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6891 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
6893 2018-08-14 Florian Weimer <fweimer@redhat.com>
6896 * include/stdio.h (__vfxprintf): Declare.
6897 * stdio-common/fxprintf.c (__vfxprintf): New function.
6898 (__fxprintf): Call it.
6899 * misc/err.c (convert_and_print): Remove function.
6900 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
6901 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
6902 * misc/Makefile (tests): Add tst-warn-wide.
6903 * misc/tst-warn-wide.c: New file.
6905 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
6906 Szabolcs Nagy <szabolcs.nagy@arm.com>
6908 * NEWS: Mention sinf, cosf, sincosf.
6909 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
6910 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
6911 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
6912 constants rather than including generic sincosf.h.
6913 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
6914 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
6915 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
6916 (reduced_cos): Remove.
6917 (sinf_poly): New function.
6918 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
6920 2018-08-14 Florian Weimer <fweimer@redhat.com>
6924 * nss/nss_files/files-alias.c (get_next_alias): During :include:
6925 processing, bail out if no room, and close the stream before
6927 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
6928 (tst-nss-files-alias-leak): Link with libdl.
6929 (tst-nss-files-alias-leak.out): Depend on nss_files.
6931 * nss/tst-nss-files-alias-leak.c: New file.
6933 2018-08-14 Florian Weimer <fweimer@redhat.com>
6935 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
6936 server_user, stat_user.
6938 2018-08-13 Joseph Myers <joseph@codesourcery.com>
6940 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6942 (io_pgetevents): New syscall.
6945 * manual/install.texi (Configuring and compiling): Do not list
6946 tools used for testing pretty printers here.
6947 (Tools for Compilation): List Python, PExpect and GDB here.
6948 Update descriptions of uses of Perl and Python.
6949 * INSTALL: Regenerate.
6951 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6954 2018-08-13 Florian Weimer <fweimer@redhat.com>
6956 * misc/error.c (error): Add missing va_end call.
6957 (error_at_line): Likewise.
6959 2018-08-13 Florian Weimer <fweimer@redhat.com>
6961 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
6963 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
6965 * benchtests/scripts/benchout.schema.json (properties): Add
6968 * benchtests/bench-skeleton.c (main): Add duration and
6969 iterations attributes.
6971 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
6973 regex: Gnulib unibyte RRI uses bytes not chars
6974 Adjust the non-glibc code to agree with what Gawk needs for
6975 rational range interpretation (RRI) for regular expression ranges.
6976 In unibyte locales, Gawk wants ranges to use the underlying byte
6977 rather than the character code point. This change does not affect
6979 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
6980 In unibyte locales, use the byte value rather than
6981 running it through btowc.
6983 2018-08-10 Joseph Myers <joseph@codesourcery.com>
6985 * sysdeps/generic/math-tests-snan.h: New file.
6986 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
6987 (SNAN_TESTS_float): Do not define here.
6988 (SNAN_TESTS_double): Likewise.
6989 (SNAN_TESTS_long_double): Likewise.
6990 (SNAN_TESTS_float128): Likewise.
6991 * sysdeps/i386/fpu/math-tests-snan.h: New file.
6992 * sysdeps/i386/fpu/math-tests.h: Remove file.
6993 * sysdeps/ia64/math-tests-snan.h: New file.
6994 * sysdeps/ia64/math-tests.h: Remove file.
6995 * sysdeps/x86/math-tests.h: Likewise.
6996 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
6998 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
6999 Szabolcs Nagy <szabolcs.nagy@arm.com>
7001 * math/Makefile: Add s_sincosf_data.c.
7002 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7003 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7004 (sincosf_poly): Likewise.
7005 (reduce_small): Likewise.
7006 (reduce_large): Likewise.
7007 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7008 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7009 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7010 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7012 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7013 Szabolcs Nagy <szabolcs.nagy@arm.com>
7015 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7016 (converttoint): Use lround.
7017 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7018 document the semantics when TOINT_INTRINSICS is set.
7019 (converttoint): Likewise.
7020 (TOINT_RINT): Remove.
7021 (TOINT_SHIFT): Remove.
7022 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7025 2018-08-10 Florian Weimer <fweimer@redhat.com>
7028 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7030 (__old_getdents64): Use getdents64. Convert entries without
7032 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7033 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7034 tst-readdir64-compat.
7036 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7038 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7041 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7043 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7044 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7045 code to s390x-mcount.h and #include it.
7046 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7047 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7050 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7052 * stdlib/Versions: Remove __fentry__.
7053 * sysdeps/i386/Versions: Add __fentry__.
7054 * sysdeps/x86_64/Versions: Add __fentry__.
7056 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7058 * sysdeps/s390/Makefile: Register the new tests.
7059 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7060 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7061 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7062 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7063 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7064 * sysdeps/s390/tst-dl-runtime.c: New file.
7066 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7068 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7071 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7073 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7076 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7078 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7081 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7083 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7086 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7088 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7089 Use symbolic offsets for stack variables.
7091 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7093 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7094 Use symbolic offsets for stack variables.
7096 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7098 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7099 Use symbolic offsets for stack variables.
7101 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7103 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7104 Use symbolic offsets for stack variables.
7106 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7108 * math/gen-libm-test.py: New file.
7109 * math/gen-libm-test.pl: Remove.
7110 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7111 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7113 ($(libm-test-c-noauto-obj)): Likewise.
7114 ($(libm-test-c-auto-obj)): Likewise.
7115 ($(libm-test-c-narrow-obj)): Likewise.
7116 (regen-ulps): Likewise.
7117 * math/README.libm-test: Update references to gen-libm-test.pl.
7118 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7119 referencing gen-libm-test.pl.
7120 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7121 * math/libm-test-support.c: Likewise.
7122 * math/libm-test-support.h: Likewise.
7123 * sysdeps/generic/libm-test-ulps: Likewise.
7125 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7127 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7130 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7132 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7133 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7135 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7137 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7139 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7140 __pthread_setspecific): Add hidden proto.
7141 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7142 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7144 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7146 * benchtests/bench-string.h (buf1_size, buf2_size): New
7148 (init_sizes): New function.
7149 (test_init): Use it.
7150 (alloc_buf, exit_error): New functions.
7151 (alloc_bufs): Use ALLOC_BUF.
7152 (realloc_bufs): Remove.
7153 * benchtests/bench-memcmp.c (do_test): Adjust.
7154 * benchtests/bench-memset-large.c (do_test): Likewise.
7155 * benchtests/bench-memset-walk.c (do_test): Likewise.
7156 * benchtests/bench-memset.c (do_test): Likewise.
7157 * benchtests/bench-strncmp.c (do_test): Likewise.
7159 2018-08-06 Andreas Schwab <schwab@suse.de>
7161 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7162 of CONST_THREAD_AREA.
7164 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7166 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7167 (STATE_SAVE_MASK): Likewise.
7168 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7169 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7170 (STATE_SAVE_MASK): Likewise.
7171 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7172 instead of <cpu-features.h>.
7174 2018-08-03 DJ Delorie <dj@redhat.com>
7176 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7177 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7179 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7181 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7183 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7185 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7186 * math/libm-test-logb.inc (logb_test_data): Likewise.
7188 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7190 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7191 * string/strstr.c (AVAILABLE): Likewise.
7193 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7195 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7197 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7198 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7199 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7201 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7203 * po/be.po: Update translation.
7205 * po/be.po: Update translation.
7207 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7209 * sysdeps/x86/cpu-features-offsets.sym
7210 (rtld_global_ro_offsetof): Removed.
7211 (CPU_FEATURES_SIZE): Likewise.
7212 (CPUID_OFFSET): Likewise.
7213 (CPUID_SIZE): Likewise.
7214 (CPUID_EAX_OFFSET): Likewise.
7215 (CPUID_EBX_OFFSET): Likewise.
7216 (CPUID_ECX_OFFSET): Likewise.
7217 (CPUID_EDX_OFFSET): Likewise.
7218 (FAMILY_OFFSET): Likewise.
7219 (MODEL_OFFSET): Likewise.
7220 (FEATURE_OFFSET): Likewise.
7221 (FEATURE_SIZ): Likewise.
7222 (COMMON_CPUID_INDEX_1): Likewise.
7223 (COMMON_CPUID_INDEX_7): Likewise.
7224 (FEATURE_INDEX_1): Likewise.
7225 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7227 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7229 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7230 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7231 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7232 (install-locales): Depend on install-locale-archive.
7233 (install-locale-archive): Define.
7234 (install-locale-files): Define.
7235 (build-one-locale): Define macro.
7236 * manual/install.texi (Running make install): Document.
7237 * manual/INSTALL: Regenerate.
7239 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7241 * benchtests/scripts/compare_strings.py: Import traceback.
7242 (parse_file): Pretty-print error.
7244 * NEWS: Mention the change.
7245 * elf/dl-tunables.list: Rename tune namespace to cpu.
7246 * sysdeps/powerpc/dl-tunables.list: Likewise.
7247 * sysdeps/x86/dl-tunables.list: Likewise.
7248 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7250 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7251 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7252 * manual/README.tunables: Likewise.
7253 * manual/tunables.texi: Likewise.
7254 * sysdeps/powerpc/cpu-features.c: Likewise.
7255 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7256 (init_cpu_features): Likewise.
7257 * sysdeps/x86/cpu-features.c: Likewise.
7258 * sysdeps/x86/cpu-features.h: Likewise.
7259 * sysdeps/x86/cpu-tunables.c: Likewise.
7260 * sysdeps/x86_64/Makefile: Likewise.
7261 * sysdeps/x86/dl-cet.c: Likewise.
7263 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7266 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7267 [__mips_hard_float].
7268 (FE_UNDERFLOW): Likewise.
7269 (FE_OVERFLOW): Likewise.
7270 (FE_DIVBYZERO): Likewise.
7271 (FE_INVALID): Likewise.
7272 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7273 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7274 (FE_UPWARD): Likewise.
7275 (FE_DOWNWARD): Likewise.
7276 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7277 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7278 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7279 [__mips_hard_float].
7280 (FP_ROUNDMODE): Likewise.
7281 (FP_RND_NEAREST): Likewise.
7282 (FP_RND_ZERO): Likewise.
7283 (FP_RND_PINF): Likewise.
7284 (FP_RND_MINF): Likewise.
7285 (FP_EX_INVALID): Likewise.
7286 (FP_EX_OVERFLOW): Likewise.
7287 (FP_EX_UNDERFLOW): Likewise.
7288 (FP_EX_DIVZERO): Likewise.
7289 (FP_EX_INEXACT): Likewise.
7290 (FP_INIT_ROUNDMODE): Likewise.
7291 * sysdeps/mips/nofpu/fesetenv.c: New file.
7292 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7294 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7296 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7297 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7298 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7299 conditional on [FE_UPWARD].
7301 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7303 regex: fix memory leak in Gnulib
7304 Problem and fix reported by Assaf Gordon in:
7305 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7306 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7307 range_ends members too, as they are defined in 'struct
7308 re_charset_t' even if not _LIBC. This affects only Gnulib.
7310 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7312 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7314 (get_common_indices): This.
7315 (init_cpu_features): Updated.
7317 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7319 * sysdeps/generic/math-tests-snan-payload.h: New file.
7320 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7321 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7322 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7323 * sysdeps/generic/math-tests.h: Include
7324 <math-tests-snan-payload.h>.
7325 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7326 * sysdeps/hppa/math-tests.h: Remove file.
7327 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7328 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7329 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7332 * sysdeps/generic/math-tests-snan-cast.h: New file.
7333 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7334 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7335 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7336 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7338 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7340 * version.h (RELEASE): Set to "development".
7341 (VERSION): Set to "2.28.9000".
7342 * NEWS (2.29): New section.
7344 * version.h (RELEASE): Set to "stable".
7345 (VERSION): Set to "2.28".
7346 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7347 * NEWS: Add the list of bugs fixed in 2.28.
7349 * po/ca.po: Update to latest version.
7350 * po/cs.po: Likewise
7351 * po/da.po: Likewise
7352 * po/el.po: Likewise
7353 * po/eo.po: Likewise
7354 * po/es.po: Likewise
7355 * po/fi.po: Likewise
7356 * po/fr.po: Likewise
7357 * po/gl.po: Likewise
7358 * po/hu.po: Likewise
7359 * po/ia.po: Likewise
7360 * po/id.po: Likewise
7361 * po/it.po: Likewise
7362 * po/ja.po: Likewise
7363 * po/ko.po: Likewise
7364 * po/lt.po: Likewise
7365 * po/nb.po: Likewise
7366 * po/nl.po: Likewise
7367 * po/pt_BR.po: Likewise
7368 * po/ru.po: Likewise
7369 * po/rw.po: Likewise
7370 * po/sk.po: Likewise
7371 * po/sl.po: Likewise
7372 * po/tr.po: Likewise
7373 * po/zh_CN.po: Likewise
7374 * po/zh_TW.po: Likewise
7376 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7378 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7380 (init): ... before initializing libpthread.
7382 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7383 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7384 (__mach_setup_tls): ... new function.
7385 (mach_setup_tls): New alias.
7386 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7387 __mach_setup_thread.
7388 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7389 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7390 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7391 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7393 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7395 * manual/install.texi: Update versions.
7396 * INSTALL: Regenerate.
7398 * manual/contrib.texi (Contributors): Update contributions.
7400 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7402 * po/be.po: Update translations.
7404 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7406 * sysdeps/sh/libm-test-ulps: Update.
7408 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7410 * po/bg.po: Update translations.
7411 * po/de.po: Likewise.
7412 * po/hr.po: Likewise.
7413 * po/pt_BR.po: Likewise.
7414 * po/sv.po: Likewise.
7415 * po/vi.po: Likewise.
7417 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7420 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7421 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7422 (CFLAGS-tst-cet-property-1.o): New.
7423 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7424 ($(objpfx)tst-cet-property-2): Likewise.
7425 ($(objpfx)tst-cet-property-2.out): Likewise.
7426 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7427 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7428 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7429 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7430 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7432 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7435 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7437 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7439 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7440 __sbrk): Do not set attribute_hidden.
7441 * sysdeps/mach/hurd/not-errno.h: New file.
7442 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7443 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7445 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7447 * po/uk.po: Update translations.
7448 * po/cs.po: Likewise.
7449 * po/pl.po: Likewise.
7451 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7453 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7454 parse beyond the note end.
7456 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7458 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7459 kernel does not support OFD locks.
7460 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7462 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7464 * sysdeps/mach/hurd/Versions (libc): Make __access and
7465 __access_noerrno external so they can override the ld symbols.
7466 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7467 __writev, __open64, __access_noerrno extern so they can be overrided.
7468 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7469 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7471 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7473 * po/libc.pot: Regenerate.
7475 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7477 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7479 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7482 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7484 (init_cpu_features): Call get_extended_indices for both Intel
7486 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7487 Remove "for AMD" comment.
7489 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7492 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7493 COMMON_CPUID_INDEX_80000001.
7495 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7497 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7498 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7500 2018-07-26 Florian Weimer <fweimer@redhat.com>
7502 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7503 aliases for symbols not in the implementation namespace.
7505 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7508 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7509 lowercase in LATIN script.
7510 * localedata/Makefile (test-input): Add en_US.UTF-8.
7511 * localedata/en_US.UTF-8.in: New file.
7512 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7513 and restore old tests.
7514 * posix/tst-regexloc.c (do_test): Add back range expression test.
7516 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7518 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7520 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7522 * nptl/threads.h: Move to ...
7523 * sysdeps/nptl/threads.h: ... here.
7524 * sysdeps/hurd/stdc-predef.h: New file.
7526 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7528 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7529 tst-cet-setcontext-1 if CET is enabled.
7530 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7531 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7533 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7535 * include/threads.h: Move to ...
7536 * sysdeps/nptl/threads.h: ... here.
7537 * sysdeps/htl/threads.h: New file.
7538 * conform/Makefile (linknamespace-libs-ISO11): Use
7539 static-thread-library instead of linking libpthread.
7540 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7542 2018-07-25 Florian Weimer <fweimer@redhat.com>
7544 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7545 nanoseconds into seconds.
7546 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7547 (do_test): Likewise.
7548 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7549 (do_test): Likewise. Avoid nanosecond overflow and spurious
7550 timeouts due to system load.
7551 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7552 (child_wait): Increment it.
7553 (do_test): Wait as long as necessary until all expected threads
7556 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7557 H.J. Lu <hongjiu.lu@intel.com>
7559 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7561 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7562 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7563 (__push___start_context): New.
7564 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7566 (__getcontext): Record the current shadow stack base. Save the
7567 caller's shadow stack pointer and base.
7568 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7569 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7570 (__push___start_context): New prototype.
7571 (__makecontext): Call __push___start_context to allocate a new
7572 shadow stack, push __start_context onto the new stack as well
7573 as the new shadow stack.
7574 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7576 (__setcontext): Restore the target shadow stack.
7577 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7579 (__swapcontext): Record the current shadow stack base. Save
7580 the caller's shadow stack pointer and base. Restore the target
7582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7583 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7584 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7586 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7588 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7589 tst-setcontext8 and tst-setcontext9.
7590 * stdlib/tst-setcontext6.c: New file.
7591 * stdlib/tst-setcontext7.c: Likewise.
7592 * stdlib/tst-setcontext8.c: Likewise.
7593 * stdlib/tst-setcontext9.c: Likewise.
7595 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7597 * stdlib/Makefile ((tests): Add tst-setcontext5.
7598 * stdlib/tst-setcontext5.c: New file.
7600 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7602 * stdlib/Makefile (tests): Add tst-setcontext4.
7603 * stdlib/tst-setcontext4.c: New file.
7605 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7607 * stdlib/Makefile (tests): Add tst-swapcontext1.
7608 * stdlib/tst-swapcontext1.c: New test.
7610 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7612 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7613 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7614 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7615 and tst-cet-legacy-4c.
7616 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7617 and tst-cet-legacy-mod-4.
7618 (CFLAGS-tst-cet-legacy-2.c): New.
7619 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7620 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7621 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7622 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7623 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7624 ($(objpfx)tst-cet-legacy-1): Likewise.
7625 ($(objpfx)tst-cet-legacy-2): Likewise.
7626 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7627 ($(objpfx)tst-cet-legacy-2a): Likewise.
7628 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7629 ($(objpfx)tst-cet-legacy-4): Likewise.
7630 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7631 ($(objpfx)tst-cet-legacy-4a): Likewise.
7632 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7633 (tst-cet-legacy-4a-ENV): Likewise.
7634 ($(objpfx)tst-cet-legacy-4b): Likewise.
7635 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7636 (tst-cet-legacy-4b-ENV): Likewise.
7637 ($(objpfx)tst-cet-legacy-4c): Likewise.
7638 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7639 (tst-cet-legacy-4c-ENV): Likewise.
7640 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7641 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7642 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7643 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7644 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7645 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7646 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7647 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7648 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7649 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7650 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7652 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7654 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7655 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7657 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7658 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7661 2018-07-25 Andreas Schwab <schwab@suse.de>
7664 * locale/weightwc.h (findidx): Handle the case where usrc is a
7665 prefix of cp but one character too short.
7667 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7669 * NEWS: Add ISO C threads addition.
7671 2018-07-24 Florian Weimer <fweimer@redhat.com>
7673 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7674 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7675 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7678 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7680 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7681 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7682 <sys/prctl.h> and <asm/prctl.h>.
7683 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7684 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7686 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7687 ARCH_CET_LEGACY_BITMAP.
7688 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7689 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7690 * sysdeps/x86/libc-start.c: Include <startup.h>.
7692 2018-07-24 Florian Weimer <fweimer@redhat.com>
7694 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7695 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7697 2018-07-24 Rical Jasan <rj@2c3t.io>
7698 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7699 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7702 * manual/debug.texi: Update adjacent chapter name.
7703 * manual/probes.texi: Likewise.
7704 * manual/threads.texi (ISO C Threads): New section.
7705 (POSIX Threads): Convert to a section.
7707 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7708 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7711 * nptl/Makefile (tests): Add new test files.
7712 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7713 * nptl/tst-cnd-basic.c: Likewise.
7714 * nptl/tst-cnd-broadcast.c: Likewise.
7715 * nptl/tst-cnd-timedwait.c: Likewise.
7716 * nptl/tst-mtx-basic.c: Likewise.
7717 * nptl/tst-mtx-recursive.c: Likewise.
7718 * nptl/tst-mtx-timedlock.c: Likewise.
7719 * nptl/tst-mtx-trylock.c: Likewise.
7720 * nptl/tst-thrd-basic.c: Likewise.
7721 * nptl/tst-thrd-detach.c: Likewise.
7722 * nptl/tst-thrd-sleep.c: Likewise.
7723 * nptl/tst-tss-basic.c: Likewise.
7725 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7728 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7729 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7731 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7732 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7733 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7734 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7735 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7736 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7737 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7738 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7739 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7740 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7741 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7742 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7750 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7751 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7752 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7753 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7754 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7755 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7756 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7757 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7758 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7759 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7760 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7761 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7762 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7764 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7765 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7766 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7767 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7768 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7769 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7770 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7771 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7772 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7773 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7774 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7775 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7782 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7783 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7784 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7785 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7786 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7787 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7788 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7789 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7792 * conform/data/threads.h-data (thread_local): New macro.
7793 (TSS_DTOR_ITERATIONS): Likewise.
7795 (tss_dtor_t): Likewise.
7796 (tss_create): New function.
7797 (tss_get): Likewise.
7798 (tss_set): Likewise.
7799 (tss_delete): Likewise.
7800 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7801 tss_get, and tss_set objects.
7802 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7803 * nptl/tss_create.c: New file.
7804 * nptl/tss_delete.c: Likewise.
7805 * nptl/tss_get.c: Likewise.
7806 * nptl/tss_set.c: Likewise.
7807 * sysdeps/nptl/threads.h (thread_local): New define.
7808 (TSS_DTOR_ITERATIONS): Likewise.
7809 (tss_t): New typedef.
7810 (tss_dtor_t): Likewise.
7811 (tss_create): New prototype.
7812 (tss_get): Likewise.
7813 (tss_set): Likewise.
7814 (tss_delete): Likewise.
7817 * conform/data/threads.h-data (cnd_t): New type.
7818 (cnd_init): New function.
7819 (cnd_signal): Likewise.
7820 (cnd_broadcast): Likewise.
7821 (cnd_wait): Likewise.
7822 (cnd_timedwait): Likewise.
7823 (cnd_destroy): Likewise.
7824 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7825 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7827 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7828 * nptl/cnd_broadcast.c: New file.
7829 * nptl/cnd_destroy.c: Likewise.
7830 * nptl/cnd_init.c: Likewise.
7831 * nptl/cnd_signal.c: Likewise.
7832 * nptl/cnd_timedwait.c: Likewise.
7833 * nptl/cnd_wait.c: Likewise.
7834 * sysdeps/nptl/threads.h (cnd_t): New type.
7835 (cnd_init): New prototype.
7836 (cnd_signa): Likewise.
7837 (cnd_broadcast): Likewise.
7838 (cnd_wait): Likewise.
7839 (cnd_timedwait): Likewise.
7840 (cnd_destroy): Likewise.
7843 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7844 (once_flag): New type.
7845 (call_once): New function.
7846 * nptl/Makefile (libpthread-routines): Add call_once object.
7847 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7848 * nptl/call_once.c: New file.
7849 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
7850 (once_flag): New type.
7851 (call_once): New prototype.
7854 * conform/data/threads.h-data (mtx_plain): New constant.
7855 (mtx_recursive): Likewise.
7856 (mtx_timed): Likewise.
7858 (mtx_init): New function.
7859 (mtx_lock): Likewise.
7860 (mtx_timedlock): Likewise.
7861 (mtx_trylock): Likewise.
7862 (mtx_unlock): Likewise.
7863 (mtx_destroy): Likewise.
7864 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
7865 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
7866 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
7867 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
7868 * nptl/mtx_destroy.c: New file.
7869 * nptl/mtx_init.c: Likewise.
7870 * nptl/mtx_lock.c: Likewise.
7871 * nptl/mtx_timedlock.c: Likewise.
7872 * nptl/mtx_trylock.c: Likewise.
7873 * nptl/mtx_unlock.c: Likewise.
7874 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
7875 (mtx_recursive): Likewise.
7876 (mtx_timed): Likewise.
7878 (mtx_init): New prototype.
7879 (mtx_lock): Likewise.
7880 (mtx_timedlock): Likewise.
7881 (mtx_trylock): Likewise.
7882 (mtx_unlock): Likewise.
7883 (mtx_destroy): Likewise.
7886 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
7887 (linknamespace-libs-ISO11): Add libpthread.a.
7888 * conform/data/threads.h-data: New file: add C11 thrd_* types and
7890 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
7891 * nptl/Makefile (headers): Add threads.h.
7892 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
7893 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
7895 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
7896 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
7897 thrd_join, thrd_sleep, and thrd_yield symbols.
7898 * nptl/descr.h (struct pthread): Add c11 field.
7899 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
7900 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
7901 routine with expected function prototype.
7902 (__pthread_create_2_1): Add C11 threads check based on attribute
7904 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
7905 * nptl/thrd_create.c: New file.
7906 * nptl/thrd_current.c: Likewise.
7907 * nptl/thrd_detach.c: Likewise.
7908 * nptl/thrd_equal.c: Likewise.
7909 * nptl/thrd_exit.c: Likewise.
7910 * nptl/thrd_join.c: Likewise.
7911 * nptl/thrd_priv.h: Likewise.
7912 * nptl/thrd_sleep.c: Likewise.
7913 * nptl/thrd_yield.c: Likewise.
7914 * include/threads.h: Likewise.
7916 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7918 * bits/indirect-return.h: New file.
7919 * misc/sys/cdefs.h (__glibc_has_attribute): New.
7920 * sysdeps/x86/bits/indirect-return.h: Likewise.
7921 * stdlib/Makefile (headers): Add bits/indirect-return.h.
7922 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
7923 (swapcontext): Add __INDIRECT_RETURN.
7924 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
7925 (prepare_test_buffer): Use it.
7927 2018-07-24 Andreas Schwab <schwab@suse.de>
7930 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
7931 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
7933 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7935 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
7936 Redefine if shadow stack is enabled.
7937 (SYSCALL_ERROR_LABEL): Likewise.
7938 (__vfork): Pop shadow stack and jump back to to caller directly
7939 when shadow stack is in use.
7940 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
7941 Redefine if shadow stack is enabled.
7942 (SYSCALL_ERROR_LABEL): Likewise.
7943 (__vfork): Pop shadow stack and jump back to to caller directly
7944 when shadow stack is in use.
7946 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7948 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
7951 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
7954 2018-07-20 Joseph Myers <joseph@codesourcery.com>
7956 * scripts/build-many-glibcs.py (Context.checkout): Default
7957 binutils version to 2.31 branch.
7959 2018-07-20 Zong Li <zong@andestech.com>
7961 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
7962 URL of gcc's tarball.
7964 2018-07-20 Florian Weimer <fweimer@redhat.com>
7967 * posix/regcomp.c (build_equiv_class): When comparing weights, do
7968 not compare an extra byte after the end of the weights.
7970 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
7972 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
7974 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
7976 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
7977 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
7978 * scripts/check-execstack.awk: Consider `xfail' variable containing a
7979 list of libraries whose stack executability is expected.
7980 * elf/Makefile ($(objpfx)check-execstack.out): Pass
7981 $(check-execstack-xfail) to check-execstack.awk through `xfail'
7983 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
7984 libc.so libpthread.so.
7986 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
7988 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
7990 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
7992 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
7994 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
7996 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7998 * benchtests/scripts/compare_bench.py (__main__): use the argparse
7999 library to improve command line parsing.
8000 (__main__): make schema file as optional parameter (--schema),
8001 defaulting to benchtests/scripts/benchout.schema.json.
8002 (main): move out of the parsing stuff to __main_ and leave it
8003 only as caller of main comparison functions.
8005 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8007 * NEWS: Add a note for Intel CET status.
8008 * manual/install.texi: Likewise.
8009 * INSTALL: Regenerated.
8011 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8014 * localedata/locales/oc_FR (mon): Rename to...
8015 (alt_mon): This, then update October (typo fix).
8016 (mon): New content (genitive case, month names preceded by
8020 * localedata/locales/oc_FR (abday): Update all items.
8021 (day): Update Wednesday and Saturday (typo fixes).
8022 (abmon): Update all items, except May.
8023 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8024 (LC_IDENTIFICATION): Bump the revision number and date.
8025 Keep the "category" entries in alphabetic order.
8026 (LC_ADDRESS): Remove no longer needed comment.
8027 (LC_COLLATE): Use “copy "ca_ES"”.
8028 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8031 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8033 * grp/tst_fgetgrent.c: Include <unistd.h>.
8034 (main): Use mkstemp instead of tmpnam.
8035 * io/test-utime.c (main): Likewise.
8036 * posix/annexc.c (macrofile): Change to modifiable array.
8037 (main): Remove macrofile here.
8038 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8040 (check_header): Do not remove macrofile here.
8041 * posix/bug-getopt1.c: Include <stdlib.h>.
8042 (do_test): Use mkstemp instead of tmpnam.
8043 * posix/bug-getopt2.c: Include <stdlib.h>.
8044 (do_test): Use mkstemp instead of tmpnam.
8045 * posix/bug-getopt3.c: Include <stdlib.h>.
8046 (do_test): Use mkstemp instead of tmpnam.
8047 * posix/bug-getopt4.c: Include <stdlib.h>.
8048 (do_test): Use mkstemp instead of tmpnam.
8049 * posix/bug-getopt5.c: Include <stdlib.h>.
8050 (do_test): Use mkstemp instead of tmpnam.
8051 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8052 (main): Use mkstemp instead of tmpnam.
8053 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8054 (main): Use mkstemp instead of tmpnam.
8055 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8056 (main): use mkstemp instead of tmpnam.
8057 * stdlib/isomac.c (macrofile): Change to modifiable array.
8058 (main): Remove macrofile here.
8059 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8061 (check_header): Do not remove macrofile here.
8063 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8065 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8066 glibc.tune.x86_shstk.
8068 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8070 * NEWS: Mention --enable-cet.
8071 * manual/install.texi: Document --enable-cet.
8072 * INSTALL: Regenerated.
8074 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8076 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8077 Add _CET_NOTRACK before indirect jump to jump table.
8079 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8081 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8082 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8085 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8087 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8088 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8091 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8094 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8097 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8099 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8100 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8103 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8105 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8106 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8108 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8110 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8112 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8113 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8116 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8118 * sysdeps/i386/i686/multiarch/memset-sse2.S
8119 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8122 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8124 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8125 indirect jump to jump table.
8127 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8129 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8130 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8134 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8136 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8137 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8141 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8143 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8144 _CET_NOTRACK before indirect jump to jump table.
8146 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8148 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8149 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8152 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8154 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8155 indirect jump to jump table.
8157 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8160 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8161 (LOCALES): Likewise.
8162 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8163 * localedata/locales/sah_RU: New file.
8164 * localedata/sah_RU.UTF-8.in: New file.
8166 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8168 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8170 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8171 _CET_ENDBR to indirect jump targets and adjust jump destination
8173 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8175 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8176 _CET_ENDBR to indirect jump targets and adjust jump destination
8178 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8180 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8181 _CET_ENDBR to indirect jump targets and adjust jump destination
8184 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8186 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8189 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8191 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8193 (_dl_tlsdesc_undefweak): Likewise.
8194 (_dl_tlsdesc_dynamic): Likewise.
8195 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8196 (_dl_tlsdesc_resolve_rel): Likewise.
8197 (_dl_tlsdesc_resolve_rela): Likewise.
8198 (_dl_tlsdesc_resolve_hold): Likewise.
8199 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8200 (_dl_tlsdesc_undefweak): Likewise.
8201 (_dl_tlsdesc_dynamic): Likewise.
8202 (_dl_tlsdesc_resolve_rela): Likewise.
8203 (_dl_tlsdesc_resolve_hold): Likewise.
8205 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8207 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8209 * sysdeps/x86_64/crti.S (_init): Likewise.
8212 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8215 * localedata/locales/os_RU (mon): Rename to...
8217 (mon): Import from CLDR (genitive case).
8219 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8221 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8222 cet-tunables.h> when CET is enabled.
8224 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8227 * configure.ac: Add --enable-cet.
8228 * configure: Regenerated.
8229 * elf/Makefille (all-built-dso): Add a comment.
8230 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8231 Include <dl-prop.h>.
8232 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8234 * elf/dl-open.c: Include <dl-prop.h>.
8235 (dl_open_worker): Call _dl_open_check.
8236 * elf/rtld.c: Include <dl-prop.h>.
8237 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8239 * sysdeps/generic/dl-prop.h: New file.
8240 * sysdeps/i386/dl-cet.c: Likewise.
8241 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8242 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8243 * sysdeps/x86/cet-tunables.h: Likewise.
8244 * sysdeps/x86/check-cet.awk: Likewise.
8245 * sysdeps/x86/configure: Likewise.
8246 * sysdeps/x86/configure.ac: Likewise.
8247 * sysdeps/x86/dl-cet.c: Likewise.
8248 * sysdeps/x86/dl-procruntime.c: Likewise.
8249 * sysdeps/x86/dl-prop.h: Likewise.
8250 * sysdeps/x86/libc-start.h: Likewise.
8251 * sysdeps/x86/link_map.h: Likewise.
8252 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8254 (_dl_runtime_profile): Likewise.
8255 (_dl_runtime_resolve_shstk): New.
8256 (_dl_runtime_profile_shstk): Likewise.
8257 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8259 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8260 (CFLAGS-.os): Likewise.
8261 (CFLAGS-.op): Likewise.
8262 (CFLAGS-.oS): Likewise.
8263 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8265 (tests-special): Add $(objpfx)check-cet.out.
8266 (cet-built-dso): New.
8267 (+$(cet-built-dso:=.note)): Likewise.
8268 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8269 ($(objpfx)check-cet.out): New.
8270 (generated): Add check-cet.out.
8271 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8273 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8274 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8275 (init_cpu_features): Call get_cet_status to check CET status
8276 and update dl_x86_feature_1 with CET status. Call
8277 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8278 (set_x86_shstk). Disable and lock CET in libc.a.
8279 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8280 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8281 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8282 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8283 (_CET_ENDBR): Define if not defined.
8284 (ENTRY): Add _CET_ENDBR.
8285 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8287 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8289 (_dl_runtime_profile): Likewise.
8291 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8294 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8295 restore r2 on longjmp.
8296 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8298 Added rules to build test tst-setjmp-bug21895-static.
8299 Added module setjmp-bug21895 and rules to build a shared object from it.
8300 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8301 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8303 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8305 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8306 * benchtests/bench-strstr.c: Likewise.
8307 * string/memmem.c (FASTSEARCH): Define.
8308 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8309 Add support for FASTSEARCH.
8310 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8311 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8312 (FASTSEARCH): Define.
8313 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8314 * string/test-strstr.c: Likewise.
8316 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8318 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8319 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8321 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8322 H.J. Lu <hongjiu.lu@intel.com>
8324 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8325 (__longjmp): Restore shadow stack pointer if shadow stack is
8326 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8327 isn't defined for __longjmp_cancel.
8328 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8329 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8330 and SHADOW_STACK_POINTER_OFFSET is defined.
8331 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8332 (setjmp): Save shadow stack pointer if shadow stack is enabled
8333 and SHADOW_STACK_POINTER_OFFSET is defined.
8334 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8335 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8336 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8337 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8339 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8340 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8341 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8342 Remove jmp_buf-ssp.sym.
8343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8345 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8346 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8347 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8349 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8350 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8351 (__longjmp): Restore shadow stack pointer if shadow stack is
8352 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8353 isn't defined for __longjmp_cancel.
8354 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8355 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8356 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8358 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8361 * nptl/pthread_create.c: Include <tls-setup.h>.
8362 (__pthread_create_2_1): Call tls_setup_tcbhead.
8363 * sysdeps/generic/tls-setup.h: New file.
8364 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8365 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8366 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8368 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8370 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8371 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8372 (X86_FEATURE_1_SHSTK): Likewise.
8373 (CET_ENABLED): Likewise.
8374 (IBT_ENABLED): Likewise.
8375 (SHSTK_ENABLED): Likewise.
8377 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8380 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8381 (LOCALES): Likewise.
8382 * localedata/dsb_DE.UTF-8.in: New file.
8383 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8385 2018-07-12 Florian Weimer <fweimer@redhat.com>
8387 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8388 __mprotect, not mprotect.
8390 2018-07-11 Florian Weimer <fweimer@redhat.com>
8392 * io/Makefile (headers): Add bits/statx.h.
8394 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8396 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8397 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8399 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8400 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8403 2018-07-10 Florian Weimer <fweimer@redhat.com>
8405 * io/Makefile (routines): Add statx.
8406 (tests-internal): Add tst-statx.
8407 * io/Versions (GLIBC_2.28): Export statx.
8408 * io/bits/statx.h: New file.
8409 * io/sys/stat.h [__USE_GNU]: Include it.
8410 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8411 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8413 * io/statx.c: New file.
8414 * io/statx_generic.: Likewise.
8415 * io/tst-statx.: Likewise.
8416 * include/bits/statx.h: Likewise.
8417 * sysdeps/unix/sysv/linux/kernel-features.h
8418 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8419 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8420 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8421 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8424 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8425 * sysdeps/unix/sysv/linux/statx.c: New file.
8426 * manual/filesys.texi: Note that statx is undocumented.
8427 * sysdeps/**/libc*.abilist: Update.
8429 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8431 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8432 a kernel issue which lead to test failure in some cases.
8434 2018-07-10 Florian Weimer <fweimer@redhat.com>
8437 * posix/regexec.c (check_node_accept_bytes): When comparing
8438 weights, do not compare an extra byte after the end of the
8441 2018-07-10 Florian Weimer <fweimer@redhat.com>
8443 * libio/readline.c: Fix copyright year.
8444 * libio/tst-readline.c Likewise.
8445 * nss/tst-nss-files-hosts-getent.c: Likewise.
8447 2018-07-06 Florian Weimer <fweimer@redhat.com>
8450 * nss/nss_files/files-XXX.c (internal_getent): Use
8451 __libc_readline_unlocked. Seek back to the start of the line if
8452 parsing failes with ERANGE.
8453 (get_contents_ret, get_contents): Remove.
8454 * nss/tst-nss-files-hosts-getent.c: New file.
8455 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8456 (tst-nss-files-hosts-getent): Link with -ldl.
8458 2018-07-06 Florian Weimer <fweimer@redhat.com>
8460 * include/stdio.h (__libc_readline_unlocked): Declare.
8461 (__ftello64, __fseeko64): Declare aliases.
8462 * libio/readline.c: New file.
8463 * libio/tst-readline.c: Likewise.
8464 (routines): Add readline.
8465 (tests-internal): Add tst-readlime.
8466 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8467 __libc_readline_unlocked.
8468 * libio/fseeko.c (__fseeko): Rename from fseeko.
8469 (fseeko): Add alias.
8470 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8471 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8472 (fseeko64): Add alias.
8473 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8474 * libio/ftello64.c (__ftello64): Rename from ftello64.
8475 (ftello64): Add alias.
8477 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8479 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8482 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8484 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8485 Use dl_hwcap without masking.
8486 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8489 2018-07-06 Florian Weimer <fweimer@redhat.com>
8491 * conform/conformtest.pl (checknamespace): Escape literal braces
8492 in regular expressions.
8494 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8496 * sysdeps/x86/cpu-features.c (get_common_indeces):
8497 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8498 * sysdeps/x86/cpu-features.c (init_cpu_features):
8499 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8501 2018-07-05 Florian Weimer <fweimer@redhat.com>
8503 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8505 (CFLAGS-elf-init.oS): Likewise.
8507 2018-07-05 Florian Weimer <fweimer@redhat.com>
8508 Carlos O'Donell <carlos@redhat.com>
8510 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8511 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8512 with stack protector enabled because there is no risk of infinite
8515 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8519 * libc-abis (ABSOLUTE): New ABI.
8520 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8521 * NEWS: Mention the new ABI.
8523 2018-07-05 Florian Weimer <fweimer@redhat.com>
8526 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8527 (RENAME_WHITEOUT): Define.
8528 [__USE_GNU] (renameat2): Declare.
8529 * stdio-common/Makefile (routines): Add renameat2.
8530 (tests): Add tst-renameat2.
8531 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8532 * stdio-common/renameat2.c: New file.
8533 * stdio-common/tst-renameat2.c: Likewise.
8534 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8535 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8537 * sysdeps/unix/sysv/linux/kernel-features.h
8538 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8539 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8540 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8541 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8542 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8543 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8544 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8545 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8546 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8547 * include/stdio.h (__renameat): Add alias for renameat.
8548 * stdio-common/renameat.c (__renameat): Rename from renameat.
8549 Add hidden definition and alias.
8550 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8551 * sysdeps/mach/hurd/renameat.c: Likewise.
8552 * sysdeps/**/libc*.abilist: Add renameat2.
8554 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8556 * posix/bug-regex33.c: Fix build after regex sync.
8558 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8561 * localedata/tst-langinfo-setlocale.c: New file.
8562 * localedata/tst-langinfo-setlocale-static.c: New file.
8563 * localedata/tst-langinfo-newlocale.c: New file.
8564 * localedata/tst-langinfo-newlocale-static.c: New file.
8565 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8566 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8567 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8568 (tests-static): Remove tst-langinfo-static. Add
8569 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8570 (tests-special): Remove $(objpfx)tst-langinfo.out,
8571 $(objpfx)tst-langinfo-static.out. Add
8572 $(objpfx)tst-langinfo-setlocale.out,
8573 $(objpfx)tst-langinfo-newlocale.out,
8574 $(objpfx)tst-langinfo-setlocale-static.out,
8575 $(objpfx)tst-langinfo-newlocale-static.out.
8576 ($(objpfx)tst-langinfo.out): Remove.
8577 ($(objpfx)tst-langinfo-static.out): Remove.
8578 ($(objpfx)tst-langinfo-newlocale.out): New target.
8579 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8580 (test-xfail-tst-langinfo-newlocale-static): Add.
8581 ($(objpfx)tst-langinfo-setlocale.out): New target.
8582 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8583 * localedata/tst-langinfo.c: Call test_locale.
8584 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8587 2018-07-04 Florian Weimer <fweimer@redhat.com>
8589 testrun.sh: Implement --tool=strace, --tool=valgrind
8590 * Makefile (testrun-script): Define variable.
8591 (testrun.sh): Use variable.
8592 * manual/install.texi (Tools for Compilation): make 4.0 or later
8594 * configure.ac: Check for make 4.0 or later.
8595 * INSTALL: Regenerate.
8596 * configure: Likewise.
8598 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8604 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8605 * posix/PCRE.tests: Remove invalid test.
8606 * posix/bug-regex28.c: Fix expected values for used syntax.
8607 * posix/bug-regex37.c: New file.
8608 * posix/bug-regex38.c: Likewise.
8609 * posix/regcomp.c: Sync with gnulib.
8610 * posix/regex.c: Likewise.
8611 * posix/regex.h: Likewise.
8612 * posix/regex_internal.c: Likewise.
8613 * posix/regex_internal.h: Likewise.
8614 * posix/regexec.c: Likewise.
8616 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8619 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8620 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8621 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8622 * localedata/unicode-gen/PropList.txt: likewise.
8623 * localedata/unicode-gen/UnicodeData.txt: likewise.
8624 * localedata/charmaps/UTF-8: Regenerate.
8625 * localedata/locales/i18n_ctype: likewise.
8626 * localedata/locales/tr_TR: likewise.
8627 * localedata/locales/translit_circle: likewise.
8628 * localedata/locales/translit_cjk_compat: likewise.
8629 * localedata/locales/translit_combining: likewise.
8630 * localedata/locales/translit_compat: likewise.
8631 * localedata/locales/translit_font: likewise.
8632 * localedata/locales/translit_fraction: likewise.
8634 2018-07-03 Florian Weimer <fweimer@redhat.com>
8637 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8638 * stdio-common/tst-printf.sh: Adjust expected output.
8641 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8643 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8646 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8648 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8649 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8650 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8651 * stdio-common/tst-printfsz-islongdouble.c: New file.
8652 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8653 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8654 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8655 [subdir == stdio-common] (tests-internal): Add
8656 test-printf-size-ieee128, and test-printf-size-ibm128.
8657 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8658 (CFLAGS-test-printf-size-ibm128.c): New variables.
8659 [subdir == stdio-common] (tests-special): Add
8660 $(objpfx)test-printf-size-ieee128.out and
8661 $(objpfx)test-printf-size-ibm128.out.
8662 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8663 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8664 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8665 __printf_sizeieee128.
8666 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8668 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8670 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8673 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8675 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8676 (exp2f_inline): Likewise.
8677 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8678 (__math_uflowf): Likewise.
8679 (__math_may_uflowf): Likewise.
8680 (__math_divzerof): Likewise.
8681 (__math_invalidf): Likewise.
8682 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8683 (__math_oflowf): Likewise.
8684 (__math_uflowf): Likewise.
8685 (__math_may_uflowf): Likewise.
8686 (__math_divzerof): Likewise.
8687 (__math_invalidf): Likewise.
8689 2018-06-29 DJ Delorie <dj@redhat.com>
8690 Carlos O'Donell <carlos@redhat.com>
8693 * include/libc-symbols.h: Comment the freeres framework.
8694 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8695 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8696 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8697 * dlfcn/dlerror.c: Include libc-symbols.h
8698 (__dlerror_main_freeres): New function.
8699 * dlfcn/dlfreeres.c: New file.
8700 * dlfcn/sdlfreeres.c: New file.
8701 * include/dlfcn.h: Declare __dlerror_main_freeres.
8702 * malloc/set-freeres.c: Declare __libdl_freeres, and
8703 __libpthread_freeres.
8704 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8705 the releavant libraries are loaded.
8706 * malloc/thread-freeres.c: Add comments.
8707 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8708 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8709 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8710 (__free_stacks): Rename to...
8711 (free_stacks): ...this. Mark static.
8712 (queue_stack): Call free_stacks.
8713 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8714 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8715 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8716 ptr_freeres element from struct.
8717 (pthread_functions): Remove .ptr_freeres from struct initializer.
8718 [SHARED] (nptl_freeres): Remove.
8719 * nptl/nptlfreeres.c: New file.
8721 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8722 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8724 (__free_stacks): Rename to...
8725 (__nptl_stacks_freeres): ...this.
8726 (__shm_directory_freeres): Declare.
8727 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8728 (__nptl_unwind_freeres): ...this.
8729 * resolv/res-close.c: Add comment.
8730 * resolv/resolv_conf.c: Include libc-symbols.h.
8731 * string/strerror_l.c: Include libc-symbols.h.
8732 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8733 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8734 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8735 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8737 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8739 * stdlib/tst-strfmon_l.c: Add tests for long double.
8741 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8744 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8745 * localedata/locales/dsb_DE: New file.
8747 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8750 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8752 (alt_mon): New entry, import from CLDR (nominative case).
8754 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8757 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8759 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8761 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8762 Use vector registers.
8764 * sysdeps/aarch64/multiarch/memmove_falkor.S
8765 (__memcpy_falkor): Use vector registers.
8767 2018-06-29 Martin Sebor <msebor@redhat.com>
8769 * manual/stdio.texi (Customizing Printf): Mention interaction
8772 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8775 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8776 `st_value' is 0 if `st_shndx' is SHN_ABS.
8777 * elf/tst-absolute-zero.c: New file.
8778 * elf/tst-absolute-zero-lib.c: New file.
8779 * elf/tst-absolute-zero-lib.lds: New file.
8780 * elf/Makefile (tests): Add `tst-absolute-zero'.
8781 (modules-names): Add `tst-absolute-zero-lib'.
8782 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8783 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8784 ($(objpfx)tst-absolute-zero: New dependency.
8786 2018-06-29 Zack Weinberg <zackw@panix.com>
8788 * configure.ac: New command-line option --disable-crypt.
8789 Force --disable-nss-crypt when --disable-crypt is given, with a
8790 warning if it was explicitly enabled.
8791 * configure: Regenerate.
8792 * config.make.in: New boolean substitution variable $(build-crypt).
8793 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8794 when $(build-crypt).
8795 * manual/install.texi: Document --disable-crypt.
8796 * INSTALL: Regenerate.
8798 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8800 * conform/Makefile: Only include libcrypt.a in
8801 linknamespace-libs-xsi and linknamespace-libs-XPG4
8802 when $(build-crypt).
8803 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8804 USE_CRYPT to 1 when $(build-crypt).
8805 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8806 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8807 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8809 2018-06-29 Zack Weinberg <zackw@panix.com>
8811 * crypt/crypt.h, posix/unistd.h: Update comments and
8812 prototypes for crypt and crypt_r.
8814 * manual/crypt.texi (Cryptographic Functions): New initial
8816 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8817 (Unpredictable Bytes): Improve initial exposition. Clarify error
8818 behavior of getentropy and getrandom.
8819 * manual/examples/genpass.c: Generate a salt using getentropy
8820 instead of the current time. Use hash $5$ (SHA-2-256).
8821 * manual/examples/testpass.c: Demonstrate validation against
8822 hashes generated with three different one-way functions.
8824 * manual/intro.texi: crypt.texi does not need an overview
8827 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8828 * manual/terminal.texi: Consistently refer to "passphrases"
8829 * instead of "passwords", and to the "user database" instead
8830 * of the "password database".
8831 * manual/users.texi: Similarly. Add notes about how actual
8832 passphrase hashes are now stored in the shadow database.
8833 Remove 20-year-old junk todo note.
8835 2018-06-29 Zack Weinberg <zackw@panix.com>
8837 * manual/crypt.texi: Use a normal top-level @node declaration.
8838 Move most of the introductory text to the 'crypt' section.
8839 Move the example programs below the @deftypefun for 'crypt_r'.
8840 Move the 'getpass' section...
8841 * manual/terminal.texi: ...here.
8843 2018-06-29 Zack Weinberg <zackw@panix.com>
8844 Florian Weimer <fweimer@redhat.com>
8846 * posix/unistd.h: Do not declare encrypt.
8847 (_XOPEN_CRYPT): Remove macro definition.
8848 (crypt): Declare only for _USE_MISC.
8849 * stdlib/stdlib.h: Do not declare setkey.
8850 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
8851 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
8853 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
8854 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
8855 into compat symbols. Don't define initial_perm if it's not
8857 * crypt/cert.c: Link explicitly with the expected versions for
8858 setkey and encrypt. If they are not available at all, mark
8859 the test as unsupported.
8861 * sunrpc/des_crypt.c: Unconditionally block linkage with
8862 cbc_crypt and ecb_crypt for new binaries.
8863 * sunrpc/des_soft.c: Unconditionally block linkage with
8864 des_setparity for new binaries.
8866 * manual/crypt.texi: Remove the entire "DES Encryption"
8867 section. Also remove the paragraph talking about FIPS 140-2
8868 from the introduction.
8869 * manual/string.texi (strfry, memfrob): Revise. Recommend use
8870 of libgcrypt for "real" encryption, not DES.
8871 * manual/conf.texi (Constants for Sysconf): Mention that
8872 _XOPEN_CRYPT is no longer impelemented.
8874 * conform/data/unistd.h-data: Remove crypt function declaration.
8876 2018-06-29 Florian Weimer <fweimer@redhat.com>
8879 * malloc/hooks.c: Update comments on restoring of dumped heaps.
8880 (disallow_malloc_check): Remove variable.
8881 (__malloc_check_init): Adjust.
8882 (malloc_set_state): Update comment.
8883 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
8886 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8889 * localedata/locales/ast_ES (mon): Rename to...
8891 (mon): Import from CLDR (genitive case).
8893 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
8894 Jakub Sitnicki <jkbs@redhat.com>
8897 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
8900 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8902 * manual/llio.texi: Remove spurious space.
8904 2018-06-28 Florian Weimer <fweimer@redhat.com>
8907 * time/bits/types/struct_timespec.h: Change header inclusion guard to
8910 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8912 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
8913 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
8914 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
8915 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
8916 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
8917 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
8918 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
8920 2018-06-27 Maciej W. Rozycki <macro@mips.com>
8923 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
8924 Copy and null-terminate entries that are not terminated, in
8925 addition to empty ones.
8927 2018-06-27 Florian Weimer <fweimer@redhat.com>
8930 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
8931 (extend_alloca_account): Remove.
8932 * manual/stdio.texi (Variable Arguments Output): Update comment.
8934 2018-06-27 Joseph Myers <joseph@codesourcery.com>
8936 * nptl/sockperf.c: Remove file.
8938 2018-06-27 Florian Weimer <fweimer@redhat.com>
8941 * elf/dl-deps.c (_dl_map_object_deps): Use struct
8942 scratch_buffer instead of extend_alloca.
8944 2018-06-27 Florian Weimer <fweimer@redhat.com>
8947 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
8948 scratch_buffer instead of extend_alloca. Update comments.
8950 2018-06-27 Florian Weimer <fweimer@redhat.com>
8953 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
8954 instead of extend_alloca.
8956 2018-06-26 Joseph Myers <joseph@codesourcery.com>
8959 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
8960 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
8962 * scripts/test-installation.pl: Put temporary files in build
8963 directory, not /tmp.
8964 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
8965 (CFLAGS-bug4.c): Likewise.
8966 (CFLAGS-bug5.c): Likewise.
8967 (CFLAGS-test-fseek.c): Likewise.
8968 (CFLAGS-test-popen.c): Likewise.
8969 (CFLAGS-test_rdwr.c): Likewise.
8970 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
8972 * stdio-common/bug4.c (main): Likewise.
8973 * stdio-common/bug5.c (main): Likewise.
8974 * stdio-common/test-fseek.c (TESTFILE): Likewise.
8975 * stdio-common/test-popen.c (do_test): Likewise.
8976 * stdio-common/test_rdwr.c (main): Likewise.
8978 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
8980 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
8981 (sem_open): Set sem.newsem.pad to zero for valgrind.
8983 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8986 * NEWS: Mention fcntl64 addition.
8987 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
8988 * login/utmp_file.c: Likewise.
8989 * sysdeps/posix/fdopendir.c: Likewise.
8990 * sysdeps/posix/opendir.c: Likewise.
8991 * sysdeps/unix/pt-fcntl.c: Likewise.
8992 * include/fcntl.h (__libc_fcntl64, __fcntl64,
8993 __fcntl64_nocancel_adjusted): New prototype.
8994 (__fcntl_nocancel_adjusted): Remove prototype.
8995 * io/Makefile (routines): Add fcntl64.
8996 (CFLAGS-fcntl64.c): New rule.
8997 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
8998 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
8999 * io/fcntl.h (fcntl64): Add prototype and redirect if
9000 __USE_FILE_OFFSET64 is defined.
9001 * io/fcntl64.c: New file.
9002 * manual/llio.text: Add a note for which commands fcntl acts a
9004 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9005 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9006 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9008 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9009 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9011 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9012 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9013 to __fcntl64_nocancel.
9014 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9015 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9016 to __fcntl64_nocancel.
9017 * sysdeps/generic/not-cancel.h: Likewise.
9018 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9019 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9020 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9021 (fcntl64): New symbol.
9022 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9023 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9024 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9027 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9028 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9029 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9030 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9031 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9032 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9034 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9035 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9036 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9037 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9038 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9039 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9040 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9041 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9042 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9047 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9048 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9049 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9051 2018-06-26 Florian Weimer <fweimer@redhat.com>
9053 Run thread shutdown functions in an explicit order.
9054 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9056 (__libc_thread_freeres): Call thread shutdown functions
9058 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9059 * include/string.h (__strerror_thread_freeres): Declare.
9060 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9061 arena_thread_freeres. No longer static. Remove thread shutdown
9063 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9065 * resolv/res-close.c (__res_thread_freeres): Renamed from
9066 res_thread_freeres. No longer static. Remove thread shutdown
9068 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9069 * resolv/resolv_conf.c (freeres): Remove incorrect section
9070 attribute and use libc_freeres_fn.
9071 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9072 strerror_thread_freeres. No longer static. Remove thread
9073 shutdown hook registration.
9074 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9075 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9076 shutdown hook registration.
9077 * Makerules (shlib.lds): Do not provide section boundary symbols
9078 for __libc_thread_subfreeres.
9079 * manual/memory.texi (Basic Allocation): Update comment.
9081 2018-06-26 Florian Weimer <fweimer@redhat.com>
9083 Remove always-defined _RPC_THREAD_SAFE_ macro.
9084 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9085 Do not define _RPC_THREAD_SAFE_.
9086 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9088 * sunrpc/clnt_perr.c: Likewise.
9089 * sunrpc/clnt_raw.c: Likewise.
9090 * sunrpc/clnt_simp.c: Likewise.
9091 * sunrpc/key_call.c: Likewise.
9092 * sunrpc/rpc_common.c: Likewise.
9093 * sunrpc/rpc_main.c: Likewise.
9094 * sunrpc/rpc_thread.c: Likewise.
9095 * sunrpc/svc.c: Likewise.
9096 * sunrpc/svc_raw.c: Likewise.
9097 * sunrpc/svc_simple.c: Likewise.
9098 * sumrpc/svcauth_des.c: Likewise.
9100 2018-06-26 Florian Weimer <fweimer@redhat.com>
9102 * libio/Makefile (tests-internal): Add tst-vtables,
9103 tst-vtables-interposed.
9104 * libio/tst-vtables.c: New file.
9105 * libio/tst-vtables-common.c: Likewise.
9106 * libio/tst-vtables-interposed.c: Likewise.
9108 2018-06-26 Florian Weimer <fweimer@redhat.com>
9110 * support/support_test_main.c (support_test_main): Only call
9111 setvbuf if not disables.
9112 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9113 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9115 2018-06-26 Florian Weimer <fweimer@redhat.com>
9118 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9120 2018-06-25 Florian Weimer <fweimer@redhat.com>
9123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9124 Use struct scratch_buffer instead of extend_alloca.
9126 2018-06-25 Florian Weimer <fweimer@redhat.com>
9129 * nss/getent.c (initgroups_keys): Use dynarray instead of
9132 2018-06-25 Florian Weimer <fweimer@redhat.com>
9135 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9136 Use struct scratch_buffer instead of extend_alloca.
9138 2018-06-25 Florian Weimer <fweimer@redhat.com>
9141 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9142 back to malloc directly, without stack allocations.
9144 2018-06-25 Florian Weimer <fweimer@redhat.com>
9147 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9150 2018-06-25 Florian Weimer <fweimer@redhat.com>
9153 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9155 * nscd/hstcache.c (addhstbyX): Likewise.
9156 * nscd/pwdcache.c (addpwbyX): Likewise.
9157 * nscd/servicescache.c (addservbyX): Likewise.
9159 2018-06-25 Florian Weimer <fweimer@redhat.com>
9162 * nscd/connections.c (read_cmdline): New function.
9163 (restart): Use it. Update comment.
9165 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9168 * localedata/locales/csb_PL (mon): Rename to...
9170 (abmon): Rename to...
9172 (mon): Add with proper genitive forms, copy from Wikipedia.
9175 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9178 * localedata/locales/csb_PL (mon): Fix typos:
9179 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9180 (yesstr): Add, value is "jo".
9181 (nostr): Add, value is "nié".
9183 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9185 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9186 all log1p and significand functions on m680x0.
9187 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9188 of s_significand.c..
9189 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9190 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9191 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9192 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9193 s_log1p.c and include it..
9195 2018-06-21 Vincent Chen <vincentc@andestech.com>
9197 * elf/elf.h (R_NDS32_NONE): New define.
9198 (R_NDS32_32_RELA): Likewise.
9199 (R_NDS32_COPY): Likewise.
9200 (R_NDS32_GLOB_DAT): Likewise.
9201 (R_NDS32_JUMP_SLOT): Likewise.
9202 (R_NDS32_RELATIVE): Likewise.
9203 (R_NDS32_TLS_TPOFF): Likewise.
9204 (R_NDS32_TLS_DESC): Likewise.
9206 2018-06-21 Mark Wielaard <mark@klomp.org>
9208 * elf/elf.h (R_BPF_MAP_FD): Removed.
9209 (R_BPF_64_64, R_BPF_64_32): New.
9211 2018-06-21 Florian Weimer <fweimer@redhat.com>
9214 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9215 Renamed from libc_feholdsetround_ctx.
9216 (default_libc_feresetround_ctx): Renamed from
9217 libc_feresetround_ctx.
9218 (default_libc_feholdsetround_noex_ctx): Renamed from
9219 libc_feholdsetround_noex_ctx.
9220 (default_libc_feresetround_noex_ctx): Renamed from
9221 libc_feresetround_noex_ctx.
9222 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9223 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9224 forwardning to the old implementations under the new names.
9225 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9226 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9227 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9228 (libc_feresetround_ctx): Forward to default implements for i386
9229 and MATH_SET_BOTH_ROUNDING_MODES.
9230 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9231 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9233 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9235 * string/tst-cmp.c: Include <libc-diag.h>.
9236 (strncmp_max): Disable -Wstringop-overflow= around call to
9238 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9241 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9242 (main): Disable -Wunused-value around call to strpbrk.
9243 * string/bug-strspn1.c: Include <libc-diag.h>.
9244 (main): Disable -Wunused-value around call to strspn.
9246 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9247 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9249 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9250 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9252 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9254 * math/Makefile (libm-calls): Move s_significandF to...
9255 (gen-libm-calls): ... here.
9256 * math/s_significand_template.c: New file.
9257 * math/s_significand.c: Removed.
9258 * math/s_significandf.c: Removed.
9259 * math/s_significandl.c: Removed.
9260 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9261 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9263 * math/e_exp2_template.c (declare_mgen_finite_alias,
9264 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9265 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9266 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9268 2018-06-20 Florian Weimer <fweimer@redhat.com>
9270 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9272 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9275 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9276 floating-point number to strtod functions rather than possibly
9277 negating result of those functions.
9278 * stdio-common/tst-scanf-round.c: New file.
9279 * stdio-common/Makefile (tests): Add tst-scanf-round.
9280 ($(objpfx)tst-scanf-round): Depend on $(libm).
9282 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9284 * sysdeps/mach/hurd/localplt.data: Move to...
9285 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9286 R_386_GLOB_DAT like on Linux i386.
9288 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9290 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9291 (SHM_STAT_ANY): New macro.
9292 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9293 (SHM_STAT_ANY): Likewise.
9294 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9295 (SHM_STAT_ANY): Likewise.
9296 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9297 (SHM_STAT_ANY): Likewise.
9298 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9299 (SHM_STAT_ANY): Likewise.
9300 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9301 (SHM_STAT_ANY): Likewise.
9302 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9303 (SHM_STAT_ANY): Likewise.
9304 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9305 (SHM_STAT_ANY): Likewise.
9306 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9307 (SHM_STAT_ANY): Likewise.
9308 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9309 (SHM_STAT_ANY): Likewise.
9310 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9311 (SHM_STAT_ANY): Likewise.
9312 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9313 (SHM_STAT_ANY): Likewise.
9315 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9316 (SEM_STAT_ANY): New macro.
9317 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9318 (SEM_STAT_ANY): Likewise.
9319 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9320 (SEM_STAT_ANY): Likewise.
9321 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9322 (SEM_STAT_ANY): Likewise.
9323 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9324 (SEM_STAT_ANY): Likewise.
9325 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9326 (SEM_STAT_ANY): Likewise.
9327 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9328 (SEM_STAT_ANY): Likewise.
9329 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9330 (SEM_STAT_ANY): Likewise.
9331 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9332 (SEM_STAT_ANY): Likewise.
9333 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9334 (SEM_STAT_ANY): Likewise.
9336 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9337 (MSG_STAT_ANY): New macro.
9338 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9339 (MSG_STAT_ANY): Likewise.
9340 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9341 (MSG_STAT_ANY): Likewise.
9342 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9343 (MSG_STAT_ANY): Likewise.
9344 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9345 (MSG_STAT_ANY): Likewise.
9346 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9347 (MSG_STAT_ANY): Likewise.
9348 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9349 (MSG_STAT_ANY): Likewise.
9350 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9351 (MSG_STAT_ANY): Likewise.
9352 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9353 (MSG_STAT_ANY): Likewise.
9354 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9355 (MSG_STAT_ANY): Likewise.
9357 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9358 (MAP_TYPE): Change value to 0x2b.
9360 2018-06-18 Florian Weimer <fweimer@redhat.com>
9363 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9364 socket with SOCK_CLOEXEC.
9366 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9369 * sysdeps/powerpc/powerpc64/le/Makefile
9370 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9371 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9372 (gnulib-tests): Also add $(f128-loader-link) for
9373 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9375 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9377 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9378 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9380 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9381 (sendfile64): New strong alias.
9382 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9383 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9384 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9385 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9387 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9388 ___pthread_get_cleanup_stack.
9389 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9390 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9391 * mach/shortcut.awk: Make syscall stubs include
9392 <mach-shortcuts-hidden.h> and add hidden definition.
9393 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9394 (__mach_msg): Add hidden prototype.
9395 * mach/msg.c: Include <mach.h>.
9396 (__mach_msg): Add hidden definition.
9397 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9398 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9399 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9400 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9401 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9402 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9403 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9404 prototype and definition.
9405 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9406 hidden target for _hurd_self_sigstate.
9408 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9411 * stdlib/tst-strtod-nan-sign-main.c: New file.
9412 * stdlib/tst-strtod-nan-sign.c: Likewise.
9413 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9414 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9415 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9416 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9417 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9419 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9422 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9425 2018-06-14 Florian Weimer <fweimer@redhat.com>
9428 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9429 that the result stays within the ISO-8859-1 range.
9430 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9431 characters are defined in IBM273.
9433 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9435 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9436 __mach_task_self): Remove attribute_hidden.
9438 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9440 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9441 ignore -Wrestrict for one test.
9443 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9444 Szabolcs Nagy <szabolcs.nagy@arm.com>
9446 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9448 2018-06-14 Florian Weimer <fweimer@redhat.com>
9450 * scripts/update-abilist.sh: Accept empty list of files to patch.
9452 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9454 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9455 test-xfail-check-abi-libmachuser): Add.
9456 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9457 __libc_read and __libc_write to __read and __write.
9458 * sysdeps/hurd/include/hurd/port.h: New file.
9459 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9460 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9461 __thread_switch, __evc_wait): Move declarations to...
9462 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9464 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9465 use PLT to call _hurd_self_sigstate.
9467 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9470 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9471 MAX_EXP as overflowing.
9472 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9474 (round_str): Output also whether result overflows in each rounding
9476 * stdlib/tst-strtod-round-data: Add more tests.
9477 * stdlib/tst-strtod-round-data.h: Regenerated.
9478 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9479 (TEST): Handle extra arguments for overflow flags.
9480 (struct test_overflow): New type.
9481 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9482 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9483 (test_in_one_mode): Take argument with overflow information.
9484 (do_test): Update calls to test_in_one_mode.
9486 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9488 * elf/dl-load (_dl_dst_substitute): Correct comment.
9489 (_dl_dst_count): Likewise.
9491 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9492 lll_futex_timed_wait.
9494 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9497 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9499 * math/test-nan-const.c: New file.
9500 * math/Makefile (tests): Add test-nan-const.
9501 (CFLAGS-test-nan-const.c): New variable.
9503 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9505 * benchtests/scripts/compare_strings.py (process_results): Add
9506 funcs argument. Compare only functions which are selected.
9507 (main): Check if base function is among selected functions.
9508 Pass selected functions to process_results.
9509 (__main__): Add -f/--functions argument.
9511 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9512 Hongbo Zhang <hongbo.zhang@linaro.org>
9514 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9515 __memcpy_falkor for phecda core.
9516 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9517 __memmove_falkor for phecda core.
9518 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9519 __memset_falkor for phecda core.
9520 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9522 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9523 macro to identify phecda core.
9525 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9526 Andreas Schwab <schwab@suse.de>
9527 Dmitry V. Levin <ldv@altlinux.org>
9528 Florian Weimer <fweimer@redhat.com>
9535 * elf/dl-dst.h: Remove DL_DST_COUNT.
9536 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9537 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9538 (is_dst): Comment. Support ELF gABI.
9539 (_dl_dst_count): Comment. Simplify and count DSTs.
9540 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9541 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9544 2018-06-12 Zack Weinberg <zackw@panix.com>
9546 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9547 * sysdeps/unix/sysv/linux/dl-sysdep.c
9548 Include not-cancel.h. Use __close_nocancel instead of __close,
9549 __open64_nocancel instead of __open, __read_nocancel instead of
9550 __libc_read, and __write_nocancel instead of __libc_write.
9552 * csu/check_fds.c (check_one_fd)
9553 * sysdeps/posix/fdopendir.c (__fdopendir)
9554 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9555 instead of __fcntl and/or __libc_fcntl.
9557 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9558 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9559 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9560 Use __open64_nocancel instead of __open_nocancel.
9562 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9563 hidden_proto declarations to the end and issue them if either
9564 IS_IN(libc) or IS_IN(rtld).
9565 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9566 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9567 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9568 read_nocancel, waitpid_nocancel, write_nocancel.
9570 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9571 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9572 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9574 * nptl/pt-fcntl.c: New file.
9575 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9576 (libpthread-routines): Add pt-fcntl.
9577 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9578 (__libc_fcntl): Remove attribute_hidden.
9579 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9580 __fcntl_nocancel_adjusted, not fcntl_common.
9581 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9582 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9583 to fcntl_nocancel.c.
9584 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9587 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9589 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9590 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9591 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9592 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9593 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9594 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9595 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9596 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9597 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9598 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9599 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9600 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9601 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9602 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9603 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9604 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9605 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9606 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9607 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9608 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9610 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9611 libpthread-routines.
9612 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9615 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9616 __libc_read, and __write instead of __libc_write. Define
9617 __open64 in addition to __open.
9619 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9623 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9624 to _private_tm[3] and add __glibc_reserved2.
9625 Add _Static_assert of offset of __private_ss == 0x30.
9626 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9627 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9629 2018-06-12 Florian Weimer <fweimer@redhat.com>
9631 x86: Make strncmp usable from rtld.
9632 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9633 __strncmp_ia32 if in libc (and not in rtld).
9634 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9635 strncmp if not in libc (and not to __strncmp_sse2).
9637 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9640 * localedata/locales/gd_GB (mon): Rename to...
9642 (mon): Import from CLDR (genitive case).
9643 * localedata/locales/hsb_DE (mon): Rename to...
9645 (mon): Import from CLDR (genitive case).
9646 * localedata/locales/wa_BE (mon): Rename to...
9648 (mon): Add, fill with the proper genitive forms, but CLDR data
9649 is incomplete; completed according to the comments in this file.
9650 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9652 * localedata/locales/wa_BE (country_name): Reword
9653 "Beljike" -> "Beldjike".
9655 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9658 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9659 cases of non-finite arguments.
9660 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9662 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9665 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9667 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9670 * include/unistd.h (__execvpex): New prototype.
9671 * posix/Makefile (tests): Add tst-spawn4.
9672 (tests-internal): Add tst-spawn4-compat.
9673 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9674 * posix/tst-spawn4-compat.c: New file.
9675 * posix/tst-spawn4.c: Likewise.
9676 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9677 binaries as shell scripts.
9678 * sysdeps/posix/spawni.c (__spawni): Likewise.
9680 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9683 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9684 ($(all-built-dso:=.dynsym): New target.
9685 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9686 ($(objpfx)check-initfini.out): New target.
9687 (generated): Add check-initfini.out.
9688 * scripts/check-initfini.awk: New file.
9689 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9691 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9693 * sysdeps/arm/crti.S (_init): Mark as hidden.
9695 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9697 * sysdeps/i386/crti.S (_init): Mark as hidden.
9699 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9701 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9703 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9705 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9707 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9709 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9711 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9713 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9715 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9717 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9719 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9721 * sysdeps/sh/crti.S (_init): Mark as hidden.
9723 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9725 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9728 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9730 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9731 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9732 and TF redirection to KFtype and KF only when the default
9733 long double type is not the IEEE 128-bit floating point type.
9735 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9737 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9739 (HWCAP_USCAT): Likewise.
9740 (HWCAP_ILRCPC): Likewise.
9741 (HWCAP_FLAGM): Likewise.
9742 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9744 (_dl_aarch64_cap_flags): Add new flag names.
9746 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9747 (MAP_FIXED_NOREPLACE): New macro.
9748 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9749 (MAP_FIXED_NOREPLACE): Likewise.
9750 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9751 (MAP_FIXED_NOREPLACE): Likewise.
9752 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9753 (MAP_FIXED_NOREPLACE): Likewise.
9754 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9755 (MAP_FIXED_NOREPLACE): Likewise.
9756 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9757 (MAP_FIXED_NOREPLACE): Likewise.
9758 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9759 (MAP_FIXED_NOREPLACE): Likewise.
9760 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9761 (MAP_FIXED_NOREPLACE): Likewise.
9762 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9763 (MAP_FIXED_NOREPLACE): Likewise.
9764 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9765 (MAP_FIXED_NOREPLACE): Likewise.
9766 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9767 (MAP_FIXED_NOREPLACE): Likewise.
9768 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9769 (MAP_FIXED_NOREPLACE): Likewise.
9770 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9771 (MAP_FIXED_NOREPLACE): Likewise.
9772 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9773 (MAP_FIXED_NOREPLACE): Likewise.
9774 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9775 (MAP_FIXED_NOREPLACE): Likewise.
9777 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9780 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9782 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9785 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9787 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9789 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9791 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9793 * benchtests/scripts/compare_string.py: (process_results) Catch
9794 exception in non-existent base_func and catch exception in
9795 non-existent attribute.
9796 (parse_file) Catch exception if input file does not exist.
9798 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9800 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9801 options to avoid diff calculation and omit header, respectively.
9802 (main): process --no-diff and --no-header
9804 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9805 H.J. Lu <hongjiu.lu@intel.com>
9807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9808 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9810 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9811 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9812 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9814 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9815 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9816 AVX unaligned load is fast and vzeroupper is preferred.
9817 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9818 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9819 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9820 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9821 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9822 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9823 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9824 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9825 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9826 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9829 2018-06-01 Florian Weimer <fweimer@redhat.com>
9831 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9832 configuring with --disable-multi-arch, building with
9833 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9836 2018-06-01 Florian Weimer <fweimer@redhat.com>
9838 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9839 results from building with “-march=x86-64 -mtune=generic
9840 -mfpmath=sse” and running on a Haswell-era CPU.
9842 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9845 * soft-fp/sqrttf2.c: Remove file.
9846 * soft-fp/sqrtdf2.c: Move to ....
9847 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
9849 (__sqrtdf2): Make conditional on
9850 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9852 * soft-fp/sqrtsf2.c: Move to ....
9853 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
9855 (__sqrtsf2): Make conditional on
9856 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9858 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
9859 (gcc-double-routines): Remove sqrtdf2.
9860 (gcc-quad-routines): Remove sqrttf2.
9861 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9862 Do not filter out sqrtsf2 and sqrtdf2.
9863 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9864 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
9866 2018-06-01 Florian Weimer <fweimer@redhat.com>
9868 * sysdeps/generic/libcidn.abilist: Remove file.
9870 2018-06-01 Florian Weimer <fweimer@redhat.com>
9873 * libio/strfile.h (struct _IO_str_fields): Rename members to
9874 discourage their use and add comment.
9875 (_IO_STR_DYNAMIC): Remove unused macro.
9876 * libio/strops.c (_IO_str_init_static_internal): Do not use
9877 callback pointers. Call malloc and free.
9878 (_IO_str_overflow): Do not use callback pointers. Call malloc
9880 (enlarge_userbuf): Likewise.
9881 (_IO_str_finish): Call free.
9882 * libio/wstrops.c (_IO_wstr_init_static): Initialize
9883 _allocate_buffer_unused.
9884 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
9886 (enlarge_userbuf): Likewise.
9887 (_IO_wstr_finish): Call free.
9888 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
9889 _allocate_buffer_unused, _free_buffer_unused.
9890 * libio/memstream.c (__open_memstream): Likewise.
9891 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9892 * libio/wmemstream.c (open_wmemstream): Likewise.
9894 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9896 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
9899 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9901 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
9902 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
9903 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
9905 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
9907 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
9909 2018-05-29 Florian Weimer <fweimer@redhat.com>
9911 * support/Makefile (libsupport-routines): Add
9912 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
9913 xpthread_barrierattr_setpshared.
9914 * support/xpthread_barrierattr_destroy.c: New file.
9915 * support/xpthread_barrierattr_init.c: Likewise.
9916 * support/xpthread_barrierattr_setpshared.c: Likewise.
9918 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
9921 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
9922 _r_debug and update DT_DEBUG for debugger.
9924 2018-05-29 Florian Weimer <fweimer@redhat.com>
9926 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
9927 (tst-strtod5i.out): Likewise.
9929 2018-05-25 Joseph Myers <joseph@codesourcery.com>
9931 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
9932 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
9933 (sparc64-quad-routines): New variable. Moved from ....
9934 [$(subdir) = soft-fp] (sysdep_routines): Add
9935 $(sparc64-quad-routines). Moved from ....
9936 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
9937 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
9938 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
9940 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
9941 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
9942 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
9943 * sysdeps/sparc/sparc64/qp_add.c: ... here.
9944 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
9945 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
9946 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
9947 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
9948 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
9949 * sysdeps/sparc/sparc64/qp_div.c: ... here.
9950 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
9951 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
9952 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
9953 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
9954 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
9955 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
9956 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
9957 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
9958 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
9959 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
9960 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
9961 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
9962 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
9963 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
9964 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
9965 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
9966 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
9967 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
9968 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
9969 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
9970 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
9971 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
9972 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
9973 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
9974 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
9975 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
9976 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
9977 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
9978 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
9979 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
9980 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
9981 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
9982 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
9983 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
9984 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
9985 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
9986 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
9987 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
9988 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
9989 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
9990 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
9991 * sysdeps/sparc/sparc64/qp_util.c: ... here.
9992 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
9993 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
9994 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
9995 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
9996 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
9997 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
9999 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10000 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10001 (sparc32-quad-routines): New variable. Moved from ....
10002 [$(subdir) = soft-fp] (sysdep_routines): Add
10003 $(sparc32-quad-routines). Moved from ....
10004 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10005 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10007 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10008 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10009 * sysdeps/sparc/sparc32/q_add.c: ... here.
10010 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10011 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10012 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10013 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10014 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10015 * sysdeps/sparc/sparc32/q_div.c: ... here.
10016 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10017 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10018 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10019 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10020 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10021 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10022 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10023 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10024 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10025 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10026 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10027 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10028 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10029 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10030 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10031 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10032 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10033 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10034 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10035 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10036 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10037 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10038 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10039 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10040 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10041 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10042 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10043 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10044 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10045 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10046 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10047 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10048 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10049 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10050 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10051 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10052 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10053 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10054 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10055 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10056 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10057 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10058 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10059 * sysdeps/sparc/sparc32/q_util.c: ... here.
10060 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10061 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10062 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10063 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10065 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10066 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10068 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10069 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10070 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10071 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10073 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10079 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10080 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10082 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10085 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10088 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10090 * sysdeps/sh/Implies: Remove sh/soft-fp.
10091 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10092 * sysdeps/sh/sfp-machine.h: ... here.
10094 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10096 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10097 (__mempcpy_erms): Skip zero length.
10098 (__memmove_erms): Likewise.
10099 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10100 (__memset_erms): Likewise.
10102 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10104 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10105 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10106 Add functions moved from ....
10107 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10108 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10109 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10111 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10112 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10113 * sysdeps/alpha/e_sqrtl.c: ... here.
10114 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10115 * sysdeps/alpha/local-soft-fp.h: ... here.
10116 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10117 * sysdeps/alpha/ots_add.c: ... here.
10118 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10119 * sysdeps/alpha/ots_cmp.c: ... here.
10120 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10121 * sysdeps/alpha/ots_cmpe.c: ... here.
10122 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10123 * sysdeps/alpha/ots_cvtqux.c: ... here.
10124 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10125 * sysdeps/alpha/ots_cvtqx.c: ... here.
10126 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10127 * sysdeps/alpha/ots_cvttx.c: ... here.
10128 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10129 * sysdeps/alpha/ots_cvtxq.c: ... here.
10130 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10131 * sysdeps/alpha/ots_cvtxt.c: ... here.
10132 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10133 * sysdeps/alpha/ots_div.c: ... here.
10134 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10135 * sysdeps/alpha/ots_mul.c: ... here.
10136 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10137 * sysdeps/alpha/ots_nintxq.c: ... here.
10138 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10139 * sysdeps/alpha/ots_sub.c: ... here.
10140 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10141 * sysdeps/alpha/sfp-machine.h: ... here.
10143 2018-05-23 Florian Weimer <fweimer@redhat.com>
10151 Switch to extern IDNA implementation (libidn2).
10152 * libidn: Remove subdirectory.
10153 * LICENSES: Do not mention licensing conditions for the removed
10155 * config.h.in (HAVE_LIBIDN): Remove.
10156 * include/dlfcn.h (__libc_dlopen): Update comment.
10157 * include/idna.h: Remove file.
10158 * inet/Makefile (routines): Add idna.
10159 (tests-static, tests-internal): Add tst-idna_name_classify.
10160 (LOCALES): Generate locales for tests.
10161 (tst-idna_name_classify.out): Depend on generated locales.
10162 * inet/idna_name_classify.c: New file.
10163 * inet/tst-idna_name_classify.c: Likewise.
10164 * inet/net-internal.h (__idna_to_dns_encoding)
10165 (__idna_from_dns_encoding): Declare.
10166 * inet/net-internal.h (enum idna_name_classification): Define.
10167 (__idna_name_classify): Declare.
10168 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10169 __idna_from_dns_encoding.
10170 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10171 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10172 name as a fallback in case of encoding errors.
10173 (getnameinfo): Use DEPRECATED_NI_IDN.
10174 * inet/idna.c: New file.
10175 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10176 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10177 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10178 (modules-names): Add tst-no-libidn2.
10179 (extra-test-objs): Add tst-no-libidn2.os.
10180 (LDFLAGS-tst-no-libidn2.so): Set soname.
10181 (LOCALES): Set, and generate locales.
10182 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10183 (tst-resolv-ai_idn-latin1): Likewise.
10184 (tst-resolv-ai_idn-nolibidn2): Likewise.
10185 (tst-resolv-ai_idn.out): Depend on locales.
10186 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10187 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10189 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10190 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10191 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10192 * resolv/tst-resolv-ai_idn.c: New file.
10193 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10194 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10195 * resolv/tst-no-libidn2.c: Likewise.
10196 * support/support_format_addrinfo.c (format_ai_flags): Do not
10197 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10198 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10199 (gaih_inet): Call __idna_to_dns_encoding and
10200 __idna_from_dns_encoding, and use the original (punycode) name if
10201 __idna_from_dns_encoding fails due to an encoding error.
10202 (getaddrinfo): Use DEPRECATED_AI_IDN.
10203 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10204 * sysdeps/unix/inet/configure: Remove file.
10205 * sysdeps/unix/inet/configure.ac: Likewise.
10207 2018-05-23 Florian Weimer <fweimer@redhat.com>
10209 Implement allocate_once.
10210 * include/allocate_once.h: New file.
10211 * misc/allocate_once.c: Likewise.
10212 * misc/tst-allocate_once.c: Likewise.
10213 * misc/Makefile (routines): Add allocate_once.
10214 (tests-internal): Add tst-allocate_once.
10215 (generated): Add tst-allocate_once.mtrace,
10216 tst-allocate_once-mem.out.
10217 (tests-special): Add tst-allocate_once-mem.out.
10218 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10219 (tst-allocate_once-mem.out): Call mtrace.
10220 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10222 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10225 * string/test-memcpy.c (do_test1): New function.
10226 (test_main): Call it.
10228 2018-05-23 Andreas Schwab <schwab@suse.de>
10232 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10233 (L(preloop_large)): Save initial destination pointer in %r11 and
10234 use it instead of %rax after the loop.
10235 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10237 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10239 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10240 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10241 -I../soft-fp. Moved from ....
10242 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10243 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10244 * sysdeps/aarch64/e_sqrtl.c: ... here.
10245 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10246 * sysdeps/aarch64/sfp-machine.h: ... here.
10248 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10249 -Wmaybe-uninitialized around access to fq[0].
10250 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10254 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10255 aliases for non-libc case of versioned symbols.
10256 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10257 (llseek): Define as compat symbol if
10258 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10260 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10261 Make into a compat symbol, disabled for minimum symbol version
10262 GLIBC_2.28 and later.
10263 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10265 2018-05-22 Florian Weimer <fweimer@redhat.com>
10267 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10268 not add -mpreferred-stack-boundary=4.
10269 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10270 (stack-align-test-flags): Likewise.
10271 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10273 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10274 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10275 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10276 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10277 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10278 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10279 (CFLAGS-tst-align2.c): Likewise.
10281 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10283 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10284 (index_arch_Prefer_FSRM): Likewise.
10285 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10286 Also check Prefer_FSRM.
10287 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10288 Also return OPTIMIZE (erms) for Prefer_FSRM.
10290 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10292 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10293 (index_cpu_FSRM): Likewise.
10294 (reg_FSRM): Likewise.
10296 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10298 * math/gen-tgmath-tests.py: Import sys.
10299 (Tests.__init__): Initialize macros_seen.
10300 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10301 if requested to do so for this macro.
10302 (Tests.add_all_tests): Take argument for macro for which to
10304 (Tests.check_macro_list): New function.
10305 (main): Handle check-list argument and argument specifying macro
10306 for which to generate tests.
10307 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10308 [PYTHON] (tgmath3-macro-tests): Likewise.
10309 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10310 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10311 not test-tgmath3.c.
10312 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10313 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10315 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10316 [PYTHON] ($(foreach
10317 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10319 [PYTHON] (tests-special): Add
10320 $(objpfx)test-tgmath3-macro-list.out.
10321 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10323 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10324 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10328 * time/tzset.c (SECSPERDAY): Cast to time_t.
10329 * time/tst-y2039.c: New file.
10330 * time/Makefile (tests): Add tst-y2039.
10332 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10334 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10335 (PREFETCH_ONE_SET): Remove duplicate line.
10337 2018-05-17 Florian Weimer <fweimer@redhat.com>
10339 * sysdeps/generic/math-type-macros-double.h: Include
10340 <math-nan-payload-double.h> after <libm-alias-double.h>.
10341 * sysdeps/generic/math-type-macros-float.h: Include
10342 <math-nan-payload-float.h> after <libm-alias-float.h>.
10343 * sysdeps/generic/math-type-macros-float128.h: Include
10344 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10345 * sysdeps/generic/math-type-macros-ldouble.h: Include
10346 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10348 2018-05-17 Andreas Schwab <schwab@suse.de>
10350 * resolv/res_send.c (__res_context_send): Don't set errno when
10351 returing error after malloc failure.
10353 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10355 * nptl/allocatestack.c (allocate_stack): Remove the
10356 !__ASSUME_PRIVATE_FUTEX paths.
10357 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10358 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10360 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10361 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10362 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10363 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10364 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10365 !__ASSUME_PRIVATE_FUTEX path.
10366 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10367 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10368 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10369 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10370 !__ASSUME_PRIVATE_FUTEX macros.
10371 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10372 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10373 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10374 * sysdeps/unix/sysv/linux/kernel-features.h
10375 (__ASSUME_PRIVATE_FUTEX): Removed.
10377 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10379 * math/Makefile (libm-narrow-fns): Add div.
10380 (libm-test-funcs-narrow): Likewise.
10381 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10382 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10383 * math/gen-auto-libm-tests.c (test_functions): Add div.
10384 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10385 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10386 (NARROW_DIV_TRIVIAL): Likewise.
10387 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10389 (__ddivl): Likewise.
10390 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10392 (CFLAGS-nldbl-ddiv.c): New variable.
10393 (CFLAGS-nldbl-fdiv.c): Likewise.
10394 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10396 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10398 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10399 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10400 * math/auto-libm-test-in: Add tests of div.
10401 * math/auto-libm-test-out-narrow-div: New generated file.
10402 * math/libm-test-narrow-div.inc: New file.
10403 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10404 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10405 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10406 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10407 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10408 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10409 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10411 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10412 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10413 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10414 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10415 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10416 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10417 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10418 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10419 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10420 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10422 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10423 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10424 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10425 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10426 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10427 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10428 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10429 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10430 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10431 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10432 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10433 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10434 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10439 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10440 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10441 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10442 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10443 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10444 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10445 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10446 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10448 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10451 * nscd/nscd-client.h (sendfileall): Remove prototype.
10452 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10453 (handle_request): Use writeall instead of sendfileall.
10454 * nscd/aicache.c (addhstaiX): Likewise.
10455 * nscd/grpcache.c (cache_addgr): Likewise.
10456 * nscd/hstcache.c (cache_addhst): Likewise.
10457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10458 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10459 * nscd/pwdcache.c (cache_addpw): Likewise.
10460 * nscd/servicescache.c (cache_addserv): Likewise.
10461 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10462 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10463 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10466 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10468 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10469 Include <string/strncat.c>.
10470 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10472 (__GI___strncat): New hidden alias.
10474 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10476 * sysdeps/mips/mips32/libm-test-ulps: Update.
10477 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10479 2018-05-16 Florian Weimer <fweimer@redhat.com>
10481 * support/Makefile (libsupport-routines): Add support_quote_blob,
10482 support_test_compare_blob.
10483 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10484 * support/check.h (TEST_COMPARE_BLOB): Define.
10485 (support_test_compare_blob): Declare.
10486 * support/support.h (support_quote_blob): Declare.
10487 * support/support_quote_blob.c: New file.
10488 * support/support_test_compare_blob.c: Likewise.
10489 * support/tst-support_quote_blob.c: Likewise.
10490 * support/tst-test_compare_blob.c: Likewise.
10492 2018-05-16 Florian Weimer <fweimer@redhat.com>
10494 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10495 of <strtod_nan_double.h>.
10496 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10497 instead of SET_MANTISSA.
10498 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10499 of include <strtod_nan_float.h>.
10500 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10501 instead of <strtod_nan_ldouble.h>.
10502 * stdlib/strtod_nan_double.h: Move to ...
10503 * sysdeps/generic/math-nan-payload-double.h: ... here.
10504 (FLOAT): Remove definition.
10505 (SET_MANTISSA): Rename to ...
10506 (SET_NAN_PAYLOAD): ... this.
10507 * stdlib/strtod_nan_float.h: Move to ...
10508 * sysdeps/generic/math-nan-payload-float.h: ... here.
10509 (FLOAT): Remove definition.
10510 (SET_MANTISSA): Rename to ...
10511 (SET_NAN_PAYLOAD): ... this.
10512 * sysdeps/generic/math-type-macros-double.h: Include
10513 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10514 instead of <math-svid-compat.h>.
10515 * sysdeps/generic/math-type-macros-float.h: Include
10516 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10517 instead of <math-svid-compat.h>.
10518 * sysdeps/generic/math-type-macros-float128.h: Include
10519 <math-nan-payload-float128.h>.
10520 * sysdeps/generic/math-type-macros-ldouble.h: Include
10521 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10522 instead of <math-svid-compat.h>.
10523 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10524 check for definition.
10525 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10526 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10527 Include <ieee754_float128.h>.
10528 (FLOAT): Remove definition.
10529 (SET_MANTISSA): Rename to ...
10530 (SET_NAN_PAYLOAD): ... this.
10531 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10532 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10533 Do not include <float128_private.h>.
10534 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10535 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10536 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10537 (FLOAT): Remove definition.
10538 (SET_MANTISSA): Rename to ...
10539 (SET_NAN_PAYLOAD): ... this.
10540 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10541 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10542 (FLOAT): Remove definition.
10543 (SET_MANTISSA): Rename to ...
10544 (SET_NAN_PAYLOAD): ... this.
10545 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10546 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10547 (FLOAT): Remove definition.
10548 (SET_MANTISSA): Rename to ...
10549 (SET_NAN_PAYLOAD): ... this.
10550 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10551 of "../stdlib/strtod_nan_double.h".
10552 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10553 of "../stdlib/strtod_nan_float.h".
10554 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10555 instead of "../stdlib/strtod_nan_ldouble.h".
10556 * manual/arith.texi (Parsing of Floats): Adjust comment.
10558 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10560 * math/Makefile (libm-narrow-fns): Add mul.
10561 (libm-test-funcs-narrow): Likewise.
10562 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10563 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10564 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10565 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10566 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10567 (NARROW_MUL_TRIVIAL): Likewise.
10568 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10569 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10571 (__dmull): Likewise.
10572 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10574 (CFLAGS-nldbl-dmul.c): New variable.
10575 (CFLAGS-nldbl-fmul.c): Likewise.
10576 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10578 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10580 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10581 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10582 * math/auto-libm-test-in: Add tests of mul.
10583 * math/auto-libm-test-out-narrow-mul: New generated file.
10584 * math/libm-test-narrow-mul.inc: New file.
10585 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10586 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10587 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10588 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10589 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10590 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10591 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10592 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10593 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10594 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10595 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10596 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10597 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10598 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10599 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10600 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10601 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10602 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10604 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10605 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10606 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10607 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10608 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10609 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10610 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10611 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10612 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10613 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10614 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10615 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10616 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10621 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10622 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10623 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10624 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10625 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10626 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10627 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10628 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10630 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10632 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10633 with *%eax in call.
10635 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10637 * sysdeps/i386/ldsodefs.h: Removed.
10638 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10639 * sysdeps/x86/ldsodefs.h: This.
10640 (La_i86_regs): New.
10641 (La_i86_retval): Likewise.
10642 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10643 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10645 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10647 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10650 2018-05-13 Alan Modra <amodra@gmail.com>
10652 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10653 R_PARISC_TLS_DTPOFF32 reloc addend.
10655 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10657 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10658 * math/math.h: Restrict the prototype definition for the functions
10659 issignaling(_Float128) and iszero(_Float128); and template
10660 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10661 __HAVE_FLOAT128_UNLIKE_LDBL.
10662 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10663 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10664 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10665 __f128() constants; define the type _Float128 as long double;
10666 and reuse long double in __CFLOAT128.
10668 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10670 * sysdeps/generic/math_private.h: Do not include
10672 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10674 * math/fromfp.h: Include <math-barriers.h>.
10675 * math/math-narrow.h: Likewise.
10676 * math/s_nextafter.c: Likewise.
10677 * math/s_nexttowardf.c: Likewise.
10678 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10679 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10680 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10681 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10682 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10683 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10684 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10686 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10688 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10690 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10691 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10692 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10693 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10695 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10696 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10697 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10698 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10699 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10700 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10701 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10702 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10703 * sysdeps/ieee754/k_standardl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10706 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10710 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10712 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10713 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10716 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10717 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10718 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10720 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10721 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10722 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10723 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10724 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10725 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10727 2018-05-11 Florian Weimer <fweimer@redhat.com>
10729 Use 64-bit epoch values in the time zone file parser.
10730 * include/time.h (internal_time_t): Define.
10731 (__tzfile_compute): Use it.
10732 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10734 (transitions): Switch to internal_time_t.
10735 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10737 (__tzfile_compute): Use internal_time_t for timer argument. Check
10738 for truncation before calling __offtime.
10740 2018-05-11 Florian Weimer <fweimer@redhat.com>
10743 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10744 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10746 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10747 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10748 export without --enable-obsolete-rpc.
10749 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10750 symbol. This should not have been exported, ever.
10752 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10755 * localedata/locales/gd_GB (abmon): Fix typo in May:
10756 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10758 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10760 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10761 Use multiple registers to copy data in loop tail.
10763 * sysdeps/aarch64/multiarch/memmove_falkor.S
10764 (__memmove_falkor): Use multiple registers to move data in
10767 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10769 * math/math-underflow.h: New file.
10770 * sysdeps/generic/math_private.h: Do not include <float.h>.
10771 (fabs_tg): Remove macro. Moved to math-underflow.h.
10772 (min_of_type_f): Likewise.
10773 (min_of_type_): Likewise.
10774 (min_of_type_l): Likewise.
10775 (min_of_type_f128): Likewise.
10776 (min_of_type): Likewise.
10777 (math_check_force_underflow): Likewise.
10778 (math_check_force_underflow_nonneg): Likewise.
10779 (math_check_force_underflow_complex): Likewise.
10780 * math/e_exp2_template.c: Include <math-underflow.h>.
10781 * math/k_casinh_template.c: Likewise.
10782 * math/s_catan_template.c: Likewise.
10783 * math/s_catanh_template.c: Likewise.
10784 * math/s_ccosh_template.c: Likewise.
10785 * math/s_cexp_template.c: Likewise.
10786 * math/s_clog10_template.c: Likewise.
10787 * math/s_clog_template.c: Likewise.
10788 * math/s_csin_template.c: Likewise.
10789 * math/s_csinh_template.c: Likewise.
10790 * math/s_csqrt_template.c: Likewise.
10791 * math/s_ctan_template.c: Likewise.
10792 * math/s_ctanh_template.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10802 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10803 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10804 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10805 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10806 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10807 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10808 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10810 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10811 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10812 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10813 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10814 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10815 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10816 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10817 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10818 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10819 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10820 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10821 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10822 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10823 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10824 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10825 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10826 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10827 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10828 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10829 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10830 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10831 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10833 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10834 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10835 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10836 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10838 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10839 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10840 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10841 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10843 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10844 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10845 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10846 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10847 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10848 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10849 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10850 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10851 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10852 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10853 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10854 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10856 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10857 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10858 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10859 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10860 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10861 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10862 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10863 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10864 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10865 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10866 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
10867 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10868 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10869 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10870 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10871 * sysdeps/x86/fpu/powl_helper.c: Likewise.
10872 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
10873 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
10874 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10875 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10876 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10878 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10880 * sysdeps/generic/math-barriers.h: New file.
10881 * sysdeps/generic/math_private.h [!math_opt_barrier]
10882 (math_opt_barrier): Move to math-barriers.h.
10883 [!math_opt_barrier] (math_force_eval): Likewise.
10884 * sysdeps/aarch64/fpu/math-barriers.h: New file.
10885 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
10887 (math_force_eval): Likewise.
10888 * sysdeps/alpha/fpu/math-barriers.h: New file.
10889 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
10891 (math_force_eval): Likewise.
10892 * sysdeps/x86/fpu/math-barriers.h: New file.
10893 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
10895 (math_force_eval): Likewise.
10896 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
10897 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
10898 multiple-include guard for rename.
10899 * sysdeps/powerpc/fpu/math-barriers.h: New file.
10900 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
10902 (math_force_eval): Likewise.
10904 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10908 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
10910 * stdlib/Makefile (test-bz22786): New test.
10911 * stdlib/test-bz22786.c: New test.
10913 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10915 * include/math-narrow-eval.h: New file. Contents moved from ....
10916 * sysdeps/generic/math_private.h: ... here.
10917 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
10918 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10919 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
10920 * stdlib/strtod_l.c: Likewise.
10921 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10922 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10923 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10926 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10927 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10928 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10929 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10930 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10931 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10932 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10933 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10934 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10935 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10936 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10937 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10938 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10939 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10940 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10941 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10942 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10943 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10944 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10945 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10946 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10947 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10948 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10949 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10951 2018-05-08 Andreas Schwab <schwab@suse.de>
10953 * sysdeps/nptl/internaltypes.h: Fix comment.
10955 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
10957 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10958 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
10961 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10963 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
10964 of I into loop header.
10965 * benchtests/bench-memmove-walk.c
10966 (test_main): Likewise.
10968 2018-05-07 Alexandre Oliva <oliva@gnu.org>
10971 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
10972 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10974 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10977 * elf/dl-load.c (open_verify): Fix stack overflow.
10978 * elf/Makefile (tst-big-note): New test.
10979 * elf/tst-big-note-lib.S: New.
10980 * elf/tst-big-note.c: New.
10982 2018-05-04 Joseph Myers <joseph@codesourcery.com>
10984 * scripts/abilist.awk: Ignore absolute symbols.
10985 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
10986 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
10987 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
10988 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
10989 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
10990 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
10991 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10992 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
10993 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
10994 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
10995 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
10996 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
10997 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10998 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
10999 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11000 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11001 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11002 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11003 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11004 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11005 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11006 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11007 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11008 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11009 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11010 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11011 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11012 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11013 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11014 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11015 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11016 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11017 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11018 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11019 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11020 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11021 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11022 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11023 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11024 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11025 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11026 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11027 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11028 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11029 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11030 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11031 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11032 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11033 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11034 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11035 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11036 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11037 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11038 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11039 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11040 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11041 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11042 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11043 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11044 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11045 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11046 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11047 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11048 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11049 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11050 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11051 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11052 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11053 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11054 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11055 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11056 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11057 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11058 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11059 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11060 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11061 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11062 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11063 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11064 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11065 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11066 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11067 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11068 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11069 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11070 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11071 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11072 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11073 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11074 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11075 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11076 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11078 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11079 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11080 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11081 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11082 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11083 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11084 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11085 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11086 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11087 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11088 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11089 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11090 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11092 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11093 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11094 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11095 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11096 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11097 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11098 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11099 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11100 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11101 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11102 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11103 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11104 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11105 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11106 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11107 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11108 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11109 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11110 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11111 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11112 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11113 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11114 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11115 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11116 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11117 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11118 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11120 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11121 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11122 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11123 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11124 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11125 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11126 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11127 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11128 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11129 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11130 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11131 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11132 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11133 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11134 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11135 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11136 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11137 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11138 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11139 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11141 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11142 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11143 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11144 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11145 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11146 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11147 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11148 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11149 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11150 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11151 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11152 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11153 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11154 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11155 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11156 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11157 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11158 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11159 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11160 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11161 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11162 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11163 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11164 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11165 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11166 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11167 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11168 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11228 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11229 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11231 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11232 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11233 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11234 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11235 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11236 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11237 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11240 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11241 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11242 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11243 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11244 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11246 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11247 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11248 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11249 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11250 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11251 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11252 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11253 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11254 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11255 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11256 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11257 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11259 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11260 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11261 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11262 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11263 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11264 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11265 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11268 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11269 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11270 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11271 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11272 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11273 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11274 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11275 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11276 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11277 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11278 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11279 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11280 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11281 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11282 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11283 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11285 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11286 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11287 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11288 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11289 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11290 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11291 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11297 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11299 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11300 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11301 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11302 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11303 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11306 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11307 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11308 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11309 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11312 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11313 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11315 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11316 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11317 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11318 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11319 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11320 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11321 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11322 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11323 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11324 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11325 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11326 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11327 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11328 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11329 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11330 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11331 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11332 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11333 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11334 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11335 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11336 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11338 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11341 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11342 Use atomic_load_acquire to load __tid.
11344 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11346 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11347 Restore the pointer into %rdx, after syscall and use %rdx,
11348 instead of %rsi, to restore context.
11350 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11352 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11353 Pop the pointer into %rdx after syscall and use %rdx, instead
11354 of %rsi, to restore context.
11356 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11358 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11359 handlers after setjmp.
11360 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11362 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11363 <libc-pointer-arith.h>.
11364 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11365 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11366 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11367 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11368 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11369 * sysdeps/x86/__longjmp_cancel.S: New file.
11370 * sysdeps/x86/longjmp.c: Likewise.
11371 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11373 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11375 * NEWS: Add ustat.h deprecation entry.
11376 * bits/ustat.h: Remove file.
11377 * misc/sys/ustat.h: Likewise.
11378 * misc/ustat.h: Likewise.
11379 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11380 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11381 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11382 compatibility mode.
11383 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11384 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11385 generic Linux implementation.
11387 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11389 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11390 * math/w_expl_compat.c: Likewise.
11391 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11393 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11395 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11397 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11399 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11400 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11401 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11403 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11405 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11406 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11407 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11410 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11412 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11414 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11415 * math/w_asin_template.c: Likewise.
11416 * math/w_atanh_template.c: Likewise.
11418 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11420 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11421 to powerpc/powerpc64/be for big-endian.
11422 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11425 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11426 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11427 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11428 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11429 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11430 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11431 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11432 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11433 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11434 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11435 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11436 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11437 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11438 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11439 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11440 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11441 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11442 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11443 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11444 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11445 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11446 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11447 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11448 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11449 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11450 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11451 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11452 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11453 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11454 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11455 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11456 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11458 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11459 adjusted to imply powerpc64 and older processors on powerpc64/be.
11460 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11461 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11462 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11463 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11464 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11465 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11466 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11467 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11468 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11469 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11470 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11471 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11472 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11473 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11474 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11475 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11476 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11477 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11478 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11479 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11480 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11481 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11482 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11483 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11484 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11485 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11486 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11487 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11488 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11489 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11490 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11492 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11493 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11494 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11495 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11497 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11498 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11499 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11500 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11502 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11503 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11504 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11505 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11506 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11507 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11508 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11509 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11510 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11511 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11512 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11514 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11515 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11516 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11517 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11518 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11519 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11520 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11521 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11522 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11523 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11524 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11526 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11527 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11528 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11529 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11530 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11531 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11532 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11533 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11534 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11535 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11536 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11537 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11539 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11540 and adjusted to imply olders processors.
11541 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11542 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11543 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11544 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11545 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11546 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11547 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11548 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11549 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11550 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11551 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11553 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11555 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11570 powerpc64 and adjusted.
11571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11576 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11578 * sysdeps/tile: Remove.
11579 * sysdeps/unix/sysv/linux/tile: Likewise.
11580 * README (tilegx-*-linux-gnu): Remove from list of supported
11582 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11583 contribution of support for generic Linux kernel syscall
11585 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11586 tilegx configurations.
11587 (Config.install_linux_headers): Do not handle tile.
11588 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11590 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11591 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11592 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11593 conditional undefine and redefine.
11594 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11596 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11597 conditional undefine and redefine.
11599 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11601 * signal/tst-sigaction.c: New file to test BZ #23069.
11602 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11604 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11607 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11608 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11609 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11610 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11612 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11614 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11615 _DIRENT_MATCHES_DIRENT64 is not defined.
11616 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11617 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11619 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11620 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11622 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11624 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11625 version to GCC 8 branch.
11627 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11629 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11630 (check_no_hidden): Use type of original function when declaring
11633 * sysdeps/unix/sysv/linux/sys/ptrace.h
11634 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11635 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11636 (struct __ptrace_seccomp_metadata): New type.
11637 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11638 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11639 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11640 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11641 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11642 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11643 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11644 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11645 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11646 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11647 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11648 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11649 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11650 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11651 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11652 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11654 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11656 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11658 * dirent/versionsort.c (versionsort): Likewise.
11659 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11660 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11661 * dirent/versionsort64.c (versionsort64): Likewise.
11662 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11663 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11664 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11665 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11666 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11667 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11668 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11669 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11670 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11671 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11674 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11675 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11677 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11679 * elf/elf.h (NT_PPC_PKEY): New macro.
11681 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11684 * localedata/locales/hr_HR: fix thousands_sep and
11687 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11689 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11690 (XTABS): Define to TAB3.
11692 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11694 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11696 * dirent/scandir-tail-common.c: New file.
11697 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11698 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11699 * dirent/scandir.c: Use scandir-tail-common.c.
11700 * dirent/scandirat.c: Likewise.
11701 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11702 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11703 if _DIRENT_MATCHES_DIRENT64 is defined.
11704 * dirent/scandirat64.c (scandirat64): Likewise.
11705 * include/dirent.h (__scandir_tail): Only define iff
11706 _DIRENT_MATCHES_DIRENT64 is not defined.
11707 (__scandir64_tail): Define regardless.
11708 (__scandirat, scandirat64): Remove libc_hidden_proto.
11709 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11710 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11712 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11713 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11714 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11715 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11717 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11719 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11721 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11723 (_dl_aarch64_cap_flags): Add asimdfhm.
11725 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11727 * sysdeps/nios2/libm-test-ulps: Update.
11729 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11731 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11732 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11734 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11736 (_DIRENT_MATCHES_DIRENT64): Undef
11737 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11738 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11739 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11740 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11741 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11742 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11743 use getdents64 syscalls as base.
11744 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11745 symbol if required.
11746 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11747 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11748 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11749 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11750 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11751 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11752 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11753 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11755 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11756 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11758 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11760 * scripts/test_printers_common.py (init_test): Disable lock elision.
11762 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11764 * math/test-tgmath.c (count_double, count_float,
11765 count_ldouble, count_cdouble, count_cfloat,
11766 count_cldouble): Use volatile int.
11768 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11770 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11771 (conformtest-xfail-conds): Add i386-gnu.
11772 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11774 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11775 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11776 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11777 msqid_ds.msg_lrpid): Likewise.
11778 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11780 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11781 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11782 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11783 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11785 (struct statvfs64): Likewise.
11786 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11788 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11789 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11790 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11791 instead of wait_queue.
11792 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11793 instead of vm_area_struct.
11794 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11795 struct sched_param definition to it.
11796 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11797 * bits/types/struct_sched_param.h: New file.
11798 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11799 <bits/types/struct_sched_param.h> instead of <sched.h>.
11800 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11801 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11802 generic version but include <bits/pthreadtypes.h> to make struct
11803 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11804 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11806 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11807 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11808 [__USE_XOPEN] (OFDEL): New macro.
11809 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11810 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11811 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11813 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11814 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11815 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11817 * sysdeps/i386/sys/ucontext.h: Likewise.
11818 * sysdeps/m68k/sys/ucontext.h: Likewise.
11819 * sysdeps/mips/sys/ucontext.h: Likewise.
11820 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11821 * sysdeps/mach/hurd/i386/Makefile
11822 (test-xfail-POSIX/fcntl.h/conform): Add.
11823 (test-xfail-POSIX/signal.h/conform): Add.
11824 (test-xfail-POSIX/semaphore.h/conform): Add.
11825 (test-xfail-POSIX/regex.h/conform): Add.
11826 (test-xfail-POSIX/aio.h/conform): Add.
11827 (test-xfail-POSIX/mqueue.h/conform): Add.
11828 (test-xfail-POSIX/sys/types.h/conform): Add.
11829 (test-xfail-UNIX98/fcntl.h/conform): Add.
11830 (test-xfail-UNIX98/netdb.h/conform): Add.
11831 (test-xfail-UNIX98/signal.h/conform): Add.
11832 (test-xfail-UNIX98/semaphore.h/conform): Add.
11833 (test-xfail-UNIX98/regex.h/conform): Add.
11834 (test-xfail-UNIX98/aio.h/conform): Add.
11835 (test-xfail-UNIX98/ftw.h/conform): Add.
11836 (test-xfail-UNIX98/mqueue.h/conform): Add.
11837 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11838 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11839 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11840 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11841 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11842 (test-xfail-UNIX98/sys/types.h/conform): Add.
11843 (test-xfail-UNIX98/stdlib.h/conform): Add.
11844 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11845 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11846 (test-xfail-POSIX2008/netdb.h/conform): Add.
11847 (test-xfail-POSIX2008/signal.h/conform): Add.
11848 (test-xfail-POSIX2008/semaphore.h/conform): Add.
11849 (test-xfail-POSIX2008/regex.h/conform): Add.
11850 (test-xfail-POSIX2008/aio.h/conform): Add.
11851 (test-xfail-POSIX2008/mqueue.h/conform): Add.
11852 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
11853 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
11854 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
11855 (test-xfail-POSIX2008/sys/types.h/conform): Add.
11856 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
11857 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
11858 (test-xfail-XOPEN2K/netdb.h/conform): Add.
11859 (test-xfail-XOPEN2K/signal.h/conform): Add.
11860 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
11861 (test-xfail-XOPEN2K/regex.h/conform): Add.
11862 (test-xfail-XOPEN2K/aio.h/conform): Add.
11863 (test-xfail-XOPEN2K/ftw.h/conform): Add.
11864 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
11865 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
11866 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
11867 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
11868 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
11869 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
11870 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
11871 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
11872 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
11873 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
11874 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
11875 (test-xfail-XOPEN2K8/signal.h/conform): Add.
11876 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
11877 (test-xfail-XOPEN2K8/regex.h/conform): Add.
11878 (test-xfail-XOPEN2K8/aio.h/conform): Add.
11879 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
11880 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
11881 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
11882 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
11883 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
11884 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
11885 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
11886 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
11887 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
11888 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
11889 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
11891 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
11892 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
11894 2018-04-18 Joseph Myers <joseph@codesourcery.com>
11896 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
11897 --enable-obsolete for powerpc-linux-gnuspe.
11899 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11901 * conform/data/sys/un.h-data: Allow sun_ prefix.
11902 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
11904 * sysdeps/mach/include/mach.h: Likewise.
11905 * sysdeps/mach/include/mach/mig_support.h: Likewise.
11906 * sysdeps/mach/include/mach_error.h: Likewise.
11908 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11910 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
11911 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
11912 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
11913 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
11915 2018-04-16 Andreas Schwab <schwab@suse.de>
11918 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
11920 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
11922 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
11923 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
11925 2018-04-12 DJ Delorie <dj@redhat.com>
11927 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11930 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11932 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
11933 (struct kernel_sigaction): Use the same definition on 31bit as is used
11936 2018-04-09 Florian Weimer <fweimer@redhat.com>
11939 * resolv/res_send.c (send_dg): Use designated initializers instead
11940 of assignment to zero-initialize other fields of struct mmsghdr.
11942 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11944 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
11945 __READDIR_ALIAS): Undefine after usage.
11946 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
11947 __READDIR_R_ALIAS): Likewise.
11948 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
11949 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
11950 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
11951 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
11952 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
11953 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
11954 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11955 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11956 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
11957 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
11958 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
11959 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
11960 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11961 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
11962 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
11963 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
11964 * sysdeps/unix/sysv/linux/readdir.c: New file.
11965 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
11966 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
11967 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
11969 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
11971 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
11973 * manual/charset.texi (Converting a Character): Fix typo.
11975 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11979 * sysdeps/arm/libm-test-ulps: Update.
11981 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
11982 as base implementation.
11983 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11984 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11985 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11986 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11987 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11988 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
11989 remove unrequired definitions and update comments.
11990 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
11991 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
11992 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
11993 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
11994 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
11995 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
11996 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
11997 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
11998 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
11999 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12000 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12001 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12002 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12003 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12004 and RESET_SA_RESTORER hooks.
12006 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12008 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12010 2018-04-05 Florian Weimer <fweimer@redhat.com>
12012 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12013 integer overflow, memory leak on error, and indeterminate errno
12014 value. Add a null wide character to terminate the result string.
12015 * manual/charset.texi (Converting a Character): Mention embedded
12016 null bytes in the mbrtowc input string. Explain what happens in
12017 the -2 result case. Do not claim that mbrtowc is simple or
12018 obvious to use. Adjust the description of the code example. Use
12019 @code, not @var, for concrete variables.
12021 2018-04-05 Florian Weimer <fweimer@redhat.com>
12023 * manual/examples/mbstouwcs.c: New file.
12024 * manual/charset.texi (Converting a Character): Include it.
12026 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12028 * include/dirent.h (dirfd): Add hidden proto.
12029 * dirent/dirfd.c (dirfd): Add hidden def.
12030 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12031 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12033 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12035 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12036 sin, cos and sincos to 1 ULP.
12038 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12041 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12043 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12044 * elf/tst-absolute-sym.c: New file.
12045 * elf/tst-absolute-sym-lib.c: New file.
12046 * elf/tst-absolute-sym-lib.lds: New file.
12047 * elf/Makefile (tests): Add `tst-absolute-sym'.
12048 (modules-names): Add `tst-absolute-sym-lib'.
12049 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12050 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12051 ($(objpfx)tst-absolute-sym): New dependency.
12054 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12056 (SYMBOL_ADDRESS): New macro.
12057 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12058 SYMBOL_ADDRESS for symbol address calculation.
12059 * elf/dl-runtime.c (_dl_fixup): Likewise.
12060 (_dl_profile_fixup): Likewise.
12061 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12062 * elf/rtld.c (dl_main): Likewise.
12063 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12064 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12065 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12066 (elf_machine_rela): Likewise.
12067 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12068 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12069 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12070 (elf_machine_rela): Likewise.
12071 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12072 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12073 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12074 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12076 (elf_machine_reloc): Likewise.
12077 (elf_machine_got_rel): Likewise.
12078 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12079 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12080 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12084 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12085 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12087 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12089 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12090 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12092 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12094 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12095 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12097 2018-04-04 Zack Weinberg <zackw@panix.com>
12099 * sysdeps/generic/internal-signals.h: Include signal.h,
12100 sigsetops.h, and stdbool.h.
12101 (__libc_signal_block_all): Actually block all signals.
12102 (__libc_signal_block_app): Likewise.
12103 (__libc_signal_restore_set): Actually restore the signal mask.
12105 2018-04-04 Florian Weimer <fweimer@redhat.com>
12107 inet: Actually build and run tst-deadline.
12108 * inet/Makefile (tests-internal): Add tst-deadline and do not
12109 overwrite the variable.
12110 (tests-static-internal): Remove variable.
12112 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12115 * bits/uio-ext.h (RWF_APPEND): New.
12116 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12117 * manual/llio.texi: Document RWF_APPEND.
12118 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12119 (RWF_SUPPORTED): Add RWF_APPEND.
12121 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12124 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12125 check for internal nptl signals.
12126 * nptl/sigaction.c (__sigaction): Likewise.
12127 * signal/sigaddset.c (sigaddset): Likewise.
12128 * signal/sigdelset.c (sigdelset): Likewise.
12129 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12130 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12132 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12133 to filter out internal nptl signals.
12134 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12135 also check realtime signals using standard macros.
12136 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12137 __is_internal_signal, __libc_signal_block_all,
12138 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12139 * sysdeps/nptl/sigfillset.c: Remove file.
12140 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12141 Change return to bool.
12142 (__clear_internal_signals): Remove SIGTIMER clean since it is
12143 equal to SIGCANEL on Linux.
12144 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12145 signal set was constructed using standard functions.
12147 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12149 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12150 ifname is too long.
12151 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12152 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12153 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12155 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12156 * signal/sigaddset.c: Include <sigsetopts.h>.
12157 * signal/sigdelset.c: Likewise.
12159 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12161 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12163 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12164 logic as sin and cos.
12166 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12168 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12169 inputs. Return correct sign.
12170 (do_sincos): Remove small input check before do_sin, let do_sin set
12175 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12177 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12178 (do_cos_slow): Likewise.
12179 (do_sin_slow): Likewise.
12180 (reduce_and_compute): Likewise.
12185 (sloww1): Likewise.
12186 (sloww2): Likewise.
12188 (bslow1): Likewise.
12189 (bslow2): Likewise.
12190 (cslow2): Likewise.
12192 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12194 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12195 (do_cos): Remove corp parameter and calculations.
12196 (do_sin): Likewise.
12197 (do_sincos): Remove cor variable.
12198 (__sin): Use do_sincos for huge inputs.
12200 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12201 (reduce_and_compute_sincos): Remove unused function.
12203 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12205 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12206 reduce_sincos, improve accuracy to 136 bits.
12207 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12208 (__sin): Use improved reduction and simplified do_sincos calculation.
12210 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12212 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12214 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12215 (do_sincos_2): Likewise.
12216 (__sin): Remove middle range reduction case.
12218 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12221 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12223 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12227 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12229 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12231 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12234 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12236 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12237 Remove definitions.
12238 (opendir_oflags): Use O_DIRECTORY regardless.
12239 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12240 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12242 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12244 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12245 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12247 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12248 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12249 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12250 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12251 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12252 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12254 * htl/Makefile: Bump licence to LGPL 2.1+.
12255 * htl/alloca_cutoff.c: Likewise.
12256 * htl/cthreads-compat.c: Likewise.
12257 * htl/lockfile.c: Likewise.
12258 * htl/pt-alloc.c: Likewise.
12259 * htl/pt-cancel.c: Likewise.
12260 * htl/pt-cleanup.c: Likewise.
12261 * htl/pt-create.c: Likewise.
12262 * htl/pt-dealloc.c: Likewise.
12263 * htl/pt-detach.c: Likewise.
12264 * htl/pt-exit.c: Likewise.
12265 * htl/pt-getattr.c: Likewise.
12266 * htl/pt-initialize.c: Likewise.
12267 * htl/pt-internal.h: Likewise.
12268 * htl/pt-join.c: Likewise.
12269 * htl/pt-self.c: Likewise.
12270 * htl/pt-setcancelstate.c: Likewise.
12271 * htl/pt-setcanceltype.c: Likewise.
12272 * htl/pt-sigmask.c: Likewise.
12273 * htl/pt-spin-inlines.c: Likewise.
12274 * htl/pt-testcancel.c: Likewise.
12275 * htl/pt-yield.c: Likewise.
12276 * htl/tests/test-1.c: Likewise.
12277 * htl/tests/test-10.c: Likewise.
12278 * htl/tests/test-11.c: Likewise.
12279 * htl/tests/test-12.c: Likewise.
12280 * htl/tests/test-13.c: Likewise.
12281 * htl/tests/test-14.c: Likewise.
12282 * htl/tests/test-15.c: Likewise.
12283 * htl/tests/test-16.c: Likewise.
12284 * htl/tests/test-17.c: Likewise.
12285 * htl/tests/test-2.c: Likewise.
12286 * htl/tests/test-3.c: Likewise.
12287 * htl/tests/test-4.c: Likewise.
12288 * htl/tests/test-5.c: Likewise.
12289 * htl/tests/test-6.c: Likewise.
12290 * htl/tests/test-7.c: Likewise.
12291 * htl/tests/test-8.c: Likewise.
12292 * htl/tests/test-9.c: Likewise.
12293 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12294 * sysdeps/htl/bits/cancelation.h: Likewise.
12295 * sysdeps/htl/bits/pthread-np.h: Likewise.
12296 * sysdeps/htl/bits/pthread.h: Likewise.
12297 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12298 * sysdeps/htl/bits/semaphore.h: Likewise.
12299 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12300 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12301 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12302 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12303 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12304 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12305 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12306 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12307 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12308 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12309 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12310 * sysdeps/htl/old_pt-atfork.c: Likewise.
12311 * sysdeps/htl/pt-atfork.c: Likewise.
12312 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12313 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12314 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12315 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12316 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12317 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12318 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12319 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12320 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12321 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12322 * sysdeps/htl/pt-attr-init.c: Likewise.
12323 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12324 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12325 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12326 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12327 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12328 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12329 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12330 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12331 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12332 * sysdeps/htl/pt-attr.c: Likewise.
12333 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12334 * sysdeps/htl/pt-barrier-init.c: Likewise.
12335 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12336 * sysdeps/htl/pt-barrier.c: Likewise.
12337 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12338 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12339 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12340 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12341 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12342 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12343 * sysdeps/htl/pt-cond-init.c: Likewise.
12344 * sysdeps/htl/pt-cond-signal.c: Likewise.
12345 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12346 * sysdeps/htl/pt-cond-wait.c: Likewise.
12347 * sysdeps/htl/pt-cond.c: Likewise.
12348 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12349 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12350 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12351 * sysdeps/htl/pt-condattr-init.c: Likewise.
12352 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12353 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12354 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12355 * sysdeps/htl/pt-equal.c: Likewise.
12356 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12357 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12358 * sysdeps/htl/pt-getschedparam.c: Likewise.
12359 * sysdeps/htl/pt-getspecific.c: Likewise.
12360 * sysdeps/htl/pt-init-specific.c: Likewise.
12361 * sysdeps/htl/pt-key-create.c: Likewise.
12362 * sysdeps/htl/pt-key-delete.c: Likewise.
12363 * sysdeps/htl/pt-key.h: Likewise.
12364 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12365 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12366 * sysdeps/htl/pt-mutex-init.c: Likewise.
12367 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12368 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12369 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12370 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12371 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12372 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12373 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12374 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12375 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12376 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12377 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12378 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12379 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12380 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12381 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12382 * sysdeps/htl/pt-mutexattr.c: Likewise.
12383 * sysdeps/htl/pt-once.c: Likewise.
12384 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12385 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12386 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12387 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12388 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12389 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12390 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12391 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12392 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12393 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12394 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12395 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12396 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12397 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12398 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12399 * sysdeps/htl/pt-setschedparam.c: Likewise.
12400 * sysdeps/htl/pt-setschedprio.c: Likewise.
12401 * sysdeps/htl/pt-setspecific.c: Likewise.
12402 * sysdeps/htl/pt-spin.c: Likewise.
12403 * sysdeps/htl/pt-startup.c: Likewise.
12404 * sysdeps/htl/pthread.h: Likewise.
12405 * sysdeps/htl/sem-close.c: Likewise.
12406 * sysdeps/htl/sem-destroy.c: Likewise.
12407 * sysdeps/htl/sem-getvalue.c: Likewise.
12408 * sysdeps/htl/sem-init.c: Likewise.
12409 * sysdeps/htl/sem-open.c: Likewise.
12410 * sysdeps/htl/sem-post.c: Likewise.
12411 * sysdeps/htl/sem-timedwait.c: Likewise.
12412 * sysdeps/htl/sem-trywait.c: Likewise.
12413 * sysdeps/htl/sem-unlink.c: Likewise.
12414 * sysdeps/htl/sem-wait.c: Likewise.
12415 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12416 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12417 * sysdeps/mach/htl/pt-block.c: Likewise.
12418 * sysdeps/mach/htl/pt-spin.c: Likewise.
12419 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12420 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12421 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12422 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12423 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12424 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12425 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12426 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12427 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12428 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12429 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12430 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12431 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12432 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12433 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12434 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12435 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12436 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12437 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12438 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12439 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12440 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12441 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12442 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12443 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12444 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12445 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12446 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12447 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12448 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12449 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12450 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12451 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12452 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12453 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12454 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12455 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12456 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12457 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12458 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12459 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12460 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12461 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12463 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12464 * README: Remove the mention of out-of-tree patches needed for
12467 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12468 (UTIME_NOW, UTIME_OMIT): Define macros.
12470 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12471 instead of pthread_detach.
12472 (__cthread_fork): Call __pthread_create instead of pthread_create.
12473 (__cthread_keycreate): Call __pthread_key_create instead of
12474 pthread_key_create.
12475 (__cthread_getspecific): Call __pthread_getspecific instead of
12476 pthread_getspecific.
12477 (__cthread_setspecific): Call __pthread_setspecific instead of
12478 pthread_setspecific.
12479 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12480 __pthread_mutex_unlock instead of pthread_mutex_lock and
12481 pthread_mutex_unlock.
12482 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12483 ___pthread_get_cleanup_stack.
12484 (__pthread_get_cleanup_stack): New strong alias.
12485 * htl/pt-create.c: Include <pthreadP.h>.
12486 (entry_point): Call __pthread_exit instead of pthread_exit.
12487 (pthread_create): Rename to __pthread_create.
12488 (pthread_create): New strong alias.
12489 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12490 (pthread_detach): New strong alias.
12491 (__pthread_detach): Call __pthread_cond_broadcast instead of
12492 pthread_cond_broadcast.
12493 * htl/pt-exit.c: Include <pthreadP.h>.
12494 (__pthread_exit): Call __pthread_setcancelstate and
12495 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12496 __pthread_get_cleanup_stack.
12497 * htl/pt-testcancel.c: Include <pthreadP.h>.
12498 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12499 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12500 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12501 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12502 pthread_attr_getstacksize.
12503 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12504 Rename to __pthread_attr_getstackaddr.
12505 (pthread_attr_getstackaddr): New strong alias.
12506 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12507 Rename to __pthread_attr_getstacksize.
12508 (pthread_attr_getstacksize): New strong alias.
12509 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12510 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12511 (pthread_attr_setstack): New strong alias.
12512 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12513 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12514 pthread_attr_getstacksize, pthread_attr_setstacksize and
12515 pthread_attr_setstackaddr.
12516 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12517 Rename to __pthread_attr_setstackaddr.
12518 (pthread_attr_setstackaddr): New strong alias.
12519 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12520 Rename to __pthread_attr_setstacksize.
12521 (pthread_attr_setstacksize): New strong alias.
12522 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12523 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12525 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12526 (__pthread_key_create): New hidden def.
12527 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12528 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12529 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12530 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12531 __pthread_setspecific, __pthread_setcancelstate,
12532 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12533 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12534 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12536 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12537 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12538 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12539 (pthread_attr_setstackaddr): New strong alias.
12540 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12541 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12542 (pthread_attr_setstacksize): New strong alias.
12543 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12544 (call_exit): Call __pthread_exit instead of pthread_exit.
12545 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12546 (_pthread_mutex_init): New hidden definition.
12547 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12548 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12549 instead of pthread_attr_init and pthread_attr_setstack.
12551 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12552 __vm_deallocate instead of vm_allocate and vm_deallocate.
12553 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12555 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12557 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12559 * hurd/siginfo.c: Include <libioP.h>.
12560 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12561 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12563 * mach/devstream.c: Include <libioP.h>.
12564 (dealloc_ref): Call __mach_port_deallocate instead of
12565 mach_port_deallocate.
12566 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12567 Call __mach_port_deallocate instead of mach_port_deallocate.
12568 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12570 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12572 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12573 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12574 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12576 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12578 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12579 instead of sysconf.
12580 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12581 __clock_gettime instead of clock_gettime.
12582 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12583 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12584 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12585 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12586 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12588 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12589 __clock_gettime and __nanosleep instead of clock_gettime and
12591 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12592 __hurd_catch_signal.
12593 (hurd_catch_signal): New strong alias.
12594 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12595 __hurd_catch_signal instead of hurd_catch_signal.
12596 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12597 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12598 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12599 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12600 (_hurd_thread_sigstate): Add hidden def.
12601 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12603 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12604 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12605 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12606 __hurd_file_name_path_lookup.
12607 (hurd_file_name_path_lookup): New strong alias.
12608 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12609 hurd_file_name_path_lookup.
12610 * mach/errstring.c (mach_error_type): Add hidden def.
12611 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12612 * mach/mutex-init.c (__mutex_init): Add hidden def.
12613 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12614 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12615 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12616 * sysdeps/mach/hurd/getcwd.c
12617 (_hurd_canonicalize_directory_name_internal): Rename to
12618 __hurd_canonicalize_directory_name_internal.
12619 (_hurd_canonicalize_directory_name_internal): New strong alias.
12620 (__canonicalize_directory_name_internal, __getcwd): Call
12621 __hurd_canonicalize_directory_name_internal instead of
12622 _hurd_canonicalize_directory_name_internal.
12623 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12624 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12626 * sysdeps/hurd/include/hurd.h: New file.
12627 * sysdeps/hurd/include/hurd/fd.h: New file.
12628 * sysdeps/hurd/include/hurd/signal.h: New file.
12629 * sysdeps/mach/include/lock-intern.h: New file.
12630 * sysdeps/mach/include/mach.h: New file.
12631 * sysdeps/mach/include/mach/mig_support.h: New file.
12632 * sysdeps/mach/include/mach_error.h: New file.
12633 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12635 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12636 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12637 _HEADER_H_HIDDEN_DEF macro.
12638 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12639 _hurd_fd_error_signal): Add hidden prototype.
12640 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12642 * libio/iolibio.h (_IO_puts): New hidden prototype.
12643 * libio/ioputs.c (_IO_puts): New hidden def.
12644 * sysdeps/mach/hurd/localplt.data: New file.
12646 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12647 Amos Jeffries <squid3@treenet.co.nz>
12648 David Michael <fedora.dm0@gmail.com>
12649 Marco Gerards <marco@gnu.org>
12650 Marcus Brinkmann <marcus@gnu.org>
12651 Neal H. Walfield <neal@gnu.org>
12652 Pino Toscano <toscano.pino@tiscali.it>
12653 Richard Braun <rbraun@sceen.net>
12654 Roland McGrath <roland@gnu.org>
12655 Samuel Thibault <samuel.thibault@ens-lyon.org>
12656 Thomas DiModica <ricinwich@yahoo.com>
12657 Thomas Schwinge <tschwinge@gnu.org>
12659 * htl: New directory.
12660 * sysdeps/htl: New directory.
12661 * sysdeps/hurd/htl: New directory.
12662 * sysdeps/i386/htl: New directory.
12663 * sysdeps/mach/htl: New directory.
12664 * sysdeps/mach/hurd/htl: New directory.
12665 * sysdeps/mach/hurd/i386/htl: New directory.
12666 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12667 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12668 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12670 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12672 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12673 signals in thread created for runing timers.
12675 2018-04-01 Florian Weimer <fweimer@redhat.com>
12677 * support/support_format_addrinfo.c (support_format_addrinfo):
12678 Include unknown error number in formatted result.
12680 2018-03-29 Florian Weimer <fweimer@redhat.com>
12682 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12685 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12687 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12688 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12689 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12690 (__ASSUME_CLONE_BACKWARDS): Define.
12692 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12695 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12696 early when linux sentinel value is set.
12698 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12700 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12702 2018-03-27 Andreas Schwab <schwab@suse.de>
12705 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12706 allocation of private copy of nsaddr_list fails.
12708 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12711 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12712 * sysdeps/unix/sysv/linux/umount.c: ... here.
12713 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12714 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12715 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12716 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12718 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12719 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12721 2018-03-26 Andreas Schwab <schwab@suse.de>
12723 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12724 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12725 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12726 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12727 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12728 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12729 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12730 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12731 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12732 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12733 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12734 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12735 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12736 (R_RISCV_NUM): Define.
12738 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12740 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12741 TLS declaration of errno.
12742 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12744 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12745 (ARCH_SETUP_TLS): Likewise.
12746 * sysdeps/mach/hurd/libc-start.h: New file copied from
12747 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12748 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12749 instead of __libc_setup_tls.
12750 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12751 __libc_setup_tls before initializing libpthread and running _hurd_init
12752 which starts the signal thread.
12753 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12755 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12757 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12760 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12761 after it is defined.
12763 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12764 Max Horn <max@quendi.de>
12768 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12770 * string/test-memmove.c (do_test2): New testcase.
12772 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12774 * sysdeps/generic/frame.h: Remove file.
12775 * sysdeps/arm/frame.h: Likewise.
12776 * sysdeps/hppa/frame.h: Likewise.
12777 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12779 (GET_FRAME): Likewise.
12780 (GET_STACK): Likewise.
12781 (CALL_SIGHANDLER): Likewise.
12782 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12784 (GET_FRAME): Likewise.
12785 (GET_STACK): Likewise.
12786 (CALL_SIGHANDLER): Likewise.
12787 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12788 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12789 (GET_FRAME): Likewise.
12790 (GET_STACK): Likewise.
12791 (CALL_SIGHANDLER): Likewise.
12792 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12793 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12794 (GET_FRAME): Likewise.
12795 (GET_STACK): Likewise.
12796 (ADVANCE_STACK_FRAME): Likewise.
12797 (CALL_SIGHANDLER): Likewise.
12798 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12799 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12800 (GET_FRAME): Likewise.
12801 (GET_STACK): Likewise.
12802 (CALL_SIGHANDLER): Likewise.
12803 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12804 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12805 (GET_FRAME): Likewise.
12806 (GET_STACK): Likewise.
12807 (CALL_SIGHANDLER): Likewise.
12808 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12809 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12810 (GET_FRAME): Likewise.
12811 (GET_STACK): Likewise.
12812 (CALL_SIGHANDLER): Likewise.
12813 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12814 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12815 (GET_FRAME): Likewise.
12816 (GET_STACK): Likewise.
12817 (CALL_SIGHANDLER): Likewise.
12818 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12819 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12820 (GET_FRAME): Likewise.
12821 (GET_STACK): Likewise.
12822 (CALL_SIGHANDLER): Likewise.
12823 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12824 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12825 (GET_FRAME): Likewise.
12826 (GET_STACK): Likewise.
12827 (CALL_SIGHANDLER): Likewise.
12828 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12829 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12830 (GET_FRAME): Likewise.
12831 (GET_STACK): Likewise.
12832 (CALL_SIGHANDLER): Likewise.
12833 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12834 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12835 (GET_FRAME): Likewise.
12836 (GET_STACK): Likewise.
12837 (CALL_SIGHANDLER): Likewise.
12838 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12839 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12840 (GET_FRAME): Likewise.
12841 (GET_STACK): Likewise.
12842 (CALL_SIGHANDLER): Likewise.
12843 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12844 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12845 (FIRST_FRAME_POINTER): Likewise.
12846 (ADVANCE_STACK_FRAME): Likewise.
12847 (GET_STACK): Likewise.
12848 (GET_FRAME): Likewise.
12849 (CALL_SIGHANDLER): Likewise.
12850 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
12851 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12852 (ADVANCE_STACK_FRAME): Likewise.
12853 (GET_STACK): Likewise.
12854 (GET_FRAME): Likewise.
12855 (CALL_SIGHANDLER): Likewise.
12856 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
12857 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12858 (GET_FRAME): Likewise.
12859 (GET_STACK): Likewise.
12860 (CALL_SIGHANDLER): Likewise.
12861 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
12862 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12863 (GET_FRAME): Likewise.
12864 (GET_STACK): Likewise.
12865 (CALL_SIGHANDLER): Likewise.
12867 2018-03-21 Joseph Myers <joseph@codesourcery.com>
12869 * sysdeps/x86_64/backtrace.c: Move to ....
12870 * debug/backtrace.c: ... here.
12871 * sysdeps/aarch64/backtrace.c: Remove file.
12872 * sysdeps/alpha/backtrace.c: Likewise.
12873 * sysdeps/hppa/backtrace.c: Likewise.
12874 * sysdeps/ia64/backtrace.c: Likewise.
12875 * sysdeps/mips/backtrace.c: Likewise.
12876 * sysdeps/nios2/backtrace.c: Likewise.
12877 * sysdeps/riscv/backtrace.c: Likewise.
12878 * sysdeps/sh/backtrace.c: Likewise.
12879 * sysdeps/tile/backtrace.c: Likewise.
12881 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12884 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
12887 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
12890 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
12891 possibly overflowing computations.
12893 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12895 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
12896 values from Linux-specific section now that it is in the GNU section.
12897 * sysdeps/gnu/errlist.c: Regenerate.
12899 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12901 * math/Makefile (libm-narrow-fns): Add sub.
12902 (libm-test-funcs-narrow): Likewise.
12903 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
12904 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
12905 * math/gen-auto-libm-tests.c (test_functions): Add sub.
12906 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
12907 (NARROW_SUB_ROUND_TO_ODD): Likewise.
12908 (NARROW_SUB_TRIVIAL): Likewise.
12909 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
12911 (__dsubl): Likewise.
12912 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
12914 (CFLAGS-nldbl-dsub.c): New variable.
12915 (CFLAGS-nldbl-fsub.c): Likewise.
12916 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12918 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
12920 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
12921 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
12922 * math/auto-libm-test-in: Add tests of sub.
12923 * math/auto-libm-test-out-narrow-sub: New generated file.
12924 * math/libm-test-narrow-sub.inc: New file.
12925 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12926 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
12927 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
12928 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
12929 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
12930 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
12931 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
12933 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
12934 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
12935 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
12936 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
12937 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
12938 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
12939 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
12940 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
12941 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
12942 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
12943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12944 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12945 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12946 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12947 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12948 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12949 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12950 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12951 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12952 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12953 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12954 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12955 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12956 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12961 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
12962 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12963 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12964 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12965 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12966 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12967 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
12968 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
12969 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12970 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12972 2018-03-19 Joseph Myers <joseph@codesourcery.com>
12975 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
12977 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
12979 * benchtests/bench-timing.h (attribute_hidden): Undefine.
12981 2018-03-18 Richard Braun <rbraun@sceen.net>
12983 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
12986 2018-03-18 Agustina Arzille <avarzille@riseup.net>
12988 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
12989 (__libc_cleanup_fct): Define function.
12990 (__libc_cleanup_region_start, __libc_cleanup_region_end,
12991 __libc_cleanup_end): Rewrite implementation using
12992 __attribute__ ((__cleanup__)).
12993 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
12994 * hurd/Makefile (routines): Add hurdlock.
12995 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
12997 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
12998 * hurd/hurdpid.c: Include <lowlevellock.h>
12999 (_S_msg_proc_newids): Use lll_wait to synchronize.
13000 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13001 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13002 * mach/Makefile (lock-headers): Remove machine-lock.h.
13003 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13005 (__spin_lock_t): New type.
13006 (__SPIN_LOCK_INITIALIZER): New macro.
13007 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13008 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13009 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13010 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13011 (__mutex_init): Initialize with lll.
13012 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13013 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13015 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13016 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13017 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13018 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13019 (__setpgid): Use lll for synchronization.
13020 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13021 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13022 instead of <cthreads.h>.
13023 (_IO_lock_inexpensive): New macro
13024 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13025 (__libc_lock_self0): New declaration.
13026 (__libc_lock_owner_self): New macro.
13027 (__libc_key_t): Remove type.
13028 (_LIBC_LOCK_INITIALIZER): New macro.
13029 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13030 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13031 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13032 __libc_lock_define_initialized_recursive,
13033 __rtld_lock_define_initialized_recursive,
13034 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13035 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13036 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13037 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13038 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13039 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13040 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13042 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13043 * hurd/hurdlock.c: New file.
13044 * hurd/hurdlock.h: New file.
13045 * mach/lowlevellock.h: New file
13047 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13049 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13050 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13051 when opening a symlink with O_NOFOLLOW.
13052 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13053 path when flags contains O_NOFOLLOW.
13054 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13055 if flags contains O_DIRECTORY and the result is a directory.
13056 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13057 oneself when the pointer given in D is nul (as set by ext2fs).
13058 * sysdeps/mach/hurd/mlockall.c: New file.
13059 * sysdeps/mach/hurd/munlockall.c: New file.
13061 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13063 * hurd/hurdsig.c: Include <pthread.h>.
13064 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13065 get the signal thread stack layout.
13066 * hurd/Makefile (headers): Remove threadvar.h.
13067 (inline-headers): Remove threadvar.h.
13068 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13069 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13070 __hurd_threadvar_max, __hurd_errno_location.
13071 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13072 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13073 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13074 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13075 unless TLS is not initialized yet, in which case we do not need a
13076 critical section yet anyway.
13077 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13079 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13081 (__hurd_threadvar_index): Remove enum.
13082 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13083 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13085 (__hurd_reply_port0): New variable declaration.
13086 (__hurd_local_reply_port): New macro.
13087 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13088 (interrupted_reply_port_location): Add thread_t parameter. Use it
13089 with THREAD_TCB to access thread-local variables.
13090 (_hurdsig_abort_rpcs): Pass ss->thread to
13091 interrupted_reply_port_location.
13092 (_hurd_internal_post_signal): Likewise.
13093 (_hurdsig_init): Use presence of cthread_fork instead of
13094 __hurd_threadvar_stack_mask to start signal thread by hand.
13095 Remove signal thread threadvar initialization.
13096 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13097 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13098 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13100 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13102 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13103 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13104 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13105 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13106 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13107 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13108 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13110 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13111 <hurd/threadvar.h>.
13112 [IS_IN(rtld)] (rtld_errno): New variable.
13113 [IS_IN(rtld)] (__errno_location): New weak function.
13114 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13115 * sysdeps/mach/hurd/errno.c: Remove file.
13116 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13117 (__fork): Remove THREADVAR_SPACE macro and its use.
13118 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13120 (init): Do not initialize threadvar.
13121 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13123 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13124 __hurd_local_reply_port instead of threadvar.
13125 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13126 _hurd_sigstate fields.
13127 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13128 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13129 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13130 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13131 instead of threadvar.
13132 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13133 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13134 (use_threadvar, global_reply_port): Remove variables.
13135 (__hurd_reply_port0): New variable.
13136 (__mig_get_reply_port): Use __hurd_local_reply_port and
13137 __hurd_reply_port0 instead of threadvar.
13138 (__mig_dealloc_reply_port): Likewise.
13139 (__mig_init): Do not initialize threadvar.
13140 * sysdeps/mach/hurd/profil.c: Fix comment.
13141 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13142 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13143 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13144 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13145 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13146 __cthread_setspecific.
13147 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13148 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13149 __cthread_t instead of cthread_fork, cthread_detach,
13150 pthread_getattr_np, pthread_attr_getstack.
13151 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13152 __cthread_keycreate.
13153 (cthread_getspecific): Rename to __cthread_getspecific.
13154 (cthread_setspecific): Rename to __cthread_setspecific.
13155 (__libc_getspecific): Use __cthread_getspecific instead of
13156 cthread_getspecific.
13157 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13158 __cthread_keycreate instead of cthread_keycreate.
13159 (__libc_setspecific): Use __cthread_setspecific instead of
13160 cthread_setspecific.
13161 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13164 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13165 testing whether it is defined.
13167 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13169 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13171 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13172 * sysdeps/mach/i386/thread_state.h
13173 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13175 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13177 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13179 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13180 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13182 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13184 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13185 descriptor instead of creating a new one.
13186 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13188 * mach/setup-thread.c: Include <ldsodefs.h>.
13189 (__mach_setup_thread): Call _dl_allocate_tls, pass
13190 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13191 MACHINE_THREAD_STATE_FLAVOR, before getting
13192 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13193 MACHINE_THREAD_STATE_FLAVOR with the result.
13194 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13195 MACHINE_THREAD_STATE_FIX_NEW.
13196 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13197 too. Add original thread parameter.
13199 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13201 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13202 Remove inline function.
13204 * sysdeps/i386/fpu/libm-test-ulps: Update.
13205 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13207 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13209 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13212 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13214 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13215 (__sincos_code): Remove define and undefine.
13216 [__FAST_MATH__] (__sincos): Remove inline function.
13217 [__FAST_MATH__] (__sincosf): Remove inline function.
13218 [__FAST_MATH__] (__sincosl): Remove inline function.
13219 (__atan2l): Remove inline functions.
13220 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13221 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13223 (floor): Remove inline function.
13225 [__FAST_MATH__] (__ldexp_code): Remove macro.
13226 [__FAST_MATH__] (ldexp): Remove inline function.
13227 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13228 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13229 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13230 [__USE_ISOC99] (__lrint_code): Remove macro.
13231 [__USE_ISOC99] (__llrint_code): Likewise.
13232 [__USE_ISOC99] (lrintf): Remove inline function.
13233 [__USE_ISOC99] (lrint): Likewise.
13234 [__USE_ISOC99] (lrintl): Likewise.
13235 [__USE_ISOC99] (llrint): Likewise.
13236 [__USE_ISOC99] (llrintf): Likewise.
13237 [__USE_ISOC99] (llrintl): Likewise.
13239 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13241 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13242 (__ieee754_sqrtf): Remove.
13243 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13244 (__ieee754_sqrtf): Remove.
13245 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13246 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13247 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13248 (__ieee754_sqrtf): Remove.
13249 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13250 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13253 (__ieee754_sqrt): Remove.
13254 (__ieee754_sqrtf): Remove.
13255 (__ieee754_sqrtl): Remove.
13256 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13257 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13258 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13259 (__ieee754_sqrtf): Remove.
13260 (__ieee754_sqrtl): Remove.
13262 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13264 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13265 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13266 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13267 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13268 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13269 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13270 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13271 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13273 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13274 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13275 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13276 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13277 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13278 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13279 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13280 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13281 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13282 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13283 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13284 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13285 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13286 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13287 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13288 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13289 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13290 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13291 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13293 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13295 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13296 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13297 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13299 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13300 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13301 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13302 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13303 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13304 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13305 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13306 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13307 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13308 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13309 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13310 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13311 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13312 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13314 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13316 * include/math.h (sqrt): Declare with asm redirect.
13319 (sqrtf128): Likewise.
13320 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13321 nonlib and libnldbl with -fmath-errno.
13322 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13323 * math/w_sqrt_template.c: Likewise.
13324 * math/w_sqrtf_compat.c: Likewise.
13325 * math/w_sqrtl_compat.c: Likewise.
13326 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13327 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13328 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13331 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13333 * benchtests/Makefile: Define _ISOMAC.
13334 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13335 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13336 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13337 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13338 * benchtests/bench-timing.h: Define attribute_hidden.
13340 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13342 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13345 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13348 * localedata/locales/cs_CZ (mon): Rename to...
13350 (mon): Import from CLDR (genitive case).
13352 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13355 * localedata/locales/el_CY (abmon): Rename to...
13356 (ab_alt_mon): This.
13357 (abmon): Import from CLDR (abbreviated genitive case).
13358 * localedata/locales/el_GR (abmon): Rename to...
13359 (ab_alt_mon): This.
13360 (abmon): Import from CLDR (abbreviated genitive case).
13362 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13365 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13367 2018-03-15 Robert Buj <robert.buj@gmail.com>
13370 * localedata/locales/ca_ES (abmon): Rename to...
13371 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13372 (mon): Rename to...
13374 (abmon): Import from CLDR (genitive case, month names preceded by
13377 (abday): Synchronize with CLDR.
13378 (d_t_fmt): Likewise.
13382 (LC_TIME): Improve indentation.
13383 (LC_TELEPHONE): Likewise.
13384 (LC_NAME): Likewise.
13385 (LC_ADDRESS): Likewise.
13387 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13389 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13390 (lrintf): Remove definitions used only with old GCC.
13391 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13392 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13393 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13394 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13395 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13396 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13397 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13398 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13399 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13400 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13401 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13402 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13403 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13404 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13405 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13406 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13407 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13408 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13409 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13410 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13411 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13412 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13413 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13414 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13415 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13416 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13417 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13418 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13420 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13422 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13423 instruction to unbreak builds with binutils 2.26 and older.
13425 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13427 * sysdeps/aarch64/strncmp.S (count): New macro.
13428 (strncmp): Store misaligned length in SRC1 in COUNT.
13429 (mutual_align): Adjust.
13430 (misaligned8): Load dword at a time when it is safe.
13432 2018-03-12 Zack Weinberg <zackw@panix.com>
13436 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13437 if the _IO_EOF_SEEN bit is already set; update commentary.
13438 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13439 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13441 * support/support_openpty.c, support/tty.h: New files.
13442 * support/Makefile (libsupport-routines): Add support_openpty.
13444 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13446 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13447 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13449 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13451 * po/pt_BR.po: Update translations.
13453 2018-03-12 David Michael <fedora.dm0@gmail.com>
13455 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13456 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13457 get a port to the startup server.
13459 2018-03-11 Zack Weinberg <zackw@panix.com>
13461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13462 before nldbl-compat.h.
13464 2018-03-10 Zack Weinberg <zackw@panix.com>
13466 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13467 math.h or math_private.h.
13469 * sysdeps/alpha/fpu/s_isnan.c
13470 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13471 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13472 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13473 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13474 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13475 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13476 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13477 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13478 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13481 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13482 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13483 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13484 Include math_private.h.
13486 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13487 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13488 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13489 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13490 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13491 * sysdeps/powerpc/power7/fpu/s_logb.c:
13492 Include math.h and math_private.h.
13494 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13495 uses of $at in .set noat / .set at.
13497 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13499 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13500 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13501 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13502 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13505 2018-03-09 Florian Weimer <fweimer@redhat.com>
13507 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13510 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13513 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13514 Add nop before __startcontext, add explaining comments.
13516 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13519 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13521 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13522 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13523 Do not build hardware transactional code for __SPE__.
13524 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13525 (__lll_trylock_elision): Likewise.
13526 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13527 (__lll_unlock_elision): Likewise.
13529 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13530 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13531 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13532 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13533 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13534 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13535 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13536 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13537 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13538 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13539 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13540 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13541 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13542 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13543 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13544 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13545 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13546 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13547 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13548 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13549 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13550 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13551 (__ASSUME_CLONE_BACKWARDS): Define.
13552 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13553 __clone2 if __NR_clone2 is defined.
13554 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13555 (__ASSUME_CLONE_BACKWARDS): Likewise.
13556 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13557 (__ASSUME_CLONE_BACKWARDS): Likewise.
13558 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13559 (__ASSUME_CLONE2): Likewise.
13560 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13561 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13562 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13563 variants and the define architecture can use.
13564 (__ASSUME_CLONE_DEFAULT): Define as default.
13565 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13566 (__ASSUME_CLONE_BACKWARDS): Likewise.
13567 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13568 (__ASSUME_CLONE_BACKWARDS): Likewise.
13569 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13570 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13572 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13574 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13576 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13579 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13580 (do_test_limit): Likewise.
13582 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13583 for every implementation.
13584 (do_test): Likewise.
13586 * benchtests/bench-strncmp.c: Convert output to json.
13588 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13590 * io/futimens.c: Add missing start-of-file descriptive comment.
13591 * io/utime.c: Likewise.
13592 * misc/futimesat.c: Likewise.
13593 * misc/utimes.c: Likewise.
13594 * sysdeps/mach/hurd/futimesat.c: Likewise.
13595 * sysdeps/mach/hurd/utimes.c: Likewise.
13596 * sysdeps/posix/utime.c: Likewise.
13597 * sysdeps/posix/utimes.c: Likewise.
13598 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13599 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13600 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13601 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13603 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13605 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13607 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13608 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13609 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13610 (__futimens): Move implementation to...
13611 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13612 utime_tvalue_from_tspec): ... new helper functions.
13613 (hurd_futimens): New function.
13614 * sysdeps/mach/hurd/futimesat.c: New file.
13615 * sysdeps/mach/hurd/utimensat.c: New file.
13617 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13619 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13620 UTIME_OMIT): New macros.
13621 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13622 before reverting to converting time spec to time value and calling
13624 * sysdeps/mach/hurd/utime-helper.c: New file.
13625 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13626 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13627 reverting to utime_tvalue_from_tval and __file_utimes.
13628 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13629 (__lutimes): Just call hurd_futimens after lookup.
13630 * sysdeps/mach/hurd/utimes.c: Likewise.
13632 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13634 * bits/sigaction.h: Add include guard.
13635 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13636 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13637 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13638 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13639 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13640 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13641 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13642 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13643 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13645 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13647 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13648 -Wmaybe-uninitialized for -Os.
13649 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13652 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13654 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13655 __INO_T_MATCHES_INO64_T is defined.
13656 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13657 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13659 * dirent/alphasort64.c: Likewise.
13660 * dirent/scandir.c: Likewise.
13661 * dirent/scandir64-tail.c: Likewise.
13662 * dirent/scandir64.c: Likewise.
13663 * dirent/scandirat.c: Likewise.
13664 * dirent/scandirat64.c: Likewise.
13665 * dirent/versionsort.c: Likewise.
13666 * dirent/versionsort64.c: Likewise.
13667 * include/dirent.h: Likewise.
13669 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13670 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13671 for socketpair endpoint.
13672 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13673 WRITE_BUFFER_SIZE as buffer size for sending socket.
13674 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13675 issue on system where send is implemented with sendto syscall.
13676 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13677 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13678 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13679 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13682 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13683 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13684 sa_restorer for vDSO case.
13685 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13687 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13689 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13690 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13691 * hurd/hurd/ioctl.h: Include <mach/port.h>
13692 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13693 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13694 <mach/mach_types.h> and <mach/message.h>.
13695 (headers): Move mach/param.h to bits/mach/param.h.
13696 * sysdeps/mach/i386/mach/param.h: Move file to ...
13697 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13698 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13700 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13701 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13702 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13703 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13704 trivial, for C++ conformity.
13705 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13706 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13707 Process mig output through $(migheadersed).
13708 * hurd/Makefile (migheadersed): Define variable.
13709 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13710 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13712 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13713 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13714 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13715 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13716 <bits/types/sigset_t.h>.
13717 [!defined __USE_GNU]: Do not #error out.
13718 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13719 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13720 Include <stddef.h> and <bits/types/sigset_t.h>
13721 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13722 instead of sighandler_t.
13723 * stdlib/errno.h (error_t): Move definition to...
13724 * bits/types/error_t.h: ... new header.
13725 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13726 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13727 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13728 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13729 * hurd/hurd.h: Include <bits/types/error_t.h>
13730 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13731 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13732 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13733 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13734 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13735 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13736 * sysdeps/mach/hurd/futimens.c: New file.
13738 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13741 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13742 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13743 * nscd/gai.c (__nss_hosts_database): Readd definition.
13744 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13745 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13746 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13748 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13750 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13751 (ifunc_one): Likewise.
13753 2018-03-01 DJ Delorie <dj@delorie.com>
13756 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13759 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13761 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13762 `match_pid' parameter.
13763 (td_ta_thr_iter): Update accordingly.
13765 2018-03-01 Florian Weimer <fweimer@redhat.com>
13767 * nptl/Makefile (install-lib-ldscripts): Remove.
13768 (install): Remove rule.
13769 ($(inst_libdir)/libpthread.so): Likewise.
13771 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13774 * localedata/locales/an_ES: update month and day names,
13775 improve d_fmt, improve postal_fmt, add country_post,
13778 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13780 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13781 Ukrainian instead of Bulgarian.
13783 2018-03-01 Florian Weimer <fweimer@redhat.com>
13785 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13788 2018-03-01 Florian Weimer <fweimer@redhat.com>
13790 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13791 * nptl/Makefile (routines): Add pthread_atfork.
13792 (static-only-routines): Set to pthread_atfork.
13793 (libpthread-routines): Remove pthread_atfork.
13794 (libpthread-static-only-routines): Remove.
13795 (install): Update comment.
13796 (libpthread.so): Do not install libpthread_nonshared.a.
13797 (tests): Do not link with libpthread_nonshared.a.
13798 (generated): Remove libpthread_nonshared.a.
13799 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13800 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13801 with libpthread_nonshared.a.
13803 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13806 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13807 (libc_feholdexcept_setroundf128): New macro.
13808 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13811 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13813 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13814 * include/inttypes.h: New file.
13816 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13818 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13819 -Os in two more places.
13821 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13823 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13824 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13825 be sorted correctly at the moment because of a bug.
13827 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13829 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13830 treat ñ as a primary different character, sync the collation
13831 for Spanish with CLDR.
13832 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13833 * localedata/Makefile: Add new test files.
13834 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13835 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13837 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13838 * localedata/am_ET.UTF-8.in: New test file.
13839 * localedata/az_AZ.UTF-8.in: Likewise.
13840 * localedata/be_BY.UTF-8.in: Likewise.
13841 * localedata/ber_DZ.UTF-8.in: Likewise.
13842 * localedata/ber_MA.UTF-8.in: Likewise.
13843 * localedata/bg_BG.UTF-8.in: Likewise.
13844 * localedata/br_FR.UTF-8.in: Likewise.
13845 * localedata/cmn_TW.UTF-8.in: Likewise.
13846 * localedata/crh_UA.UTF-8.in: Likewise.
13847 * localedata/csb_PL.UTF-8.in: Likewise.
13848 * localedata/cv_RU.UTF-8.in: Likewise.
13849 * localedata/cy_GB.UTF-8.in: Likewise.
13850 * localedata/dz_BT.UTF-8.in: Likewise.
13851 * localedata/eo.UTF-8.in: Likewise.
13852 * localedata/es_ES.UTF-8.in: Likewise.
13853 * localedata/fa_IR.UTF-8.in: Likewise.
13854 * localedata/fi_FI.UTF-8.in: Likewise.
13855 * localedata/fil_PH.UTF-8.in: Likewise.
13856 * localedata/fur_IT.UTF-8.in: Likewise.
13857 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
13858 * localedata/ha_NG.UTF-8.in: Likewise.
13859 * localedata/ig_NG.UTF-8.in: Likewise.
13860 * localedata/ik_CA.UTF-8.in: Likewise.
13861 * localedata/kk_KZ.UTF-8.in: Likewise.
13862 * localedata/ku_TR.UTF-8.in: Likewise.
13863 * localedata/ky_KG.UTF-8.in: Likewise.
13864 * localedata/ln_CD.UTF-8.in: Likewise.
13865 * localedata/mi_NZ.UTF-8.in: Likewise.
13866 * localedata/ml_IN.UTF-8.in: Likewise.
13867 * localedata/mn_MN.UTF-8.in: Likewise.
13868 * localedata/mr_IN.UTF-8.in: Likewise.
13869 * localedata/mt_MT.UTF-8.in: Likewise.
13870 * localedata/nb_NO.UTF-8.in: Likewise.
13871 * localedata/om_KE.UTF-8.in: Likewise.
13872 * localedata/os_RU.UTF-8.in: Likewise.
13873 * localedata/ps_AF.UTF-8.in: Likewise.
13874 * localedata/ro_RO.UTF-8.in: Likewise.
13875 * localedata/ru_RU.UTF-8.in: Likewise.
13876 * localedata/sc_IT.UTF-8.in: Likewise.
13877 * localedata/se_NO.UTF-8.in: Likewise.
13878 * localedata/sq_AL.UTF-8.in: Likewise.
13879 * localedata/sv_SE.UTF-8.in: Likewise.
13880 * localedata/szl_PL.UTF-8.in: Likewise.
13881 * localedata/tg_TJ.UTF-8.in: Likewise.
13882 * localedata/tk_TM.UTF-8.in: Likewise.
13883 * localedata/tt_RU.UTF-8.in: Likewise.
13884 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
13885 * localedata/ug_CN.UTF-8.in: Likewise.
13886 * localedata/uz_UZ.UTF-8.in: Likewise.
13887 * localedata/vi_VN.UTF-8.in: Likewise.
13888 * localedata/yi_US.UTF-8.in: Likewise.
13889 * localedata/yo_NG.UTF-8.in: Likewise.
13890 * localedata/zh_CN.UTF-8.in: Likewise.
13891 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
13892 file and fix bugs in the collation.
13893 * localedata/locales/az_AZ: Likewise.
13894 * localedata/locales/be_BY: Likewise.
13895 * localedata/locales/ber_DZ: Likewise.
13896 * localedata/locales/ber_MA: Likewise.
13897 * localedata/locales/bg_BG: Likewise.
13898 * localedata/locales/br_FR: Likewise.
13899 * localedata/locales/br_FR@euro: Likewise.
13900 * localedata/locales/ca_ES: Likewise.
13901 * localedata/locales/cns11643_stroke: Likewise.
13902 * localedata/locales/crh_UA: Likewise.
13903 * localedata/locales/cs_CZ: Likewise.
13904 * localedata/locales/csb_PL: Likewise.
13905 * localedata/locales/cv_RU: Likewise.
13906 * localedata/locales/cy_GB: Likewise.
13907 * localedata/locales/da_DK: Likewise.
13908 * localedata/locales/dz_BT: Likewise.
13909 * localedata/locales/en_CA: Likewise.
13910 * localedata/locales/eo: Likewise.
13911 * localedata/locales/es_CU: Likewise.
13912 * localedata/locales/es_EC: Likewise.
13913 * localedata/locales/es_ES: Likewise.
13914 * localedata/locales/es_US: Likewise.
13915 * localedata/locales/et_EE: Likewise.
13916 * localedata/locales/fa_IR: Likewise.
13917 * localedata/locales/fi_FI: Likewise.
13918 * localedata/locales/fil_PH: Likewise.
13919 * localedata/locales/fur_IT: Likewise.
13920 * localedata/locales/gez_ER@abegede: Likewise.
13921 * localedata/locales/ha_NG: Likewise.
13922 * localedata/locales/hr_HR: Likewise.
13923 * localedata/locales/hsb_DE: Likewise.
13924 * localedata/locales/hu_HU: Likewise.
13925 * localedata/locales/ig_NG: Likewise.
13926 * localedata/locales/ik_CA: Likewise.
13927 * localedata/locales/is_IS: Likewise.
13928 * localedata/locales/iso14651_t1_pinyin: Likewise.
13929 * localedata/locales/kk_KZ: Likewise.
13930 * localedata/locales/ku_TR: Likewise.
13931 * localedata/locales/ky_KG: Likewise.
13932 * localedata/locales/ln_CD: Likewise.
13933 * localedata/locales/lt_LT: Likewise.
13934 * localedata/locales/lv_LV: Likewise.
13935 * localedata/locales/mi_NZ: Likewise.
13936 * localedata/locales/ml_IN: Likewise.
13937 * localedata/locales/mn_MN: Likewise.
13938 * localedata/locales/mr_IN: Likewise.
13939 * localedata/locales/mt_MT: Likewise.
13940 * localedata/locales/nb_NO: Likewise.
13941 * localedata/locales/om_KE: Likewise.
13942 * localedata/locales/os_RU: Likewise.
13943 * localedata/locales/pl_PL: Likewise.
13944 * localedata/locales/ps_AF: Likewise.
13945 * localedata/locales/ro_RO: Likewise.
13946 * localedata/locales/ru_RU: Likewise.
13947 * localedata/locales/ru_UA: Likewise.
13948 * localedata/locales/sc_IT: Likewise.
13949 * localedata/locales/se_NO: Likewise.
13950 * localedata/locales/si_LK: Likewise.
13951 * localedata/locales/sq_AL: Likewise.
13952 * localedata/locales/sv_FI: Likewise.
13953 * localedata/locales/sv_FI@euro: Likewise.
13954 * localedata/locales/sv_SE: Likewise.
13955 * localedata/locales/szl_PL: Likewise.
13956 * localedata/locales/tg_TJ: Likewise.
13957 * localedata/locales/ti_ER: Likewise.
13958 * localedata/locales/tk_TM: Likewise.
13959 * localedata/locales/tl_PH: Likewise.
13960 * localedata/locales/tr_TR: Likewise.
13961 * localedata/locales/tt_RU: Likewise.
13962 * localedata/locales/tt_RU@iqtelif: Likewise.
13963 * localedata/locales/ug_CN: Likewise.
13964 * localedata/locales/uk_UA: Likewise.
13965 * localedata/locales/uz_UZ: Likewise.
13966 * localedata/locales/uz_UZ@cyrillic: Likewise.
13967 * localedata/locales/vi_VN: Likewise.
13968 * localedata/locales/yi_US: Likewise.
13969 * localedata/locales/yo_NG: Likewise.
13971 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13973 * gen-locales.mk: Make test files which contain @ modifiers in their
13975 * localedata/gen-locale.sh: Likewise.
13977 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13979 * posix/tst-fnmatch.input: Fix results for range expressions
13981 * posix/tst-regexloc.c: Do not use a range expression for
13982 de_DE.ISO-8859-1 locale.
13984 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13986 * posix/bug-regex5.c: Fix test case because with the new
13987 iso14651_t1_common file, the da_DK locale now has 6 collating elements
13988 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
13991 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13993 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
13994 downloaded from ISO, the collation order of @-. and space has changed.
13995 Therefore, this test file needed to be adapted.
13996 * localedata/fr_CA.UTF-8.in: Likewise.
13997 * localedata/fr_FR.UTF-8.in: Likewise.
13998 * localedata/uk_UA.UTF-8.in: Likewise.
14000 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14002 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14003 order of ȥ in the new iso14651_t1_common file.
14004 * localedata/pl_PL.UTF-8.in: Likewise.
14006 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14008 * localedata/locales/iso14651_t1_common: Add sections for various
14009 scripts to the iso14651_t1_common file.
14011 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14013 * localedata/locales/iso14651_t1_common: Use the code point of a
14014 character in the fourth collation level instead of IGNORE for all
14015 entries which have IGNORE on all 4 levels.
14017 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14019 * localedata/locales/iso14651_t1_common: Add some convenient collation
14020 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14021 rules similar to those in CLDR.
14023 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14025 * localedata/locales/iso14651_t1_common: The new version of this
14026 file downloaded from ISO contained several syntax errors which
14027 are fixed by this patch.
14029 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14031 * localedata/locales/iso14651_t1_common: replace all <U.....>
14032 with <U000.....> because glibc understands only 4 digit or 8 digit
14034 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14036 * localedata/locales/iso14651_t1_common: Necessary changes
14037 to make the file downloaded from ISO usable by glibc.
14039 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14042 * localedata/locales/iso14651_t1_common: Update file to
14043 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14045 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14047 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14048 of <nptl/pthreadP.h>
14049 (thread_attr_compare): Move function to...
14050 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14051 * sysdeps/nptl/timer_routines.h: ... new header.
14052 * sysdeps/mach/hurd/gai_misc.h: New file.
14054 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14056 * string/strcoll_l.c: Include <libc-diag.h>.
14057 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14058 declarations of seq1 and seq2.
14061 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14062 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14064 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14068 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14069 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14070 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14071 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14072 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14073 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14075 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14077 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14078 macros used in __ptrace_request.
14080 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14083 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14085 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14086 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14087 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14090 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14093 * ctype/ctype.c (tolower): Use libc_hidden_def.
14094 (toupper): Likewise.
14095 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14096 [!_ISOMAC] (toupper): Likewise.
14098 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14100 * localedata/Makefile: Remove --quiet argument when
14103 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14106 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14108 * localedata/locales/pt_PT (LC_TIME): likewise
14110 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14113 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14114 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14115 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14117 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14121 * nptl/Makefile (routines): Remove unregister-atfork.
14122 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14123 (fork_handler_alloc): Remove function.
14124 (fork_handlers, fork_handler_init): New variables.
14125 (__fork_lock): Rename to atfork_lock.
14126 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14127 to use a dynamic array to add/remove atfork handlers.
14128 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14129 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14130 Remove declaration.
14131 (fork_handler): Remove next, refcntr, and need_signal member.
14132 (__run_fork_handler_type): New enum.
14133 (__run_fork_handlers): New prototype.
14134 * nptl/register-atfork.c: Remove file.
14135 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14137 * sysdeps/nptl/nptl-signals.h: Move to ...
14138 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14140 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14141 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14142 unnecessary check for SIGTIMER.
14143 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14144 remove unnecessary removal of SIGTIMER.
14145 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14146 include-signals.h rename.
14147 * nptl/pthreadP.h: Likewise.
14148 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14149 __is_internal_signal instead of __nptl_is_internal_signal.
14151 2018-02-22 Andrew Waterman <andrew@sifive.com>
14154 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14155 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14156 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14157 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14159 2018-02-22 DJ Delorie <dj@delorie.com>
14161 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14163 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14165 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14166 do_misaligned, not misaligned8.
14168 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14170 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14171 Add memcpy_thunderx2.
14172 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14174 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14175 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14176 and IS_THUNDERX2PA checks.
14177 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14178 Use macro to set name appropriately.
14179 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14180 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14181 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14183 (IS_THUNDERX2): New macro.
14185 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14187 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14189 2018-02-21 Zack Weinberg <zackw@panix.com>
14191 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14192 Define here, unconditionally.
14193 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14194 * libio/libioP.h: Remove #if 0 blocks.
14195 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14196 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14197 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14199 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14200 Assume weak_alias is always defined.
14202 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14203 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14204 Remove #if 0 and #ifdef TODO blocks.
14205 Assume text_set_element is always defined.
14207 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14208 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14209 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14211 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14212 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14213 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14214 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14215 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14216 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14217 Reformat bit flags for _flags field to make occupancy clearer.
14219 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14220 Keep definitions consistent with those in libio/libio.h.
14222 * libio/libio.h (_IO_file_flags): Remove macro.
14223 All uses changed to _flags.
14225 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14226 (__HAVE_COLUMN, _IO_BE): Don't define.
14227 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14228 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14229 * libio/libioP.h (EOF): Don't define.
14230 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14231 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14232 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14233 testing _IO_UNIFIED_JUMPTABLES.
14235 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14236 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14237 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14238 (_IO_size_t): Delete; all uses changed to size_t.
14239 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14240 (_IO_off_t): Delete; all uses changed to off_t.
14241 (_IO_off64_t): Delete; all uses changed to off64_t.
14242 (_IO_pid_t): Delete; all uses changed to pid_t.
14243 (_IO_uid_t): Delete; all uses changed to uid_t.
14244 (_IO_wint_t): Delete; all uses changed to wint_t.
14245 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14246 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14247 (_IO_cookie_io_functions_t): Delete; all uses changed to
14248 cookie_io_functions_t.
14249 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14250 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14251 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14252 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14254 * libio/iofopncook.c: Remove unnecessary forward declarations.
14255 * libio/iolibio.h: Correct outdated commentary.
14256 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14257 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14258 Remove unnecessary casts.
14259 * stdio-common/getline.c: Use _IO_getdelim directly.
14260 Don't redefine ssize_t.
14261 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14262 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14263 Remove outdated comments.
14264 * stdio-common/vfscanf.c: Don't redefine va_list.
14266 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14267 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14268 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14269 which are always true, and __cplusplus, which is always false.
14271 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14275 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14276 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14277 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14278 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14280 [!_ISOMAC] (putc_unlocked): Likewise.
14281 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14282 define inline if [__USE_EXTERN_INLINES].
14283 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14288 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14289 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14290 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14291 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14292 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14294 * time/tzfile.c (__tzfile_read): Likewise.
14296 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14299 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14301 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14303 * io/fcntl.h: Fix a typo in a comment.
14305 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14308 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14309 define _DEFAULT_SOURCE.
14310 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14312 2018-02-21 Florian Weimer <fweimer@redhat.com>
14315 * elf/cache.c (save_cache): Call fsync on temporary file before
14317 (save_aux_cache): Call fdatasync on temporary file before renaming
14320 2018-02-21 Florian Weimer <fweimer@redhat.com>
14323 * include/caller.h: Remove file.
14324 * elf/dl-caller.c: Likewise.
14325 * elf/Makefile (dl-routines): Remove dl-caller.
14326 (shared-only-routines): Do not add dl-caller.
14327 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14329 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14331 (dl_open_worker): Do not call __check_caller.
14332 (_dl_open): Do not set caller_dl_open member.
14333 * elf/rtld.c (_rtld_global_ro): Do not initialize
14334 _dl_check_caller member.
14335 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14336 _dl_check_caller member.
14337 (_dl_check_caller): Remove declaration.
14338 * sysdeps/unix/sysv/linux/dl-execstack.c
14339 (_dl_make_stack_executable): Do not call __check_caller.
14341 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14343 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14344 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14346 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14348 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14351 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14354 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14355 of 199606L, 200112L, and 200809L.
14356 (_XOPEN_SOURCE): Document special values of 600 and 700.
14357 (_ISOC11_SOURCE): Document macro.
14358 (_ATFILE_SOURCE): Likewise.
14359 (_FORTIFY_SOURCE): Likewise.
14361 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14365 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14366 and define as weak alias of __ferror_unlocked. Use
14368 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14370 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14371 function if [__USE_EXTERN_INLINES].
14372 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14375 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14378 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14380 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14383 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14384 the GLIBC_2.1 version.
14386 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14389 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14390 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14391 intl/tst-gettext-de.po from po/de.po by removing the
14392 POT-Creation-Date line.
14393 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14395 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14398 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14400 * mach/Makefile (headers): Add mach/param.h.
14401 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14402 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14403 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14404 (__ptsname_r): Move implementation to...
14405 (__ptsname_internal): ... new function. Add filling the STP
14408 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14410 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14413 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14415 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14418 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14420 * nptl/Makefile (tst-mutex8-ENV): Delete.
14421 * nptl/tst-mutex8.c (check_type):
14422 Add runtime check if mutex will be elided.
14424 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14428 * manual/install.texi (Configuring and compiling): Describe
14429 passing CC and CFLAGS on configure command line, not as
14430 environment variables. Use @code markup on those variables.
14431 Specify what options go in CC and what go in CFLAGS. Note the
14432 requirement to compile with optimization.
14433 * INSTALL: Regenerated.
14436 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14437 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14438 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14439 __sigprocmask instead of sigprocmask.
14440 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14442 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14443 __sigsetjmp and sigprocmask.
14446 * include/argz.h (argz_next): Use libc_hidden_proto.
14447 (__argz_next): Likewise.
14448 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14449 (argz_next): Use libc_hidden_weak.
14452 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14454 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14458 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14460 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14464 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14465 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14466 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14467 (__feof_unlocked): New declaration, and inline function if
14468 [__USE_EXTERN_INLINES].
14469 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14470 instead of feof_unlocked.
14471 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14472 * nss/nsswitch.c (nss_parse_file): Likewise.
14473 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14475 * time/getdate.c (__getdate_r): Likewise.
14476 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14477 Define as macro to call __feof_unlocked.
14479 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14481 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14483 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14485 * math/Makefile: Remove mpexp.c and mplog.c
14486 * sysdeps/i386/fpu/mpexp.c: Delete file.
14487 * sysdeps/i386/fpu/mplog.c: Likewise.
14488 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14489 * sysdeps/ia64/fpu/mplog.c: Likewise.
14490 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14491 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14492 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14493 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14494 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14495 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14496 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14497 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14498 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14499 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14500 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14501 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14502 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14503 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14504 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14505 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14507 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14509 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14511 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14513 * sysdeps/sh/libm-test-ulps: Update.
14515 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14517 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14520 2018-02-12 Zack Weinberg <zackw@panix.com>
14523 * posix/sys/types.h: Don't include sys/sysmacros.h.
14524 * misc/sys/sysmacros.h: Remove the conditional deprecation
14525 warnings for the macros defined by this header.
14527 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14529 * manual/probes.texi: Remove slowexp probes.
14530 * math/Makefile: Remove slowexp.
14531 * sysdeps/generic/math_private.h (__slowexp): Remove.
14532 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14533 document error bounds.
14534 * sysdeps/i386/fpu/slowexp.c: Remove.
14535 * sysdeps/ia64/fpu/slowexp.c: Remove.
14536 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14537 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14538 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14539 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14540 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14541 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14542 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14543 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14544 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14545 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14546 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14548 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14551 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14552 * benchtests/pow-inputs: Update comment for slow path cases.
14553 * manual/probes.texi (slowpow_p10): Delete removed probe.
14554 (slowpow_p10): Likewise.
14555 * math/Makefile: Remove halfulp.c and slowpow.c.
14556 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14557 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14558 (__halfulp): Remove.
14559 (__slowpow): Remove.
14560 * sysdeps/i386/fpu/halfulp.c: Delete file.
14561 * sysdeps/i386/fpu/slowpow.c: Likewise.
14562 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14563 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14564 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14565 improve comments and add error analysis.
14566 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14567 (power1): Remove function:
14568 (log1): Remove error argument, add error analysis.
14569 (my_log2): Remove function.
14570 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14571 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14572 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14573 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14574 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14575 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14576 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14577 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14578 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14579 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14580 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14581 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14582 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14583 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14585 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14587 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14588 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14590 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14593 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14594 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14595 and PTRACE_SETHBPREGS.
14597 2018-02-10 Zack Weinberg <zackw@panix.com>
14600 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14602 * malloc/tst-malloc-stats-cancellation.c: New test case.
14603 * malloc/Makefile: Add new test case.
14605 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14607 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14609 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14611 * math/Makefile (libm-narrow-fns): Add add.
14612 (libm-test-funcs-narrow): Likewise.
14613 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14614 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14615 * math/gen-auto-libm-tests.c (test_functions): Add add.
14616 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14617 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14618 (NARROW_ADD_TRIVIAL): Likewise.
14619 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14621 (__daddl): Likewise.
14622 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14624 (CFLAGS-nldbl-dadd.c): New variable.
14625 (CFLAGS-nldbl-fadd.c): Likewise.
14626 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14628 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14630 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14631 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14632 * math/auto-libm-test-in: Add tests of add.
14633 * math/auto-libm-test-out-narrow-add: New generated file.
14634 * math/libm-test-narrow-add.inc: New file.
14635 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14638 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14639 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14640 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14642 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14647 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14649 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14650 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14651 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14652 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14654 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14655 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14657 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14658 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14659 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14660 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14661 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14662 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14663 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14664 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14665 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14676 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14677 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14679 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14680 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14682 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14683 (f128-pairs): New variable.
14684 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14685 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14687 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14688 Also make tests add $(f128-loader-link) to gnulib-tests.
14690 2018-02-09 DJ Delorie <dj@redhat.com>
14693 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14694 64-bit ELF type for 64-bit ELF objects.
14696 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14698 * math/libm-test-driver.c (snan_tests_arg): New variable.
14699 * math/libm-test-support.h (snan_tests_arg): New declaration.
14700 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14702 * math/Makefile (test-type-pairs): New variable.
14703 (test-type-pairs-f64xf128-yes): Likewise.
14704 (tests): Add test-narrow-macros.
14705 (libm-test-funcs-narrow): New variable.
14706 (libm-test-c-narrow): Likewise.
14707 (generated): Add $(libm-test-c-narrow).
14708 (libm-tests-base-narrow): New variable.
14709 (libm-tests-narrow): Likewise.
14710 (libm-tests): Add $(libm-tests-narrow).
14711 (libm-tests-for-type): Handle $(libm-tests-narrow).
14712 (libm-test-c-narrow-obj): New variable.
14713 ($(libm-test-c-narrow-obj)): New rule.
14714 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14715 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14716 $(o-iterator) to set dependencies and CFLAGS.
14717 * math/gen-auto-libm-tests.c: Document use for narrowing
14719 (output_for_one_input_case): Take argument NARROW.
14720 (generate_output): Likewise. Update call to
14721 output_for_one_input_case.
14722 (main): Take --narrow option. Update call to generate_output.
14723 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14724 (apply_lit): Update call to _apply_lit.
14725 (apply_arglit): New function.
14726 (parse_args): Handle "a" arguments.
14727 (parse_auto_input): Handle format names using ":".
14728 * math/README.libm-test: Document "a" parameter type.
14729 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14730 (ARG_TYPE_TRUE_MIN): Likewise.
14731 (ARG_TYPE_MAX): Likwise.
14732 (ARG_MIN_EXP): Likewise.
14733 (ARG_MAX_EXP): Likewise.
14734 (ARG_MANT_DIG): Likewise.
14735 (TEST_COND_arg_ibm128): Likewise.
14736 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14737 (TEST_COND_arg_fmt): New macro.
14738 (init_max_error): Update prototype.
14739 * math/libm-test-support.c (test_ibm128): New variable.
14740 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14741 instead of using [TEST_COND_ibm128] conditional.
14742 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14743 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14744 [TEST_NARROW] (TEST_MSG): New definition.
14745 (arg_plus_zero): New macro.
14746 (arg_minus_zero): Likewise.
14747 (arg_plus_infty): Likewise.
14748 (arg_minus_infty): Likewise.
14749 (arg_qnan_value_pl): Likewise.
14750 (arg_qnan_value): Likewise.
14751 (arg_snan_value_pl): Likewise.
14752 (arg_snan_value): Likewise.
14753 (arg_max_value): Likewise.
14754 (arg_min_value): Likewise.
14755 (arg_min_subnorm_value): Likewise.
14756 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14757 (RUN_TEST_LOOP_aa_f): New macro.
14758 (TEST_SUFF): New macro.
14759 (TEST_SUFF_STR): Likewise.
14760 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14761 (TEST_COND_any_ibm128): New macro.
14762 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14763 this_func. Update call to init_max_error.
14764 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14765 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14766 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14767 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14768 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14769 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14770 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14771 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14772 * math/test-math-vector.h (TEST_NARROW): Likewise.
14773 * math/test-arg-double.h: New file.
14774 * math/test-arg-float128.h: Likewise.
14775 * math/test-arg-float32x.h: Likewise.
14776 * math/test-arg-float64.h: Likewise.
14777 * math/test-arg-float64x.h: Likewise.
14778 * math/test-arg-ldouble.h: Likewise.
14779 * math/test-math-narrow.h: Likewise.
14780 * math/test-narrow-macros.c: Likewise.
14781 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14782 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14783 test-narrow-macros-ldbl-64.
14784 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14786 * math/bits/mathcalls-narrow.h: New file.
14787 * include/bits/mathcalls-narrow.h: Likewise.
14788 * math/math-narrow.h: Likewise.
14789 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14790 (__MATHCALL_NARROW_ARGS_2): Likewise.
14791 (__MATHCALL_NARROW_ARGS_3): Likewise.
14792 (__MATHCALL_NARROW_NORMAL): Likewise.
14793 (__MATHCALL_NARROW_REDIR): Likewise.
14794 (__MATHCALL_NARROW): Likewise.
14795 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14796 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14798 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14799 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14800 (libm-narrow-fns): New variable.
14801 (libm-narrow-types-basic): Likewise.
14802 (libm-narrow-types-ldouble-yes): Likewise.
14803 (libm-narrow-types-float128-yes): Likewise.
14804 (libm-narrow-types-float128-alias-yes): Likewise.
14805 (libm-narrow-types): Likewise.
14806 (libm-routines): Add narrowing functions.
14807 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14808 (libc_feholdexcept_setroundf128): New macro.
14809 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14810 * sysdeps/ieee754/float128/float128_private.h: Include
14811 <math/math-narrow.h>.
14812 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14813 Undefine and redefine.
14814 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14815 (libm_alias_float_ldouble): Undefine and redefine.
14816 (libm_alias_double_ldouble): Likewise.
14818 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14820 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14822 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14825 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14827 * manual/creature.texi: Convert references to gcc.info to gcc.
14828 * manual/stdio.texi: Likewise.
14829 * manual/string.texi: Likewise.
14831 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14834 * posix/bits/types.h (__int_least8_t): New typedef.
14835 (__uint_least8_t): Likewise.
14836 (__int_least16_t): Likewise.
14837 (__uint_least16_t): Likewise.
14838 (__int_least32_t): Likewise.
14839 (__uint_least32_t): Likewise.
14840 (__int_least64_t): Likewise.
14841 (__uint_least64_t): Likewise.
14842 * sysdeps/generic/stdint.h (int_least8_t): Define using
14844 (int_least16_t): Define using __int_least16_t.
14845 (int_least32_t): Define using __int_least32_t.
14846 (int_least64_t): Define using __int_least64_t.
14847 (uint_least8_t): Define using __uint_least8_t.
14848 (uint_least16_t): Define using __uint_least16_t.
14849 (uint_least32_t): Define using __uint_least32_t.
14850 (uint_least64_t): Define using __uint_least64_t.
14851 * wcsmbs/uchar.h: Include <bits/types.h>.
14852 (char16_t): Define using __uint_least16_t conditional only on
14854 (char32_t): Define using __uint_least32_t conditional only on
14856 * wcsmbs/test-char-types.c: New file.
14857 * wcsmbs/Makefile (tests): Add test-char-types.
14859 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14862 2018-02-07 Zack Weinberg <zackw@panix.com>
14864 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
14865 Delete all contents except for definitions of _G_HAVE_MMAP and
14866 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
14867 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
14868 sysdeps/unix/sysv/linux/_G_config.h. Make same content
14871 * libio/libio.h: Don't include bits/_G_config.h here.
14872 Include stddef.h with __need_wchar_t defined. Include
14873 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
14874 Define _IO_iconv_t here, directly.
14875 Don't define _IO_HAVE_ST_BLKSIZE.
14876 * libio/libioP.h: Include _G_config.h here. Move include of
14877 shlib-compat.h up with rest of includes. Simplify conditionals
14878 controlling definition of _IO_JUMPS_OFFSET.
14880 * csu/init.c: Remove always-true #if around entire file.
14881 Don't include stdio.h. Set _IO_stdin_used to hardwired
14882 constant 0x20001, and update commentary.
14883 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
14884 Replace all uses of _G_va_list with __gnuc_va_list.
14885 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
14886 instead of #if _IO_HAVE_ST_BLKSIZE.
14887 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
14888 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
14891 * libio/bits/libio.h: Move back to libio/libio.h and adjust
14892 multiple-include guard to match.
14893 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
14895 Remove preprocessor conditionals that are always true and/or
14896 redundant to other preprocessor conditionals in the same nest.
14897 Include shlib-compat.h unconditionally.
14898 Error out if _LIBC is not defined, or if _ISOMAC is defined,
14899 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
14900 defined after including stdio.h.
14901 Use __BEGIN_DECLS/__END_DECLS.
14903 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
14904 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
14905 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
14907 2018-02-07 Zack Weinberg <zackw@panix.com>
14909 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
14910 New single-type headers split from _G_config.h.
14911 * libio/bits/types/cookie_io_functions_t.h
14912 * libio/bits/types/struct_FILE.h
14913 New single-type headers split from libio.h.
14915 * libio/Makefile: Install the above new headers. Don't install
14916 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
14918 * libio/_G_config.h, libio/libio.h: Delete file.
14920 * libio/bits/libio.h: Remove improper-inclusion guard.
14921 Include stdio.h and don't repeat anything that it does.
14922 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
14923 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
14924 __io_read_fn as cookie_read_function_t,
14925 __io_write_fn as cookie_write_function_t,
14926 __io_seek_fn as cookie_seek_function_t,
14927 __io_close_fn as cookie_close_function_t,
14928 and _IO_cookie_io_functions_t as cookie_io_functions_t.
14929 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
14930 here, in the "compatibility defines" section. Remove an #if 0
14931 block. Use the "body" macros from bits/types/struct_FILE.h to
14932 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
14933 and _IO_ferror_unlocked.
14934 Move prototypes of __uflow and __overflow...
14936 * libio/stdio.h: ...here. Don't include bits/libio.h.
14937 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
14938 directly from stdarg.h. Include bits/types/__fpos_t.h,
14939 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
14940 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
14941 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
14942 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
14943 cookie_io_functions_t, not _IO_cookie_io_functions_t;
14944 __ssize_t, not _IO_ssize_t. Unconditionally define
14945 BUFSIZ as 8192 and EOF as (-1).
14947 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
14948 macros from bits/types/struct_FILE.h instead of _IO_* macros
14949 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
14950 instead of _IO_ssize_t.
14951 * libio/bits/stdio2.h: Similarly.
14953 * libio/iolibio.h: Add multiple-include guard.
14954 Include bits/libio.h after stdio.h.
14955 * libio/libioP.h: Add multiple-include guard.
14956 Include stdio.h and bits/libio.h before iolibio.h.
14958 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
14959 * include/bits/types/cookie_io_functions_t.h
14960 * include/bits/types/struct_FILE.h: New wrappers.
14962 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
14963 Get definitions of _G_fpos_t and _G_fpos64_t from
14964 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
14965 respectively. Remove improper-inclusion guards.
14967 * conform/data/stdio.h-data: Update expectations of va_list.
14968 * scripts/check-installed-headers.sh: Remove special case for
14969 libio.h and _G_config.h.
14971 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14975 * include/sys/sysmacros.h [!_ISOMAC]
14976 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
14977 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
14978 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
14979 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
14981 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
14982 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
14984 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
14985 Undefine and redefine to add use __gnu_dev_ prefix.
14986 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
14988 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
14989 and define as hidden inline function.
14990 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
14992 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
14994 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
14995 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
14996 (gnu_dev_minor): Likewise.
14997 (gnu_dev_makedev): Likewise.
14998 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15000 * posix/wordexp.c (exec_comm_child): Likewise.
15001 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15002 instead of minor and __gnu_dev_major instead of major.
15003 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15004 __gnu_dev_major instead of major.
15005 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15006 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15007 instead of gnu_dev_minor.
15008 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15009 (SLAVE_P): Likewise.
15010 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15011 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15015 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15017 * locale/weightwc.h (findidx): Likewise.
15019 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15021 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15022 (slowlog_inexact): Likewise
15023 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15024 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15026 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15029 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15030 missing second underscore to parameter name.
15032 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15038 * bits/byteswap.h: Update file comment. Do not include
15039 <bits/byteswap-16.h>.
15040 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15042 (__bswap_16): Define as inline function.
15043 (__bswap_constant_32): Reformat definition.
15044 (__bswap_32): Always define as inline function, not macro, using
15045 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15046 otherwise __bswap_constant_32.
15047 (__bswap_constant_64): Reformat definition. Do not use
15048 __extension__ here.
15049 (__bswap_64): Always define as inline function, not macro. Use
15050 __extension__ on function definition. Use __builtin_bswap64 if
15051 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15052 * string/test-endian-file-scope.c: New file.
15053 * string/test-endian-sign-conversion.c: Likewise.
15054 * string/Makefile (headers): Remove bits/byteswap-16.h.
15055 (tests): Add test-endian-file-scope and
15056 test-endian-sign-conversion.
15057 (CFLAGS-test-endian-sign-conversion.c): New variable.
15058 * bits/byteswap-16.h: Remove file.
15059 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15060 * sysdeps/ia64/bits/byteswap.h: Likewise.
15061 * sysdeps/m68k/bits/byteswap.h: Likewise.
15062 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15063 * sysdeps/s390/bits/byteswap.h: Likewise.
15064 * sysdeps/tile/bits/byteswap.h: Likewise.
15065 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15066 * sysdeps/x86/bits/byteswap.h: Likewise.
15069 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15070 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15071 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15072 199901L] (__restrict): Define to restrict.
15075 * string/testcopy.c: Include <support/support.h>. Do not include
15076 <malloc.h>. Use <support/test-driver.c>.
15077 (main): Rename to do_test. Make static. Use xmalloc instead of
15081 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15082 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15083 (SSIZE_MAX): Define to INT_MAX.
15084 * posix/test-ssize-max.c: New file.
15085 * posix/Makefile (tests): Add test-ssize-max.
15088 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15089 <support/support.h>. Do not include <malloc.h>.
15090 (query_auxv): Use xmalloc instead of malloc.
15093 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15094 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15097 2018-02-06 Florian Weimer <fweimer@redhat.com>
15100 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15101 Use scratch_buffer instead of extend_alloca.
15103 2018-02-06 Zack Weinberg <zackw@panix.com>
15105 * libio/stdio.h: Don't define getc or putc as macros.
15106 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15107 not _IO_getc and _IO_putc.
15109 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15110 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15112 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15114 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15115 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15117 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15120 * elf/elf.h (NT_PRFPREG): New macro.
15121 (NT_S390_VXRS_LOW): Likewise.
15122 (NT_S390_VXRS_HIGH): Likewise.
15123 (NT_S390_GS_CB): Likewise.
15124 (NT_S390_GS_BC): Likewise.
15125 (NT_S390_RI_CB): Likewise.
15127 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15128 (MAP_SYNC): New macro.
15129 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15131 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15132 (MAP_SYNC): Likewise.
15133 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15134 (MAP_SYNC): Likewise.
15135 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15136 (MAP_SYNC): Likewise.
15137 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15138 (MAP_SYNC): Likewise.
15139 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15140 (MAP_SYNC): Likewise.
15141 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15142 (MAP_SYNC): Likewise.
15143 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15145 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15148 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15149 (MAP_SHARED_VALIDATE): New macro.
15150 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15151 (MAP_SHARED_VALIDATE): Likewise.
15153 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15155 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15156 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15157 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15159 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15161 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15162 (DT_NUM): Updated to 35.
15164 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15166 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15167 __builtin_expect with __glibc_likely and __glibc_unlikely.
15168 (elf_machine_rela): Likewise.
15169 (elf_machine_lazy_rel): Likewise.
15171 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15173 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15174 __builtin_expect with __glibc_likely and __glibc_unlikely.
15175 (elf_machine_lazy_rel): Likewise.
15177 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15180 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15182 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15184 2018-02-05 Andreas Schwab <schwab@suse.de>
15187 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15190 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15192 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15193 not check against PTHREAD_STACK_MIN.
15195 2018-02-02 Sean McKean <smckean83@gmail.com>
15198 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15200 2018-02-02 Florian Weimer <fweimer@redhat.com>
15203 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15204 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15205 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15206 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15207 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15208 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15209 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15210 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15211 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15212 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15213 * misc/tst-preadvwritev2.c (do_test): Call it.
15214 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15216 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15218 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15220 * benchtests/bench-memcmp.c: Print json instead of plain text.
15222 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15225 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15227 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15229 (s390_sthyi): New syscall.
15231 * sysdeps/generic/ldbl-classify-compat.h: New file.
15232 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15233 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15234 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15235 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15236 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15237 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15238 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15239 <ldbl-classify-compat.h>.
15240 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15241 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15242 <ldbl-classify-compat.h>.
15243 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15244 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15245 <ldbl-classify-compat.h>.
15246 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15247 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15248 <ldbl-classify-compat.h>.
15249 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15251 <ldbl-classify-compat.h>.
15252 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15254 <ldbl-classify-compat.h>.
15255 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15256 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15257 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15258 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15259 * sysdeps/microblaze/math_private.h: Likewise.
15260 * sysdeps/nios2/math_private.h: Likewise.
15261 * sysdeps/sh/math_private.h: Likewise.
15263 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15264 * sysdeps/m68k/coldfire/math_private.h: ... here.
15265 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15266 * sysdeps/tile/math_private.h: Likewise.
15267 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15269 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15272 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15274 (libc_fetestexcept): Likewise.
15275 (libc_feupdateenv_test): Likewise.
15276 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15277 (libc_fetestexcept): Likewise.
15278 (libc_feupdateenv_test): Likewise.
15279 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15280 (libc_fetestexcept): Likewise.
15281 (libc_feupdateenv_test): Likewise.
15282 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15283 (libc_fetestexcept): Likewise.
15284 (libc_feupdateenv_test): Likewise.
15286 * sysdeps/generic/math_private.h
15287 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15288 New inline function.
15289 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15292 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15293 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15294 * sysdeps/generic/math_private.h
15295 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15297 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15299 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15301 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15303 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15305 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15307 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15308 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15309 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15310 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15311 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15312 (__fegetenv): Likewise.
15313 (fesetenv): Likewise.
15314 (__fesetenv): Likewise.
15315 (feupdateenv): Likewise.
15316 (__feupdateenv): Likewise.
15317 (fegetround): Likewise.
15318 (__fegetround): Likewise.
15319 (fesetround): Likewise.
15320 (__fesetround): Likewise.
15322 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15323 (feraiseexcept): New macro.
15324 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15325 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15327 (__feraiseexcept): Likewise.
15328 (feclearexcept): Likewise.
15329 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15330 (__feraiseexcept): Likewise.
15331 (feclearexcept): Likewise.
15332 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15333 (__feraiseexcept): Likewise.
15334 (feclearexcept): Likewise.
15335 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15336 (__feraiseexcept): Likewise.
15337 (feclearexcept): Likewise.
15338 (fetestexcept): Likewise.
15340 * sysdeps/m68k/coldfire/math-tests.h: New file.
15342 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15343 * sysdeps/m68k/bits/fenv.h: ... here.
15344 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15346 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15348 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15350 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15352 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15354 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15356 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15357 (__FE_UNDEFINED): New enum constant.
15358 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15360 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15362 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15364 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15365 to match generic bits/fenv.h.
15366 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15369 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15371 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15372 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15373 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15374 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15376 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15377 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15378 Joseph Myers <joseph@codesourcery.com>
15381 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15382 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15383 computation using c.
15384 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15385 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15386 computation using c.
15388 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15390 * version.h (RELEASE): Set to "development".
15391 (VERSION): Set to "2.27.9000".
15392 * NEWS (2.28): New section.
15394 * version.h (RELEASE): Set to "stable".
15395 (VERSION): Set to "2.27".
15396 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15398 * NEWS: Add the list of bugs fixed in 2.27.
15400 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15402 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15403 against PTHREAD_STACK_MIN.
15405 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15407 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15409 (Rafal Luzynski, Andreas Schwab): Update.
15411 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15414 * NEWS: List the languages which actually use the alternative
15415 months feature in this release. Also explain that "alt_mon" and
15416 "ab_alt_mon" are optional.
15418 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15421 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15423 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15425 * manual/install.texi (Tools for Compilation): Update the newest
15426 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15427 * INSTALL: Regenerated.
15429 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15431 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15432 instead of __builtin_expect.
15434 2018-01-30 Florian Weimer <fweimer@redhat.com>
15436 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15438 * nss/tst-nss-getpwent.c (do_test): Likewise.
15440 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15443 * localedata/locales/hr_HR (mon): Rename to...
15445 (mon): Import from CLDR (genitive case).
15446 (d_t_fmt): Update the comment.
15448 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15450 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15451 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15452 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15454 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15456 * mach/Versions: Fix version when __mach_host_self_ was added.
15457 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15458 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15459 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15460 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15461 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15462 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15463 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15464 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15465 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15466 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15467 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15468 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15469 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15470 || to respect codestyle.
15471 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15472 (do_test_bz20181): Rename accordingly.
15473 * malloc/malloc.c: Include <assert.h>.
15474 (assert): Do not define.
15475 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15476 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15477 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15478 * sysdeps/mach/hurd/hp-timing.h: New file.
15479 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15481 2018-01-29 Darius Rad <darius@bluespec.com>
15483 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15485 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15487 * sysdeps/init_array/crti.S (.section .init_array): Add
15488 PREINIT_FUNCTION when defined.
15489 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15490 * config.h.in: Regenerate.
15491 * manual/platform.texi: Add RISC-V documenation for
15492 __riscv_flush_icache.
15493 * sysdeps/riscv/__longjmp.S: New file.
15494 * sysdeps/riscv/backtrace.c: Likewise.
15495 * sysdeps/riscv/bits/endian.h: Likewise.
15496 * sysdeps/riscv/bits/setjmp.h: Likewise.
15497 * sysdeps/riscv/bits/wordsize.h: Likewise.
15498 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15499 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15500 * sysdeps/riscv/dl-trampoline.S: Likewise.
15501 * sysdeps/riscv/gccframe.h: Likewise.
15502 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15503 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15504 * sysdeps/riscv/machine-gmon.h: Likewise.
15505 * sysdeps/riscv/memusage.h: Likewise.
15506 * sysdeps/riscv/setjmp.S: Likewise.
15507 * sysdeps/riscv/sys/asm.h: Likewise.
15508 * sysdeps/riscv/tls-macros.h: Likewise.
15509 * sysdeps/riscv/dl-tls.h: New file.
15510 * sysdeps/riscv/libc-tls.c: Likewise.
15511 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15512 * sysdeps/riscv/nptl/tls.h: Likewise.
15513 * sysdeps/riscv/stackinfo.h: Likewise.
15514 * sysdeps/riscv/bits/fenv.h: New file.
15515 * sysdeps/riscv/e_sqrtl.c: Likewise.
15516 * sysdeps/riscv/fpu_control.h: Likewise.
15517 * sysdeps/riscv/math-tests.h: Likewise.
15518 * sysdeps/riscv/nofpu/Implies: Likewise.
15519 * sysdeps/riscv/sfp-machine.h: Likewise.
15520 * sysdeps/riscv/tininess.h: Likewise.
15521 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15522 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15523 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15524 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15525 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15526 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15527 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15528 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15529 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15530 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15531 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15532 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15533 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15534 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15535 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15536 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15537 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15538 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15539 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15540 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15541 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15542 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15543 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15544 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15545 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15546 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15547 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15548 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15549 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15550 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15551 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15552 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15553 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15554 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15555 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15556 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15557 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15558 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15559 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15560 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15561 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15562 * sysdeps/riscv/rvf/math_private.h: Likewise.
15563 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15564 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15565 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15566 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15567 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15568 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15569 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15570 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15571 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15572 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15573 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15574 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15575 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15576 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15577 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15578 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15579 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15580 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15581 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15582 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15583 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15584 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15585 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15586 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15587 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15588 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15589 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15590 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15591 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15592 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15593 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15594 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15595 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15596 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15597 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15598 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15599 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15600 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15601 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15602 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15603 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15604 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15605 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15606 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15607 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15608 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15609 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15610 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15611 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15612 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15613 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15614 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15615 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15616 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15617 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15618 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15619 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15620 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15621 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15622 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15623 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15624 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15625 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15626 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15627 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15628 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15629 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15630 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15631 * sysdeps/riscv/Implies: New file.
15632 * sysdeps/riscv/Makefile: Likewise.
15633 * sysdeps/riscv/configure: Likewise.
15634 * sysdeps/riscv/configure.ac: Likewise.
15635 * sysdeps/riscv/nptl/Makefile: Likewise.
15636 * sysdeps/riscv/preconfigure: Likewise.
15637 * sysdeps/riscv/rv64/Implies-after: Likewise.
15638 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15639 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15640 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15641 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15642 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15643 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15644 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15645 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15646 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15647 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15648 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15649 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15650 (Config): Likewise.
15652 2018-01-29 Florian Weimer <fweimer@redhat.com>
15655 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15656 libnsl_hidden_proto.
15657 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15658 libnsl_hidden_proto.
15659 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15660 * nis/Makefile (libnsl-routines): Add nss-default only for
15661 build-obsolete-nsl.
15662 * nis/nis_defaults.c (__nis_default_ttl): Add
15663 libnsl_hidden_nolink_def.
15664 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15666 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15667 * nis/ypclnt.c (yp_maplist): Likewise.
15669 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15671 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15672 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15674 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15676 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15677 clean -dxfq for git updates when replacing sources.
15679 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15680 --disable-libcilkrts unconditionally, not just for the final GCC
15683 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15686 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15689 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15692 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15695 * localedata/locales/be_BY (mon): Rename to...
15696 (alt_mon): This, then synchronize with CLDR (nominative case).
15697 (abmon): Rename to...
15698 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15699 (mon): Import from CLDR (genitive case).
15701 * localedata/locales/be_BY@latin (mon): Rename to...
15703 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15705 * localedata/locales/be_BY@latin (lang_name): Reworded to
15706 "biełaruskaja mova".
15708 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15711 * localedata/locales/el_CY (mon): Renamed to...
15713 (mon): Import from CLDR (genitive case).
15714 * localedata/locales/el_GR: Likewise.
15716 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15719 * localedata/locales/ru_RU (mon): Rename to...
15721 (abmon): Rename to...
15722 (ab_alt_mon): This.
15723 (mon): Import from CLDR (genitive case).
15724 (abmon): Copy from the old content except the 5th month which is
15725 now in the genitive case, even when abbreviated.
15726 * localedata/locales/ru_UA: Likewise.
15727 * time/tst-strptime.c (day_tests): Add an actual example of
15728 a difference between %b and %Ob in Russian.
15730 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15732 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15733 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15735 * resolv/res-close.c: Include <stdlib.h>.
15736 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15737 <sys/wait.h>, <time.h>, <sys/uio.h>.
15738 (NOT_CANCEL_H): Add inclusion guard.
15739 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15740 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15741 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15743 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15744 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15745 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15747 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15748 timer_ptr2id to cast struct timer_node * to void *.
15749 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15750 --disable-libcilkrts to gcc configure.
15751 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15752 and make them the default for now.
15753 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15754 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15755 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15756 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15757 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15759 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15760 __task_terminate would ever return successfully.
15761 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15763 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15764 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15765 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15766 critical section to make code simpler and avoid warning.
15767 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15768 critical section to make code simpler and avoid warning.
15769 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15770 const char * instead of char *.
15771 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15772 __hurd_file_name_split, hurd_file_name_split,
15773 __hurd_directory_name_split, hurd_directory_name_split,
15774 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15775 hurd_file_name_path_lookup): Make lookup function parameter take a
15776 const char *name instead of char *name.
15777 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15778 __hurd_directory_name_split): Likewise.
15779 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15780 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15781 * sysdeps/mach/hurd/check_native.c: New file.
15782 * sysdeps/mach/hurd/check_pf.c: New file.
15783 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15784 (__freeifaddrs): Define macro to freeifaddrs.
15785 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15786 * sysdeps/mach/libmachuser.abilist: New file.
15787 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15788 (do_test_bz20181): Rename accordingly.
15789 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15790 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15792 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15793 version only if __USE_EXTERN_INLINES is defined.
15794 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15795 __hurd_sockfail): Likewise.
15796 (_hurd_fd_get): Always declare functions, and provide inline versions
15797 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15798 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15799 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15800 _hurd_port_set): Always declare functions, and provide inline versions
15801 only if __USE_EXTERN_INLINES and _LIBC are defined and
15803 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15804 _hurd_critical_section_unlock): Likewise.
15805 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15806 * __hurd_threadvar_location): Likewise.
15807 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15808 _hurd_userlink_clear): Likewise.
15809 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15810 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15811 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15812 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15813 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15814 __spin_lock_locked): Likewise.
15815 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15816 __spin_lock_locked): Likewise.
15817 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15818 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15819 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15820 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15821 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15822 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15823 _POSIX_NO_TRUNC): Define to 0.
15824 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15825 check size against PTHREAD_STACK_MIN.
15826 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15827 IS_IN(libpthread)]: Include <sigsetops.h>.
15828 * mach/Makefile (user-interfaces): Add mach/gnumach.
15829 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15830 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15831 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15832 instead of invalid -1.
15833 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15834 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15835 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15838 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15840 * hurd/fcntl-internal.h: New file.
15842 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15844 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15846 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15848 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
15851 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
15852 Build only shared objects.
15854 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15856 * README: Update for hppa.
15858 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15860 * sysdeps/sparc/fpu/libm-test-ulps: Update
15861 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
15863 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15867 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15870 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15871 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15872 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15873 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15876 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15879 * bits/types/__cancel_jmp_buf_tag.h: New file.
15880 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15881 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15882 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15883 * nptl/Makefile (headers): Add
15884 bits/types/__cancel_jmp_buf_tag.h.
15885 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15886 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15887 * sysdeps/nptl/pthread.h: Include
15888 <bits/types/__cancel_jmp_buf_tag.h>.
15889 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15891 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15893 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15896 * localedata/locales/uk_UA (mon): Renamed to...
15898 (alt_digits): "0" removed and then renamed to...
15900 (date_fmt): Definition changed not to use the alternative
15903 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
15905 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
15906 FLAG_RISCV_FLOAT_ABI_DOUBLE.
15907 * elf/elf.h (EF_RISCV_RVC): New define.
15908 (EF_RISCV_FLOAT_ABI): Likewise.
15909 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
15910 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
15911 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15912 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
15913 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
15915 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15917 2018-01-25 Andreas Schwab <schwab@suse.de>
15919 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
15921 * sysdeps/gnu/configure: Regenerate.
15922 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15923 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15925 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15926 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15927 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
15928 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15929 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15931 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15933 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
15934 URL, and run autoconf, make it the default for now.
15936 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15938 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15939 soft-float ColdFire configuration.
15941 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
15942 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
15943 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
15945 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
15948 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
15950 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
15952 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
15955 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
15956 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
15957 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
15960 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15963 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
15964 Rename to __reserved and add comment.
15965 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
15966 Rename to __reserved.
15968 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15970 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15971 i686-gnu configurations.
15972 (Context.run_builds): Include mig, gnumach and hurd in components
15974 (Context.checkout): Add mig, gnumach and hurd to components.
15975 (Context.checkout_tar): Add URL mappings for mig, gnumach and
15977 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
15978 (Config.build): Install gnumach headers, build mig and install
15979 hurd headers for 'gnu' OS.
15980 (Config.install_gnumach_headers): New function.
15981 (Config.install_hurd_headers): Likewise.
15982 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
15983 when building for 'gnu' OS.
15985 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
15987 * manual/tunables.texi (Hardware Capability Tunables): Fix
15990 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
15992 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
15993 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
15994 (ALTMON_11, ALTMON_12): Improve documentation.
15995 * manual/time.texi (strftime): Likewise.
15997 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16000 * localedata/locales/pl_PL: Alternative month names added,
16001 primary month names are genitive now.
16002 * time/tst-strptime.c (day_tests): Actually use a genitive case
16003 of a month name in Polish language.
16005 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16008 * manual/locale.texi: Document ALTMON_1..12 constants for
16009 nl_langinfo. Specify when to use ALTMON instead of MON.
16010 * manual/time.texi (strftime, strptime): Document GNU extension
16011 permitting O modifier with %B and %b. Specify when to use
16014 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16017 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16018 names, define them as the same as abbreviated month names explicitly.
16019 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16020 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16021 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16022 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16023 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16024 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16025 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16026 _NL_WABALTMON_12): New enum constants.
16027 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16028 wab_alt_mon, and ab_alt_mon_defined members.
16029 (time_output): Output ab_alt_mon and wab_alt_mon members.
16030 (time_read): Read them, initialize them as copies of abmon and wabmon
16031 respectively if they are missing, initialize ab_alt_mon_defined.
16032 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16033 * locale/programs/locfile-kw.h: Regenerate.
16034 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16035 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16037 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16038 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16039 (__strftime_internal): Handle %Ob and %Oh formats.
16040 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16041 (__strptime_internal): Handle %Ob and %Oh formats.
16042 * time/tst-strptime.c (day_tests): Add more tests to parse different
16043 forms of month names including the new %Ob format specifier.
16045 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16048 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16049 define them as the same as primary full month names explicitly.
16050 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16051 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16052 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16053 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16054 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16055 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16056 _NL_WALTMON_12): New enum constants.
16057 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16058 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16060 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16061 walt_mon, and alt_mon_defined members.
16062 (time_output): Output alt_mon and walt_mon members.
16063 (time_read): Read them, initialize them as copies of mon and wmon
16064 respectively if they are missing, initialize alt_mon_defined.
16065 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16066 * locale/programs/locfile-kw.h: Regenerate.
16067 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16068 * localedata/tst-langinfo.c (map): Add tests for the new constants
16069 ALTMON_1 .. ALTMON_12.
16070 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16072 * time/strftime_l.c (f_altmonth): New macro.
16073 (__strftime_internal): Handle %OB format.
16074 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16075 (__strptime_internal): Handle %OB format.
16076 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16077 of month names including the new %OB format specifier.
16079 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16082 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16083 from ABORT_TRANSACTION.
16084 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16085 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16086 ABORT_TRANSACTION_IMPL): Likewise.
16087 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16088 Linux code, but remove the code that aborts transactions.
16090 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16092 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16094 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16096 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16097 in date: "2004-14-09" should be "2004-09-14".
16098 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16099 "2003-15-09" should be "2003-09-15".
16101 2018-01-18 Arjun Shankar <arjun@redhat.com>
16107 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16109 (_int_memalign): check for integer overflow before calling
16111 * malloc/tst-malloc-too-large.c: New test.
16112 * malloc/Makefile: Add tst-malloc-too-large.
16114 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16116 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16117 in date: "2017-24-07" should be "2017-07-24".
16118 * localedata/locales/mai_IN: Likewise.
16119 * localedata/locales/mai_NP: Likewise.
16121 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16123 * po/ru.po: Update translations.
16125 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16128 * sysdeps/hppa/backtrace.c: New file.
16130 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16133 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16134 align La_x86_64_retval to VEC_SIZE.
16136 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16138 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16139 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16141 2018-01-16 Florian Weimer <fweimer@redhat.com>
16143 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16144 Move tst-thread-exit-clobber ...
16145 [$(CXX)] (tests-unsupported): ... to here.
16147 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16149 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16150 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16151 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16152 (_dl_aarch64_cap_flags): Update.
16153 (_DL_HWCAP_COUNT): Update.
16155 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16157 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16158 (_DL_HWCAP_LAST): Remove.
16159 (_DL_HWCAP_COUNT): Move to ...
16160 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16161 (_DL_HWCAP_COUNT): ... here.
16163 2018-01-16 Florian Weimer <fweimer@redhat.com>
16165 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16166 mode with GNU extensions.
16168 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16170 * elf/elf.h (NT_ARM_SVE): Define.
16172 2018-01-15 Florian Weimer <fweimer@redhat.com>
16175 * nptl/tst-minstack-throw.cc: New file.
16176 * nptl/Makefile (tests): Add tst-minstack-throw.
16177 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16178 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16180 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16182 * scripts/build-many-glibcs.py (Context.checkout): Default
16183 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16186 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16189 * elf/elf.h (DF_1_STUB): Define.
16190 (DF_1_PIE): Define.
16192 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16195 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16196 Do not add 0.5 to integer or out-of-range arguments.
16198 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16200 * po/bg.po: Update translations.
16201 * po/cs.po: Likewise.
16202 * po/de.po: Likewise.
16203 * po/ko.po: Likewise.
16204 * po/pl.po: Likewise.
16205 * po/sv.po: Likewise.
16206 * po/uk.po: Likewise.
16207 * po/vi.po: Likewise.
16209 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16211 * aarch64/start.S (_start): Use __wrap_main.
16212 (__wrap_main): New local symbol.
16214 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16218 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16219 generic_getcwd if the path returned by getcwd syscall is not absolute.
16220 * io/tst-getcwd-abspath.c: New test.
16221 * io/Makefile (tests): Add tst-getcwd-abspath.
16223 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16225 * malloc/malloc.c (malloc_consolidate): Add size check.
16227 2018-01-12 Florian Weimer <fweimer@redhat.com>
16229 * support/write_message.c (write_message): Preserve errno.
16230 * support/check.c (print_failure): Likewise.
16231 * support/support_test_verify_impl.c (support_test_verify_impl):
16233 * support/support_test_compare_failure.c
16234 (support_test_compare_failure): Likewise.
16236 2018-01-12 Florian Weimer <fweimer@redhat.com>
16239 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16240 Prevent installation of libnsl.so.
16241 (libnsl-inhibit-o): Do not build (or install) static libraries.
16243 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16246 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16247 before the day number which may produce a double space.
16248 (date_fmt): Likewise.
16250 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16252 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16253 instead of fegetenv.
16255 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16258 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16259 comment to say exceptions are discarded.
16260 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16262 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16265 2018-01-11 Florian Weimer <fweimer@redhat.com>
16267 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16270 2018-01-11 Florian Weimer <fweimer@redhat.com>
16273 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16274 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16276 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16279 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16280 negative arguments in test for NaN or infinity argument.
16282 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16284 * po/libc.pot: Regenerate.
16286 2018-01-10 Florian Weimer <fweimer@redhat.com>
16289 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16290 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16292 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16294 * hurd/hurd/fd.h: Include <fcntl.h>
16295 (__hurd_at_flags): New function.
16296 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16297 with call to __hurd_at_flags.
16298 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16299 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16301 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16302 (__access_noerrno): Use __faccessat_common instead of access_common.
16303 (__access): Likewise.
16304 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16305 with a call to __faccessat.
16306 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16307 (__faccessat_common): ... this. Move implementation of __access into it when
16308 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16309 reauthenticate_cwdir_at helper to implement AT mechanism.
16310 (__faccessat_noerrno): New function, just calls __faccessat_common.
16311 (__faccessat): New function, just calls __faccessat_common.
16312 (faccessat): Define weak alias.
16314 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16317 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16318 (CFLAGS-s_fmaxmagl.c): New variable.
16319 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16322 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16323 long int for arguments of possibly overflowing addition or
16325 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16327 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16330 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16331 (CFLAGS-e_remainderl.c): New variable.
16334 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16336 (CFLAGS-s_cacoshl.c): Likewise.
16337 (CFLAGS-s_casinhl.c): Likewise.
16338 (CFLAGS-s_catanl.c): Likewise.
16339 (CFLAGS-s_catanhl.c): Likewise.
16340 (CFLAGS-s_cexpl.c): Likewise.
16341 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16342 (CFLAGS-s_csinhl.c): Likewise.
16343 (CFLAGS-s_clogl.c): Likewise.
16344 (CFLAGS-s_clog10l.c): Likewise.
16345 (CFLAGS-s_csinl.c): Likewise.
16346 (CFLAGS-s_csqrtl.c): Likewise.
16348 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16349 2017-01-09 Svante Signell <svante.signell@gmail.com>
16351 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16352 (_hurd_exec_paths): New function.
16353 * hurd/hurd.h (_hurd_exec): Deprecate function.
16354 (_hurd_exec_paths): Declare function.
16355 * hurd/Versions: Export _hurd_exec_paths.
16356 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16357 (__execve): Use __getcwd to build absolute path, and use
16358 _hurd_exec_paths instead of _hurd_exec.
16359 * sysdeps/mach/hurd/spawni.c: Likewise.
16360 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16363 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16365 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16366 test instead of failing in case of ENOENT returned by posix_openpt.
16368 2018-01-08 Florian Weimer <fweimer@redhat.com>
16370 resolv: Support binary labels in test framework.
16371 * support/resolv_test.c (struct to_be_freed): Remove.
16372 (struct compressed_name): New.
16373 (allocate_compressed_name, ascii_tolower)
16374 (compare_compressed_name): New functions.
16375 (struct resolv_response_builder): Update type of
16376 compression_offsets for use with tsearch. Rempve to_be_freed.
16377 (response_push_pointer_to_free): Remove function.
16378 (resolv_response_add_name): Rewrite using struct compressed_name
16379 and tsearch instead of hsearch_r.
16380 (response_builder_allocate): Remove initialization of
16381 compression_offsets.
16382 (response_builder_free): Update for removal of to_be_freed. Use
16383 tdestroy instead of hdestroy_r.
16384 * resolv/Makefile (tests): Add tst-resolv-binary.
16385 (tst-resolv-binary): Link with -lresolv -lpthread.
16387 2018-01-08 Florian Weimer <fweimer@redhat.com>
16389 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16390 time. Pass positive flag instead of negative flag to
16391 support_test_compare_failure.
16392 (support_test_compare_failure): Change negative parameter to
16394 * support/support_test_compare_failure.c (report)
16395 (support_test_compare_failure): Likewise.
16396 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16397 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16399 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16402 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16403 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16404 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16406 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16408 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16410 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16411 Add s_sincosf-sse2 and s_sincosf-fma.
16412 (CFLAGS-s_sincosf-fma.c): New.
16413 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16414 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16415 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16416 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16417 __sincosf is defined.
16419 2018-01-08 Florian Weimer <fweimer@redhat.com>
16421 * nptl/tst-thread-exit-clobber.cc: New file.
16422 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16424 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16425 (tests): Add tst-thread-exit-clobber.
16426 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16428 2018-01-08 Florian Weimer <fweimer@redhat.com>
16430 * support/check.h (support_static_assert): Define.
16431 (TEST_COMPARE): Use it.
16433 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16435 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16436 [!__RLIM_T_MATCHES_RLIM64_T]
16437 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16438 __getrlimit64. Add libc_hidden_weak.
16440 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16442 * elf/elf.h (R_RISCV_NONE): New define.
16443 (R_RISCV_32): Likewise.
16444 (R_RISCV_64): Likewise.
16445 (R_RISCV_RELATIVE): Likewise.
16446 (R_RISCV_COPY): Likewise.
16447 (R_RISCV_JUMP_SLOT): Likewise.
16448 (R_RISCV_TLS_DTPMOD32): Likewise.
16449 (R_RISCV_TLS_DTPMOD64): Likewise.
16450 (R_RISCV_TLS_DTPREL32): Likewise.
16451 (R_RISCV_TLS_DTPREL64): Likewise.
16452 (R_RISCV_TLS_TPREL32): Likewise.
16453 (R_RISCV_TLS_TPREL64): Likewise.
16454 * Makerules (make-link-multidir): Make directories before linking into
16456 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16458 (VDSO_HASH_LINUX_4_15): Likewise.
16459 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16460 in subdirectories of lib.
16461 * nptl/Makefile (/librt.so): Always depend on
16462 "$(shared-thread-library)".
16464 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16466 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16467 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16468 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16470 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16471 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16473 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16474 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16475 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16476 * sysdeps/gnu/glob-lstat-compat.c: New file.
16477 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16478 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16480 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16482 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16483 Reserve 16 chars to reloc_addr before calling _itoa_word.
16485 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16488 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16489 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16491 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16492 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16494 * resource/tst-getrlimit.c: Add copyright header.
16496 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16497 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16499 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16500 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16501 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16502 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16504 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16505 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16506 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16507 RLIM64_INFINITY): Fix values to match the kernel ones.
16508 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16509 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16510 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16511 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16512 getrlimit64@@GLIBC_2_27.
16513 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16515 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16516 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16517 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16518 setrlimit, getrlimit64 and setrlimit64.
16520 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16523 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16524 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16526 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16528 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16529 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16530 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16532 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16536 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16537 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16541 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16542 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16543 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16544 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16546 2018-01-04 Florian Weimer <fweimer@redhat.com>
16549 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16550 Align the stack before calling exit.
16551 * stdlib/tst-makecontext-align.c: New file.
16552 * stdlib/Makefile (tests): Add tst-makecontext-align.
16554 2018-01-04 Florian Weimer <fweimer@redhat.com>
16556 Add support for calling dlvsym from libc.so.
16557 * include/dlfcn.h (__libc_dlvsym): Declare.
16558 * elf/Makefile (tests-static-internal): Add
16559 tst-libc_dlvsym-static.
16560 (tests-internal): Add tst-libc_dlvsym.
16561 (modules-names): Add tst-libc_dlvsym-dso.
16562 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16563 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16564 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16565 object tst-libc_dlvsym-dso.so needs to be built before running
16567 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16568 * elf/Versions: Export __libc_dlvsym.
16569 * elf/dl-libc.c (struct do_dlvsym_args): New.
16570 (do_dlvsym, __libc_dlvsym): New functions.
16571 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16572 (_dl_open_hook2): New variable.
16573 (__libc_register_dl_open_hook): Set it.
16574 * elf/tst-libc_dlvsym-dso.c: New file.
16575 * elf/tst-libc_dlvsym-static.c: Likewise.
16576 * elf/tst-libc_dlvsym.c: Likewise.
16577 * elf/tst-libc_dlvsym.h: Likewise.
16579 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16581 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16582 include <sys/mount.h>.
16584 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16586 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16587 Add __NO_MATH_ERRNO__ check.
16589 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16591 * sysdeps/mips/mips32/libm-test-ulps: Update.
16592 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16594 2018-01-02 Florian Weimer <fweimer@redhat.com>
16596 * misc/tst-pselect.c: Add copyright header.
16598 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16600 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16602 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16604 (settrlimit): Rename into setrlimit.
16605 (__sttrlimit): Rename into __setrlimit.
16607 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16608 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16609 never defined in that case.
16611 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16613 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16615 * sysdeps/arm/libm-test-ulps: Update.
16617 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16618 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16620 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16622 * NEWS: Add cosf and sincosf to list of optimized functions.
16624 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16627 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16628 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16629 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16630 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16632 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16635 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16637 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16638 making a copy of it.
16640 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16642 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16643 trailing whitespace removed.
16644 * scripts/config.guess: Update to version 2018-01-01.
16645 * scripts/config.sub: Update to version 2018-01-01.
16646 * scripts/move-if-change: Update from gnulib.
16648 * NEWS: Update copyright dates.
16649 * catgets/gencat.c (print_version): Likewise.
16650 * csu/version.c (banner): Likewise.
16651 * debug/catchsegv.sh: Likewise.
16652 * debug/pcprofiledump.c (print_version): Likewise.
16653 * debug/xtrace.sh (do_version): Likewise.
16654 * elf/ldconfig.c (print_version): Likewise.
16655 * elf/ldd.bash.in: Likewise.
16656 * elf/pldd.c (print_version): Likewise.
16657 * elf/sotruss.sh: Likewise.
16658 * elf/sprof.c (print_version): Likewise.
16659 * iconv/iconv_prog.c (print_version): Likewise.
16660 * iconv/iconvconfig.c (print_version): Likewise.
16661 * locale/programs/locale.c (print_version): Likewise.
16662 * locale/programs/localedef.c (print_version): Likewise.
16663 * login/programs/pt_chown.c (print_version): Likewise.
16664 * malloc/memusage.sh (do_version): Likewise.
16665 * malloc/memusagestat.c (print_version): Likewise.
16666 * malloc/mtrace.pl: Likewise.
16667 * manual/libc.texinfo: Likewise.
16668 * nptl/version.c (banner): Likewise.
16669 * nscd/nscd.c (print_version): Likewise.
16670 * nss/getent.c (print_version): Likewise.
16671 * nss/makedb.c (print_version): Likewise.
16672 * posix/getconf.c (main): Likewise.
16673 * scripts/test-installation.pl: Likewise.
16674 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16676 * All files with FSF copyright notices: Update copyright dates
16677 using scripts/update-copyrights.
16678 * locale/programs/charmap-kw.h: Regenerated.
16679 * locale/programs/locfile-kw.h: Likewise.
16681 2017-12-31 Zack Weinberg <zackw@panix.com>
16683 * libio/bits/libio-ldbl.h: Correct check for improper
16684 inclusion. Add own multiple include guard.
16686 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16687 Dmitry V. Levin <ldv@altlinux.org>
16691 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16692 string token expansion. Check for NULL pointer or empty string possibly
16693 returned by expand_dynamic_string_token.
16694 (decompose_rpath): Check for empty path after dynamic string
16697 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16700 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16702 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16703 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16704 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16705 and PTRACE_SYSCALL.
16706 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16707 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16708 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16709 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16710 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16711 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16713 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16714 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16715 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16716 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16718 bits/ptrace-shared.h.
16719 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16720 <bits/ptrace-shared.h>.
16721 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16722 __ptrace_peeksiginfo_flags, ptrace): Remove.
16723 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16724 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16725 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16726 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16727 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16729 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16732 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16733 end of the loop. Improve comments.
16735 2017-12-29 Zack Weinberg <zackw@panix.com>
16738 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16739 might be set on success.
16741 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16744 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16745 is unchanged on success.
16747 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16749 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16751 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16752 expand_dynamic_string_token): Likewise.
16753 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16756 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16759 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16760 is set and name contains ':', and all code depending on these checks.
16762 2017-12-24 Zack Weinberg <zackw@panix.com>
16764 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16765 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16767 * libio/libio.h: Rename the original version of this file to
16768 libio/bits/libio.h. Error out if not included by stdio.h or the
16770 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16771 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16772 if not included by bits/libio.h or the stub _G_config.h.
16773 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16774 sysdeps/unix/sysv/linux/bits. Error out if not included by
16775 bits/libio.h or the stub _G_config.h.
16776 * libio/stdio.h: Include bits/libio.h, not libio.h.
16777 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16778 well as libio.h and _G_config.h.
16780 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16781 * libio/strfile.h, stdio-common/vfscanf.c
16782 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16783 Include stdio.h, not _G_config.h nor libio.h.
16784 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16785 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16787 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16789 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16792 * stdlib/getrandom.c (getrandom): Fix comment.
16793 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16795 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16798 * manual/arith.texi (strtoul): Fix a typo.
16801 * manual/arith.texi (finite): Fix the description of the return
16804 2017-12-22 Eric Blake <ebb9@byu.net>
16806 Avoid gcc warnings on cygwin
16807 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16808 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16809 Avoid unused variable.
16811 2017-12-22 Florian Weimer <fweimer@redhat.com>
16813 * io/Makefile (routines): Add copy_file_range.
16814 (tests): Add tst-copy_file_range.
16815 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16816 * io/Versions (GLIBC_2.27): Export copy_file_range.
16817 * io/copy_file_range-compat.c: New file.
16818 * io/copy_file_range.c: Likewise.
16819 * io/tst-copy_file_range-compat.c: Likewise.
16820 * io/tst-copy_file_range.c: Likewise.
16821 * manual/llio.texi (Copying File Data): New section.
16822 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16823 * support/Makefile (libsupport-routines): Add support-xfstat,
16824 xftruncate, xlseek.
16825 * support/support-xfstat.c: New file.
16826 * support/xftruncate.c: Likewise.
16827 * support/xlseek.c: Likewise.
16828 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16829 * sysdeps/unix/sysv/linux/**.abilist: Update.
16830 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16832 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16834 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16835 disable-multi-arch variant to aarch64-linux-gnu.
16837 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16839 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16840 trailing whitespace removed.
16841 * scripts/config.guess: Update to version 2017-12-17.
16842 * scripts/config.sub: Update to version 2017-11-23.
16843 * scripts/install-sh: Update to version 2017-09-23.17.
16844 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16846 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16848 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
16849 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16850 * sysdeps/tile/_mcount.S (__mcount): Likewise.
16851 * sysdeps/tile/crti.S (_init, _fini): Likewise.
16852 * sysdeps/tile/crtn.S: Likewise.
16853 * sysdeps/tile/dl-start.S (_start): Likewise.
16854 * sysdeps/tile/dl-trampoline.S: Likewise.
16855 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
16856 * sysdeps/tile/start.S (_start): Likewise.
16857 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
16858 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
16859 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
16860 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
16861 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
16862 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
16863 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
16865 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
16867 * sysdeps/tile/preconfigure: Remove tilegx folder.
16868 * sysdeps/tile/tilegx/Implies: Move definitions to ...
16869 * sysdeps/tile/Implies: ... here.
16870 * sysdeps/tile/tilegx/Makefile: Move rules to ...
16871 * sysdeps/tile/Makefile: ... here.
16872 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
16873 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
16874 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
16875 * sysdeps/tile/bits/wordsize.h: ... here.
16876 * sysdeps/tile/tilegx/*: Move to ...
16877 * sysdeps/tile/*: ... here.
16878 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
16879 * sysdeps/tile/tilegx32/Implies: ... here.
16880 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
16881 * sysdeps/tile/tilegx64/Implies: ... here.
16882 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
16884 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16885 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
16886 * sysdeps/unix/sysv/linux/tile/*: ... here.
16887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
16888 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
16889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
16890 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
16892 * README: Remove tilepro-*-linux-gnu from supported architecture.
16893 * scripts/build-many-glibcs.py: Likewise.
16894 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16895 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
16896 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
16897 elf_machine_matches_host, elf_machine_dynamic,
16898 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
16899 howto, elf_machine_rela): Likewise.
16900 * sysdeps/tile/dl-start.S (_start): Likewise.
16901 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
16902 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
16903 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
16904 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
16905 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
16906 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16908 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
16909 * sysdeps/tile/preconfigure: Likewise.
16910 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
16911 POINTER_CHK_GUARD): Likewise.
16912 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
16913 * sysdeps/tile/start.S (_start): Likewise.
16914 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
16916 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
16917 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
16919 * sysdeps/unix/sysv/linux/tile/bits/environments.h
16920 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
16921 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
16923 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
16924 * sysdeps/tile/tilepro/Implies: Remove file.
16925 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
16926 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
16927 * sysdeps/tile/tilepro/memchr.c: Likewise.
16928 * sysdeps/tile/tilepro/memcpy.S: Likewise.
16929 * sysdeps/tile/tilepro/memset.c: Likewise.
16930 * sysdeps/tile/tilepro/memusage.h: Likewise.
16931 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
16932 * sysdeps/tile/tilepro/strchr.c: Likewise.
16933 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
16934 * sysdeps/tile/tilepro/strlen.c: Likewise.
16935 * sysdeps/tile/tilepro/strrchr.c: Likewise.
16936 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
16937 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
16938 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
16939 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
16940 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
16941 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16943 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
16944 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16945 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
16946 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
16947 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16948 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
16949 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
16950 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
16951 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
16952 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
16953 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
16954 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
16955 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
16956 tilepro mention in comment.
16958 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
16959 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
16960 * nptl/pthread_join_common.c: New file: common function used on
16961 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
16962 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
16963 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
16964 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16965 (cleanup): Move definition to pthread_join_common.c.
16966 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
16967 Remove superflous checks.
16968 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
16971 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
16973 * sysdeps/aarch64/libm-test-ulps: Update.
16975 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16977 * sysdeps/aarch64/memset.S (MEMSET): Define.
16979 2017-12-20 Florian Weimer <fweimer@redhat.com>
16982 nptl: Provide full implementation of pthread_self in libc.so.
16983 * nptl/Makefile (routines): Add pthread_self.
16984 (libpthread-routines): Replace pthread_self with
16985 compat-pthread_self.
16986 * nptl/forward.c (pthread_self): Remove.
16987 * nptl/nptl-init.c (pthread_functions): Do not initialize
16989 * nptl/pthread_self.c (pthread_self): Remove weak alias.
16990 * nptl/compat-pthread_self.c: New file.
16991 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
16992 Remove ptr_pthread_self.
16994 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
16996 * posix/regcomp.c: Fix spelling in comments.
16997 * posix/regex.h: Likewise.
16998 * posix/regex_internal.c: Likewise.
16999 * posix/regexec.c: Likewise.
17001 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17004 * math/Makefile [C++] (tests): Add test for iseqsig.
17005 * math/math.h [C++] (iseqsig): New implementation, which does
17006 not rely on __MATH_TG/__builtin_types_compatible_p.
17007 * math/test-math-iseqsig.cc: New file.
17008 * sysdeps/powerpc/powerpc64le/Makefile
17009 (CFLAGS-test-math-iseqsig.cc): New variable.
17011 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17013 * elf/dl-load.c (is_trusted_path): Remove.
17014 (fillin_rpath): Remove check_trusted argument and its use,
17015 all callers changed.
17017 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17020 * Makeconfig (link-pie-before-libc): Replace -pie with
17021 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17022 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17023 (tst-dlopen-aout-no-pie): New.
17024 (LDFLAGS-tst-prelink): Removed.
17025 (tst-prelink-no-pie): New.
17026 (LDFLAGS-tst-main1): Removed.
17027 (tst-main1-no-pie): New.
17028 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17029 (tst-gmon-no-pie): New.
17031 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17033 * manual/install.texi: Document that --enable-static-pie
17035 * INSTALL: Regenerated.
17037 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17040 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17043 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17047 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17051 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17053 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17054 <errno.h>. Include "eexp.tbl".
17055 (half): New constant.
17057 (__ieee754_exp): Rewrite.
17058 (__slowexp): Remove prototype.
17059 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17060 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17061 * sysdeps/i386/fpu/slowexp.c: Likewise.
17062 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17063 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17064 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17065 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17066 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17067 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17068 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17070 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17071 (CPPFLAGS-slowexp.c): Remove variable.
17072 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17073 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17074 (CFLAGS-slowexp-fma.c): Remove variable.
17075 (CFLAGS-slowexp-fma4.c): Likewise.
17076 (CFLAGS-slowexp-avx.c): Likewise.
17077 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17079 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17080 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17081 * math/Makefile (type-double-routines): Remove slowexp.
17082 * manual/probes.texi (slowexp_p6): Remove.
17083 (slowexp_p32): Likewise.
17085 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17087 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17090 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17092 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17096 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17098 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17099 <errno.h>. Include "eexp.tbl".
17100 (half): New constant.
17102 (__ieee754_exp): Rewrite.
17103 (__slowexp): Remove prototype.
17104 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17105 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17106 * sysdeps/i386/fpu/slowexp.c: Likewise.
17107 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17108 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17109 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17110 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17111 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17112 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17113 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17115 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17116 (CPPFLAGS-slowexp.c): Remove variable.
17117 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17118 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17119 (CFLAGS-slowexp-fma.c): Remove variable.
17120 (CFLAGS-slowexp-fma4.c): Likewise.
17121 (CFLAGS-slowexp-avx.c): Likewise.
17122 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17124 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17125 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17126 * math/Makefile (type-double-routines): Remove slowexp.
17127 * manual/probes.texi (slowexp_p6): Remove.
17128 (slowexp_p32): Likewise.
17130 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17131 James Clarke <jrtc27@jrtc27.com>
17134 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17137 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17140 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17143 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17146 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17147 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17148 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17149 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17152 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17155 * bits/types/__cancel_jmp_buf_tag.h: New file.
17156 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17157 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17158 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17159 * nptl/Makefile (headers): Add
17160 bits/types/__cancel_jmp_buf_tag.h.
17161 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17162 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17163 * sysdeps/nptl/pthread.h: Include
17164 <bits/types/__cancel_jmp_buf_tag.h>.
17165 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17167 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17169 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17171 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17172 --enable-static-pie variants to x86_64, x32 and i686.
17174 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17177 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17178 argument for attrubutes. All callers changed.
17179 (__inline_mathop1): Likewise. All callers changed.
17180 (__inline_mathop): Likewise. All callers changed.
17181 [__USE_MISC] (scalbn): Use __inline_forward instead of
17182 __inline_forward_c.
17183 [__USE_ISOC99] (scalbln): Likewise.
17184 [__USE_ISOC99] (nearbyint): Likewise.
17185 [__USE_ISOC99] (lrint): Likewise.
17186 [__USE_MISC] (scalbnf): Likewise.
17187 [__USE_ISOC99] (scalblnf): Likewise.
17188 [__USE_ISOC99] (nearbyintf): Likewise.
17189 [__USE_ISOC99] (lrintf): Likewise.
17190 [__USE_MISC] (scalbnl): Likewise.
17191 [__USE_ISOC99] (scalblnl): Likewise.
17192 [__USE_ISOC99] (nearbyintl): Likewise.
17193 [__USE_ISOC99] (lrintl): Likewise.
17194 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17195 __inline_mathop and __m81_defun changed.
17197 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17198 CPU or FPU for ARM hard-float configurations.
17200 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17202 * nptl/tst-attr3.c: Include <libc-diag.h>.
17203 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17205 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17207 * string/tester.c (test_strncat): Also disable -Warray-bounds
17208 warnings for two tests.
17210 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17213 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17214 $(cc-pie-default) == yes.
17215 * config.make.in (cc-pie-default): New.
17216 * configure.ac (libc_cv_pie_default): Renamed to ...
17217 (libc_cv_cc_pie_default): This.
17218 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17219 * configure: Regenerated.
17221 2017-12-18 Florian Weimer <fweimer@redhat.com>
17224 ld.so: Harden dl-libc/libdl hooks.
17225 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17226 (rtld_active): New function.
17227 * dlfcn/dladdr.c (__dladdr): Call it.
17228 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17229 * dlfcn/dlclose.c (__dlcose): Likewise.
17230 * dlfcn/dlerror.c (__dlerror): Likewise.
17231 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17232 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17233 * dlfcn/dlopen.c (__dlopen): Likewise.
17234 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17235 * dlfcn/dlsym.c (__dlsym): Likewise.
17236 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17237 * libio/vtables.c (_IO_vtable_check): Likewise.
17238 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17239 (__libc_dlclose): Likewise.
17240 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17243 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17246 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17247 buffers for readlink input and output.
17249 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17252 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17253 inhibit_stack_protector.
17256 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17257 inhibit_stack_protector.
17259 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17262 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17263 code and invocation.
17265 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17267 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17269 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17272 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17274 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17276 * sysdeps/s390/fpu/libm-test-ulps: Update.
17278 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17282 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17284 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17285 constants to s_sincosf.h file.
17286 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17287 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17289 * sysdeps/ieee754/flt-32/s_sincosf.h:
17292 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17295 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17298 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17301 * INSTALL: Regenerated.
17302 * Makeconfig (real-static-start-installed-name): New.
17303 (pic-default): Updated for --enable-static-pie.
17304 (pie-default): New for --enable-static-pie.
17305 (default-pie-ldflag): Likewise.
17306 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17307 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17308 Replace $(static-start-installed-name) with
17309 $(real-static-start-installed-name).
17310 (+prectorT): Updated for --enable-static-pie.
17311 (+postctorT): Likewise.
17312 (CFLAGS-.o): Add $(pie-default).
17313 (CFLAGS-.op): Likewise.
17314 * NEWS: Mention --enable-static-pie.
17315 * config.h.in (ENABLE_STATIC_PIE): New.
17316 * configure.ac (--enable-static-pie): New configure option.
17317 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17318 (have-static-pie): Likewise.
17319 Enable static PIE if linker supports --no-dynamic-linker.
17320 (ENABLE_STATIC_PIE): New AC_DEFINE.
17321 (enable-static-pie): New LIBC_CONFIG_VAR.
17322 * configure: Regenerated.
17323 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17324 gr$(start-installed-name) for --enable-static-pie.
17325 (extra-objs): Likewise.
17326 (install-lib): Likewise.
17327 (extra-objs): Add static-reloc.o and static-reloc.os
17328 ($(objpfx)$(start-installed-name)): Also depend on
17329 $(objpfx)static-reloc.o.
17330 ($(objpfx)r$(start-installed-name)): New.
17331 ($(objpfx)g$(start-installed-name)): Also depend on
17332 $(objpfx)static-reloc.os.
17333 ($(objpfx)gr$(start-installed-name)): New.
17334 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17336 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17338 * csu/static-reloc.c: New file.
17339 * elf/Makefile (routines): Add dl-reloc-static-pie.
17340 (elide-routines.os): Likewise.
17341 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17342 (tst-tls1-static-non-pie-no-pie): New.
17343 * elf/dl-reloc-static-pie.c: New file.
17344 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17345 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17346 STATIC_PIE_BOOTSTRAP.
17347 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17348 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17349 (tests-static): Likewise.
17350 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17351 (tst-gmon-static-no-pie): New.
17352 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17353 (CRT-tst-gmon-static-pie): Likewise.
17354 (tst-gmon-static-pie-ENV): Likewise.
17355 (tests-special): Likewise.
17356 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17357 (clean-tst-gmon-static-pie-data): Likewise.
17358 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17359 * gmon/tst-gmon-static-pie.c: New file.
17360 * manual/install.texi: Document --enable-static-pie.
17361 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17362 (_dl_get_dl_main_map): Likewise.
17363 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17364 * sysdeps/x86_64/configure.ac: Likewise.
17365 * sysdeps/i386/configure: Regenerated.
17366 * sysdeps/x86_64/configure: Likewise.
17367 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17368 (ASFLAGS-.op): Likewise.
17370 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17372 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17373 * posix/tst-mmap-offset.c (fname): Use /tmp.
17374 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17376 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17378 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17380 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17382 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17385 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17387 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17388 --with-float=hard for arm-linux-gnueabihf configurations.
17391 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17392 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17393 ($(mo-installed)): Use $(objpfx)%.mo.
17394 (realclean): Remove rule.
17396 * po/Makefile (linguas): Remove rule and dependencies.
17397 (linguas.mo): Likewise.
17398 (.PHONY): Do not depend on linguas and linguas.mo.
17399 (podir): Remove variable.
17400 (pofiles): Likewise.
17401 [$(pofiles)] (%.po): Remove rule.
17403 * sysdeps/sparc/sparc32/Makefile
17404 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17405 start-of-line whitespace in argument of echo.
17406 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17407 with whitespace. Generate __wrap_.udiv alias.
17408 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17409 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17410 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17411 * sysdeps/sparc/sparc32/urem.S: Likewise.
17413 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17415 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17416 for aligned inputs.
17418 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17420 * benchtests/bench-strcmp.c: Print output in JSON format.
17422 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17424 2017-12-14 Florian Weimer <fweimer@redhat.com>
17428 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17429 the expanded path string.
17431 2017-12-14 Florian Weimer <fweimer@redhat.com>
17435 * elf/dl-load.c (system_dirs): Update comment.
17436 (nsystem_dirs_len): Use array_length.
17437 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17439 2017-12-14 Florian Weimer <fweimer@redhat.com>
17441 Simplify compiling most of support/ outside of glibc.
17442 * support/check_addrinfo.c: Include <string.h>.
17443 * support/check_dns_packet.c: Likewise.
17444 * support/check_hostent.c: Likewise.
17445 * support/support_can_chroot.c: Include <support/xunistd.h>.
17446 * support/support_format_addrinfo.c: Include <stdlib.h>
17447 * support/support_format_dns_packet.c: Include <stdbool.h>.
17448 * support/support_format_hostent.c: Include <stdlib.h>.
17449 * support/support_format_netent.c: Likewise.
17450 * support/support_write_string.c: Include <support/xunistd.h>.
17451 * support/xdlfcn.c: Include <stddef.h>.
17453 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17455 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17457 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17458 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17460 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17461 (sysdeps_routines): Add memset-niagara7.
17462 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17464 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17466 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17467 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17468 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17469 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17470 Add niagara7 option.
17471 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17474 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17475 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17476 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17478 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17480 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17481 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17482 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17483 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17484 and __memmove_niagara7.
17485 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17486 Add niagara7 option.
17487 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17488 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17489 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17490 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17491 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17493 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17495 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17496 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17497 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17498 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17500 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17501 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17502 _dl_sparc_cap_flags array.
17503 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17505 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17507 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17508 time whenever possible.
17510 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17512 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17513 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17515 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17517 * soft-fp/fmadf4.c: Move to ....
17518 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17519 * soft-fp/fmasf4.c: Move to ....
17520 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17521 * soft-fp/fmatf4.c: Move to ....
17522 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17523 * sysdeps/ieee754/soft-fp/Makefile: New file.
17524 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17525 * sysdeps/arm/preconfigure: Regenerated.
17526 * sysdeps/arm/nofpu/Implies: New file.
17527 * sysdeps/arm/s_fma.c: Remove file.
17528 * sysdeps/arm/s_fmaf.c: Likewise.
17529 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17530 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17531 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17532 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17533 * sysdeps/microblaze/s_fma.c: Remove file.
17534 * sysdeps/microblaze/s_fmaf.c: Likewise.
17535 * sysdeps/mips/mips32/nofpu/Implies: New file.
17536 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17537 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17538 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17539 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17540 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17541 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17542 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17544 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17545 * sysdeps/nios2/s_fma.c: Remove file.
17546 * sysdeps/nios2/s_fmaf.c: Likewise.
17547 * sysdeps/sh/nofpu/Implies: New file.
17548 * sysdeps/sh/s_fma.c: Remove file.
17549 * sysdeps/sh/s_fmaf.c: Likewise.
17550 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17551 * sysdeps/tile/s_fma.c: Remove file.
17552 * sysdeps/tile/s_fmaf.c: Likewise.
17554 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17556 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17557 Add s_cosf-sse2 and s_cosf-fma.
17558 (CFLAGS-s_cosf-fma.c): New.
17559 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17560 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17561 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17563 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17565 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17567 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17569 * libio/Makefile (tests): Add tst-bz22415.
17570 (tst-bz22415-ENV): New rule.
17571 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17572 (tests-special): Add tst-bz22415-mem.out.
17573 ($(objpfx)tst-bz22415-mem.out): New rule.
17574 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17575 in case of a successful seek operation.
17576 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17577 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17578 buffer is required.
17579 * libio/tst-bz22415.c: New test.
17581 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17583 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17585 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17586 __IPC_64 to 0 to avoid IPC_64 being set.
17588 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17591 * math/bits/mathcalls.h (nextafter): Remove const.
17592 (nexttoward): Likewise.
17594 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17596 * configure.ac (--with-fp): Remove configure option.
17597 (with_fp_cond): New variable.
17598 (libc_cv_with_fp): New configure test. Use this variable instead
17600 * configure: Regenerated.
17601 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17602 * manual/install.texi (Configuring and compiling): Remove
17604 * INSTALL: Regenerated.
17605 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17606 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17607 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17608 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17609 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17610 use --without-fp to configure glibc.
17612 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17614 * manual/locale.texi (nl_langinfo): Fix a typo.
17616 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17619 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17621 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17623 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17624 (CFLAGS-argp-parse.c): Likewise.
17625 (CFLAGS-argp-fmtstream.c): Likewise.
17626 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17627 (CPPFLAGS-sha512-crypt.c): Likewise.
17628 (CPPFLAGS-md5-crypt.c): Likewise.
17629 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17630 (CFLAGS-stack_chk_fail_local.c): Likewise.
17631 (CFLAGS-backtrace.c): Likewise.
17632 (CFLAGS-sprintf_chk.c): Likewise.
17633 (CFLAGS-snprintf_chk.c): Likewise.
17634 (CFLAGS-vsprintf_chk.c): Likewise.
17635 (CFLAGS-vsnprintf_chk.c): Likewise.
17636 (CFLAGS-asprintf_chk.c): Likewise.
17637 (CFLAGS-vasprintf_chk.c): Likewise.
17638 (CFLAGS-obprintf_chk.c): Likewise.
17639 (CFLAGS-dprintf_chk.c): Likewise.
17640 (CFLAGS-vdprintf_chk.c): Likewise.
17641 (CFLAGS-printf_chk.c): Likewise.
17642 (CFLAGS-fprintf_chk.c): Likewise.
17643 (CFLAGS-vprintf_chk.c): Likewise.
17644 (CFLAGS-vfprintf_chk.c): Likewise.
17645 (CFLAGS-gets_chk.c): Likewise.
17646 (CFLAGS-fgets_chk.c): Likewise.
17647 (CFLAGS-fgets_u_chk.c): Likewise.
17648 (CFLAGS-fread_chk.c): Likewise.
17649 (CFLAGS-fread_u_chk.c): Likewise.
17650 (CFLAGS-swprintf_chk.c): Likewise.
17651 (CFLAGS-vswprintf_chk.c): Likewise.
17652 (CFLAGS-wprintf_chk.c): Likewise.
17653 (CFLAGS-fwprintf_chk.c): Likewise.
17654 (CFLAGS-vwprintf_chk.c): Likewise.
17655 (CFLAGS-vfwprintf_chk.c): Likewise.
17656 (CFLAGS-fgetws_chk.c): Likewise.
17657 (CFLAGS-fgetws_u_chk.c): Likewise.
17658 (CFLAGS-read_chk.c): Likewise.
17659 (CFLAGS-pread_chk.c): Likewise.
17660 (CFLAGS-pread64_chk.c): Likewise.
17661 (CFLAGS-recv_chk.c): Likewise.
17662 (CFLAGS-recvfrom_chk.c): Likewise.
17663 (CFLAGS-tst-longjmp_chk.c): Likewise.
17664 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17665 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17666 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17667 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17668 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17669 (CFLAGS-tst-chk1.c): Likewise.
17670 (CFLAGS-tst-chk2.c): Likewise.
17671 (CFLAGS-tst-chk3.c): Likewise.
17672 (CFLAGS-tst-chk4.cc): Likewise.
17673 (CFLAGS-tst-chk5.cc): Likewise.
17674 (CFLAGS-tst-chk6.cc): Likewise.
17675 (CFLAGS-tst-lfschk1.c): Likewise.
17676 (CFLAGS-tst-lfschk2.c): Likewise.
17677 (CFLAGS-tst-lfschk3.c): Likewise.
17678 (CFLAGS-tst-lfschk4.cc): Likewise.
17679 (CFLAGS-tst-lfschk5.cc): Likewise.
17680 (CFLAGS-tst-lfschk6.cc): Likewise.
17681 (CFLAGS-tst-ssp-1.c): Likewise.
17682 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17683 (CFLAGS-scandir64.c): Likewise.
17684 (CFLAGS-scandir-tail.c): Likewise.
17685 (CFLAGS-scandir64-tail.c): Likewise.
17686 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17687 (CFLAGS-dl-tunables.c): Likewise.
17688 (CFLAGS-dl-runtime.c): Likewise.
17689 (CFLAGS-dl-lookup.c): Likewise.
17690 (CFLAGS-dl-iterate-phdr.c): Likewise.
17691 (CFLAGS-vismain.c): Likewise.
17692 (CFLAGS-tst-linkall-static.c): Likewise.
17693 (CFLAGS-tst-linkall-static.c): Likewise.
17694 (CPPFLAGS-dl-load.c): Likewise.
17695 (CFLAGS-ldconfig.c): Likewise.
17696 (CFLAGS-dl-cache.c): Likewise.
17697 (CFLAGS-cache.c): Likewise.
17698 (CFLAGS-rtld.c): Likewise.
17699 (CFLAGS-multiload.c): Likewise.
17700 (CFLAGS-filtmod1.c): Likewise.
17701 (CFLAGS-tst-align.c): Likewise.
17702 (CFLAGS-tst-align2.c): Likewise.
17703 (CFLAGS-tst-alignmod.c): Likewise.
17704 (CFLAGS-tst-alignmod2.c): Likewise.
17705 (CPPFLAGS-tst-execstack.c): Likewise.
17706 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17707 (CFLAGS-tst-latepthreadmod.c): Likewise.
17708 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17709 (CFLAGS-getgrnam_r.c): Likewise.
17710 (CFLAGS-getgrent_r.c): Likewise.
17711 (CFLAGS-getgrent.c): Likewise.
17712 (CFLAGS-fgetgrent.c): Likewise.
17713 (CFLAGS-fgetgrent_r.c): Likewise.
17714 (CFLAGS-putgrent.c): Likewise.
17715 (CFLAGS-initgroups.c): Likewise.
17716 (CFLAGS-getgrgid.c): Likewise.
17717 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17718 (CFLAGS-getsgent.c): Likewise.
17719 (CFLAGS-fgetsgent.c): Likewise.
17720 (CFLAGS-fgetsgent_r.c): Likewise.
17721 (CFLAGS-putsgent.c): Likewise.
17722 (CFLAGS-getsgnam.c): Likewise.
17723 (CFLAGS-getsgnam_r.c): Likewise.
17724 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17725 (CFLAGS-iconv_charmap.c): Likewise.
17726 (CFLAGS-dummy-repertoire.c): Likewise.
17727 (CFLAGS-charmap.c): Likewise.
17728 (CFLAGS-linereader.c): Likewise.
17729 (CFLAGS-simple-hash.c): Likewise.
17730 (CFLAGS-gconv_conf.c): Likewise.
17731 (CFLAGS-iconvconfig.c): Likewise.
17732 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17733 (CFLAGS-gethstbyad.c): Likewise.
17734 (CFLAGS-gethstbynm_r.c): Likewise.
17735 (CFLAGS-gethstbynm.c): Likewise.
17736 (CFLAGS-gethstbynm2_r.c): Likewise.
17737 (CFLAGS-gethstbynm2.c): Likewise.
17738 (CFLAGS-gethstent_r.c): Likewise.
17739 (CFLAGS-gethstent.c): Likewise.
17740 (CFLAGS-rcmd.c): Likewise.
17741 (CFLAGS-getnetbynm_r.c): Likewise.
17742 (CFLAGS-getnetbynm.c): Likewise.
17743 (CFLAGS-getnetbyad_r.c): Likewise.
17744 (CFLAGS-getnetbyad.c): Likewise.
17745 (CFLAGS-getnetent_r.c): Likewise.
17746 (CFLAGS-getnetent.c): Likewise.
17747 (CFLAGS-getaliasent_r.c): Likewise.
17748 (CFLAGS-getaliasent.c): Likewise.
17749 (CFLAGS-getrpcent_r.c): Likewise.
17750 (CFLAGS-getrpcent.c): Likewise.
17751 (CFLAGS-getservent_r.c): Likewise.
17752 (CFLAGS-getservent.c): Likewise.
17753 (CFLAGS-getprtent_r.c): Likewise.
17754 (CFLAGS-getprtent.c): Likewise.
17755 (CFLAGS-either_ntoh.c): Likewise.
17756 (CFLAGS-either_hton.c): Likewise.
17757 (CFLAGS-getnetgrent.c): Likewise.
17758 (CFLAGS-getnetgrent_r.c): Likewise.
17759 (CFLAGS-tst-checks-posix.c): Likewise.
17760 (CFLAGS-tst-sockaddr.c): Likewise.
17761 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17762 (CFLAGS-tst-translit.c): Likewise.
17763 (CFLAGS-tst-gettext2.c): Likewise.
17764 (CFLAGS-tst-codeset.c): Likewise.
17765 (CFLAGS-tst-gettext3.c): Likewise.
17766 (CFLAGS-tst-gettext4.c): Likewise.
17767 (CFLAGS-tst-gettext5.c): Likewise.
17768 (CFLAGS-tst-gettext6.c): Likewise.
17769 * io/Makefile (CFLAGS-open.c): Likewise.
17770 (CFLAGS-open64.c): Likewise.
17771 (CFLAGS-creat.c): Likewise.
17772 (CFLAGS-creat64.c): Likewise.
17773 (CFLAGS-fcntl.c): Likewise.
17774 (CFLAGS-poll.c): Likewise.
17775 (CFLAGS-ppoll.c): Likewise.
17776 (CFLAGS-lockf.c): Likewise.
17777 (CFLAGS-statfs.c): Likewise.
17778 (CFLAGS-fstatfs.c): Likewise.
17779 (CFLAGS-statvfs.c): Likewise.
17780 (CFLAGS-fstatvfs.c): Likewise.
17781 (CFLAGS-fts.c): Likewise.
17782 (CFLAGS-fts64.c): Likewise.
17783 (CFLAGS-ftw.c): Likewise.
17784 (CFLAGS-ftw64.c): Likewise.
17785 (CFLAGS-lockf.c): Likewise.
17786 (CFLAGS-posix_fallocate.c): Likewise.
17787 (CFLAGS-posix_fallocate64.c): Likewise.
17788 (CFLAGS-fallocate.c): Likewise.
17789 (CFLAGS-fallocate64.c): Likewise.
17790 (CFLAGS-read.c): Likewise.
17791 (CFLAGS-write.c): Likewise.
17792 (CFLAGS-test-stat.c): Likewise.
17793 (CFLAGS-test-lfs.c): Likewise.
17794 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17795 (CFLAGS-fputc.c): Likewise.
17796 (CFLAGS-fputwc.c): Likewise.
17797 (CFLAGS-freopen64.c): Likewise.
17798 (CFLAGS-freopen.c): Likewise.
17799 (CFLAGS-fseek.c): Likewise.
17800 (CFLAGS-fseeko64.c): Likewise.
17801 (CFLAGS-fseeko.c): Likewise.
17802 (CFLAGS-ftello64.c): Likewise.
17803 (CFLAGS-ftello.c): Likewise.
17804 (CFLAGS-fwide.c): Likewise.
17805 (CFLAGS-genops.c): Likewise.
17806 (CFLAGS-getc.c): Likewise.
17807 (CFLAGS-getchar.c): Likewise.
17808 (CFLAGS-getwc.c): Likewise.
17809 (CFLAGS-getwchar.c): Likewise.
17810 (CFLAGS-iofclose.c): Likewise.
17811 (CFLAGS-iofflush.c): Likewise.
17812 (CFLAGS-iofgetpos64.c): Likewise.
17813 (CFLAGS-iofgetpos.c): Likewise.
17814 (CFLAGS-iofgets.c): Likewise.
17815 (CFLAGS-iofgetws.c): Likewise.
17816 (CFLAGS-iofputs.c): Likewise.
17817 (CFLAGS-iofputws.c): Likewise.
17818 (CFLAGS-iofread.c): Likewise.
17819 (CFLAGS-iofsetpos64.c): Likewise.
17820 (CFLAGS-iofsetpos.c): Likewise.
17821 (CFLAGS-ioftell.c): Likewise.
17822 (CFLAGS-iofwrite.c): Likewise.
17823 (CFLAGS-iogetdelim.c): Likewise.
17824 (CFLAGS-iogetline.c): Likewise.
17825 (CFLAGS-iogets.c): Likewise.
17826 (CFLAGS-iogetwline.c): Likewise.
17827 (CFLAGS-ioputs.c): Likewise.
17828 (CFLAGS-ioseekoff.c): Likewise.
17829 (CFLAGS-ioseekpos.c): Likewise.
17830 (CFLAGS-iosetbuffer.c): Likewise.
17831 (CFLAGS-iosetvbuf.c): Likewise.
17832 (CFLAGS-ioungetc.c): Likewise.
17833 (CFLAGS-ioungetwc.c): Likewise.
17834 (CFLAGS-oldfileops.c): Likewise.
17835 (CFLAGS-oldiofclose.c): Likewise.
17836 (CFLAGS-oldiofgetpos64.c): Likewise.
17837 (CFLAGS-oldiofgetpos.c): Likewise.
17838 (CFLAGS-oldiofsetpos64.c): Likewise.
17839 (CFLAGS-oldiofsetpos.c): Likewise.
17840 (CFLAGS-peekc.c): Likewise.
17841 (CFLAGS-putc.c): Likewise.
17842 (CFLAGS-putchar.c): Likewise.
17843 (CFLAGS-putwc.c): Likewise.
17844 (CFLAGS-putwchar.c): Likewise.
17845 (CFLAGS-rewind.c): Likewise.
17846 (CFLAGS-wfileops.c): Likewise.
17847 (CFLAGS-wgenops.c): Likewise.
17848 (CFLAGS-oldiofopen.c): Likewise.
17849 (CFLAGS-iofopen.c): Likewise.
17850 (CFLAGS-iofopen64.c): Likewise.
17851 (CFLAGS-oldtmpfile.c): Likewise.
17852 (CFLAGS-tst_putwc.c): Likewise.
17853 * locale/Makefile (CFLAGS-md5.c): Likewise.
17854 (CFLAGS-charmap.c): Likewise.
17855 (CFLAGS-locfile.c): Likewise.
17856 (CFLAGS-charmap-dir.c): Likewise.
17857 * login/Makefile (CFLAGS-grantpt.c): Likewise.
17858 (CFLAGS-getpt.c): Likewise.
17859 (CFLAGS-pt_chown.c): Likewise.
17860 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
17861 (CFLAGS-obstack.c): Likewise.
17862 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
17863 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
17864 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
17865 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
17866 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
17867 (CFLAGS-test-tgmath.c): Likewise.
17868 (CFLAGS-test-tgmath2.c): Likewise.
17869 (CFLAGS-test-tgmath-ret.c): Likewise.
17870 (CFLAGS-test-powl.c): Likewise.
17871 (CFLAGS-test-snan.c): Likewise.
17872 (CFLAGS-test-signgam-finite.c): Likewise.
17873 (CFLAGS-test-signgam-finite-c99.c): Likewise.
17874 (CFLAGS-test-signgam-finite-c11.c): Likewise.
17875 (CFLAGS-test-signgam-uchar.c): Likewise.
17876 (CFLAGS-test-signgam-uchar-init.c): Likewise.
17877 (CFLAGS-test-signgam-uchar-static.c): Likewise.
17878 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17879 (CFLAGS-test-signgam-uint.c): Likewise.
17880 (CFLAGS-test-signgam-uint-init.c): Likewise.
17881 (CFLAGS-test-signgam-uint-static.c): Likewise.
17882 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17883 (CFLAGS-test-signgam-ullong.c): Likewise.
17884 (CFLAGS-test-signgam-ullong-init.c): Likewise.
17885 (CFLAGS-test-signgam-ullong-static.c): Likewise.
17886 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17887 (CFLAGS-test-math-cxx11.cc): Likewise.
17888 (CFLAGS-test-math-isinff.cc): Likewise.
17889 (CFLAGS-test-math-iszero.cc): Likewise.
17890 (CFLAGS-test-math-issignaling.cc): Likewise.
17891 (CFLAGS-test-math-iscanonical.cc): Likewise.
17892 (CFLAGS-test-iszero-excess-precision.c): Likewise.
17893 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
17894 (CFLAGS-test-flt-eval-method.c): Likewise.
17895 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
17896 (CFLAGS-test-finite-macros.c): Likewise.
17897 * misc/Makefile (CFLAGS-select.c): Likewise.
17898 (CFLAGS-tsearch.c): Likewise.
17899 (CFLAGS-lsearch.c): Likewise.
17900 (CFLAGS-pselect.c): Likewise.
17901 (CFLAGS-readv.c): Likewise.
17902 (CFLAGS-writev.c): Likewise.
17903 (CFLAGS-preadv.c): Likewise.
17904 (CFLAGS-preadv64.c): Likewise.
17905 (CFLAGS-pwritev.c): Likewise.
17906 (CFLAGS-pwritev64.c): Likewise.
17907 (CFLAGS-preadv2.c): Likewise.
17908 (CFLAGS-preadv64v2.c): Likewise.
17909 (CFLAGS-pwritev2.c): Likewise.
17910 (CFLAGS-pwritev64v2.c): Likewise.
17911 (CFLAGS-usleep.c): Likewise.
17912 (CFLAGS-syslog.c): Likewise.
17913 (CFLAGS-error.c): Likewise.
17914 (CFLAGS-getpass.c): Likewise.
17915 (CFLAGS-mkstemp.c): Likewise.
17916 (CFLAGS-mkstemp64.c): Likewise.
17917 (CFLAGS-getsysstats.c): Likewise.
17918 (CFLAGS-getusershell.c): Likewise.
17919 (CFLAGS-err.c): Likewise.
17920 (CFLAGS-tst-tsearch.c): Likewise.
17921 (CFLAGS-msync.c): Likewise.
17922 (CFLAGS-fdatasync.c): Likewise.
17923 (CFLAGS-fsync.c): Likewise.
17924 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
17925 (CFLAGS-unwind.c): Likewise.
17926 (CFLAGS-unwind-forcedunwind.c): Likewise.
17927 (CFLAGS-pthread_cancel.c): Likewise.
17928 (CFLAGS-pthread_setcancelstate.c): Likewise.
17929 (CFLAGS-pthread_setcanceltype.c): Likewise.
17930 (CFLAGS-cancellation.c): Likewise.
17931 (CFLAGS-libc-cancellation.c): Likewise.
17932 (CFLAGS-pthread_exit.c): Likewise.
17933 (CFLAGS-forward.c): Likewise.
17934 (CFLAGS-pthread_testcancel.c): Likewise.
17935 (CFLAGS-pthread_join.c): Likewise.
17936 (CFLAGS-pthread_timedjoin.c): Likewise.
17937 (CFLAGS-pthread_once.c): Likewise.
17938 (CFLAGS-pthread_cond_wait.c): Likewise.
17939 (CFLAGS-sem_wait.c): Likewise.
17940 (CFLAGS-sem_timedwait.c): Likewise.
17941 (CFLAGS-fcntl.c): Likewise.
17942 (CFLAGS-lockf.c): Likewise.
17943 (CFLAGS-pread.c): Likewise.
17944 (CFLAGS-pread64.c): Likewise.
17945 (CFLAGS-pwrite.c): Likewise.
17946 (CFLAGS-pwrite64.c): Likewise.
17947 (CFLAGS-wait.c): Likewise.
17948 (CFLAGS-waitpid.c): Likewise.
17949 (CFLAGS-sigwait.c): Likewise.
17950 (CFLAGS-msgrcv.c): Likewise.
17951 (CFLAGS-msgsnd.c): Likewise.
17952 (CFLAGS-tcdrain.c): Likewise.
17953 (CFLAGS-open.c): Likewise.
17954 (CFLAGS-open64.c): Likewise.
17955 (CFLAGS-pause.c): Likewise.
17956 (CFLAGS-recv.c): Likewise.
17957 (CFLAGS-send.c): Likewise.
17958 (CFLAGS-accept.c): Likewise.
17959 (CFLAGS-sendto.c): Likewise.
17960 (CFLAGS-connect.c): Likewise.
17961 (CFLAGS-recvfrom.c): Likewise.
17962 (CFLAGS-recvmsg.c): Likewise.
17963 (CFLAGS-sendmsg.c): Likewise.
17964 (CFLAGS-close.c): Likewise.
17965 (CFLAGS-read.c): Likewise.
17966 (CFLAGS-write.c): Likewise.
17967 (CFLAGS-nanosleep.c): Likewise.
17968 (CFLAGS-sigsuspend.c): Likewise.
17969 (CFLAGS-msync.c): Likewise.
17970 (CFLAGS-fdatasync.c): Likewise.
17971 (CFLAGS-fsync.c): Likewise.
17972 (CFLAGS-pt-system.c): Likewise.
17973 (CFLAGS-tst-cleanup2.c): Likewise.
17974 (CFLAGS-tst-cleanupx2.c): Likewise.
17975 (CFLAGS-flockfile.c): Likewise.
17976 (CFLAGS-ftrylockfile.c): Likewise.
17977 (CFLAGS-funlockfile.c): Likewise.
17978 (CFLAGS-tst-initializers1.c): Likewise.
17979 (CFLAGS-tst-initializers1-c89.c): Likewise.
17980 (CFLAGS-tst-initializers1-c99.c): Likewise.
17981 (CFLAGS-tst-initializers1-c11.c): Likewise.
17982 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
17983 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
17984 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17985 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
17986 (CFLAGS-nscd_getgr_r.c): Likewise.
17987 (CFLAGS-nscd_gethst_r.c): Likewise.
17988 (CFLAGS-nscd_getai.c): Likewise.
17989 (CFLAGS-nscd_initgroups.c): Likewise.
17990 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
17991 (CFLAGS-pause.c): Likewise.
17992 (CFLAGS-pread.c): Likewise.
17993 (CFLAGS-pread64.c): Likewise.
17994 (CFLAGS-pwrite.c): Likewise.
17995 (CFLAGS-pwrite64.c): Likewise.
17996 (CFLAGS-sleep.c): Likewise.
17997 (CFLAGS-wait.c): Likewise.
17998 (CFLAGS-waitid.c): Likewise.
17999 (CFLAGS-waitpid.c): Likewise.
18000 (CFLAGS-getopt.c): Likewise.
18001 (CFLAGS-wordexp.c): Likewise.
18002 (CFLAGS-sysconf.c): Likewise.
18003 (CFLAGS-pathconf.c): Likewise.
18004 (CFLAGS-fpathconf.c): Likewise.
18005 (CFLAGS-spawn.c): Likewise.
18006 (CFLAGS-spawnp.c): Likewise.
18007 (CFLAGS-spawni.c): Likewise.
18008 (CFLAGS-glob.c): Likewise.
18009 (CFLAGS-glob64.c): Likewise.
18010 (CFLAGS-getconf.c): Likewise.
18011 (CFLAGS-nanosleep.c): Likewise.
18012 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18013 (CFLAGS-getpwent.c): Likewise.
18014 (CFLAGS-getpw.c): Likewise.
18015 (CFLAGS-fgetpwent_r.c): Likewise.
18016 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18017 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18018 (CFLAGS-mq_timedreceive.c): Likewise.
18019 (CFLAGS-mq_timedsend.c): Likewise.
18020 (CFLAGS-clock_nanosleep.c): Likewise.
18021 (CFLAGS-librt-cancellation.c): Likewise.
18022 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18023 (CFLAGS-getspent.c): Likewise.
18024 (CFLAGS-fgetspent.c): Likewise.
18025 (CFLAGS-fgetspent_r.c): Likewise.
18026 (CFLAGS-putspent.c): Likewise.
18027 (CFLAGS-getspnam.c): Likewise.
18028 (CFLAGS-getspnam_r.c): Likewise.
18029 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18030 (CFLAGS-sigsuspend.c): Likewise.
18031 (CFLAGS-sigtimedwait.c): Likewise.
18032 (CFLAGS-sigwait.c): Likewise.
18033 (CFLAGS-sigwaitinfo.c): Likewise.
18034 (CFLAGS-sigreturn.c): Likewise.
18035 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18036 (CFLAGS-vfwprintf.c): Likewise.
18037 (CFLAGS-tmpfile.c): Likewise.
18038 (CFLAGS-tmpfile64.c): Likewise.
18039 (CFLAGS-tempname.c): Likewise.
18040 (CFLAGS-psignal.c): Likewise.
18041 (CFLAGS-vprintf.c): Likewise.
18042 (CFLAGS-cuserid.c): Likewise.
18043 (CFLAGS-errlist.c): Likewise.
18044 (CFLAGS-siglist.c): Likewise.
18045 (CFLAGS-scanf15.c): Likewise.
18046 (CFLAGS-scanf17.c): Likewise.
18047 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18048 (CFLAGS-msort.c): Likewise.
18049 (CFLAGS-qsort.c): Likewise.
18050 (CFLAGS-system.c): Likewise.
18051 (CFLAGS-fmtmsg.c): Likewise.
18052 (CFLAGS-strfmon.c): Likewise.
18053 (CFLAGS-strfmon_l.c): Likewise.
18054 (CFLAGS-strfromd.c): Likewise.
18055 (CFLAGS-strfromf.c): Likewise.
18056 (CFLAGS-strfroml.c): Likewise.
18057 (CFLAGS-tst-bsearch.c): Likewise.
18058 (CFLAGS-tst-qsort.c): Likewise.
18059 (CFLAGS-tst-makecontext2.c): Likewise.
18060 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18061 (CFLAGS-xnlm_prot.c): Likewise.
18062 (CFLAGS-xrstat.c): Likewise.
18063 (CFLAGS-xyppasswd.c): Likewise.
18064 (CFLAGS-xklm_prot.c): Likewise.
18065 (CFLAGS-xrex.c): Likewise.
18066 (CFLAGS-xsm_inter.c): Likewise.
18067 (CFLAGS-xmount.c): Likewise.
18068 (CFLAGS-xrusers.c): Likewise.
18069 (CFLAGS-xspray.c): Likewise.
18070 (CFLAGS-xnfs_prot.c): Likewise.
18071 (CFLAGS-xrquota.c): Likewise.
18072 (CFLAGS-xkey_prot.c): Likewise.
18073 (CFLAGS-auth_unix.c): Likewise.
18074 (CFLAGS-key_call.c): Likewise.
18075 (CFLAGS-pmap_rmt.c): Likewise.
18076 (CFLAGS-clnt_perr.c): Likewise.
18077 (CFLAGS-openchild.c): Likewise.
18078 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18079 (CFLAGS-msgsnd.c): Likewise.
18080 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18081 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18082 (CFLAGS-tzset.c): Likewise.
18083 (CFLAGS-getdate.c): Likewise.
18084 (CFLAGS-test_time.c): Likewise.
18085 (CPPFLAGS-tst-tzname.c): Likewise.
18086 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18087 (CFLAGS-zic.c): Likewise.
18088 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18089 (CFLAGS-wcswidth.c): Likewise.
18090 (CFLAGS-wcstol.c): Likewise.
18091 (CFLAGS-wcstoul.c): Likewise.
18092 (CFLAGS-wcstoll.c): Likewise.
18093 (CFLAGS-wcstoull.c): Likewise.
18094 (CFLAGS-wcstod.c): Likewise.
18095 (CFLAGS-wcstold.c): Likewise.
18096 (CFLAGS-wcstof128.c): Likewise.
18097 (CFLAGS-wcstof.c): Likewise.
18098 (CFLAGS-wcstol_l.c): Likewise.
18099 (CFLAGS-wcstoul_l.c): Likewise.
18100 (CFLAGS-wcstoll_l.c): Likewise.
18101 (CFLAGS-wcstoull_l.c): Likewise.
18102 (CFLAGS-wcstod_l.c): Likewise.
18103 (CFLAGS-wcstold_l.c): Likewise.
18104 (CFLAGS-wcstof128_l.c): Likewise.
18105 (CFLAGS-wcstof_l.c): Likewise.
18106 (CPPFLAGS-tst-wchar-h.c): Likewise.
18107 (CPPFLAGS-wcstold_l.c): Likewise.
18109 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18111 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18113 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18114 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18116 * manual/tunables.texi (Hardware Capability Tunables): Document
18117 glibc.tune.cached_memopt.
18118 * sysdeps/powerpc/cpu-features.c: New file.
18119 * sysdeps/powerpc/cpu-features.h: New file.
18120 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18121 _dl_powerpc_cpu_features.
18122 * sysdeps/powerpc/dl-tunables.list: New file.
18123 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18124 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18125 (INIT_ARCH): Initialize use_aligned_memopt.
18126 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18127 IS_IN(rtld))]: Restrict dl_platform_init availability and
18128 initialize CPU features used by tunables.
18129 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18130 Add memcpy-power8-cached.
18131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18132 __memcpy_power8_cached.
18133 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18134 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18137 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18139 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18140 (CFLAGS-noinl-tester.c): Likewise.
18141 (CFLAGS-tst-strlen.c): Likewise.
18142 (CFLAGS-stratcliff.c): Likewise.
18143 (CFLAGS-test-ffs.c): Likewise.
18144 (CFLAGS-tst-inlcall.c): Likewise.
18145 (CFLAGS-tst-xbzero-opt.c): Likewise.
18146 (CFLAGS-memcpy.c): Likewise.
18147 (CFLAGS-wordcopy.c): Likewise.
18149 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18151 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18152 Store r15 on stack and add cfi rule.
18153 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18156 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18159 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18162 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18164 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18165 Add s_sinf-sse2 and s_sinf-fma.
18166 (CFLAGS-s_sinf-fma.c): New.
18167 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18168 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18169 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18171 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18173 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18175 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18178 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18179 part of result to imaginary part of argument if it is zero and the
18180 real part of the argument is not finite.
18181 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18182 of result to real part of argument if it is zero and the imaginary
18183 part of the argument is not finite.
18185 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18188 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18189 and to the list of locales to be built for testing.
18190 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18191 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18192 and build the collation rules upon that.
18194 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18196 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18197 * manual/math.texi (Mathematics): Document support for _Float32.
18198 * math/Makefile (test-types): Add float32.
18199 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18200 * stdlib/Versions (GLIBC_2.27): Likewise.
18201 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18202 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18203 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18208 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18209 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18210 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18211 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18212 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18213 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18214 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18215 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18216 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18217 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18218 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18219 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18220 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18221 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18222 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18224 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18225 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18226 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18227 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18228 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18246 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18247 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18250 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18251 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18253 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18254 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18255 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18264 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18265 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18266 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18267 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18268 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18269 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18270 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18271 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18273 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18275 * stdlib/strtof.c: Include <bits/floatn.h>
18276 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18277 and later undefine as macro. Define as weak alias if
18279 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18280 and later undefine as macro. Define as weak alias if
18282 * stdlib/strtof_l.c: Include <bits/floatn.h>
18283 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18284 and later undefine as macro. Define as weak alias if
18286 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18287 and later undefine as macro. Define as weak alias if
18290 * stdlib/strfromf.c: Include <bits/floatn.h>.
18291 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18292 and later undefine as macro and define as weak alias.
18294 * math/test-float32.h: New file.
18296 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18297 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18298 (libm_alias_float_other_r): Create f32 alias.
18299 (libm_alias_float_r): Use semicolon before call to
18300 libm_alias_float_other_r.
18302 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18303 second argument to libm_alias_float_other.
18304 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18305 second argument to libm_alias_float_other.
18306 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18307 argument to libm_alias_float_other.
18310 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18311 real part of result for argument 0 + i * NaN.
18312 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18313 results for tests of 0 + i * NaN.
18315 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18317 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18319 2017-12-06 David S. Miller <davem@davemloft.net>
18321 * sysdeps/sparc/fpu/libm-test-ulps: Update
18322 exp_{downward,towardzero,upward} ulps.
18324 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18326 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18329 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18331 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18333 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18335 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18338 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18341 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18342 and to the list of locales to be built for testing.
18343 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18344 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18345 and build the collation rules upon that.
18347 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18349 * NEWS: Add sinf to list of optimized functions.
18351 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18353 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18354 (__HAVE_FLOAT32X): Likewise.
18355 * manual/math.texi (Mathematics): Document support for _Float64
18357 * math/Makefile (test-types): Add float64 and float32x.
18358 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18360 * stdlib/Versions (GLIBC_2.27): Likewise.
18361 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18362 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18363 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18364 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18365 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18366 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18369 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18370 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18371 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18372 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18373 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18374 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18375 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18376 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18377 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18378 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18379 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18380 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18381 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18382 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18384 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18385 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18386 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18387 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18388 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18405 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18406 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18407 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18408 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18409 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18410 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18411 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18412 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18413 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18414 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18423 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18424 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18425 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18426 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18427 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18428 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18429 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18430 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18432 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18434 * bits/floatn-common.h: Include <bits/long-double.h>.
18435 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18436 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18437 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18438 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18439 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18440 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18441 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18442 (__builtin_huge_valf64): Use __builtin_huge_vall.
18443 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18444 (__builtin_inff64): Use __builtin_infl.
18445 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18446 (__builtin_nanf64): Use __builtin_nanl.
18447 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18448 (__builtin_nansf64): Use __builtin_nansl.
18450 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18451 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18452 Carlos O'Donnell <carlos@redhat.com>
18454 * elf/dl-tunables.list: Add elision parameters.
18455 * manual/tunables.texi: Add entries about elision tunable.
18456 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18457 Add callback functions to dynamically enable/disable elision.
18458 Add multiple callbacks functions to set elision parameters.
18459 Deleted __libc_enable_secure check.
18460 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18461 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18462 * configure: Regenerated.
18463 * configure.ac: Option enable_lock_elision was deleted.
18464 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18465 * config.make.in: Remove references to enable_lock_elision.
18466 * manual/install.texi: Elision configure option was removed.
18467 * INSTALL: Regenerated to remove enable_lock_elision.
18469 Disable elision so it can verify error case for destroying a mutex.
18470 * sysdeps/powerpc/nptl/elide.h:
18471 Cleanup ENABLE_LOCK_ELISION check.
18472 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18473 * sysdeps/s390/configure: Regenerated.
18474 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18475 * nptl/tst-mutex8.c:
18476 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18477 * sysdeps/powerpc/powerpc32/sysdep.h:
18478 Deleted all ENABLE_LOCK_ELISION checks.
18479 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18480 * sysdeps/powerpc/sysdep.h: Likewise.
18481 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18482 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18483 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18484 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18485 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18486 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18487 enable-lock-elision.
18489 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18491 * stdlib/strtod.c: Include <bits/floatn.h>.
18492 (BUILD_DOUBLE): New macro.
18493 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18494 (strtof64): Define and later undefine as macro. Define as weak
18495 alias if [!USE_WIDE_CHAR].
18496 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18497 (wcstof64): Define and later undefine as macro. Define as weak
18498 alias if [USE_WIDE_CHAR].
18499 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18500 (strtof32x): Define and later undefine as macro. Define as weak
18501 alias if [!USE_WIDE_CHAR].
18502 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18503 (wcstof32x): Define and later undefine as macro. Define as weak
18504 alias if [USE_WIDE_CHAR].
18505 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18506 (BUILD_DOUBLE): New macro.
18507 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18508 (strtof64_l): Define and later undefine as macro. Define as weak
18509 alias if [!USE_WIDE_CHAR].
18510 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18511 (wcstof64_l): Define and later undefine as macro. Define as weak
18512 alias if [USE_WIDE_CHAR].
18513 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18514 (strtof32x_l): Define and later undefine as macro. Define as weak
18515 alias if [!USE_WIDE_CHAR].
18516 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18517 (wcstof32x_l): Define and later undefine as macro. Define as weak
18518 alias if [USE_WIDE_CHAR].
18520 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18522 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18523 (reduced): Use ones as double instead of integer.
18525 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18527 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18529 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18531 * stdlib/strfromd.c: Include <bits/floatn.h>.
18532 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18533 and later undefine as macro and define as weak alias.
18534 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18537 * math/test-float32x.h: New file.
18538 * math/test-float64.h: Likewise.
18540 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18541 (libm_alias_double_other_r_f64): New macro.
18542 (libm_alias_double_other_r_f32x): Likewise.
18543 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18544 libm_alias_double_other_r_f32x.
18545 (libm_alias_double_r): Use semicolon before call to
18546 libm_alias_double_other_r.
18547 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18549 (libm_alias_double_other_r_f64): New macro.
18550 (libm_alias_double_other_r_f32x): Likewise.
18551 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18552 libm_alias_double_other_r_f32x.
18554 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18556 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18558 (SINF_FUNC): Likewise. Replace floor with simple casts.
18560 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18563 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18564 and to the list of locales to be built for testing.
18565 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18566 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18567 and build the collation rules upon that.
18569 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18571 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18572 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18573 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18574 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18575 instead of __insn__xxx.
18576 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18577 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18578 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18579 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18580 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18581 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18583 2017-12-05 Florian Weimer <fweimer@redhat.com>
18585 Linux: Implement interfaces for memory protection keys
18586 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18588 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18589 * support/xunistd.h (xsysconf): Declare.
18590 * support/xraise.c: New file.
18591 * support/xsigaction.c: Likewise.
18592 * support/xsignal.c: Likewise.
18593 * support/xsysconf.c: Likewise.
18594 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18595 pkey_set, pkey_get, pkey_mprotect.
18596 [misc] (tests): Add tst-pkey.
18597 (tst-pkey): Link with -lpthread.
18598 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18599 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18600 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18601 (PKEY_DISABLE_WRITE): Define.
18602 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18604 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18605 (SEGV_PKUERR): Add.
18606 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18607 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18608 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18609 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18611 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18612 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18613 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18614 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18615 * sysdeps/unix/sysv/linux/**.abilist: Update.
18617 2017-12-05 Florian Weimer <fweimer@redhat.com>
18619 * support/tst-test_compare.c (subprocess): Use long long instead
18620 of long argument for consistent type width across 32-bit and
18621 64-bit architectures.
18622 (do_test): Adjust expected output.
18624 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18626 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18627 (cosf): Define using libm_alias_float.
18628 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18629 (fabsf): Define using libm_alias_float.
18630 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18631 (fmaf): Define using libm_alias_float.
18632 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18633 (rintf): Define using libm_alias_float.
18634 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18635 (sinf): Define using libm_alias_float.
18636 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18637 <libm-alias-float.h>.
18638 (modff): Define using libm_alias_float.
18639 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18640 <libm-alias-float.h>.
18641 (logbf): Define using libm_alias_float.
18642 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18643 <libm-alias-float.h>.
18644 (ceilf): Define using libm_alias_float.
18645 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18646 <libm-alias-float.h>.
18647 (copysignf): Define using libm_alias_float.
18648 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18649 <libm-alias-float.h>.
18650 (floorf): Define using libm_alias_float.
18651 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18652 <libm-alias-float.h>.
18653 (llrintf): Define using libm_alias_float.
18654 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18655 <libm-alias-float.h>.
18656 (llroundf): Define using libm_alias_float.
18657 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18658 <libm-alias-float.h>.
18659 (lrintf): Define using libm_alias_float.
18660 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18661 <libm-alias-float.h>.
18662 (lroundf): Define using libm_alias_float.
18663 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18664 <libm-alias-float.h>.
18665 (nearbyintf): Define using libm_alias_float.
18666 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18667 <libm-alias-float.h>.
18668 (rintf): Define using libm_alias_float.
18669 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18670 <libm-alias-float.h>.
18671 (roundf): Define using libm_alias_float.
18672 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18673 <libm-alias-float.h>.
18674 (truncf): Define using libm_alias_float.
18675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18676 Include <libm-alias-float.h>.
18677 (ceilf): Define using libm_alias_float.
18678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18679 Include <libm-alias-float.h>.
18680 (copysignf): Define using libm_alias_float.
18681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18682 Include <libm-alias-float.h>.
18683 (floorf): Define using libm_alias_float.
18684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18685 Include <libm-alias-float.h>.
18686 (llrintf): Define using libm_alias_float.
18687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18688 Include <libm-alias-float.h>.
18689 (llroundf): Define using libm_alias_float.
18690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18691 Include <libm-alias-float.h>.
18692 (logbf): Define using libm_alias_float.
18693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18694 Include <libm-alias-float.h>.
18695 (lrintf): Define using libm_alias_float.
18696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18697 Include <libm-alias-float.h>.
18698 (lroundf): Define using libm_alias_float.
18699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18700 Include <libm-alias-float.h>.
18701 (modff): Define using libm_alias_float.
18702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18703 Include <libm-alias-float.h>.
18704 (roundf): Define using libm_alias_float.
18705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18706 Include <libm-alias-float.h>.
18707 (truncf): Define using libm_alias_float.
18708 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18709 <libm-alias-float.h>.
18710 (llrintf): Define using libm_alias_float.
18711 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18712 <libm-alias-float.h>.
18713 (llroundf): Define using libm_alias_float.
18714 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18715 <libm-alias-float.h>.
18716 (ceilf): Define using libm_alias_float.
18717 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18718 <libm-alias-float.h>.
18719 (floorf): Define using libm_alias_float.
18720 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18721 <libm-alias-float.h>.
18722 (llroundf): Define using libm_alias_float.
18723 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18724 <libm-alias-float.h>.
18725 (lroundf): Define using libm_alias_float.
18726 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18727 <libm-alias-float.h>.
18728 (roundf): Define using libm_alias_float.
18729 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18730 <libm-alias-float.h>.
18731 (truncf): Define using libm_alias_float.
18732 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18733 <libm-alias-float.h>.
18734 (copysignf): Define using libm_alias_float.
18735 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18736 <libm-alias-float.h>.
18737 (llrintf): Define using libm_alias_float.
18738 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18739 <libm-alias-float.h>.
18740 (llroundf): Define using libm_alias_float.
18741 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18742 <libm-alias-float.h>.
18743 (lrintf): Define using libm_alias_float.
18744 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18745 <libm-alias-float.h>.
18746 (lroundf): Define using libm_alias_float.
18747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18748 <libm-alias-float.h>.
18749 (ceilf): Define using libm_alias_float.
18750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18751 <libm-alias-float.h>.
18752 (copysignf): Define using libm_alias_float.
18753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18754 <libm-alias-float.h>.
18755 (cosf): Define using libm_alias_float.
18756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18757 <libm-alias-float.h>.
18758 (floorf): Define using libm_alias_float.
18759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18760 <libm-alias-float.h>.
18761 (llrintf): Define using libm_alias_float.
18762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18763 <libm-alias-float.h>.
18764 (llroundf): Define using libm_alias_float.
18765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18766 <libm-alias-float.h>.
18767 (logbf): Define using libm_alias_float.
18768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18769 <libm-alias-float.h>.
18770 (modff): Define using libm_alias_float.
18771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18772 <libm-alias-float.h>.
18773 (roundf): Define using libm_alias_float.
18774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18775 <libm-alias-float.h>.
18776 (sinf): Define using libm_alias_float.
18777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18778 <libm-alias-float.h>.
18779 (truncf): Define using libm_alias_float.
18780 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18781 <libm-alias-float.h>.
18782 (ceilf): Define using libm_alias_float.
18783 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18784 <libm-alias-float.h>.
18785 (copysignf): Define using libm_alias_float.
18786 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18787 <libm-alias-float.h>.
18788 (floorf): Define using libm_alias_float.
18789 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18790 <libm-alias-float.h>.
18791 (llrintf): Define using libm_alias_float.
18792 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18793 <libm-alias-float.h>.
18794 (llroundf): Define using libm_alias_float.
18795 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18796 <libm-alias-float.h>.
18797 (nearbyintf): Define using libm_alias_float.
18798 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18799 <libm-alias-float.h>.
18800 (rintf): Define using libm_alias_float.
18801 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18802 <libm-alias-float.h>.
18803 (roundf): Define using libm_alias_float.
18804 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18805 <libm-alias-float.h>.
18806 (truncf): Define using libm_alias_float.
18807 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18808 <libm-alias-float.h>.
18809 (ceilf): Define using libm_alias_float.
18810 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18811 <libm-alias-float.h>.
18812 (floorf): Define using libm_alias_float.
18813 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18814 <libm-alias-float.h>.
18815 (llroundf): Define using libm_alias_float.
18816 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18817 <libm-alias-float.h>.
18818 (roundf): Define using libm_alias_float.
18819 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18820 <libm-alias-float.h>.
18821 (truncf): Define using libm_alias_float.
18822 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18823 <libm-alias-float.h>.
18824 (copysignf): Define using libm_alias_float.
18825 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18826 <libm-alias-float.h>.
18827 (llrintf): Define using libm_alias_float.
18828 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18829 <libm-alias-float.h>.
18830 (llroundf): Define using libm_alias_float.
18831 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18832 <libm-alias-float.h>.
18833 (cosf): Define using libm_alias_float.
18834 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18835 <libm-alias-float.h>.
18836 (llrintf): Define using libm_alias_float.
18837 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18838 <libm-alias-float.h>.
18839 (llroundf): Define using libm_alias_float.
18840 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18841 <libm-alias-float.h>.
18842 (sinf): Define using libm_alias_float.
18844 2017-12-04 Florian Weimer <fweimer@redhat.com>
18846 * support/check.h (TEST_COMPARE): Define.
18847 (support_test_compare_failure): Declare.
18848 * support/Makefile (libsupport-routines): Add
18849 support_test_compare_failure.
18850 (tests): Add tst-test_compare.
18851 * support /support_test_compare_failure.c: New file.
18852 * support/tst-test_compare.c: Likewise.
18854 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18857 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
18858 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
18859 available, this rewrite of the collation rules does reproduce
18860 the test file in the same order.
18862 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18865 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
18866 digraphs in the month and day names. Using single code points for
18867 digraphs is deprecated. While there are dedicated Unicode
18868 codepoints, for the digraphs, these are included for backwards
18869 compatibility and modern texts use a sequence of Basic Latin
18870 characters. See: https://www.unicode.org/faq/ligature_digraph.html
18871 This makes the month and day names agree exactly with CLDR now,
18872 CLDR does not use the single code points for the digraphs either.
18874 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
18876 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
18878 2017-12-04 Joseph Myers <joseph@codesourcery.com>
18880 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
18883 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
18885 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
18886 Define only for libc.so.
18888 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18890 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18891 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
18892 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
18893 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
18894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18896 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18899 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
18901 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
18904 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
18905 PREINIT_FUNCTION_WEAK is nonzero.
18906 (gmon_initializer): New function. Put procedure label for it in
18907 .init_array section.
18908 (_init): Don't call PREINIT_FUNCTION.
18909 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
18910 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
18911 value when map argument is null.
18913 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
18914 depi instruction from PIC pc-relative sequence.
18915 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
18916 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
18917 (elf_machine_load_address): Likewise.
18918 (elf_machine_runtime_setup): Likewise.
18920 2017-12-02 Joseph Myers <joseph@codesourcery.com>
18922 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
18923 <libm-alias-double.h>.
18924 (logb): Define using libm_alias_double.
18925 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18926 <libm-alias-double.h>.
18927 (copysign): Define using libm_alias_double.
18928 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
18929 <libm-alias-double.h>.
18930 (llrint): Define using libm_alias_double.
18931 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
18932 <libm-alias-double.h>.
18933 (llround): Define using libm_alias_double.
18934 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18935 <libm-alias-double.h>.
18936 (lrint): Define using libm_alias_double.
18937 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18938 <libm-alias-double.h>.
18939 (lround): Define using libm_alias_double.
18940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18941 Include <libm-alias-double.h>.
18942 (copysign): Define using libm_alias_double.
18943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
18944 Include <libm-alias-double.h>.
18945 (llrint): Define using libm_alias_double.
18946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
18947 Include <libm-alias-double.h>.
18948 (llround): Define using libm_alias_double.
18949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
18950 <libm-alias-double.h>.
18951 (logb): Define using libm_alias_double.
18952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
18953 Include <libm-alias-double.h>.
18954 (lrint): Define using libm_alias_double.
18955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
18956 Include <libm-alias-double.h>.
18957 (lround): Define using libm_alias_double.
18958 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
18959 <libm-alias-double.h>.
18960 (llrint): Define using libm_alias_double.
18961 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18962 <libm-alias-double.h>.
18963 (llround): Define using libm_alias_double.
18964 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18965 <libm-alias-double.h>.
18966 (llround): Define using libm_alias_double.
18967 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18968 <libm-alias-double.h>.
18969 (lround): Define using libm_alias_double.
18970 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18971 <libm-alias-double.h>.
18972 (copysign): Define using libm_alias_double.
18973 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
18974 <libm-alias-double.h>.
18975 (llrint): Define using libm_alias_double.
18976 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18977 <libm-alias-double.h>.
18978 (llround): Define using libm_alias_double.
18979 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18980 <libm-alias-double.h>.
18981 (lrint): Define using libm_alias_double.
18982 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18983 <libm-alias-double.h>.
18984 (lround): Define using libm_alias_double.
18985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
18986 <libm-alias-double.h>.
18987 (copysign): Define using libm_alias_double.
18988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
18989 <libm-alias-double.h>.
18990 (llrint): Define using libm_alias_double.
18992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
18993 <libm-alias-double.h>.
18994 (llround): Define using libm_alias_double.
18995 (lround): Likewise.
18996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
18997 <libm-alias-double.h>.
18998 (logb): Define using libm_alias_double.
18999 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19000 <libm-alias-double.h>.
19001 (copysign): Define using libm_alias_double.
19002 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19003 <libm-alias-double.h>.
19004 (llrint): Define using libm_alias_double.
19006 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19007 <libm-alias-double.h>.
19008 (llround): Define using libm_alias_double.
19009 (lround): Likewise.
19010 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19011 <libm-alias-double.h>.
19012 (llround): Define using libm_alias_double.
19013 (lround): Likewise.
19014 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19015 <libm-alias-double.h>.
19016 (copysign): Define using libm_alias_double.
19017 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19018 <libm-alias-double.h>.
19019 (llrint): Define using libm_alias_double.
19021 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19022 <libm-alias-double.h>.
19023 (llround): Define using libm_alias_double.
19024 (lround): Likewise.
19025 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19026 <libm-alias-double.h>.
19027 (llrint): Define using libm_alias_double.
19029 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19030 <libm-alias-double.h>.
19031 (llround): Define using libm_alias_double.
19032 (lround): Likewise.
19034 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19037 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19038 compat symbol based on llround.
19040 * sysdeps/powerpc/power7/fpu/s_logb.c
19041 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19042 symbol based on __logb, not on logb.
19043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19044 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19046 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19048 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19049 (rint): Define using libm_alias_double.
19050 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19051 <libm-alias-double.h>.
19052 (modf): Define using libm_alias_double.
19053 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19054 <libm-alias-double.h>.
19055 (ceil): Define using libm_alias_double.
19056 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19057 <libm-alias-double.h>.
19058 (floor): Define using libm_alias_double.
19059 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19060 <libm-alias-double.h>.
19061 (nearbyint): Define using libm_alias_double.
19062 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19063 <libm-alias-double.h>.
19064 (rint): Define using libm_alias_double.
19065 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19066 <libm-alias-double.h>.
19067 (round): Define using libm_alias_double.
19068 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19069 <libm-alias-double.h>.
19070 (trunc): Define using libm_alias_double.
19071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19072 <libm-alias-double.h>.
19073 (ceil): Define using libm_alias_double.
19074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19075 Include <libm-alias-double.h>.
19076 (floor): Define using libm_alias_double.
19077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19078 <libm-alias-double.h>.
19079 (modf): Define using libm_alias_double.
19080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19081 Include <libm-alias-double.h>.
19082 (round): Define using libm_alias_double.
19083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19084 Include <libm-alias-double.h>.
19085 (trunc): Define using libm_alias_double.
19086 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19087 <libm-alias-double.h>.
19088 (ceil): Define using libm_alias_double.
19089 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19090 <libm-alias-double.h>.
19091 (floor): Define using libm_alias_double.
19092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19093 <libm-alias-double.h>.
19094 (round): Define using libm_alias_double.
19095 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19096 <libm-alias-double.h>.
19097 (trunc): Define using libm_alias_double.
19098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19099 <libm-alias-double.h>.
19100 (ceil): Define using libm_alias_double.
19101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19102 <libm-alias-double.h>.
19103 (floor): Define using libm_alias_double.
19104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19105 <libm-alias-double.h>.
19106 (modf): Define using libm_alias_double.
19107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19108 <libm-alias-double.h>.
19109 (round): Define using libm_alias_double.
19110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19111 <libm-alias-double.h>.
19112 (trunc): Define using libm_alias_double.
19113 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19114 <libm-alias-double.h>.
19115 (ceil): Define using libm_alias_double.
19116 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19117 <libm-alias-double.h>.
19118 (floor): Define using libm_alias_double.
19119 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19120 <libm-alias-double.h>.
19121 (nearbyint): Define using libm_alias_double.
19122 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19123 <libm-alias-double.h>.
19124 (rint): Define using libm_alias_double.
19125 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19126 <libm-alias-double.h>.
19127 (round): Define using libm_alias_double.
19128 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19129 <libm-alias-double.h>.
19130 (trunc): Define using libm_alias_double.
19131 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19132 <libm-alias-double.h>.
19133 (ceil): Define using libm_alias_double.
19134 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19135 <libm-alias-double.h>.
19136 (floor): Define using libm_alias_double.
19137 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19138 <libm-alias-double.h>.
19139 (round): Define using libm_alias_double.
19140 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19141 <libm-alias-double.h>.
19142 (trunc): Define using libm_alias_double.
19144 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19145 (fabs): Define using libm_alias_double.
19146 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19147 (fma): Define using libm_alias_double.
19148 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19149 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19150 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19151 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19153 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19155 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19157 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19158 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19159 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19162 due redirect macro.
19164 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19166 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19168 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19170 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19171 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19172 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19173 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19176 (libm-sysdep_routines): Add s_nearbyintf-generic and
19177 s_nearbyint-generic.
19178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19191 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19202 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19213 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19224 (sysdep_calls): New rule.
19225 (sysdep_routines): Use sysdep_calls as base.
19226 (libm-sysdep_routines): Add generic rule for symbols shared with
19227 libc. Add s_copysign-generic and s_copysign-generic objects.
19228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19237 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19240 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19241 the list of locales to be built for testing.
19242 * localedata/is_IS.UTF-8.in: New file.
19243 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19246 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19248 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19249 <libm-alias-float.h>.
19250 (fabsf): Define using libm_alias_float.
19252 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19254 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19256 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19258 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19259 <libm-alias-float.h>.
19260 (fabsf): Define using libm_alias_float.
19261 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19262 <libm-alias-float.h>.
19263 (lrintf): Define using libm_alias_float.
19264 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19265 <libm-alias-float.h>.
19266 (rintf): Define using libm_alias_float.
19268 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19269 <libm-alias-double.h>.
19270 (fabs): Define using libm_alias_double.
19271 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19272 <libm-alias-double.h>.
19273 (lrint): Define using libm_alias_double.
19274 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19275 <libm-alias-double.h>.
19276 (rint): Define using libm_alias_double.
19278 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19279 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19280 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19281 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19282 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19283 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19284 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19285 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19286 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19287 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19288 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19289 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19290 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19291 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19292 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19293 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19294 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19295 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19297 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19298 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19299 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19301 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19302 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19303 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19305 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19306 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19307 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19308 s_expm1_template.c.
19309 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19310 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19311 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19313 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19314 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19315 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19316 s_floor_template.c.
19317 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19318 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19319 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19320 s_frexp_template.c.
19321 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19322 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19323 s_lrint_template.c.
19324 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19325 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19326 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19328 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19329 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19330 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19331 s_nearbyint_template.c.
19332 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19333 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19334 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19335 s_remquo_template.c.
19336 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19337 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19338 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19340 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19341 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19342 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19344 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19345 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19346 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19347 s_sincos_template.c.
19348 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19349 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19350 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19352 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19353 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19354 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19356 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19357 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19358 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19359 s_trunc_template.c.
19360 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19361 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19362 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19363 s_atan.c instead of including s_atan.c.
19364 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19365 s_atanf.c instead of including s_atanf.c.
19366 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19367 s_atanl.c instead of including s_atanl.c.
19368 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19369 instead of s_atan.c.
19370 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19371 instead of s_atanf.c.
19372 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19373 instead of s_atanl.c.
19375 * scripts/update-copyrights: Do not handle intl/plural.c
19378 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19381 * configure.ac (BISON): Require to be present.
19382 * configure: Regenerated.
19383 * intl/Makefile (generated): Add plural.c.
19384 [$(BISON) != no]: Make code unconditional.
19385 (plural.c): Change rule to $(objpfx)plural.c.
19386 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19387 * intl/plural.c: Remove.
19388 * manual/install.texi (Tools for Compilation): Document bison as
19390 * INSTALL: Regenerated.
19392 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19394 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19395 <libm-alias-double.h>.
19396 (llrint): Define using libm_alias_double.
19397 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19398 <libm-alias-float.h>.
19399 (llrintf): Define using libm_alias_float.
19400 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19401 <libm-alias-ldouble.h>.
19402 (llrintl): Define using libm_alias_ldouble.
19404 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19405 declare_mgen_alias instead of weak_alias.
19406 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19407 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19408 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19410 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19412 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19414 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19415 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19416 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19418 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19419 Add submul_1-generic.
19420 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19421 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19422 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19424 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19425 Add addmul_1-generic.
19426 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19427 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19428 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19430 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19432 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19433 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19434 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19436 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19438 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19439 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19440 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19442 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19444 According to CLDR, collation rules for Serbian and Bosnian
19445 should be the same as for Croatian.
19448 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19449 and to the list of locales to be built for testing.
19450 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19451 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19452 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19453 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19455 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19457 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19458 to make test case pass.
19459 * localedata/hr_HR.UTF-8.in: Add more test strings.
19461 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19463 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19465 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19467 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19468 the list of locales to built for testing.
19469 * localedata/hr_HR.UTF-8.in: New file.
19471 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19474 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19476 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19477 CLDR (except use ligatures for the digraphs, CLDR does not use
19478 the ligatures), add first_workday, some fixes in the date and time
19480 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19482 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19483 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19484 Add int_p_cs_precedes and int_n_cs_precedes.
19485 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19486 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19488 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19489 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19491 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19492 and lang_lib. Change postal_fmt.
19494 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19496 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19498 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19499 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19500 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19501 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19502 * sysdeps/generic/setjmpP.h: New file.
19503 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19504 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19505 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19506 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19507 Add jmp_buf-ssp.sym.
19508 (tests): Add tst-saved_mask-1.
19510 2017-11-30 Arjun Shankar <arjun@redhat.com>
19514 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19515 instead of request2size.
19517 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19520 (__lllrint): Remove alias.
19521 (lllrint): Likewise.
19522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19523 (__lllrintf): Likewise.
19524 (lllrintf): Likewise.
19526 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19527 <libm-alias-float.h>.
19528 (copysignf): Define using libm_alias_float.
19529 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19530 <libm-alias-float.h>.
19531 (fabsf): Define using libm_alias_float.
19532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19533 Include <libm-alias-float.h>.
19534 (copysignf): Define using libm_alias_float.
19535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19536 <libm-alias-float.h>.
19537 (fabsf): Define using libm_alias_float.
19538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19539 <libm-alias-float.h>.
19540 (fdimf): Define using libm_alias_float.
19541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19542 <libm-alias-float.h>.
19543 (fmaf): Define using libm_alias_float.
19544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19545 <libm-alias-float.h>.
19546 (llrintf): Define using libm_alias_float.
19547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19548 Include <libm-alias-float.h>.
19549 (nearbyintf): Define using libm_alias_float.
19550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19551 <libm-alias-float.h>.
19552 (rintf): Define using libm_alias_float.
19553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19554 <libm-alias-float.h>.
19555 (llrintf): Define using libm_alias_float.
19556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19557 <libm-alias-float.h>.
19558 (lrintf): Define using libm_alias_float.
19559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19560 <libm-alias-float.h>.
19561 (nearbyintf): Define using libm_alias_float.
19562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19563 <libm-alias-float.h>.
19564 (rintf): Define using libm_alias_float.
19565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19566 <libm-alias-float.h>.
19567 (ceilf): Define using libm_alias_float.
19568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19569 <libm-alias-float.h>.
19570 (floorf): Define using libm_alias_float.
19571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19572 <libm-alias-float.h>.
19573 (fmaf): Define using libm_alias_float.
19574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19575 <libm-alias-float.h>.
19576 (lrintf): Define using libm_alias_float.
19577 (llrintf): Likewise.
19578 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19579 <libm-alias-float.h>.
19580 (nearbyintf): Define using libm_alias_float.
19581 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19582 <libm-alias-float.h>.
19583 (rintf): Define using libm_alias_float.
19584 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19585 <libm-alias-float.h>.
19586 (truncf): Define using libm_alias_float.
19587 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19588 <libm-alias-float.h>.
19589 (copysignf): Define using libm_alias_float.
19590 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19591 <libm-alias-float.h>.
19592 (fabsf): Define using libm_alias_float.
19593 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19594 <libm-alias-float.h>.
19595 (lrintf): Define using libm_alias_float.
19596 (llrintf): Likewise.
19597 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19598 <libm-alias-float.h>.
19599 (nearbyintf): Define using libm_alias_float.
19600 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19601 <libm-alias-float.h>.
19602 (rintf): Define using libm_alias_float.
19604 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19606 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19607 <libm-alias-double.h>.
19608 (copysign): Define using libm_alias_double.
19609 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19610 <libm-alias-double.h>.
19611 (fabs): Define using libm_alias_double.
19612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19613 Include <libm-alias-double.h>.
19614 (copysign): Define using libm_alias_double.
19615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19616 <libm-alias-double.h>.
19617 (fabs): Define using libm_alias_double.
19618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19619 <libm-alias-double.h>.
19620 (fdim): Define using libm_alias_double.
19621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19622 <libm-alias-double.h>.
19623 (fma): Define using libm_alias_double.
19624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19625 <libm-alias-double.h>.
19626 (llrint): Define using libm_alias_double.
19627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19628 Include <libm-alias-double.h>.
19629 (nearbyint): Define using libm_alias_double.
19630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19631 <libm-alias-double.h>.
19632 (rint): Define using libm_alias_double.
19633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19634 <libm-alias-double.h>.
19635 (fabs): Define using libm_alias_double.
19636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19637 <libm-alias-double.h>.
19638 (llrint): Define using libm_alias_double.
19639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19640 <libm-alias-double.h>.
19641 (nearbyint): Define using libm_alias_double.
19642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19643 <libm-alias-double.h>.
19644 (rint): Define using libm_alias_double.
19645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19646 <libm-alias-double.h>.
19647 (ceil): Define using libm_alias_double.
19648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19649 <libm-alias-double.h>.
19650 (floor): Define using libm_alias_double.
19651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19652 <libm-alias-double.h>.
19653 (fma): Define using libm_alias_double.
19654 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19655 <libm-alias-double.h>.
19656 (lrint): Define using libm_alias_double.
19657 (llrint): Likewise.
19658 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19659 <libm-alias-double.h>.
19660 (nearbyint): Define using libm_alias_double.
19661 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19662 <libm-alias-double.h>.
19663 (rint): Define using libm_alias_double.
19664 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19665 <libm-alias-double.h>.
19666 (trunc): Define using libm_alias_double.
19667 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19668 <libm-alias-double.h>.
19669 (copysign): Define using libm_alias_double.
19670 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19671 <libm-alias-double.h>.
19672 (fabs): Define using libm_alias_double.
19673 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19674 <libm-alias-double.h>.
19675 (lrint): Define using libm_alias_double.
19676 (llrint): Likewise.
19677 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19678 <libm-alias-double.h>.
19679 (nearbyint): Define using libm_alias_double.
19680 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19681 <libm-alias-double.h>.
19682 (rint): Define using libm_alias_double.
19685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19687 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19689 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19690 SPARC --disable-multi-arch glibc variants.
19692 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19693 <libm-alias-float.h>.
19694 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19696 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19697 <libm-alias-float.h>.
19698 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19700 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19701 <libm-alias-float.h>.
19702 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19704 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19705 <libm-alias-float.h>.
19706 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19708 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19709 <libm-alias-float.h>.
19710 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19712 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19713 <libm-alias-float.h>.
19714 (ceilf): Define using libm_alias_float.
19715 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19716 <libm-alias-float.h>.
19717 (floorf): Define using libm_alias_float.
19718 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19719 <libm-alias-float.h>.
19720 (fmaf): Define using libm_alias_float.
19721 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19722 <libm-alias-float.h>.
19723 (nearbyintf): Define using libm_alias_float.
19724 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19725 <libm-alias-float.h>.
19726 (rintf): Define using libm_alias_float.
19727 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19728 <libm-alias-float.h>.
19729 (truncf): Define using libm_alias_float.
19730 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19731 (copysignf): Define using libm_alias_float.
19732 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19733 (cosf): Define using libm_alias_float.
19734 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19735 (fabsf): Define using libm_alias_float.
19736 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19737 (fmaxf): Define using libm_alias_float.
19738 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19739 (fminf): Define using libm_alias_float.
19740 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19741 (llrintf): Define using libm_alias_float.
19742 [!__ILP32__] (lrintf): Likewise.
19743 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19744 (sincosf): Define using libm_alias_float.
19745 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19746 (sinf): Define using libm_alias_float.
19747 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19748 (lrintf): Define using libm_alias_float.
19750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19751 <libm-alias-double.h>.
19752 (atan): Define using libm_alias_double.
19753 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19754 <libm-alias-double.h>.
19755 (ceil): Define using libm_alias_double.
19756 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19757 <libm-alias-double.h>.
19758 (floor): Define using libm_alias_double.
19759 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19760 <libm-alias-double.h>.
19761 (fma): Define using libm_alias_double.
19762 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19763 <libm-alias-double.h>.
19764 (nearbyint): Define using libm_alias_double.
19765 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19766 <libm-alias-double.h>.
19767 (rint): Define using libm_alias_double.
19768 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19769 <libm-alias-double.h>.
19770 (sin): Define using libm_alias_double.
19772 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19773 <libm-alias-double.h>.
19774 (tan): Define using libm_alias_double.
19775 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19776 <libm-alias-double.h>.
19777 (trunc): Define using libm_alias_double.
19778 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19779 (copysign): Define using libm_alias_double.
19780 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19781 (fabs): Define using libm_alias_double.
19782 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19783 (fmax): Define using libm_alias_double.
19784 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19785 (fmin): Define using libm_alias_double.
19786 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19787 (llrint): Define using libm_alias_double.
19788 [!__ILP32__] (lrint): Likewise.
19789 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19790 (lrint): Define using libm_alias_double.
19792 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19795 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19805 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19807 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19808 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19809 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19812 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19814 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19815 (libm-sysdep_routines): Add s_nearbyint-generic and
19816 s_nearbyintf-generic objects.
19817 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19818 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19819 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19820 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19821 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19822 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19824 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19825 Add s_finitef-generic and s_finite-generic objects.
19826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19828 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19829 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19830 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19831 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19833 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19834 Add s_isinff-generic and s_isinf-generic objects.
19835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19843 Add s_isnanf-generic and s_isnan-generic objects.
19844 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
19849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19851 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
19853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
19855 (sysdep_routines): Use sysdep_calls as base.
19856 (libm-sysdep_routines): Add generic rule for symbols shared with
19857 libc. Add s_signbit-generic and s_signbitf-generic objects.
19858 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
19859 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
19860 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
19861 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
19862 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
19863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19865 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19867 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
19868 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
19869 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
19870 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
19871 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
19872 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
19873 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
19874 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
19875 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
19876 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
19877 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
19878 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
19879 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
19880 libm_alias_float_r.
19881 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
19882 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
19884 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
19885 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
19886 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
19887 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
19888 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
19889 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
19890 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
19891 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
19892 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
19893 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
19895 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
19897 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
19898 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
19899 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
19900 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
19901 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
19902 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
19903 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
19904 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
19905 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
19906 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
19907 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
19908 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
19909 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
19910 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
19911 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
19912 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
19913 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
19914 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
19915 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
19917 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
19918 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
19919 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
19920 * sysdeps/ia64/fpu/w_lgammaf_main.c
19921 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
19922 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
19924 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19925 Alexandre Oliva <aoliva@redhat.com>
19928 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
19929 * localedata/fr_CA.UTF-8.in: New file with test data for backward
19931 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
19933 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
19934 * localedata/locales/de_DE (LC_COLLATE): Likewise.
19935 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
19936 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
19937 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
19938 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
19939 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
19940 instead of “ifdef DIACRIT_BACKWARD”.
19942 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19944 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
19945 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
19946 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
19947 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
19948 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
19949 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
19950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
19951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
19952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
19953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
19954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
19955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
19956 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
19957 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
19958 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
19959 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19960 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
19961 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
19962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19963 ($(have-as-vis3) == yes): Remove conditional.
19964 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
19966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
19968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
19970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
19972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
19974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
19975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
19976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
19977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
19978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
19979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
19980 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
19981 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
19983 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19985 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
19986 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
19987 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
19988 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
19989 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
19990 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
19991 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
19992 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
19993 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
19994 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
19995 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
19996 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
19997 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
19998 libm_alias_double_r.
19999 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20001 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20002 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20003 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20004 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20005 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20006 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20007 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20008 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20009 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20010 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20011 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20013 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20015 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20016 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20017 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20018 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20019 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20020 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20021 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20022 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20023 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20024 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20025 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20026 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20027 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20028 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20029 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20030 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20031 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20032 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20034 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20035 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20036 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20037 * sysdeps/ia64/fpu/w_lgamma_main.c
20038 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20039 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20041 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20043 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20044 address of $global$ into %dp register earlier. Use pc-relative
20045 instruction sequence for PIC case.
20047 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20049 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20050 (asinhf): Define using libm_alias_float.
20051 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20052 (atanf): Define using libm_alias_float.
20053 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20054 (cbrtf): Define using libm_alias_float.
20055 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20056 (ceilf): Define using libm_alias_float.
20057 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20058 (copysignf): Define using libm_alias_float.
20059 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20060 (expm1f): Define using libm_alias_float.
20061 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20062 (fabsf): Define using libm_alias_float.
20063 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20064 (floorf): Define using libm_alias_float.
20065 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20066 (fmaxf): Define using libm_alias_float.
20067 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20068 (fminf): Define using libm_alias_float.
20069 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20070 (frexpf): Define using libm_alias_float.
20071 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20072 (llrintf): Define using libm_alias_float.
20073 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20074 (logbf): Define using libm_alias_float.
20075 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20076 (lrintf): Define using libm_alias_float.
20077 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20078 (nearbyintf): Define using libm_alias_float.
20079 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20080 (remquof): Define using libm_alias_float.
20081 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20082 (rintf): Define using libm_alias_float.
20083 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20084 (truncf): Define using libm_alias_float.
20085 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20086 <libm-alias-float.h>.
20087 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20089 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20090 <libm-alias-float.h>.
20091 (expf): Define using libm_alias_float, or libm_alias_float_other
20093 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20094 <libm-alias-float.h>.
20095 (log2f): Define using libm_alias_float, or libm_alias_float_other
20097 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20098 <libm-alias-float.h>.
20099 (logf): Define using libm_alias_float, or libm_alias_float_other
20101 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20102 <libm-alias-float.h>.
20103 (powf): Define using libm_alias_float, or libm_alias_float_other
20105 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20106 <libm-alias-float.h>.
20107 (cosf): Define using libm_alias_float.
20108 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20109 <libm-alias-float.h>.
20110 (sincosf): Define using libm_alias_float.
20111 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20112 <libm-alias-float.h>.
20113 (sinf): Define using libm_alias_float.
20114 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20115 (fmaxf): Define using libm_alias_float.
20116 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20117 (fminf): Define using libm_alias_float.
20118 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20119 <libm-alias-float.h>.
20120 (fmaf): Define using libm_alias_float.
20122 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20123 (asinh): Define using libm_alias_double.
20124 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20125 (atan): Define using libm_alias_double.
20126 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20127 (cbrt): Define using libm_alias_double.
20128 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20129 (ceil): Define using libm_alias_double.
20130 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20131 (copysign): Define using libm_alias_double.
20132 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20133 (expm1): Define using libm_alias_double.
20134 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20135 (fabs): Define using libm_alias_double.
20136 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20137 (fdim): Define using libm_alias_double.
20138 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20139 (floor): Define using libm_alias_double.
20140 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20141 (fmax): Define using libm_alias_double.
20142 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20143 (fmin): Define using libm_alias_double.
20144 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20145 (frexp): Define using libm_alias_double.
20146 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20147 (llrint): Define using libm_alias_double.
20148 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20149 (logb): Define using libm_alias_double.
20150 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20151 (lrint): Define using libm_alias_double.
20152 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20153 (nearbyint): Define using libm_alias_double.
20154 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20155 (remquo): Define using libm_alias_double.
20156 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20157 (rint): Define using libm_alias_double.
20158 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20159 (trunc): Define using libm_alias_double.
20160 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20161 (fmax): Define using libm_alias_double.
20162 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20163 (fmin): Define using libm_alias_double.
20164 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20165 (fma): Define using libm_alias_double.
20167 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20170 * elf/dl-hwcaps.c (ROUND): Removed.
20171 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20172 and ELF_NOTE_NEXT_OFFSET.
20173 * elf/dl-load.c (ROUND): Removed.
20174 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20175 * elf/readelflib.c (ROUND): Removed.
20176 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20177 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20178 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20179 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20181 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20183 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20184 [!__fmaf] (fmaf): Define using libm_alias_float.
20186 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20187 [!__fma] (fma): Define using libm_alias_double.
20188 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20190 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20193 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20194 and implement the collation rules for cs from CLDR on top of that.
20195 * Makefile: Add cs_CZ.UTF-8 to test-input.
20196 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20198 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20200 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20202 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20203 Icarus Sparry <icarus.w.sparry@intel.com>
20205 * benchtests/Makefile:Add BENCHSET to allow subsets of
20206 benchmarks to be run.
20207 * benchtests/README: Add documentation for: Running subsets of
20210 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20212 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20213 range of tests names.
20215 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20216 result from property and remove "max", min" and "mean" from
20217 required properties based on benchtests/bench-skeleton.c.
20219 2017-11-28 Florian Weimer <fweimer@redhat.com>
20222 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20223 due to Internet requirement.
20224 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20226 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20228 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20230 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20231 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20232 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20233 (sysdep_routines): Add memset-ultra1.
20234 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20236 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20237 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20238 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20239 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20240 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20241 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20242 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20243 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20245 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20247 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20248 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20249 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20250 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20251 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20252 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20253 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20255 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20256 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20257 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20258 (sysdep_routines): Add memcpy-ultra1.
20259 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20260 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20262 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20264 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20265 (cfloat_versions): Take function argument without trailing 'f'.
20266 Call libm_alias_float_other.
20267 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20268 * sysdeps/alpha/fpu/cargf.c: Likewise.
20269 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20270 * sysdeps/alpha/fpu/conjf.c: Likewise.
20271 * sysdeps/alpha/fpu/crealf.c: Likewise.
20272 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20273 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20274 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20275 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20276 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20277 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20278 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20279 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20280 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20281 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20282 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20283 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20284 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20285 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20286 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20287 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20288 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20289 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20290 (clog10f): Use libm_alias_float_other.
20291 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20292 (ceilf): Define using libm_alias_float.
20293 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20294 (copysignf): Define using libm_alias_float.
20295 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20296 (fabsf): Define using libm_alias_float.
20297 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20298 (floorf): Define using libm_alias_float.
20299 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20300 (fmaxf): Define using libm_alias_float.
20301 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20302 (fminf): Define using libm_alias_float.
20303 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20304 (lrintf): Define using libm_alias_float.
20305 (llrintf): Likewise.
20306 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20307 (lroundf): Define using libm_alias_float.
20308 (llroundf): Likewise.
20309 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20310 (rintf): Define using libm_alias_float.
20311 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20312 (truncf): Define using libm_alias_float.
20314 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20315 (ceilf): Define using libm_alias_float.
20316 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20317 (floorf): Define using libm_alias_float.
20318 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20319 (fmaf): Define using libm_alias_float.
20320 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20321 (fmaxf): Define using libm_alias_float.
20322 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20323 (fminf): Define using libm_alias_float.
20324 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20325 (llrintf): Define using libm_alias_float.
20326 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20327 (llroundf): Define using libm_alias_float.
20328 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20329 (lrintf): Define using libm_alias_float.
20330 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20331 (lroundf): Define using libm_alias_float.
20332 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20333 <libm-alias-float.h>.
20334 (nearbyintf): Define using libm_alias_float.
20335 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20336 (rintf): Define using libm_alias_float.
20337 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20338 (roundf): Define using libm_alias_float.
20339 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20340 (truncf): Define using libm_alias_float.
20342 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20343 (ceil): Define using libm_alias_double.
20344 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20345 (copysign): Define using libm_alias_double.
20346 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20347 (fabs): Define using libm_alias_double.
20348 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20349 (floor): Define using libm_alias_double.
20350 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20351 (fmax): Define using libm_alias_double.
20352 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20353 (fmin): Define using libm_alias_double.
20354 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20355 (lrint): Define using libm_alias_double.
20356 (llrint): Likewise.
20357 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20358 (lround): Define using libm_alias_double.
20359 (llround): Likewise.
20360 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20361 (rint): Define using libm_alias_double.
20362 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20363 (trunc): Define using libm_alias_double.
20365 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20366 (libm_alias_double_r): Add semicolon after weak_alias call.
20368 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20370 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20371 (ceil): Define using libm_alias_double.
20372 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20373 (floor): Define using libm_alias_double.
20374 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20375 (fma): Define using libm_alias_double.
20376 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20377 (fmax): Define using libm_alias_double.
20378 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20379 (fmin): Define using libm_alias_double.
20380 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20381 (llrint): Define using libm_alias_double.
20382 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20383 (llround): Define using libm_alias_double.
20384 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20385 (lrint): Define using libm_alias_double.
20386 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20387 (lround): Define using libm_alias_double.
20388 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20389 (nearbyint): Define using libm_alias_double.
20390 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20391 (rint): Define using libm_alias_double.
20392 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20393 (round): Define using libm_alias_double.
20394 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20395 (trunc): Define using libm_alias_double.
20397 2017-11-27 Florian Weimer <fweimer@redhat.com>
20399 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20400 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20401 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20402 (tests): Add tst-mlock2.
20403 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20404 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20405 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20406 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20407 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20408 for mlock. Document mlock2.
20410 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20412 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20413 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20415 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20417 * sysdeps/x86/Makeconfig: New file.
20418 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20419 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20420 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20421 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20422 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20423 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20424 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20426 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20427 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20428 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20429 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20430 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20431 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20432 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20433 * manual/math.texi (Mathematics): Document support for _Float64x.
20434 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20435 * stdlib/Versions (GLIBC_2.27): Likewise.
20436 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20437 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20438 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20439 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20440 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20441 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20442 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20443 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20444 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20445 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20446 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20447 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20452 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20453 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20454 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20455 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20456 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20457 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20458 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20459 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20460 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20461 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20462 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20463 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20464 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20465 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20467 2017-11-27 Andreas Schwab <schwab@suse.de>
20469 * elf/Makefile (dl-routines): Add dl-sort-maps.
20470 * elf/dl-sort-maps.c: New file.
20471 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20472 (_dl_sort_maps): Declare.
20473 * elf/dl-fini.c (_dl_sort_fini): Remove.
20474 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20475 * elf/dl-close.c (_dl_close_worker): Likewise.
20476 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20478 * elf/dl-open.c (dl_open_worker): Likewise.
20480 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20482 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20483 using libm_alias_float128.
20484 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20486 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20488 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20489 (setpayloadsigf128): Likewise.
20490 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20492 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20495 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20496 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20497 -mfloat128 to CFLAGS.
20499 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20501 (CFLAGS-libm-test-support-float64x.c): New variable.
20502 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20503 $(f128-loader-link) to gnulib-tests.
20505 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20506 (libm_alias_float128_other_r): If
20507 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20509 (libm_alias_float128_r): Add semicolon after weak_alias call.
20510 * sysdeps/generic/libm-alias-ldouble.h
20511 (libm_alias_ldouble_other_r_f128): New macro.
20512 (libm_alias_ldouble_other_r_f64x): Likewise.
20513 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20514 and libm_alias_ldouble_other_r_f64x.
20515 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20516 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20517 (libm_alias_ldouble_other_r_f128): New macro.
20518 (libm_alias_ldouble_other_r_f64x): Likewise.
20519 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20520 and libm_alias_ldouble_other_r_f64x.
20522 * stdlib/strfroml.c: Always include <stdlib.h>.
20523 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20524 undefine as macro and define as weak alias.
20525 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20526 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20528 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20529 Define and later undefine as macro and define as weak alias.
20531 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20532 Define and later undefine as macro. Define as weak alias if
20534 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20535 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20536 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20537 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20538 Define and later undefine as macro. Define as weak alias if
20540 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20541 Define and later undefine as macro. Define as weak alias if
20543 * sysdeps/ieee754/float128/strtof128_l.c
20544 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20545 Define and later undefine as macro. Define as weak alias if
20547 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20548 Define and later undefine as macro. Define as weak alias if
20550 * sysdeps/ieee754/ldbl-128/strtold_l.c
20551 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20552 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20553 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20554 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20555 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20556 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20557 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20558 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20559 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20560 * sysdeps/ieee754/ldbl-96/strtold_l.c
20561 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20562 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20563 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20564 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20566 * math/test-float64x.h: New file.
20567 * math/Makefile (type-float64x-yes): New variable.
20568 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20570 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20571 function-like macro.
20572 (min_of_type_): Likewise.
20573 (min_of_type_l): Likewise.
20574 (min_of_type_f128): Likewise.
20575 (min_of_type): Pass () as last argument of __MATH_TG.
20577 * stdlib/tst-strtod-round-skeleton.c
20578 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20581 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20582 for combinations of long double with _Float64 and _Float64x.
20584 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20585 (__DECL_SIMD_cosf32): Likewise.
20586 (__DECL_SIMD_cosf64): Likewise.
20587 (__DECL_SIMD_cosf32x): Likewise.
20588 (__DECL_SIMD_cosf64x): Likewise.
20589 (__DECL_SIMD_cosf128x): Likewise.
20590 (__DECL_SIMD_sinf16): Likewise.
20591 (__DECL_SIMD_sinf32): Likewise.
20592 (__DECL_SIMD_sinf64): Likewise.
20593 (__DECL_SIMD_sinf32x): Likewise.
20594 (__DECL_SIMD_sinf64x): Likewise.
20595 (__DECL_SIMD_sinf128x): Likewise.
20596 (__DECL_SIMD_sincosf16): Likewise.
20597 (__DECL_SIMD_sincosf32): Likewise.
20598 (__DECL_SIMD_sincosf64): Likewise.
20599 (__DECL_SIMD_sincosf32x): Likewise.
20600 (__DECL_SIMD_sincosf64x): Likewise.
20601 (__DECL_SIMD_sincosf128x): Likewise.
20602 (__DECL_SIMD_logf16): Likewise.
20603 (__DECL_SIMD_logf32): Likewise.
20604 (__DECL_SIMD_logf64): Likewise.
20605 (__DECL_SIMD_logf32x): Likewise.
20606 (__DECL_SIMD_logf64x): Likewise.
20607 (__DECL_SIMD_logf128x): Likewise.
20608 (__DECL_SIMD_expf16): Likewise.
20609 (__DECL_SIMD_expf32): Likewise.
20610 (__DECL_SIMD_expf64): Likewise.
20611 (__DECL_SIMD_expf32x): Likewise.
20612 (__DECL_SIMD_expf64x): Likewise.
20613 (__DECL_SIMD_expf128x): Likewise.
20614 (__DECL_SIMD_powf16): Likewise.
20615 (__DECL_SIMD_powf32): Likewise.
20616 (__DECL_SIMD_powf64): Likewise.
20617 (__DECL_SIMD_powf32x): Likewise.
20618 (__DECL_SIMD_powf64x): Likewise.
20619 (__DECL_SIMD_powf128x): Likewise.
20621 * stdlib/Versions (libc): Move entries for wcstof128 and
20622 wcstof128_l to ....
20623 * wcsmbs/Versions (libc): ... here.
20624 Include <float128-abi.h>.
20626 2017-11-24 Florian Weimer <fweimer@redhat.com>
20628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20629 bits/mman-shared.h.
20630 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20631 <bits/mman-shared.h>.
20632 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20634 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20635 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20636 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20637 <bits/mman-shared.h>.
20639 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20642 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20643 posix_memalign/free.
20644 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20646 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20649 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20650 and implement the collation rules for pl from CLDR on top of that.
20651 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20652 of locales to be built for testing.
20653 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20655 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20657 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20658 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20659 libm_alias_ldouble_other.
20660 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20661 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20662 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20663 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20664 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20665 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20666 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20667 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20668 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20669 libm_alias_ldouble_r.
20670 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20671 libm_alias_ldouble_other.
20672 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20673 (log10l): Likewise.
20674 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20675 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20676 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20677 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20678 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20679 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20680 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20681 (atan2l): Likewise.
20682 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20683 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20684 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20685 libm_alias_ldouble.
20686 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20688 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20689 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20690 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20692 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20693 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20694 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20695 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20696 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20697 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20698 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20699 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20700 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20701 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20702 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20703 libm_alias_ldouble.
20704 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20705 libm_alias_ldouble_other.
20706 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20707 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20708 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20709 libm_alias_ldouble.
20710 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20711 libm_alias_ldouble_other.
20712 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20713 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20714 * sysdeps/ia64/fpu/w_lgammal_main.c
20715 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20716 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20718 2017-11-23 Florian Weimer <fweimer@redhat.com>
20720 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20721 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20722 alike. Remove freeres marker.
20723 * malloc/arena.c (arena_thread_freeres): Call
20724 tcache_thread_shutdown.
20726 2017-11-23 Florian Weimer <fweimer@redhat.com>
20729 Export nscd hash function as __nss_hash.
20730 * include/nss.h (__nss_hash): Declare.
20731 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20733 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20734 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20736 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20737 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20738 * nss/Makefiles (routines): Add nss_hash.
20739 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20740 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20741 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20742 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20744 2017-11-23 Florian Weimer <fweimer@redhat.com>
20747 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20748 Return error code, not -1.
20749 * signal/tst-sigwait-eintr.c: New file.
20750 * signal/Makefile (tests): Add tst-sigwait-eintr.
20752 2017-11-23 Florian Weimer <fweimer@redhat.com>
20754 Linux: Add memfd_create system call wrapper
20755 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20757 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20758 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20759 [__USE_GNU] (memfd_create): Declare.
20760 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20761 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20762 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20763 * sysdeps/unix/sysv/linux/**.abilist: Update.
20764 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20766 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20768 * localedata/gen-locale.sh: Fix typo in variable name.
20770 * resolv/res_debug.c (p_secstodate): Condition definition on
20771 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20772 directly as __p_secstodate, and as a compat symbol. Do not use
20773 libresolv_hidden_def.
20774 * resolv/resolv.h (p_secstodate): Remove macro and function
20776 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20777 using p_secstodate.
20778 * include/resolv.h (__p_secstodate): Do not use
20779 libresolv_hidden_proto.
20780 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20781 (tests-internal): ... here.
20782 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20783 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20784 and declare and use __p_secstodate and use compat_symbol_reference
20786 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20787 implementation returning 77.
20790 * resolv/res_debug.c: Include <libc-diag.h>.
20791 (p_secstodate): Assert time_t at least as wide as u_long. On
20792 overflow, use integer seconds since the epoch as output, or use
20793 "<overflow>" as output and set errno to EOVERFLOW if integer
20794 seconds since the epoch would be 14 or more characters.
20795 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20797 * resolv/tst-p_secstodate.c: New file.
20798 * resolv/Makefile (tests): Add tst-p_secstodate.
20799 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20801 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20802 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20803 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20805 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20807 * posix/regcomp.c (init_word_char): Add comments.
20809 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20812 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20813 strlen to compute length of ut_user and set trailing NUL byte of
20816 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20819 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20820 using “copy "iso14651_t1"” and then implementing the
20821 collation rules for lv from CLDR on top of that.
20822 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20823 of locales to be built for testing.
20824 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20827 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20829 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20830 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20831 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20832 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20833 [__USE_MISC] (MADV_HWPOISON): New macro.
20834 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20836 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20838 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20839 -Wmissing-braces on GCC 4.9.
20841 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20843 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20844 * sysdeps/s390/s390-32/start.S (_start): Likewise
20845 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20846 (thread_start): Likewise.
20847 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20848 (thread_start): Likewise.
20849 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
20850 (__makecontext_ret): Likewise.
20851 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
20852 (__makecontext_ret): Likewise.
20854 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20856 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
20857 __wcschrnul): Remove attribute_hidden.
20859 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
20861 regex: don't assume uint64_t or uint32_t
20862 This avoids -Werror=overflow errors for 32-bit systems in
20863 the 64-bit case. Problem reported by Joseph Myers in:
20864 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
20865 Also, when this code is used in Gnulib it ports to platforms
20866 that lack uint64_t and uint32_t. The C standard doesn't guarantee
20867 them, and on some 32-bit compilers there is no uint64_t.
20868 Problem reported by Gianluigi Tiesi in:
20869 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
20870 * posix/regcomp.c (init_word_char): Don't assume that the types
20871 uint64_t and uint32_t exist. Adapted from Gnulib patch
20872 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
20873 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
20875 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
20877 * sysdeps/aarch64/memset-reg.h: New file.
20878 * sysdeps/aarch64/memset.S: Use it.
20879 (__memset): Rename to MEMSET macro.
20880 [ZVA_MACRO]: Use zva_macro.
20881 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20882 Add memset_generic and memset_falkor.
20883 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
20884 (__libc_ifunc_impl_list): Add memset ifuncs.
20885 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
20886 local variable zva_size.
20887 * sysdeps/aarch64/multiarch/memset.c: New file.
20888 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
20889 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
20890 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
20891 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
20892 (DCZID_DZP_MASK): New macro.
20893 (DCZID_BS_MASK): Likewise.
20894 (init_cpu_features): Read and set zva_size.
20895 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
20896 (struct cpu_features): New member zva_size.
20898 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
20899 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
20900 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
20902 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
20903 backwards. Fix timing computation.
20904 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
20905 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
20906 on memset by N at a time. Fix timing computation.
20908 2017-11-20 Florian Weimer <fweimer@redhat.com>
20910 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
20911 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
20913 2017-11-19 Florian Weimer <fweimer@redhat.com>
20915 manual: Document mprotect
20916 * manual/memory.texi (Memory Protection): New section.
20917 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
20918 documentation of PROT_* flags and reference the Memory Protection
20921 2017-11-19 Florian Weimer <fweimer@redhat.com>
20923 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
20924 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
20925 (Scatter-Gather): ... to here. Remove misleading comment.
20927 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
20929 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
20932 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
20933 when /proc/<pid>/setgroups does not exist.
20935 2017-11-18 Florian Weimer <fweimer@redhat.com>
20937 * sysdeps/unix/sysv/linux/tst-ttyname.c
20938 (become_root_in_mount_ns): Remove.
20939 (do_in_chroot_1): Call support_enter_mount_namespace.
20940 (do_in_chroot_2): Likewise.
20941 (do_test): Call support_become_root early.
20943 2017-11-18 Florian Weimer <fweimer@redhat.com>
20945 * support/namespace.h (support_enter_mount_namespace): Declare.
20946 * support/support_enter_mount_namespace.c: New file.
20947 * support/Makefile (libsupport-routines): Add
20948 support_enter_mount_namespace.
20950 2017-11-18 Florian Weimer <fweimer@redhat.com>
20952 * support/temp_file.c (support_create_temp_directory): Use
20953 test_dir and do not rely on the presence of the XXXXXX suffix.
20954 * support/temp_file.h (support_create_temp_directory): Update
20956 * support/tst-xreadlink.c (do_test): Adjust.
20957 * support/support_chroot.c (support_chroot_create): Likewise.
20959 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20961 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
20963 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
20966 2017-11-17 Joseph Myers <joseph@codesourcery.com>
20968 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20969 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20970 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
20971 (ceill): Define using libm_alias_ldouble.
20972 * sysdeps/x86_64/fpu/s_copysignl.S: Include
20973 <libm-alias-ldouble.h>.
20974 (copysignl): Define using libm_alias_ldouble.
20975 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
20976 (fabsl): Define using libm_alias_ldouble.
20977 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
20978 (floorl): Define using libm_alias_ldouble.
20979 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
20980 (fmaxl): Define using libm_alias_ldouble.
20981 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
20982 (fminl): Define using libm_alias_ldouble.
20983 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
20984 (llrintl): Define using libm_alias_ldouble.
20985 (lrintl): Likewise.
20986 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
20987 <libm-alias-ldouble.h>.
20988 (nearbyintl): Define using libm_alias_ldouble.
20989 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
20990 (truncl): Define using libm_alias_ldouble.
20991 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
20992 <libm-alias-ldouble.h>.
20993 (lrintl): Define using libm_alias_ldouble.
20995 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
20996 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
20997 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
20998 (asinhl): Define using libm_alias_ldouble.
20999 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21000 (atanl): Define using libm_alias_ldouble.
21001 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21002 (cbrtl): Define using libm_alias_ldouble.
21003 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21004 (ceill): Define using libm_alias_ldouble.
21005 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21006 (copysignl): Define using libm_alias_ldouble.
21007 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21008 (fabsl): Define using libm_alias_ldouble.
21009 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21010 (floorl): Define using libm_alias_ldouble.
21011 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21012 (fmaxl): Define using libm_alias_ldouble.
21013 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21014 (fminl): Define using libm_alias_ldouble.
21015 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21016 (frexpl): Define using libm_alias_ldouble.
21017 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21018 (llrintl): Define using libm_alias_ldouble.
21019 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21020 (logbl): Define using libm_alias_ldouble.
21021 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21022 (lrintl): Define using libm_alias_ldouble.
21023 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21024 (nearbyintl): Define using libm_alias_ldouble.
21025 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21026 (nextafterl): Define using libm_alias_ldouble.
21027 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21028 (remquol): Define using libm_alias_ldouble.
21029 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21030 (rintl): Define using libm_alias_ldouble.
21031 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21032 (truncl): Define using libm_alias_ldouble.
21033 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21034 (fmaxl): Define using libm_alias_ldouble.
21035 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21036 (fminl): Define using libm_alias_ldouble.
21038 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21039 to C syntax instead of availability and properties of types.
21040 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21041 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21042 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21043 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21044 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21045 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21047 2017-11-17 Florian Weimer <fweimer@redhat.com>
21049 support_become_root: Enable file creation in namespaces.
21050 * support/support_become_root.c (setup_mapping): New function.
21051 (support_become_root): Call it.
21053 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21055 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21058 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21060 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21061 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21063 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21065 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21067 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21070 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21072 * INSTALL: Fix botched up regeneration.
21074 * NEWS: Update sourceare link to https.
21075 * configure.ac: Likewise.
21076 * crypt/md5test-giant.c: Likewise.
21077 * dlfcn/bug-atexit1.c: Likewise.
21078 * dlfcn/bug-atexit2.c: Likewise.
21079 * localedata/README: Likewise.
21080 * malloc/tst-mallocfork.c: Likewise.
21081 * manual/install.texi: Likewise.
21082 * nptl/tst-pthread-getattr.c: Likewise.
21083 * stdio-common/tst-fgets.c: Likewise.
21084 * stdio-common/tst-fwrite.c: Likewise.
21085 * sunrpc/Makefile: Likewise.
21086 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21087 * wcsmbs/tst-mbrtowc2.c: Likewise.
21088 * configure: Regenerate.
21089 * INSTALL: Regenerate.
21091 2017-11-15 Martin Sebor <msebor@redhat.com>
21093 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21094 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21095 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21097 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21100 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21101 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21104 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21105 Defer is_pty check until end of the function.
21106 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21109 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21110 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21111 (ttyname): Likewise.
21112 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21113 (__ttyname_r): Likewise.
21115 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21118 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21120 * manual/terminal.texi (Is It a Terminal):
21121 Mention ENODEV for ttyname and ttyname_r.
21123 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21125 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21126 constant and macro.
21128 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21129 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21130 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21131 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21132 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21133 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21135 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21137 * signal/sigrelse.c (sigrelse): Optimize implementation.
21139 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21140 (__sigpause): Rely on __sigsuspend to implement single thread
21141 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21143 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21145 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21146 kernel version to 4.14.
21148 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21151 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21152 Check if ifname is too long.
21154 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21156 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21158 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21160 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21161 was accidentally lost.
21163 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21165 * localedata/locales/az_IR: Add standard copyright header.
21167 2017-11-15 Florian Weimer <fweimer@redhat.com>
21170 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21171 not just the top one. Output a new "subheaps" statistic.
21173 2017-11-15 Florian Weimer <fweimer@redhat.com>
21176 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21177 under the per-arena lock.
21178 * malloc/Makefile (tests): Add tst-malloc_info.
21179 (tst-malloc_info): Link with libpthread.
21180 * malloc/tst-malloc_info.c: New file.
21182 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21185 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21186 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21187 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21188 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21189 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21190 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21191 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21192 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21193 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21194 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21195 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21196 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21197 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21198 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21199 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21200 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21201 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21202 (__floating_type): Likewise.
21203 (__real_integer_type): Likewise.
21204 (__complex_integer_type): Likewise.
21205 (__expr_is_real): Likewise.
21206 (__tgmath_real_type_sub): Likewise.
21207 (__tgmath_real_type): Likewise.
21208 (__tgmath_complex_type_sub): Likewise.
21209 (__tgmath_complex_type): Likewise.
21210 (__TGMATH_F128): Likewise.
21211 (__TGMATH_CF128): Likewise.
21212 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21214 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21215 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21217 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21219 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21220 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21221 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21222 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21224 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21225 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21227 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21228 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21229 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21231 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21232 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21233 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21237 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21239 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21240 for stpncpy calls for GCC 8.
21241 (test_strncat): Disable -Wstringop-truncation warning for strncat
21242 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21243 strncat call for GCC 7.
21244 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21246 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21249 * string/bug-strncat1.c: Include <libc-diag.h>.
21250 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21252 2017-11-13 Claude Paroz <claude@2xlibre.net>
21255 * localedata/locales/aa_DJ: Improved readibility by replacing
21256 <Uxxxx> sequences in the ASCII printable range by their ASCII
21257 character equivalents.
21258 * localedata/locales/aa_ER: Likewise.
21259 * localedata/locales/aa_ER@saaho: Likewise.
21260 * localedata/locales/aa_ET: Likewise.
21261 * localedata/locales/af_ZA: Likewise.
21262 * localedata/locales/agr_PE: Likewise.
21263 * localedata/locales/ak_GH: Likewise.
21264 * localedata/locales/am_ET: Likewise.
21265 * localedata/locales/anp_IN: Likewise.
21266 * localedata/locales/ar_AE: Likewise.
21267 * localedata/locales/ar_BH: Likewise.
21268 * localedata/locales/ar_DZ: Likewise.
21269 * localedata/locales/ar_EG: Likewise.
21270 * localedata/locales/ar_IN: Likewise.
21271 * localedata/locales/ar_IQ: Likewise.
21272 * localedata/locales/ar_JO: Likewise.
21273 * localedata/locales/ar_KW: Likewise.
21274 * localedata/locales/ar_LB: Likewise.
21275 * localedata/locales/ar_LY: Likewise.
21276 * localedata/locales/ar_MA: Likewise.
21277 * localedata/locales/ar_OM: Likewise.
21278 * localedata/locales/ar_QA: Likewise.
21279 * localedata/locales/ar_SA: Likewise.
21280 * localedata/locales/ar_SD: Likewise.
21281 * localedata/locales/ar_SS: Likewise.
21282 * localedata/locales/ar_SY: Likewise.
21283 * localedata/locales/ar_TN: Likewise.
21284 * localedata/locales/ar_YE: Likewise.
21285 * localedata/locales/as_IN: Likewise.
21286 * localedata/locales/ast_ES: Likewise.
21287 * localedata/locales/ayc_PE: Likewise.
21288 * localedata/locales/az_AZ: Likewise.
21289 * localedata/locales/az_IR: Likewise.
21290 * localedata/locales/be_BY: Likewise.
21291 * localedata/locales/be_BY@latin: Likewise.
21292 * localedata/locales/bem_ZM: Likewise.
21293 * localedata/locales/ber_DZ: Likewise.
21294 * localedata/locales/ber_MA: Likewise.
21295 * localedata/locales/bg_BG: Likewise.
21296 * localedata/locales/bhb_IN: Likewise.
21297 * localedata/locales/bho_IN: Likewise.
21298 * localedata/locales/bi_VU: Likewise.
21299 * localedata/locales/bn_BD: Likewise.
21300 * localedata/locales/bn_IN: Likewise.
21301 * localedata/locales/bo_CN: Likewise.
21302 * localedata/locales/bo_IN: Likewise.
21303 * localedata/locales/br_FR: Likewise.
21304 * localedata/locales/brx_IN: Likewise.
21305 * localedata/locales/bs_BA: Likewise.
21306 * localedata/locales/byn_ER: Likewise.
21307 * localedata/locales/ca_AD: Likewise.
21308 * localedata/locales/ca_ES: Likewise.
21309 * localedata/locales/ca_FR: Likewise.
21310 * localedata/locales/ca_IT: Likewise.
21311 * localedata/locales/ce_RU: Likewise.
21312 * localedata/locales/chr_US: Likewise.
21313 * localedata/locales/cmn_TW: Likewise.
21314 * localedata/locales/crh_UA: Likewise.
21315 * localedata/locales/cs_CZ: Likewise.
21316 * localedata/locales/csb_PL: Likewise.
21317 * localedata/locales/cv_RU: Likewise.
21318 * localedata/locales/cy_GB: Likewise.
21319 * localedata/locales/da_DK: Likewise.
21320 * localedata/locales/de_AT: Likewise.
21321 * localedata/locales/de_BE: Likewise.
21322 * localedata/locales/de_CH: Likewise.
21323 * localedata/locales/de_DE: Likewise.
21324 * localedata/locales/de_IT: Likewise.
21325 * localedata/locales/de_LI: Likewise.
21326 * localedata/locales/de_LU: Likewise.
21327 * localedata/locales/doi_IN: Likewise.
21328 * localedata/locales/dv_MV: Likewise.
21329 * localedata/locales/dz_BT: Likewise.
21330 * localedata/locales/el_CY: Likewise.
21331 * localedata/locales/el_GR: Likewise.
21332 * localedata/locales/en_AG: Likewise.
21333 * localedata/locales/en_AU: Likewise.
21334 * localedata/locales/en_BW: Likewise.
21335 * localedata/locales/en_CA: Likewise.
21336 * localedata/locales/en_DK: Likewise.
21337 * localedata/locales/en_GB: Likewise.
21338 * localedata/locales/en_HK: Likewise.
21339 * localedata/locales/en_IE: Likewise.
21340 * localedata/locales/en_IL: Likewise.
21341 * localedata/locales/en_IN: Likewise.
21342 * localedata/locales/en_NG: Likewise.
21343 * localedata/locales/en_NZ: Likewise.
21344 * localedata/locales/en_PH: Likewise.
21345 * localedata/locales/en_SG: Likewise.
21346 * localedata/locales/en_US: Likewise.
21347 * localedata/locales/en_ZA: Likewise.
21348 * localedata/locales/en_ZM: Likewise.
21349 * localedata/locales/en_ZW: Likewise.
21350 * localedata/locales/eo: Likewise.
21351 * localedata/locales/es_AR: Likewise.
21352 * localedata/locales/es_BO: Likewise.
21353 * localedata/locales/es_CL: Likewise.
21354 * localedata/locales/es_CO: Likewise.
21355 * localedata/locales/es_CR: Likewise.
21356 * localedata/locales/es_CU: Likewise.
21357 * localedata/locales/es_DO: Likewise.
21358 * localedata/locales/es_EC: Likewise.
21359 * localedata/locales/es_ES: Likewise.
21360 * localedata/locales/es_GT: Likewise.
21361 * localedata/locales/es_HN: Likewise.
21362 * localedata/locales/es_MX: Likewise.
21363 * localedata/locales/es_NI: Likewise.
21364 * localedata/locales/es_PA: Likewise.
21365 * localedata/locales/es_PE: Likewise.
21366 * localedata/locales/es_PR: Likewise.
21367 * localedata/locales/es_PY: Likewise.
21368 * localedata/locales/es_SV: Likewise.
21369 * localedata/locales/es_US: Likewise.
21370 * localedata/locales/es_UY: Likewise.
21371 * localedata/locales/es_VE: Likewise.
21372 * localedata/locales/et_EE: Likewise.
21373 * localedata/locales/eu_ES: Likewise.
21374 * localedata/locales/eu_ES@euro: Likewise.
21375 * localedata/locales/fa_IR: Likewise.
21376 * localedata/locales/ff_SN: Likewise.
21377 * localedata/locales/fi_FI: Likewise.
21378 * localedata/locales/fil_PH: Likewise.
21379 * localedata/locales/fo_FO: Likewise.
21380 * localedata/locales/fr_BE: Likewise.
21381 * localedata/locales/fr_CA: Likewise.
21382 * localedata/locales/fr_CH: Likewise.
21383 * localedata/locales/fr_FR: Likewise.
21384 * localedata/locales/fr_LU: Likewise.
21385 * localedata/locales/fur_IT: Likewise.
21386 * localedata/locales/fy_DE: Likewise.
21387 * localedata/locales/fy_NL: Likewise.
21388 * localedata/locales/ga_IE: Likewise.
21389 * localedata/locales/gd_GB: Likewise.
21390 * localedata/locales/gez_ER: Likewise.
21391 * localedata/locales/gez_ET: Likewise.
21392 * localedata/locales/gl_ES: Likewise.
21393 * localedata/locales/gu_IN: Likewise.
21394 * localedata/locales/gv_GB: Likewise.
21395 * localedata/locales/ha_NG: Likewise.
21396 * localedata/locales/hak_TW: Likewise.
21397 * localedata/locales/he_IL: Likewise.
21398 * localedata/locales/hi_IN: Likewise.
21399 * localedata/locales/hif_FJ: Likewise.
21400 * localedata/locales/hne_IN: Likewise.
21401 * localedata/locales/hr_HR: Likewise.
21402 * localedata/locales/hsb_DE: Likewise.
21403 * localedata/locales/ht_HT: Likewise.
21404 * localedata/locales/hu_HU: Likewise.
21405 * localedata/locales/hy_AM: Likewise.
21406 * localedata/locales/i18n: Likewise.
21407 * localedata/locales/ia_FR: Likewise.
21408 * localedata/locales/id_ID: Likewise.
21409 * localedata/locales/ig_NG: Likewise.
21410 * localedata/locales/ik_CA: Likewise.
21411 * localedata/locales/is_IS: Likewise.
21412 * localedata/locales/it_CH: Likewise.
21413 * localedata/locales/it_IT: Likewise.
21414 * localedata/locales/iu_CA: Likewise.
21415 * localedata/locales/ja_JP: Likewise.
21416 * localedata/locales/ka_GE: Likewise.
21417 * localedata/locales/kk_KZ: Likewise.
21418 * localedata/locales/kl_GL: Likewise.
21419 * localedata/locales/kn_IN: Likewise.
21420 * localedata/locales/ko_KR: Likewise.
21421 * localedata/locales/kok_IN: Likewise.
21422 * localedata/locales/ks_IN: Likewise.
21423 * localedata/locales/ks_IN@devanagari: Likewise.
21424 * localedata/locales/ku_TR: Likewise.
21425 * localedata/locales/kw_GB: Likewise.
21426 * localedata/locales/ky_KG: Likewise.
21427 * localedata/locales/lb_LU: Likewise.
21428 * localedata/locales/lg_UG: Likewise.
21429 * localedata/locales/li_BE: Likewise.
21430 * localedata/locales/li_NL: Likewise.
21431 * localedata/locales/lij_IT: Likewise.
21432 * localedata/locales/ln_CD: Likewise.
21433 * localedata/locales/lo_LA: Likewise.
21434 * localedata/locales/lt_LT: Likewise.
21435 * localedata/locales/lv_LV: Likewise.
21436 * localedata/locales/lzh_TW: Likewise.
21437 * localedata/locales/mag_IN: Likewise.
21438 * localedata/locales/mai_IN: Likewise.
21439 * localedata/locales/mg_MG: Likewise.
21440 * localedata/locales/mhr_RU: Likewise.
21441 * localedata/locales/mi_NZ: Likewise.
21442 * localedata/locales/mk_MK: Likewise.
21443 * localedata/locales/ml_IN: Likewise.
21444 * localedata/locales/mn_MN: Likewise.
21445 * localedata/locales/mni_IN: Likewise.
21446 * localedata/locales/mr_IN: Likewise.
21447 * localedata/locales/ms_MY: Likewise.
21448 * localedata/locales/mt_MT: Likewise.
21449 * localedata/locales/my_MM: Likewise.
21450 * localedata/locales/nan_TW: Likewise.
21451 * localedata/locales/nan_TW@latin: Likewise.
21452 * localedata/locales/nb_NO: Likewise.
21453 * localedata/locales/nds_DE: Likewise.
21454 * localedata/locales/nds_NL: Likewise.
21455 * localedata/locales/ne_NP: Likewise.
21456 * localedata/locales/nhn_MX: Likewise.
21457 * localedata/locales/niu_NU: Likewise.
21458 * localedata/locales/niu_NZ: Likewise.
21459 * localedata/locales/nl_AW: Likewise.
21460 * localedata/locales/nl_BE: Likewise.
21461 * localedata/locales/nl_NL: Likewise.
21462 * localedata/locales/nn_NO: Likewise.
21463 * localedata/locales/nr_ZA: Likewise.
21464 * localedata/locales/nso_ZA: Likewise.
21465 * localedata/locales/oc_FR: Likewise.
21466 * localedata/locales/om_ET: Likewise.
21467 * localedata/locales/om_KE: Likewise.
21468 * localedata/locales/or_IN: Likewise.
21469 * localedata/locales/os_RU: Likewise.
21470 * localedata/locales/pa_IN: Likewise.
21471 * localedata/locales/pa_PK: Likewise.
21472 * localedata/locales/pap_AW: Likewise.
21473 * localedata/locales/pap_CW: Likewise.
21474 * localedata/locales/pl_PL: Likewise.
21475 * localedata/locales/ps_AF: Likewise.
21476 * localedata/locales/pt_BR: Likewise.
21477 * localedata/locales/pt_PT: Likewise.
21478 * localedata/locales/quz_PE: Likewise.
21479 * localedata/locales/raj_IN: Likewise.
21480 * localedata/locales/ro_RO: Likewise.
21481 * localedata/locales/ru_RU: Likewise.
21482 * localedata/locales/ru_UA: Likewise.
21483 * localedata/locales/rw_RW: Likewise.
21484 * localedata/locales/sa_IN: Likewise.
21485 * localedata/locales/sat_IN: Likewise.
21486 * localedata/locales/sc_IT: Likewise.
21487 * localedata/locales/sd_IN: Likewise.
21488 * localedata/locales/sd_IN@devanagari: Likewise.
21489 * localedata/locales/se_NO: Likewise.
21490 * localedata/locales/sgs_LT: Likewise.
21491 * localedata/locales/shs_CA: Likewise.
21492 * localedata/locales/si_LK: Likewise.
21493 * localedata/locales/sid_ET: Likewise.
21494 * localedata/locales/sk_SK: Likewise.
21495 * localedata/locales/sl_SI: Likewise.
21496 * localedata/locales/sm_WS: Likewise.
21497 * localedata/locales/so_DJ: Likewise.
21498 * localedata/locales/so_ET: Likewise.
21499 * localedata/locales/so_KE: Likewise.
21500 * localedata/locales/so_SO: Likewise.
21501 * localedata/locales/sq_AL: Likewise.
21502 * localedata/locales/sq_MK: Likewise.
21503 * localedata/locales/sr_ME: Likewise.
21504 * localedata/locales/sr_RS: Likewise.
21505 * localedata/locales/sr_RS@latin: Likewise.
21506 * localedata/locales/ss_ZA: Likewise.
21507 * localedata/locales/st_ZA: Likewise.
21508 * localedata/locales/sv_FI: Likewise.
21509 * localedata/locales/sv_SE: Likewise.
21510 * localedata/locales/sw_KE: Likewise.
21511 * localedata/locales/sw_TZ: Likewise.
21512 * localedata/locales/szl_PL: Likewise.
21513 * localedata/locales/ta_IN: Likewise.
21514 * localedata/locales/ta_LK: Likewise.
21515 * localedata/locales/tcy_IN: Likewise.
21516 * localedata/locales/te_IN: Likewise.
21517 * localedata/locales/tg_TJ: Likewise.
21518 * localedata/locales/th_TH: Likewise.
21519 * localedata/locales/the_NP: Likewise.
21520 * localedata/locales/ti_ER: Likewise.
21521 * localedata/locales/ti_ET: Likewise.
21522 * localedata/locales/tig_ER: Likewise.
21523 * localedata/locales/tk_TM: Likewise.
21524 * localedata/locales/tl_PH: Likewise.
21525 * localedata/locales/tn_ZA: Likewise.
21526 * localedata/locales/to_TO: Likewise.
21527 * localedata/locales/tpi_PG: Likewise.
21528 * localedata/locales/tr_CY: Likewise.
21529 * localedata/locales/tr_TR: Likewise.
21530 * localedata/locales/ts_ZA: Likewise.
21531 * localedata/locales/tt_RU: Likewise.
21532 * localedata/locales/tt_RU@iqtelif: Likewise.
21533 * localedata/locales/ug_CN: Likewise.
21534 * localedata/locales/uk_UA: Likewise.
21535 * localedata/locales/unm_US: Likewise.
21536 * localedata/locales/ur_IN: Likewise.
21537 * localedata/locales/ur_PK: Likewise.
21538 * localedata/locales/uz_UZ: Likewise.
21539 * localedata/locales/uz_UZ@cyrillic: Likewise.
21540 * localedata/locales/ve_ZA: Likewise.
21541 * localedata/locales/vi_VN: Likewise.
21542 * localedata/locales/wa_BE: Likewise.
21543 * localedata/locales/wae_CH: Likewise.
21544 * localedata/locales/wal_ET: Likewise.
21545 * localedata/locales/wo_SN: Likewise.
21546 * localedata/locales/xh_ZA: Likewise.
21547 * localedata/locales/yi_US: Likewise.
21548 * localedata/locales/yo_NG: Likewise.
21549 * localedata/locales/yue_HK: Likewise.
21550 * localedata/locales/yuw_PG: Likewise.
21551 * localedata/locales/zh_CN: Likewise.
21552 * localedata/locales/zh_HK: Likewise.
21553 * localedata/locales/zh_SG: Likewise.
21554 * localedata/locales/zh_TW: Likewise.
21555 * localedata/locales/zu_ZA: Likewise.
21557 2017-11-13 Florian Weimer <fweimer@redhat.com>
21559 * support/next_to_fault.h, support/next_to_fault.c: New files.
21560 * support/Makefile (libsupport-routines): Add next_to_fault.
21561 * resolv/tst-inet_pton.c (struct next_to_fault)
21562 (next_to_fault_allocate, next_to_fault_free): Remove.
21563 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21565 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21567 * elf/dl-support.c: Include <dl-procruntime.c>.
21568 * include/link.h: Include <link_map.h>.
21569 * sysdeps/generic/dl-procruntime.c: New file.
21570 * sysdeps/generic/link_map.h: Likewise.
21571 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21572 the writable ld.so namespace.
21574 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21576 timezone: pacify GCC -Wstringop-truncation
21577 Problem reported by Martin Sebor in:
21578 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21579 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21581 2017-11-12 Florian Weimer <fweimer@redhat.com>
21583 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21585 (tests): Add tst-xreadlink.
21586 * support/support.h (xstrndup): Declare.
21587 * support/xunistd.h (xunlink, xreadlink): Declare.
21588 * support/temp_file.h (support_create_temp_directory): Declare.
21589 * support/temp_file.c (support_create_temp_directory): New function.
21590 * support/support_chroot.c (support_chroot_create): Use it.
21591 * support/xreadlink.c: New file.
21592 * support/xstrndup.c: Likewise.
21593 * support/xunlink.c: Likewise.
21594 * support/tst-xreadlink.c: Likewise.
21596 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21598 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21600 2017-11-11 Florian Weimer <fweimer@redhat.com>
21604 * resolv/res_comp.c (printable_string, binary_hnok)
21605 (binary_leading_dash): New functions.
21606 (res_hnok): Reimplement using these functions and ns_name_pton.
21607 (res_ownok): Likewise.
21608 (res_mailok): Reimplement using printable_string, ns_name_pton and
21610 (res_dnok): Reimplement using printable_string and ns_name_pton.
21611 * resolv/tst-res_hnok.c (tests): Add additional tests.
21612 (LETTERDIGITS, PRINTABLE): Define.
21613 (do_test): Adjust one_char results.
21615 2017-11-11 Florian Weimer <fweimer@redhat.com>
21618 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21619 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21621 2017-11-11 Florian Weimer <fweimer@redhat.com>
21623 * resolv/tst-ns_name_pton.c: New file.
21624 * resolv/Makefile (tests): Add tst-ns_name_pton.
21625 (tst-ns_name_pton): Link against libresolv.
21627 2017-11-11 Florian Weimer <fweimer@redhat.com>
21629 * resolv/tst-res_hnok.c: New file.
21630 * resolv/Makefile (tests): Add tst-res_hnok.
21631 (tst-res_hnok): Link against libresolv.
21633 2017-11-11 Florian Weimer <fweimer@redhat.com>
21635 * resolv/tst-resolv-network.c: Use test framework instead explicit
21638 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21640 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21641 <jmp_buf-macros.h>.
21642 [!_ISOMAC] (STR_HELPER): New.
21643 [!_ISOMAC] (STR): Likewise.
21644 [!_ISOMAC] (TEST_SIZE): Likewise.
21645 [!_ISOMAC] (TEST_ALIGN): Likewise.
21646 [!_ISOMAC] (TEST_OFFSET): Likewise.
21647 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21648 field offsets of jmp_buf as well as sigjmp_buf.
21649 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21650 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21651 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21652 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21653 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21654 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21655 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21656 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21657 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21658 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21660 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21662 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21667 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21668 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21669 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21670 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21671 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21676 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21677 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21678 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21680 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21683 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21684 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21685 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21686 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21687 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21688 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21689 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21690 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21691 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21692 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21693 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21694 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21695 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21696 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21697 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21698 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21699 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21700 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21701 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21702 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21703 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21704 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21705 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21706 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21707 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21708 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21709 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21710 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21711 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21712 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21713 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21714 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21715 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21716 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21717 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21718 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21719 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21720 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21721 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21722 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21723 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21724 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21725 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21726 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21727 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21728 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21729 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21730 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21731 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21732 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21733 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21734 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21735 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21736 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21737 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21738 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21739 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21740 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21741 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21742 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21743 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21744 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21745 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21746 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21747 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21748 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21749 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21750 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21751 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21752 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21753 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21754 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21755 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21756 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21757 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21758 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21759 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21760 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21761 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21762 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21763 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21764 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21765 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21766 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21767 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21768 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21769 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21770 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21772 * stdlib/tst-strtod.h (F16): New macro.
21778 (IF_FLOAT16): Likewise.
21779 (IF_FLOAT32): Likewise.
21780 (IF_FLOAT64): Likewise.
21781 (IF_FLOAT32X): Likewise.
21782 (IF_FLOAT64X): Likewise.
21783 (IF_FLOAT128X): Likewise.
21784 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21785 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21786 (STRTOD_TEST_FOREACH): Likewise.
21787 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21788 (CHOOSE_f64): Likewise.
21789 (CHOOSE_f32x): Likewise.
21790 (CHOOSE_f64x): Likewise.
21792 2017-11-07 Andreas Schwab <schwab@suse.de>
21794 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21796 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21799 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21801 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21804 2017-11-07 Claude Paroz <claude@2xlibre.net>
21807 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21809 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21811 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21814 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21817 * nptl/allocatestack.c (allocate_stack): Check if
21818 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21819 __PTHREAD_MUTEX_HAVE_PREV is defined.
21820 * nptl/descr.h (pthread): Likewise.
21821 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21823 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21824 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21825 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21826 * sysdeps/nptl/bits/thread-shared-types.h
21827 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21829 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21830 of __WORDSIZE for internal layout.
21831 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21832 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21833 instead of __WORDSIZE whether to use an union for __spins and __list
21835 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21837 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21838 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21840 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21841 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21843 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21844 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21846 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21847 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21849 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
21850 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21852 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
21853 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21855 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
21856 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21858 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
21859 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21861 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
21862 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21864 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
21865 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21867 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
21868 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21870 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
21871 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21873 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
21874 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21876 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
21877 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21879 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
21880 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21883 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
21885 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
21886 checks for expected input type size.
21887 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21888 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21890 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21891 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
21892 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21893 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
21894 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21895 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
21896 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
21897 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
21898 superflous runtime assert check.
21899 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
21901 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
21903 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21905 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
21907 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
21909 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
21911 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
21912 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
21913 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21915 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21917 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21919 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
21921 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21923 * nptl/pthread_attr_setinheritsched.c
21924 (__pthread_attr_setinheritsched): Likewise.
21925 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
21927 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
21929 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
21930 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
21931 __old_pthread_attr_setstack): Likewise.
21932 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21934 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21936 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
21938 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21939 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21941 * nptl/tst-typesizes.c: Remove file.
21943 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
21944 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
21945 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
21946 checks for internal pthread_mutex_t offsets.
21947 * sysdeps/aarch64/nptl/pthread-offsets.h
21948 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
21949 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
21950 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
21951 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
21952 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
21953 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
21954 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
21955 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
21956 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
21957 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
21958 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
21959 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
21960 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
21961 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
21962 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
21963 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
21964 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
21965 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
21967 2017-11-07 Florian Weimer <fweimer@redhat.com>
21969 * bits/mman-linux.h: Move ...
21970 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
21972 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
21975 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21977 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
21978 Redefine STRNLEN as __strnlen_power8.
21980 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21982 * signal/sighold.c (sighold): Optimize implementation.
21984 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
21985 __NR_rt_sigqueueinfo.
21987 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
21989 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
21990 assume __NR_rt_sigtimedwait.
21991 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
21992 and add LIBC_CANCEL_HANDLED for cancellation marking.
21993 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21995 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
21996 (sysdeps_routines): Add memchr_noneon.
21997 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
21998 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
21999 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22000 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22001 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22002 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22003 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22005 * sysdeps/arm/arm-ifunc.h: New file.
22006 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22007 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22008 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22009 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22010 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22011 (__memcpy_neon): Avoid create hidden alias.
22012 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22013 (__memcpy_vfp): Likewise.
22014 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22015 (sysdep_routines): Add memcpy_arm.
22016 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22018 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22021 * Makerules (make-link-multidir): New.
22022 * config.make.in (multidir): New.
22023 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22024 * configure: Regenerated.
22025 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22026 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22027 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22030 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22033 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22034 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22036 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22038 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22041 2017-11-04 Florian Weimer <fweimer@redhat.com>
22043 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22045 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22047 * math/math.h [__HAVE_DISTINCT_FLOAT16
22048 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22049 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22050 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22051 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22052 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22053 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22054 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22055 (__MATH_TG_F32): New macro.
22056 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22057 (__MATH_TG_F64X): Likewise.
22058 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22059 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22061 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22063 * po/de.po: Update translations.
22064 * po/ru.po: Likewise.
22066 2017-11-03 Florian Weimer <fweimer@redhat.com>
22068 * manual/filesys.texi (Hard Links): Document linkat.
22070 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22072 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22073 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22074 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22075 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22076 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22077 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22078 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22079 the same as _Float128.
22080 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22081 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22082 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22085 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22087 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22089 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22091 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22092 (strtof32x): Likewise.
22093 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22094 (strtof64x): Likewise.
22095 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22096 (strtof128x): Likewise.
22097 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22098 (strfromf16): Likewise.
22099 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22100 (strfromf32): Likewise.
22101 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22102 (strfromf64): Likewise.
22103 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22104 (strfromf32x): Likewise.
22105 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22106 (strfromf64x): Likewise.
22107 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22108 (strfromf128x): Likewise.
22109 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22110 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22111 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22112 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22113 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22114 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22116 2017-11-03 Richard Henderson <rth@twiddle.net>
22118 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22120 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22122 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22124 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22126 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22127 DT_TLSDESC_GOT initialization.
22128 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22129 (_dl_tlsdesc_resolve_hold): Likewise.
22130 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22131 (_dl_tlsdesc_resolve_hold): Likewise.
22132 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22133 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22135 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22137 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22139 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22142 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22143 non-lazily for R_ARM_TLS_DESC.
22145 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22148 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22149 R_ARM_TLS_DESC case.
22150 (elf_machine_lazy_rel): Remove the prelink check.
22152 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22154 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22155 DT_TLSDESC_GOT initialization.
22156 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22157 (_dl_tlsdesc_resolve_rela): Likewise.
22158 (_dl_tlsdesc_resolve_hold): Likewise.
22159 (_dl_tlsdesc_undefweak): Remove ldar.
22160 (_dl_tlsdesc_dynamic): Likewise.
22161 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22162 (_dl_tlsdesc_resolve_rela): Likewise.
22163 (_dl_tlsdesc_resolve_hold): Likewise.
22164 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22165 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22166 (_dl_tlsdesc_resolve_rela): Likewise.
22167 (_dl_tlsdesc_resolve_hold): Likewise.
22169 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22171 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22172 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22174 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22176 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22177 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22179 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22181 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22183 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22184 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22185 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22186 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22187 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22188 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22189 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22190 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22191 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22192 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22193 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22195 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22198 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22199 * localedata/locales/tpi_PG: Add standard header.
22201 2017-11-02 Florian Weimer <fweimer@redhat.com>
22203 test-errno-linux: quotactl can fail with EPERM in containers.
22204 * sysdeps/unix/sysv/linux/test-errno-linux.c
22205 (LIST, LIST_FORWARD): New macros.
22206 (check_error_in_list): New function.
22207 (test_wrp_rv): Accept list of permitted error codes.
22208 (test_wrp_rv2): Remove.
22209 (test_wrp): Call test_wrp_rv with list of error codes.
22210 (test_wrp2): Accept list of error codes.
22211 (do_test): Adjust. Allow EPERM for quotactl.
22213 2017-11-02 Florian Weimer <fweimer@redhat.com>
22215 * stdio-common/bug16.c (do_test): Use array_length.
22216 * stdio-common/errlist.c (_sys_nerr): Likewise.
22217 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22218 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22219 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22220 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22221 (do_test): Use array_length.
22222 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22223 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22224 * stdio-common/tst-printf-round.c (do_test): Likewise.
22225 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22226 (CHECK): Use array_length.
22227 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22228 * stdio-common/tstscanf.c (main): Likewise.
22229 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22231 2017-11-02 Florian Weimer <fweimer@redhat.com>
22233 Add array_length and array_end macros.
22234 * include/array_length.h: New file.
22236 2017-11-02 Florian Weimer <fweimer@redhat.com>
22239 * posix/tst-glob-tilde.c (do_noescape): New variable.
22240 (one_test): Process it.
22241 (do_test): Set do_noescape. Add unescaping test case.
22243 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22246 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22247 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22248 with appropriate macros defined and undefined.
22249 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22250 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22251 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22252 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22253 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22254 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22255 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22256 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22257 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22258 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22261 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22262 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22263 that for long double. Do not condition define and undefine of
22264 _Mdouble_complex_ on [__CFLOAT128].
22266 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22268 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22269 of <sysdeps/generic/sysdep.h>.
22270 (ALIGNARG): Removed.
22271 (ASM_SIZE_DIRECTIVE): Likewise.
22274 (ENTRY_CHK): Likewise.
22275 (END_CHK): Likewise.
22276 (syscall_error): Likewise.
22277 (mcount): Likewise.
22278 (PSEUDO_END): Likewise.
22280 (atom_text_section): Likewise.
22281 * sysdeps/x86/sysdep.h: New file.
22282 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22283 of <sysdeps/generic/sysdep.h>.
22284 (ALIGNARG): Removed.
22285 (ASM_SIZE_DIRECTIVE): Likewise.
22288 (ENTRY_CHK): Likewise.
22289 (END_CHK): Likewise.
22290 (syscall_error): Likewise.
22291 (mcount): Likewise.
22292 (PSEUDO_END): Likewise.
22294 (atom_text_section): Likewise.
22296 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22298 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22299 category of LC_CTYPE set to "i18n:2012".
22300 * localedata/locales/i18n_ctype: Regenerate.
22302 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22304 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22305 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22306 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22307 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22309 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22310 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22311 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22312 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22314 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22317 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22319 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22321 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22323 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22324 (CMPLXF32X): Likewise.
22325 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22326 (CMPLXF64X): Likewise.
22327 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22328 (CMPLXF128X): Likewise.
22331 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22332 (__MATH_EVAL_FMT2): Define to add 0.0f.
22334 2017-10-31 Alan Modra <amodra@gmail.com>
22336 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22352 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22353 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22354 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22355 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22356 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22357 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22358 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22359 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22360 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22362 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22363 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22364 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22365 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22366 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22367 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22368 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22369 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22370 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22371 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22372 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22373 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22374 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22375 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22376 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22377 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22378 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22379 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22380 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22381 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22382 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22383 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22384 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22385 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22386 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22387 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22388 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22389 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22390 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22391 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22392 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22393 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22394 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22395 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22396 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22397 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22398 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22399 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22400 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22401 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22402 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22403 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22404 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22405 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22406 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22409 include sysdep.h and math_ldbl_opt.h.
22411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22412 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22438 2017-10-31 Alan Modra <amodra@gmail.com>
22440 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22441 string/strncase_l.c, not string/strncase.c.
22442 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22443 (libc_hidden_def): Redefine.
22445 2017-10-31 Alan Modra <amodra@gmail.com>
22447 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22448 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22449 (__strcasecmp): Don't define.
22451 2017-10-31 Alan Modra <amodra@gmail.com>
22453 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22455 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22456 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22457 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22459 2017-10-31 Alan Modra <amodra@gmail.com>
22461 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22464 2017-10-31 Alan Modra <amodra@gmail.com>
22466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22467 Redefine only when SHARED.
22469 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22471 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22472 Include <bits/math-finite.h> with appropriate macros defined and
22474 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22475 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22476 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22477 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22478 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22480 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22481 [!_Mlong_double_] (_Mlong_double_): Likewise.
22482 [!_Mfloat16_] (_Mfloat16_): Likewise.
22483 [!_Mfloat32_] (_Mfloat32_): Likewise.
22484 [!_Mfloat64_] (_Mfloat64_): Likewise.
22485 [!_Mfloat128_] (_Mfloat128_): Likewise.
22486 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22487 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22488 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22489 (_Mdouble_): Define without indirection through those macros.
22490 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22491 [!_Mfloat128_] (_Mfloat128_): Likewise.
22492 [_Mlong_double_] (_Mlong_double_): Likewise.
22493 (_Mdouble_): Define without indirection through those macros.
22494 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22495 not add -D_Mlong_double_=double.
22496 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22497 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22499 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22501 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22503 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22505 * sysdeps/x86/libc-start.c: Reformat.
22507 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22510 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22511 (1): Renamed to ...
22514 (L(Src2)): Likewise.
22515 (L(1)): Renamed to ...
22518 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22520 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22521 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22522 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22523 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22524 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22525 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22526 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22527 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22528 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22529 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22530 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22531 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22532 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22533 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22534 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22535 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22536 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22537 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22538 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22539 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22540 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22541 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22542 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22543 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22544 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22545 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22546 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22547 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22548 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22549 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22550 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22551 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22552 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22553 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22554 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22555 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22556 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22557 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22558 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22559 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22560 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22561 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22562 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22563 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22564 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22565 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22566 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22567 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22568 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22569 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22570 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22571 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22572 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22573 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22574 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22575 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22576 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22577 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22578 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22579 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22580 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22581 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22582 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22583 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22584 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22585 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22587 2017-10-30 Florian Weimer <fweimer@redhat.com>
22589 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22591 * io/tst-mkdirat.c (do_test): Likewise.
22592 * io/tst-mkfifoat.c (do_test): Likewise.
22593 * io/tst-mknodat.c (do_test): Likewise.
22594 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22595 * locale/programs/locale.c (select_dirs): Likewise.
22596 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22597 * posix/bug-glob2.c (my_readdir): Likewise.
22598 * posix/tst-dir.c (main): Likewise.
22599 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22600 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22602 2017-10-30 Florian Weimer <fweimer@redhat.com>
22604 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22607 2017-10-30 Florian Weimer <fweimer@redhat.com>
22609 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22610 Convert to support/test-driver.c.
22611 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22612 New macro parameters.
22613 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22614 * posix/tst-gnuglob.c: New file.
22615 * posix/tst-gnuglob64.c: Likewise.
22616 * posix/Makefile (tests): Add tst-gnuglob64.
22618 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22621 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22622 and use a better translation for March in “mon”.
22623 * localedata/locales/csb_PL: Use more ASCII to improve the
22624 readability of the source.
22626 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22629 * localedata/locales/km_KH: Use ASCII as much
22630 as possible for better readability of the source and
22631 remove useless comments.
22632 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22633 was commented out and apparently wrong anyway because it was
22634 using Lao characters. If Buddhist era should be used
22635 for km_KH, a native speaker should write the correct formaat
22637 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22638 (According to CLDR, the first weekday for Cambodia is Sunday).
22639 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22640 (These were using Lao characters which must be wrong. If we get
22641 the correct data from a native speaker, we could add it back, until
22642 then it is better not to have name_mr and name_mrs at all than
22645 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22647 * locale/loadlocale.c: Correct size of
22648 _nl_value_type_LC_<category> arrays.
22650 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22652 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22653 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22654 with appropriate macros defined and undefined.
22655 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22656 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22657 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22658 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22659 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22661 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22663 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22666 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22668 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22669 with lowercase letters to make it agree with CLDR.
22671 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22674 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22675 first letters of yesstr and nostr in yesexpr and noexpr,
22676 not for the full words.
22677 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22678 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22679 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22680 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22681 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22682 first letters of yesstr and nostr in yesexpr and noexpr,
22683 until now only English was matched in yesexpr and noexpr.
22684 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22685 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22686 fil but not for tl. As tl and fil are very similar, using fil
22687 is probably better than using English.
22689 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22692 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22693 in yesstr and nostr.
22695 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22697 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22698 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22699 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22701 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22703 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22705 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22707 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22708 (SNANF128X): Likewise.
22710 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22711 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22712 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22713 (HUGE_VAL_F32): Likewise.
22714 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22715 (HUGE_VAL_F64): Likewise.
22716 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22717 (HUGE_VAL_F32X): Likewise.
22718 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22719 (HUGE_VAL_F64X): Likewise.
22720 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22721 (HUGE_VAL_F128X): Likewise.
22723 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22725 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22726 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22727 for the br_FR locale.
22729 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22732 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22734 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22736 * locale/programs/record-status.h: Define globals, and function
22737 prototypes. Move function bodies...
22738 * locale/programs/record-status.c: ... to here. New file.
22739 * iconv/Makefile (iconv_prog-modules): Add record-status.
22740 * locale/Makefile (lib-modules): Likewise.
22741 * iconv/iconv_prog.c: Remove verbose.
22742 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22743 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22744 record a warning about ASCII compatibility.
22745 * locale/programs/ld-monetary.c (monetary_finish): If
22746 warn_int_curr_symbol is true then record a warning about the symbol
22747 not being in our ISO 4217 list.
22748 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22749 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22750 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22751 (OPT_NO_WARN): Define.
22752 (OPT_WARN): Define.
22753 (options): Add entry for --no-warnings, and --warnings.
22754 (set_warnings): New function to enable/disable warnings.
22755 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22756 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22757 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22758 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22759 Pass flags to generate_locale.
22760 (generate_locale): Accept new flag argument and pass it to localedef
22762 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22763 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22765 * localedata/Makefile (test-input-data): Use full file name.
22766 * localedata/da_DK.in: Rename to...
22767 * localedata/da_DK.ISO-8859-1.in: ...this.
22768 * localedata/de_DE.in: Rename to...
22769 * localedata/de_DE.ISO-8859-1.in: ...this.
22770 * localedata/en_US.in: Rename to...
22771 * localedata/en_US.ISO-8859-1.in: ...this.
22772 * localedata/fr_FR.in: Rename to...
22773 * localedata/fr_FR.UTF-8.in: ... this.
22774 * localedata/hr_HR.in: Rename to...
22775 * localedata/hr_HR.ISO-8859-2.in: ...this.
22776 * localedata/hu_HU.in: Rename to...
22777 * localedata/hu_HU.UTF-8.in: ...this.
22778 * localedata/si_LK.in: Rename to...
22779 * localedata/si_LK.UTF-8.in: ...this.
22780 * localedata/sv_SE.in: Rename to...
22781 * localedata/sv_SE.ISO-8859-1.in: ...this.
22782 * localedata/tr_TR.in: Rename to...
22783 * localedata/tr_TR.UTF-8.in: ...this.
22784 * localedata/uk_UA.in: Rename to...
22785 * localedata/uk_UA.UTF-8.in: ...this.
22786 * localedata/sort-test.sh: Test file is locale name with the
22789 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22790 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22792 * localedata/locales/i18n_ctype: Regenerate.
22793 * localedata/locales/tr_TR: Likewise.
22794 * localedata/locales/translit_circle: Likewise.
22795 * localedata/locales/translit_cjk_compat: Likewise.
22796 * localedata/locales/translit_combining: Likewise.
22797 * localedata/locales/translit_compat: Likewise.
22798 * localedata/locales/translit_font: Likewise.
22799 * localedata/locales/translit_fraction: Likewise.
22801 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22803 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22804 lxvd2x/stxvd2x with lvx/stvx.
22805 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22807 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22809 * include/alloc_buffer.h: Replace "if if " with "if " in
22811 * sysdeps/mips/memcpy.S: Likkewise.
22812 * sysdeps/mips/memset.S: Likewise.
22813 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22815 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22817 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22820 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22823 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22824 yesexpr and noexpr.
22825 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22826 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22827 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22828 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22829 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22830 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22831 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22833 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22835 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22836 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22837 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22838 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22839 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22840 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22841 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22842 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22843 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22844 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22845 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22846 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22848 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22850 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
22851 as possible for better readability of the source.
22852 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
22853 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
22854 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
22855 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
22856 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
22857 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
22858 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
22859 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
22860 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22861 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
22862 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
22863 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
22864 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
22865 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
22866 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
22867 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
22868 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
22869 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
22870 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
22871 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
22872 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
22873 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
22874 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
22875 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
22876 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
22877 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
22878 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
22879 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
22880 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
22881 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
22882 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
22883 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22884 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
22885 * localedata/locales/en_US (LC_MESSAGES): Likewise.
22886 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
22887 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
22888 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
22889 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
22890 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
22891 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
22892 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
22893 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
22894 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
22895 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
22896 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
22897 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
22898 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
22899 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
22900 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
22901 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
22902 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
22903 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
22904 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
22905 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22906 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22907 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
22908 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
22909 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22910 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
22911 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
22912 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
22913 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
22914 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
22915 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
22916 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
22917 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
22918 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
22919 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
22920 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
22921 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
22922 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
22923 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
22924 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
22925 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
22926 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22927 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
22928 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
22929 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
22930 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
22931 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
22932 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
22933 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
22934 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
22935 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22936 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
22937 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
22938 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
22939 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22940 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
22941 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
22942 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
22943 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
22944 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22945 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
22946 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
22947 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22948 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
22949 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22950 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
22951 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
22952 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
22953 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
22954 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
22955 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
22956 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
22957 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
22958 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
22959 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
22960 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
22961 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
22962 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
22963 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
22964 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22965 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
22966 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
22967 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
22968 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
22969 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
22970 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
22971 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
22972 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
22973 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
22974 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
22975 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
22976 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
22977 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
22978 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
22979 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
22980 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
22981 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
22982 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
22983 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
22984 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
22985 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
22986 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
22987 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
22988 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
22989 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
22990 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
22991 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
22992 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
22993 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
22994 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
22995 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
22996 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
22997 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22998 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
22999 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23000 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23001 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23002 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23003 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23004 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23005 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23006 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23007 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23008 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23009 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23010 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23011 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23012 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23013 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23014 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23015 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23016 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23017 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23018 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23019 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23020 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23021 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23022 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23023 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23024 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23025 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23027 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23029 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23030 (Use first letters of yesstr and nostr correctly instead of using
23033 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23035 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23036 (Use first letters of yesstr and nostr correctly).
23038 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23040 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23041 also check for the first characters of yesstr and nostr.
23042 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23043 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23045 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23047 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23048 also check for Chinese characters.
23050 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23052 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23053 match also for the contents of yesstr and nostr. As the first letter
23054 of yesstr and nostr is equal, checking only for the first letter
23057 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23059 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23060 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23062 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23064 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23065 of main contributor.
23067 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23069 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23070 instead of using English.
23072 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23074 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23075 by including the first letters of nostr and yesexpr in the regexp.
23076 Also make it more readable by using ASCII where possible.
23078 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23080 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23081 the first letter of nostr in the regexp. It agrees with CLDR now.
23082 Also make it more readable by using ASCII where possible.
23084 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23086 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23087 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23088 these strings contain a U+17D6 (which somewhat looks like a colon)
23089 instead of a real colon to separate the full words for “yes”
23090 and “no” from the single letter responses.
23092 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23094 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23095 it agree with CLDR (include the first letter of yesstr).
23096 Also make it more readable by using ASCII where possible.
23098 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23100 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23101 and improve yesexpr and noexpr. The yesstr and nostr apparently
23102 came from CLDR. And CLDR has a bug there: these strings contain
23103 a U+0903 (which looks like a colon) instead of a real colon
23104 to separate the full words for “yes” and “no” from the single
23107 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23109 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23110 letters of the full yesstr and nostr in yesexpr and noexpr.
23112 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23114 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23115 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23116 * localedata/locales/an_ES: Make source more readable by using ASCII
23119 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23122 * localedata/locales/yuw_PG: New file.
23123 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23124 * locale/iso-639.def: Add Yau (Uruwa).
23126 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23128 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23130 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23132 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23133 (__libc_realloc): Likewise.
23134 (_mid_memalign): Likewise.
23135 (__libc_calloc): Likewise.
23137 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23139 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23140 by adding the generic +1 and -0 as in all other locales.
23141 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23142 day names and make it more readable by using ASCII where possible.
23144 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23146 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23147 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23149 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23151 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23152 WNOHANG in waitpid call.
23154 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23156 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23157 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23159 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23160 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23161 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23162 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23163 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23164 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23165 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23166 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23169 2017-10-23 Michael Collison <michael.collison@arm.com>
23171 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23172 with __builtin_sqrt.
23173 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23174 with __builtin_sqrtf.
23175 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23176 with __builtin_ceil.
23177 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23178 with __builtin_ceilf.
23179 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23180 with __builtin_floor.
23181 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23182 with __builtin_floorf.
23183 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23184 with __builtin_fma.
23185 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23186 with __builtin_fmaf.
23187 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23188 with __builtin_fmax.
23189 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23190 with __builtin_fmaxf.
23191 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23192 with __builtin_fmin.
23193 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23194 with __builtin_fminf.
23195 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23196 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23197 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23198 with builtin_rint and conversion to int.
23199 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23200 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23201 with builtin_llround.
23202 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23203 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23204 with builtin_rint and conversion to long int.
23205 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23206 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23207 with builtin_lround.
23208 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23209 with builtin_lroundf.
23210 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23211 statements with __builtin_nearbyint.
23212 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23213 statements with __builtin_nearbyintf.
23214 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23215 with __builtin_rint.
23216 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23217 with __builtin_rintf.
23218 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23219 with __builtin_round.
23220 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23221 with __builtin_roundf.
23222 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23223 with __builtin_trunc.
23224 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23225 with __builtin_truncf.
23226 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23227 and s_l[l]round[f].c too.
23229 2017-10-23 Alan Modra <amodra@gmail.com>
23231 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23232 Adjust stack after restoring regs. Add missing LR cfi_restore.
23234 2017-10-23 Alan Modra <amodra@gmail.com>
23236 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23237 Move LR save and frame setup/teardown and LR restore to
23238 immediately around memset call. Provide cfi.
23240 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23242 * sysdeps/i386/fpu/e_powf.S: Removed.
23243 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23244 * sysdeps/i386/fpu/w_powf.c: Likewise.
23245 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23246 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23247 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23249 (CFLAGS-e_powf-sse2.c): New.
23250 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23251 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23253 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23255 * sysdeps/i386/fpu/e_log2f.S: Removed.
23256 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23257 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23258 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23259 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23260 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23262 (CFLAGS-e_log2f-sse2.c): New.
23263 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23264 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23266 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23268 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23270 (CFLAGS-e_powf-fma.c): New.
23271 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23272 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23274 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23276 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23278 (CFLAGS-e_log2f-fma.c): New.
23279 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23280 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23282 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23284 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23286 (CFLAGS-e_logf-fma.c): New.
23287 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23288 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23290 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23292 * sysdeps/i386/fpu/e_logf.S: Removed.
23293 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23294 * sysdeps/i386/fpu/w_logf.c: Likewise.
23295 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23296 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23297 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23298 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23300 (CFLAGS-e_logf-sse2.c): New.
23301 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23302 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23304 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23306 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23307 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23308 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23309 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23310 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23312 (CFLAGS-e_exp2f-sse2.c): New.
23313 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23314 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23316 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23318 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23320 (CFLAGS-e_exp2f-fma.c): New.
23321 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23322 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23324 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23326 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23327 * sysdeps/i386/fpu/e_expf.S: Likewise.
23328 * sysdeps/i386/fpu/math_errf.c: Likewise.
23329 * sysdeps/i386/fpu/w_expf.c: Likewise.
23330 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23331 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23332 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23333 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23334 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23335 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23336 Remove e_expf-ia32.
23337 (CFLAGS-e_expf-sse2.c): New.
23338 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23339 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23341 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23343 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23344 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23345 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23346 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23348 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23350 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23351 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23353 (__redirect_expf): This.
23354 (SYMBOL_NAME): Changed to expf.
23355 (__ieee754_expf): Renamed to ...
23357 (__GI___expf): This.
23358 (__ieee754_expf): Add strong_alias.
23359 (__expf_finite): Likewise.
23361 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23363 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23366 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23369 2017-10-21 Florian Weimer <fweimer@redhat.com>
23371 * posix/Makefile (tests): Add tst-glob-tilde.
23372 (tests-special): Add tst-glob-tilde-mem.out
23373 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23374 (tst-glob-tilde-mem.out): Add mtrace check.
23375 * posix/tst-glob-tilde.c: New file.
23377 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23379 * bits/floatn-common.h: New file.
23380 * math/Makefile (headers): Add bits/floatn-common.h.
23381 * bits/floatn.h: Include <bits/floatn-common.h>.
23382 * sysdeps/ia64/bits/floatn.h: Likewise.
23383 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23384 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23385 * sysdeps/powerpc/bits/floatn.h: Likewise.
23386 * sysdeps/x86/bits/floatn.h: Likewise.
23388 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23390 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23391 indicates whether compiler emits an warning for alias for
23392 functions with incompatible types.
23395 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23396 the auxiliary process is terminated by a signal before calling _exit
23399 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23402 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23404 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23405 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23406 and bit_arch_XSAVEC_Usable if needed.
23407 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23408 and bit_arch_Use_dl_runtime_resolve_opt.
23409 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23411 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23412 (bit_arch_Prefer_No_AVX512): Updated.
23413 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23414 (bit_arch_XSAVEC_Usable): New.
23415 (STATE_SAVE_OFFSET): Likewise.
23416 (STATE_SAVE_MASK): Likewise.
23417 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23418 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23419 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23420 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23421 (index_arch_XSAVEC_Usable): New.
23422 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23423 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23424 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23426 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23427 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23428 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23429 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23430 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23431 _dl_runtime_resolve_xsavec.
23432 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23434 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23435 instead of VEC_SIZE.
23436 (REGISTER_SAVE_BND0): Removed.
23437 (REGISTER_SAVE_BND1): Likewise.
23438 (REGISTER_SAVE_BND3): Likewise.
23439 (REGISTER_SAVE_RAX): Always defined to 0.
23441 (_dl_runtime_resolve_avx): Likewise.
23442 (_dl_runtime_resolve_avx_slow): Likewise.
23443 (_dl_runtime_resolve_avx_opt): Likewise.
23444 (_dl_runtime_resolve_avx512): Likewise.
23445 (_dl_runtime_resolve_avx512_opt): Likewise.
23446 (_dl_runtime_resolve_sse): Likewise.
23447 (_dl_runtime_resolve_sse_vex): Likewise.
23449 (_dl_runtime_resolve_fxsave): Likewise.
23450 (USE_XSAVE): Likewise.
23451 (_dl_runtime_resolve_xsave): Likewise.
23452 (USE_XSAVEC): Likewise.
23453 (_dl_runtime_resolve_xsavec): Likewise.
23454 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23456 (_dl_runtime_resolve_avx512_opt): Likewise.
23457 (_dl_runtime_resolve_avx): Likewise.
23458 (_dl_runtime_resolve_avx_opt): Likewise.
23459 (_dl_runtime_resolve_sse): Likewise.
23460 (_dl_runtime_resolve_sse_vex): Likewise.
23461 (_dl_runtime_resolve_fxsave): New.
23462 (_dl_runtime_resolve_xsave): Likewise.
23463 (_dl_runtime_resolve_xsavec): Likewise.
23465 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23469 * posix/glob.c (__glob): Fix one-byte overflow.
23471 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23473 * malloc/malloc.c (sysdep-cancel.h): Add include.
23475 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23477 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23479 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23481 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23482 (tests): Remove $(objpfx)ga_test depdendency.
23483 * resolv/ga_test.c: Remove file.
23485 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23488 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23489 * localedata/locales/kab_DZ: New file.
23491 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23493 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23494 _dl_relocate_static_pie instead of _dl_start to compute load
23495 address in static PIE.
23497 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23499 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23501 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23504 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23505 * localedata/locales/shn_MM: New file.
23507 2017-10-20 Florian Weimer <fweimer@redhat.com>
23510 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23511 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23512 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23513 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23514 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23515 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23517 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23519 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23521 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23523 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23526 * sysdeps/mips/bits/long-double.h: Move to ....
23527 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23529 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23531 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23533 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23534 H.J. Lu <hongjiu.lu@intel.com>
23537 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23538 GLRO(dl_platform) to NULL.
23539 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23540 (modules-names): Add tst-platformmod-1 and
23541 x86_64/tst-platformmod-2.
23542 (CFLAGS-tst-platform-1.c): New.
23543 (CFLAGS-tst-platformmod-1.c): Likewise.
23544 (CFLAGS-tst-platformmod-2.c): Likewise.
23545 (LDFLAGS-tst-platformmod-2.so): Likewise.
23546 ($(objpfx)tst-platform-1): Likewise.
23547 ($(objpfx)tst-platform-1.out): Likewise.
23548 (tst-platform-1-ENV): Likewise.
23549 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23550 * sysdeps/x86_64/tst-platform-1.c: New file.
23551 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23552 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23554 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23557 * locale/iso-639.def: Add Karbi.
23558 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23559 * localedata/locales/mjw_IN: New file.
23561 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23563 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23564 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23565 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23566 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23567 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23568 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23569 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23571 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23572 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23573 * manual/math.texi (Mathematics): Document additional architecture
23574 support for _Float128.
23575 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23576 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23577 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23578 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23579 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23580 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23581 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23582 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23583 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23584 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23585 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23586 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23587 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23588 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23589 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23591 2017-10-18 Renlin Li <renlin.li@arm.com>
23593 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23594 _DYNAMIC symbol to calculate load address.
23596 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23598 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23599 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23601 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23602 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23604 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23607 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23608 and improve readability by using more ASCII.
23609 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23610 and improve readability by using more ASCII.
23612 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23614 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23615 not all targets support atomics on bool.
23617 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23619 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23620 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23622 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23623 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23624 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23625 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23626 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23627 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23629 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23631 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23634 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23637 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23638 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23639 (do_check_remalloced_chunk): Fix build bug.
23640 (do_check_malloc_state): Add assert that checks arena->top.
23641 (malloc_consolidate): Remove initialization.
23642 (int_mallinfo): Remove call to malloc_consolidate.
23643 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23645 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23647 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23648 (have_fastchunks): Remove.
23649 (clear_fastchunks): Remove.
23650 (set_fastchunks): Remove.
23651 (malloc_state): Add have_fastchunks.
23652 (malloc_init_state): Use have_fastchunks.
23653 (do_check_malloc_state): Remove incorrect invariant checks.
23654 (_int_malloc): Use have_fastchunks.
23655 (_int_free): Likewise.
23656 (malloc_consolidate): Likewise.
23658 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23660 * malloc/malloc.c (tcache_put): Inline.
23661 (tcache_get): Inline.
23663 2017-10-17 Jordi Mallach <jordi@gnu.org>
23665 Aurelien Jarno <aurelien@aurel32.net>
23667 * localedata/locales/ca_ES@valencia: New file.
23668 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23670 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23673 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23676 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23678 * scripts/build-many-glibcs.py (Context.add_all_configs):
23679 Add arm-linux-gnueabihf multiarch extra_glibcs.
23681 * sysdeps/generic/ifunc-init.h: New file.
23682 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23684 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23687 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23688 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23689 * stdlib/tst-strfmon_l.c: adapt test case.
23691 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23693 * sysdeps/generic/float128-abi.h: New file.
23694 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23695 non-__prefixed symbols to ....
23696 * math/Versions: ... here. Include <float128-abi.h>.
23697 * stdlib/Versions ... and here. Include <float128-abi.h>
23699 2017-10-16 Florian Weimer <fweimer@redhat.com>
23701 * version.h (VERSION): Switch to ".9000" as the development
23704 2017-10-16 Florian Weimer <fweimer@redhat.com>
23707 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23708 compat_symbol_reference to access non-default version.
23710 2017-10-16 Florian Weimer <fweimer@redhat.com>
23712 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23714 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23716 * include/shlib-compat.h (compat_symbol_reference): Update
23719 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23721 * math/Makefile (test-types): Add
23722 $(type-float128-$(float128-alias-fcts)).
23723 * math/test-float128.h (TYPE_STR): Define conditional on
23724 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23725 (ULP_IDX): Likewise.
23726 (ULP_I_IDX): Likewise.
23728 * stdlib/strtold.c: Include <bits/floatn.h>
23729 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23730 and later undefine as macro. Define as weak alias if
23732 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23733 and later undefine as macro. Define as weak alias if
23735 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23736 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23737 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23738 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23739 Define and later undefine as macro. Define as weak alias if
23741 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23743 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23744 Define and later undefine as macro. Define as weak alias if
23746 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23747 Define and later undefine as macro. Define as weak alias if
23750 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23752 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23753 record_verbose messages.
23755 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23758 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23759 to silence -O3 -Wall warning with GCC 7.
23761 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23763 * Makeconfig (+link-static-before-libc): Use the first of
23764 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23765 * gmon/Makefile (tests): Add tst-gmon-static.
23766 (tests-static): Likewise.
23767 (CFLAGS-tst-gmon-static.c): New.
23768 (CRT-tst-gmon-static): Likewise.
23769 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23770 (tst-gmon-static-ENV): Likewise.
23771 (tests-special): Likewise.
23772 ($(objpfx)tst-gmon-static.out): Likewise.
23773 (clean-tst-gmon-static-data): Likewise.
23774 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23775 * gmon/tst-gmon-static-gprof.sh: New file.
23776 * gmon/tst-gmon-static.c: Likewise.
23778 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23781 * locale/programs/linereader.c (get_string): Don't warn on
23782 non-symbolic character.
23785 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23789 * locale/programs/record-status.h: New file
23790 * locale/programs/locale.c: Add comment.
23791 * locale/programs/charmap-dir.c: Don't include error.h.
23792 (charmap_opendir): Use record_error.
23793 * locale/programs/charmap.c: Don't include error.h.
23794 (charmap_read): Use record_error, and record_warning.
23795 (parse_charmap): Likewise.
23796 * locale/programs/ld-address.c: Don't include error.h.
23797 (address_finish): Use record_error, and record_warning.
23798 * locale/programs/ld-collate.c: Don't include error.h.
23799 (collate_finish): Use record_error, and record_error_at_line.
23800 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23801 (ctype_class_new): Likewise.
23802 (ctype_map_new): Likewise.
23803 (set_one_default): Likewise.
23804 (set_class_defaults): Likewise.
23805 (translit_flatten): Likewise.
23806 (allocate_arrays): Use record_error, and record_verbose.
23807 * locale/programs/ld-identification.c: Don't include error.h.
23808 (indentation_finish): Use record_error and record_warning.
23809 * locale/programs/ld-measurement.c: Don't include error.h.
23810 (measurement_finish): Use record_error.
23811 * locale/programs/ld-messages.c
23812 (message_finish): Likewise.
23813 * locale/programs/ld-monetary.c
23814 (monetary_finish): Likewise.
23815 * locale/programs/ld-name.c (name_finish): Use record_error
23816 and record_warning.
23817 * locale/programs/ld-numeric.c
23818 (numeric_finish): Use record_error.
23819 * locale/programs/ld-paper.c: Don't include error.h.
23820 (paper_finish): Use record_error.
23821 * locale/programs/ld-telephone.c: Don't include error.h.
23822 (telephone_finish): Use record_error.
23823 * locale/programs/ld-time.c (time_finish): Likewise.
23824 * locale/programs/linereader.h (lr_error): Make inline func.
23825 * locale/programs/localedef.c: Define recorded_warning_count,
23826 and recorded_error_count.
23827 (main): Use record_error. Use recorded_error_count and
23828 recorded_warning_count to issue correct error returns.
23829 (add_to_readlist): Use record_error.
23830 (find_locale): Likewise.
23831 (load_locale): Likewise.
23832 * locale/programs/localedef.h: Remove be_quiet
23833 and WITH_CUR_LOCALE.
23834 * locale/programs/locarchive.c (compare_from_file): Use
23836 * locale/programs/locfile.c (write_locale_data): Use
23838 * locale/programs/repertoire.c: Dont include error.h.
23839 (repertoire_complain): Use record_error.
23840 * localedata/tst-fmon.sh: Expect failures from localedef.
23841 * localedata/tst-locale.sh: Likewise.
23842 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23844 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23845 (REPORTS): Likewise.
23847 (i18n): Rename to...
23848 (i18n_ctype): ...this.
23849 (i18n-report): Rename to...
23850 (i18n_ctype-report): ...this.
23851 * localedata/locales/i18n_ctype: Regenerate.
23852 * localedata/locales/i18n: copy i18n_ctype.
23854 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23856 * stdlib/strfroml.c: Include <bits/floatn.h>.
23857 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
23858 Define before include of <stdlib.h> and undefine afterwards, then
23859 define as weak alias.
23861 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
23862 Undefine and restore default definition. Use
23863 libm_alias_ldouble_other.
23865 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
23868 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
23871 2017-10-13 James Clarke <jrtc27@jrtc27.com>
23873 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23874 Assign sym_map to be map for local symbols, as TLS relocations
23875 use sym_map to determine whether the symbol is defined and to
23876 extract the TLS information.
23877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23878 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23880 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23883 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
23884 (math_force_eval): Add powerpc version.
23887 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
23889 (do_test): Likewise.
23890 * stdio-common/tst-printf.sh: Likewise.
23891 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
23892 ifdef clause in order to set the carry bit right. Replace r0 by
23893 0 without changing the behavior.
23895 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23897 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
23898 <libm-alias-ldouble.h>.
23899 (fabsl): Define using libm_alias_ldouble.
23900 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
23901 <libm-alias-ldouble.h>.
23902 (fabsl): Define using libm_alias_ldouble.
23904 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
23905 Remove conditional code.
23907 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
23908 Rename to __clog10_internal_l.
23909 (__clog10_internal_l): Define aliases using
23910 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
23913 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23915 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
23916 * benchtests/sincosf-inputs: New file.
23917 * benchtests/cosf-inputs: New file.
23918 * benchtests/sinf-inputs: New file.
23920 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23922 * posix/tst-spawn.c (do_test): Wait for both children.
23924 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
23927 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
23928 tests-pie): Add tst-gmon-pie.
23929 (CFLAGS-tst-gmon-pie.c): New.
23930 (CRT-tst-gmon-pie): Likewise.
23931 (tst-gmon-pie-ENV): Likewise.
23932 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
23933 ($(objpfx)tst-gmon-pie.out): Likewise.
23934 (clean-tst-gmon-pie-data): Likewise.
23935 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
23936 * gmon/gmon.c [PIC]: Include <link.h>.
23937 [PIC] (callback): New function.
23938 (write_hist): Add an argument for load address. Subtract load
23940 (write_call_graph): Likewise.
23941 (write_gmon): Call __dl_iterate_phdr to get load address, pass
23942 it to write_hist and write_call_graph.
23943 * gmon/tst-gmon-pie.c: New file.
23945 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23947 * math/Makefile (test-types-basic): New variable.
23948 (test-types): Likewise.
23949 (libm-test-support): Use $(test-types) instead of $(types).
23950 (libm-tests-base-normal): Likewise.
23951 (libm-tests-base-finite): Likewise.
23952 (libm-tests-base-inline): Likewise.
23953 (generated): Likewise.
23954 ($(objpfx)libm-test-support-$(t).c): Likewise.
23955 (libm-tests-for-type iterator): Likewise.
23956 (libm-test-support iterator): Likewise.
23957 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
23958 (ulp_idx): Use ULP_IDX.
23959 * math/test-ldouble.h: Include <float.h>.
23960 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
23961 (ULP_IDX): New macro.
23962 (ULP_I_IDX): Likewise.
23963 * math/test-double.h (ULP_IDX): Likewise.
23964 (ULP_I_IDX): Likewise.
23965 * math/test-float.h (ULP_IDX): Likewise.
23966 (ULP_I_IDX): Likewise.
23967 * math/test-float128.h (ULP_IDX): Likewise.
23968 (ULP_I_IDX): Likewise.
23970 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23972 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
23973 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23974 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23975 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
23976 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23977 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
23978 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
23979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23980 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23981 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23982 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
23983 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23984 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23985 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23986 (SINGLE_THREAD_BY_GLOBAL): Define.
23987 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23989 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23991 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23993 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
23995 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
23996 (SINGLE_THREAD_BY_GLOBAL): Likewise.
23997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24000 2017-10-11 Andreas Schwab <schwab@suse.de>
24002 * nis/Makefile (aux): Remove.
24003 * nscd/Makefile (aux): Add nscd_hash.
24004 (nscd-modules): Likewise.
24005 ($(objpfx)nscd): Don't depend on libnsl.
24006 * nscd/nscd_hash.c: New file.
24007 * nscd/nscd_hash.h: Likewise.
24008 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24009 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24010 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24011 instead of <nis/rpcsvc/nis.h>.
24012 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24014 2017-10-11 Florian Weimer <fweimer@redhat.com>
24017 Avoid large NSS buffers with many addresses, aliases.
24018 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24019 using dynarrays and struct alloc_buffer.
24020 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24021 (tst-nss-files-hosts-multi): Link with -ldl.
24022 * nss/tst-nss-files-hosts-multi.c: New file.
24024 2017-10-11 Florian Weimer <fweimer@redhat.com>
24027 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24028 scratch_buffer. Eliminate gotos.
24030 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24032 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24033 libm_alias_ldouble_other.
24034 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24035 undefine and redefine.
24036 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24037 (exp10l): Do not define here.
24038 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24039 (weak_alias): Undefine and redefine.
24040 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24041 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24042 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24043 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24045 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24046 [!__fma] (fma): Define using libm_alias_double.
24047 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24048 [!__fmaf] (fmaf): Define using libm_alias_float.
24049 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24050 (fmal): Define using libm_alias_ldouble.
24052 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24054 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24056 (libm_alias_double_other): Likewise.
24057 (libm_alias_double_r): Use libm_alias_double_other_r.
24058 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24060 (libm_alias_float_other): Likewise.
24061 (libm_alias_float_r): Use libm_alias_float_other_r.
24062 * sysdeps/generic/libm-alias-float128.h
24063 (libm_alias_float128_other_r): New macro.
24064 (libm_alias_float128_other): Likewise.
24065 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24066 * sysdeps/generic/libm-alias-ldouble.h
24067 (libm_alias_ldouble_other_r): New macro.
24068 (libm_alias_ldouble_other): Likewise.
24069 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24070 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24071 (libm_alias_double_other_r): New macro.
24072 (libm_alias_double_other): Likewise.
24073 (libm_alias_double_r): Use libm_alias_double_other_r.
24074 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24075 (libm_alias_ldouble_other_r): New macro.
24076 (libm_alias_ldouble_other): Likewise.
24077 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24078 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24079 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24080 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24081 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24082 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24083 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24084 * math/w_exp2f.c: Use libm_alias_float_other.
24085 * math/w_expf.c: Likewise.
24086 * math/w_log2f.c: Likewise.
24087 * math/w_logf.c: Likewise.
24088 * math/w_powf.c: Likewise.
24089 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24090 [!__exp2f]: Use libm_alias_float_other.
24091 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24092 [!__expf]: Use libm_alias_float_other.
24093 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24094 [!__log2f]: Use libm_alias_float_other.
24095 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24096 [!__logf]: Use libm_alias_float_other.
24097 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24098 [!__powf]: Use libm_alias_float_other.
24100 2017-10-10 Florian Weimer <fweimer@redhat.com>
24102 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24104 (_nss_files_gethostbyname3_r): Call it.
24106 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24108 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24109 error. Remove default definition of declare_mgen_alias.
24110 [!declare_mgen_alias_r]: Likewise.
24111 * sysdeps/generic/math-type-macros-double.h
24112 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24113 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24114 (declare_mgen_alias_r): Likewise.
24115 * sysdeps/generic/math-type-macros-float128.h
24116 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24117 * sysdeps/generic/math-type-macros-ldouble.h
24118 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24119 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24121 (declare_mgen_alias_r_s): Likewise.
24122 (declare_mgen_alias_r): Likewise.
24123 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24124 (lgamma_r): Define using libm_alias_double_r.
24125 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24126 (lgammaf_r): Define using libm_alias_float_r.
24127 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24128 (lgammal_r): Define using libm_alias_ldouble_r.
24129 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24130 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24132 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24134 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24135 extern declaration.
24137 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24139 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24141 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24144 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24145 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24146 * math/Makefile (test-math-cxx11): New test.
24147 * math/test-math-cxx11.cc: New file.
24149 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24151 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24153 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24154 call to allocate the slave pty file descriptor.
24156 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24158 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24159 [!__fma] (fma): Define using libm_alias_double.
24160 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24161 [!__fma] (fma): Define using libm_alias_double.
24163 * sysdeps/ieee754/float128/float128_private.h: Include
24164 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24165 (libm_alias_ldouble_r): Undefine and redefine.
24166 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24167 <libm-alias-ldouble.h>.
24168 (asinhl): Define using libm_alias_ldouble.
24169 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24170 <libm-alias-ldouble.h>.
24171 (atanl): Define using libm_alias_ldouble.
24172 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24173 <libm-alias-ldouble.h>.
24174 (cbrtl): Define using libm_alias_ldouble.
24175 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24176 <libm-alias-ldouble.h>.
24177 (ceill): Define using libm_alias_ldouble.
24178 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24179 <libm-alias-ldouble.h>.
24180 (copysignl): Define using libm_alias_ldouble.
24181 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24182 <libm-alias-ldouble.h>.
24183 (cosl): Define using libm_alias_ldouble.
24184 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24185 <libm-alias-ldouble.h>.
24186 (erfl): Define using libm_alias_ldouble.
24188 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24189 <libm-alias-ldouble.h>.
24190 (expm1l): Define using libm_alias_ldouble.
24191 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24192 <libm-alias-ldouble.h>.
24193 (fabsl): Define using libm_alias_ldouble.
24194 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24195 <libm-alias-ldouble.h>.
24196 (floorl): Define using libm_alias_ldouble.
24197 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24198 <libm-alias-ldouble.h>.
24199 (fmal): Define using libm_alias_ldouble.
24200 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24201 <libm-alias-ldouble.h>.
24202 (frexpl): Define using libm_alias_ldouble.
24203 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24204 libm_alias_ldouble.
24205 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24206 <libm-alias-ldouble.h>.
24207 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24208 libm_alias_ldouble.
24209 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24210 <libm-alias-ldouble.h>.
24211 (getpayloadl): Define using libm_alias_ldouble.
24212 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24213 <libm-alias-ldouble.h>.
24214 (llrintl): Define using libm_alias_ldouble.
24215 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24216 <libm-alias-ldouble.h>.
24217 (llroundl): Define using libm_alias_ldouble.
24218 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24219 <libm-alias-ldouble.h>.
24220 (logbl): Define using libm_alias_ldouble.
24221 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24222 <libm-alias-ldouble.h>.
24223 (lrintl): Define using libm_alias_ldouble.
24224 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24225 <libm-alias-ldouble.h>.
24226 (lroundl): Define using libm_alias_ldouble.
24227 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24228 <libm-alias-ldouble.h>.
24229 (modfl): Define using libm_alias_ldouble.
24230 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24231 <libm-alias-ldouble.h>.
24232 (nearbyintl): Define using libm_alias_ldouble.
24233 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24234 <libm-alias-ldouble.h>.
24235 (nextafterl): Define using libm_alias_ldouble.
24236 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24237 <libm-alias-ldouble.h>.
24238 (nextupl): Define using libm_alias_ldouble.
24239 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24240 <libm-alias-ldouble.h>.
24241 (remquol): Define using libm_alias_ldouble.
24242 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24243 <libm-alias-ldouble.h>.
24244 (rintl): Define using libm_alias_ldouble.
24245 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24246 <libm-alias-ldouble.h>.
24247 (roundevenl): Define using libm_alias_ldouble.
24248 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24249 <libm-alias-ldouble.h>.
24250 (roundl): Define using libm_alias_ldouble.
24251 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24252 using libm_alias_ldouble.
24253 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24254 <libm-alias-ldouble.h>.
24255 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24256 Define using libm_alias_ldouble.
24257 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24258 <libm-alias-ldouble.h>.
24259 (sincosl): Define using libm_alias_ldouble.
24260 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24261 <libm-alias-ldouble.h>.
24262 (sinl): Define using libm_alias_ldouble.
24263 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24264 <libm-alias-ldouble.h>.
24265 (tanhl): Define using libm_alias_ldouble.
24266 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24267 <libm-alias-ldouble.h>.
24268 (tanl): Define using libm_alias_ldouble.
24269 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24270 <libm-alias-ldouble.h>.
24271 (totalorderl): Define using libm_alias_ldouble.
24272 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24273 <libm-alias-ldouble.h>.
24274 (totalordermagl): Define using libm_alias_ldouble.
24275 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24276 <libm-alias-ldouble.h>.
24277 (truncl): Define using libm_alias_ldouble.
24278 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24279 libm_alias_ldouble.
24280 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24281 libm_alias_ldouble.
24282 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24283 <libm-alias-ldouble.h>.
24284 (weak_alias): Do not undefine and redefine.
24285 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24286 (copysignl): Define with long_double_symbol only if [IS_IN
24288 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24289 <libm-alias-ldouble.h>.
24290 (weak_alias): Do not undefine and redefine.
24291 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24292 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24293 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24294 <libm-alias-ldouble.h>.
24295 (weak_alias): Do not undefine and redefine.
24296 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24297 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24298 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24299 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24300 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24301 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24302 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24303 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24304 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24305 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24306 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24307 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24308 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24309 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24310 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24311 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24312 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24313 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24314 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24315 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24316 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24317 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24318 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24319 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24320 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24321 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24323 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24326 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24327 (tcache_thread_freeres): Set tcache_shutting_down before
24328 freeing the tcache.
24329 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24330 * malloc/tst-malloc-tcache-leak.c: New file.
24332 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24334 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24335 back to powerpc32 file.
24336 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24337 (memrchr): Add __memrchr_power8 to ifunc list.
24338 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24339 extra bytes for unaligned inputs.
24341 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24343 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24344 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24346 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24349 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24351 * sysdeps/arm/libm-test-ulps: Update.
24353 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24354 <libm-alias-ldouble.h>.
24355 (asinhl): Define using libm_alias_ldouble.
24356 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24357 <libm-alias-ldouble.h>.
24358 (cbrtl): Define using libm_alias_ldouble.
24359 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24360 <libm-alias-ldouble.h>.
24361 (copysignl): Define using libm_alias_ldouble.
24362 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24363 <libm-alias-ldouble.h>.
24364 (cosl): Define using libm_alias_ldouble.
24365 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24366 <libm-alias-ldouble.h>.
24367 (erfl): Define using libm_alias_ldouble.
24369 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24370 <libm-alias-ldouble.h>.
24371 (fmal): Define using libm_alias_ldouble.
24372 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24373 <libm-alias-ldouble.h>.
24374 (frexpl): Define using libm_alias_ldouble.
24375 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24376 libm_alias_ldouble.
24377 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24378 <libm-alias-ldouble.h>.
24379 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24380 libm_alias_ldouble.
24381 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24382 <libm-alias-ldouble.h>.
24383 (getpayloadl): Define using libm_alias_ldouble.
24384 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24385 <libm-alias-ldouble.h>.
24386 (llrintl): Define using libm_alias_ldouble.
24387 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24388 <libm-alias-ldouble.h>.
24389 (llroundl): Define using libm_alias_ldouble.
24390 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24391 <libm-alias-ldouble.h>.
24392 (lrintl): Define using libm_alias_ldouble.
24393 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24394 <libm-alias-ldouble.h>.
24395 (lroundl): Define using libm_alias_ldouble.
24396 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24397 <libm-alias-ldouble.h>.
24398 (modfl): Define using libm_alias_ldouble.
24399 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24400 <libm-alias-ldouble.h>.
24401 (nextupl): Define using libm_alias_ldouble.
24402 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24403 <libm-alias-ldouble.h>.
24404 (remquol): Define using libm_alias_ldouble.
24405 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24406 <libm-alias-ldouble.h>.
24407 (roundevenl): Define using libm_alias_ldouble.
24408 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24409 <libm-alias-ldouble.h>.
24410 (roundl): Define using libm_alias_ldouble.
24411 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24412 using libm_alias_ldouble.
24413 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24414 <libm-alias-ldouble.h>.
24415 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24416 <libm-alias-ldouble.h>.
24417 (setpayloadsigl): Define using libm_alias_ldouble.
24418 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24419 <libm-alias-ldouble.h>.
24420 (sincosl): Define using libm_alias_ldouble.
24421 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24422 <libm-alias-ldouble.h>.
24423 (sinl): Define using libm_alias_ldouble.
24424 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24425 <libm-alias-ldouble.h>.
24426 (tanhl): Define using libm_alias_ldouble.
24427 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24428 <libm-alias-ldouble.h>.
24429 (tanl): Define using libm_alias_ldouble.
24430 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24431 <libm-alias-ldouble.h>.
24432 (totalorderl): Define using libm_alias_ldouble.
24433 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24434 <libm-alias-ldouble.h>.
24435 (totalordermagl): Define using libm_alias_ldouble.
24436 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24437 libm_alias_ldouble.
24438 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24439 libm_alias_ldouble.
24441 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24443 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24445 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24446 (__libc_ifunc_impl_list): Likewise.
24447 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24448 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24450 * benchtests/bench-memmove-walk.c: New file.
24451 * benchtests/Makefile (string-benchset): Add it.
24453 * benchtests/bench-memset-walk.c: New file.
24454 * benchtests/Makefile (string-benchset): Add it.
24456 * benchtests/bench-memcpy-walk.c: New file.
24457 * benchtests/Makefile (string-benchset): Add it.
24459 2017-10-05 Florian Weimer <fweimer@redhat.com>
24461 nscd: Eliminate compilation time dependency in the build output.
24462 * nscd/nscd_stat.c (STATDATA_VERSION)
24463 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24464 (STATDATA_VERSION_FULL): New macro definitions.
24465 (compilation): Remove.
24466 (struct statdata): Adjust version member.
24467 (send_stats): Set version from STATDATA_VERSION_FULL.
24468 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24470 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24472 * configure.ac (--enable-add-ons): Remove option.
24473 (machine): Do not mention add-ons in comment.
24474 (LIBC_PRECONFIGURE): Likewise.
24475 (add_ons): Remove variable and sanity checks and logic to locate
24477 (add_ons_automatic): Remove variable.
24478 (configured_add_ons): Likewise.
24479 (add_ons_sfx): Likewise.
24480 (add_ons_pfx): Likewise.
24481 (add_on_subdirs): Likewise.
24482 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24483 consideration of add-ons in Implies handling.
24484 (sysdeps_add_ons): Likewise.
24485 * configure: Regenerated.
24486 * libidn/configure.ac: Remove.
24487 * libidn/configure: Likewise.
24488 * sysdeps/unix/inet/configure.ac: New file.
24489 * sysdeps/unix/inet/configure: New generated file.
24490 * sysdeps/unix/inet/Subdirs: Add libidn.
24491 * Makeconfig (sysdeps-srcdirs): Remove variable.
24492 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24493 ($(common-objpfx)config.status): Do not depend on add-on files.
24494 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24496 (all-subdirs): Do not include $(add-on-subdirs).
24497 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24498 * config.make.in (add-ons): Remove variable.
24499 (add-on-subdirs): Likewise.
24500 (sysdeps-add-ons): Likewise.
24501 * manual/Makefile (add-chapters): Remove.
24502 ($(objpfx)texis): Do not depend on $(add-chapters).
24503 (nonexamples): Do not handle $(add-chapters).
24504 (examples): Do not handle $(add-ons).
24505 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24507 * manual/install.texi (Installation): Do not mention add-ons.
24508 (--enable-add-ons): Do not document configure option.
24509 * INSTALL: Regenerated.
24510 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24511 * manual/maint.texi (Hierarchy Conventions): Do not mention
24513 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24515 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24517 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24518 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24520 2017-10-05 Andreas Schwab <schwab@suse.de>
24523 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24524 (_IO_flush_all_lockp): Always lock list_all_lock.
24525 (_IO_flush_all_linebuffered): Likewise.
24526 (_IO_unbuffer_all): Likewise.
24528 2017-10-05 Florian Weimer <fweimer@redhat.com>
24531 Do not flush stdio streams on abort.
24532 * stdlib/abort.c (fflush): Remove macro definition.
24533 (abort): Remove stages related to stdio flushing.
24535 2017-10-05 Florian Weimer <fweimer@redhat.com>
24537 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24539 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24541 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24543 2017-10-05 Florian Weimer <fweimer@redhat.com>
24545 * support/support_format_hostent.c (support_format_hostent): Add
24546 more error information for NETDB_INTERNAL.
24548 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24550 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24551 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24552 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24553 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24554 AC_DEFINE if multi-arch is enabled.
24555 * sysdeps/i386/configure: Regenerated.
24557 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24559 * Makeconfig (+link-static-before-libc): Use
24560 $(DEFAULT-LDFLAGS-$(@F)).
24561 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24562 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24563 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24565 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24567 * elf/Makefile (tests): Add tst-main1.
24568 (modules-names): Add tst-main1mod.
24569 ($(objpfx)tst-main1): New.
24570 (CRT-tst-main1): Likewise.
24571 (LDFLAGS-tst-main1): Likewise.
24572 (LDLIBS-tst-main1): Likewise.
24573 (tst-main1mod.so-no-z-defs): Likewise.
24574 * elf/tst-main1.c: New file.
24575 * elf/tst-main1mod.c: Likewise.
24577 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24579 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24581 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24583 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24584 (fma): Define using libm_alias_double.
24585 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24586 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24588 (fmal): Do not define as compat symbol here.
24589 * sysdeps/alpha/fpu/s_fma.c: New file.
24591 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24593 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24595 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24598 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24600 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24602 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24603 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24604 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24605 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24607 Include <math_ldbl_opt.h>
24608 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24610 (compat_symbol): Undefine and redefine.
24611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24613 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24614 (compat_symbol): Undefine and redefine.
24615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24616 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24617 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24618 GLIBC_2_1 for libm.
24619 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24620 GLIBC_2.0 copysignl symbol.
24621 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24622 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24624 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24626 2017-10-04 Florian Weimer <fweimer@redhat.com>
24628 * scripts/check-local-headers.sh: Ignore nspr4 header file
24629 directory in addition to nspr.
24631 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24634 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24635 * configure: Regenerate.
24636 * crypt/Makefile (nss-cpp-flags): New variable.
24637 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24638 (CPPFLAGS-md5-crypt.c): Use it.
24639 * scripts/check-local-headers.sh: Ignore nspr header file
24642 2017-10-04 Andreas Schwab <schwab@suse.de>
24644 * nis/Makefile (services): Remove compat.
24645 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24646 ($(objpfx)libnss_compat.so): Remove rule.
24647 * nis/Versions (libnss_compat): Remove.
24648 * nss/Makefile (services): Add compat.
24649 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24650 * nss/Versions (libnss_compat): Define.
24651 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24652 Don't include <rpc/types.h>. Replace bool_t by bool.
24653 * nss/nss_compat/compat-initgroups.c: Likewise.
24654 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24655 instead of <rpcsrv/ypclnt.h>.
24656 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24657 yp_get_default_domain.
24658 * nss/nss_compat/compat-pwd.c: Likewise.
24659 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24660 yp_get_default_domain.
24661 * nss/nss_compat/nisdomain.c: New file.
24662 * nss/nss_compat/nisdomain.h: Likewise.
24664 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24667 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24668 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24670 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24673 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24674 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24676 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24678 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24679 "movl main@GOTOFF(%ebx), %eax".
24681 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24683 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24684 allow undefined _DYNAMIC in PIE libc.a.
24685 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24688 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24690 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24693 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24695 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24698 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24700 * math/test-math-iscanonical.cc (error): Replace bool with int.
24702 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24704 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24705 (modf): Define using libm_alias_double, only if [!__modf].
24706 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24707 <libm-alias-double.h>.
24708 (modf): Define using libm_alias_double, only if [!__modf].
24709 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24710 compat symbol here.
24711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24712 (weak_alias): Do not undefine and redefine.
24713 (strong_alias): Likewise.
24714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24715 (weak_alias): Likewise.
24716 (strong_alias): Likewise.
24718 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24719 (logb): Define using libm_alias_double, only if [!__logb].
24720 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24721 <libm-alias-double.h>.
24722 (logb): Define using libm_alias_double, only if [!__logb].
24723 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24725 (weak_alias): Do not undefine and redefine.
24726 (strong_alias): Likewise.
24727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24728 (weak_alias): Likewise.
24729 (strong_alias): Likewise.
24731 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24733 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24734 Check SHARED instead PIC.
24736 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24738 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24739 [!__fmaf] (fmaf): Define using libm_alias_float.
24741 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24742 (frexp): Define using libm_alias_double.
24743 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24744 <libm-alias-double.h>.
24745 (frexp): Define using libm_alias_double.
24746 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24747 compat symbol here.
24749 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24752 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24753 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24754 (CFLAGS-test-math-iscanonical.cc): New variable.
24755 * math/test-math-iscanonical.cc: New file.
24756 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24757 Provide a C++ implementation based on function overloading,
24758 rather than using __MATH_TG, which uses C-only builtins.
24759 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24761 * sysdeps/powerpc/powerpc64le/Makefile
24762 (CFLAGS-test-math-iscanonical.cc): New variable.
24764 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24766 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24767 (ceil): Define using libm_alias_double.
24768 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24769 (floor): Define using libm_alias_double.
24770 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24771 <libm-alias-double.h>.
24772 (llround): Define using libm_alias_double.
24773 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24774 <libm-alias-double.h>.
24775 (lround): Define using libm_alias_double.
24776 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24777 <libm-alias-double.h>.
24778 (nearbyint): Define using libm_alias_double.
24779 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24780 <libm-alias-double.h>.
24781 (remquo): Define using libm_alias_double.
24782 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24783 (rint): Define using libm_alias_double.
24784 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24785 (round): Define using libm_alias_double.
24786 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24787 (trunc): Define using libm_alias_double.
24788 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24789 <libm-alias-double.h>.
24790 (ceil): Define using libm_alias_double.
24791 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24792 <libm-alias-double.h>.
24793 (floor): Define using libm_alias_double.
24794 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24795 <libm-alias-double.h>.
24796 (llround): Define using libm_alias_double.
24797 [_LP64] (lround): Likewise.
24798 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24799 <libm-alias-double.h>.
24800 [!_LP64] (lround): Define using libm_alias_double.
24801 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24802 <libm-alias-double.h>.
24803 (nearbyint): Define using libm_alias_double.
24804 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24805 <libm-alias-double.h>.
24806 (remquo): Define using libm_alias_double.
24807 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24808 <libm-alias-double.h>.
24809 (rint): Define using libm_alias_double.
24810 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24811 <libm-alias-double.h>.
24812 (round): Define using libm_alias_double.
24813 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24814 <libm-alias-double.h>.
24815 (trunc): Define using libm_alias_double.
24816 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24817 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24818 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24819 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24820 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24821 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24822 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24823 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24824 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24826 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24828 * math/w_remainder.c: New file.
24829 * math/w_remainderf.c: New file.
24830 * math/w_remainderl.c: New file.
24832 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24834 * elf/rtld.c (BOOTSTRAP_MAP): New.
24835 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24836 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24838 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24840 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24843 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24845 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24846 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24847 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24848 rtld_hidden_data_ver): Define to empty.
24849 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
24850 __assert_perror_fail): Likewise.
24851 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24852 (__rewinddir): Likewise.
24853 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24854 (__profile_frequency): Likewise.
24855 * include/setjmp.h (__sigsetjmp): Likewise.
24856 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
24857 __libc_sigaction): Likewise.
24858 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
24859 not set hidden attribute.
24860 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
24861 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
24862 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
24863 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
24864 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
24865 __fxstatat64): Likewise.
24866 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24867 (__uname): Likewise.
24868 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24869 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
24870 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
24871 (NO_RTLD_HIDDEN): Set.
24872 * sysdeps/mach/hurd/configure: Refresh.
24873 * config.h.in: Refresh.
24875 2017-10-02 Joseph Myers <joseph@codesourcery.com>
24877 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
24878 (atan): Define using libm_alias_double.
24879 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
24880 (tan): Define using libm_alias_double.
24881 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
24882 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
24884 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
24885 define as weak alias of __atan. Do not define any aliases if
24887 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
24888 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
24889 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
24890 as weak alias of __tan. Do not define any aliases if [__tan].
24891 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
24892 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
24893 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
24895 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
24896 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
24897 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
24898 and define as weak alias of __atan.
24899 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
24901 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
24902 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
24903 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
24904 define as weak alias of __tan.
24906 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24908 * math/w_lgamma.c: New file.
24909 * math/w_lgammaf.c: New file.
24910 * math/w_lgammal.c: New file.
24912 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24914 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
24915 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
24916 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
24917 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
24918 * sysdeps/ieee754/flt-32/w_logf.c: New file.
24919 * sysdeps/ieee754/flt-32/w_powf.c: New file.
24920 * sysdeps/i386/fpu/w_log2f.c: New file.
24921 * sysdeps/i386/fpu/w_logf.c: New file.
24922 * sysdeps/i386/fpu/w_powf.c: New file.
24923 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
24924 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
24925 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
24927 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24928 H.J. Lu <hongjiu.lu@intel.com>
24930 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
24931 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
24932 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
24933 * sysdeps/ieee754/flt-32/w_expf.c: New file.
24934 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
24936 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
24937 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
24938 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
24939 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
24940 * sysdeps/i386/fpu/w_exp2f.c: New file.
24941 * sysdeps/i386/fpu/w_expf.c: New file.
24942 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
24943 * sysdeps/x86_64/fpu/w_expf.c: New file.
24945 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24947 * math/Versions (logf): New libm symbol at GLIBC_2.27.
24950 * math/w_log2f.c: New file.
24951 * math/w_logf.c: New file.
24952 * math/w_powf.c: New file.
24953 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
24954 * math/w_logf_compat.c (__logf_compat): Likewise.
24955 * math/w_powf_compat.c (__powf_compat): Likewise.
24956 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
24957 * sysdeps/ia64/fpu/e_logf.S: Likewise.
24958 * sysdeps/ia64/fpu/e_powf.S: Likewise.
24959 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24960 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24961 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24962 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24963 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24964 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24965 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24966 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24967 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24968 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24969 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24970 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24979 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24980 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24981 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24982 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24983 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24988 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24989 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24990 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24992 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24994 * sysdeps/powerpc/powerpc64/multiarch/Makefile
24995 (sysdep_routines): Add memrchr_power8.
24996 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24997 (memrchr): Add __memrchr_power8 to list of memrchr functions.
24998 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25000 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25001 (memrchr): Add __memrchr_power8 to ifunc list.
25002 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25004 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25007 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25008 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25010 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25011 (__posix_fallocate64_l64): Likewise.
25013 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25016 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25017 (__sched_setaffinity_new): Add libc_hidden_proto and
25020 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25023 * include/glob.h (__glob64): Add libc_hidden_proto.
25024 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25027 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25030 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25033 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25036 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25038 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25041 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25044 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25047 * csu/version.c (__libc_print_version): Add attribute_hidden.
25049 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25052 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25054 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25057 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25062 * nscd/nscd_helper.c (__nis_hash): New prototype.
25064 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25067 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25068 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25070 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25071 * termios/tcgetattr.c (__tcgetattr): Likewise.
25073 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25076 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25077 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25078 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25079 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25080 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25082 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25085 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25087 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25090 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25091 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25093 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25096 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25098 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25101 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25102 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25104 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25107 * include/ifreq.h: New file.
25108 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25109 (__ifreq): Likewise.
25110 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25111 (__ifreq): Likewise.
25113 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25116 * include/idna.h: New file.
25117 * inet/getnameinfo.c: Include <idna.h> instead of
25119 (__idna_to_unicode_lzlz): Removed.
25120 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25122 (__idna_to_ascii_lz): Removed.
25123 (__idna_to_unicode_lzlz): Likewise.
25125 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25128 * include/plural-exp.h: New file.
25129 * intl/plural-exp.c: Include <plural-exp.h> instead of
25132 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25135 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25136 "getsourcefilter.h".
25137 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25138 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25139 "getsourcefilter.h".
25140 (__get_sol): Removed.
25142 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25145 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25147 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25149 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25152 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25155 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25158 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25160 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25163 * include/search.h (__tdestroy): Add libc_hidden_proto.
25164 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25166 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25169 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25174 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25177 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25180 * include/signal.h (__kill): Add libc_hidden_proto.
25181 (__sigblock): Likewise.
25182 (__sigprocmask): Likewise.
25183 (__sigaltstack): Likewise.
25184 * signal/kill.c (__kill): Add libc_hidden_def.
25185 * signal/sigblock.c (__sigblock): Likewise.
25186 * signal/sigprocmask.c (__sigprocmask): Likewise.
25187 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25188 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25189 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25190 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25191 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25193 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25195 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25196 (__sigprocmask): Likewise.
25197 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25199 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25200 (__sigprocmask): Likewise.
25201 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25207 * include/string.h (__strsep): Add libc_hidden_proto.
25208 * string/strsep.c (__strsep): Add libc_hidden_def.
25210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25213 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25215 (__spawni): Likewise.
25217 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25220 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25221 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25224 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25227 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25229 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25232 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25233 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25234 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25235 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25236 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25238 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25239 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25241 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25244 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25245 (__dcigettext): Likewise.
25247 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25250 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25252 (__get_nprocs): Likewise.
25253 (__get_phys_pages): Likewise.
25254 (__get_avphys_pages): Likewise.
25255 (__get_child_max): Add attribute_hidden.
25256 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25257 (__get_nprocs): Likewise.
25258 (__get_phys_pages): Likewise.
25259 (__get_avphys_pages): Likewise.
25260 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25262 (__get_nprocs): Likewise.
25263 (__get_phys_pages): Likewise.
25264 (__get_avphys_pages): Likewise.
25265 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25267 (__get_nprocs_conf): Likewise.
25268 (__get_phys_pages): Likewise.
25269 (__get_avphys_pages): Likewise.
25271 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25274 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25276 (__netlink_close): Likewise.
25277 (__netlink_free_handle): Likewise.
25278 (__netlink_request): Likewise.
25280 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25283 * include/rpc/rpc.h (__rpc_thread_variables): Add
25285 (__rpc_thread_svc_cleanup): Likewise.
25286 (__rpc_thread_clnt_cleanup): Likewise.
25287 (__rpc_thread_key_cleanup): Likewise.
25289 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25292 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25293 (__writev): Likewise.
25294 * misc/readv.c (__readv): Add libc_hidden_def.
25295 * misc/writev.c (__writev): Likewise.
25296 * sysdeps/posix/readv.c (__readv): Likewise.
25297 * sysdeps/posix/writev.c (__writev): Likewise.
25298 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25299 (__readv): Likewise.
25300 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25301 (__writev): Likewise.
25303 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25306 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25307 (__regcomp): Add libc_hidden_proto.
25308 (__regexec): Likewise.
25309 (__regfree): Likewise.
25310 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25311 (__regfree): Likewise.
25312 * posix/regexec.c (__regexec): Likewise.
25314 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25317 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25318 (__getutent): Likewise.
25319 (__getutid): Likewise.
25320 (__getutline): Likewise.
25321 (__pututline): Likewise.
25322 (__getutent_r): Likewise.
25323 (__getutid_r): Likewise.
25324 (__getutline_r): Likewise.
25325 (__utmpname): Add attribute_hidden.
25326 (__setutent): Likewise.
25327 (__endutent): Likewise.
25328 * login/getutent.c (__getutent): Add libc_hidden_def.
25329 * login/getutent_r.c (__getutent_r): Likewise.
25330 (__pututline): Likewise.
25331 * login/getutid.c (__getutid): Likewise.
25332 * login/getutid_r.c (__getutid_r): Likewise.
25333 * login/getutline.c (__getutline): Likewise.
25334 * login/getutline_r.c (__getutline_r): Likewise.
25335 * login/updwtmp.c (__updwtmp): Likewise.
25337 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25340 * include/dirent.h (__opendir): Always add attribute_hidden.
25341 (__fdopendir): Likewise.
25342 (__closedir): Likewise.
25343 (__readdir): Likewise.
25344 (__readdir64): Add libc_hidden_proto.
25345 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25346 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25347 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25348 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25351 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25354 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25355 * include/netdb.h (__gethostbyaddr_r): Likewise.
25356 (__gethostbyname_r): Likewise.
25357 (__gethostbyname2_r): Likewise.
25358 (__getnetbyaddr_r): Likewise.
25359 (__getnetbyname_r): Likewise.
25360 (__getservbyname_r): Likewise.
25361 (__getservbyport_r): Likewise.
25362 (__getprotobyname_r): Likewise.
25363 (__getprotobynumber_r): Likewise.
25364 (__getnetgrent_r): Likewise.
25365 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25366 (__getrpcbynumber_r): Likewise.
25367 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25369 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25372 * include/stdio.h (__fcloseall): Add attribute_hidden.
25373 (__getline): Likewise.
25374 (__path_search): Likewise.
25375 (__gen_tempname): Likewise.
25376 (__libc_message): Likewise.
25377 (__flockfile): Likewise.
25378 (__funlockfile): Likewise.
25379 (__fxprintf): Likewise.
25380 (__fxprintf_nocancel): Likewise.
25382 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25385 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25386 (__sgetsgent_r): Likewise.
25388 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25391 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25392 (__statfs64): Likewise.
25393 (__fstatfs64): Likewise.
25394 * include/sys/statvfs.h (__statvfs64): Likewise.
25395 (__fstatvfs64): Likewise.
25396 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25397 (__statfs_filesize_max): Likewise.
25398 (__statfs_symlinks): Likewise.
25399 (__statfs_chown_restricted): Likewise.
25401 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25404 * include/time.h (__tzstring): Add attribute_hidden.
25405 (__tzfile_read): Likewise.
25406 (__tzfile_compute): Likewise.
25407 (__tzfile_default): Likewise.
25408 (__tzset_parse_tz): Likewise.
25409 (__offtime): Likewise.
25410 (__asctime_r): Likewise.
25411 (__tzset): Likewise.
25412 (__tz_convert): Likewise.
25413 (__getdate_r): Likewise.
25414 (__getclktck): Likewise.
25416 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25419 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25420 (__nscd_unmap): Likewise.
25421 (__nscd_cache_search): Likewise.
25422 (__nscd_get_nl_timestamp): Likewise.
25423 (__nscd_getpwnam_r): Likewise.
25424 (__nscd_getpwuid_r): Likewise.
25425 (__nscd_getgrnam_r): Likewise.
25426 (__nscd_getgrgid_r): Likewise.
25427 (__nscd_gethostbyname_r): Likewise.
25428 (__nscd_gethostbyname2_r): Likewise.
25429 (__nscd_gethostbyaddr_r): Likewise.
25430 (__nscd_getai): Likewise.
25431 (__nscd_getgrouplist): Likewise.
25432 (__nscd_getservbyname_r): Likewise.
25433 (__nscd_getservbyport_r): Likewise.
25434 (__nscd_innetgr): Likewise.
25435 (__nscd_setnetgrent): Likewise.
25437 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25440 * include/gmp.h: Declare internal functions only if _ISOMAC is
25442 (__mpn_extract_double): Add attribute_hidden.
25443 (__mpn_extract_long_double): Likewise.
25444 (__mpn_extract_float128): Likewise.
25445 (__mpn_construct_float): Likewise.
25446 (__mpn_construct_double): Likewise.
25447 (__mpn_construct_long_double): Likewise.
25448 (__mpn_construct_float128): Likewise.
25449 (mpn_add_1): Likewise.
25450 (mpn_addmul_1): Likewise.
25451 (mpn_add_n): Likewise.
25452 (mpn_cmp): Likewise.
25453 (mpn_divrem): Likewise.
25454 (mpn_lshift): Likewise.
25455 (mpn_mul): Likewise.
25456 (mpn_mul_1): Likewise.
25457 (mpn_rshift): Likewise.
25458 (mpn_sub_1): Likewise.
25459 (mpn_submul_1): Likewise.
25460 (mpn_sub_n): Likewise.
25462 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25465 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25466 (__wcscat): Likewise.
25467 (__btowc): Likewise.
25468 (__wcrtomb): Likewise.
25469 (__mbsrtowcs): Likewise.
25470 (__wcsrtombs): Likewise.
25471 (__mbsnrtowcs): Likewise.
25472 (__wcsnrtombs): Likewise.
25473 (__wcsncpy): Likewise.
25474 (__wcpncpy): Likewise.
25475 (__wmemcpy): Likewise.
25476 (__wmempcpy): Likewise.
25477 (__wmemmove): Likewise.
25478 (__wcschrnul): Likewise.
25479 (__vfwscanf): Likewise.
25480 (__vswprintf): Likewise.
25481 (__fwprintf): Likewise.
25482 (__vfwprintf): Likewise.
25484 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25487 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25488 (__getgrgid_r): Likewise.
25489 (__getgrnam_r): Likewise.
25490 * include/pwd.h (__getpwuid_r): Likewise.
25491 (__getpwnam_r): Likewise.
25492 (__fgetpwent_r): Likewise.
25493 * include/shadow.h (__getspnam_r): Likewise.
25494 (__sgetspent_r): Likewise.
25495 (__fgetspent_r): Likewise.
25497 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25500 * include/unistd.h (__access): Add attribute_hidden.
25501 (__lseek64): Likewise.
25502 (__libc_pread64): Likewise.
25503 (__pipe2): Likewise.
25504 (__sleep): Likewise.
25505 (__chdir): Likewise.
25506 (__fchdir): Likewise.
25507 (__getcwd): Likewise.
25508 (__rmdir): Likewise.
25509 (__execvpe): Likewise.
25510 (__execve): Likewise.
25511 (__setsid): Likewise.
25512 (__getuid): Likewise.
25513 (__geteuid): Likewise.
25514 (__getgid): Likewise.
25515 (__getegid): Likewise.
25516 (__getgroups): Likewise.
25517 (__group_member): Likewise.
25518 (__ttyname_r): Likewise.
25519 (__isatty): Likewise.
25520 (__readlink): Likewise.
25521 (__unlink): Likewise.
25522 (__gethostname): Likewise.
25523 (__profil): Likewise.
25524 (__getdtablesize): Likewise.
25526 (__ftruncate): Likewise.
25527 (__ftruncate64): Likewise.
25529 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25532 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25533 * argp/argp-fs-xinl.c: Likewise.
25534 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25535 * argp/argp-parse.c: Include <argp.h>.
25536 * argp/argp-xinl.c: Likewise.
25537 * include/argp-fmtstream.h: New file.
25538 * include/argp.h (__argp_error): Add attribute_hidden.
25539 (__argp_failure): Likewise.
25540 (__argp_input): Likewise.
25541 (__argp_state_help): Likewise.
25543 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25546 * include/wchar.h (____wcstof_l_internal): New prototype.
25547 (____wcstod_l_internal): Likewise.
25548 (____wcstold_l_internal): Likewise.
25549 (____wcstol_l_internal): Likewise.
25550 (____wcstoul_l_internal): Likewise.
25551 (____wcstoll_l_internal): Likewise.
25552 (____wcstoull_l_internal): Likewise.
25553 (____wcstof128_l_internal): Likewise.
25554 * sysdeps/ieee754/float128/wcstof128.c
25555 (____wcstof128_l_internal): Removed.
25556 * sysdeps/ieee754/float128/wcstof128_l.c
25557 (____wcstof128_l_internal): Likewise.
25558 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25559 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25560 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25561 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25562 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25563 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25564 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25565 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25566 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25567 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25569 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25572 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25573 instead of <sys/statvfs.h>.
25574 (__internal_statvfs): Removed.
25575 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25576 instead of <sys/statvfs.h>.
25577 (__internal_statvfs64): Removed.
25578 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25579 "internal_statvfs.h" instead of <sys/statvfs.h>.
25580 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25581 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25582 instead of <sys/statvfs.h>.
25583 (__internal_statvfs): Removed.
25584 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25585 instead of <sys/statvfs.h>.
25586 (__internal_statvfs64): Removed.
25588 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25591 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25592 (__gconv_close): Likewise.
25593 (__gconv): Likewise.
25594 (__gconv_find_transform): Likewise.
25595 (__gconv_lookup_cache): Likewise.
25596 (__gconv_compare_alias_cache): Likewise.
25597 (__gconv_load_cache): Likewise.
25598 (__gconv_get_path): Likewise.
25599 (__gconv_close_transform): Likewise.
25600 (__gconv_release_cache): Likewise.
25601 (__gconv_find_shlib): Likewise.
25602 (__gconv_release_shlib): Likewise.
25603 (__gconv_get_builtin_trans): Likewise.
25604 (__gconv_compare_alias): Likewise.
25605 * include/dlfcn.h (_dlerror_run): Likewise.
25606 * include/stdio.h (__fortify_fail_abort): Likewise.
25607 * include/time.h (__tz_compute): Likewise.
25608 (__strptime_internal): Likewise.
25609 * intl/gettextP.h (_nl_find_domain): Likewise.
25610 (_nl_load_domain): Likewise.
25611 (_nl_find_msg): Likewise.
25612 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25613 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25614 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25615 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25616 (__gai_find_request): Likewise.
25617 (__gai_remove_request): Likewise.
25618 (__gai_notify): Likewise.
25619 (__gai_notify_only): Likewise.
25620 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25621 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25622 (_dl_non_dynamic_init): Likewise.
25623 (_dl_aux_init): Likewise.
25624 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25625 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25627 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25628 (__wcsmbs_clone_conv): Likewise.
25629 (__wcsmbs_named_conv): Likewise.
25631 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25634 * include/stdlib.h (__random): Add attribute_hidden.
25635 (__random_r): Likewise.
25636 (__srandom_r): Likewise.
25637 (__initstate_r): Likewise.
25638 (__setstate_r): Likewise.
25639 (__erand48_r): Likewise.
25640 (__nrand48_r): Likewise.
25641 (__jrand48_r): Likewise.
25642 (__srand48_r): Likewise.
25643 (__seed48_r): Likewise.
25644 (__lcong48_r): Likewise.
25645 (__drand48_iterate): Likewise.
25646 (__setenv): Likewise.
25647 (__unsetenv): Likewise.
25648 (__clearenv): Likewise.
25649 (__ptsname_r): Likewise.
25650 (__posix_openpt): Likewise.
25651 (__add_to_environ): Likewise.
25652 (__realpath): Add libc_hidden_proto.
25653 (__ecvt_r): Likewise.
25654 (__fcvt_r): Likewise.
25655 (__qecvt_r): Likewise.
25656 (__qfcvt_r): Likewise.
25657 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25658 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25660 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25663 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25664 * include/time.h (__mktime_internal): Likewise.
25665 * libio/iolibio.h (__fopen_internal): Likewise.
25667 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25669 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25671 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25672 Correct offset used to restore PIC register.
25674 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25677 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25678 code to load address of __getcontext_ret when generating PIC code.
25680 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25682 * elf/Makefile (tests-static-internal): Add
25683 tst-tls1-static-non-pie.
25684 (LDFLAGS-tst-tls1-static-non-pie): New.
25685 * elf/tst-tls1-static-non-pie.c: New file.
25687 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25689 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25690 (asinh): Define using libm_alias_double.
25691 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25692 (cbrt): Define using libm_alias_double.
25693 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25694 <libm-alias-double.h>.
25695 (copysign): Define using libm_alias_double.
25696 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25697 (erf): Define using libm_alias_double.
25699 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25700 (expm1): Define using libm_alias_double.
25701 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25702 (fabs): Define using libm_alias_double.
25703 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25705 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25706 <libm-alias-double.h>.
25707 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25709 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25710 <libm-alias-double.h>.
25711 (getpayload): Define using libm_alias_double.
25712 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25713 <libm-alias-double.h>.
25714 (llrint): Define using libm_alias_double.
25715 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25716 (lrint): Define using libm_alias_double.
25717 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25718 <libm-alias-double.h>.
25719 (nextup): Define using libm_alias_double.
25720 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25721 <libm-alias-double.h>.
25722 (roundeven): Define using libm_alias_double.
25723 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25725 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25726 <libm-alias-double.h>.
25727 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25728 using libm_alias_double.
25729 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25730 (cos): Define using libm_alias_double.
25732 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25733 <libm-alias-double.h>.
25734 (sincos): Define using libm_alias_double.
25735 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25736 (tanh): Define using libm_alias_double.
25737 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25738 <libm-alias-double.h>.
25739 (totalorder): Define using libm_alias_double.
25740 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25741 <libm-alias-double.h>.
25742 (totalordermag): Define using libm_alias_double.
25743 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25745 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25747 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25748 <libm-alias-double.h>.
25749 (getpayload): Define using libm_alias_double.
25750 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25751 <libm-alias-double.h>.
25752 (roundeven): Define using libm_alias_double.
25753 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25754 <libm-alias-double.h>.
25755 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25756 <libm-alias-double.h>.
25757 (totalorder): Define using libm_alias_double.
25758 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25759 <libm-alias-double.h>.
25760 (totalordermag): Define using libm_alias_double.
25761 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25762 libc compat symbol here.
25763 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25764 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25765 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25766 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25767 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25768 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25769 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25770 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25771 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25772 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25774 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25776 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25777 _dl_relocate_static_pie instead of _dl_start to compute load
25778 address in static PIE. Return 0 if _DYNAMIC is undefined for
25781 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25783 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25784 _DYNAMIC is undefined for static executable.
25786 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25788 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25790 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25794 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25796 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25797 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25798 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25799 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25800 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25801 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25802 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25803 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25804 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25805 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25806 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25807 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25808 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25809 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25810 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25811 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25812 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25814 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25816 * math/bits/cmathcalls.h (cimag): Remove inline.
25817 (creal): Remove inline.
25818 (conj): Remove inline.
25820 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25822 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25823 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25824 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25825 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25826 (issignalingf_inline): Likewise.
25827 (POWF_LOG2_TABLE_BITS): Likewise.
25828 (POWF_LOG2_POLY_ORDER): Likewise.
25829 (POWF_SCALE_BITS): Likewise.
25830 (POWF_SCALE): Likewise.
25831 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25832 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25833 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25835 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25837 * math/Makefile (type-float-routines): Add e_log2f_data.
25838 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25839 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25840 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25841 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25842 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25843 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25844 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25846 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25848 * math/Makefile (type-float-routines): Add e_logf_data.
25849 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
25850 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
25851 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
25852 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
25853 * sysdeps/i386/fpu/e_logf_data.c: New file.
25854 * sysdeps/ia64/fpu/e_logf_data.c: New file.
25855 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
25857 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
25859 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
25860 undefined _DYNAMIC in PIE libc.a.
25861 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25864 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25866 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
25867 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
25868 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
25869 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
25870 (__signbit): Remove.
25871 (__signbitl): Remove.
25872 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
25873 (__signbit): Remove.
25874 (__signbitl): Remove.
25875 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
25876 (__signbit): Remove.
25877 (__signbitl): Remove.
25878 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
25879 (__signbit): Remove.
25880 (__signbitl): Remove.
25881 * sysdeps/tile/bits/mathinline.h: Delete file.
25882 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
25883 (__signbit): Remove.
25884 (__signbitl): Remove.
25886 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25888 * math/math.h: Improve handling of C99 isgreater macros.
25889 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
25890 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
25891 * sysdeps/powerpc/bits/mathinline.h: Likewise.
25892 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25893 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
25895 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
25897 * sysdeps/aarch64/libm-test-ulps: Update.
25899 2017-09-28 Joseph Myers <joseph@codesourcery.com>
25902 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25903 math_opt_barrier on argument when doing arithmetic on it.
25904 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25905 Likewise. Use math_force_eval not math_opt_barrier after
25907 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
25908 math_opt_barrier on argument when doing arithmetic on it.
25909 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25912 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
25914 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
25916 (__freeifaddrs): Likewise.
25918 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
25920 * include/dirent.h (__dirfd): New declaration.
25921 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
25923 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
25924 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
25925 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
25926 * include/unistd.h (__revoke): New declaration.
25927 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
25929 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25930 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
25932 * include/dirent.h (__seekdir): New declaration.
25933 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
25934 redefine as weak alias.
25935 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
25937 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
25938 and use libc_hidden_def on them.
25939 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
25941 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
25942 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
25943 instead of getifaddrs and freeifaddrs.
25945 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25948 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
25949 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
25950 (__dso_handle): Remove declaration.
25951 * dlfcn/tstatexit.c (__dso_handle): Removed.
25952 (main): Don't check __dso_handle.
25953 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
25954 (main): Don't check __dso_handle.
25955 * include/dso_handle.h: New file.
25956 * malloc/mtrace.c: Include <dso_handle.h>.
25957 (mtrace): Pass __dso_handle directly.
25958 * nptl/pthread_atfork.c: Include <dso_handle.h>.
25959 (__dso_handle): Remove declaration.
25960 (__pthread_atfork): Pass __dso_handle directly.
25961 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
25962 (__dso_handle): Removed.
25963 * posix/wordexp-test.c: Include <dso_handle.h>.
25964 (__dso_handle): Remove declaration.
25965 (__app_register_atfork): Pass __dso_handle directly.
25966 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
25967 (__dso_handle): Remove declaration.
25968 (at_quick_exit): Pass __dso_handle directly.
25969 * stdlib/atexit.c: Include <dso_handle.h>.
25970 (__dso_handle): Remove declaration.
25971 (atexit): Pass __dso_handle directly.
25972 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
25973 (__dso_handle): Removed.
25975 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25977 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
25980 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
25982 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
25983 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
25984 values to correct default value for given type.
25986 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25989 * elf/Makefile (tests): Add tst-debug1.
25990 ($(objpfx)tst-debug1): New.
25991 ($(objpfx)tst-debug1.out): Likewise.
25992 ($(objpfx)tst-debug1mod1.so): Likewise.
25993 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
25994 with p_filesz == 0.
25995 * elf/tst-debug1.c: New file.
25997 2017-09-26 Joseph Myers <joseph@codesourcery.com>
25999 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26000 Define using __ifunc.
26002 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26004 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26007 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26010 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26012 2017-09-26 Florian Weimer <fweimer@redhat.com>
26014 * resolv/Makefile (tests-internal): Fix typo in comment.
26016 2017-09-26 Florian Weimer <fweimer@redhat.com>
26018 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26020 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26022 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26023 Use an union instead of a max_align_t array for __space,
26024 so that __space is the same size on all platforms.
26025 * malloc/scratch_buffer_grow_preserve.c
26026 (__libc_scratch_buffer_grow_preserve): Likewise.
26029 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26031 * posix/Makefile (routines): Add glob-lstat-compat and
26032 glob64-lstat-compat.
26033 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26034 * posix/glob-lstat-compat.c: New file.
26035 * posix/glob64-lstat-compat.c: Likewise.
26036 * posix/tst-glob_lstat_compat.c: Likewise.
26037 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26038 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26039 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26040 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26042 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26043 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26044 * posix/glob.c (glob_lstat): New function.
26045 (glob): Rename to __glob and add versioned symbol to 2.27.
26046 (glob_in_dir): Use glob_lstat.
26047 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26048 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26049 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26051 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26052 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26053 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26054 gl_lstat on glob call.
26055 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26056 and glob64 symbols.
26057 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26058 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26059 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26060 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26061 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26062 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26063 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26064 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26065 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26066 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26067 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26068 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26071 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26073 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26074 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26075 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26076 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26077 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26080 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26081 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26082 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26084 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26086 * configure.ac (AS): Require binutils 2.25 or later.
26087 * configure: Regenerated.
26089 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26092 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26095 2017-09-25 DJ Delorie <dj@redhat.com>
26098 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26101 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26103 * sysdeps/ieee754/dbl-64/sincos32.h
26104 [SINCCOS32_H]: Remove define.
26105 [SINCOS32_H]: Define.
26107 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26109 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26111 * math/w_exp2f.c: New file.
26112 * math/w_expf.c: New file.
26113 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26114 * math/w_expf_compat.c (__expf_compat): Likewise.
26115 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26116 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26117 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26118 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26119 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26120 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26121 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26122 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26123 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26124 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26125 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26126 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26127 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26128 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26137 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26138 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26139 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26140 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26141 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26146 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26147 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26148 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26150 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26152 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26153 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26154 (roundtoint, converttoint): Likewise.
26155 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26156 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26157 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26158 * sysdeps/ieee754/flt-32/math_config.h: New file.
26159 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26160 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26161 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26162 * sysdeps/i386/fpu/math_errf.c: New file.
26163 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26164 * sysdeps/ia64/fpu/math_errf.c: New file.
26165 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26166 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26168 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26170 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26171 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26172 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26173 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26174 to make sure that these symbols are defined.
26175 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26177 (__need_NULL): Do not define.
26178 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26180 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26181 CMGROUP_MAX, cmsgcred): Do not define.
26182 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26184 * bits/socket.h: Likewise.
26185 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26186 __gettimeofday instead of gettimeofday.
26187 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26188 instead of settimeofday.
26190 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26192 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26193 (asinhf): Define using libm_alias_float.
26194 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26195 (atanf): Define using libm_alias_float.
26196 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26197 (cbrtf): Define using libm_alias_float.
26198 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26199 (ceilf): Define using libm_alias_float.
26200 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26201 <libm-alias-float.h>.
26202 (copysignf): Define using libm_alias_float.
26203 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26204 (cosf): Define using libm_alias_float.
26205 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26206 (erff): Define using libm_alias_float.
26208 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26209 (expm1f): Define using libm_alias_float.
26210 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26211 (fabsf): Define using libm_alias_float.
26212 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26213 (floorf): Define using libm_alias_float.
26214 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26215 (frexpf): Define using libm_alias_float.
26216 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26218 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26219 <libm-alias-float.h>.
26220 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26222 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26223 <libm-alias-float.h>.
26224 (getpayloadf): Define using libm_alias_float.
26225 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26226 <libm-alias-float.h>.
26227 (llrintf): Define using libm_alias_float.
26228 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26229 <libm-alias-float.h>.
26230 (llroundf): Define using libm_alias_float.
26231 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26232 (logbf): Define using libm_alias_float.
26233 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26234 (lrintf): Define using libm_alias_float.
26235 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26236 (lroundf): Define using libm_alias_float.
26237 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26238 (modff): Define using libm_alias_float.
26239 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26240 <libm-alias-float.h>.
26241 (nearbyintf): Define using libm_alias_float.
26242 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26243 <libm-alias-float.h>.
26244 (nextafterf): Define using libm_alias_float.
26245 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26246 <libm-alias-float.h>.
26247 (nextupf): Define using libm_alias_float.
26248 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26249 <libm-alias-float.h>.
26250 (remquof): Define using libm_alias_float.
26251 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26252 (rintf): Define using libm_alias_float.
26253 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26254 <libm-alias-float.h>.
26255 (roundevenf): Define using libm_alias_float.
26256 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26257 (roundf): Define using libm_alias_float.
26258 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26259 using libm_alias_float.
26260 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26261 <libm-alias-float.h>.
26262 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26263 Define using libm_alias_float.
26264 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26265 <libm-alias-float.h>.
26266 (sincosf): Define using libm_alias_float.
26267 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26268 (sinf): Define using libm_alias_float.
26269 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26270 (tanf): Define using libm_alias_float.
26271 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26272 (tanhf): Define using libm_alias_float.
26273 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26274 <libm-alias-float.h>.
26275 (totalorderf): Define using libm_alias_float.
26276 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26277 <libm-alias-float.h>.
26278 (totalordermagf): Define using libm_alias_float.
26279 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26280 (truncf): Define using libm_alias_float.
26281 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26283 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26286 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26289 math/math.h: Let fpclassify use the builtin in C++ mode, even
26290 when optimazing for size.
26292 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26294 * csu/Makefile (generated): Do not add version-info.h.
26295 (before-compile): Likewise.
26296 (all-Banner-files): Remove variable.
26297 ($(objpfx)version-info.h): Remove rule.
26298 * csu/version.c (banner): Do not include "version-info.h".
26299 * libidn/Banner: Remove.
26300 * manual/contrib.texi (Simon Josefsson): New entry.
26302 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26304 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26305 Remove conditionals on LDBL_MANT_DIG.
26306 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26307 (__ieee754_lgammal_r): Likewise.
26309 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26311 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26313 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26314 _Float128 and L(). Replace _Float128 with long double and L(x)
26315 with xL, throughout the file.
26316 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26317 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26318 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26321 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26324 sysdeps/ieee754/ldbl-128ibm.
26325 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26326 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26327 of including it. Keep _Float128 and L() intact. These will be
26328 reviewed by a separate patch.
26329 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26330 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26331 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26334 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26337 (__finitef128): Define to __redirect___finitef128.
26338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26339 (__isinff128): Define to __redirect___isinff128.
26340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26341 (__isnanf128): Define to __redirect___isnanf128.
26343 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26345 * sysdeps/powerpc/powerpc64le/Makefile
26346 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26347 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26349 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26350 Carlos O'Donell <carlos@redhat.com>
26353 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26354 * stdlib/test-dlclose-exit-race.c: New file.
26355 * stdlib/test-dlclose-exit-race-helper.c: New file.
26356 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26358 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26360 * crypt/Banner: Remove file.
26361 * nptl/Banner: Likewise.
26362 * resolv/Banner: Likewise.
26363 * soft-fp/Banner: Likewise.
26364 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26365 ($(objpfx)version.d): Remove dependency on banner.h.
26366 ($(objpfx)version.os): Likewise.
26367 * nptl/version.c (banner): Do not include banner.h.
26368 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26369 Jelinek and BIND code.
26371 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26372 Carlos O'Donell <carlos@redhat.com>
26374 * support/xdlfcn.h: New file.
26375 * support/xdlfcn.c: New file.
26376 * support/Makefile (libsupport-routines): Add xdlfcn.
26377 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26379 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26382 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26383 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26384 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26385 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26386 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26387 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26388 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26389 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26391 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26392 Ricky Zhou <rickyz@google.com>
26393 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26396 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26398 (__new_exitfn): Fail registration when we finished at_exit processing.
26399 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26400 * stdlib/on_exit.c (__on_exit): Likewise.
26401 * stdlib/exit.c (__exit_funcs_done): New variable.
26402 (__run_exit_handlers): Use __exit_funcs_lock.
26403 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26405 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26406 (test-cxa_atexit-race, test-on_exit-race): New tests.
26407 * stdlib/test-atexit-race-common.c: New file.
26408 * stdlib/test-atexit-race.c: New file.
26409 * stdlib/test-at_quick_exit-race.c: New file.
26410 * stdlib/test-cxa_atexit-race.c: New file.
26411 * stdlib/test-on_exit-race.c: New file.
26413 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26415 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26416 * benchtests/exp2f-inputs: Copy of expf-inputs.
26417 * benchtests/log2f-inputs: Copy of logf-inputs.
26419 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26421 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26422 Explicitly take address of first element of array arguments in
26423 call to INLINE_SYSCALL.
26425 2017-09-19 Andreas Schwab <schwab@suse.de>
26428 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26430 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26432 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26433 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26434 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26435 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26436 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26437 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26438 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26439 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26440 * posix/Makefile (tests): Add tst-fexecve.
26441 * posix/tst-fexecve.c: New file.
26443 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26445 * benchtests/Makefile: Add logf benchmark.
26446 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26448 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26450 * benchtests/Makefile: Add expf benchmark.
26451 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26453 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26455 * csu/Makefile: Add -funwind-tables to libc-start.c.
26456 * debug/Makefile: Add -funwind-tables to backtrace.c.
26457 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26458 * sysdeps/arm/Makefile: Likewise.
26459 * sysdeps/i386/Makefile: Likewise.
26460 * sysdeps/m68k/Makefile: Likewise.
26461 * sysdeps/mips/Makefile: Likewise.
26462 * sysdeps/nios2/Makefile: Likewise.
26463 * sysdeps/sh/Makefile: Likewise.
26464 * sysdeps/sparc/Makefile: Likewise.
26466 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26468 * benchtests/Makefile (bench-math): Add trunc and truncf.
26469 (CFLAGS-bench-trunc.c): New variable.
26470 (CFLAGS-bench-truncf.c): Likewise.
26471 * benchtests/trunc-inputs: New file.
26472 * benchtests/truncf-inputs: Likewise.
26474 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26476 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26478 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26480 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26481 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26483 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26484 (exp10l): Define as weak alias.
26485 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26486 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26488 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26489 (remainderl): Define as weak alias.
26491 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26492 (fmal): Define using libm_alias_ldouble.
26493 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26494 (acoshl): Define using libm_alias_ldouble.
26495 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26496 (acosl): Define using libm_alias_ldouble.
26497 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26498 (asinl): Define using libm_alias_ldouble.
26499 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26500 (atan2l): Define using libm_alias_ldouble.
26501 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26502 (atanhl): Define using libm_alias_ldouble.
26503 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26504 (coshl): Define using libm_alias_ldouble.
26505 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26506 (exp10l): Define using libm_alias_ldouble.
26507 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26508 (exp2l): Define using libm_alias_ldouble.
26509 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26510 (expl): Define using libm_alias_ldouble.
26511 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26512 (fmodl): Define using libm_alias_ldouble.
26513 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26514 (hypotl): Define using libm_alias_ldouble.
26515 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26516 (j0l): Define using libm_alias_ldouble.
26518 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26519 (j1l): Define using libm_alias_ldouble.
26521 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26522 (jnl): Define using libm_alias_ldouble.
26524 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26525 (log10l): Define using libm_alias_ldouble.
26526 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26527 (log2l): Define using libm_alias_ldouble.
26528 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26529 (logl): Define using libm_alias_ldouble.
26530 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26531 (powl): Define using libm_alias_ldouble.
26532 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26533 (remainderl): Define using libm_alias_ldouble.
26534 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26535 (sinhl): Define using libm_alias_ldouble.
26536 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26537 (sqrtl): Define using libm_alias_ldouble.
26538 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26539 (tgammal): Define using libm_alias_ldouble.
26540 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26541 (exp10l): Do not use long_double_symbol here.
26542 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26543 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26544 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26545 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26546 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26547 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26548 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26549 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26550 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26551 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26552 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26553 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26554 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26555 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26556 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26557 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26558 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26559 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26560 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26561 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26562 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26563 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26565 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26567 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26568 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26570 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26572 * io/read.c (read): Add libc_hidden_weak.
26573 * sysdeps/mach/hurd/read.c (read): Likewise.
26574 * io/write.c (write): Likewise.
26575 * sysdeps/mach/hurd/write.c (write): Likewise.
26576 * io/pread64.c (__pread64): Likewise.
26577 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26578 * posix/pread64.c (__pread64): Add libc_hidden_def.
26580 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26582 * benchtests/scripts/compare_strings.py: New option -g.
26583 (draw_graph): Print a message that a graph is being generated.
26584 (process_results): Generate graph only if -g is passed.
26585 (main): Process option -g.
26587 * benchtests/scripts/compare_strings.py (process_results):
26588 Better spacing for output.
26590 * benchtests/scripts/compare_strings.py: Use argparse.
26591 * benchtests/README: Document existence of compare_strings.py.
26593 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26595 * math/s_fma.c: Include <libm-alias-double.h>.
26596 (fma): Define using libm_alias_double.
26597 * math/s_nextafter.c: Include <libm-alias-double.h>.
26598 (nextafter): Define using libm_alias_double.
26599 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26600 (acos): Define using libm_alias_double.
26601 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26602 (aocsh): Define using libm_alias_double.
26603 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26604 (asin): Define using libm_alias_double.
26605 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26606 (atan2): Define using libm_alias_double.
26607 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26608 (atanh): Define using libm_alias_double.
26609 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26610 (cosh): Define using libm_alias_double.
26611 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26612 (exp10): Define using libm_alias_double.
26613 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26614 (exp2): Define using libm_alias_double.
26615 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26616 (exp): Define using libm_alias_double.
26617 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26618 (fmod): Define using libm_alias_double.
26619 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26620 (hypot): Define using libm_alias_double.
26621 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26622 (j0): Define using libm_alias_double.
26624 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26625 (j1): Define using libm_alias_double.
26627 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26628 (jn): Define using libm_alias_double.
26630 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26631 (log10): Define using libm_alias_double.
26632 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26633 (log2): Define using libm_alias_double.
26634 * math/w_log_compat.c: Include <libm-alias-double.h>.
26635 (log): Define using libm_alias_double.
26636 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26637 (pow): Define using libm_alias_double.
26638 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26639 (remainder): Define using libm_alias_double.
26640 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26641 (sinh): Define using libm_alias_double.
26642 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26643 (sqrt): Define using libm_alias_double.
26644 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26645 (tgamma): Define using libm_alias_double.
26646 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26647 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26648 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26649 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26650 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26651 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26652 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26653 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26654 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26655 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26656 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26657 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26658 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26659 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26660 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26661 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26662 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26663 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26664 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26665 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26666 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26667 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26668 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26669 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26670 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26672 * math/e_acoshl.c: Remove.
26673 * math/e_acosl.c: Likewise.
26674 * math/e_asinl.c: Likewise.
26675 * math/e_atan2l.c: Likewise.
26676 * math/e_atanhl.c: Likewise.
26677 * math/e_coshl.c: Likewise.
26678 * math/e_expl.c: Likewise.
26679 * math/e_fmodl.c: Likewise.
26680 * math/e_gammal_r.c: Likewise.
26681 * math/e_hypotl.c: Likewise.
26682 * math/e_j0l.c: Likewise.
26683 * math/e_j1l.c: Likewise.
26684 * math/e_jnl.c: Likewise.
26685 * math/e_lgammal_r.c: Likewise.
26686 * math/e_log10l.c: Likewise.
26687 * math/e_log2l.c: Likewise.
26688 * math/e_logl.c: Likewise.
26689 * math/e_powl.c: Likewise.
26690 * math/e_rem_pio2l.c: Likewise.
26691 * math/e_sinhl.c: Likewise.
26692 * math/e_sqrtf128.c: Likewise.
26693 * math/e_sqrtl.c: Likewise.
26694 * math/k_cosl.c: Likewise.
26695 * math/k_sinl.c: Likewise.
26696 * math/k_tanl.c: Likewise.
26697 * math/s_asinhl.c: Likewise.
26698 * math/s_atanl.c: Likewise.
26699 * math/s_cbrtl.c: Likewise.
26700 * math/s_erfl.c: Likewise.
26701 * math/s_expm1l.c: Likewise.
26702 * math/s_log1pl.c: Likewise.
26703 * math/s_tanhl.c: Likewise.
26705 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26708 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26709 [$(subdir) = math] (sysdep_calls): New variable. Has the
26710 previous contents of sysdep_routines, but re-sorted..
26711 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26713 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26714 defined in sysdep_calls and replace by the respective m_* names.
26715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26716 (compat_symbol): Undefine to avoid duplicated compat symbols in
26719 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26721 * math/s_fmaf.c: Include <libm-alias-float.h>.
26722 (fmaf): Define using libm_alias_float.
26723 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26724 (acosf): Define using libm_alias_float.
26725 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26726 (acoshf): Define using libm_alias_float.
26727 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26728 (asinf): Define using libm_alias_float.
26729 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26730 (atan2f): Define using libm_alias_float.
26731 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26732 (atanhf): Define using libm_alias_float.
26733 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26734 (coshf): Define using libm_alias_float.
26735 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26736 (exp10f): Define using libm_alias_float.
26737 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26738 (fmodf): Define using libm_alias_float.
26739 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26740 (hypotf): Define using libm_alias_float.
26741 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26742 (j0f): Define using libm_alias_float.
26744 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26745 (j1f): Define using libm_alias_float.
26747 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26748 (jnf): Define using libm_alias_float.
26750 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26751 (log10f): Define using libm_alias_float.
26752 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26753 (log2f): Define using libm_alias_float.
26754 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26755 (logf): Define using libm_alias_float.
26756 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26757 (powf): Define using libm_alias_float.
26758 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26759 (remainderf): Define using libm_alias_float.
26760 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26761 (sinhf): Define using libm_alias_float.
26762 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26763 (sqrtf): Define using libm_alias_float.
26764 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26765 (tgammaf): Define using libm_alias_float.
26767 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26769 * include/math.h (roundeven): Change hidden_proto call to
26771 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26773 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26774 (y0): Rename to __y0 and define as weak alias.
26775 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26776 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26778 (y0f): Rename to __y0f and define as weak alias.
26779 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26781 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26782 (y1): Rename to __y1 and define as weak alias.
26783 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26784 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26786 (y1f): Rename to __y1f and define as weak alias.
26787 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26789 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26790 (yn): Rename to __yn and define as weak alias.
26791 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26792 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26794 (ynf): Rename to __ynf and define as weak alias.
26795 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26796 (fromfp): Define as weak alias.
26797 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26798 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26799 (fromfpx): Define as weak alias.
26800 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26801 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26802 __getpayload and define as weak alias.
26803 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26804 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26805 __roundeven and define as weak alias.
26806 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26807 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26809 (setpayload): Define as weak alias.
26810 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26811 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26813 (setpayloadsig): Define as weak alias.
26814 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26815 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26816 __totalorder and define as weak alias.
26817 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26818 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26819 to __totalordermag and define as weak alias.
26820 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26821 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26822 (ufromfp): Define as weak alias.
26823 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26824 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26826 (ufromfpx): Define as weak alias.
26827 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26828 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26829 Rename to __getpayload and define as weak alias.
26830 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26831 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26832 Rename to __roundeven and define as weak alias.
26833 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26834 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26835 Rename to __totalorder and define as weak alias.
26836 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26837 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26838 (totalordermag): Rename to __totalordermag and define as weak
26840 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26841 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26843 (__roundevenl): Likewise.
26844 (__totalorderl): Likewise.
26845 (__totalordermagl): Likewise
26846 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26848 (fromfpf128): Define as weak alias.
26849 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
26851 (fromfpxf128): Define as weak alias.
26852 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
26854 (setpayloadf128): Define as weak alias.
26855 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
26856 __setpayloadsigf128.
26857 (setpayloadsigf128): Define as weak alias.
26858 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
26860 (ufromfpf128): Define as weak alias.
26861 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
26863 (ufromfpxf128): Define as weak alias.
26864 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
26865 (fromfpf): Define as weak alias.
26866 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
26868 (fromfpxf): Define as weak alias.
26869 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
26870 __getpayloadf and define as weak alias.
26871 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
26872 __roundevenf and define as weak alias.
26873 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
26875 (setpayloadf): Define as weak alias.
26876 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
26878 (setpayloadsigf): Define as weak alias.
26879 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
26880 __totalorderf and define as weak alias.
26881 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
26882 Rename to __totalordermagf and define as weak alias.
26883 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
26885 (ufromfpf): Define as weak alias.
26886 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
26888 (ufromfpxf): Define as weak alias.
26889 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
26891 (fromfpl): Define as weak alias.
26892 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
26894 (fromfpxl): Define as weak alias.
26895 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
26896 to __getpayloadl and define as weak alias.
26897 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
26898 __roundevenl and define as weak alias.
26899 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
26901 (setpayloadl): Define as weak alias.
26902 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
26904 (setpayloadsigl): Define as weak alias.
26905 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
26906 to __totalorderl and define as weak alias.
26907 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
26908 Rename to __totalordermagl and define as weak alias.
26909 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
26911 (ufromfpl): Define as weak alias.
26912 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
26914 (ufromfpxl): Define as weak alias.
26915 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
26917 (fromfpl): Define as weak alias.
26918 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
26920 (fromfpxl): Define as weak alias.
26921 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
26922 Rename to __getpayloadl and define as weak alias.
26923 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
26924 to __roundevenl and define as weak alias. Call __roundeven
26925 instead of roundeven.
26926 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
26928 (setpayloadl): Define as weak alias.
26929 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
26931 (setpayloadsigl): Define as weak alias.
26932 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
26933 Rename to __totalorderl and define as weak alias.
26934 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
26935 Rename to __totalordermagl and define as weak alias.
26936 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
26938 (ufromfpl): Define as weak alias.
26939 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
26941 (ufromfpxl): Define as weak alias.
26942 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
26944 (fromfpl): Define as weak alias.
26945 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
26947 (fromfpxl): Define as weak alias.
26948 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
26949 __getpayloadl and define as weak alias.
26950 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
26951 __roundevenl and define as weak alias.
26952 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
26954 (setpayloadl): Define as weak alias.
26955 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
26957 (setpayloadsigl): Define as weak alias.
26958 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
26959 __totalorderl and define as weak alias.
26960 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
26961 Rename to __totalordermagl and define as weak alias.
26962 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
26964 (ufromfpl): Define as weak alias.
26965 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
26967 (ufromfpxl): Define as weak alias.
26969 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
26971 * benchtests/bench-string.h (realloc_bufs): New function.
26972 (test_init): Call it.
26973 * benchtests/bench-memset-large.c (do_test): Likewise.
26974 * benchtests/bench-memset.c (do_test): Likewise.
26976 * benchtests/bench-memset-large.c: Print output in JSON
26978 * benchtests/bench-memset.c: Likewise.
26980 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26983 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
26984 * iconvdata/Makefile: Add IBM858.
26985 * iconvdata/gconv-modules: Likewise.
26986 * iconvdata/tst-tables.sh: Likewise.
26987 * iconvdata/ibm858.c: New file.
26988 * localedata/charmaps/IBM858: Likewise.
26990 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
26993 * locales/niu_NZ (LC_TIME): copy "niu_NU".
26994 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
26996 2017-09-14 Mike FABIAN <mfabian@redhat.com>
26999 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27000 and add tel_int_fmt.
27002 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27004 * sysdeps/generic/libm-alias-float128.h: New file.
27005 * sysdeps/generic/math-type-macros-float128.h: Include
27006 <libm-alias-float128.h>.
27007 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27009 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27011 * sysdeps/generic/libm-alias-ldouble.h: New file.
27012 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27013 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27014 * sysdeps/generic/math-type-macros-ldouble.h: Include
27015 <libm-alias-ldouble.h>.
27016 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27017 libm_alias_ldouble.
27019 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27021 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27022 * math/w_exp_compat.c: ... here.
27023 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27024 * math/w_expf_compat.c: ... here.
27025 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27026 * math/w_expl_compat.c: ... here.
27027 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27028 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27029 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27030 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27032 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27034 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27036 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27038 (ldexpl): Only define as compat symbol for libc, not libm.
27039 (scalbnl): Define as compat symbol for libc here.
27040 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27041 define for [IS_IN (libc)].
27042 (__ldexpl_2): Remove alias.
27043 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27044 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27045 name in long_double_symbol call.
27046 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27047 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27048 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27049 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27050 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27052 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27053 Define as compat symbol.
27055 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27057 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27058 * sysdeps/unix/sysv/linux/alpha/Makefile
27059 [$(subdir) = csu] (sysdep_routines): Remove rule.
27061 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27063 * sysdeps/generic/libm-alias-double.h: New file.
27064 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27065 * sysdeps/generic/math-type-macros-double.h: Include
27066 <libm-alias-double.h>.
27067 [declare_mgen_alias] (declare_mgen_alias): Define to use
27069 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27070 (M_LIBM_NEED_COMPAT): Remove macro.
27071 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27072 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27073 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27075 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27076 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27077 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27078 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27079 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27080 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27081 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27082 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27083 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27084 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27085 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27086 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27087 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27088 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27089 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27090 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27091 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27092 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27093 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27094 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27095 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27096 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27097 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27098 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27099 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27100 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27101 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27102 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27103 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27105 (declare_mgen_alias): New macro.
27106 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27107 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27109 (M_LIBM_NEED_COMPAT): Remove macro.
27110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27111 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27112 <first-versions.h>.
27113 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27114 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27116 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27118 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27119 (declare_mgen_alias_2): Remove.
27120 * sysdeps/generic/math-type-macros-double.h
27121 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27123 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27125 (ldexp): Define with declare_mgen_alias.
27126 (scalbn): Likewise.
27128 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27130 * grp/initgroups.c: Include config.h.
27131 (DEFAULT_CONFIG): New macro.
27132 (internal_getgrouplist): Use DEFAULT_CONFIG.
27133 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27134 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27135 (DEFAULT_DEFCONFIG): New macro.
27136 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27137 * nss/grp-lookup.c: Include config.h
27138 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27139 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27140 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27141 * manual/nss.texi: Update default values section.
27143 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27146 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27148 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27149 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27150 Handle MathVec_Prefer_No_AVX512.
27151 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27152 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27155 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27157 * posix/sched_primax.c (__sched_get_priority_max): Add
27159 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27160 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27161 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27162 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27163 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27164 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27165 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27166 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27169 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27171 * sysdeps/generic/libm-alias-float.h: New file.
27172 * sysdeps/generic/math-type-macros-float.h: Include
27173 <libm-alias-float.h>.
27174 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27176 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27179 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27180 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27181 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27182 (HWCAP_IMPORTANT): Likewise.
27183 (HWCAP_X86_64): New enum.
27184 (HWCAP_X86_AVX512_1): Updated.
27185 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27186 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27187 (modules-names): Add x86_64/tst-x86_64mod-1.
27188 (LDFLAGS-tst-x86_64mod-1.so): New.
27189 ($(objpfx)tst-x86_64-1): Likewise.
27190 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27191 (tst-x86_64-1-clean): Likewise.
27192 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27193 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27195 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27197 * po/sv.po: Update translations.
27198 * po/fr.po: Likewise.
27200 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27202 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27204 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27206 * elf/rtld-Rules: Fix $(error) use.
27208 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27211 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27212 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27213 * localedata/locales/bn_BD: “Bengali” was still used in some
27214 comments. Change it to “Bangla”.
27216 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27218 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27220 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27222 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27223 thunderx2t99p1 to list of cpu names.
27224 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27225 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27227 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27229 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27230 Use strcmp instead of tunable_is_name.
27232 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27235 (F_GET_RW_HINT): New macro.
27236 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27237 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27238 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27239 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27240 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27241 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27242 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27243 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27244 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27246 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27247 (F_ADD_SEALS): New macro.
27248 [__USE_GNU] (F_GET_SEALS): Likewise.
27249 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27250 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27251 [__USE_GNU] (F_SEAL_GROW): Likewise.
27252 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27254 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27256 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27257 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27258 * posix/glob_internal.h (__glob_pattern_type):
27259 * posix/glob.c (glob):
27260 * posix/glob_pattern_p.c (__glob_pattern_p):
27263 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27264 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27265 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27266 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27267 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27269 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27270 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27271 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27272 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27273 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27274 * sysdeps/wordsize-64/glob.c: Likewise.
27275 * sysdeps/wordsize-64/glob64.c: Likewise.
27276 * sysdeps/wordsize-64/globfree.c: Likewise.
27277 * sysdeps/wordsize-64/globfree64.c: Likewise.
27278 * sysdeps/unix/sysv/linux/glob.c: New file.
27279 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27280 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27281 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27282 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27283 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27284 adds !GLOB_NO_OLD_VERSION as an extra condition.
27285 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27286 using relative path instead of absolute one.
27287 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27288 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27289 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27290 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27291 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27292 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27295 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27296 (glob): Use the same scratch buffer for both getlogin_r and
27297 getpwnam_r. Don’t require preallocation of the login name. This
27298 simplifies storage allocation, and corrects the handling of
27302 * posix/glob.c (glob): Port recent patches to platforms
27303 lacking getpwnam_r.
27304 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27305 returns an error number rather than setting errno.
27307 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27308 instead of GCC extension.
27309 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27310 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27311 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27315 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27316 * posix/bug-glob1.c: Remove file.
27317 * posix/tst-glob_symlinks.c: New file.
27318 * posix/glob.c (__lstat64): New macro.
27319 (is_dir): New function.
27320 (glob, glob_in_dir): Match symlinks even if they are dangling.
27321 (link_stat, link_exists_p): Remove. All uses removed.
27325 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27326 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27331 * posix/Makefile (routines): Add globfree, globfree64, and
27333 * posix/flexmember.h: New file.
27334 * posix/glob_internal.h: Likewise.
27335 * posix/glob_pattern_p.c: Likewise.
27336 * posix/globfree.c: Likewise.
27337 * posix/globfree64.c: Likewise.
27338 * sysdeps/gnu/globfree64.c: Likewise.
27339 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27340 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27341 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27342 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27343 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27344 * sysdeps/wordsize-64/globfree.c: Likewise.
27345 * sysdeps/wordsize-64/globfree64.c: Likewise.
27346 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27347 [NDEBUG): Remove comments.
27348 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27349 (dirent_type): New type. Use uint_fast8_t not
27350 uint8_t, as C99 does not require uint8_t.
27351 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27352 (struct readdir_result): Use dirent_type. Do not define skip_entry
27353 unless it is needed; this saves a byte on platforms lacking d_ino.
27354 (readdir_result_type, readdir_result_skip_entry):
27355 New functions, replacing ...
27356 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27357 these functions, which were removed. This makes the callers
27358 easier to read. All callers changed.
27359 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27360 (size_add_wrapv, glob_use_alloca): New static functions.
27361 (glob, glob_in_dir): Check for size_t overflow in several places,
27362 and fix some size_t checks that were not quite right.
27363 Remove old code using SHELL since Bash no longer
27365 (glob, prefix_array): Separate MS code better.
27366 (glob_in_dir): Remove old Amiga and VMS code.
27367 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27369 (glob_in_dir): Do not rely on undefined behavior in accessing
27370 struct members beyond their bounds. Use a flexible array member
27372 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27373 0/1. Caller changed.
27374 (glob): Fix memory leaks.
27375 * posix/glob64 (globfree64): Move to separate file.
27376 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27377 (globfree64): Remove hidden alias.
27378 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27380 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27382 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27384 Move compat code to separate file.
27385 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27388 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27390 * resolv/tst-resolv-qtypes.c (domain): Changed to
27391 "const char domain[] =".
27393 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27395 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27398 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27399 (TCP_MD5SIG_EXT): Likewise.
27400 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27401 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27402 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27404 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27406 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27408 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27410 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27413 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27415 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27417 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27418 before assuming that the file is empty. Avoid testing buffer content
27421 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27424 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27426 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27428 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27430 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27432 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27434 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27436 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27439 2017-09-06 Florian Weimer <fweimer@redhat.com>
27441 * malloc/dynarray_emplace_enlarge.c
27442 (__libc_dynarray_emplace_enlarge): Add missing else.
27444 2017-09-06 Florian Weimer <fweimer@redhat.com>
27447 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27448 case of failure to obtain the global conf object.
27450 2017-09-06 Florian Weimer <fweimer@redhat.com>
27453 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27454 dynarray allocation failure.
27456 2017-09-06 Florian Weimer <fweimer@redhat.com>
27458 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27459 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27460 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27462 (response): Call them. Add 'p', '6' flag processing.
27463 (test_reverse): New function.
27464 (test_get2_any): Call it.
27465 (test_no_inet6): Add 'p' test.
27466 (test_inet6): Likewise.
27468 2017-09-06 Florian Weimer <fweimer@redhat.com>
27470 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27471 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27473 (test_gai): Adjust query names. Add additional tests.
27474 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27475 test_get2. Adjust query names. Add additional tests.
27476 (test_no_inet6): New function, extracted from threadfunc.
27477 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27478 Add additional tests.
27480 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27483 * localedata/unicode-gen/utf8_gen.py: Set the width for
27484 characters with Prepended_Concatenation_Mark property to 1
27485 * localedata/charmaps/UTF-8: Updated using the improved script.
27487 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27490 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27491 use the range notation for all ranges of neighbouring characters
27492 with the same width.
27494 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27496 * sysdeps/generic/math-type-macros-double.h: Include
27497 <math-svid-compat.h>.
27498 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27499 * sysdeps/generic/math-type-macros-float.h: Include
27500 <math-svid-compat.h>.
27501 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27502 * sysdeps/generic/math-type-macros-ldouble.h: Include
27503 <math-svid-compat.h>.
27504 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27505 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27507 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27508 * math/w_acosf_compat.c: Likewise.
27509 * math/w_acosh_compat.c: Likewise.
27510 * math/w_acoshf_compat.c: Likewise.
27511 * math/w_acoshl_compat.c: Likewise.
27512 * math/w_acosl_compat.c: Likewise.
27513 * math/w_asin_compat.c: Likewise.
27514 * math/w_asinf_compat.c: Likewise.
27515 * math/w_asinl_compat.c: Likewise.
27516 * math/w_atan2_compat.c: Likewise.
27517 * math/w_atan2f_compat.c: Likewise.
27518 * math/w_atan2l_compat.c: Likewise.
27519 * math/w_atanh_compat.c: Likewise.
27520 * math/w_atanhf_compat.c: Likewise.
27521 * math/w_atanhl_compat.c: Likewise.
27522 * math/w_cosh_compat.c: Likewise.
27523 * math/w_coshf_compat.c: Likewise.
27524 * math/w_coshl_compat.c: Likewise.
27525 * math/w_exp10_compat.c: Likewise.
27526 * math/w_exp10f_compat.c: Likewise.
27527 * math/w_exp10l_compat.c: Likewise.
27528 * math/w_exp2_compat.c: Likewise.
27529 * math/w_exp2f_compat.c: Likewise.
27530 * math/w_exp2l_compat.c: Likewise.
27531 * math/w_fmod_compat.c: Likewise.
27532 * math/w_fmodf_compat.c: Likewise.
27533 * math/w_fmodl_compat.c: Likewise.
27534 * math/w_hypot_compat.c: Likewise.
27535 * math/w_hypotf_compat.c: Likewise.
27536 * math/w_hypotl_compat.c: Likewise.
27537 * math/w_j0_compat.c: Likewise.
27538 * math/w_j0f_compat.c: Likewise.
27539 * math/w_j0l_compat.c: Likewise.
27540 * math/w_j1_compat.c: Likewise.
27541 * math/w_j1f_compat.c: Likewise.
27542 * math/w_j1l_compat.c: Likewise.
27543 * math/w_jn_compat.c: Likewise.
27544 * math/w_jnf_compat.c: Likewise.
27545 * math/w_jnl_compat.c: Likewise.
27546 * math/w_lgamma_r_compat.c: Likewise.
27547 * math/w_lgammaf_r_compat.c: Likewise.
27548 * math/w_lgammal_r_compat.c: Likewise.
27549 * math/w_log10_compat.c: Likewise.
27550 * math/w_log10f_compat.c: Likewise.
27551 * math/w_log10l_compat.c: Likewise.
27552 * math/w_log2_compat.c: Likewise.
27553 * math/w_log2f_compat.c: Likewise.
27554 * math/w_log2l_compat.c: Likewise.
27555 * math/w_log_compat.c: Likewise.
27556 * math/w_logf_compat.c: Likewise.
27557 * math/w_logl_compat.c: Likewise.
27558 * math/w_pow_compat.c: Likewise.
27559 * math/w_powf_compat.c: Likewise.
27560 * math/w_powl_compat.c: Likewise.
27561 * math/w_remainder_compat.c: Likewise.
27562 * math/w_remainderf_compat.c: Likewise.
27563 * math/w_remainderl_compat.c: Likewise.
27564 * math/w_sinh_compat.c: Likewise.
27565 * math/w_sinhf_compat.c: Likewise.
27566 * math/w_sinhl_compat.c: Likewise.
27567 * math/w_sqrt_compat.c: Likewise.
27568 * math/w_sqrtf_compat.c: Likewise.
27569 * math/w_sqrtl_compat.c: Likewise.
27570 * math/w_tgamma_compat.c: Likewise.
27571 * math/w_tgammaf_compat.c: Likewise.
27572 * math/w_tgammal_compat.c: Likewise.
27573 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27574 [LIBM_SVID_COMPAT].
27575 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27576 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27577 [LIBM_SVID_COMPAT].
27578 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27579 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27580 [LIBM_SVID_COMPAT].
27581 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27582 * sysdeps/i386/fpu/w_sqrt.c: New file.
27583 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27584 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27585 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27586 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27587 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27588 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27589 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27590 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27591 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27592 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27593 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27594 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27595 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27596 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27597 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27598 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27599 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27600 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27601 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27602 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27603 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27604 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27605 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27606 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27607 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27608 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27609 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27610 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27611 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27612 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27613 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27614 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27615 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27616 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27617 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27618 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27619 * sysdeps/ia64/fpu/w_log.c: Likewise.
27620 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27621 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27622 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27623 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27624 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27625 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27626 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27627 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27628 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27629 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27630 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27631 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27632 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27633 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27634 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27635 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27636 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27637 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27638 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27639 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27640 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27641 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27642 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27643 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27644 [LIBM_SVID_COMPAT].
27645 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27646 * sysdeps/ieee754/k_standard.c: Likewise.
27647 * sysdeps/ieee754/k_standardf.c: Likewise.
27648 * sysdeps/ieee754/k_standardl.c: Likewise.
27649 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27650 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27651 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27652 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27653 long_double_symbol call on [LIBM_SVID_COMPAT].
27654 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27655 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27656 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27657 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27658 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27659 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27660 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27661 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27662 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27663 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27664 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27665 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27666 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27667 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27668 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27669 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27670 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27671 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27672 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27673 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27674 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27675 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27677 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27679 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27680 * malloc/tst-mallocstate.c: Convert from test-skeleton
27681 to test-driver. Ifdef code using TEST_COMPAT macro.
27682 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27683 * math/test-matherr.c: Likewise.
27685 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27688 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27689 comparing word with byte-swapped constant.
27691 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27694 * locale/iso-639.def: add Miskito.
27695 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27696 * localedata/locales/miq_NI: New file.
27698 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27701 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27702 (__mkdir): Likewise.
27703 * io/chmod.c (__chmod): Add libc_hidden_def.
27704 * io/mkdir.c (__mkdir): Likewise.
27705 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27706 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27707 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27708 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27710 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27712 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27716 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27717 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27719 2017-09-04 Florian Weimer <fweimer@redhat.com>
27721 * math/math.h: Issue warning if log is defined.
27723 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27725 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27726 kernel version to 4.13.
27728 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27730 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27731 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27733 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27734 just <bits/types.h>.
27735 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27736 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27737 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27738 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27739 * misc/preadv2.c: Include <errno.h>.
27740 * misc/preadv64v2.c: Include <errno.h>.
27741 * misc/pwritev2.c: Include <errno.h>.
27742 * misc/pwritev64v2.c: Include <errno.h>.
27743 * sysdeps/posix/preadv2.c: Include <errno.h>.
27744 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27745 Fix <unistd.h> inclusion.
27746 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27747 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27748 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27749 __strtoul_internal): New functions.
27750 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27751 * sysdeps/posix/system.c: Include <sigsetops.h>.
27752 * sysdeps/mach/hurd/i386/Makefile
27753 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27754 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27755 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27756 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27757 __feraiseexcept_renamed to feraiseexcept instead of
27758 __GI_feraiseexcept.
27759 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27760 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27761 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27762 RWF_NOWAIT): Define to 0 if undefined already.
27763 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27765 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27766 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27768 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27770 * manual/math.texi (pow10): Do not document.
27771 (pow10f): Likewise.
27772 (pow10l): Likewise.
27773 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27774 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27775 * math/libm-test-exp10.inc (pow10_test): Remove.
27776 (do_test): Do not call pow10.
27777 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27778 [NO_LONG_DOUBLE] (pow10l): Likewise.
27779 * math/w_exp10f_compat.c (pow10f): Likewise.
27780 * math/w_exp10l_compat.c (pow10l): Likewise.
27781 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27782 (pow10): Make into compat symbol.
27783 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27784 (pow10f): Make into compat symbol.
27785 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27786 (pow10l): Make into compat symbol.
27787 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27789 (CFLAGS-nldbl-pow10.c): Remove variable..
27790 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27791 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27792 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27793 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27794 Undefine and redefine.
27795 (pow10l): Make into compat symbol.
27796 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27797 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27798 * sysdeps/arm/libm-test-ulps: Likewise.
27799 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27800 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27801 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27802 * sysdeps/microblaze/libm-test-ulps: Likewise.
27803 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27804 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27805 * sysdeps/nios2/libm-test-ulps: Likewise.
27806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27807 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27808 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27809 * sysdeps/sh/libm-test-ulps: Likewise.
27810 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27811 * sysdeps/tile/libm-test-ulps: Likewise.
27812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27814 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27816 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27818 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27820 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27821 "../ChangeLog.old/ChangeLog.8".
27822 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27823 "../ChangeLog.old/ChangeLog.14".
27825 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27827 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27830 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27832 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27834 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27836 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27837 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27839 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27841 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27842 32 atexit handlers.
27844 2017-09-01 Zack Weinberg <zackw@panix.com>
27846 * math/math.h (HUGE_VAL): Improve commentary.
27848 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27849 Andreas Schwab <schwab@suse.de>
27852 * include/stdio.h (__gen_tempfd): New function.
27853 * stdio-common/Makefile (routines): Add gentempfd.
27854 * stdio-common/gentempfd.c: New file.
27855 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
27856 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
27857 unnamed file first.
27859 2017-09-01 Florian Weimer <fweimer@redhat.com>
27863 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
27864 result to determine success or failure, not the errno value.
27865 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
27866 (tst-nss-files-hosts-erange): Link with -ldl.
27867 * nss/tst-nss-files-hosts-erange.c: New file.
27868 * nss/tst-resolv-basic.c (response): Handle nodata.example.
27869 (do_test): Add NO_DATA tests.
27870 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
27871 (do_test): Call it.
27873 2017-09-01 Florian Weimer <fweimer@redhat.com>
27876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
27877 coming from gethostbyname2_r.
27879 2017-09-01 Florian Weimer <fweimer@redhat.com>
27881 * support/namespace.h (struct support_chroot_configuration): Add
27883 (struct support_chroot): Add path_hosts, path_host_conf.
27884 * support/support_chroot.c (write_file): New function.
27885 (support_chroot_create): Call it to process /etc/resolv.conf,
27886 /etc/hosts, /etc/host.conf.
27887 (support_chroot_free): Update.
27889 2017-09-01 Florian Weimer <fweimer@redhat.com>
27891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
27892 status indicates it is set.
27894 2017-09-01 Florian Weimer <fweimer@redhat.com>
27897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
27898 function lookup failures more reliable.
27900 2017-09-01 Florian Weimer <fweimer@redhat.com>
27902 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
27903 (getcanonname): Likewise.
27904 (gaih_inet): Likewise.
27906 2017-09-01 Florian Weimer <fweimer@redhat.com>
27908 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
27909 (getcanonname): Likewise.
27910 (gaih_inet): Likewise.
27912 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27913 Richard Henderson <rth@twiddle.net>
27915 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
27916 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
27917 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
27918 (IREG_SIZE, OREG_SIZE): New macros.
27919 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
27920 (IREG_SIZE, OREG_SIZE): New macros.
27921 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
27922 (IREG_SIZE): New macro.
27923 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
27924 (IREG_SIZE): New macro.
27925 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
27927 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
27928 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27929 (__CONCATX): Handle exceptions correctly on large values that may
27931 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
27932 Initialize if not already set.
27933 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27935 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27937 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
27938 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
27940 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
27942 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
27944 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
27946 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
27948 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
27950 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
27952 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
27953 (NO_CANCELLATION): Likewise.
27954 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
27956 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
27958 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
27960 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
27961 (NO_CANCELLATION): Likewise.
27962 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
27963 (NO_CANCELLATION): Likewise.
27964 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
27966 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
27968 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
27970 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
27972 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
27974 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
27975 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
27977 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27979 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
27982 2017-08-31 Florian Weimer <fweimer@redhat.com>
27984 * include/libc-symbols.h (internal_function): Remove.
27986 2017-08-31 Florian Weimer <fweimer@redhat.com>
27988 * stdlib/fmtmsg.c (internal_addseverity): Remove
27991 2017-08-31 Florian Weimer <fweimer@redhat.com>
27993 * stdio-common/printf_fp.c (group_number): Remove
27995 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
27997 2017-08-31 Florian Weimer <fweimer@redhat.com>
27999 * posix/fnmatch.c (internal_function): Remove definition.
28000 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28001 * posix/regcomp.c (peek_token, init_word_char)
28002 (duplicate_node_closure, fetch_token, peek_token)
28003 (peek_token_bracket, build_range_exp, build_collating_symbol):
28005 * posix/regex_internal.c (re_string_construct_common)
28006 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28007 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28008 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28009 (re_string_translate_buffer, re_string_reconstruct)
28010 (re_string_peek_byte_case, re_string_fetch_byte_case)
28011 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28012 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28013 (re_node_set_add_intersect, re_node_set_init_union)
28014 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28015 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28016 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28017 (re_acquire_state_context): Likewise.
28018 * posix/regex_internal.h (internal_function): Remove definition.
28019 (re_string_realloc_buffers, build_wcs_buffer)
28020 (build_wcs_upper_buffer, build_upper_buffer)
28021 (re_string_translate_buffer, re_string_context_at)
28022 (re_string_char_size_at, re_string_wchar_at)
28023 (re_string_elem_size_at): Likewise.
28024 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28025 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28026 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28027 (re_search_internal, re_search_2_stub, re_search_stub)
28028 (re_copy_regs, prune_impossible_nodes, check_matching)
28029 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28030 (free_fail_stack_return, sift_states_iter_mb)
28031 (sift_states_backward, build_sifted_states)
28032 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28033 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28034 (check_subexp_limits, sift_states_bkref, merge_state_array)
28035 (find_recover_state, transit_state, merge_state_with_log)
28036 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28037 (transit_state_mb, transit_state_bkref, get_subexp)
28038 (get_subexp_sub, find_subexp_node, check_arrival)
28039 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28040 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28041 (check_node_accept_bytes, find_collation_sequence_value)
28042 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28043 (acquire_init_state_context, check_halt_node_context)
28044 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28045 (sub_epsilon_src_nodes): Likewise.
28046 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28047 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28048 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28049 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28050 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28051 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28052 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28053 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28054 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28055 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28056 (PREADV): Likewise.
28057 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28058 (PREADV): Likewise.
28059 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28060 (PWRITEV): Likewise.
28061 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28062 (PWRITEV): Likewise.
28063 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28064 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28066 2017-08-31 Florian Weimer <fweimer@redhat.com>
28068 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28069 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28070 Remove internal_function.
28071 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28072 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28073 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28074 (__deallocate_stack, __libc_pthread_init)
28075 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28076 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28077 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28079 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28080 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28081 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28083 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28084 (__pthread_mutex_unlock_usercnt): Likewise.
28086 2017-08-31 Florian Weimer <fweimer@redhat.com>
28088 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28089 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28090 (fts_safe_changedir): Remove internal_function.
28091 * io/ftw.c (internal_function): Remove definition.
28092 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28094 2017-08-31 Florian Weimer <fweimer@redhat.com>
28096 * inet/deadline.c (__deadline_current_time)
28097 (__deadline_from_timeval, __deadline_to_ms): Remove
28099 * inet/getnameinfo.c (nrl_domainname): Likewise.
28100 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28101 * inet/inet6_option.c (add_pad): Likewise.
28102 * inet/net-internal.h (__deadline_current_time)
28103 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28104 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28105 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28106 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28108 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28110 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28111 include <bits/nan.h>.
28112 * math/Makefile (headers): Remove bits/nan.h.
28113 * bits/nan.h: Remove.
28114 * sysdeps/ieee754/bits/nan.h: Likewise.
28115 * sysdeps/mips/bits/nan.h: Likewise.
28117 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28118 not include <bits/inf.h>.
28119 * math/Makefile (headers): Remove bits/inf.h.
28120 * bits/inf.h: Remove.
28121 * sysdeps/ieee754/bits/inf.h: Likewise.
28123 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28124 bits/huge_vall.h or bits/huge_val_flt128.h.
28125 (HUGE_VAL): Define directly here.
28126 [__USE_ISOC99] (HUGE_VALF): Likewise.
28127 [__USE_ISOC99] (HUGE_VALL): Likewise.
28128 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28129 (HUGE_VAL_F128): Likewise.
28130 * math/Makefile (headers): Remove bits/huge_val.h,
28131 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28132 * bits/huge_val.h: Remove.
28133 * bits/huge_val_flt128.h: Likewise.
28134 * bits/huge_valf.h: Likewise.
28135 * bits/huge_vall.h: Likewise.
28136 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28137 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28138 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28139 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28140 * sysdeps/sh/bits/huge_val.h: Likewise.
28141 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28142 * sysdeps/x86/bits/huge_vall.h: Likewise.
28144 2017-08-31 Florian Weimer <fweimer@redhat.com>
28146 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28148 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28150 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28151 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28152 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28153 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28154 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28155 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28156 * elf/dl-libc.c (dlerror_run): Likewise.
28157 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28158 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28159 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28160 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28162 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28163 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28164 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28165 * elf/dl-profile.c (_dl_start_profile): Likewise.
28166 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28167 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28169 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28170 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28171 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28172 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28173 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28174 (_dl_allocate_tls_storage): Likewise.
28175 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28176 (_dl_check_all_versions): Likewise.
28177 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28178 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28179 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28180 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28181 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28182 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28183 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28184 internal_function from __dl_start.
28185 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28186 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28187 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28188 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28189 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28190 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28191 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28192 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28193 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28194 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28195 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28196 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28197 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28198 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28199 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28201 (struct rtld_global_ro): Remove internal_function from the
28202 _dl_lookup_symbol_x member.
28203 (_dl_symbol_value): Remove. No longer defined anywhere.
28204 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28206 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28207 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28208 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28209 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28210 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28211 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28212 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28213 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28214 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28215 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28216 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28217 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28219 2017-08-31 Florian Weimer <fweimer@redhat.com>
28221 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28222 Remove internal_function.
28223 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28225 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28228 2017-08-31 Florian Weimer <fweimer@redhat.com>
28230 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28231 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28232 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28234 2017-08-31 Florian Weimer <fweimer@redhat.com>
28236 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28237 (__gai_enqueue_request): Remove internal_function.
28238 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28239 (__gai_remove_request, __gai_notify, __gai_notify_only)
28240 (__gai_sigqueue): Likewise.
28241 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28242 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28243 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28244 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28247 2017-08-31 Florian Weimer <fweimer@redhat.com>
28249 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28250 * include/dirent.h (__opendirat, __getdents, __getdents64)
28251 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28252 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28253 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28254 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28256 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28258 2017-08-31 Florian Weimer <fweimer@redhat.com>
28260 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28262 (GETCWD_RETURN_TYPE): Likewise.
28264 2017-08-31 Florian Weimer <fweimer@redhat.com>
28266 * include/time.h (__tz_compute, __strptime_internal): Remove
28268 * time/strptime_l.c (__strptime_internal): Likewise.
28269 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28271 2017-08-31 Florian Weimer <fweimer@redhat.com>
28273 * iconv/gconv.c (__gconv): Remove internal_function.
28274 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28275 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28276 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28277 (__gconv_release_cache): Likewise.
28278 * iconv/gconv_close.c (__gconv_close): Likewise.
28279 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28280 (read_conf_file, __gconv_get_path): Likewise.
28281 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28282 (__gconv_release_step, gen_steps, increment_counter)
28283 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28284 (__gconv_close_transform, free_modules_db): Likewise.
28285 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28287 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28288 (__gconv_find_transform, __gconv_lookup_cache)
28289 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28290 (__gconv_close_transform, __gconv_release_cache)
28291 (__gconv_loaded_object, __gconv_release_shlib)
28292 (__gconv_compare_alias): Likewise.
28293 * iconv/gconv_open.c (__gconv_open): Likewise.
28294 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28295 * iconv/iconvconfig.c (add_module): Likewise.
28296 * intl/dcigettext.c (plural_lookup, guess_category_value)
28297 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28298 * intl/eval-plural.h (plural_eval): Likewise.
28299 * intl/finddomain.c (_nl_find_domain): Likewise.
28300 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28301 (_nl_load_domain, _nl_find_msg): Likewise.
28302 (internal_function): Remove definition.
28303 * intl/loadinfo.h (internal_function): Likewise.
28304 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28306 * intl/localealias.c (internal_function): Remove definition.
28307 (read_alias_file): Remove internal_function.
28308 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28309 * intl/plural-exp.h (internal_function): Remove definition.
28310 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28312 * intl/plural.c: Regenerate.
28313 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28314 * locale/coll-lookup.c (__collidx_table_lookup)
28315 (__collseq_table_lookup): Likewise.
28316 * locale/coll-lookup.h (__collidx_table_lookup)
28317 (__collseq_table_lookup): Likewise.
28318 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28319 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28320 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28321 (_nl_unload_locale): Likewise.
28322 * locale/localeinfo.h (struct __locale_data): Remove
28323 internal_function from cleanup member.
28324 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28325 (_nl_remove_locale, _nl_load_locale_from_archive)
28326 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28327 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28328 (_nl_cleanup_time): Remove internal_function.
28329 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28330 (_nl_parse_alt_digit): Likewise.
28331 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28332 (_nl_select_era_entry): Likewise.
28333 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28334 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28335 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28336 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28337 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28339 2017-08-31 Florian Weimer <fweimer@redhat.com>
28341 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28342 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28343 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28344 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28346 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28347 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28348 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28349 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28351 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28353 2017-08-31 Florian Weimer <fweimer@redhat.com>
28355 * misc/getttyent.c (skip, value): Remove internal_function.
28356 * misc/syslog.c (openlog_internal): Likewise.
28357 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28359 2017-08-31 Florian Weimer <fweimer@redhat.com>
28361 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28362 (__nss_rewrite_field): Remove internal_function.
28363 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28364 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28365 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28366 * nss/nsswitch.c (nss_parse_file, nss_getline)
28367 (nss_parse_service_list, nss_new_service): Likewise.
28368 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28369 * nss/valid_field.c (__nss_valid_field): Likewise.
28370 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28372 2017-08-31 Florian Weimer <fweimer@redhat.com>
28374 * malloc/arena.c (__malloc_fork_lock_parent)
28375 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28376 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28377 internal_function from defintions.
28378 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28379 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28380 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28381 internal_function from declarations.
28382 * malloc/malloc.c (internal_function): Do not define.
28383 (mem2mem_check): Remove internal_function from declaration.
28384 (munmap_chunk, mremap_chunk): Remove internal_function.
28385 * malloc/mtrace.c (tr_where): Likewise.
28387 2017-08-31 Florian Weimer <fweimer@redhat.com>
28389 * include/rpc/pmap_clnt.h (__get_socket): Remove
28391 * sunrpc/auth_des.c (synchronize): Likewise.
28392 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28393 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28394 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28395 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28396 (key_call): Likewise.
28397 * sunrpc/pm_getport.c (__get_socket): Likewise.
28398 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28399 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28400 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28401 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28402 (invalidate): Likewise.
28403 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28404 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28405 (set_input_fragment, get_input_bytes): Likewise.
28407 2017-08-31 Florian Weimer <fweimer@redhat.com>
28409 * malloc/malloc.c (_int_free): Remove locked variable and related
28412 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28415 * Makerules (build-module-helper-objlist): Filter out
28416 $(elf-objpfx)sofini.os.
28417 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28420 2017-08-31 Florian Weimer <fweimer@redhat.com>
28422 * libio/fcloseall.c: Assume weak_alias is defined.
28423 * libio/feof.c: Likewise.
28424 * libio/fileno.c: Likewise.
28425 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28426 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28428 (_IO_file_open): Call __open directly.
28429 (_IO_new_file_sync): Assume ESPIPE is defined.
28430 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28431 (_IO_new_file_write): Call __write directly.
28432 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28433 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28434 * libio/genops.c: Assume _LIBC is defined.
28435 (save_for_backup): Remove internal_function.
28436 * libio/getc.c: Assume weak_alias is defined.
28437 * libio/getwc.c: Likewise.
28438 * libio/iofclose.c: Assume _LIBC is defined.
28439 * libio/iofdopen.c: Likewise.
28440 (_IO_fcntl): Remove macro definition.
28441 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28442 Call __fcntl directly.
28443 * libio/iofflush.c: Assume weak_alias is defined.
28444 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28446 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28447 * libio/iofgets.c: Likewise.
28448 * libio/iofopen.c: Assume _LIBC is defined.
28449 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28450 * libio/iofputs.c: Assume weak_alias is defined.
28451 * libio/iofread.c: Likewise.
28452 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28453 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28454 * libio/ioftell.c: Assume weak_alias is defined.
28455 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28456 * libio/iofwide.c: Assume _LIBC is defined.
28457 (_IO_fwide): Drop SHARED conditional because it is implied by
28459 * libio/iofwrite.c: Assume weak_alias is defined.
28460 * libio/iogetdelim.c: Likewise.
28461 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28462 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28463 (_IO_getwline): Call __wmemcpy directly.
28464 * libio/iopopen.c: Assume _LIBC is defined.
28465 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28466 (_IO_close): Remove macro definitions.
28467 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28469 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28471 * libio/ioputs.c: Assume weak_alias is defined.
28472 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28473 * libio/iosetbuffer.c: Assume weak_alias is defined.
28474 * libio/iosetvbuf.c: Likewise.
28475 * libio/ioungetc.c: Likewise.
28476 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28477 libc_hidden_def, libc_hidden_weak, NULL are defined.
28478 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28479 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28481 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28483 (_IO_old_file_init_internal): Drop SHARED conditional because it
28484 is implied by SHLIB_COMPAT.
28485 (_IO_old_file_fopen): Call __open directly.
28486 (_IO_old_file_sync): Assume ESPIPE is defined.
28487 (_IO_old_file_write): Call __write directly.
28488 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28489 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28490 Call __fcntl directly.
28491 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28492 (_IO_old_fgetpos): Assume EIO is defined.
28493 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28494 (_IO_old_fgetpos64): Assume EIO is defined.
28495 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28496 (_IO_old_fsetpos): Assume EIO is defined.
28497 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28498 (_IO_old_fsetpos64): Assume EIO is defined.
28499 * libio/oldiopopen.c: Assume _LIBC is defined.
28500 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28501 (_IO_close): Remove macro definitions.
28502 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28504 (_IO_old_proc_close): Call __close, __waitpid directly.
28505 * libio/put.c: Assume weak_alias is defined.
28506 * libio/stdfiles.c: Assume _LIBC is defined.
28507 * libio/stdio.c: Likewise.
28508 * libio/wfileops.c: Likewise.
28509 (_IO_wfile_sync): Assume ESPIPE is defined.
28510 * libio/wgenops.c: Assume _LIBC is defined.
28511 (save_for_wbackup): Remove internal_function.
28513 2017-08-31 Florian Weimer <fweimer@redhat.com>
28515 * malloc/malloc.c (top_check): Change return type to void. Remove
28517 * malloc/hooks.c (top_check): Likewise.
28518 (malloc_check, realloc_check, memalign_check): Adjust.
28520 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28523 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28524 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28525 sigcontext and namespace requirements.
28526 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28527 * sysdeps/m68k/sys/ucontext.h: Likewise.
28528 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28529 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28530 <bits/sigcontext.h>.
28531 (__ctx): Define earlier.
28532 (mcontext_t): Define structure contents rather than using struct
28534 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28535 __glibc_reserved1 instead of __reserved.
28536 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28537 <bits/sigcontext.h>.
28538 (__ctx): Define earlier.
28539 (mcontext_t): Define structure contents rather than using struct
28541 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28542 mcontext_t instead of struct sigcontext.
28543 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28544 <bits/sigcontext.h>.
28545 (__ctx): Define earlier.
28546 (mcontext_t): Define structure contents rather than using struct
28548 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28549 <bits/sigcontext.h>.
28550 (__ctx): Define earlier.
28551 (mcontext_t): Define structure contents rather than using struct
28553 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28554 mcontext_t instead of struct sigcontext.
28555 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28556 mcontext_t instead of struct sigcontext.
28557 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28558 <bits/sigcontext.h>.
28559 (__ctx): New macro.
28560 (struct __ia64_fpreg_mcontext): New type.
28561 (mcontext_t): Define structure contents rather than using struct
28563 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28564 (uc_sigmask): Define using __ctx.
28565 (uc_stack): Likewise.
28566 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28567 <bits/sigcontext.h>.
28568 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28569 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28570 <bits/sigcontext.h>.
28571 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28572 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28573 <bits/sigcontext.h>.
28574 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28575 <bits/sigcontext.h>.
28576 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28577 <bits/sigcontext.h>.
28578 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28579 <bits/sigcontext.h>.
28580 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28581 <bits/sigcontext.h>.
28582 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28583 <bits/sigcontext.h>.
28584 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28585 <bits/sigcontext.h>.
28586 (__ctx): Define earlier.
28587 (mcontext_t): Define structure contents rather than using struct
28589 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28590 <bits/sigcontext.h>. Include <bits/types.h>.
28591 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28592 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28593 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28594 (test-xfail-UNIX98/signal.h/conform): Likewise.
28595 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28596 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28597 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28598 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28599 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28600 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28601 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28602 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28603 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28605 2017-08-30 Florian Weimer <fweimer@redhat.com>
28607 * malloc/dynarray_emplace_enlarge.c
28608 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28609 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28610 * malloc/tst-dynarray.c (test_long_overflow): New function.
28611 (do_test): Call it.
28613 2017-08-30 Florian Weimer <fweimer@redhat.com>
28615 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28616 (set_arena_corrupt): Remove definitions.
28617 (mtrim): Do not check for corrupt arena.
28618 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28621 2017-08-30 Florian Weimer <fweimer@redhat.com>
28624 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28626 (ptmalloc_init): Do not set or use check_action.
28627 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28628 call to malloc_printerr. Remove return statement.
28629 (free_check): Likewise. Remove arena unlock.
28630 (top_check): Update comment. Adjust call to malloc_printerr.
28631 Remove heap repair code.
28632 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28633 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28634 (sysmalloc): Adjust call to malloc_printerr.
28635 (munmap_chunk, __libc_realloc): Likewise. Remove return
28637 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28638 Remove errout label and corresponding gotos.
28639 (_int_free): Likewise. Remove arena unlock.
28640 (do_set_mallopt_check): Do not set check_action.
28641 (malloc_printerr): Adjust parameter list. Do not mark arena as
28643 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28645 * manual/probes.texi (Memory Allocation Probes): Remove
28646 memory_mallopt_check_action.
28648 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28650 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28651 Use pointer to uint64_t instead of long int for sp.
28653 2017-08-30 Florian Weimer <fweimer@redhat.com>
28656 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28657 without printing a backtrace. Do not leak any information in the
28659 * manual/memory.texi (Heap Consistency Checking): Update.
28660 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28662 2017-08-30 Florian Weimer <fweimer@redhat.com>
28664 Do not scale NPTL tests with available number of CPUs.
28665 * nptl/tst-cond16.c (count): Set to constant value of 8.
28666 * nptl/tst-cond18.c (count): Likewise.
28668 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28671 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28672 Define to take a second argument that is a macro that
28673 concatentates a suffix, not the suffix itself.
28674 (__CONCAT_d): New macro.
28675 (__CONCAT_f): Likewise.
28676 (__CONCAT_l): Likewise.
28678 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28680 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28683 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28684 Aurelien Jarno <aurelien@aurel32.net>
28685 Maciej W. Rozycki <macro@imgtec.com>
28688 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28689 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28690 `mips16-syscall6' and `mips16-syscall7'.
28691 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28692 (CFLAGS-mips16-syscall7.c): Remove.
28693 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28694 Remove `__mips16_syscall5', `__mips16_syscall6' and
28695 `__mips16_syscall7'.
28696 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28697 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28698 `__mips_syscall_return'.
28699 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28700 (__mips16_syscall1): Likewise.
28701 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28702 (__mips16_syscall2): Likewise.
28703 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28704 (__mips16_syscall3): Likewise.
28705 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28706 (__mips16_syscall4): Likewise.
28707 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28709 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28711 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28713 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28714 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28715 `__mips16_syscall5'. Remove prototype.
28716 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28717 `__mips16_syscall6'. Remove prototype.
28718 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28719 `__mips16_syscall7'. Remove prototype.
28720 (__nomips16, __mips16_syscall_return): Move to...
28721 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28722 (__nomips16, __mips_syscall_return): ... here.
28723 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28724 `__mips16_syscall_return' to `__mips_syscall_return'.
28725 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28726 `internal_syscall##nr'.
28727 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28728 `internal_syscall##nr'.
28729 (FORCE_FRAME_POINTER): Remove.
28730 (__mips_syscall5): New prototype.
28731 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28732 (__mips_syscall6): New prototype.
28733 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28734 (__mips_syscall7): New prototype.
28735 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28736 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28737 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28738 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28739 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28740 (sysdep_routines): Add libc-do-syscall.
28741 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28742 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28744 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28747 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28748 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28749 (advise_stack_range): New function.
28750 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28751 stack non required to advise_stack_range at allocatestack.c
28753 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28755 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28757 2017-08-29 Florian Weimer <fweimer@redhat.com>
28760 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28761 __end_fct. Mangle __end_fct after setting it to NULL.
28762 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28763 (modules-names, modules-names-tests): Add
28764 tst-gconv-init-failure-mod.
28765 (gconv-modules): New target.
28766 (tst-gconv-init-failure-mod.so): Link against libsupport.
28767 (tst-gconv-init-failure): Depend on gconv-modules,
28768 tst-gconv-init-failure-mod.so.
28769 * iconv/tst-gconv-init-failure-mod.c: New file.
28770 * iconv/tst-gconv-init-failure.c: Likewise.
28771 * iconv/test-gconv-modules: Likewise.
28773 2017-08-29 Florian Weimer <fweimer@redhat.com>
28776 * iconv/gconv_db.c (free_derivation): Remove redundant
28778 (gen_steps): Unconditionally mangle __btowc_fct after
28780 (increment_counter): Likewise. Do not call init_fct for internal
28783 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28786 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28787 (_MSUF_): Remove macro.
28788 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28790 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28791 (__REDIRFROM_X): New macro.
28792 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28794 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28795 (__REDIRTO_X): Likewise.
28796 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28798 (__MATH_REDIRCALL_2): Likewise.
28799 (__MATH_REDIRCALL_INTERNAL): Likewise.
28800 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28801 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28802 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28803 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28804 * math/test-finite-macros.c: New file.
28805 * math/Makefile (tests): Add test-finite-macros.
28806 (CFLAGS-test-finite-macros.c): New variable.
28808 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28809 Jeff Law <law@redhat.com>
28812 Mangle NULL pointers in iconv/gconv.
28813 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28814 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28815 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28816 is non-NULL before demangling the end_fct. Check for NULL
28817 end_fct after demangling.
28818 (__gconv_release_step): Demangle the end_fct before checking
28819 it for NULL. Remove assert on __shlibc_handle != NULL.
28820 (gen_steps): Don't check btowc_fct for NULL before mangling.
28821 Demangle init_fct before checking for NULL.
28822 (increment_counter): Likewise.
28823 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28824 end_fct for NULL before mangling.
28825 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28828 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28831 * locale/iso-639.def: add Morisyen.
28833 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28836 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28837 (iszero): New C++ implementation that does not use
28838 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28839 signaling nans are enabled, since __builtin_types_compatible_p
28840 is a C-only feature.
28841 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28842 defined, include ieee754_float128.h for access to the union and
28843 member ieee854_float128.ieee.
28844 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28845 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28846 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28847 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28848 options of test-math-zero on powerpc64le.
28850 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
28852 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28853 Change double to float.
28855 2017-08-28 Joseph Myers <joseph@codesourcery.com>
28857 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
28859 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
28860 conditional code; define contents only for [LIBM_SVID_COMPAT].
28862 2017-08-28 Florian Weimer <fweimer@redhat.com>
28864 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
28865 (abi-lp64_be-options): Remove.
28866 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
28867 (abi-hard-options): Likewise.
28868 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
28869 (abi-o32_hard-options, abi-o32_soft_2008-options)
28870 (abi-o32_hard_2008-options, abi-n32_soft-options)
28871 (abi-n32_hard-options, abi-n32_soft_2008-options)
28872 (abi-n32_hard_2008-options, abi-n64_soft-options)
28873 (abi-n64_hard-options, abi-n64_soft_2008-options)
28874 (abi-n64_hard_2008-options): Likewise.
28875 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
28876 (abi-64-v1-options, abi-64-v2-options): Likewise.
28877 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
28878 (abi-64-options): Likewise.
28879 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
28880 (abi-64-options): Likewise.
28881 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
28882 (abi-64-options): Likewise.
28883 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
28884 (abi-64-options, abi-x32-options): Likewise.
28886 2017-08-28 Florian Weimer <fweimer@redhat.com>
28888 Store supported list of SYS_* system calls in the source tree.
28889 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
28890 (bits/syscall.h): Generate from list file.
28891 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
28892 [$(subdir) = misc] (tests): Add tst-syscall-list.
28893 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
28894 [$(subdir) = misc] (tst-syscall-list-macros.list)
28895 [$(subdir) = misc] (tst-syscall-list-nr.list)
28896 (tst-syscall-list-sys.list): Helper targets for new
28897 tst-syscall-list test.
28898 [$(subdir) = misc] (tst-syscall-list.out): Run test script
28899 tst-syscall-list.sh.
28900 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
28901 target. Do not include bits/syscall.d.
28902 [$(subdir) = misc] (generated): Do not update.
28903 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
28904 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
28905 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
28906 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
28908 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
28910 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
28911 (tst-cxa_atexit, tst-on_exit): Likewise.
28912 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
28913 tst-cxa_atexit, and tst-on_exit.
28914 * stdlib/tst-atexit-common.c: New file.
28915 * stdlib/tst-atexit.c: New file.
28916 * stdlib/tst-at_quick_exit.c: New file.
28917 * stdlib/tst-cxa_atexit.c: New file.
28918 * stdlib/tst-on_exit.c: New file.
28920 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28922 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
28923 * mach/stack_chk_fail_local.c: New file.
28924 * hurd/stack_chk_fail_local.c: New file.
28925 * mach/Machrules ($(interface-library)-routines): Add
28926 stack_chk_fail_local.
28927 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
28928 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
28929 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
28930 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
28931 * hurd/Makefile (CFLAGS-hurdstartup.o,
28932 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
28934 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
28936 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28937 (index_cpu_*, index_arch_*): Removed.
28939 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28941 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
28942 Use uint64_t instead of unsigned long.
28944 2017-08-25 Joseph Myers <joseph@codesourcery.com>
28946 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
28947 [__HAVE_DISTINCT_FLOAT128].
28949 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
28950 of <bits/math-finite.h>.
28951 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
28952 inclusion of <bits/math-finite.h>.
28953 * math/bits/math-finite.h (__REDIRTO_X): Do not define
28954 conditionally on [__MATH_DECLARING_LDOUBLE && defined
28955 __NO_LONG_DOUBLE_MATH].
28956 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
28957 (__MATH_REDIRCALL_2): Likewise.
28958 (__MATH_REDIRCALL_INTERNAL): Likewise.
28959 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28960 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
28961 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
28965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
28967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
28969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
28971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
28973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
28975 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28976 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28977 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28978 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
28980 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
28981 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
28982 w_sqrtf_compat-ppc32.
28984 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28986 * math/math.h [defined __cplusplus] (issignaling): In the long
28987 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
28988 is not defined. Call __issignaling, otherwise.
28990 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28992 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
28993 syscall definitions and replace __builtin_expect with __glibc_likely.
28994 * sysdeps/unix/syscall-template.S: Update comment about cancellable
28996 (SYSCALL_CANCELLABLE): Removedefinition
28997 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
28999 (PSEUDO_END): Likewise.
29000 [IS_IN (libpthread)] (CENABLE): Likewise.
29001 [IS_IN (libpthread)] (CDISABLE): Likewise.
29002 [IS_IN (libc)] (CENABLE): Likewise.
29003 [IS_IN (libc)] (CENABLE): Likewise.
29004 [IS_IN (librt)] (CDISABLE): Likewise.
29005 [IS_IN (librt)] (CDISABLE): Likewise.
29006 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29007 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29009 (PSEUDO_END): Likewise.
29010 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29011 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29012 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29013 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29014 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29015 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29016 (CENABLE): Likewise.
29017 (CDISABLE): Likewise.
29018 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29019 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29021 (PSEUDO_END): Likewise.
29022 [IS_IN (libpthread)] (CENABLE): Likewise.
29023 [IS_IN (libpthread)] (CDISABLE): Likewise.
29024 [IS_IN (libc)] (CENABLE): Likewise.
29025 [IS_IN (libc)] (CENABLE): Likewise.
29026 [IS_IN (librt)] (CDISABLE): Likewise.
29027 [IS_IN (librt)] (CDISABLE): Likewise.
29028 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29029 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29031 (PSEUDO_END): Likewise.
29032 [IS_IN (libpthread)] (CENABLE): Likewise.
29033 [IS_IN (libpthread)] (CDISABLE): Likewise.
29034 [IS_IN (libc)] (CENABLE): Likewise.
29035 [IS_IN (libc)] (CENABLE): Likewise.
29036 [IS_IN (librt)] (CDISABLE): Likewise.
29037 [IS_IN (librt)] (CDISABLE): Likewise.
29038 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29039 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29041 (PSEUDO_END): Likewise.
29042 [IS_IN (libpthread)] (CENABLE): Likewise.
29043 [IS_IN (libpthread)] (CDISABLE): Likewise.
29044 [IS_IN (libc)] (CENABLE): Likewise.
29045 [IS_IN (libc)] (CENABLE): Likewise.
29046 [IS_IN (librt)] (CDISABLE): Likewise.
29047 [IS_IN (librt)] (CDISABLE): Likewise.
29048 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29049 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29051 (PSEUDO_END): Likewise.
29052 [IS_IN (libpthread)] (CENABLE): Likewise.
29053 [IS_IN (libpthread)] (CDISABLE): Likewise.
29054 [IS_IN (libc)] (CENABLE): Likewise.
29055 [IS_IN (libc)] (CENABLE): Likewise.
29056 [IS_IN (librt)] (CDISABLE): Likewise.
29057 [IS_IN (librt)] (CDISABLE): Likewise.
29058 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29059 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29061 (PSEUDO_END): Likewise.
29062 [IS_IN (libpthread)] (CENABLE): Likewise.
29063 [IS_IN (libpthread)] (CDISABLE): Likewise.
29064 [IS_IN (libc)] (CENABLE): Likewise.
29065 [IS_IN (libc)] (CENABLE): Likewise.
29066 [IS_IN (librt)] (CDISABLE): Likewise.
29067 [IS_IN (librt)] (CDISABLE): Likewise.
29068 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29069 * sysdeps/unix/sysv/linux/microblaze/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/mips/mips64/sysdep-cancel.h (PSEUDO):
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 (SINGLE_THREAD_P): Likewise.
29089 * sysdeps/unix/sysv/linux/mips/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/nios2/sysdep-cancel.h (PSEUDO): Remove
29101 (PSEUDO_END): Likewise.
29102 [IS_IN (libpthread)] (CENABLE): Likewise.
29103 [IS_IN (libpthread)] (CDISABLE): Likewise.
29104 [IS_IN (libc)] (CENABLE): Likewise.
29105 [IS_IN (libc)] (CENABLE): Likewise.
29106 [IS_IN (librt)] (CDISABLE): Likewise.
29107 [IS_IN (librt)] (CDISABLE): Likewise.
29108 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29109 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29110 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29111 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29112 * sysdeps/unix/sysv/linux/s390/s390-32/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.
29122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29124 (PSEUDO_END): Likewise.
29125 [IS_IN (libpthread)] (CENABLE): Likewise.
29126 [IS_IN (libpthread)] (CDISABLE): Likewise.
29127 [IS_IN (libc)] (CENABLE): Likewise.
29128 [IS_IN (libc)] (CENABLE): Likewise.
29129 [IS_IN (librt)] (CDISABLE): Likewise.
29130 [IS_IN (librt)] (CDISABLE): Likewise.
29131 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29132 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29134 (PSEUDO_END): Likewise.
29135 [IS_IN (libpthread)] (CENABLE): Likewise.
29136 [IS_IN (libpthread)] (CDISABLE): Likewise.
29137 [IS_IN (libc)] (CENABLE): Likewise.
29138 [IS_IN (libc)] (CENABLE): Likewise.
29139 [IS_IN (librt)] (CDISABLE): Likewise.
29140 [IS_IN (librt)] (CDISABLE): Likewise.
29141 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29143 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29144 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29145 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29147 (PSEUDO_END): Likewise.
29148 [IS_IN (libpthread)] (CENABLE): Likewise.
29149 [IS_IN (libpthread)] (CDISABLE): Likewise.
29150 [IS_IN (libc)] (CENABLE): Likewise.
29151 [IS_IN (libc)] (CENABLE): Likewise.
29152 [IS_IN (librt)] (CDISABLE): Likewise.
29153 [IS_IN (librt)] (CDISABLE): Likewise.
29154 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29155 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29157 (PSEUDO_END): Likewise.
29158 [IS_IN (libpthread)] (CENABLE): Likewise.
29159 [IS_IN (libpthread)] (CDISABLE): Likewise.
29160 [IS_IN (libc)] (CENABLE): Likewise.
29161 [IS_IN (libc)] (CENABLE): Likewise.
29162 [IS_IN (librt)] (CDISABLE): Likewise.
29163 [IS_IN (librt)] (CDISABLE): Likewise.
29164 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29166 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29168 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29170 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29172 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29174 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29177 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29178 middle and outer with size_t instead of int. Repleace %d and
29179 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29180 "MAX (outer, nchars - 64)" to support unsigned outer and
29181 nchars. Also exit loop when outer == 0.
29183 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29185 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29186 * include/signal.h (__sigsuspend_nocancel): Likewise.
29187 * include/time.h (__nanosleep_nocancel): Likewise.
29188 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29189 * login/utmp_file.c: Include non cancellable syscall header.
29190 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29193 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29195 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29196 .byte sequences with AVX512F instructions.
29197 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29198 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29199 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29200 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29202 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29205 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29206 Steve Ellcey <sellcey@cavium.com>
29208 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29209 Use PTR_REG macro in cmp instruction.
29211 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29213 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29214 Change the return type of the ifunc resolver to match the return
29215 type of the target function.
29217 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29219 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29220 (preadv64): Likewise.
29221 (pwrite64(: Likewise.
29222 (pwritev64): Likewise.
29224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29225 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29226 (LOAD_ARGS_0): Likewise.
29227 (LOAD_ARGS_1): Likewise.
29228 (LOAD_ARGS_2): Likewise.
29229 (LOAD_ARGS_3): Likewise.
29230 (LOAD_ARGS_4): Likewise.
29231 (LOAD_ARGS_5): Likewise.
29232 (LOAD_ARGS_6): Likewise.
29233 (LOAD_REGS_0): Likewise.
29234 (LOAD_REGS_1): Likewise.
29235 (LOAD_REGS_2): Likewise.
29236 (LOAD_REGS_3): Likewise.
29237 (LOAD_REGS_4): Likewise.
29238 (LOAD_REGS_5): Likewise.
29239 (LOAD_REGS_6): Likewise.
29240 (ASM_ARGS_0): Likewise.
29241 (ASM_ARGS_1): Likewise.
29242 (ASM_ARGS_2): Likewise.
29243 (ASM_ARGS_3): Likewise.
29244 (ASM_ARGS_4): Likewise.
29245 (ASM_ARGS_5): Likewise.
29246 (ASM_ARGS_6): Likewise.
29247 (LOAD_ARGS_TYPES_1): Likewise.
29248 (LOAD_ARGS_TYPES_2): Likewise.
29249 (LOAD_ARGS_TYPES_3): Likewise.
29250 (LOAD_ARGS_TYPES_4): Likewise.
29251 (LOAD_ARGS_TYPES_5): Likewise.
29252 (LOAD_ARGS_TYPES_6): Likewise.
29253 (LOAD_REGS_TYPES_1): Likewise.
29254 (LOAD_REGS_TYPES_2): Likewise.
29255 (LOAD_REGS_TYPES_3): Likewise.
29256 (LOAD_REGS_TYPES_4): Likewise.
29257 (LOAD_REGS_TYPES_5): Likewise.
29258 (LOAD_REGS_TYPES_6): Likewise.
29259 (TYPEFY): New define.
29260 (ARGIFY): Likewise.
29261 (internal_syscall0): Likewise.
29262 (internal_syscall1): Likewise.
29263 (internal_syscall2): Likewise.
29264 (internal_syscall3): Likewise.
29265 (internal_syscall4): Likewise.
29266 (internal_syscall5): Likewise.
29267 (internal_syscall6): Likewise.
29268 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29269 (INTERNAL_SYSCALL_NCS): Remove define.
29270 (internal_syscall1): Add define.
29272 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29274 * math/w_remainder_compat.c: Remove duplicate inclusion of
29275 math-svid-compat.h.
29276 * math/w_remainderf_compat.c: Likewise.
29277 * math/w_remainderl_compat.c: Likewise.
29279 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29283 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29286 * math/tgmath.h (__floating_type): Simplify definitions.
29287 (__real_integer_type): New macro.
29288 (__complex_integer_type): Likewise.
29289 (__expr_is_real): Likewise.
29290 (__tgmath_real_type_sub): Update comment to describe handling of
29292 (__tgmath_complex_type_sub): New macro.
29293 (__tgmath_complex_type): Likewise.
29294 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29295 (__TGMATH_CF128): Use __expr_is_real.
29296 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29298 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29299 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29300 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29303 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29305 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29307 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29309 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29312 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29313 nanosleep_not_cancel with __nanosleep_nocancel.
29314 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29315 (__nanosleep_nocancel): New macro.
29316 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29318 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29320 (__nanosleep_nocancel): New prototype.
29322 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29323 pause_not_cancel with __pause_nocancel.
29324 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29325 (__pause_nocancel): New macro.
29326 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29328 (__pause_nocancel): New prototype.
29329 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29331 2017-08-22 Martin Sebor <msebor@redhat.com>
29333 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29334 to return a pointer to the same type as the target function.
29336 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29340 * include/printf.h (__printf_fphex): Add attribute_hidden.
29341 (__guess_grouping): New prototype.
29342 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29343 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29344 libc_hidden_proto and libc_hidden_def.
29345 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29346 (__vstrfmon_l): Remove the third argument passed to
29349 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29351 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29352 definition for issignaling that does not rely on __MATH_TG,
29353 since __MATH_TG uses __builtin_types_compatible_p, which is only
29354 available in C mode.
29355 (CFLAGS-test-math-issignaling.cc): New variable.
29356 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29357 * math/test-math-issignaling.cc: New test for C++ implementation
29358 of type-generic issignaling.
29359 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29360 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29361 options of test-math-issignaling on powerpc64le.
29363 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29365 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29367 (hidden_proto): Likewise.
29368 (hidden_tls_proto): Likewise.
29369 (__hidden_proto): Likewise.
29371 2017-08-22 Florian Weimer <fweimer@redhat.com>
29373 math: Statically link tests of internal functionality.
29374 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29376 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29377 (gmp-objs): Remove assignment.
29378 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29380 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29383 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29385 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29387 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29390 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29391 variable definitions above inclusion of ../Rules.
29393 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29395 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29396 case calling __builtin_unreachable.
29398 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29400 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29401 __waitpid_nocancel.
29402 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29403 (__waitpid_nocancel): New macro.
29404 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29406 (__waitpid_nocancel): Replace macro with a function.
29407 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29410 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29412 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29413 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29415 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29416 __writev_nocancel_nostatus.
29417 (write_call_graph): Likewise.
29418 (write_bb_counts): Likewise.
29419 * resolv/herror.c (herror): Likewise.
29420 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29422 (__writev_nocancel_nostatus): New macro.
29423 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29425 (__writev_nocancel_nostatus): New function.
29427 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29430 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29432 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29434 (hidden_proto): Likewise.
29435 (hidden_tls_proto): Likewise.
29436 (__hidden_proto): Likewise.
29439 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29440 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29451 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29452 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29453 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29454 GLIBC_2.0 sqrtl symbol.
29456 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29457 [__USE_MISC] (_LIB_VERSION): Likewise.
29458 [__USE_MISC] (struct exception): Likewise.
29459 [__USE_MISC] (matherr): Likewise.
29460 [__USE_MISC] (DOMAIN): Likewise.
29461 [__USE_MISC] (SING): Likewise.
29462 [__USE_MISC] (OVERFLOW): Likewise.
29463 [__USE_MISC] (UNDERFLOW): Likewise.
29464 [__USE_MISC] (TLOSS): Likewise.
29465 [__USE_MISC] (PLOSS): Likewise.
29466 [__USE_MISC] (HUGE): Likewise.
29467 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29468 * math/math-svid-compat.h: New file.
29469 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29471 * include/math.h [!_ISOMAC] (__matherr): Remove.
29472 * manual/arith.texi (FP Exceptions): Do not document matherr.
29473 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29474 (tests-internal): New variable.
29475 (install-lib): Do not add libieee.a.
29476 (non-lib.a): Likewise.
29477 (extra-objs): Do not add libieee.a and ieee-math.o.
29478 (CPPFLAGS-s_lib_version.c): Remove variable.
29479 ($(objpfx)libieee.a): Remove rule.
29480 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29481 * math/ieee-math.c: Remove.
29482 * math/libm-test-support.c (matherr): Remove.
29483 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29484 and license notices. Include <math-svid-compat.h> and
29486 (matherr): Undefine as macro. Use compat_symbol_reference.
29487 (_LIB_VERSION): Likewise.
29488 * math/test-matherr-2.c: New file.
29489 * math/test-matherr-3.c: Likewise.
29490 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29492 (__kernel_standard_f): Likewise.
29493 (__kernel_standard_l): Likewise.
29494 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29495 <math_private.h>. Include <math-svid-compat.h>.
29496 (_LIB_VERSION): Undefine as macro.
29497 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29498 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29499 [LIBM_SVID_COMPAT], use compat_symbol.
29500 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29501 <math_private.h>. Include <math-svid-compat.h>.
29502 (matherr): Undefine as macro.
29503 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29505 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29506 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29507 compat_symbol_reference.
29508 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29509 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29510 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29511 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29512 (MATHERR_D): Remove declaration.
29513 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29514 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29515 [LIBM_BUILD] (pmatherrf): Likewise.
29516 [LIBM_BUILD] (pmatherr): Likewise.
29517 [LIBM_BUILD] (pmatherrl): Likewise.
29518 (DOMAIN): Likewise.
29520 (OVERFLOW): Likewise.
29521 (UNDERFLOW): Likewise.
29524 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29525 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29527 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29528 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29530 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29531 * math/w_acos_compat.c: Likewise.
29532 * math/w_acosf_compat.c: Likewise.
29533 * math/w_acosh_compat.c: Likewise.
29534 * math/w_acoshf_compat.c: Likewise.
29535 * math/w_acoshl_compat.c: Likewise.
29536 * math/w_acosl_compat.c: Likewise.
29537 * math/w_asin_compat.c: Likewise.
29538 * math/w_asinf_compat.c: Likewise.
29539 * math/w_asinl_compat.c: Likewise.
29540 * math/w_atan2_compat.c: Likewise.
29541 * math/w_atan2f_compat.c: Likewise.
29542 * math/w_atan2l_compat.c: Likewise.
29543 * math/w_atanh_compat.c: Likewise.
29544 * math/w_atanhf_compat.c: Likewise.
29545 * math/w_atanhl_compat.c: Likewise.
29546 * math/w_cosh_compat.c: Likewise.
29547 * math/w_coshf_compat.c: Likewise.
29548 * math/w_coshl_compat.c: Likewise.
29549 * math/w_exp10_compat.c: Likewise.
29550 * math/w_exp10f_compat.c: Likewise.
29551 * math/w_exp10l_compat.c: Likewise.
29552 * math/w_exp2_compat.c: Likewise.
29553 * math/w_exp2f_compat.c: Likewise.
29554 * math/w_exp2l_compat.c: Likewise.
29555 * math/w_fmod_compat.c: Likewise.
29556 * math/w_fmodf_compat.c: Likewise.
29557 * math/w_fmodl_compat.c: Likewise.
29558 * math/w_hypot_compat.c: Likewise.
29559 * math/w_hypotf_compat.c: Likewise.
29560 * math/w_hypotl_compat.c: Likewise.
29561 * math/w_j0_compat.c: Likewise.
29562 * math/w_j0f_compat.c: Likewise.
29563 * math/w_j0l_compat.c: Likewise.
29564 * math/w_j1_compat.c: Likewise.
29565 * math/w_j1f_compat.c: Likewise.
29566 * math/w_j1l_compat.c: Likewise.
29567 * math/w_jn_compat.c: Likewise.
29568 * math/w_jnf_compat.c: Likewise.
29569 * math/w_jnl_compat.c: Likewise.
29570 * math/w_lgamma_main.c: Likewise.
29571 * math/w_lgamma_r_compat.c: Likewise.
29572 * math/w_lgammaf_main.c: Likewise.
29573 * math/w_lgammaf_r_compat.c: Likewise.
29574 * math/w_lgammal_main.c: Likewise.
29575 * math/w_lgammal_r_compat.c: Likewise.
29576 * math/w_log10_compat.c: Likewise.
29577 * math/w_log10f_compat.c: Likewise.
29578 * math/w_log10l_compat.c: Likewise.
29579 * math/w_log2_compat.c: Likewise.
29580 * math/w_log2f_compat.c: Likewise.
29581 * math/w_log2l_compat.c: Likewise.
29582 * math/w_log_compat.c: Likewise.
29583 * math/w_logf_compat.c: Likewise.
29584 * math/w_logl_compat.c: Likewise.
29585 * math/w_pow_compat.c: Likewise.
29586 * math/w_powf_compat.c: Likewise.
29587 * math/w_powl_compat.c: Likewise.
29588 * math/w_remainder_compat.c: Likewise.
29589 * math/w_remainderf_compat.c: Likewise.
29590 * math/w_remainderl_compat.c: Likewise.
29591 * math/w_scalb_compat.c: Likewise.
29592 * math/w_scalbf_compat.c: Likewise.
29593 * math/w_scalbl_compat.c: Likewise.
29594 * math/w_sinh_compat.c: Likewise.
29595 * math/w_sinhf_compat.c: Likewise.
29596 * math/w_sinhl_compat.c: Likewise.
29597 * math/w_sqrt_compat.c: Likewise.
29598 * math/w_sqrtf_compat.c: Likewise.
29599 * math/w_sqrtl_compat.c: Likewise.
29600 * math/w_tgamma_compat.c: Likewise.
29601 * math/w_tgammaf_compat.c: Likewise.
29602 * math/w_tgammal_compat.c: Likewise.
29603 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29604 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29605 * sysdeps/ieee754/k_standard.c: Likewise.
29606 * sysdeps/ieee754/k_standardf.c: Likewise.
29607 * sysdeps/ieee754/k_standardl.c: Likewise.
29608 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29609 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29610 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29611 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29612 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29613 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29614 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29615 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29616 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29622 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29623 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29624 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29626 2017-08-21 Florian Weimer <fweimer@redhat.com>
29629 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29630 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29631 Move before inclusion of ../Rules.
29633 2017-08-21 Florian Weimer <fweimer@redhat.com>
29636 * assert/assert.h (assert): Use static_cast (bool) for C++.
29637 Use the ternary operator in the warning branch for GNU C.
29638 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29639 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29640 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29641 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29642 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29644 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29647 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29648 (__syscall_clock_gettime): Add attribute_hidden.
29649 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29650 (__start_context): Likewise.
29652 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29654 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29656 (hidden_proto): Likewise.
29657 (hidden_tls_proto): Likewise.
29658 (__hidden_proto): Likewise.
29660 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29662 * include/libc-symbols.h (attribute_hidden): Enable hidden
29663 visibility in libc.a compiled with PIE.
29665 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29668 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29669 Add attribute_hidden.
29671 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29674 * Makerules (all-nonlib): Add $(others-extras).
29675 * catgets/Makefile (others-extras): New.
29676 * elf/Makefile (others-extras): Likewise.
29677 * nss/Makefile (others-extras): Likewise.
29679 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29682 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29683 * elf/dl-open.c: Include <libc-internal.h>.
29684 (__libc_multiple_libcs): Removed.
29685 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29687 * include/libc-internal.h (__libc_multiple_libcs): New.
29688 * misc/sbrk.c: Include <libc-internal.h>.
29689 (__libc_multiple_libcs): Removed.
29691 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29694 * grp/initgroups.c (__nss_group_database): Removed.
29695 (__nss_initgroups_database): Likewise.
29696 * nscd/gai.c (__nss_hosts_database): Likewise.
29697 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29698 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29699 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29700 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29701 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29702 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29704 * nss/nsswitch.c (__nss_database_custom): Define only if
29705 USE_NSCD is defined.
29706 (__nss_configure_lookup): Use __nss_database_custom only if
29707 USE_NSCD is defined.
29708 * nss/nsswitch.h (__nss_database_custom): Declare only if
29709 USE_NSCD is defined. Add attribute_hidden.
29710 (__nss_setent): Add attribute_hidden.
29711 (__nss_endent): Likewise.
29712 (__nss_getent_r): Likewise.
29713 (__nss_getent): Likewise.
29714 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29716 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29719 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29720 libc_hidden_proto and libc_hidden_def.
29722 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29725 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29726 Add libc_hidden_proto.
29727 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29728 Add libc_hidden_def.
29730 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29733 * gmon/Makefile (routines): Remove bb_init_func and
29735 (elide-routines.os): Removed.
29736 * gmon/bb_exit_func.c: Likewise.
29737 * gmon/bb_init_func.c: Likewise.
29738 * include/sys/gmon.h (__bb): Likewise.
29739 (__bb_init_func): Likewise.
29740 (__bb_exit_func): Likewise.
29741 * sysdeps/alpha/bb_init_func.S: Likewise.
29743 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29745 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29746 * include/setjmp.h (____longjmp_chk): Here. Add
29749 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29752 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29754 (__strspn_sse2): Likewise.
29756 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29758 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29759 (close_not_cancel_no_status): Likewise.
29760 (__close_nocancel): New macro.
29761 (__close_nocancel_nostatus): Likewise.
29762 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29764 (close_not_cancel): Likewise.
29765 (close_not_cancel_no_status): Likewise.
29766 (__close_nocancel): New prototype.
29767 (__close_nocancel_nostatus): New function.
29768 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29769 * catgets/open_catalog.c (__open_catalog): Replace
29770 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29771 * gmon/gmon.c (write_gmon): Likewise.
29772 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29773 * intl/loadmsgcat.c (close): Likewise.
29774 * io/ftw.c (open_dir_stream): Likewise.
29775 (ftw_startup): Likewise.
29776 * libio/fileops.c (_IO_file_open): Likewise.
29777 (_IO_file_close_mmap): Likewise.
29778 (_IO_file_close): Likewise.
29779 * libio/iopopen.c (_IO_dup2): Likewise.
29780 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29781 * locale/loadlocale.c (_nl_load_locale): Likewise.
29782 * login/utmp_file.c (pututline_file): Likewise.
29783 (endutent_file): Likewise.
29784 * misc/daemon.c (daemon): Likewise.
29785 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29786 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29787 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29788 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29789 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29790 * nscd/nscd_helper.c (open_socket): Likewise.
29791 (__nscd_open_socket): Likewise.
29792 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29793 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29794 (__nscd_innetgr): Likewise.
29795 * nss/nss_db/db-open.c (internal_setent): Likewise.
29796 * resolv/res-close.c (__res_iclose): Likewise.
29797 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29798 * sysdeps/posix/closedir.c (__closedir): Likewise.
29799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29800 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29801 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29802 (opendir_tail): Likewise.
29803 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29804 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29805 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29806 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29807 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29808 (gethostid): Likewise.
29809 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29810 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29813 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29814 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29815 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29817 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29818 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29819 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29821 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29822 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29824 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29826 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29827 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29828 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29831 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29832 (openat_not_cancel_3): Likewise.
29833 (openat64_not_cancel_3): Likewise).
29834 (openat_not_cancel_3): Likewise).
29835 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29837 (openat_not_cancel_3): Likewise.
29838 (openat64_not_cancel): Likewise.
29839 (openat64_not_cancel_3): Likewise.
29840 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29841 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29842 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29843 __open{64}_nocancel.
29844 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29845 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29846 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29848 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29851 * include/argz.h (__argz_create_sep): New function prototype.
29852 (__argz_append): Likewise.
29853 (__argz_add): Likewise.
29854 (__argz_add_sep): Likewise.
29855 (__argz_delete): Likewise.
29856 (__argz_insert): Likewise.
29857 (__argz_replace): Likewise.
29858 * string/argz.h (__argz_create_sep): Removed.
29859 (__argz_append): Likewise.
29860 (__argz_add): Likewise.
29861 (__argz_add_sep): Likewise.
29862 (__argz_delete): Likewise.
29863 (__argz_insert): Likewise.
29864 (__argz_replace): Likewise.
29866 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29868 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
29869 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
29870 (GNU_PROPERTY_STACK_SIZE): Likewie.
29871 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
29872 (GNU_PROPERTY_LOPROC): Likewise.
29873 (GNU_PROPERTY_HIPROC): Likewise.
29874 (GNU_PROPERTY_LOUSER): Likewise.
29875 (GNU_PROPERTY_HIUSER): Likewise.
29876 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
29877 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
29878 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
29879 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
29880 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
29881 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
29882 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
29883 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
29884 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
29885 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
29886 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
29887 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
29888 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
29889 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
29890 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
29891 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
29892 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
29893 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
29894 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
29895 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
29896 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
29897 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
29898 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
29900 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29902 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
29905 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29908 * math/math.h (isinf): Check if in C or C++ mode before using
29909 __builtin_types_compatible_p, since this is a C mode feature.
29911 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29913 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
29914 (__write_nocancel): New macro.
29915 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
29916 Rewrite as a function prototype.
29917 (write_not_cancel): Remove macro.
29918 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
29919 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
29920 (write_gmon): Likewise.
29921 * libio/fileops.c (_IO_new_file_write): Likewise.
29922 * login/utmp_file.c (pututline_file): Likewise.
29923 (updwtmp_file): Likewise.
29924 * stdio-common/psiginfo.c (psiginfo): Likewise.
29925 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29926 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29927 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29929 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29932 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
29933 (__read_nocancel): New macro.
29934 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29936 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
29938 (__read_nocancel): New prototype.
29939 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
29940 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
29941 with __read_nocancel.
29942 * intl/loadmsgcat.c (read): Likewise.
29943 * libio/fileops.c (_IO_file_read): Likewise.
29944 * locale/loadlocale.c (_nl_load_locale): Likewise.
29945 * login/utmp_file.c (getutent_r_file): Likewise.
29946 (internal_getut_r): Likewise.
29947 (getutline_r_file): Likewise.
29948 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29949 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29950 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29951 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29953 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
29954 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29955 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29957 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29959 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29961 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29963 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29965 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29968 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
29969 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
29972 2017-08-17 DJ Delorie <dj@redhat.com>
29974 * bug17079.c: Update to new test harness.
29975 * test-digits-dots.c: Likewise.
29976 * test-netdb.c: Likewise.
29977 * tst-field.c: Likewise.
29978 * tst-nss-getpwent.c: Likewise.
29979 * tst-nss-static.c: Likewise.
29980 * tst-nss-test1.c: Likewise.
29981 * tst-nss-test2.c: Likewise.
29982 * tst-nss-test3.c: Likewise.
29983 * tst-nss-test4.c: Likewise.
29984 * tst-nss-test5.c: Likewise.
29986 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29988 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
29989 (open_not_cancel_2): Likewise.
29990 (open_nocancel): New macro.
29991 (open64_nocancel): Likewise.
29992 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
29993 (open_not_cancel_2): Likewise.
29994 (__open_nocancel): New prototype.
29995 (__open64_nocancel): Likewise.
29996 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29998 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
29999 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30000 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30001 with __open_nocancel.
30002 * csu/check_fds.c (check_one_fd): Likewise.
30003 * gmon/gmon.c (write_gmon): Likewise.
30004 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30005 * intl/loadmsgcat.c (open): Likewise.
30006 * libio/fileops.c (_IO_file_open): Likewise.
30007 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30008 * locale/loadlocale.c (_nl_load_locale): Likewise.
30009 * login/utmp_file.c (setutent_file): Likewise.
30010 * misc/daemon.c (daemon): Likewise.
30011 * nss/nss_db/db-open.c (internal_setent): Likewise.
30012 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30013 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30014 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30015 (__opendir): Likewise.
30016 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30017 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30018 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30019 (gethostid): Likewise.
30020 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30021 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30023 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30024 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30025 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30026 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30028 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30030 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30032 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30034 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30036 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30038 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30039 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30041 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30043 * benchtests/bench-skeleton.c (main): Add support for
30044 latency benchmarking.
30045 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30047 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30049 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30050 the startup object.
30052 2017-08-17 Florian Weimer <fweimer@redhat.com>
30054 * include/sys/socket.h (__opensock): Remove internal_function.
30055 * socket/opensock.c (__opensock): Likewise.
30056 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30058 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30061 * signal/bits/types/__sigval_t.h: New file.
30062 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30063 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30064 and define sigval_t using __sigval_t.
30065 * include/bits/types/__sigval_t.h: New file.
30066 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30067 instead of <bits/types/__sigval_t.h>.
30068 (struct sigevent): Use __sigval_t instead of sigval_t.
30069 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30070 instead of <bits/types/__sigval_t.h>.
30071 (siginfo_t): Use __sigval_t instead of sigval_t.
30072 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30073 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30074 (struct sigevent): Use __sigval_t instead of sigval_t.
30075 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30076 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30077 (siginfo_t): Use __sigval_t instead of sigval_t.
30078 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30080 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30082 * NEWS: Remove "[Add new features here]" for 2.27.
30084 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30086 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30089 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30091 * NEWS: Mention x86-64 FMA optimization.
30093 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30096 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30098 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30099 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30100 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30102 2017-08-16 Andreas Schwab <schwab@suse.de>
30106 * elf/ldd.bash.in: Never run file directly.
30108 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30111 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30112 (L(SP_INF_0)): Likewise.
30114 2017-08-15 Florian Weimer <fweimer@redhat.com>
30116 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30119 2017-08-15 Florian Weimer <fweimer@redhat.com>
30121 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30122 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30123 BROKEN_THREAD_SIGNALS code.
30124 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30125 request_list): Remove caller_pid member used for
30126 BROKEN_THREAD_SIGNALS.
30127 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30128 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30129 Remove BROKEN_THREAD_SIGNALS support.
30130 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30131 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30133 2017-08-15 Florian Weimer <fweimer@redhat.com>
30135 * gmon/Makefile (tests): Add tst-gmon.
30136 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30138 (tests-special): Add tst-gmon-prof.out.
30139 (tst-gmon.out): Depend on clean-tst-gmon-data.
30140 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30141 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30142 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30144 * aclocal.m4 (GPROF): Set and substitute.
30145 * config.amke.in (GPROF): Set.
30146 * configure: Regenerate.
30148 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30150 * elf/elf.h A (NT_PPC_TAR): New macro.
30151 (NT_PPC_PPR): Likewise.
30152 (NT_PPC_DSCR): Likewise.
30153 (NT_PPC_EBB): Likewise.
30154 (NT_PPC_PMU): Likewise.
30155 (NT_PPC_TM_CGPR): Likewise.
30156 (NT_PPC_TM_CFPR): Likewise.
30157 (NT_PPC_TM_CVMX): Likewise.
30158 (NT_PPC_TM_CVSX): Likewise.
30159 (NT_PPC_TM_SPR): Likewise.
30160 (NT_PPC_TM_CTAR): Likewise.
30161 (NT_PPC_TM_CPPR): Likewise.
30162 (NT_PPC_TM_CDSCR): Likewise.
30164 2017-08-15 Florian Weimer <fweimer@redhat.com>
30166 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30167 regparm (2) instead of internal_function.
30168 (_MCOUNT_DECL): Adjust.
30170 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30172 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30173 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30175 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30177 * conform/data/sys/wait.h-data (si_value): Do not expect for
30180 2017-08-14 Florian Weimer <fweimer@redhat.com>
30183 NSS: Create stubs for accidentally exported lookup functions.
30184 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30185 Remove declaration.
30186 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30187 (ether_hostton): Call __nss_ethers_lookup2 instead.
30188 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30189 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30190 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30191 (setup): Call __nss_netgroup_lookup2 instead.
30192 * nss/Makefile (routines): Add compat-lookup.
30193 * nss/Versions (GLIBC_2.27): Add symbol version.
30194 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30195 (DB_COMPAT_FCT): Remove.
30196 * nss/compat-lookup.c: New file.
30197 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30198 from databases.def.
30199 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30200 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30201 (netname2user): Call __nss_publickey_lookup2 instead.
30202 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30203 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30206 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30207 Sergei Trofimovich <slyfox@inbox.ru>
30210 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30211 Rename to MMAP2_PAGE_UNIT.
30212 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30213 __OFF_T_MATCHES_OFF64_T is not defined.
30214 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30216 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30217 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30219 2017-08-14 Florian Weimer <fweimer@redhat.com>
30221 i386: Do not set internal_function.
30222 * config.h.in (USE_REGPARMS, internal_function): Remove.
30223 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30224 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30226 2017-08-14 Florian Weimer <fweimer@redhat.com>
30228 * elf/dl-init.c (_dl_init): Remove internal_function.
30229 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30230 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30232 2017-08-14 Florian Weimer <fweimer@redhat.com>
30234 * elf/rtld.c (_dl_start): Remove internal_function.
30235 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30238 2017-08-14 Florian Weimer <fweimer@redhat.com>
30240 * elf/dl-fini.c (_dl_fini): Remove internal_function
30241 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30243 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30245 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30246 (bit_cpu_SHSTK): Likewise.
30247 (index_cpu_IBT): Likewise.
30248 (index_cpu_SHSTK): Likewise.
30249 (reg_IBT): Likewise.
30250 (reg_SHSTK): Likewise.
30251 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30252 Handle index_cpu_IBT and index_cpu_SHSTK.
30254 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30257 * po/fr.po: Fix spelling mistake.
30259 2017-08-13 Florian Weimer <fweimer@redhat.com>
30261 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30262 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30263 (_dl_catch_error, _dl_receive_error): Likewise.
30264 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30265 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30266 (_dl_deallocate_tls): Likewise.
30267 * include/dlfcn.h (_dl_addr): Likewise.
30268 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30269 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30270 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30273 2017-08-13 Florian Weimer <fweimer@redhat.com>
30275 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30276 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30278 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30280 2017-08-13 Florian Weimer <fweimer@redhat.com>
30282 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30284 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30285 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30286 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30287 internal_function from _dl_make_stack_executable_hook member.
30288 (_dl_make_stack_executable): Remove internal_function.
30289 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30291 * sysdeps/unix/sysv/linux/dl-execstack.c
30292 (_dl_make_stack_executable): Likewise.
30294 2017-08-13 Florian Weimer <fweimer@redhat.com>
30296 * sysdeps/unix/sysv/linux/netlinkaccess.h
30297 (__netlink_assert_response): Remove internal_function.
30298 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30299 (__netlink_assert_response): Likewise.
30301 2017-08-13 Florian Weimer <fweimer@redhat.com>
30303 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30305 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30307 2017-08-13 Florian Weimer <fweimer@redhat.com>
30309 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30311 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30312 * inet/netgroup.h (__internal_setnetgrent)
30313 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30314 * inet/getnetgrent_r.c (__internal_setnetgrent)
30315 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30316 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30317 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30318 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30319 * nss/nsswitch.h (db_lookup_function): Likewise.
30321 2017-08-13 Florian Weimer <fweimer@redhat.com>
30323 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30324 Remove internal_function.
30325 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30326 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30327 message argument on the stack.
30328 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30331 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30333 Adapt test case data to the changes in the thousands
30337 * localedata/tst-langinfo.sh: Adapt test case data.
30338 * stdlib/tst-strfmon_l.c: Likewise.
30339 * stdlib/tst-strtod4.c: Likewise.
30340 * stdlib/tst-strtod5i.c: Likewise.
30342 2017-08-11 Florian Weimer <fweimer@redhat.com>
30345 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30346 Suppress pedantic warning resulting from statement expression.
30347 (__ASSERT_FUNCTION): Add missing __extension__.
30349 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30351 * benchtests/bench-memmove-large.c: Print output in JSON
30353 * benchtests/bench-memmove.c: Likewise.
30355 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30356 * benchtests/bench-memchr.c (do_one_test): Likewise.
30357 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30358 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30359 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30360 * benchtests/bench-memmove.c (do_one_test): Likewise.
30361 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30362 * benchtests/bench-memset.c (do_one_test): Likewise.
30363 * benchtests/bench-string.h (test_init): Remove memsets.
30365 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30368 (Computing the Width of an Integer Data Type): Rename section to
30369 "Width of an Integer Type". Remove inaccurate statement regarding
30370 lack of C language facilities for determining width of integer
30371 types, and reorder content to improve flow and context of
30374 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30376 * lang.texi (va_copy): Change standard from ISO to C99.
30377 (__va_copy): Add standard and header annotation.
30378 Update description for clarity of origins and current use.
30380 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30383 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30384 xssqrtqp requires operands to be in Vector Registers
30385 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30386 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30387 (__ieee754_sqrtf128): Likewise.
30389 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30391 * sysdeps/aarch64/memcmp.S (memcmp):
30392 Rewrite of optimized memcmp.
30394 2017-08-10 Florian Weimer <fweimer@redhat.com>
30396 Introduce ld.so exceptions.
30397 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30398 (_dl_exception_create, _dl_exception_create_format)
30399 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30400 (_dl_catch_exception): Declare.
30401 (_dl_catch_error): Update comment.
30402 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30403 errstring, malloced members with exception member.
30404 (_dl_out_of_memory): Remove.
30405 (fatal_error): New function, extracted from _dl_signal_error.
30406 (_dl_signal_exception, _dl_signal_cexception): New functions.
30407 (_dl_signal_error): Call _dl_exception_create to allocate an
30409 (_dl_catch_exception): New function, based on _dl_catch_error.
30410 (_dl_catch_error): Implement using _dl_catch_exception.
30411 * elf/dl-exception.c: New file.
30412 * elf/Makefile (dl-routines): Add dl-exception.
30413 (elide-routines.os): Likewise.
30414 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30415 _dl_exception_create_format, _dl_exception_free.
30416 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30417 _dl_signal_exception.
30418 * elf/dl-lookup.c (make_string): Remove.
30419 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30420 _dl_signal_cexception, _dl_exception_free.
30421 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30422 _dl_signal_exception.
30423 * elf/dl-sym.c (do_sym): Likewise.
30424 * elf/dl-version.c (make_string): Remove.
30425 (match_symbol): Use _dl_exception_create_format,
30426 _dl_signal_cexception, _dl_exception_free.
30427 (_dl_check_map_versions): Likewise.
30428 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30429 _dl_catch_exception.
30430 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30431 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30432 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30433 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30434 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30435 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30436 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30437 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30439 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30446 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30447 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30448 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30450 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30452 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30454 2017-08-10 Florian Weimer <fweimer@redhat.com>
30456 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30457 attribute_hidden, internal_function.
30458 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30461 2017-08-10 Florian Weimer <fweimer@redhat.com>
30463 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30464 function which calls __builtin_unreachable.
30466 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30468 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30469 Indian monetary formatting
30470 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30473 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30475 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30476 Fix typo in comment.
30479 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30480 PTRACE_SEIZE_DEVEL): Remove.
30481 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30482 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30483 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30484 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30485 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30487 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30489 * posix/bits/types.h (__qaddr_t): Remove.
30492 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30493 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30495 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30496 (ucontext_t): Use __ctx with uc_flags.
30497 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30498 (__ctxt): Likewise.
30499 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30501 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30502 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30504 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30505 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30507 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30509 (ucontext_t): Use __ctx with uc_flags.
30510 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30511 (ucontext_t): Use __ctx with uc_flags.
30512 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30513 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30514 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30515 (ucontext_t): Use __ctx with uc_flags.
30516 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30517 undefine further down.
30518 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30520 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30521 undefine further down.
30522 (ucontext_t): Use __ctx with uc_flags.
30523 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30524 undefine further down.
30525 (ucontext_t): Use __ctx with uc_flags.
30526 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30527 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30528 Rename uc_pad to __glibc_reserved1.
30529 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30530 undefine further down.
30531 (ucontext_t): Use __ctx with uc_flags.
30532 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30534 (ucontext_t): Use __ctx with uc_flags.
30535 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30536 __ctx with uc_flags.
30537 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30538 (ucontext_t): Use __ctx with uc_flags.
30539 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30540 __ctx with uc_flags.
30542 2017-08-09 Florian Weimer <fweimer@redhat.com>
30545 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30546 before early return.
30548 2017-08-09 Andreas Schwab <schwab@suse.de>
30551 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30555 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30556 tst-compat-forwarder.
30557 (modules-names): Add tst-compat-forwarder-mod.
30558 ($(objpfx)tst-compat-forwarder): Depend on
30559 $(objpfx)tst-compat-forwarder-mod.so.
30560 * nptl/tst-compat-forwarder.c: New file.
30561 * nptl/tst-compat-forwarder-mod.c: New file.
30563 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30565 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30568 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30569 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30571 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30573 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30574 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30575 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30576 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30578 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30581 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30584 * manual/setjmp.texi (getcontex): Document uc_stack value
30585 compatibility differences.
30587 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30589 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30590 (old_malloc_hook): Likewise.
30591 (old_memalign_hook): Likewise.
30592 (old_realloc_hook): Likewise.
30593 (struct hdr): Likewise.
30595 (freehook): Likewise.
30596 (mallochook): Likewise.
30597 (memalignhook): Likewise.
30598 (reallochook): Likewise.
30599 (mprobe): Likewise.
30600 * malloc/mtrace.c (mallwatch): Likewise.
30601 (tr_old_free_hook): Likewise.
30602 (tr_old_malloc_hook): Likewise.
30603 (tr_old_realloc_hook): Likewise.
30604 (tr_old_memalign_hook): Likewise.
30605 (tr_where): Likewise.
30606 (lock_and_info): Likewise.
30607 (tr_freehook): Likewise.
30608 (tr_mallochook): Likewise.
30609 (tr_reallochook): Likewise.
30610 (tr_memalignhook): Likewise.
30611 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30612 * misc/mmap.c (__mmap): Likewise.
30613 * misc/mmap64.c (__mmap64): Likewise.
30614 * misc/mprotect.c (__mprotect): Likewise.
30615 * misc/msync.c (msync): Likewise.
30616 * misc/munmap.c (__munmap): Likewise.
30617 * posix/posix_madvise.c (posix_madvise): Likewise.
30618 * socket/send.c (__send): Likewise.
30619 * socket/sendto.c (__sendto): Likewise.
30620 * socket/setsockopt.c (__setsockopt): Likewise.
30621 * string/memcmp.c (__ptr_t): Remove macro.
30622 (MEMCMP): Use void * instead of ptr_t.
30623 * string/memrchr.c (__ptr_t): Remove macro.
30624 (__memrchr): Use void * instead of ptr_t.
30625 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30626 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30627 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30628 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30629 * sysdeps/mach/msync.c (msync): Likewise.
30630 * sysdeps/mach/munmap.c (__munmap): Likewise.
30631 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30633 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30634 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30635 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30636 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30637 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30638 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30639 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30640 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30642 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30643 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30644 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30645 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30646 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30647 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30648 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30649 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30650 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30652 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30653 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30654 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30655 (MEMCMP): Use void * instead of ptr_t.
30656 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30657 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30659 2017-08-08 Florian Weimer <fweimer@redhat.com>
30661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30664 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30667 * csu/libc-tls.c: Include <startup.h> first.
30668 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30669 * elf/dl-tunables.c: Include <startup.h> first.
30670 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30671 * sysdeps/generic/startup.h: New file.
30672 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30673 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30674 (I386_USE_SYSENTER): New. Defined to 0.
30676 2017-08-08 Andreas Schwab <schwab@suse.de>
30679 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30680 * nptl/pt-system.c (system): Likewise.
30682 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30685 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30687 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30688 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30689 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30690 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30691 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30692 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30693 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30695 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30698 * bits/sigaction.h (struct sigaction): Define sa_handler and
30699 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30700 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30701 [__USE_XOPEN_EXTENDED].
30702 (SA_RESTART): Likewise.
30703 (SA_NODEFER): Likewise.
30704 (SA_RESETHAND): Likewise.
30705 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30706 (struct sigaction): Define sa_handler and sa_sigaction using union
30707 also for [__USE_XOPEN_EXTENDED].
30708 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30709 [__USE_XOPEN_EXTENDED].
30710 (SA_RESTART): Likewise.
30711 (SA_NODEFER): Likewise.
30712 (SA_RESETHAND): Likewise.
30713 * sysdeps/unix/sysv/linux/bits/sigaction.h
30714 (struct sigaction): Define sa_handler and sa_sigaction using union
30715 also for [__USE_XOPEN_EXTENDED].
30716 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30717 [__USE_XOPEN_EXTENDED].
30718 (SA_RESTART): Likewise.
30719 (SA_NODEFER): Likewise.
30720 (SA_RESETHAND): Likewise.
30721 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30722 (struct sigaction): Define sa_handler and sa_sigaction using union
30723 also for [__USE_XOPEN_EXTENDED].
30724 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30725 [__USE_XOPEN_EXTENDED].
30726 (SA_RESTART): Likewise.
30727 (SA_NODEFER): Likewise.
30728 (SA_RESETHAND): Likewise.
30729 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30730 (struct sigaction): Define sa_handler and sa_sigaction using union
30731 also for [__USE_XOPEN_EXTENDED].
30732 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30733 [__USE_XOPEN_EXTENDED].
30734 (SA_RESTART): Likewise.
30735 (SA_NODEFER): Likewise.
30736 (SA_RESETHAND): Likewise.
30737 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30738 (struct sigaction): Define sa_handler and sa_sigaction using union
30739 also for [__USE_XOPEN_EXTENDED].
30740 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30741 [__USE_XOPEN_EXTENDED].
30742 (SA_RESTART): Likewise.
30743 (SA_NODEFER): Likewise.
30744 (SA_RESETHAND): Likewise.
30745 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30746 (struct sigaction): Define sa_handler and sa_sigaction using union
30747 also for [__USE_XOPEN_EXTENDED].
30748 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30749 [__USE_XOPEN_EXTENDED].
30750 (SA_RESTART): Likewise.
30751 (SA_NODEFER): Likewise.
30752 (SA_RESETHAND): Likewise.
30753 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30754 (struct sigaction): Define sa_handler and sa_sigaction using union
30755 also for [__USE_XOPEN_EXTENDED].
30756 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30757 [__USE_XOPEN_EXTENDED].
30758 (SA_RESTART): Likewise.
30759 (SA_NODEFER): Likewise. Define directly rather than as alias.
30760 (SA_RESETHAND): Likewise.
30761 (SA_INTERRUPT): Define only for [__USE_MISC].
30762 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30763 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30765 (SA_STACK): Define only for [__USE_MISC].
30766 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30767 (struct sigaction): Define sa_handler and sa_sigaction using union
30768 also for [__USE_XOPEN_EXTENDED].
30769 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30770 [__USE_XOPEN_EXTENDED].
30771 (SA_RESTART): Likewise.
30772 (SA_NODEFER): Likewise.
30773 (SA_RESETHAND): Likewise.
30774 (SA_NOPTRACE): Define only for [__USE_MISC].
30776 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30777 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30778 (struct catalog_info): Likewise.
30779 * inet/htontest.c (lo): Likewise.
30781 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30782 * inet/inet_net.c (inet_network): Likewise.
30783 * inet/inet_netof.c (inet_netof): Likewise.
30784 * inet/rcmd.c (__ivaliduser): Likewise.
30785 (iruserok): Likewise.
30786 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30787 * locale/programs/locale-spec.c (locale_special): Likewise.
30788 * nis/nis_findserv.c (struct findserv_req): Likewise.
30789 (__nis_findfastest_with_timeout): Likewise.
30790 * nss/test-netdb.c (test_network): Likewise.
30791 * resolv/inet_neta.c (inet_neta): Likewise.
30792 * resolv/ns_date.c (ns_datetosecs): Likewise.
30793 (SECS_PER_DAY): Likewise.
30794 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30796 * resolv/res_comp.c (__putlong): Likewise.
30797 (__putshort): Likewise.
30798 (_getlong): Likewise.
30799 (_getshort): Likewise.
30800 * resolv/res_debug.c (p_time): Likewise.
30801 (precsize_ntoa): Likewise.
30802 (precsize_aton): Likewise.
30803 (latlon2ul): Likewise.
30804 (loc_aton): Likewise.
30805 (loc_ntoa): Likewise.
30806 * resolv/res_hconf.c (struct netaddr): Likewise.
30807 (_res_hconf_reorder_addrs): Likewise.
30808 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30809 (clnttcp_control): Likewise.
30810 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30811 (clntudp_control): Likewise.
30812 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30813 (clntunix_control): Likewise.
30814 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30815 * sunrpc/rpc/auth.h (union des_block): Likewise.
30816 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30817 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30818 (xdrrec_create): Likewise.
30819 (xdrrec_endofrecord): Likewise.
30820 (flush_out): Likewise.
30821 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30822 (xdrstdio_putlong): Likewise.
30823 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30826 * misc/sys/cdefs.h (__long_double_t): Remove.
30827 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30828 instead of __long_double_t,
30829 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30831 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30833 * benchtests/scripts/compare_strings.py: Avoid display error when
30834 running on a text terminal.
30836 * benchtests/scripts/compare_strings.py (main): Add an
30837 optional -base option.
30838 (process_results): New argument base_func.
30840 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30842 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30843 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30845 2017-08-07 Andreas Schwab <schwab@suse.de>
30847 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30848 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30849 * intl/Makefile ($(objpfx)tst-gettext.out)
30850 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
30851 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
30852 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30853 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30854 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
30855 * posix/Makefile ($(objpfx)globtest.out)
30856 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
30857 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
30858 ($(objpfx)tst-printf.out): Likewise.
30859 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
30860 ($(objpfx)tst-setcontext3.out): Likewise.
30862 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
30864 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30865 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
30866 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
30867 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
30868 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
30870 (CFLAGS-doasin-fma.c): New.
30871 (CFLAGS-dosincos-fma.c): Likewise.
30872 (CFLAGS-e_asin-fma.c): Likewise.
30873 (CFLAGS-e_atan2-fma.c): Likewise.
30874 (CFLAGS-e_exp-fma.c): Likewise.
30875 (CFLAGS-e_log-fma.c): Likewise.
30876 (CFLAGS-e_pow-fma.c): Likewise.
30877 (CFLAGS-halfulp-fma.c): Likewise.
30878 (CFLAGS-mpa-fma.c): Likewise.
30879 (CFLAGS-mpatan-fma.c): Likewise.
30880 (CFLAGS-mpatan2-fma.c): Likewise.
30881 (CFLAGS-mpexp-fma.c): Likewise.
30882 (CFLAGS-mplog-fma.c): Likewise.
30883 (CFLAGS-mpsqrt-fma.c): Likewise.
30884 (CFLAGS-mptan-fma.c): Likewise.
30885 (CFLAGS-s_atan-fma.c): Likewise.
30886 (CFLAGS-sincos32-fma.c): Likewise.
30887 (CFLAGS-slowexp-fma.c): Likewise.
30888 (CFLAGS-slowpow-fma.c): Likewise.
30889 (CFLAGS-s_sin-fma.c): Likewise.
30890 (CFLAGS-s_tan-fma.c): Likewise.
30891 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
30892 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
30893 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
30894 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
30895 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
30896 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
30897 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
30898 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
30899 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
30900 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
30901 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
30902 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
30903 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
30904 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
30905 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
30906 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
30907 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
30908 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
30909 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
30910 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
30911 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
30912 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
30913 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
30914 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
30915 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30916 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30917 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30918 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30919 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30920 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30921 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30923 2017-08-04 Joseph Myers <joseph@codesourcery.com>
30925 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
30926 (min_of_type_f): New macro.
30927 (min_of_type_): Likewise.
30928 (min_of_type_l): Likewise.
30929 (min_of_type_f128): Likewise.
30930 (min_of_type): Define using __MATH_TG and taking an expression
30932 (math_check_force_underflow): Pass expression instead of type to
30934 (math_check_force_underflow_nonneg): Likewise.
30936 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30938 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30939 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
30940 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
30942 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30945 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
30946 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
30947 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
30948 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
30949 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
30950 memcpy_chk-nonshared, mempcpy_chk-nonshared,
30951 memmove_chk-nonshared and memset_chk-nonshared
30952 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
30953 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
30954 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
30955 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
30956 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
30957 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
30958 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
30959 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
30960 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
30961 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
30962 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
30963 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
30964 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
30965 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
30966 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
30967 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
30968 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
30969 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
30970 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
30971 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
30972 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
30973 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
30974 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
30975 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
30976 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
30977 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
30978 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
30979 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
30980 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
30981 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
30982 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
30983 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
30984 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
30985 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30986 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
30987 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
30988 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
30989 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
30990 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
30991 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
30992 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
30993 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
30994 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
30995 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
30996 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
30997 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
30998 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
30999 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31000 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31001 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31002 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31003 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31004 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31005 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31006 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31007 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31008 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31009 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31010 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31011 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31012 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31013 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31014 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31015 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31016 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31017 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31018 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31019 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31020 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31021 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31022 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31023 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31024 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31025 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31026 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31027 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31028 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31029 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31030 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31031 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31032 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31033 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31034 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31035 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31036 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31037 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31038 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31039 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31040 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31041 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31042 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31043 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31044 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31045 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31046 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31047 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31048 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31049 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31050 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31051 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31052 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31053 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31054 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31055 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31056 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31057 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31058 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31059 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31061 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31063 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31064 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31065 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31066 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31067 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31068 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31069 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31070 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31071 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31072 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31073 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31074 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31075 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31076 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31077 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31078 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31079 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31080 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31081 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31082 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31083 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31084 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31085 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31086 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31087 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31088 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31089 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31090 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31091 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31092 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31093 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31094 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31095 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31096 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31097 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31098 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31099 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31100 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31101 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31102 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31103 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31104 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31105 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31106 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31107 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31108 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31109 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31110 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31111 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31112 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31113 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31114 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31116 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31117 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31118 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31119 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31120 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31121 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31123 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31124 Don't include <sysdep.h> nor <init-arch.h>.
31125 (_ZGVbN2v_cos): Removed.
31126 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31128 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31129 Don't include <sysdep.h> nor <init-arch.h>.
31130 (_ZGVdN4v_cos): Removed.
31131 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31133 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31134 Don't include <sysdep.h> nor <init-arch.h>.
31135 (_ZGVeN8v_cos): Removed.
31136 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31138 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31139 Don't include <sysdep.h> nor <init-arch.h>.
31140 (_ZGVbN2v_exp): Removed.
31141 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31143 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31144 Don't include <sysdep.h> nor <init-arch.h>.
31145 (_ZGVdN4v_exp): Removed.
31146 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31148 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31149 Don't include <sysdep.h> nor <init-arch.h>.
31150 (_ZGVeN8v_exp): Removed.
31151 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31153 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31154 Don't include <sysdep.h> nor <init-arch.h>.
31155 (_ZGVbN2v_log): Removed.
31156 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31158 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31159 Don't include <sysdep.h> nor <init-arch.h>.
31160 (_ZGVdN4v_log): Removed.
31161 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31163 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31164 Don't include <sysdep.h> nor <init-arch.h>.
31165 (_ZGVeN8v_log): Removed.
31166 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31168 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31169 Don't include <sysdep.h> nor <init-arch.h>.
31170 (_ZGVbN2vv_pow): Removed.
31171 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31173 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31174 Don't include <sysdep.h> nor <init-arch.h>.
31175 (_ZGVdN4vv_pow): Removed.
31176 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31178 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31179 Don't include <sysdep.h> nor <init-arch.h>.
31180 (_ZGVeN8vv_pow): Removed.
31181 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31183 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31184 Don't include <sysdep.h> nor <init-arch.h>.
31185 (_ZGVbN2v_sin): Removed.
31186 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31188 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31189 Don't include <sysdep.h> nor <init-arch.h>.
31190 (_ZGVbN4v_sin): Removed.
31191 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31193 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31194 Don't include <sysdep.h> nor <init-arch.h>.
31195 (_ZGVbN8v_sin): Removed.
31196 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31198 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31199 Don't include <sysdep.h> nor <init-arch.h>.
31200 (_ZGVbN2vvv_sincos): Removed.
31201 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31203 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31204 Don't include <sysdep.h> nor <init-arch.h>.
31205 (_ZGVdN4vvv_sincos): Removed.
31206 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31208 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31209 Don't include <sysdep.h> nor <init-arch.h>.
31210 (_ZGVeN8vvv_sincos): Removed.
31211 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31213 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31214 Don't include <sysdep.h> nor <init-arch.h>.
31215 (_ZGVeN16v_cosf): Removed.
31216 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31218 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31219 Don't include <sysdep.h> nor <init-arch.h>.
31220 (_ZGVbN4v_cosf): Removed.
31221 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31223 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31224 Don't include <sysdep.h> nor <init-arch.h>.
31225 (_ZGVdN8v_cosf): Removed.
31226 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31228 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31229 Don't include <sysdep.h> nor <init-arch.h>.
31230 (_ZGVeN16v_expf): Removed.
31231 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31233 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31234 Don't include <sysdep.h> nor <init-arch.h>.
31235 (_ZGVbN4v_expf): Removed.
31236 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31238 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31239 Don't include <sysdep.h> nor <init-arch.h>.
31240 (_ZGVdN8v_expf): Removed.
31241 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31243 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31244 Don't include <sysdep.h> nor <init-arch.h>.
31245 (_ZGVeN16v_logf): Removed.
31246 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31248 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31249 Don't include <sysdep.h> nor <init-arch.h>.
31250 (_ZGVbN4v_logf): Removed.
31251 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31253 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31254 Don't include <sysdep.h> nor <init-arch.h>.
31255 (_ZGVdN8v_logf): Removed.
31256 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31258 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31259 Don't include <sysdep.h> nor <init-arch.h>.
31260 (_ZGVeN16vv_powf): Removed.
31261 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31263 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31264 Don't include <sysdep.h> nor <init-arch.h>.
31265 (_ZGVbN4vv_powf): Removed.
31266 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31268 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31269 Don't include <sysdep.h> nor <init-arch.h>.
31270 (_ZGVdN8vv_powf): Removed.
31271 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31273 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31274 Don't include <sysdep.h> nor <init-arch.h>.
31275 (_ZGVeN16vvv_sincosf): Removed.
31276 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31278 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31279 Don't include <sysdep.h> nor <init-arch.h>.
31280 (_ZGVbN4vvv_sincosf): Removed.
31281 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31283 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31284 Don't include <sysdep.h> nor <init-arch.h>.
31285 (_ZGVdN8vvv_sincosf): Removed.
31286 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31288 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31289 Don't include <sysdep.h> nor <init-arch.h>.
31290 (_ZGVeN16v_sinf): Removed.
31291 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31293 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31294 Don't include <sysdep.h> nor <init-arch.h>.
31295 (_ZGVbN4v_sinf): Removed.
31296 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31298 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31299 Don't include <sysdep.h> nor <init-arch.h>.
31300 (_ZGVdN8v_sinf): Removed.
31302 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31304 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31305 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31306 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31307 s_rint-sse4_1 and s_rintf-sse4_1.
31308 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31309 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31310 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31311 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31312 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31313 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31314 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31315 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31316 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31317 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31318 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31319 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31321 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31322 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31323 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31324 (__ceilf): Removed.
31325 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31326 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31327 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31328 (__floor): Removed.
31329 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31330 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31331 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31332 (__floorf): Removed.
31333 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31334 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31335 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31336 (__nearbyint): Removed.
31337 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31338 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31339 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31340 (__nearbyintf): Removed.
31341 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31342 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31343 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31345 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31346 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31347 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31348 (__rintf): Removed.
31350 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31352 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31353 SHARED. Avoid dynamic relocation against main in static PIE.
31355 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31358 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31359 (LDFLAGS-tst-prelink): Likewise.
31361 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31363 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31364 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31365 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31366 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31367 (INTERNAL_SYSCALL_NCS): Likewise.
31368 (LOADARGS_1): Likewise.
31369 (LOADARGS_5): Likewise.
31370 (RESTOREARGS_1): Likewise.
31371 (RESTOREARGS_5): Likewise.
31373 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31375 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31376 (MEMPCPY_SYMBOL): Likewise.
31377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31378 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31379 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31381 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31382 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31384 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31385 (__hidden_ver1): Don't use in libc.a.
31386 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31387 (__mempcpy): Don't create a weak alias in libc.a.
31388 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31390 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31391 (__hidden_ver1): Don't use in libc.a.
31393 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31395 * config.make.in (have-insert): New.
31396 * configure.ac (libc_cv_insert): New. Set to yes if linker
31397 supports INSERT in linker script.
31398 (AC_SUBST(libc_cv_insert): New.
31399 * configure: Regenerated.
31400 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31401 if $(have-insert) == yes.
31403 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31405 * elf/Makefile (tests): Add vismain only if
31406 $(have-protected-data) == yes.
31407 (tests-pie): Likewise.
31409 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31412 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31413 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31415 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31418 * sysdeps/i386/i586/memset.S
31419 (__memset_zero_constant_len_parameter): Removed.
31420 * sysdeps/i386/i686/memset.S
31421 (__memset_zero_constant_len_parameter): Likewise.
31422 * sysdeps/i386/i686/multiarch/memset_chk.S
31423 (__memset_zero_constant_len_parameter): Likewise.
31424 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31427 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31429 * stdlib/getentropy.c (getentropy): Change return type to int.
31431 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31433 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31435 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31437 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31439 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31440 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31442 (ieee_float_shape_type): Likewise.
31443 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31444 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31445 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31446 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31447 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31448 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31449 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31450 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31451 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31453 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31454 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31455 (__ieee754_yn): Likewise.
31456 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31457 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31458 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31460 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31461 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31462 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31463 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31464 (__erfc): Likewise.
31465 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31466 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31467 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31468 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31469 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31470 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31472 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31473 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31474 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31475 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31476 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31477 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31478 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31479 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31480 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31481 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31482 (__issignaling): Likewise.
31483 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31484 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31485 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31487 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31488 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31489 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31490 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31492 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31494 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31495 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31496 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31497 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31498 (__erfcf): Likewise.
31499 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31500 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31501 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31502 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31504 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31505 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31507 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31508 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31509 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31510 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31511 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31512 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31513 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31514 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31516 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31518 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31520 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31521 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31523 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31525 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31526 (__ieee754_ynl): Likewise.
31527 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31528 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31530 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31532 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31533 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31534 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31536 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31537 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31538 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31539 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31540 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31541 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31542 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31543 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31545 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31546 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31547 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31549 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31550 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31551 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31552 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31553 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31554 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31556 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31558 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31560 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31562 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31563 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31564 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31565 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31566 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31567 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31568 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31570 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31572 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31573 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31575 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31576 (__ieee754_remainderl): Likewise.
31577 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31578 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31579 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31580 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31583 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31585 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31586 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31587 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31588 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31589 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31590 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31592 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31593 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31594 (__ieee754_y0l): Likewise.
31597 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31598 (__ieee754_y1l): Likewise.
31601 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31602 (__ieee754_ynl): Likewise.
31603 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31604 (__ieee754_lgammal_r): Likewise.
31605 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31607 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31608 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31609 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31610 (__erfcl): Likewise.
31611 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31612 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31614 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31615 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31616 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31617 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31618 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31619 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31620 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31622 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31623 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31624 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31625 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31626 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31628 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31629 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31631 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31632 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31633 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31634 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31635 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31637 2017-08-03 Florian Weimer <fweimer@redhat.com>
31640 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31641 on memory allocation failure.
31643 2017-08-03 Alan Modra <amodra@gmail.com>
31645 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31646 tst-tlsopt-powerpc.c with function name change and no test harness.
31647 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31648 Call tls_get_addr_opt_test.
31649 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31650 (modules-names): Add mod-tlsopt-powerpc.
31651 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31652 (tst-tlsopt-powerpc): Depend on .so.
31653 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31654 define. Expand use in TLS_GD and TLS_LD.
31656 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31658 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31660 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31662 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31665 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31666 comparing size with that of double.
31667 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31668 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31669 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31670 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31671 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31672 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31673 unsigned __int128 types.
31675 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31677 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31678 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31679 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31680 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31681 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31683 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31685 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31687 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31689 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31691 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31692 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31693 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31694 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31695 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31696 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31697 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31699 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31702 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31703 bit-field expressions passed to sizeof or typeof.
31704 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31705 (__TGMATH_F128): Likewise.
31706 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31707 (__TGMATH_CF128): Likewise.
31708 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31709 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31710 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31711 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31712 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31713 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31714 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31715 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31716 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31717 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31718 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31719 (__TGMATH_UNARY_IMAG): Likewise.
31720 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31721 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31722 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31724 (define_vars_for_type): Handle bit_field type specially.
31725 (Tests.__init__): Declare structure with bit-field element.
31727 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31730 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31731 (MEMCPY_CHK): Define only if SHARED is defined.
31732 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31734 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31737 See ChangeLog.18 for earlier changes.