1 2019-02-03 Florian Weimer <fweimer@redhat.com>
4 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
5 * libio/getchar.c (getchar): Likewise.
6 * libio/getchar_u.c (getchar_unlocked): Likewise.
7 * libio/getwchar.c (getwchar): Likewise.
8 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9 * libio/iogets.c (_IO_gets): Likewise.
10 * libio/vscanf.c (_IO_vscanf): Likewise.
11 * libio/vwscanf.c (__vwscanf): Likewise.
12 * libio/tst-bz24153.c: New file.
13 * libio/Makefile (tests): Add it.
15 2019-02-02 Florian Weimer <fweimer@redhat.com>
18 * manual/resource.texi (Basic Scheduling Functions): Add
19 portability note. Change process to task throughout the section.
20 Remove incorrect comment about sched_yield as it affects
21 tasks/threads, not entire processes.
22 * sysdeps/unix/sysv/linux/bits/posix_opt.h
23 (_POSIX_PRIORITY_SCHEDULING): Update comment.
25 2019-02-01 Joseph Myers <joseph@codesourcery.com>
27 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
28 * configure: Regenerated.
29 * manual/install.texi (Tools for Compilation): Update minimum GCC
31 * INSTALL: Regenerated.
33 2019-02-01 Florian Weimer <fweimer@redhat.com>
35 * support/support_test_compare_string.c
36 (support_test_compare_string): Use "string" in error message.
37 * support/tst-test_compare_string.c (do_test): Adjust.
39 2019-02-01 Florian Weimer <fweimer@redhat.com>
41 * support/support_format_address_family.c
42 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
44 2019-02-01 Florian Weimer <fweimer@redhat.com>
46 * manual/socket.texi (Internet Address Formats): Clarify the byte
47 order of struct sockaddr_in, struct sockaddr_in6. Document
48 sin6_flowinfo and sin6_scope_id.
50 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
52 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
53 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
54 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
55 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
56 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
57 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
59 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
61 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
62 [!MEMCHR](MEMCHR): Set to __memchr.
63 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
64 Add memchr_generic and memchr_nosimd.
65 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
66 (__libc_ifunc_impl_list): Add memchr ifuncs.
67 * sysdeps/aarch64/multiarch/memchr.c: New file.
68 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
69 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
71 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
73 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
75 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
76 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
77 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
78 Add IS_EMAG check for ifunc dispatch.
79 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
80 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
82 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
84 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
85 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
87 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
90 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
92 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
94 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
96 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
97 syscall-template file.
99 2019-01-31 Carlos O'Donell <carlos@redhat.com>
100 Torvald Riegel <triegel@redhat.com>
101 Rik Prohaska <prohaska7@gmail.com>
104 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
105 tst-rwlock-trywrlock-stall.
106 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
107 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
108 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
109 Set __wrphase_fute to 1 only if we started the write phase.
110 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
111 * nptl/tst-rwlock-trywrlock-stall.c: New file.
112 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
113 * support/xpthread_rwlock_destroy.c: New file.
114 * support/xthread.h: Declare xpthread_rwlock_destroy.
116 2019-02-01 Joseph Myers <joseph@codesourcery.com>
118 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
121 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
124 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
125 * libio/fileops.c (_IO_new_file_underflow): Likewise
126 * libio/wfileops.c (_IO_wfile_underflow): Likewise
127 * libio/putchar.c (putchar): Likewise.
128 * libio/putchar_u.c (putchar_unlocked): Likewise.
129 * libio/putwchar.c (putchar): Likewise.
130 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
131 * libio/tst-bz24051.c: New test.
132 * libio/Makefile (tests): Add tst-bz24051
134 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
136 regex: fix read overrun [BZ #24114]
137 Problem found by AddressSanitizer, reported by Hongxu Chen in:
138 https://debbugs.gnu.org/34140
139 * posix/regexec.c (proceed_next_node):
140 Do not read past end of input buffer.
142 2019-01-31 Florian Weimer <fweimer@redhat.com>
145 * nss/nss_files/files-alias.c (get_next_alias): Handle
146 continuation line without newline at the end.
147 * nss/tst-nss-files-alias-truncated.c: New file.
148 * nss/Makefile [$(build-shared)] (tests): Add
149 tst-nss-files-alias-truncated.
150 (tst-nss-files-alias-truncated): Link with libnss_files.so.
151 * support/namespace.h (struct support_chroot_configuration): Add
153 (struct support_chroot): Add path_aliases member.
154 * support/support_chroot.c (support_chroot_create): Handle
156 (support_chroot_free): Free path_aliases.
158 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
160 * version.h (RELEASE): Set to "development".
161 (VERSION): Set to "2.29.9000".
162 * NEWS: Add section for 2.30.
164 * version.h (RELEASE): Set to "stable".
165 (VERSION): Set to "2.29".
166 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
168 * NEWS: Add the list of bugs fixed in 2.29.
169 * manual/contrib.texi: Update contributors list with some more
171 * manual/install.texi: Update latest versions of packages
173 * INSTALL: Regenerated.
175 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
177 * po/be.po: Update translations.
178 * po/bg.po: Likewise.
179 * po/ca.po: Likewise.
180 * po/cs.po: Likewise.
181 * po/da.po: Likewise.
182 * po/de.po: Likewise.
183 * po/el.po: Likewise.
184 * po/eo.po: Likewise.
185 * po/es.po: Likewise.
186 * po/fi.po: Likewise.
187 * po/fr.po: Likewise.
188 * po/gl.po: Likewise.
189 * po/hr.po: Likewise.
190 * po/hu.po: Likewise.
191 * po/ia.po: Likewise.
192 * po/id.po: Likewise.
193 * po/it.po: Likewise.
194 * po/ja.po: Likewise.
195 * po/ko.po: Likewise.
196 * po/lt.po: Likewise.
197 * po/nb.po: Likewise.
198 * po/nl.po: Likewise.
199 * po/pl.po: Likewise.
200 * po/pt_BR.po: Likewise.
201 * po/ru.po: Likewise.
202 * po/rw.po: Likewise.
203 * po/sk.po: Likewise.
204 * po/sl.po: Likewise.
205 * po/sv.po: Likewise.
206 * po/tr.po: Likewise.
207 * po/uk.po: Likewise.
208 * po/vi.po: Likewise.
209 * po/zh_CN.po: Likewise.
210 * po/zh_TW.po: Likewise.
212 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
215 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
216 of $f3 register on $y_is_neg path.
218 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
221 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
222 sigaltstack.ss_flags.
224 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
227 * manual/time.texi (strftime): Document "%Ey".
228 * time/strftime_l.c (__strftime_internal): Set the default width
229 padding with zero of "%Ey" to 2.
232 * manual/time.texi (strftime): Document "%EC" and "%EY".
233 * time/Makefile (tests): Add tst-strftime2.
234 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
235 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
236 override padding for "%Ey".
237 If an optional flag ('_' or '-') is specified to "%EY", interpret the
238 "%Ey" in the subformat as if decorated with that flag.
239 * time/tst-strftime2.c: New file.
241 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
243 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
247 * elf/Makefile (tests): Add tst-audit13.
248 (modules-names): Add tst-audit13mod1.
249 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
251 * elf/rtld.c (dl_main): Handle invalid audit module version.
252 * elf/tst-audit13.c: New file.
253 * elf/tst-audit13mod1.c: Likewise.
255 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
257 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
258 returned by __hurd_at_flags.
259 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
260 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
261 directly instead of __hurd_file_name_lookup.
263 2019-01-21 Joseph Myers <joseph@codesourcery.com>
265 * scripts/build-many-glibcs.py (Context.checkout): Default
266 binutils version to 2.32 branch.
268 2019-01-21 Florian Weimer <fweimer@redhat.com>
272 resolv: Reject trailing characters in host names
273 * include/arpa/inet.h (__inet_aton_exact): Declare.
274 (inet_aton): Remove hidden prototype. No longer used internally.
275 * nscd/gai.c (__inet_aton): Do not define.
276 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
277 * nss/digits_dots.c (__inet_aton): Likewise.
278 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
279 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
280 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
281 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
282 (tst-resolv-trailing): Likewise.
283 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
285 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
286 Make static. Add endp parameter.
287 (__inet_aton_exact): New function.
288 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
289 (__inet_addr): Call inet_aton_end.
290 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
291 not just IPv6. Call __inet_aton_exact.
292 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
293 (tests): Make const. Add additional test cases with trailing
295 (do_test): Use array_length.
296 * resolv/tst-inet_aton_exact.c: New file.
297 * resolv/tst-resolv-trailing.c: Likewise.
298 * resolv/tst-resolv-nondecimal.c: Likewise.
299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
301 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
305 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
306 Clear the upper 32 bits of RSI register.
307 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
308 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
309 and tst-size_t-wcsnlen.
310 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
311 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
313 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
317 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
318 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
319 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
320 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
321 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
323 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
327 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
328 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
329 * sysdeps/x86_64/strcmp.S: Likewise.
330 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
331 tst-size_t-strncmp and tst-size_t-wcsncmp.
332 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
333 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
334 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
336 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
340 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
341 RDX_LP for length. Clear the upper 32 bits of RDX register.
342 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
343 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
344 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
345 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
347 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
351 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
352 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
353 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
354 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
356 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
360 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
361 length. Clear the upper 32 bits of RDX register.
362 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
363 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
365 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
367 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
369 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
371 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
375 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
376 length. Clear the upper 32 bits of RDX register.
377 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
378 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
379 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
381 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
382 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
384 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
388 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
389 upper 32 bits of RDX register.
390 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
391 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
393 * sysdeps/x86_64/x32/test-size_t.h: New file.
394 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
395 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
397 2019-01-18 Florian Weimer <fweimer@redhat.com>
400 resolv: Do not send queries for non-host-names in nss_dns.
401 * resolv/nss_dns/dns-host.c (check_name): New function.
402 (_nss_dns_gethostbyname2_r): Use it.
403 (_nss_dns_gethostbyname_r): Likewise.
404 (_nss_dns_gethostbyname4_r): Likewise.
406 2019-01-21 Florian Weimer <fweimer@redhat.com>
408 * resolv/inet_addr.c: Reformat to GNU style.
409 (__inet_addr, __inet_aton): Update comment.
411 2019-01-18 Florian Weimer <fweimer@redhat.com>
413 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
414 ("malloc: Use current (C11-style) atomics for fastbin access").
415 This commit introduces a substantial performance regression on
417 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
419 (_int_malloc): Use it and reindent.
420 (_int_free): Use CAS loop with
421 catomic_compare_and_exchange_val_rel.
422 (malloc_consolidate): Use atomic_exchange_acq.
425 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
427 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
429 (LDFLAGS-tst-minsigstksz-2): Likewise.
430 (LDFLAGS-tst-minsigstksz-3): Likewise.
431 (LDFLAGS-tst-minsigstksz-3a): Likewise.
432 (LDFLAGS-tst-minsigstksz-4): Likewise.
434 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
436 * manual/time.texi (strftime): Fix the wording to "alternative" rather
439 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
441 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
443 2019-01-16 Zack Weinberg <zackw@panix.com>
445 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
446 (xget_sigstack_location): New test support functions.
447 * support/xsigstack.c: New file, implementing them.
448 * support/tst-xsigstack.c: New test for them.
449 * support/Makefile: Update.
451 * signal/tst-minsigstksz-1.c
452 * signal/tst-minsigstksz-2.c
453 * signal/tst-minsigstksz-3.c
454 * signal/tst-minsigstksz-3a.c
455 * signal/tst-minsigstksz-4.c: New tests.
456 * signal/Makefile: Run them.
458 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
460 * po/libc.pot: Regenerate.
462 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
464 * math/libm-test-fma.inc (fma_test_data): Set
465 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
467 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
469 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
470 (do_test): Changed __vector __int128_t to __vector unsigned int.
472 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
475 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
476 stpcpy-avx2 and stpncpy-avx2.
477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
478 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
479 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
481 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
482 ifunc-strcpy.h}: rename header for a more generic name.
483 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
484 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
485 AVX unaligned load is fast and vzeroupper is preferred.
486 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
487 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
488 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
489 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
490 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
491 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
493 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
495 * argp/argp-help.c: Fix typo in comment.
496 * misc/sys/cdefs.h: Likewise.
497 * posix/regexec.c (sift_states_iter_mb): Likewise.
498 * socket/sockatmark.c: Likewise.
499 * socket/sys/socket.h: Likewise.
500 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
501 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
502 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
504 * sysdeps/unix/sockatmark.c: Likewise.
505 * time/strptime_l.c: Likewise.
507 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
509 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
510 missing space after the cast of "_NL_CURRENT".
512 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
514 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
515 ifdef to fix read of VSCR.
516 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
517 tst-ucontext-ppc64-vscr.c to test list.
518 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
520 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
522 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
525 2019-01-09 Jim Wilson <jimw@sifive.com>
527 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
529 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
531 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
532 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
533 __memcpy_falkor for ares.
534 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
536 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
539 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
542 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
543 4_FP_W_TYPEs are used for IEEE quad precision.
544 * soft-fp/extendhftf2.c: Likewise.
545 * soft-fp/extendsftf2.c: Likewise.
546 * soft-fp/extendxftf2.c: Likewise.
547 * soft-fp/trunctfdf2.c: Likewise.
548 * soft-fp/trunctfhf2.c: Likewise.
549 * soft-fp/trunctfsf2.c: Likewise.
550 * soft-fp/trunctfxf2.c: Likewise.
551 * sysdeps/alpha/ots_cvttx.c: Likewise.
552 * sysdeps/alpha/ots_cvtxt.c: Likewise.
553 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
554 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
555 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
556 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
557 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
558 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
559 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
560 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
561 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
562 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
563 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
564 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
565 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
566 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
567 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
568 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
570 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
573 * Makeconfig: Build libm with -fno-math-errno but build the remaining
574 code with -fmath-errno.
575 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
576 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
577 * string/test-strerror-errno.c: New file.
579 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
582 * localedata/locales/en_US (date_fmt): Add, set to
585 2019-01-07 Florian Weimer <fweimer@redhat.com>
588 * manual/arith.texi (Math Error Reporting): Use @code{errno}
589 instead of @var{errno}.
590 (Parsing of Integers): Likewise.
591 (Parsing of Floats): Likewise.
592 * manual/filesys.texi (Working with Directory Trees): Likewise.
593 (Temporary Files): Likewise.
594 * manual/job.texi (Terminal Access Functions): Likewise.
595 * manual/llio.texi (Synchronizing I/O): Likewise.
596 * manual/math.texi (SVID Random): Likewise.
597 * manual/message.texi (The catgets Functions): Likewise.
598 (Translation with gettext): Likewise.
599 (Locating gettext catalog): Likewise.
600 (Charset conversion in gettext): Likewise.
601 * manual/nss.texi (NSS Module Function Internals): Likewise.
602 * manual/search.texi (Hash Search Function): Likewise.
603 * manual/setjmp.texi (System V contexts): Likewise.
604 * manual/time.texi (Sleeping): Likewise.
605 * manual/users.texi (Lookup User): Likewise.
606 (Lookup Group): Likewise.
608 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
610 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
613 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
616 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
617 __builtin_unreachable for default case in switch.
618 (__ieee754_yn): Likewise.
619 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
620 (__ieee754_ynl): Likewise.
621 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
622 (__ieee754_ynl): Likewise.
623 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
624 (__ieee754_ynl): Likewise.
626 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
628 * manual/maint.texi: Use @{ and @}.
630 2019-01-04 Florian Weimer <fweimer@redhat.com>
632 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
634 (do_in_chroot_1): Call it.
636 Improve error reporting in case it is not possible to create a
637 collision for the PTY name required by the test.
639 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
641 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
642 lll_wait_tid with timeout.
643 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
644 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
645 futex_reltimed_wait_cancelable for cancelabla mode.
646 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
647 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
649 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
650 * sysdeps/posix/waitid.c (__sigwait): Likewise.
651 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
652 SYSCALL_CANCEL_NCS): New macro.
653 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
654 (lll_timedwait_tid): Remove macro.
655 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
657 (lll_timedwait_tid): Likewise.
658 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
660 (lll_timedwait_tid): Likewise.
661 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
663 (lll_timedwait_tid): Likewise.
664 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
665 Use INTERNAL_SYSCALL_CANCEL.
666 * sysdeps/unix/sysv/linux/futex-internal.h
667 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
668 instead of __pthread_{enable,disable}_asynccancel.
669 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
670 (lll_futex_wait_cancel): New macro.
672 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
673 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
675 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
676 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
678 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
679 in backtrace analysis.
680 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
684 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
685 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
686 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
687 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
688 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
689 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
690 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
691 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
692 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
693 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
694 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
695 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
697 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
698 tst-cancel-wrappers.sh.
699 (generated): Remove tst-cancel-wrappers.out.
700 (tst-cancel-wrappers.out): Remove rule.
701 * nptl/tst-cancel-wrappers.sh: Remove file.
703 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
705 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
706 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
709 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
712 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
713 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
714 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
715 close-on-exec reset for adddup2 file action.
716 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
718 2019-01-03 Zack Weinberg <zackw@panix.com>
720 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
721 parameter. Only use deprecated scanf when __USE_GNU is defined
722 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
723 than 201103L, whichever is relevant for the language being compiled.
725 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
726 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
727 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
728 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
729 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
738 * stdio-common/fscanf.c
739 * stdio-common/scanf.c
740 * stdio-common/vfscanf.c
741 * stdio-common/vfwscanf.c
742 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
743 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
744 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
745 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
746 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
747 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
748 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
749 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
750 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
751 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
752 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
753 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
754 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
755 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
756 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
758 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
759 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
760 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
762 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
763 with a preprocessor macro.
765 * stdio-common/bug21.c, stdio-common/scanf14.c:
766 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
767 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
768 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
769 to xscanf, xfscanf, xsscanf.
771 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
772 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
773 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
774 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
776 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
777 override feature selection macros or provide definitions of u_char etc.
778 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
779 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
780 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
783 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
787 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
788 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
789 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
790 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
791 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
792 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
794 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
795 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
796 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
797 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
798 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
799 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
801 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
802 (sysdep_headers): Add termios-misc.h.
804 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
805 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
806 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
810 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
811 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
812 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
813 TCSAFLUSH): Move to termios-tcflow.h.
814 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
815 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
816 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
817 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
821 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
822 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
823 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
824 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
825 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
826 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
827 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
828 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
830 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
831 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
832 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
833 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
837 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
838 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
839 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
840 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
841 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
843 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
844 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
845 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
846 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
851 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
852 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
853 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
854 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
855 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
856 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
857 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
858 __MAX_BAUD): Move to termios-baud.h.
859 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
860 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
861 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
862 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
863 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
865 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
867 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
868 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
869 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
870 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
871 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
872 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
874 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
875 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
877 [USE_MISC] (XTABS): Likewise.
878 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
879 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
880 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
881 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
883 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
885 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
886 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
887 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
888 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
889 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
890 IUTF8): Move to termios-c_iflag.h.
891 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
892 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
893 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
894 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
896 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
898 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
899 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
900 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
901 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
902 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
903 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
904 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
905 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
906 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
907 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
908 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
909 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
911 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
912 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
913 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
914 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
917 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
919 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
921 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
923 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
925 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
927 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
928 _HAVE_C_OSPEED): Define.
929 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
930 _HAVE_C_OSPEED): Likewise.
931 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
932 _HAVE_C_OSPEED): Likewise.
933 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
934 (cfsetospeed): Check for define value instead of existence.
935 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
936 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
937 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
938 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
939 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
942 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
944 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
945 (TIOCSER_TEMT): Likewise.
946 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
947 (TEOCSER_TEMT): Likewise.
949 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
952 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
954 2019-01-02 Joseph Myers <joseph@codesourcery.com>
956 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
958 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
960 * sysdeps/htl/pt-barrierattr-setpshared.c
961 (pthread_barrierattr_setpshared): Add stub warning.
962 * sysdeps/htl/pt-condattr-setpshared.c
963 (pthread_condattr_setpshared): Likewise.
964 * sysdeps/htl/pt-mutexattr-setpshared.c
965 (pthread_mutexattr_setpshared): Likewise.
966 * sysdeps/htl/pt-rwlockattr-setpshared.c
967 (pthread_rwlockattr_setpshared): Likewise.
968 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
969 (pthread_mutexattr_setpshared): Likewise.
971 2019-01-02 Joseph Myers <joseph@codesourcery.com>
973 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
974 constants to match with Linux 4.20.
976 * sysdeps/mips/mips32/libm-test-ulps: Update.
977 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
979 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
982 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
983 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
984 than __typeof (...) for the a_ptr variable.
986 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
988 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
989 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
990 * libio/Makefile (tests): Add tst-sprintf-ub and
992 (CFLAGS-tst-sprintf-ub.c): New variable.
993 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
994 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
995 destination buffer and check for overflows in fortified mode.
996 * libio/libioP.h (PRINTF_CHK): New macro.
997 * libio/tst-sprintf-chk-ub.c: New file.
998 * libio/tst-sprintf-ub.c: Likewise.
1000 2019-01-02 Florian Weimer <fweimer@redhat.com>
1003 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1006 2019-01-02 Florian Weimer <fweimer@redhat.com>
1008 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1010 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1012 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1015 * sysdeps/unix/sysv/linux/netpacket/packet.h
1016 (PACKET_IGNORE_OUTGOING): New macro.
1018 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1021 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1023 (riscv_flush_icache): New syscall.
1025 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1026 trailing whitespace removed.
1027 * scripts/config.guess: Update to version 2019-01-01.
1028 * scripts/config.sub: Update to version 2019-01-01.
1029 * scripts/move-if-change: Update from gnulib.
1031 * NEWS: Update copyright dates.
1032 * catgets/gencat.c (print_version): Likewise.
1033 * csu/version.c (banner): Likewise.
1034 * debug/catchsegv.sh: Likewise.
1035 * debug/pcprofiledump.c (print_version): Likewise.
1036 * debug/xtrace.sh (do_version): Likewise.
1037 * elf/ldconfig.c (print_version): Likewise.
1038 * elf/ldd.bash.in: Likewise.
1039 * elf/pldd.c (print_version): Likewise.
1040 * elf/sotruss.sh: Likewise.
1041 * elf/sprof.c (print_version): Likewise.
1042 * iconv/iconv_prog.c (print_version): Likewise.
1043 * iconv/iconvconfig.c (print_version): Likewise.
1044 * locale/programs/locale.c (print_version): Likewise.
1045 * locale/programs/localedef.c (print_version): Likewise.
1046 * login/programs/pt_chown.c (print_version): Likewise.
1047 * malloc/memusage.sh (do_version): Likewise.
1048 * malloc/memusagestat.c (print_version): Likewise.
1049 * malloc/mtrace.pl: Likewise.
1050 * manual/libc.texinfo: Likewise.
1051 * nptl/version.c (banner): Likewise.
1052 * nscd/nscd.c (print_version): Likewise.
1053 * nss/getent.c (print_version): Likewise.
1054 * nss/makedb.c (print_version): Likewise.
1055 * posix/getconf.c (main): Likewise.
1056 * scripts/test-installation.pl: Likewise.
1057 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1059 * All files with FSF copyright notices: Update copyright dates
1060 using scripts/update-copyrights.
1061 * locale/programs/charmap-kw.h: Regenerated.
1062 * locale/programs/locfile-kw.h: Likewise.
1064 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1066 * timezone/zdump.c: Update from tzcode 2018i.
1067 * timezone/zic.c: Likewise.
1069 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1071 regex: improve Gnulib port to AIX
1072 From the glibc point of view, this removes duplicate macro
1073 definitions and is obviously safe.
1074 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1075 * posix/regex_internal.h:
1076 (__attribute__, __attribute_warn_unused_result__):
1077 Remove; already defined elsewhere.
1079 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1082 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1083 copying operation. (ncopies had the wrong type, resulting in an
1084 integer wraparound and too few elements being copied.)
1086 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1089 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1090 <asm/syscalls.h> exists with __has_include__ before including it.
1092 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1094 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1097 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1099 * hurd/lookup-retry: Include <unistd.h>.
1100 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1101 Release it on return. Handle "pid" magical lookup retry.
1103 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1106 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1107 (t_fmt_ampm): Likewise.
1108 * localedata/locales/aa_ER (t_fmt): Likewise.
1109 (t_fmt_ampm): Likewise.
1110 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1111 (t_fmt_ampm): Likewise.
1112 * localedata/locales/aa_ET (t_fmt): Likewise.
1113 (t_fmt_ampm): Likewise.
1114 * localedata/locales/am_ET (t_fmt): Likewise.
1115 (t_fmt_ampm): Likewise.
1116 * localedata/locales/byn_ER (t_fmt): Likewise.
1117 (t_fmt_ampm): Likewise.
1118 * localedata/locales/om_ET (t_fmt): Likewise.
1119 (t_fmt_ampm): Likewise.
1120 * localedata/locales/sid_ET (t_fmt): Likewise.
1121 (t_fmt_ampm): Likewise.
1122 * localedata/locales/so_DJ (t_fmt): Likewise.
1123 (t_fmt_ampm): Likewise.
1124 * localedata/locales/so_ET (t_fmt): Likewise.
1125 (t_fmt_ampm): Likewise.
1126 * localedata/locales/so_SO (t_fmt): Likewise.
1127 (t_fmt_ampm): Likewise.
1128 * localedata/locales/ti_ER (t_fmt): Likewise.
1129 (t_fmt_ampm): Likewise.
1130 * localedata/locales/ti_ET (t_fmt): Likewise.
1131 (t_fmt_ampm): Likewise.
1132 * localedata/locales/tig_ER (t_fmt): Likewise.
1133 (t_fmt_ampm): Likewise.
1134 * localedata/locales/wal_ET (t_fmt): Likewise.
1135 (t_fmt_ampm): Likewise.
1137 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1138 * localedata/locales/ar_IN (t_fmt): Likewise.
1139 * localedata/locales/bhb_IN (t_fmt): Likewise.
1140 * localedata/locales/bho_IN (t_fmt): Likewise.
1141 * localedata/locales/bi_VU (t_fmt): Likewise.
1142 * localedata/locales/bn_BD (t_fmt): Likewise.
1143 * localedata/locales/bn_IN (t_fmt): Likewise.
1144 * localedata/locales/brx_IN (t_fmt): Likewise.
1145 * localedata/locales/doi_IN (t_fmt): Likewise.
1146 * localedata/locales/en_HK (t_fmt): Likewise.
1147 (t_fmt_ampm): Likewise.
1148 * localedata/locales/en_IN (t_fmt): Likewise.
1149 * localedata/locales/en_PH (t_fmt): Likewise.
1150 * localedata/locales/gu_IN (t_fmt): Likewise.
1151 * localedata/locales/hi_IN (t_fmt): Likewise.
1152 * localedata/locales/hif_FJ (t_fmt): Likewise.
1153 * localedata/locales/hne_IN (t_fmt): Likewise.
1154 * localedata/locales/kn_IN (t_fmt): Likewise.
1155 * localedata/locales/kok_IN (t_fmt): Likewise.
1156 * localedata/locales/ks_IN (t_fmt): Likewise.
1157 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1158 * localedata/locales/mag_IN (t_fmt): Likewise.
1159 * localedata/locales/mai_IN (t_fmt): Likewise.
1160 * localedata/locales/mjw_IN (t_fmt): Likewise.
1161 * localedata/locales/ml_IN (t_fmt): Likewise.
1162 * localedata/locales/mni_IN (t_fmt): Likewise.
1163 * localedata/locales/mr_IN (t_fmt): Likewise.
1164 * localedata/locales/ms_MY (t_fmt): Likewise.
1165 * localedata/locales/pa_IN (t_fmt): Likewise.
1166 * localedata/locales/raj_IN (t_fmt): Likewise.
1167 * localedata/locales/sa_IN (t_fmt): Likewise.
1168 * localedata/locales/sat_IN (t_fmt): Likewise.
1169 * localedata/locales/sd_IN (t_fmt): Likewise.
1170 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1171 * localedata/locales/tcy_IN (t_fmt): Likewise.
1172 * localedata/locales/the_NP (t_fmt): Likewise.
1173 * localedata/locales/to_TO (t_fmt): Likewise.
1174 * localedata/locales/ur_IN (t_fmt): Likewise.
1176 * localedata/locales/hif_FJ (d_t_fmt): Set to
1177 "%A %d %b %Y %I:%M:%S %p".
1178 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1180 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1181 * localedata/locales/ar_BH (t_fmt): Likewise.
1182 * localedata/locales/ar_DZ (t_fmt): Likewise.
1183 * localedata/locales/ar_EG (t_fmt): Likewise.
1184 * localedata/locales/ar_IQ (t_fmt): Likewise.
1185 * localedata/locales/ar_JO (t_fmt): Likewise.
1186 * localedata/locales/ar_KW (t_fmt): Likewise.
1187 * localedata/locales/ar_LB (t_fmt): Likewise.
1188 * localedata/locales/ar_LY (t_fmt): Likewise.
1189 * localedata/locales/ar_OM (t_fmt): Likewise.
1190 * localedata/locales/ar_QA (t_fmt): Likewise.
1191 * localedata/locales/ar_SD (t_fmt): Likewise.
1192 * localedata/locales/ar_SS (t_fmt): Likewise.
1193 * localedata/locales/ar_SY (t_fmt): Likewise.
1194 * localedata/locales/ar_TN (t_fmt): Likewise.
1195 * localedata/locales/ar_YE (t_fmt): Likewise.
1197 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1198 (t_fmt_ampm): Likewise.
1199 * localedata/locales/gez_ET (t_fmt): Likewise.
1200 (t_fmt_ampm): Likewise.
1202 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1203 (t_fmt_ampm): Likewise.
1204 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1206 * localedata/locales/zh_HK (t_fmt):
1207 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1209 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1210 because this locale does not use the 12-hour clock.
1211 (t_fmt): Set to "%Z %H:%M:%S".
1212 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1214 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1215 because this locale does not use the 12-hour clock.
1216 (t_fmt): Set to "%H:%M:%S %Z".
1217 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1219 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1220 because this locale does not use the 12-hour clock.
1221 (t_fmt): Set to "%T".
1222 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1223 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1225 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1226 because this locale does not use the 12-hour clock.
1227 (t_fmt): Set to "%H:%M:%S %Z".
1228 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1230 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1231 because this locale does not use the 12-hour clock.
1232 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1233 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1235 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1239 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1240 (t_fmt_ampm): Likewise.
1241 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1242 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1243 (d_fmt): Set to "%-d.%-m.%y".
1245 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1247 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1248 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1249 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1251 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1252 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1253 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1255 * support/blob_repeat.c (check_mul_overflow_size_t,
1256 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1258 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1260 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1262 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1264 regex: simplify Gnulib port
1265 This simplifies the code, by removing stuff intended for porting
1266 to Gnulib but no longer needed there.
1267 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1268 uses of libc_hidden_def, weak_alias.
1269 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1270 _Restrict_ except for public-facing headers.
1271 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1272 Remove; already defined elsewhere.
1273 * posix/regex.c, posix/regex_internal.h:
1274 Use __GNUC_PREREQ instead of rolling our own.
1275 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1277 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1279 * benchtests/bench-strlen.c (generic_strlen): New function.
1280 (memchr_strlen): New function.
1282 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1284 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1285 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1286 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1288 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1290 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1292 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1294 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1295 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1296 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1297 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1298 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1299 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1300 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1302 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1305 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1306 PLT reference in libc.so.
1307 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1308 _Q_lltoq and _Q_qtod PLT references in libc.so.
1310 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1312 * benchtests/bench-memchr.c: Cleanup defines.
1313 * benchtests/bench-memcmp.c: Likewise.
1314 * benchtests/bench-memset.c: Likewise.
1315 * benchtests/bench-memset-large.c: Likewise.
1316 * benchtests/bench-memset-walk.c: Likewise.
1317 * benchtests/bench-stpcpy.c: Likewise.
1318 * benchtests/bench-stpncpy.c: Likewise.
1319 * benchtests/bench-strcat.c: Likewise.
1320 * benchtests/bench-strchr.c: Likewise.
1321 * benchtests/bench-strcmp.c: Likewise.
1322 * benchtests/bench-strcpy.c: Likewise.
1323 * benchtests/bench-strcspn.c: Likewise.
1324 * benchtests/bench-string.h: Likewise.
1325 * benchtests/bench-strlen.c: Likewise.
1326 * benchtests/bench-strncat.c: Likewise.
1327 * benchtests/bench-strncmp.c: Likewise.
1328 * benchtests/bench-strncpy.c: Likewise.
1329 * benchtests/bench-strnlen.c: Likewise.
1330 * benchtests/bench-strpbrk.c: Likewise.
1331 * benchtests/bench-strrchr.c: Likewise.
1332 * benchtests/bench-strspn.c: Likewise.
1334 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1336 * stdlib/longlong.h: Update from GCC.
1339 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1340 * configure: Regenerated.
1341 * manual/install.texi (Tools for Compilation): Update minimum GCC
1343 * INSTALL: Regenerated.
1345 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1347 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1349 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1351 * malloc/malloc.c (mremap_chunk): Additional checks.
1353 2018-12-21 Mao Han <han_mao@c-sky.com>
1355 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1356 * scripts/build-many-glibcs.py: Add C-SKY targets.
1357 * sysdeps/csky/Implies: New file.
1358 * sysdeps/csky/Makefile: Likewise.
1359 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1360 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1361 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1362 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1363 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1364 * sysdeps/csky/abiv2/memmove.S: Likewise.
1365 * sysdeps/csky/abiv2/memset.S: Likewise.
1366 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1367 * sysdeps/csky/abiv2/start.S: Likewise.
1368 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1369 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1370 * sysdeps/csky/abiv2/strlen.S: Likewise.
1371 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1372 * sysdeps/csky/abort-instr.h: Likewise.
1373 * sysdeps/csky/atomic-machine.h: Likewise.
1374 * sysdeps/csky/bits/endian.h: Likewise.
1375 * sysdeps/csky/bits/fenv.h: Likewise.
1376 * sysdeps/csky/bits/link.h: Likewise.
1377 * sysdeps/csky/bits/setjmp.h: Likewise.
1378 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1379 * sysdeps/csky/bsd-setjmp.S: Likewise.
1380 * sysdeps/csky/configure: Likewise.
1381 * sysdeps/csky/configure.ac: Likewise.
1382 * sysdeps/csky/dl-machine.h: Likewise.
1383 * sysdeps/csky/dl-procinfo.c: Likewise.
1384 * sysdeps/csky/dl-procinfo.h: Likewise.
1385 * sysdeps/csky/dl-sysdep.h: Likewise.
1386 * sysdeps/csky/dl-tls.h: Likewise.
1387 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1388 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1389 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1390 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1391 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1392 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1393 * sysdeps/csky/fpu/fegetround.c: Likewise.
1394 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1395 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1396 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1397 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1398 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1399 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1400 * sysdeps/csky/fpu/fesetround.c: Likewise.
1401 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1402 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1403 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1404 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1405 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1406 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1407 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1408 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1409 * sysdeps/csky/fpu_control.h: Likewise.
1410 * sysdeps/csky/gccframe.h: Likewise.
1411 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1412 * sysdeps/csky/ldsodefs.h: Likewise.
1413 * sysdeps/csky/libc-tls.c: Likewise.
1414 * sysdeps/csky/linkmap.h: Likewise.
1415 * sysdeps/csky/machine-gmon.h: Likewise.
1416 * sysdeps/csky/memusage.h: Likewise.
1417 * sysdeps/csky/nofpu/Implies: Likewise.
1418 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1419 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1420 * sysdeps/csky/nptl/Makefile: Likewise.
1421 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1422 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1423 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1424 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1425 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1426 * sysdeps/csky/nptl/tls.h: Likewise.
1427 * sysdeps/csky/preconfigure: Likewise.
1428 * sysdeps/csky/sfp-machine.h: Likewise.
1429 * sysdeps/csky/sotruss-lib.c: Likewise.
1430 * sysdeps/csky/stackinfo.h: Likewise.
1431 * sysdeps/csky/sysdep.h: Likewise.
1432 * sysdeps/csky/tininess.h: Likewise.
1433 * sysdeps/csky/tst-audit.h: Likewise.
1434 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1435 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1436 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1437 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1438 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1439 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1440 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1441 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1442 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1443 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1444 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1445 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1446 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1447 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1448 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1449 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1450 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1451 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1452 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1453 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1454 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1455 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1456 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1457 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1458 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1459 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1460 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1461 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1462 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1463 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1464 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1465 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1466 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1467 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1468 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1469 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1470 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1471 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1472 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1473 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1474 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1475 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1476 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1477 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1479 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1481 * include/time.h (__difftime64): Add.
1482 * time/difftime.c (subtract): convert to 64-bit time.
1483 * time/difftime.c (__difftime64): Add.
1484 * time/difftime.c (__difftime): Wrap around __difftime64.
1486 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1488 * manual/examples/add.c: Remove redundant "if not".
1489 * manual/examples/argp-ex1.c: Likewise.
1490 * manual/examples/argp-ex2.c: Likewise.
1491 * manual/examples/argp-ex3.c: Likewise.
1492 * manual/examples/argp-ex4.c: Likewise.
1493 * manual/examples/atexit.c: Likewise.
1494 * manual/examples/db.c: Likewise.
1495 * manual/examples/dir.c: Likewise.
1496 * manual/examples/dir2.c: Likewise.
1497 * manual/examples/execinfo.c: Likewise.
1498 * manual/examples/filecli.c: Likewise.
1499 * manual/examples/filesrv.c: Likewise.
1500 * manual/examples/fmtmsgexpl.c: Likewise.
1501 * manual/examples/genpass.c: Likewise.
1502 * manual/examples/inetcli.c: Likewise.
1503 * manual/examples/inetsrv.c: Likewise.
1504 * manual/examples/isockad.c: Likewise.
1505 * manual/examples/longopt.c: Likewise.
1506 * manual/examples/memopen.c: Likewise.
1507 * manual/examples/memstrm.c: Likewise.
1508 * manual/examples/mkdirent.c: Likewise.
1509 * manual/examples/mkfsock.c: Likewise.
1510 * manual/examples/mkisock.c: Likewise.
1511 * manual/examples/mygetpass.c: Likewise.
1512 * manual/examples/pipe.c: Likewise.
1513 * manual/examples/popen.c: Likewise.
1514 * manual/examples/rprintf.c: Likewise.
1515 * manual/examples/search.c: Likewise.
1516 * manual/examples/select.c: Likewise.
1517 * manual/examples/setjmp.c: Likewise.
1518 * manual/examples/sigh1.c: Likewise.
1519 * manual/examples/sigusr.c: Likewise.
1520 * manual/examples/stpcpy.c: Likewise.
1521 * manual/examples/strdupa.c: Likewise.
1522 * manual/examples/strftim.c: Likewise.
1523 * manual/examples/subopt.c: Likewise.
1524 * manual/examples/swapcontext.c: Likewise.
1525 * manual/examples/termios.c: Likewise.
1526 * manual/examples/testopt.c: Likewise.
1527 * manual/examples/testpass.c: Likewise.
1528 * manual/examples/timeval_subtract.c: Likewise.
1530 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1532 * sysdeps/x86/fpu/math_private.h: New file.
1533 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1535 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1540 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1542 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1543 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1544 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1545 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1547 (_dl_show_auxv): Give a special treatment to
1548 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1549 and AT_L3_CACHEGEOMETRY.
1550 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1551 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1552 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1553 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1555 2018-12-19 Andreas Schwab <schwab@suse.de>
1557 * nscd/connections.c (check_use): Don't abort on invalid len.
1559 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1561 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1562 values in the 64bit value cases.
1564 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1570 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1576 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1579 (__gmtime64_r): Add.
1581 (__gmtime64_r): Add.
1582 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1588 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1591 (__localtime64_r): Add.
1593 (__localtime64_r): Add.
1594 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1596 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1598 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1599 kernel_sigction definition.
1601 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1603 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1605 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1606 __syscall_rt_sigaction.
1607 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1608 (kernel_sigaction): Use Linux generic defintion.
1610 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1611 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1612 (__syscall_rt_sigaction): Remove implementation.
1613 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1615 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1616 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1617 INTERNAL_SYSCALL): Remove definitions.
1618 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1619 action and signal set size.
1620 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1621 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1623 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1624 James Clarke <jrtc27@jrtc27.com>
1627 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1628 Define if SA_RESTORER is defined.
1629 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1630 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1632 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1633 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1635 (HAS_SA_RESTORER): Define.
1636 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1637 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1638 (HAS_SA_RESTORER): Define.
1639 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1640 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1641 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1642 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1643 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1645 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1647 * sysdeps/unix/sysv/linux/kernel-features.h
1648 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1649 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1650 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1651 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1652 (__ASSUME_ST_INO_64_BIT): Likewise.
1653 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1654 <kernel-features.h>.
1655 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1656 Remove conditional code.
1657 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1658 <kernel-features.h>.
1659 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1660 Remove conditional code.
1661 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1662 <kernel-features.h>.
1663 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1664 Remove conditional code.
1665 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1666 <kernel-features.h>.
1667 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1668 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1670 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1672 * sysdeps/s390/multiarch/ifunc-resolve.h
1673 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1674 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1675 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1676 Delete macro definition.
1677 (s390_libc_ifunc_init): Rename to
1678 s390_libc_ifunc_expr_stfle_init.
1679 * sysdeps/s390/bzero: Use
1680 s390_libc_ifunc_expr_stfle_init instead of
1681 s390_libc_ifunc_init.
1682 * sysdeps/s390/memcmp.c: Likewise.
1683 * sysdeps/s390/memcpy.c: Likewise.
1684 * sysdeps/s390/mempcpy.c: Likewise.
1685 * sysdeps/s390/memset.c: Likewise.
1687 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1689 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1690 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1692 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1694 * sysdeps/s390/multiarch/Makefile
1695 (sysdep_routines): Remove wmemcmp variants.
1696 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1697 * sysdeps/s390/multiarch/ifunc-impl-list.c
1698 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1699 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1700 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1701 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1702 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1703 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1704 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1705 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1707 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1709 * sysdeps/s390/multiarch/Makefile
1710 (sysdep_routines): Remove wmemset variants.
1711 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1712 * sysdeps/s390/multiarch/ifunc-impl-list.c
1713 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1714 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1715 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1716 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1717 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1718 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1719 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1720 * sysdeps/s390/ifunc-wmemset.h: New file.
1722 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1724 * sysdeps/s390/multiarch/Makefile
1725 (sysdep_routines): Remove wmemchr variants.
1726 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1727 * sysdeps/s390/multiarch/ifunc-impl-list.c
1728 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1729 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1730 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1731 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1732 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1733 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1734 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1735 * sysdeps/s390/ifunc-wmemchr.h: New file.
1737 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1739 * sysdeps/s390/multiarch/Makefile
1740 (sysdep_routines): Remove wcscspn variants.
1741 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1742 * sysdeps/s390/multiarch/ifunc-impl-list.c
1743 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1744 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1745 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1746 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1747 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1748 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1749 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1750 * sysdeps/s390/ifunc-wcscspn.h: New file.
1752 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1754 * sysdeps/s390/multiarch/Makefile
1755 (sysdep_routines): Remove wcspbrk variants.
1756 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1757 * sysdeps/s390/multiarch/ifunc-impl-list.c
1758 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1759 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1760 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1761 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1762 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1763 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1764 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1765 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1767 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1769 * sysdeps/s390/multiarch/Makefile
1770 (sysdep_routines): Remove wcsspn variants.
1771 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1772 * sysdeps/s390/multiarch/ifunc-impl-list.c
1773 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1774 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1775 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1776 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1777 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1778 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1779 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1780 * sysdeps/s390/ifunc-wcsspn.h: New file.
1782 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1784 * sysdeps/s390/multiarch/Makefile
1785 (sysdep_routines): Remove wcsrchr variants.
1786 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1787 * sysdeps/s390/multiarch/ifunc-impl-list.c
1788 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1789 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1790 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1791 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1792 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1793 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1794 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1795 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1797 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1799 * sysdeps/s390/multiarch/Makefile
1800 (sysdep_routines): Remove wcschrnul variants.
1801 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1802 * sysdeps/s390/multiarch/ifunc-impl-list.c
1803 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1804 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1805 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1806 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1807 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1808 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1809 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1810 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1812 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1814 * sysdeps/s390/multiarch/Makefile
1815 (sysdep_routines): Remove wcschr variants.
1816 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1817 * sysdeps/s390/multiarch/ifunc-impl-list.c
1818 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1819 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1820 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1821 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1822 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1823 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1824 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1825 * sysdeps/s390/ifunc-wcschr.h: New file.
1827 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1829 * sysdeps/s390/multiarch/Makefile
1830 (sysdep_routines): Remove wcsncmp variants.
1831 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1832 * sysdeps/s390/multiarch/ifunc-impl-list.c
1833 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1834 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1835 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1836 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1837 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1838 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1839 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1840 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1842 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1844 * sysdeps/s390/multiarch/Makefile
1845 (sysdep_routines): Remove wcscmp variants.
1846 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1847 * sysdeps/s390/multiarch/ifunc-impl-list.c
1848 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1849 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1850 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1851 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1852 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1853 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1854 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1855 * sysdeps/s390/ifunc-wcscmp.h: New file.
1857 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1859 * sysdeps/s390/multiarch/Makefile
1860 (sysdep_routines): Remove wcsncat variants.
1861 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1862 * sysdeps/s390/multiarch/ifunc-impl-list.c
1863 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1864 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1865 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1866 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1867 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1868 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1869 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1870 * sysdeps/s390/ifunc-wcsncat.h: New file.
1872 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1874 * sysdeps/s390/multiarch/Makefile
1875 (sysdep_routines): Remove wcscat variants.
1876 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1877 * sysdeps/s390/multiarch/ifunc-impl-list.c
1878 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1879 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1880 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1881 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1882 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1883 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1884 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1885 * sysdeps/s390/ifunc-wcscat.h: New file.
1887 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1889 * sysdeps/s390/multiarch/Makefile
1890 (sysdep_routines): Remove wcpncpy variants.
1891 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
1892 * sysdeps/s390/multiarch/ifunc-impl-list.c
1893 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
1894 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
1895 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
1896 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
1897 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
1898 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
1899 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
1900 * sysdeps/s390/ifunc-wcpncpy.h: New file.
1902 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1904 * sysdeps/s390/multiarch/Makefile
1905 (sysdep_routines): Remove wcsncpy variants.
1906 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
1907 * sysdeps/s390/multiarch/ifunc-impl-list.c
1908 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
1909 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
1910 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
1911 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
1912 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
1913 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
1914 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
1915 * sysdeps/s390/ifunc-wcsncpy.h: New file.
1917 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1919 * sysdeps/s390/multiarch/Makefile
1920 (sysdep_routines): Remove wcpcpy variants.
1921 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
1922 * sysdeps/s390/multiarch/ifunc-impl-list.c
1923 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
1924 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
1925 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
1926 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
1927 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
1928 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
1929 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
1930 * sysdeps/s390/ifunc-wcpcpy.h: New file.
1932 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1934 * sysdeps/s390/multiarch/Makefile
1935 (sysdep_routines): Remove wcscpy variants.
1936 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
1937 * sysdeps/s390/multiarch/ifunc-impl-list.c
1938 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
1939 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
1940 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
1941 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
1942 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
1943 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
1944 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
1945 * sysdeps/s390/ifunc-wcscpy.h: New file.
1947 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1949 * sysdeps/s390/multiarch/Makefile
1950 (sysdep_routines): Remove wcsnlen variants.
1951 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
1952 * sysdeps/s390/multiarch/ifunc-impl-list.c
1953 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
1954 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
1955 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
1956 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
1957 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
1958 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
1959 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
1960 * sysdeps/s390/ifunc-wcsnlen.h: New file.
1962 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1964 * sysdeps/s390/multiarch/Makefile
1965 (sysdep_routines): Remove wcslen variants.
1966 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
1967 * sysdeps/s390/multiarch/ifunc-impl-list.c
1968 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
1969 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
1970 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
1971 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
1972 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
1973 * sysdeps/s390/multiarch/wcslen.c: Move to ...
1974 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
1975 * sysdeps/s390/ifunc-wcslen.h: New file.
1977 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1979 * sysdeps/s390/multiarch/Makefile
1980 (sysdep_routines): Remove memrchr variants.
1981 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
1982 * sysdeps/s390/multiarch/ifunc-impl-list.c
1983 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
1984 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
1985 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
1986 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
1987 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
1988 * sysdeps/s390/multiarch/memrchr.c: Move to ...
1989 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
1990 * sysdeps/s390/ifunc-memrchr.h: New file.
1992 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1994 * sysdeps/s390/multiarch/Makefile
1995 (sysdep_routines): Remove memccpy variants.
1996 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
1997 * sysdeps/s390/multiarch/ifunc-impl-list.c
1998 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
1999 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2000 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2001 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2002 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2003 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2004 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2005 * sysdeps/s390/ifunc-memccpy.h: New file.
2007 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2009 * sysdeps/s390/multiarch/Makefile
2010 (sysdep_routines): Remove rawmemchr variants.
2011 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2012 * sysdeps/s390/multiarch/ifunc-impl-list.c
2013 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2014 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2015 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2016 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2017 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2018 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2019 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2020 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2022 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2024 * sysdeps/s390/multiarch/Makefile
2025 (sysdep_routines): Remove memchr variants.
2026 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2027 * sysdeps/s390/multiarch/ifunc-impl-list.c
2028 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2029 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2030 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2031 * sysdeps/s390/multiarch/memchr.c: Move to ...
2032 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2033 * sysdeps/s390/ifunc-memchr.h: New file.
2034 * sysdeps/s390/s390-64/memchr.S: Move to ...
2035 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2036 for 31/64bit and ifunc handling.
2037 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2038 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2039 * sysdeps/s390/s390-32/memchr.S: Likewise.
2041 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2043 * sysdeps/s390/multiarch/Makefile
2044 (sysdep_routines): Remove strcspn variants.
2045 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2046 * sysdeps/s390/multiarch/ifunc-impl-list.c
2047 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2048 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2049 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2050 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2051 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2052 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2053 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2054 * sysdeps/s390/ifunc-strcspn.h: New file.
2056 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2058 * sysdeps/s390/multiarch/Makefile
2059 (sysdep_routines): Remove strpbrk variants.
2060 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2061 * sysdeps/s390/multiarch/ifunc-impl-list.c
2062 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2063 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2064 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2065 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2066 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2067 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2068 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2069 * sysdeps/s390/ifunc-strpbrk.h: New file.
2071 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2073 * sysdeps/s390/multiarch/Makefile
2074 (sysdep_routines): Remove strspn variants.
2075 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2076 * sysdeps/s390/multiarch/ifunc-impl-list.c
2077 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2078 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2079 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2080 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2081 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2082 * sysdeps/s390/multiarch/strspn.c: Move to ...
2083 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2084 * sysdeps/s390/ifunc-strspn.h: New file.
2086 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2088 * sysdeps/s390/multiarch/Makefile
2089 (sysdep_routines): Remove strrchr variants.
2090 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2091 * sysdeps/s390/multiarch/ifunc-impl-list.c
2092 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2093 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2094 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2095 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2096 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2097 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2098 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2099 * sysdeps/s390/ifunc-strrchr.h: New file.
2101 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2103 * sysdeps/s390/multiarch/Makefile
2104 (sysdep_routines): Remove strchrnul variants.
2105 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2106 * sysdeps/s390/multiarch/ifunc-impl-list.c
2107 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2108 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2109 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2110 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2111 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2112 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2113 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2114 * sysdeps/s390/ifunc-strchrnul.h: New file.
2116 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2118 * sysdeps/s390/multiarch/Makefile
2119 (sysdep_routines): Remove strchr variants.
2120 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2121 * sysdeps/s390/multiarch/ifunc-impl-list.c
2122 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2123 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2124 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2125 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2126 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2127 * sysdeps/s390/multiarch/strchr.c: Move to ...
2128 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2129 * sysdeps/s390/ifunc-strchr.h: New file.
2131 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2133 * sysdeps/s390/multiarch/Makefile
2134 (sysdep_routines): Remove strncmp variants.
2135 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2136 * sysdeps/s390/multiarch/ifunc-impl-list.c
2137 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2138 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2139 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2140 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2141 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2142 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2143 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2144 * sysdeps/s390/ifunc-strncmp.h: New file.
2146 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2148 * sysdeps/s390/multiarch/Makefile
2149 (sysdep_routines): Remove strcmp variants.
2150 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2151 * sysdeps/s390/multiarch/ifunc-impl-list.c
2152 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2153 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2154 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2155 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2156 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2157 * sysdeps/s390/ifunc-strcmp.h: New file.
2158 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2159 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2160 for 31/64bit and ifunc handling.
2161 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2162 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2163 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2165 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2167 * sysdeps/s390/multiarch/Makefile
2168 (sysdep_routines): Remove strncat variants.
2169 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2170 * sysdeps/s390/multiarch/ifunc-impl-list.c
2171 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2172 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2173 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2174 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2175 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2176 * sysdeps/s390/multiarch/strncat.c: Move to ...
2177 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2178 * sysdeps/s390/ifunc-strncat.h: New file.
2180 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2182 * sysdeps/s390/multiarch/Makefile
2183 (sysdep_routines): Remove strcat variants.
2184 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2185 * sysdeps/s390/multiarch/ifunc-impl-list.c
2186 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2187 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2188 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2189 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2190 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2191 * sysdeps/s390/multiarch/strcat.c: Move to ...
2192 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2193 * sysdeps/s390/ifunc-strcat.h: New file.
2195 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2197 * sysdeps/s390/multiarch/Makefile
2198 (sysdep_routines): Remove stpncpy variants.
2199 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2200 * sysdeps/s390/multiarch/ifunc-impl-list.c
2201 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2202 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2203 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2204 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2205 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2206 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2207 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2208 * sysdeps/s390/ifunc-stpncpy.h: New file.
2210 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2212 * sysdeps/s390/multiarch/Makefile
2213 (sysdep_routines): Remove strncpy variants.
2214 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2215 * sysdeps/s390/multiarch/ifunc-impl-list.c
2216 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2217 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2218 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2219 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2220 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2221 * sysdeps/s390/ifunc-strncpy.h: New file.
2222 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2223 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2224 and adjust ifunc handling.
2225 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2226 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2227 and adjust ifunc handling.
2228 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2229 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2231 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2233 * sysdeps/s390/multiarch/Makefile
2234 (sysdep_routines): Remove stpcpy variants.
2235 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2236 * sysdeps/s390/multiarch/ifunc-impl-list.c
2237 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2238 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2239 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2240 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2241 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2242 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2243 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2244 * sysdeps/s390/ifunc-stpcpy.h: New file.
2246 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2248 * sysdeps/s390/multiarch/Makefile
2249 (sysdep_routines): Remove strcpy variants.
2250 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2251 * sysdeps/s390/multiarch/ifunc-impl-list.c
2252 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2253 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2254 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2255 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2256 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2257 * sysdeps/s390/ifunc-strcpy.h: New file.
2258 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2259 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2260 for 31/64bit and ifunc handling.
2261 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2262 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2263 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2265 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2267 * sysdeps/s390/multiarch/Makefile
2268 (sysdep_routines): Remove strnlen variants.
2269 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2270 * sysdeps/s390/multiarch/ifunc-impl-list.c
2271 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2272 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2273 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2274 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2275 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2276 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2277 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2278 * sysdeps/s390/ifunc-strnlen.h: New file.
2280 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2282 * sysdeps/s390/multiarch/Makefile
2283 (sysdep_routines): Remove strlen variants.
2284 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2285 * sysdeps/s390/multiarch/ifunc-impl-list.c
2286 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2287 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2288 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2289 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2290 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2291 * sysdeps/s390/multiarch/strlen.c: Move to ...
2292 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2293 * sysdeps/s390/ifunc-strlen.h: New file.
2295 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2297 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2298 * sysdeps/s390/multiarch/ifunc-impl-list.c
2299 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2300 * sysdeps/s390/ifunc-memmem.h: New file.
2301 * sysdeps/s390/memmem.c: Likewise.
2302 * sysdeps/s390/memmem-c.c: Likewise.
2303 * sysdeps/s390/memmem-vx.c: Likewise.
2305 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2307 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2308 * sysdeps/s390/multiarch/ifunc-impl-list.c
2309 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2310 * sysdeps/s390/ifunc-strstr.h: New file.
2311 * sysdeps/s390/strstr.c: Likewise.
2312 * sysdeps/s390/strstr-c.c: Likewise.
2313 * sysdeps/s390/strstr-vx.c: Likewise.
2315 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2317 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2318 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2319 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2320 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2322 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2323 * sysdeps/s390/memmove-c.c: New file.
2324 * sysdeps/s390/memmove.c: Likewise.
2325 * sysdeps/s390/multiarch/ifunc-impl-list.c
2326 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2328 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2330 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2331 * sysdeps/s390/configure.ac: Add check for z13 support.
2332 * sysdeps/s390/configure: Regenerated.
2334 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2336 * sysdeps/s390/memcopy.h: New file.
2338 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2340 * sysdeps/s390/s390-32/bcopy.S: Remove.
2341 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2343 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2345 * sysdeps/s390/ifunc-memcpy.h: New File.
2346 * sysdeps/s390/memcpy.S: Move to ...
2347 * sysdeps/s390/memcpy-z900.S ... here.
2348 Move implementations from memcpy-s390x.s to here.
2349 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2350 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2351 Remove memcpy/mempcpy variants.
2352 * sysdeps/s390/Makefile (sysdep_routines):
2353 Add memcpy/mempcpy variants.
2354 * sysdeps/s390/multiarch/ifunc-impl-list.c
2355 (__libc_ifunc_impl_list): Adjust ifunc variants for
2357 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2359 * sysdeps/s390/memcpy.c: ... here.
2360 Adjust ifunc variants for memcpy.
2361 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2362 * sysdeps/s390/mempcpy.c: ... here.
2363 Adjust ifunc variants for mempcpy.
2364 * sysdeps/s390/mempcpy.S: Delete file.
2366 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2368 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2369 * sysdeps/s390/memcpy.S: ... here.
2370 Adjust to be usable for 31/64bit.
2371 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2372 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2373 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2374 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2375 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2376 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2377 Adjust to be usable for 31/64bit.
2378 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2379 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2380 * sysdeps/s390/multiarch/memcpy.c: ... here.
2381 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2383 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2385 * sysdeps/s390/ifunc-memcmp.h: New File.
2386 * sysdeps/s390/memcmp.S: Move to ...
2387 * sysdeps/s390/memcmp-z900.S ... here.
2388 Move implementations from memcmp-s390x.s to here.
2389 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2390 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2391 Remove memcmp variants.
2392 * sysdeps/s390/Makefile (sysdep_routines):
2393 Add memcmp variants.
2394 * sysdeps/s390/multiarch/ifunc-impl-list.c
2395 (__libc_ifunc_impl_list): Adjust ifunc variants for
2397 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2399 * sysdeps/s390/memcmp.c: ... here.
2400 Adjust ifunc variants for memcmp.
2402 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2404 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2405 * sysdeps/s390/memcmp.S: ... here.
2406 Adjust to be usable for 31/64bit.
2407 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2408 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2409 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2411 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2412 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2413 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2414 Adjust to be usable for 31/64bit.
2415 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2416 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2417 * sysdeps/s390/multiarch/memcmp.c: ... here.
2418 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2420 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2422 * sysdeps/s390/s390-32/bzero.S: Delete file.
2423 * sysdeps/s390/s390-64/bzero.S: Likewise.
2424 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2425 * sysdeps/s390/bzero.c: New file.
2426 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2427 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2428 * sysdeps/s390/multiarch/ifunc-impl-list.c
2429 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2431 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2433 * sysdeps/s390/ifunc-memset.h: New File.
2434 * sysdeps/s390/memset.S: Move to ...
2435 * sysdeps/s390/memset-z900.S ... here.
2436 Move implementations from memset-s390x.s to here.
2437 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2438 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2439 Remove memset variants.
2440 * sysdeps/s390/Makefile (sysdep_routines):
2441 Add memset variants.
2442 * sysdeps/s390/multiarch/ifunc-impl-list.c
2443 (__libc_ifunc_impl_list): Adjust ifunc variants for
2445 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2447 * sysdeps/s390/memset.c: ... here.
2448 Adjust ifunc variants for memset.
2450 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2452 * sysdeps/s390/s390-64/memset.S: Move to ...
2453 * sysdeps/s390/memset.S: ... here.
2454 Adjust to be usable for 31/64bit.
2455 * sysdeps/s390/s390-32/memset.S: Delete File.
2456 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2457 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2459 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2460 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2461 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2462 Adjust to be usable for 31/64bit.
2463 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2464 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2465 * sysdeps/s390/multiarch/memset.c: ... here.
2466 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2468 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2470 * sysdeps/s390/multiarch/ifunc-resolve.h
2471 (s390_libc_ifunc_init, s390_libc_ifunc,
2472 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2474 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2476 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2477 * sysdeps/s390/configure.ac: Add check for z10 support.
2478 * sysdeps/s390/configure: Regenerated.
2480 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2482 * sysdeps/i386/atomic-machine.h: Merged with ...
2483 * sysdeps/x86_64/atomic-machine.h: To ...
2484 * sysdeps/x86/atomic-machine.h: This. New file.
2486 2018-12-18 Florian Weimer <fweimer@redhat.com>
2488 Rewrite locale/gen-translit.pl in Python.
2489 * locale/Makefile (generated): Add C-translit.h.
2490 (before-compile): Add $(objpfx)C-translit.h.
2491 (C-translit.h): Move to $(objpfx). Create target directory.
2492 Build using Python script.
2493 * locale/gen-translit.py: New file.
2494 * locale/gen-translit.pl: Remove file.
2495 * locale/C-translit.h.in: Change comment character to '#' for
2496 easier parsing without a C preprocessor.
2497 * locale/C-translit.h: Remove generated file.
2498 * manual/install.texi (Tools for Compilation): Do not mention
2500 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2501 Remove locale/C-translit.h.
2502 * scripts/update-copyrights: Likewise.
2503 * INSTALL: Regenerate.
2505 2018-12-18 Florian Weimer <fweimer@redhat.com>
2508 * localedata/locales/bi_VU: Remove executable bit from file.
2510 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2513 (__localtime64): Add.
2514 * manual/maint.texi: Document Y2038 symbol handling.
2516 (__localtime64): Add.
2517 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2519 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2521 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2524 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2525 to allow extra macros from first or second sources.
2526 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2527 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2528 (tests-special): Add $(objpfx)tst-mman-consts.out.
2529 ($(objpfx)tst-mman-consts.out): New makefile target.
2531 2018-12-17 Mao Han <han_mao@c-sky.com>
2533 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2534 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2535 without stat64 system call support.
2536 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2537 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2538 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2539 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2540 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2541 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2542 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2543 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2544 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2545 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2546 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2548 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2550 regex: fix storage-exhaustion error
2552 * posix/regexec.c (get_subexp):
2553 Do not continue if storage is exhausted.
2555 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2557 regex: fix heap-use-after-free error
2559 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2560 https://debbugs.gnu.org/32592
2561 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2562 call extend_buffers which reallocates the re_string_t internal buffer.
2563 Local variable 'buf' was not updated in such case, resulting in
2565 * posix/regexec.c (get_subexp): Update 'buf' after call to
2568 2018-12-15 Florian Weimer <fweimer@redhat.com>
2570 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2571 (minimum_stride_size): Use it.
2572 (support_blob_repeat_allocate): Likewise.
2574 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2576 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2581 2018-12-14 Florian Weimer <fweimer@redhat.com>
2583 * manual/process.texi (Process Creation Concepts): Remove
2584 documentation of process (ID) lifetime. List more process
2585 creation functions. Reference Process Identification section.
2586 (Process Identification): Add information about process ID
2587 lifetime. Describe Linux thread/task IDs.
2588 * manual/signal.texi (Signaling Another Process): Mention that the
2589 signal is always sent to the process.
2591 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2593 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2594 and tst-ldbl-efgcvt.
2595 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2596 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2597 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2598 (fcvt_tests, output_error, output_r_error, do_test): Use the
2599 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2600 select the type of floating-point variables and arguments; to
2601 produce extra tests for double and conversion specifiers for
2602 printf; and to set the names of called functions.
2603 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2604 in tst-efgcvt-template.c.
2605 * misc/tst-ldbl-efgcvt.c: Likewise.
2607 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2609 * nss/Makefile (tst-nss-test3.out): New rule.
2611 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2613 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2616 2018-12-13 fanjinke <fanjinke@hygon.cn>
2618 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2621 2018-12-13 Andreas Schwab <schwab@suse.de>
2624 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2625 (__pthread_rwlock_rdlock_full): Update expected value for
2626 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2627 * nptl/tst-rwlock-pwn.c: New file.
2628 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2630 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2632 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2635 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2637 * benchtests/scripts/compare_bench.py (do_compare): write to
2638 stderr in casestat is not present.
2639 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2640 stderr in case timings field is not present. Also string showing
2641 the output filename goes into the stderr.
2643 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2645 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2646 and ZeroDivisorError exceptions.
2647 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2648 argument to loop through user provided statistics.
2649 * benchtests/scripts/compare_bench.py (main): Include the --stats
2652 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2654 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2657 2018-12-12 Florian Weimer <fweimer@redhat.com>
2659 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2660 clause to copyright header.
2662 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2665 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2666 registers saved in the stack frame.
2667 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2668 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2670 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2672 * include/bits/monetary-ldbl.h: New file.
2673 * include/bits/printf-ldbl.h: Likewise.
2674 * include/bits/stdio-ldbl.h: Likewise.
2675 * include/bits/stdlib-ldbl.h: Likewise.
2676 * include/bits/syslog-ldbl.h: Likewise.
2677 * include/bits/wchar-ldbl.h: Likewise.
2679 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2681 * libio/libio.h: Remove redirection for _IO_vfprintf.
2683 2018-12-11 Andreas Schwab <schwab@suse.de>
2685 * Makerules: Remove all references to abilist-pattern.
2686 (update-all-abi): Simplify find expression.
2688 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2691 * math/auto-libm-test-in: Add new test case.
2692 * math/auto-libm-test-out-pow: Regenerated.
2693 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2695 2018-12-10 DJ Delorie <dj@redhat.com>
2698 * support/test-container.c: Move postclean step to before we
2701 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2703 * scripts/gen-as-const.py (main): Handle --python option.
2704 * scripts/gen-py-const.awk: Remove.
2705 * Makerules (py-const-script): Use gen-as-const.py.
2706 ($(py-const)): Likewise.
2707 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2708 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2709 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2710 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2711 ~PTHREAD_MUTEX_NO_ELISION_NP.
2712 * manual/README.pretty-printers: Update reference to
2715 * scripts/glibcextract.py: New file.
2716 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2717 or tempfile. Import glibcexctract.
2718 (compute_c_consts): Remove. Moved to glibcextract.py.
2719 (gen_test): Update reference to compute_c_consts.
2721 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2722 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2723 * sysdeps/unix/sysv/linux/Makefile
2724 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2725 Redirect stderr as well as stdout.
2727 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2730 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2731 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2732 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2733 ALWAYS_USE_VSYSCALL.
2734 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2735 ALWAYS_USE_VSYSCALL.
2736 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2737 ALWAYS_USE_VSYSCALL.
2739 2018-12-10 Florian Weimer <fweimer@redhat.com>
2742 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2743 offset instead of count for clarity. Fix typo in comment.
2744 (__old_getdents64): Keep track of previous offset. Use it to call
2746 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2747 that d_off is never zero.
2749 2018-12-10 Andreas Schwab <schwab@suse.de>
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2752 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2754 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2755 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2757 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2759 * timezone/private.h: Update from tzcode 2018g.
2760 * timezone/tzfile.h: Likewise.
2761 * timezone/tzselect.ksh: Likewise.
2762 * timezone/zdump.c: Likewise.
2763 * timezone/zic.c: Likewise.
2765 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2768 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2769 (do_test): Adjust buffer size and fix format.
2771 2018-12-07 DJ Delorie <dj@redhat.com>
2774 * malloc/tst-tcfree3.c: New.
2775 * malloc/Makefile: Add it.
2777 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2779 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2781 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2783 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2784 used as a mask for the mode argument of __vfscanf_internal and
2785 __vfwscanf_internal.
2786 * stdio-common/vfscanf-internal.c
2787 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2788 (__strtof128_internal): Define to __wcstof128_internal.
2789 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2790 __strtof128_internal or __wcstof128_internal when the format of
2791 long double is the same as _Float128.
2793 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2795 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2796 * posix/confstr.c (confstr): Rename to __confstr.
2797 (__confstr): Add hidden def.
2798 (confstr): Add weak alias for __confstr.
2799 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2802 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2804 * NEWS: Mention getcpu.
2805 * include/sched.h (__getcpu): New libc_hidden_proto.
2806 * manual/resource.texi: Document getcpu.
2807 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2808 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2809 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2810 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2811 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2812 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2813 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2814 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2815 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2816 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2817 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2818 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2819 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2821 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2822 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2823 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2832 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2833 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2834 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2835 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2836 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2837 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2838 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2839 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2840 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2841 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2842 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2845 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2847 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2849 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2851 2018-12-07 Florian Weimer <fweimer@redhat.com>
2854 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2855 * posix/Versions (GLIBC_2.29): Export
2856 posix_spawn_file_actions_addfchdir_np.
2857 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2858 * posix/spawn_faction_destroy.c
2859 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2860 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2861 and the field action.fchdir_action.
2862 * posix/tst-spawn-chdir.c (add_chdir): New function.
2863 (do_test): Add do_fchdir loop. Call add_chdir.
2864 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2865 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2866 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2867 posix_spawn_file_actions_addfchdir_np.
2868 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2870 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2872 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2873 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2875 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2877 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2879 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2881 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2883 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2885 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2886 (GLIBC_2.29): Likewise.
2887 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2888 (GLIBC_2.29): Likewise.
2889 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2890 (GLIBC_2.29): Likewise.
2891 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2892 (GLIBC_2.29): Likewise.
2893 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2896 (GLIBC_2.29): Likewise.
2897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2898 (GLIBC_2.29): Likewise.
2899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2900 (GLIBC_2.29): Likewise.
2901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2902 (GLIBC_2.29): Likewise.
2903 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2905 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2907 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2909 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2910 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2912 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2914 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2916 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2919 2018-12-06 Joseph Myers <joseph@codesourcery.com>
2921 * manual/texinfo.tex: Update to version 2018-09-21.20 with
2922 trailing whitespace removed.
2923 * scripts/config.guess: Update to version 2018-11-28.
2924 * scripts/config.sub: Update to version 2018-11-28.
2925 * scripts/install-sh: Update to version 2018-03-11.20.
2926 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
2927 * scripts/move-if-change: Update to version 2018-03-07 03:47.
2929 2018-12-07 Florian Weimer <fweimer@redhat.com>
2933 * inet/tst-if_index-long.c: New file.
2934 * inet/Makefile (tests): Add tst-if_index-long.
2936 2018-12-07 Florian Weimer <fweimer@redhat.com>
2938 * support/check.h (support_record_failure_is_failed): Declare.
2939 * support/descriptors.h: New file.
2940 * support/support_descriptors.c: Likewise.
2941 * support/tst-support_descriptors.c: Likewise.
2942 * support/support_record_failure.c
2943 (support_record_failure_is_failed): New function.
2944 * support/Makefile (libsupport-routines): Add support_descriptors.
2945 (tests): Add tst-support_descriptors.
2947 2018-12-05 Zack Weinberg <zackw@panix.com>
2948 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2950 * stdio-common/vfprintf-internal.c
2951 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
2952 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
2953 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
2954 and __no_long_double.
2955 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
2956 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
2957 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
2958 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
2959 and __nldbl_*syslog* functions.
2960 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
2961 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
2962 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
2963 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
2964 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
2965 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
2966 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
2967 (__nldbl_vwprintf, __nldbl_wprintf):
2968 Directly call the appropriate __v*printf_internal routine, passing
2969 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
2971 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
2972 (__nldbl___printf_chk, __nldbl___snprintf_chk)
2973 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
2974 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
2975 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
2976 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
2977 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
2978 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
2979 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
2980 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
2981 Likewise, and also pass PRINTF_FORTIFY when appropriate.
2982 (__nldbl_syslog, __nldbl_vsyslog):
2983 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
2984 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2986 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
2989 2018-12-05 Zack Weinberg <zackw@panix.com>
2990 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2993 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
2994 Moved here from debug/vsprintf_chk.c.
2995 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
2996 and completion logic for the strfile to match exactly what
2997 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
2998 _IO_str_init_static_internal instead of maxlen-1.
2999 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3000 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3001 __vsprintf_internal.
3003 * debug/vsprintf_chk.c (__vsprintf_chk)
3004 * debug/sprintf_chk.c (__sprintf_chk):
3005 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3006 'flags' argument is positive, and slen as maxlen. No need to lock
3007 the FILE and/or construct a temporary FILE. Minimize and normalize
3008 header inclusions and variable names. Do not libc_hidden_def anything.
3010 * debug/asprintf_chk.c (__asprintf_chk)
3011 * debug/dprintf_chk.c (__dprintf_chk)
3012 * debug/fprintf_chk.c (__fprintf_chk)
3013 * debug/fwprintf_chk.c (__fwprintf_chk)
3014 * debug/printf_chk.c (__printf_chk)
3015 * debug/snprintf_chk.c (__snprintf_chk)
3016 * debug/swprintf_chk.c (__swprintf_chk)
3017 * debug/vasprintf_chk.c (__vasprintf_chk)
3018 * debug/vdprintf_chk.c (__vdprintf_chk)
3019 * debug/vfprintf_chk.c (__vfprintf_chk)
3020 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3021 * debug/vprintf_chk.c (__vprintf_chk)
3022 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3023 * debug/vswprintf_chk.c (__vswprintf_chk)
3024 * debug/vwprintf_chk.c (__vwprintf_chk)
3025 * debug/wprintf_chk.c (__wprintf_chk):
3026 Directly call the corresponding vxxprintf_internal function, passing
3027 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3028 the FILE and/or construct a temporary FILE. Minimize and normalize
3029 header inclusions and variable names. Do not libc_hidden_def anything.
3031 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3032 __obstack_vprintf_internal.
3033 (__obstack_vprintf_chk): Convert into a wrapper that calls
3034 __obstack_vprintf_internal (these two functions already had the
3035 same code) and move to new file...
3036 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3038 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3039 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3040 * debug/Makefile (routines): Add vobprintf_chk.
3042 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3043 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3044 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3045 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3046 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3047 (__nldbl___obstack_vfprintf_chk):
3048 Directly call the corresponding vxxprintf_internal function,
3049 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3050 duplicate comparison of slen with 0 or maxlen from the corresponding
3051 non-__nldbl function.
3053 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3054 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3055 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3056 Remove libc_hidden_proto.
3058 * stdio-common/vfprintf-internal.c
3059 (__vfprintf_internal, __vfwprintf_internal):
3060 Do not check _IO_FLAGS2_FORTIFY.
3061 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3062 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3063 a comment explaining why it has the maxlen argument.
3064 (_IO_acquire_lock_clear_flags2_fct): Remove.
3065 (_IO_acquire_lock_clear_flags2): Remove.
3066 (_IO_release_lock): Remove conditional statement which will
3068 (_IO_acquire_lock): Remove variable which is now unused.
3069 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3070 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3072 * stdio-common/Makefile (tests): Add tst-bz11319 and
3073 tst-bz11319-fortify2.
3074 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3075 * stdio-common/tst-bz11319-fortify2.c: New file.
3076 * stdio-common/tst-bz11319.c: Likewise.
3078 2018-12-05 Zack Weinberg <zackw@panix.com>
3079 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3081 * misc/syslog.c: Include libioP.h, not iolibio.h.
3082 (__vsyslog_internal): New function with the former body of
3083 __vsyslog_chk; takes mode_flags argument same as
3084 __v*printf_internal. Call __vfprintf_internal directly.
3086 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3087 Remove libc_hidden_def.
3088 (__syslog, __syslog_chk): Use __vsyslog_internal.
3089 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3091 * include/sys/syslog.h: Add multiple inclusion guard.
3092 Add prototype for __vsyslog_internal.
3093 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3095 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3096 Use __vsyslog_internal.
3098 2018-12-05 Zack Weinberg <zackw@panix.com>
3099 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3101 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3102 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3103 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3105 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3106 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3108 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3109 Include wctype.h here if COMPILE_WPRINTF is defined.
3110 Define __vfprintf_internal or __vfwprintf_internal, depending
3112 Temporarily, on entry to this function, update mode_flags
3113 according to the environmental settings corresponding to
3114 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3115 Throughout, check mode_flags instead of __ldbl_is_dbl and
3116 _IO_FLAGS2_FORTIFY on the destination FILE.
3117 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3118 Include vfprintf-internal.c. Don't include wctype.h.
3119 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3120 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3122 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3123 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3125 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3127 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3128 and add mode_flags argument; use __vfprintf_internal.
3129 (__vdprintf): New function. Alias vdprintf to this.
3130 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3131 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3132 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3133 (__obstack_printf): Use __obstack_printf_internal.
3134 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3135 public aliases __vsnprintf and vsnprintf.
3136 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3138 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3139 public aliases _IO_vsprintf and vsprintf.
3140 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3141 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3142 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3143 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3144 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3146 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3147 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3148 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3149 * stdio-common/printf.c: Use __vfprintf_internal.
3151 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3152 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3153 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3155 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3156 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3157 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3158 __vfwprintf_internal.
3160 * libio/libio.h: Remove libc_hidden_proto and declaration for
3162 Remove declaration of _IO_vfwprintf.
3163 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3165 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3167 * include/stdio.h: Add prototype for __vasprintf.
3168 (__vsnprintf): Remove declaration, because there are no more
3170 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3171 declaration, because there are no more internal calls.
3173 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3174 __vsnprintf_internal, instead of _IO_vsnprintf.
3175 * argp/argp-help.c (__argp_error, __argp_failure): Use
3176 __vasprintf_internal, instead of _IO_vasprintf.
3177 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3178 redefine, because there are no more internal calls.
3180 2018-12-05 Zack Weinberg <zackw@panix.com>
3181 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3183 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3184 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3185 Include libio/strfile.h instead of libioP.h.
3186 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3187 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3188 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3189 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3190 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3191 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3192 necessary. Do not set __no_long_double. Normalize variable names.
3193 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3194 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3195 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3196 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3197 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3198 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3199 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3200 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3201 Do not set __no_long_double. Normalize variable names.
3203 2018-12-05 Zack Weinberg <zackw@panix.com>
3204 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3206 * stdio-common/isoc99_scanf.c
3207 * stdio-common/isoc99_fscanf.c
3208 * stdio-common/isoc99_sscanf.c
3209 * stdio-common/isoc99_vscanf.c
3210 * stdio-common/isoc99_vfscanf.c
3211 * stdio-common/isoc99_vsscanf.c
3212 * wcsmbs/isoc99_wscanf.c
3213 * wcsmbs/isoc99_fwscanf.c
3214 * wcsmbs/isoc99_swscanf.c
3215 * wcsmbs/isoc99_vwscanf.c
3216 * wcsmbs/isoc99_vfwscanf.c
3217 * wcsmbs/isoc99_vswscanf.c:
3218 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3219 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3220 No need to lock and unlock the FILE passed to that function.
3222 * stdio-common/vfscanf-internal.c
3223 (__vfscanf_internal, __vfwscanf_internal):
3224 Don't look at _IO_FLAGS2_SCANF_STD.
3225 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3226 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3227 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3229 2018-12-05 Zack Weinberg <zackw@panix.com>
3230 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3232 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3233 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3234 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3235 * libio/strfile.h: Add multiple inclusion guard.
3236 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3238 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3239 consistency with the other version of this file.
3240 (ldbl_compat_symbol): New macro.
3241 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3244 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3245 Define __vfscanf_internal or __vfwscanf_internal, depending on
3246 COMPILE_WSCANF; don't define any other public symbols.
3247 Remove errval and code to set errp.
3248 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3249 as the mode_flags argument.
3250 (encode_error, conv_error, input_error): Don't set errval.
3251 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3252 Include vfscanf-internal.c.
3253 * stdio-common/vfscanf.c: New file defining the public entry
3254 point vfscanf, which calls __vfscanf_internal.
3255 * stdio-common/vfwscanf.c: New file defining the public entry
3256 point vfwscanf, which calls __vfwscanf_internal.
3258 * stdio-common/iovfscanf.c: New file.
3259 * stdio-common/iovfwscanf.c: Likewise.
3261 * stdio-common/Makefile (routines): Add vfscanf-internal,
3262 vfwscanf-internal, iovfscanf, iovfwscanf.
3263 * stdio-common/Versions: Mention GLIBC_2.29, so that
3264 it can be used in SHLIB_COMPAT expressions.
3265 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3266 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3267 Call __vfscanf_internal, instead of _IO_vfscanf.
3268 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3270 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3273 * libio/iovsscanf.c: Clean up includes, when possible. Use
3274 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3275 __vfscanf_internal or __vfwscanf_internal directly.
3276 * libio/iovswscanf.c: Likewise.
3277 * libio/swscanf.c: Likewise.
3278 * libio/vscanf.c: Likewise.
3279 * libio/vwscanf.c: Likewise.
3280 * libio/wscanf.c: Likewise.
3281 * stdio-common/isoc99_fscanf.c: Likewise.
3282 * stdio-common/isoc99_scanf.c: Likewise.
3283 * stdio-common/isoc99_sscanf.c: Likewise.
3284 * stdio-common/isoc99_vfscanf.c: Likewise.
3285 * stdio-common/isoc99_vscanf.c: Likewise.
3286 * stdio-common/isoc99_vsscanf.c: Likewise.
3287 * stdio-common/scanf.c: Likewise.
3288 * stdio-common/sscanf.c: Likewise.
3289 * wcsmbs/isoc99_fwscanf.c: Likewise.
3290 * wcsmbs/isoc99_swscanf.c: Likewise.
3291 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3292 * wcsmbs/isoc99_vswscanf.c: Likewise.
3293 * wcsmbs/isoc99_vwscanf.c: Likewise.
3294 * wcsmbs/isoc99_wscanf.c: Likewise.
3296 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3299 (__tz_compute): Replace time_t with __time64_t.
3300 (__tz_convert): Replace time_t* with __time64_t.
3301 (__offtime): Replace time_t* with __time64_t.
3303 (__gmtime_r): Adjust call to __tz_convert.
3306 (__localtime_r): Likewise.
3307 (localtime): Likewise.
3308 * time/offtime.c: Replace time_t with __time64_t.
3309 * time/tzset.c: Likewise.
3311 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3313 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3314 dynamic linker unless [$(run-built-tests) = yes].
3316 2018-12-03 DJ Delorie <dj@delorie.com>
3318 * support/test-container.c (check_for_unshare_hints): New.
3319 (main): Call it if unshare fails. Add support for "su" scriptlet
3322 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3324 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3325 'START' to indicate that start text should be output.
3326 (gen_test): Likewise.
3327 (main): Generate 'START' for first symbol or '--' line, or at end
3328 of input if not previously generated.
3330 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3333 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3334 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3335 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3336 ALWAYS_USE_VSYSCALL.
3338 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3341 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3344 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3347 * locale/programs/localedef.c: Declare boolean hard_links default true.
3348 (options): Add --no-hard-links option.
3349 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3350 * locale/programs/localedef.h: Declare prototype for hard_links.
3351 * locale/programs/locfile.c (write_locale_data): Don't use hard
3352 links if hard_links is false.
3354 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3356 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3358 (__cache_sysconf): Likewise.
3359 (init_cacheinfo): Likewise.
3360 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3361 populate COMMON_CPUID_INDEX_80000007 and
3362 COMMON_CPUID_INDEX_80000008.
3363 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3364 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3365 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3366 (init_cpu_features): Use _Static_assert on
3367 index_arch_Fast_Unaligned_Load.
3368 __get_cpuid_registers and __get_arch_feature. Updated for
3369 cpu_features_basic. Set stepping in cpu_features.
3370 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3371 (FEATURE_INDEX_2): New.
3372 (FEATURE_INDEX_MAX): Changed to enum.
3373 (COMMON_CPUID_INDEX_D_ECX_1): New.
3374 (COMMON_CPUID_INDEX_80000007): Likewise.
3375 (COMMON_CPUID_INDEX_80000008): Likewise.
3376 (cpuid_registers): Likewise.
3377 (cpu_features_basic): Likewise.
3378 (CPU_FEATURE_USABLE): Likewise.
3379 (bit_arch_XXX_Usable): Likewise.
3380 (cpu_features): Use cpuid_registers and cpu_features_basic.
3381 (bit_arch_XXX): Reweritten.
3382 (bit_cpu_XXX): Likewise.
3383 (index_cpu_XXX): Likewise.
3384 (reg_XXX): Likewise.
3385 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3387 (CHECK_CPU_FEATURE): New.
3388 (CHECK_CPU_FEATURE_USABLE): Likewise.
3389 (cpu_kinds): Likewise.
3390 (do_test): Print vendor, family, model and stepping. Check
3391 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3392 (TEST_FUNCTION): Removed.
3393 Include <support/test-driver.c> instead of
3394 "../../test-skeleton.c".
3395 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3396 Check POPCNT instead of POPCOUNT.
3397 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3399 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3401 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3402 there is no element in `consts'.
3404 2018-12-01 Florian Weimer <fweimer@redhat.com>
3406 * support/support_capture_subprocess.c
3407 (support_capture_subprocess): Check that pipe descriptors have
3408 expected values. Close original pipe descriptors in subprocess.
3410 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3413 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3414 attr with __pthread_default_barrierattr.
3415 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3416 attr with __pthread_default_condattr.
3417 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3418 attr with __pthread_default_mutexattr.
3419 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3420 attr with __pthread_default_rwlockattr.
3422 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3424 * manual/tunables.texi (POSIX Thread Tunables): New node.
3425 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3426 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3427 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3428 __pthread_tunables_init.
3429 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3430 (max_adaptive_count): Define.
3431 * nptl/pthread_mutex_conf.c: New file.
3432 * nptl/pthread_mutex_conf.h: New file.
3433 * sysdeps/generic/adaptive_spin_count.h: New file.
3434 * sysdeps/nptl/dl-tunables.list: New file.
3435 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3436 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3437 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3440 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3443 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3444 * stdlib/on_exit.c (__on_exit): Likewise.
3445 * stdlib/Makefile (tests): Add tst-bz20544.
3446 * stdlib/tst-bz20544.c: New test.
3448 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3451 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3452 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3455 2018-11-30 Florian Weimer <fweimer@redhat.com>
3457 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3458 Extend error logging.
3459 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3462 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3464 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3465 __sigismember instead of sigismember.
3466 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3467 cancel_handler): New definitions.
3468 (do_system): Use posix_spawn instead of fork and execl and remove
3470 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3471 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3472 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3473 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3474 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3475 * sysdeps/unix/sysv/linux/system.c: Likewise.
3479 * NEWS: Add new semantic for atfork with popen and system.
3480 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3483 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3486 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3487 modification order when accessing reloc_result->addr.
3488 * include/link.h (reloc_result): Add field init.
3489 * nptl/Makefile (tests): Add tst-audit-threads.
3490 (modules-names): Add tst-audit-threads-mod1 and
3491 tst-audit-threads-mod2.
3492 Add rules to build tst-audit-threads.
3493 * nptl/tst-audit-threads-mod1.c: New file.
3494 * nptl/tst-audit-threads-mod2.c: Likewise.
3495 * nptl/tst-audit-threads.c: Likewise.
3496 * nptl/tst-audit-threads.h: Likewise.
3498 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3500 * scripts/gen-as-const.py: New file.
3501 * scripts/gen-as-const.awk: Remove.
3502 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3504 ($(objpfx)test-as-const-%.c): Likewise.
3506 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3508 * elf/dl-exception.c: Include <_itoa.h>.
3510 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3512 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3513 returned by __f_setlk.
3515 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3516 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3518 * elf/Makefile (tests-internal): Add tst-create_format1.
3519 * elf/dl-exception.c (_dl_exception_create_format): Support
3521 * elf/tst-create_format1.c: New file.
3523 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3525 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3526 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3528 * argp/argp-help.c (__argp_failure): Likewise.
3530 2018-11-29 Mao Han <han_mao@c-sky.com>
3532 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3533 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3534 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3535 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3536 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3537 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3538 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3539 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3540 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3541 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3542 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3543 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3544 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3545 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3546 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3547 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3548 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3549 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3550 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3551 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3552 (R_CKCORE_TLS_TPOFF32): New defines.
3554 2018-11-29 Florian Weimer <fweimer@redhat.com>
3556 * posix/Makefile (before-compile): Remove testcases.h and
3558 (generated): Add testcases.h and ptestcases.h.
3559 (testcases.h, ptestcases.h): Move to $(objpfx).
3560 (runtests.o): Add dependency on testcases.h.
3561 (runptests.o): Add dependency on ptestcases.h.
3562 * posix/testcases.h, posix/ptestcases.h: Remove files.
3563 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3564 not touch posix/testcases.h and posix/ptestcases.h.
3566 2018-11-28 Florian Weimer <fweimer@redhat.com>
3568 support: Add signal support to support_capture_subprocess_check.
3569 * support/capture_subprocess.h (support_capture_subprocess_check):
3570 Adjust comment and rename parameter.
3571 * support/support_capture_subprocess_check.c
3572 (print_actual_status): New function.
3573 (support_capture_subprocess_check): Support negative
3574 status_or_signal. Call print_actual_status.
3575 * support/tst-support_capture_subprocess.c (do_test): Call
3576 support_capture_subprocess_check.
3577 * libio/tst-vtables-common.c (termination_status)
3578 (init_termination_status): Remove.
3579 (check_for_termination): Adjust support_capture_subprocess_check
3581 (do_test): Remove call to init_termination_status.
3583 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3585 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3586 source directory instead of a copy.
3587 (CommandList.create_copy_dir): Remove.
3589 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3591 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3593 2018-11-28 Florian Weimer <fweimer@redhat.com>
3595 * support/support.h (support_quote_string): Do not use str
3598 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3600 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3601 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3603 2018-11-27 Florian Weimer <fweimer@redhat.com>
3605 * support/support.h (support_quote_string): Declare.
3606 * support/support_quote_string.c: New file.
3607 * support/tst-support_quote_string.c: Likewise.
3608 * support/Makefile (libsupport-routines): Add
3609 support_quote_string.
3610 (tests): Add tst-support_quote_string.
3612 2018-11-27 Florian Weimer <fweimer@redhat.com>
3616 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3617 descriptor leak in case of ENODEV error.
3619 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3622 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3623 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3624 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3626 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3628 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3629 Error for unknown lines.
3631 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3633 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3634 Touch additional files.
3636 2018-11-26 Florian Weimer <fweimer@redhat.com>
3639 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3642 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3645 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3646 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3647 SHARED. Include sysdep.h.
3648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3649 ALWAYS_USE_VSYSCALL.
3650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3651 ALWAYS_USE_VSYSCALL.
3653 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3656 * nptl/Makefile (tests-static): Add tst-cond11-static.
3658 * nptl/tst-cond11-static.c: New File.
3659 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3660 tst-affinity-static.
3662 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3664 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3665 (USE_VSYSCALL): Likewise.
3666 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3667 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3669 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3674 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3677 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3678 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3681 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3683 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3684 (tst-cet-legacy-1a-ARGS): New.
3685 ($(objpfx)tst-cet-legacy-1a): New target.
3686 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3688 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3690 * conform/conformtest.py (CompileSubTest.__init__): Set
3691 self.run_early to False.
3692 (ExecuteSubTest.__init__): Likewise.
3693 (HeaderTests.run): Try running all non-optional, non-XFAILed
3694 compilation tests in a single execution of the compiler.
3696 * conform/conformtest.py (CompileSubTest): New class.
3697 (ExecuteSubTest): Likewise.
3698 (ElementTest.run): Rename to gen_subtests. Append tests to
3699 self.subtests instead of running them.
3700 (ConstantTest.run): Likewise.
3701 (SymbolTest.run): Likewise.
3702 (TypeTest.run): Likewise.
3703 (TagTest.run): Likewise.
3704 (FunctionTest.run): Likewise.
3705 (VariableTest.run): Likewise.
3706 (MacroFunctionTest.run): Likewise.
3707 (MacroStrTest.run): Likewise.
3708 (HeaderTests.handle_test_line): Generate subtests for tests.
3709 (HeaderTests.run): Run subtests for tests.
3711 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3713 * math/Versions (GLIBC_2.29): Add pow.
3714 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3716 * math/w_pow.c: New file.
3717 * sysdeps/i386/fpu/w_pow.c: New file.
3718 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3719 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3720 and add necessary aliases.
3721 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3722 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3723 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3724 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3725 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3726 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3727 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3728 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3729 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3730 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3731 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3732 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3733 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3734 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3735 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3740 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3741 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3742 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3743 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3744 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3745 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3746 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3747 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3749 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3750 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3751 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3753 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3755 * math/Versions (GLIBC_2.29): Add log2.
3756 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3758 * math/w_log2.c: New file.
3759 * sysdeps/i386/fpu/w_log2.c: New file.
3760 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3761 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3762 and add necessary aliases.
3763 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3764 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3765 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3766 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3767 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3768 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3769 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3770 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3771 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3772 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3773 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3774 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3775 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3776 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3777 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3782 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3783 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3784 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3785 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3786 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3787 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3788 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3790 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3792 * math/Versions (GLIBC_2.29): Add log.
3793 * math/w_log_compat.c (__log_compat): Change to versioned compat
3795 * math/w_log.c: New file.
3796 * sysdeps/i386/fpu/w_log.c: New file.
3797 * sysdeps/ia64/fpu/e_log.S: Update.
3798 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3799 and add necessary aliases.
3800 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3801 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3802 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3803 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3804 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3805 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3806 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3807 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3808 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3809 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3810 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3811 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3812 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3813 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3814 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3819 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3820 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3821 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3822 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3823 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3824 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3825 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3826 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3828 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3829 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3830 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3831 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3833 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3835 * math/Versions (GLIBC_2.29): Add exp and exp2.
3836 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3837 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3838 * math/w_exp_compat.c (__exp_compat): Likewise.
3839 * math/w_exp.c: New file.
3840 * math/w_exp2.c: New file.
3841 * sysdeps/i386/fpu/w_exp.c: New file.
3842 * sysdeps/i386/fpu/w_exp2.c: New file.
3843 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3844 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3845 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3846 and add necessary aliases.
3847 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3848 and add necessary aliases.
3849 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3850 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3851 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3852 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3853 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3854 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3855 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3856 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3857 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3858 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3859 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3860 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3861 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3862 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3863 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3864 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3865 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3870 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3871 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3872 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3873 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3874 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3875 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3876 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3877 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3878 (__ieee754_exp): Rename to __exp.
3879 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3880 (__ieee754_exp): Rename to __exp.
3881 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3882 (__ieee754_exp): Rename to __exp.
3883 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3885 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
3887 2018-11-20 DJ Delorie <dj@redhat.com>
3889 * malloc/malloc.c (tcache_entry): Add key field.
3890 (tcache_put): Set it.
3891 (tcache_get): Likewise.
3892 (_int_free): Check for double free in tcache.
3893 * malloc/tst-tcfree1.c: New.
3894 * malloc/tst-tcfree2.c: New.
3895 * malloc/Makefile: Run the new tests.
3896 * manual/probes.texi: Document memory_tcache_double_free probe.
3898 * dlfcn/dlerror.c (check_free): Prevent double frees.
3900 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
3902 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
3904 2018-11-20 Joseph Myers <joseph@codesourcery.com>
3906 * conform/conformtest.py (ElementTest.run): Use unique identifiers
3907 in tests. Use names for format arguments.
3908 (ConstantTest.run): Likewise.
3909 (SymbolTest.run): Likewise.
3910 (TypeTest.run): Likewise.
3911 (TagTest.run): Likewise.
3912 (FunctionTest.run): Likewise.
3913 (VariableTest.run): Likewise.
3914 (MacroFunctionTest.run): Likewise.
3915 (MacroStrTest.run): Likewise.
3916 (HeaderTests.__init__): Set self.num_tests.
3917 (HeaderTests.handle_test_line): Set test.num. Increment
3920 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3922 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
3923 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
3926 2018-11-19 Mao Han <han_mao@c-sky.com>
3928 * scripts/config.guess: Update to version 2018-08-29.
3929 * scripts/config.sub: Update to version 2018-08-29.
3931 2018-11-19 Florian Weimer <fweimer@redhat.com>
3933 support: Print timestamps in timeout handler.
3934 * support/support_test_main.c (print_timestamp): New function.
3935 (signal_handler): Use it to print the termination time and the
3936 time of the last write to standard output.
3938 2018-11-16 Zack Weinberg <zackw@panix.com>
3939 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3941 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
3942 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
3944 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
3945 and add flags argument. Check flags instead of __ldbl_is_dbl when
3946 deciding whether to set is_long_double.
3947 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
3948 passing zero for flags argument.
3949 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
3951 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3952 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
3953 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
3954 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
3955 variable names. Remove libc_hidden_def/libc_hidden_proto from
3956 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
3957 longer called from within the library.
3958 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
3959 for __nldbl___vstrfmon_l, declare it explicitly.
3961 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
3963 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
3965 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
3967 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
3968 F_SETLK64, F_SETLKW64, respectively.
3969 * sysdeps/mach/hurd/f_setlk.c: New file.
3970 * sysdeps/mach/hurd/f_setlk.h: New file.
3971 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
3973 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
3974 (__libc_fcntl): Move non-flock operations to...
3975 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
3976 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
3978 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
3980 mktime: DEBUG_MKTIME cleanup
3981 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
3982 And it’s no longer needed now that glibc and Gnulib both have
3983 their own testing mechanisms for mktime.
3984 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
3986 mktime: fix non-EOVERFLOW errno handling
3988 mktime was not properly reporting failures when the underlying
3989 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
3990 them like EOVERFLOW failures, and set errno to EOVERFLOW.
3991 The problem could happen on non-glibc platforms, with Gnulib.
3992 * time/mktime.c (guess_time_tm): Remove, replacing with ...
3993 (tm_diff): ... this simpler function, which does not change errno.
3994 All callers changed to deal with errno themselves.
3995 (ranged_convert, __mktime_internal): Return failure immediately if
3996 the underlying function reports any failure other than EOVERFLOW.
3997 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4000 mktime: fix bug with Y2038 DST transition
4002 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4003 mishandle a DST transition that jumps over the Y2038 boundary.
4004 No such DST transitions are known so this is only a theoretical
4005 bug, but we might as well do things right.
4007 mktime: make more room for overflow
4009 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4010 This is so that we can add tm_diff results to a previous guess,
4011 which will be useful in a later patch.
4013 mktime: simplify offset guess
4015 * time/mktime.c (__mktime_internal): Omit excess precision.
4017 mktime: new test for mktime failure
4019 Based on a test suggested by Albert Aribaud in:
4020 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4021 * time/Makefile (tests): Add bug-mktime4.
4022 * time/bug-mktime4.c: New file.
4024 mktime: fix EOVERFLOW bug
4026 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4027 Include libc-config.h, not config.h, for __set_errno.
4028 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4030 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4032 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4033 __attribute_copy__ to copy attributes from name. Drop static qualifier
4034 to avoid warnings about leaf attribute not having effect on static
4037 2018-11-13 Florian Weimer <fweimer@redhat.com>
4039 * malloc/malloc.c (fastbin_push_entry): New function.
4040 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4041 (REMOVE_FB): Remove macro.
4042 (_int_malloc): Use fastbin_pop_entry and reindent.
4043 (_int_free): Use fastbin_push_entry.
4044 (malloc_consolidate): Use atomic_exchange_acquire.
4046 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4048 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4049 alias attribute, not with strong_alias.
4051 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4052 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4053 with additional parameter thread.
4054 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4055 in terms of __hidden_ver2.
4056 (hidden_tls_def): New macro.
4057 (libc_hidden_tls_def): Likewise.
4058 (rtld_hidden_tls_def): Likewise.
4059 (libm_hidden_tls_def): Likewise.
4060 (libmvec_hidden_tls_def): Likewise.
4061 (libresolv_hidden_tls_def): Likewise.
4062 (librt_hidden_tls_def): Likewise.
4063 (libdl_hidden_tls_def): Likewise.
4064 (libnss_files_hidden_tls_def): Likewise.
4065 (libnsl_hidden_tls_def): Likewise.
4066 (libnss_nisplus_hidden_tls_def): Likewise.
4067 (libutil_hidden_tls_def): Likewise.
4068 (libutil_hidden_tls_def): Likweise.
4069 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4070 libc_hidden_tls_def.
4071 (__sim_disabled_exceptions_thread): Likewise.
4072 (__sim_round_mode_thread): Likewise.
4074 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4075 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4076 copy attributes from name.
4078 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4080 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4081 Use __attribute_copy__ to copy attributes from name.
4083 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4084 with __hidden_ver1 call.
4085 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4086 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4087 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4088 (__cosf): Do not declare here.
4089 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4090 (__sincosf): Do not declare here.
4091 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4092 (__sinf): Do not declare here.
4094 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4095 (__BIG_ENDIAN): Likewise.
4096 (__BYTE_ORDER): Likewise.
4097 (strong_alias): Likewise.
4098 (_strong_alias): Likewise.
4100 2018-11-12 Florian Weimer <fweimer@redhat.com>
4102 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4103 function. Move after the definition of in_smallbin_range. Do not
4104 use __builtin_expect for paths that lead to a noreturn function.
4105 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4106 because it is unclear whether this is in fact an unlikely
4108 (_int_malloc, _int_free): Adjust.
4109 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4111 * malloc/arena.c (heap_trim): Likewise.
4113 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4115 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4116 it, free it if needed.
4117 (reauthenticate): Test and use ccwdir.
4118 (child_init_port): In non-resetids case, test and use ccwdir.
4119 (child_chdir): New nested function to set ccwdir.
4120 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4121 * hurd/hurd/port.h (_hurd_port_move): New function.
4122 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4123 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4124 * hurd/Versions (_hurd_port_move): Export function.
4125 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4127 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4128 of dtablesize for allocating dtable_cloexec.
4130 2018-11-09 Martin Sebor <msebor@redhat.com>
4132 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4133 it's already defined.
4134 (_strong_alias): Use __attribute_copy__.
4135 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4136 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4137 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4138 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4139 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4140 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4141 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4142 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4143 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4144 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4145 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4146 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4147 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4148 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4149 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4150 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4151 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4152 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4153 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4155 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4157 * misc/tst-efgcvt.c: Include support/check.h and
4158 support/test-driver.c. Do not include test-skeleton.c.
4159 (error_count): Remove.
4160 (output_error): Replace increments to error_count with calls to
4161 support_record_failure.
4162 (output_r_error): Likewise.
4163 (special): Likewise.
4164 (do_test): Unconditionally return zero.
4165 (TEST_FUNCTION): Remove.
4167 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4169 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4171 ($(linknamespace-header-tests)): Likewise.
4173 * conform/conformtest.py: New file.
4174 * conform/conformtest.pl: Remove.
4175 * conform/GlibcConform.pm: Likewise.
4176 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4177 (KEYWORDS_C99): Likewise.
4178 (KEYWORDS): Likewise.
4179 * conform/Makefile ($(conformtest-header-tests)): Use
4180 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4181 option. Use --header instead of --headers.
4182 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4184 * conform/data/spawn.h-data: Likewise.
4185 * conform/data/fcntl.h-data (openat): Add space after function
4187 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4188 (wcscasecmp_l): Likewise.
4189 * conform/data/termios.h-data (c_cc): Add space after element
4192 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4194 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4195 instead of manually comparing and reporting mismatching strings.
4196 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4197 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4199 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4201 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4202 __ASSUME_SOCKETCALL.
4203 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4204 (__ASSUME_SOCKETCALL): Remove.
4205 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4206 (__ASSUME_SOCKETCALL): Likewise.
4207 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4208 (__ASSUME_SOCKETCALL): Likewise.
4209 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4210 (__ASSUME_SOCKETCALL): Likewise.
4211 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4212 (__ASSUME_SOCKETCALL): Likewise.
4213 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4214 (__ASSUME_SOCKETCALL): Likewise.
4215 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4216 (__ASSUME_SOCKETCALL): Likewise.
4218 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4221 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4222 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4223 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4224 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4225 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4228 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4231 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4233 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4236 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4237 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4238 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4239 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4241 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4243 * support/support_test_compare_string.c
4244 (support_test_compare_string): Fix printf format.
4246 2018-11-07 Florian Weimer <fweimer@redhat.com>
4248 Implement TEST_COMPARE_STRING.
4249 * support/check.h (TEST_COMPARE_STRING): Define.
4250 (support_test_compare_string): Declare.
4251 * support/Makefile (libsupport-routines): Add
4252 support_test_compare_string.
4253 (tests): Add tst-test_compare_string.
4254 * support/support_test_compare_string.c: New file.
4255 * support/tst-test_compare_string.c: Likewise.
4257 2018-11-07 Andreas Schwab <schwab@suse.de>
4260 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4261 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4264 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4267 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4268 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4269 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4270 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4273 2018-11-06 Florian Weimer <fweimer@redhat.com>
4276 * posix/Makefile (routines): Add spawn_faction_addchdir.
4277 (tests): Add tst-spawn-chdir.
4278 * posix/Versions (GLIBC_2.29): Add
4279 posix_spawn_file_actions_addchdir_np.
4280 * posix/spawn_faction_addchdir.c: New file.
4281 * posix/spawn_faction_destroy.c
4282 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4283 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4284 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4286 * posix/tst-spawn-chdir.c: New file.
4287 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4288 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4289 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4290 posix_spawn_file_actions_addchdir_np.
4291 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4293 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4295 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4296 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4298 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4300 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4302 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4304 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4306 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4308 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4309 (GLIBC_2.29): Likewise.
4310 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4311 (GLIBC_2.29): Likewise.
4312 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4313 (GLIBC_2.29): Likewise.
4314 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4315 (GLIBC_2.29): Likewise.
4316 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4319 (GLIBC_2.29): Likewise.
4320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4321 (GLIBC_2.29): Likewise.
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4323 (GLIBC_2.29): Likewise.
4324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4325 (GLIBC_2.29): Likewise.
4326 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4328 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4330 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4332 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4333 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4335 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4337 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4339 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4342 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4344 * misc/Makefile (tests): Add tst-ldbl-error.
4345 * misc/tst-ldbl-error.c: New file.
4347 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4349 * misc/Makefile (tests): Add tst-ldbl-warn.
4350 * misc/tst-ldbl-warn.c: New file.
4352 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4354 * argp/Makefile (tests): Add tst-ldbl-argp.
4355 * argp/tst-ldbl-argp.c: New file.
4357 2018-11-05 Arjun Shankar <arjun@redhat.com>
4359 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4360 __gconv_path_elem and call __gconv_get_path unconditionally.
4362 2018-11-05 Andreas Schwab <schwab@suse.de>
4365 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4366 creating the first helper thread failed.
4368 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4370 * sysdeps/mach/hurd/msync.c: New file.
4372 2018-11-02 Florian Weimer <fweimer@redhat.com>
4374 * support/shell-container.c (copy_func): Call
4375 support_copy_file_range instead of copy_file_range to support
4376 cross-device copies.
4378 2018-11-02 Florian Weimer <fweimer@redhat.com>
4380 * support/test-container.c: Include <libc-pointer-arith.h> for
4383 2018-11-01 Zong Li <zong@andestech.com>
4385 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4386 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4387 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4388 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4390 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4391 variable to avoid overlap arguments.
4393 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4395 * posix/bug-regex22.c (main): Use puts with distinct error
4396 messages for unexpected success of re_compile_pattern, not printf
4397 with NULL argument to %s.
4399 * stdio-common/bug22.c: Include <libc-diag.h>.
4400 (do_test): Disable -Wformat-overflow= warnings around fprintf
4401 calls outputting more than INT_MAX characters.
4402 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4403 around printf call with NULL %s argument.
4406 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4407 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4409 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4410 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4411 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4412 (__ASSUME_SENDTO_SYSCALL): Likewise.
4413 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4414 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4416 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4417 (__ASSUME_CONNECT_SYSCALL): Likewise.
4418 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4419 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4420 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4422 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4424 [__LINUX_KERNEL_VERSION >= 0x040400]
4425 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4426 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4429 (setsockopt): Likewise.
4431 2018-11-01 Fredrik Noring <noring@nocrew.org>
4433 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4434 with the ISA override.
4436 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4438 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4441 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4443 * manual/errno.texi (EIEIO): Document how translators should
4444 translate the error message.
4445 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4446 printing trailing whitespaces refused by git.
4447 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4448 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4449 * hurd/Makefile (user-interfaces): Add pci.
4451 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4453 * conform/linknamespace.py: New file.
4454 * conform/linknamespace.pl: Remove file.
4455 * conform/Makefile ($(linknamespace-header-tests)): Use
4456 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4459 2018-10-30 Florian Weimer <fweimer@redhat.com>
4461 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4464 2018-10-30 Florian Weimer <fweimer@redhat.com>
4466 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4468 2018-10-30 Florian Weimer <fweimer@redhat.com>
4470 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4471 support_blob_repeat.
4473 2018-10-30 Florian Weimer <fweimer@redhat.com>
4475 Avoid spurious test failures in stdlib/test-bz22786.
4476 * support/Makefile (libsupport-routines): Add blob_repeat.
4477 (tests): Add tst-support_blob_repeat.
4478 * support/blob_repeat.h: New file.
4479 * support/blob_repeat.c: Likewise.
4480 * support/tst-support_blob_repeat.c: Likewise.
4481 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4482 support_blob_repeat_allocate.
4484 2018-10-30 Andreas Schwab <schwab@suse.de>
4487 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4488 Don't use tail call.
4489 * elf/tst-unwind-main.c: New file.
4490 * elf/Makefile (tests): Add tst-unwind-main.
4491 (CFLAGS-tst-unwind-main.c): Define.
4493 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4496 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4498 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4500 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4502 * conform/glibcconform.py: Do not import shutil.
4503 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4506 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4507 critic_missing for versions before 3.4.
4508 * configure: Regenerated.
4509 * manual/install.texi (Tools for Compilation): Document
4510 requirement for Python to build glibc.
4511 * INSTALL: Regenerated.
4512 * Rules [PYTHON]: Make code unconditional.
4513 * benchtests/Makefile [PYTHON]: Likewise.
4514 * conform/Makefile [PYTHON]: Likewise.
4515 * manual/Makefile [PYTHON]: Likewise.
4516 * math/Makefile [PYTHON]: Likewise.
4518 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4520 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4521 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4522 answer to interrupt_operation, return EIEIO instead of EINTR.
4523 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4524 _hurd_intr_rpc_msg_about_to global point to start of controlled
4525 assembly snippet. Make it check canceled flag.
4526 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4527 the _hurd_intr_rpc_msg_about_to point.
4528 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4529 issue, remove cancel flag check.
4531 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4533 * scripts/build-many-glibcs.py: Remove compatibility for missing
4534 os.cpu_count and re.fullmatch.
4536 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4539 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4540 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4541 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4543 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4545 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4548 2018-10-25 Florian Weimer <fweimer@redhat.com>
4552 XFAIL siginfo_t si_band conform test on sparc64.
4553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4554 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4555 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4556 (conformtest-xfail-conds): Add sparc64-linux.
4557 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4559 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4561 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4563 * elf/elf.h (NT_MIPS_DSP): New macro.
4564 (NT_MIPS_FP_MODE): Likewise.
4566 2018-10-25 Zong Li <zong@andestech.com>
4568 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4569 name by adding the file extension (.so).
4571 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4573 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4574 (test-xfail-ISO11/threads.h/linknamespace,
4575 test-xfail-ISO11/threads.h/conform): Add.
4577 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4579 * math/gen-libm-test.py: Import os.
4580 (ALL_FLOATS_MANUAL): New constant.
4581 (ALL_FLOATS_SUFFIX): Likewise.
4582 (Ulps.all_functions): New function.
4583 (real_all_ulps): Likewise.
4584 (generate_err_table_sub): Likewise.
4585 (generate_err_table): Likewise.
4586 (main): Handle -s and -m options.
4587 * manual/libm-err-tab.pl: Remove.
4588 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4589 instead of libm-err-tab.pl.
4590 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4592 * manual/install.texi (Tools for Compilation): Document
4593 requirement for Python to build manual.
4594 * INSTALL: Regenerated.
4596 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4598 * bits/time64.h: New file.
4599 * include/time.h: Replace internal_time_t with __time64_t.
4600 * posix/bits/types (__time64_t): Add.
4601 * stdlib/Makefile: Add bits/time64.h to includes.
4602 * time/tzfile.c: Replace internal_time_t with __time64_t.
4604 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4606 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4607 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4608 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4609 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4610 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4612 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4613 * posix/spawn_faction_addclose.c
4614 (__posix_spawn_file_actions_addclose): Add hidden definition.
4615 * posix/spawn_faction_adddup2.c
4616 (__posix_spawn_file_actions_adddup2): Likewise.
4617 * posix/spawn_faction_destroy.c
4618 (__posix_spawn_file_actions_destroy): Likewise.
4619 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4621 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4622 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4623 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4625 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4626 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4629 2018-10-24 Andreas Schwab <schwab@suse.de>
4632 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4634 * elf/cache.c (print_cache): Likewise.
4636 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4638 * bits/timesize.h: New file.
4639 * stdlib/Makefile (headers): Add bits/timesize.h.
4640 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4641 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4642 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4643 (__SEM_PAD_AFTER_TIME): Likewise.
4644 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4645 (__SHM_PAD_AFTER_TIME): Likewise.
4646 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4647 (__MSQ_PAD_BEFORE_TIME): Likewise.
4648 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4649 (__SEM_PAD_BEFORE_TIME): Likewise.
4650 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4651 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4652 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4653 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4654 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4655 (__MSQ_PAD_BEFORE_TIME): Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4657 (__SEM_PAD_BEFORE_TIME): Likewise.
4658 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4659 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4660 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4661 (__MSQ_PAD_BEFORE_TIME): Likewise.
4662 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4663 (__SEM_PAD_BEFORE_TIME): Likewise.
4664 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4665 (__SHM_PAD_BEFORE_TIME): Likewise.
4666 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4667 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4668 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4670 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4672 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4673 USE_RDTSCP is defined.
4674 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4675 USE_RDTSCP is defined.
4677 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4679 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4683 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4684 independently of other flags.
4686 2018-10-23 Florian Weimer <fweimer@redhat.com>
4688 * time/tst-mktime2.c (N_STRINGS): Remove.
4689 (set_timezone): New function.
4690 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4691 (mktime_test1): Report localtime failure and check errno value.
4693 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4694 (do_test): Remove alarm call. Use set_timezone and array_length.
4696 2018-10-23 Andreas Schwab <schwab@suse.de>
4698 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4699 (__start_context): Use END instead of PSEUDO_END.
4701 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4703 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4706 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4710 * wcsmbs/c32rtomb.c: New file.
4711 * wcsmbs/mbrtoc32.c: Likewise.
4712 * wcsmbs/tst-c32-state.c: Likewise.
4713 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4714 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4715 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4716 (tests): Add tst-c32-state.
4717 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4720 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4722 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4723 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4725 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4728 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4729 pair and return 0 in that case, and use saved character to
4730 interpret following character.
4731 * wcsmbs/tst-c16-surrogate.c: New file.
4732 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4733 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4734 Depend on $(gen-locales)
4736 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4739 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4740 (struct siginfo_t): Use correct type for si_band.
4742 2018-10-19 Florian Weimer <fweimer@redhat.com>
4745 * resource/bits/types/struct_rusage.h (struct rusage): Update
4746 comment on struct. Remove extraneous field comment.
4748 2018-10-18 David S. Miller <davem@davemloft.net>
4750 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4751 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4752 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4753 sysdep_routines in subdir elf.
4754 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4755 version for __vdso_clock_gettime.
4756 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4758 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4759 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4761 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4763 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4765 * sysdeps/i386/init-arch.h: Removed.
4766 * sysdeps/i386/i586/init-arch.h: Likewise.
4767 * sysdeps/i386/i686/init-arch.h: Likewise.
4768 * sysdeps/i386/i686/hp-timing.h: Likewise.
4769 * sysdeps/x86_64/hp-timing.h: Likewise.
4770 * sysdeps/i386/isa.h: New file.
4771 * sysdeps/i386/i586/isa.h: Likewise.
4772 * sysdeps/i386/i686/isa.h: Likewise.
4773 * sysdeps/x86_64/isa.h: Likewise.
4774 * sysdeps/x86/hp-timing.h: New file.
4775 * sysdeps/x86/init-arch.h: Include <isa.h>.
4777 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4779 * math/libm-test-pow.inc (pow_test_data): Do not allow
4780 divide-by-zero exception for pow(+/- 0, -Inf).
4782 2018-10-17 Zack Weinberg <zackw@panix.com>
4784 * manual/job.texi (Job Control is Optional): Remove node, as
4785 job control has not been optional in quite some time.
4786 (Job Control): Mention briefly that systems older than
4787 POSIX.1-2001 might not support job control.
4788 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4789 defined on systems conforming to POSIX.1-2001.
4791 2018-10-17 Arjun Shankar <arjun@redhat.com>
4794 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4796 * (__gconv_read_conf): Mark function static.
4797 * (once): New static variable.
4798 * (__gconv_load_conf): New function.
4799 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4800 * iconv/gconv_db.c (once): Remove static variable.
4801 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4803 * (__gconv_find_transform): Likewise.
4804 * iconv/tst-iconv-mt.c: New test.
4805 * iconv/Makefile: Add tst-iconv_mt.
4807 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4809 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4811 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4812 (shmatt_t): Define as __syscall_ulong_t.
4813 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4814 and [__SHM_PAD_AFTER_TIME].
4815 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4816 Define shm_segsz and associated padding based on
4817 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4818 Use __syscall_ulong_t instead of unsigned long int.
4819 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4821 [__USE_MISC] (struct shm_info): Likewise.
4822 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4823 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4824 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4825 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4826 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4827 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4828 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4829 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4830 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4831 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4832 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4834 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4836 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4837 (SHMLBA): Remove macro.
4838 (__getpagesize): Remove function declaration.
4839 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4841 (SHMLBA): Remove macro.
4842 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4844 (SHMLBA): Remove macro.
4845 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4847 (SHMLBA): Remove macro.
4848 (__getpagesize): Remove function declaration.
4849 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4851 (SHMLBA): Remove macro.
4852 (__getshmlba): Remove function declaration.
4853 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4854 (SHMLBA): Remove macro.
4855 (__getpagesize): Remove function declaration.
4856 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4857 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4858 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4859 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4860 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4861 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4862 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4863 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4864 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4865 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4867 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4870 * nptl/tst-mutex10.c: New File.
4871 * nptl/Makefile (tests): Add tst-mutex10.
4872 (tst-mutex10-ENV): New variable.
4873 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4874 Ensure that elision path is used if elision is available.
4875 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4877 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4879 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4880 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4881 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4882 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4884 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4885 (__pthread_mutex_cond_lock_adjust): Likewise.
4886 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4888 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
4889 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4890 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4891 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
4893 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4894 Use atomic_load_relaxed and atomic_store_relaxed.
4895 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
4896 Use atomic_store_relaxed.
4898 2018-10-17 Andreas Schwab <schwab@suse.de>
4900 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
4901 * crypt/badsalttest.c (TIMEOUT): Likewise.
4902 * crypt/sha256c-test.c (TIMEOUT): Likewise.
4903 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
4904 * io/test-lfs.c (TIMEOUT): Likewise.
4905 * libio/tst-atime.c (TIMEOUT): Likewise.
4906 * localedata/tst-leaks.c (TIMEOUT): Likewise.
4907 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
4908 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
4909 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
4910 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
4911 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
4912 * nptl/tst-cond11.c (TIMEOUT): Likewise.
4913 * nptl/tst-cond14.c (TIMEOUT): Likewise.
4914 * nptl/tst-cond15.c (TIMEOUT): Likewise.
4915 * nptl/tst-cond24.c (TIMEOUT): Likewise.
4916 * nptl/tst-cond25.c (TIMEOUT): Likewise.
4917 * nptl/tst-kill2.c (TIMEOUT): Likewise.
4918 * nptl/tst-kill3.c (TIMEOUT): Likewise.
4919 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
4920 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
4921 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
4922 * nptl/tst-once2.c (TIMEOUT): Likewise.
4923 * nptl/tst-once3.c (TIMEOUT): Likewise.
4924 * nptl/tst-once4.c (TIMEOUT): Likewise.
4925 * nptl/tst-robust8.c (TIMEOUT): Likewise.
4926 * nptl/tst-robust9.c (TIMEOUT): Likewise.
4927 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
4928 * nptl/tst-sem14.c (TIMEOUT): Likewise.
4929 * nptl/tst-sem6.c (TIMEOUT): Likewise.
4930 * nptl/tst-signal3.c (TIMEOUT): Likewise.
4931 * nptl/tst-spin4.c (TIMEOUT): Likewise.
4932 * nptl/tst-tls3.c (TIMEOUT): Likewise.
4933 * nptl/tst-tls4.c (TIMEOUT): Likewise.
4934 * posix/tst-chmod.c (TIMEOUT): Likewise.
4935 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
4936 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
4937 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
4938 * posix/tst-regex2.c (TIMEOUT): Likewise.
4939 * posix/tst-waitid.c (TIMEOUT): Likewise.
4940 * rt/tst-aio.c (TIMEOUT): Likewise.
4941 * rt/tst-aio10.c (TIMEOUT): Likewise.
4942 * rt/tst-aio4.c (TIMEOUT): Likewise.
4943 * rt/tst-aio5.c (TIMEOUT): Likewise.
4944 * rt/tst-aio6.c (TIMEOUT): Likewise.
4945 * rt/tst-aio64.c (TIMEOUT): Likewise.
4946 * rt/tst-aio7.c (TIMEOUT): Likewise.
4947 * rt/tst-aio9.c (TIMEOUT): Likewise.
4948 * rt/tst-clock.c (TIMEOUT): Likewise.
4949 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
4950 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
4951 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
4952 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
4953 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
4954 * rt/tst-timer4.c (TIMEOUT): Likewise.
4955 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
4956 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
4957 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
4958 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
4959 * time/tst-ftime.c (TIMEOUT): Likewise.
4960 * timezone/tst-tzset.c (TIMEOUT): Likewise.
4962 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4964 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
4965 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
4968 2018-10-15 Joseph Myers <joseph@codesourcery.com>
4970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4972 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
4973 instead of <bits/wordsize.h>.
4974 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
4975 and [__SEM_PAD_AFTER_TIME].
4976 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
4977 __syscall_ulong_t instead of unsigned long int.
4978 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
4979 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
4980 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
4981 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
4983 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
4984 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
4985 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
4986 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4987 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4988 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4990 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
4992 regex: simplify by using intprops.h
4994 * posix/regex_internal.h [_LIBC]: Include intprops.h.
4995 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
4996 intprops.h defines them.
4998 regex: __builtin_expect → __glibc_unlikely
5000 This refactoring was prompted by a problem when the regex code is
5001 used as part of Gnulib and when the builder’s compiler does not grok
5002 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5003 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5004 Although this refactoring does not fix the problem directly,
5005 we might as well have Gawk use the now-preferred glibc style for when
5006 __builtin_expect is unavailable.
5007 * posix/regex_internal.h (BE): Remove.
5008 All uses replaced by __glibc_unlikely or __glibc_likely.
5010 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5014 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5015 instead of <bits/wordsize.h>.
5016 (msgqnum_t): Define as __syscall_ulong_t.
5017 (msglen_t): Likewise.
5018 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5019 and [__MSQ_PAD_AFTER_TIME].
5020 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5021 __syscall_ulong_t instead of unsigned long int.
5022 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5023 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5024 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5025 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5026 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5027 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5028 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5029 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5030 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5031 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5032 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5034 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5036 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5037 (struct shmid_ds): Condition padding after time fields on
5039 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5040 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5041 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5043 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5044 (struct semid_ds): Condition padding after time fields on
5046 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5047 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5048 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5049 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5051 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5052 (struct msqid_ds): Condition padding after time fields on
5054 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5055 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5056 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5057 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5059 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5061 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5063 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5065 * libio/tst-readline.c (TIMEOUT): Define.
5067 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5069 mktime fix for Gnulib + coreutils
5071 This fix affects only Gnulib. Problem discovered when
5072 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5074 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5075 Do not define since it is not used. Defining an unused static
5076 function prompts a warning from GCC when Coreutils is configured
5077 with --enable-gcc-warnings.
5079 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5081 * benchtests/scripts/compare_bench.py (main): set float type on
5084 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5087 * localedata/locales/kl_GL (mon): Update, the relative case.
5088 (alt_mon): Add, fill with month names in the nominative case.
5089 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5090 (d_fmt): Set to "%b %d %Y".
5092 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5094 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5095 <bits/mman-linux.h>.
5096 (PROT_READ): Don't define here.
5097 (PROT_WRITE): Likewise.
5098 (PROT_EXEC): Likewise.
5099 (PROT_NONE): Likewise.
5100 (PROT_GROWSDOWN): Likewise.
5101 (PROT_GROWSUP): Likewise.
5102 (MAP_SHARED): Likewise.
5103 (MAP_PRIVATE): Likewise.
5104 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5105 [__USE_MISC] (MAP_FILE): Likewise.
5106 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5107 [__USE_MISC] (MAP_ANON): Likewise.
5108 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5109 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5110 (MCL_CURRENT): Likewise.
5111 (MCL_FUTURE): Likewise.
5112 (MCL_ONFAULT): Likewise.
5113 [__USE_MISC] (MADV_NORMAL): Likewise.
5114 [__USE_MISC] (MADV_RANDOM): Likewise.
5115 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5116 [__USE_MISC] (MADV_WILLNEED): Likewise.
5117 [__USE_MISC] (MADV_DONTNEED): Likewise.
5118 [__USE_MISC] (MADV_FREE): Likewise.
5119 [__USE_MISC] (MADV_REMOVE): Likewise.
5120 [__USE_MISC] (MADV_DONTFORK): Likewise.
5121 [__USE_MISC] (MADV_DOFORK): Likewise.
5122 [__USE_MISC] (MADV_HWPOISON): Likewise.
5123 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5124 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5125 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5126 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5127 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5128 (__MAP_ANONYMOUS): New macro.
5129 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5130 <bits/mman-linux.h> inclusion.
5131 (MAP_FIXED): Likewise.
5132 (MS_SYNC): Likewise.
5133 (MS_ASYNC): Likewise.
5134 (MS_INVALIDATE): Likewise.
5135 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5136 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5137 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5138 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5139 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5140 [__USE_MISC] (MADV_DODUMP): Likewise.
5141 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5142 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5145 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5147 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5148 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5149 Add test-nldbl-redirect.
5150 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5151 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5152 $(objpfx)libnldbl_nonshared.a.
5154 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5156 * support/support.h (support_objdir_elf_ldso): New variable.
5157 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5158 * support/Makefile (CFLAGS-support_paths.c): Add definition
5159 for OBJDIR_ELF_LDSO_PATH.
5160 * support/test-container.c (main): Search for the ld.so
5161 which is also used by the testsuite.
5163 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5166 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5167 should be "sap" rather than "sab".
5168 (day): Fix spelling of Sunday, should be "sapaat" rather than
5171 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5173 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5175 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5178 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5179 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5180 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5182 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5184 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5186 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5188 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5190 (CFLAGS-elision-unlock.c): Likewise.
5191 (CFLAGS-elision-timed.c): Likewise.
5192 (CFLAGS-elision-trylock.c): Likewise.
5193 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5195 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5198 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5199 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5200 new fd_to_filename interface.
5201 * libio/freopen64.c (freopen64): Likewise.
5202 * libio/tst-memstream.h: New file.
5203 * libio/tst-memstream4.c: Likewise.
5204 * libio/tst-wmemstream4.c: Likewise.
5205 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5206 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5207 and remove internal dynamic allocation.
5209 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5211 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5212 (MREMAP_MAYMOVE): Do not define here.
5213 [__USE_GNU] (MREMAP_FIXED): Likewise.
5214 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5215 (MREMAP_MAYMOVE): Define here instead.
5216 [__USE_GNU] (MREMAP_FIXED): Likewise.
5217 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5218 (MREMAP_MAYMOVE): Remove.
5219 [__USE_GNU] (MREMAP_FIXED): Likewise.
5221 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5223 * math/fromfp.h: Do not include <math_private.h>.
5224 * math/s_cacosh_template.c: Likewise.
5225 * math/s_casin_template.c: Likewise.
5226 * math/s_casinh_template.c: Likewise.
5227 * math/s_ccos_template.c: Likewise.
5228 * math/s_cproj_template.c: Likewise.
5229 * math/s_fdim_template.c: Likewise.
5230 * math/s_fmaxmag_template.c: Likewise.
5231 * math/s_fminmag_template.c: Likewise.
5232 * math/s_iseqsig_template.c: Likewise.
5233 * math/s_ldexp_template.c: Likewise.
5234 * math/s_nextdown_template.c: Likewise.
5235 * math/w_log1p_template.c: Likewise.
5236 * math/w_scalbln_template.c: Likewise.
5237 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5238 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5239 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5240 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5241 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5242 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5243 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5244 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5245 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5246 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5247 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5248 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5249 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5250 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5251 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5252 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5253 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5258 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5259 * sysdeps/ieee754/k_standardf.c: Likewise.
5260 * sysdeps/ieee754/k_standardl.c: Likewise.
5261 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5262 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5263 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5264 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5265 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5266 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5267 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5268 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5269 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5270 * sysdeps/ieee754/s_signgam.c: Likewise.
5271 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5272 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5273 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5274 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5275 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5276 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5277 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5278 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5279 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5280 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5281 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5282 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5283 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5284 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5285 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5286 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5287 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5288 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5289 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5290 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5291 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5292 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5293 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5294 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5295 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5296 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5297 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5298 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5299 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5300 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5301 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5302 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5303 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5304 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5305 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5306 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5307 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5309 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5311 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5314 * sysdeps/i386/dl-cet.c: Removed.
5315 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5317 (_dl_runtime_profile_shstk): Likewise.
5318 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5319 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5321 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5324 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5325 do_test_with_invalid_iov): New tests.
5326 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5327 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5328 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5330 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5331 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5332 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5334 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5336 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5337 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5338 (MATH_REDIRECT_BINARY_ARGS): New macro.
5339 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5340 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5341 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5343 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5345 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5346 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5347 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5348 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5349 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5356 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5357 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5362 * sysdeps/generic/math_private_calls.h
5363 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5364 Do not declare and define as an inline function.
5365 * math/divtc3.c (__divtc3): Use copysign functions instead of
5366 __copysign variants.
5367 * math/multc3.c (__multc3): Likewise.
5368 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5369 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5370 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5371 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5373 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5374 (__ieee754_yn): Likewise.
5375 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5376 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5377 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5378 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5379 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5381 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5382 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5384 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5388 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5389 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5391 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5392 (__ieee754_ynf): Likewise.
5393 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5394 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5395 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5396 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5398 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5399 (__ieee754_ynl): Likewise.
5400 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5401 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5402 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5405 (__ieee754_ynl): Likewise.
5406 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5407 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5408 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5409 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5411 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5413 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5414 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5415 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5416 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5417 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5419 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5420 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5421 using MATH_REDIRECT.
5422 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5424 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5425 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5426 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5427 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5428 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5429 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5430 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5435 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5436 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5438 (round): Redirect to __round.
5439 (__roundl): Call round instead of __round.
5440 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5442 [_ARCH_PWR5X] (__roundf): Likewise.
5443 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5444 functions instead of __round variants.
5445 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5446 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5448 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5450 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5452 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5453 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5455 (__ieee754_expl): Call roundl instead of __roundl.
5457 2018-09-27 Andreas Schwab <schwab@suse.de>
5460 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5461 (do_test): Make st1 static.
5463 2018-09-26 Andreas Schwab <schwab@suse.de>
5466 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5467 * elf/Makefile (tests): Add tst-unwind-ctor.
5468 (modules-names): Add tst-unwind-ctor-lib.
5469 ($(objpfx)tst-unwind-ctor): Depend on
5470 $(objpfx)tst-unwind-ctor-lib.so.
5472 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5474 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5475 file. Most contents moved from ....
5476 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5477 and include <bits/mman-map-flags-generic.h>.
5478 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5479 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5480 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5481 <bits/mman-map-flags-generic.h>.
5482 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5483 macros defined in <bits/mman-map-flags-generic.h>.
5484 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5485 <bits/mman-map-flags-generic.h>.
5486 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5487 defined in <bits/mman-map-flags-generic.h>.
5489 2018-09-26 Andreas Schwab <schwab@suse.de>
5491 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5494 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5495 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5496 Fangrui Song <maskray@google.com>
5499 * config.make.in (have-textrel_ifunc): New define.
5500 * configure.ac: Add check if linker supports textrel relocation with
5502 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5504 (CFLAGS-tst-ifunc-textrel.c): New rule.
5505 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5506 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5507 * elf/tst-ifunc-textrel.c: New file.
5509 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5511 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5512 <bits/procfs-prregset.h>.
5513 (prgregset_t): Define using __prgregset_t.
5514 (prfpregset_t): Define using __prfpregset_t.
5515 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5516 (sysdep_headers): Add bits/procfs-prregset.h.
5517 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5518 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5519 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5520 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5522 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5523 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5524 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5526 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5527 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5528 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5529 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5530 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5531 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5532 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5533 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5534 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5535 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5536 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5537 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5538 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5539 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5540 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5541 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5542 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5543 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5544 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5545 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5546 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5547 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5548 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5549 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5551 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5552 AArch64 version. Include <bits/procfs.h>.
5553 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5554 (sysdep_headers): Add bits/procfs.h.
5555 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5556 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5557 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5558 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5559 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5560 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5561 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5562 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5563 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5564 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5565 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5566 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5567 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5568 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5569 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5570 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5571 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5573 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5575 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5578 2018-09-25 Arjun Shankar <arjun@redhat.com>
5580 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5581 (__gconv_max_path_elem_len): Likewise.
5582 (__gconv_nmodules): Likewise.
5583 (__gconv_get_path): Likewise.
5584 (path_elem): Move to ...
5585 * iconv/gconv_conf.c: ... here.
5586 (__gconv_get_path): Mark function static.
5587 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5588 * iconv/gconv_open.c: ... here.
5590 2018-09-24 Andreas Schwab <schwab@suse.de>
5592 * scripts/haveversions.awk: New file.
5593 * Makerules ($(common-objpfx)Versions.def)
5594 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5595 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5597 * Makeconfig ($(common-objpfx)Versions.def)
5598 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5599 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5601 ($(common-objpfx)Versions.mk): New rule. Include it.
5602 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5603 Emit error if build-obsolete-nsl = yes.
5604 * manual/install.texi (Configuring and compiling): Describe
5605 --enable-obsolete-nsl as unavaiable after version 2.28.
5606 * INSTALL: Regenerate.
5608 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5610 * NEWS: Add note about new TLE support on powerpc64le.
5611 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5612 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5614 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5615 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5616 * sysdeps/powerpc/powerpc32/sysdep.h,
5617 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5618 ABORT_TRANSACTION): Remove macros.
5619 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5620 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5621 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5623 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5624 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5626 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5628 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5631 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5632 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5633 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5634 which is the same as in it_IT.
5635 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5636 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5638 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5640 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5641 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5642 using MATH_REDIRECT.
5643 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5645 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5647 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5648 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5649 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5650 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5655 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5656 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5657 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5658 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5659 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5660 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5661 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5662 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5663 (ceil): Redirect to __ceil.
5664 (floor): Redirect to __floor.
5665 (trunc): Redirect to __trunc.
5666 (__truncl): Call trunc instead of __trunc.
5667 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5669 [_ARCH_PWR5X] (__truncf): Likewise.
5670 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5671 trunc functions instead of __trunc variants.
5672 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5674 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5676 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5678 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5681 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5682 [__i586__ || __pentium__].
5683 [__i486__]: Handle explicitly.
5684 (HAS_CPUID): Define to 1 if above macros are undefined.
5685 (HAS_I586): Likewise.
5686 (HAS_I686): Likewise.
5688 2018-09-20 Florian Weimer <fweimer@redhat.com>
5690 * misc/tst-gethostid.c: New file.
5691 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5692 (tst-gethostid): Link with -ldl.
5694 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5696 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5697 value from gethostbyname_r.
5699 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5701 * stdlib/tst-setcontext9.c (f1): Rename to...
5703 (f1b): New function implementing lower half of f1 in alternate stack.
5705 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5707 Fix mktime localtime offset confusion
5709 * include/time.h (__mktime_internal): The localtime offset is now
5710 of type long int instead of time_t. This is the longstanding type
5711 in glibc, and it is more than enough to represent difference
5712 between localtime and gmtime even if it is 32 bits and time_t is
5713 64. Changing it now will let us avoid an unnecessary change when
5714 time_t is widened to 64 bits on 32-bit platforms.
5715 * time/mktime-internal.h (mktime_offset_t): Now long int.
5717 Merge mktime, timegm from upstream Gnulib
5718 [BZ #23603][BZ #16346]
5719 This fixes some obscure problems with integer overflow.
5720 Although it looks scary, it is almost all a byte-for-byte copy
5721 from Gnulib, and the Gnulib code has been tested reasonably well.
5722 * include/intprops.h: New file, copied from Gnulib.
5723 * include/verify.h, time/mktime-internal.h:
5724 New tiny files, simplified from Gnulib.
5725 * time/mktime.c: Copy from Gnulib. This has the following changes:
5726 Do not include config.h if DEBUG_MKTIME is nonzero.
5727 Include stdbool.h, intprops.h, verify.h.
5728 Include string.h only if needed.
5729 Include stdlib.h on MS-Windows.
5730 Include mktime-internal.h.
5731 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5732 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5733 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5734 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5735 simplify later conditionals; default the others to zero. Use
5736 these conditionals to express only the code needed on the current
5737 platform. In uses of these conditionals, explicitly spell out how
5738 _LIBC affects things, so it’s easier to review from a glibc
5740 (WRAPV): Remove; no longer needed now that we have
5741 systematic overflow checking.
5742 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5743 compartmentalize tzset issues. Move system-dependent tzsettish
5744 code here from mktime.
5745 (verify): Remove; now done by verify.h. All uses changed.
5746 (long_int): Use a more-conservative definition, to avoid
5748 (SHR): Remove, replacing with ...
5749 (shr): New function, which means we needn’t worry about side
5750 effects in args, and conversion analysis is simpler.
5751 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5752 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5753 (time_t_avg, time_t_add_ok): Remove.
5754 (mktime_min, mktime_max): New constants.
5755 (leapyear, isdst_differ): Use bool for booleans.
5756 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5757 Use long_int, not time_t, for mktime differences.
5758 (long_int_avg): New function, replacing time_t_avg.
5759 INT_ADD_WRAPV replaces time_t_add_ok.
5760 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5762 (convert_time): New function.
5763 (ranged_convert): Use it.
5764 (__mktime_internal): Last arg now points to mktime_offset_t, not
5765 time_t. All uses changed. This is a no-op on glibc, where
5766 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5767 offset guess. Directly check for integer overflow instead of
5768 using a heuristic that works only 99.9...% of the time.
5769 Access *OFFSET only once, to avoid an unlikely race if the
5770 compiler delays a load and if this cascades into a signed integer
5772 (mktime): Move tzsettish code to my_tzset, and move
5773 localtime_offset to within mktime so that it doesn’t
5774 need a separate ifdef.
5775 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5776 instead of localtime.
5777 * time/timegm.c: Copy from Gnulib. This has the following changes:
5778 Include mktime-internal.h.
5779 [!_LIBC]: Include config.h and time.h. Do not include
5780 timegm.h or time_r.h. Make __mktime_internal a macro,
5781 and include mktime-internal.h to get its declaration.
5782 (timegm): Temporary is now mktime_offset_t, not time_t.
5783 This affects only Gnulib.
5785 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5788 * string/test-strstr.c (pr23637): New function.
5789 (test_main): Add tests with longer needles.
5790 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5791 * string/strstr.c (AVAILABLE): Likewise.
5793 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5795 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5797 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5799 * NEWS: Mention pow improvements.
5800 * math/Makefile (type-double-routines): Add e_pow_log_data.
5801 * sysdeps/generic/math_private.h (__exp1): Remove.
5802 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5803 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5804 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5806 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5807 (exp_inline): Remove.
5808 (__ieee754_exp): Only single double input is handled.
5809 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5810 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5811 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5812 (__pow_log_data): Define.
5813 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5814 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5815 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5816 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5818 (CFLAGS-e_pow-fma4.c): Likewise.
5820 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5822 Simplify tzfile fstat failure code
5824 * time/tzfile.c (__tzfile_read): Simplify slightly.
5826 Fix tzfile low-memory assertion failure
5828 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5829 when registering time zone abbreviations.
5831 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5833 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5834 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5835 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5836 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5837 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5838 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5839 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5840 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5841 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5843 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5845 (__ceill): Call ceil instead of __ceil.
5846 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5848 (__floorl): Call floor instead of __floor.
5850 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5852 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5853 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5854 using MATH_REDIRECT.
5855 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5857 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5858 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5859 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5860 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5861 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5862 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5863 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5864 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5869 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5870 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5873 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5874 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5875 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5877 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5878 functions instead of __ceil variants.
5879 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5880 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5882 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5884 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5885 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5887 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5888 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5891 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
5893 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
5894 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
5895 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
5896 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
5897 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
5898 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
5899 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
5900 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
5901 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
5902 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
5903 (ILL_BADIADDR): Remove constant.
5904 (TRAP_BRANCH): Likewise.
5905 (TRAP_HWBKPT): Likewise.
5907 2018-09-14 Joseph Myers <joseph@codesourcery.com>
5910 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
5911 Remove [_MIPS_SIM = _ABIN32] conditional case.
5912 (struct elf_prpsinfo): Likewise.
5915 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
5916 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
5917 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
5919 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
5920 elf_prpsinfo): Likewise.
5921 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
5922 elf_prpsinfo): Likewise.
5923 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
5926 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5927 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
5928 using MATH_REDIRECT.
5929 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
5931 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
5932 * sysdeps/alpha/fpu/s_rint.c: Likewise.
5933 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
5934 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5935 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5936 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5937 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
5938 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5939 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5940 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5941 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
5942 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
5943 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
5944 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5945 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5946 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5947 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5948 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
5949 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5952 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
5953 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
5954 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5955 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5956 * sysdeps/x86_64/fpu/math_private.h: Remove file.
5957 * math/e_scalb.c (invalid_fn): Use rint functions instead of
5959 * math/e_scalbf.c (invalid_fn): Likewise.
5960 * math/e_scalbl.c (invalid_fn): Likewise.
5961 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5963 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5965 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5966 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
5967 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5969 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5971 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5973 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
5974 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
5976 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5977 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
5979 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5980 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
5981 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5982 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
5983 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5984 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
5985 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5986 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
5987 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5988 && !NO_MATH_REDIRECT] (floor): Likewise.
5989 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
5991 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
5992 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5993 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5994 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
5995 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5996 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5997 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5998 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
5999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6003 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6004 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6007 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6008 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6009 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6011 [_ARCH_PWR5X] (__floorf): Likewise.
6012 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6014 [__SSE4_1__] (__floorf): Likewise.
6015 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6016 instead of __floor variants.
6017 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6018 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6019 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6020 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6021 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6022 * math/w_tgamma_compat.c (__tgamma): Likewise.
6023 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6024 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6025 * math/w_tgammal_compat.c (__tgammal): Likewise.
6026 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6027 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6029 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6030 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6031 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6032 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6034 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6035 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6037 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6038 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6040 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6041 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6043 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6044 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6045 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6046 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6047 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6048 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6050 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6052 * elf/Makefile (modules-names-tests): New variable.
6054 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6056 * NEWS: Mention log2 improvements.
6057 * math/Makefile (type-double-routines): Add e_log2_data.
6058 * sysdeps/i386/fpu/e_log2_data.c: New file.
6059 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6060 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6061 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6062 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6063 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6064 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6066 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6068 * NEWS: Mention log improvement.
6069 * math/Makefile (type-double-routines): Add e_log_data.
6070 * sysdeps/i386/fpu/e_log_data.c: New file.
6071 * sysdeps/ia64/fpu/e_log_data.c: New file.
6072 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6073 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6074 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6075 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6076 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6077 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6079 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6080 Xuepeng Guo <xuepeng.guo@intel.com>
6083 * sysdeps/i386/start.S: Include <sysdep.h>
6084 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6085 enabled. Add cfi_undefined (eip).
6087 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6089 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6091 (EXTRACT_WORDS64): Likewise.
6092 (INSERT_WORDS64): Likewise.
6093 (GET_FLOAT_WORD): Likewise.
6094 (SET_FLOAT_WORD): Likewise.
6096 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6098 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6099 build, but not for second build if --full-gcc. Use
6100 --enable-languages=all for second build if --full-gcc.
6101 (get_parser): Add --full-gcc option.
6102 (main): Update call to Context.
6104 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6107 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6108 Single Quotation Mark).
6109 (thousands_sep): Likewise.
6110 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6111 * localedata/locales/it_IT (thousands_sep): Use ".".
6112 (grouping): Use "3;3".
6114 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6116 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6117 x86_64 and i686 configs using --enable-obsolete-rpc
6118 --enable-obsolete-nsl.
6120 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6122 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6124 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6126 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6127 Increment size of new_argv by one.
6129 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6132 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6133 * localedata/locales/ar_IN (d_fmt): Likewise.
6134 * localedata/locales/bhb_IN (d_fmt): Likewise.
6135 * localedata/locales/bho_IN (d_fmt): Likewise.
6136 * localedata/locales/bn_BD (d_fmt): Likewise.
6137 * localedata/locales/bn_IN (d_fmt): Likewise.
6138 * localedata/locales/doi_IN (d_fmt): Likewise.
6139 * localedata/locales/gu_IN (d_fmt): Likewise.
6140 * localedata/locales/hi_IN (d_fmt): Likewise.
6141 * localedata/locales/hne_IN (d_fmt): Likewise.
6142 * localedata/locales/kn_IN (d_fmt): Likewise.
6143 * localedata/locales/mag_IN (d_fmt): Likewise.
6144 * localedata/locales/mai_IN (d_fmt): Likewise.
6145 * localedata/locales/mjw_IN (d_fmt): Likewise.
6146 * localedata/locales/ml_IN (d_fmt): Likewise.
6147 * localedata/locales/mni_IN (d_fmt): Likewise.
6148 * localedata/locales/mr_IN (d_fmt): Likewise.
6149 * localedata/locales/pa_IN (d_fmt): Likewise.
6150 * localedata/locales/raj_IN (d_fmt): Likewise.
6151 * localedata/locales/sat_IN (d_fmt): Likewise.
6152 * localedata/locales/sd_IN (d_fmt): Likewise.
6153 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6154 * localedata/locales/ta_IN (d_fmt): Likewise.
6155 * localedata/locales/ta_LK (d_fmt): Likewise.
6156 * localedata/locales/tcy_IN (d_fmt): Likewise.
6157 * localedata/locales/ur_IN (d_fmt): Likewise.
6159 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6160 * localedata/locales/ks_IN (d_fmt): Likewise.
6161 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6163 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6164 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6165 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6166 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6168 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6170 * NEWS: Mention exp and exp2 improvements.
6171 * math/Makefile (libm-support): Remove t_exp.
6172 (type-double-routines): Add math_err and e_exp_data.
6173 * sysdeps/aarch64/libm-test-ulps: Update.
6174 * sysdeps/arm/libm-test-ulps: Update.
6175 * sysdeps/i386/fpu/e_exp_data.c: New file.
6176 * sysdeps/i386/fpu/math_err.c: New file.
6177 * sysdeps/i386/fpu/t_exp.c: Remove.
6178 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6179 * sysdeps/ia64/fpu/math_err.c: New file.
6180 * sysdeps/ia64/fpu/t_exp.c: Remove.
6181 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6182 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6183 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6185 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6186 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6187 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6188 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6189 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6190 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6191 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6192 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6193 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6194 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6198 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6200 * sysdeps/alpha/fpu/math_private.h: Remove.
6202 * sysdeps/generic/math_private.h
6203 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6204 Move this inline function ....
6205 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6206 * include/math.h [!_ISOMAC]: To here....
6208 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6210 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6212 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6213 * include/fenv.h [!_ISOMAC]: ... to here.
6214 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6215 (feraiseexcept): Likewise.
6216 * math/fromfp.h: Do not include <fenv_private.h>.
6217 * math/s_cexp_template.c: Likewise.
6218 * math/s_csin_template.c: Likewise.
6219 * math/s_csinh_template.c: Likewise.
6220 * math/s_ctan_template.c: Likewise.
6221 * math/s_ctanh_template.c: Likewise.
6222 * math/s_iseqsig_template.c: Likewise.
6223 * math/w_acos_compat.c: Likewise.
6224 * math/w_acosf_compat.c: Likewise.
6225 * math/w_acosl_compat.c: Likewise.
6226 * math/w_asin_compat.c: Likewise.
6227 * math/w_asinf_compat.c: Likewise.
6228 * math/w_asinl_compat.c: Likewise.
6229 * math/w_j0_compat.c: Likewise.
6230 * math/w_j0f_compat.c: Likewise.
6231 * math/w_j0l_compat.c: Likewise.
6232 * math/w_j1_compat.c: Likewise.
6233 * math/w_j1f_compat.c: Likewise.
6234 * math/w_j1l_compat.c: Likewise.
6235 * math/w_jn_compat.c: Likewise.
6236 * math/w_jnf_compat.c: Likewise.
6237 * math/w_log10_compat.c: Likewise.
6238 * math/w_log10f_compat.c: Likewise.
6239 * math/w_log10l_compat.c: Likewise.
6240 * math/w_log2_compat.c: Likewise.
6241 * math/w_log2f_compat.c: Likewise.
6242 * math/w_log2l_compat.c: Likewise.
6243 * math/w_log_compat.c: Likewise.
6244 * math/w_logf_compat.c: Likewise.
6245 * math/w_logl_compat.c: Likewise.
6246 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6247 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6248 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6249 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6250 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6251 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6252 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6253 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6254 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6255 * sysdeps/ieee754/k_standardl.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6268 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6269 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6273 * math/w_ilogb_template.c: Include <fenv.h> instead of
6275 * math/w_llogb_template.c: Likewise.
6276 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6277 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6279 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6281 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6282 * math/fromfp.h: Include <fenv_private.h>.
6283 * math/math-narrow.h: Likewise.
6284 * math/s_cexp_template.c: Likewise.
6285 * math/s_csin_template.c: Likewise.
6286 * math/s_csinh_template.c: Likewise.
6287 * math/s_ctan_template.c: Likewise.
6288 * math/s_ctanh_template.c: Likewise.
6289 * math/s_iseqsig_template.c: Likewise.
6290 * math/w_acos_compat.c: Likewise.
6291 * math/w_acosf_compat.c: Likewise.
6292 * math/w_acosl_compat.c: Likewise.
6293 * math/w_asin_compat.c: Likewise.
6294 * math/w_asinf_compat.c: Likewise.
6295 * math/w_asinl_compat.c: Likewise.
6296 * math/w_ilogb_template.c: Likewise.
6297 * math/w_j0_compat.c: Likewise.
6298 * math/w_j0f_compat.c: Likewise.
6299 * math/w_j0l_compat.c: Likewise.
6300 * math/w_j1_compat.c: Likewise.
6301 * math/w_j1f_compat.c: Likewise.
6302 * math/w_j1l_compat.c: Likewise.
6303 * math/w_jn_compat.c: Likewise.
6304 * math/w_jnf_compat.c: Likewise.
6305 * math/w_llogb_template.c: Likewise.
6306 * math/w_log10_compat.c: Likewise.
6307 * math/w_log10f_compat.c: Likewise.
6308 * math/w_log10l_compat.c: Likewise.
6309 * math/w_log2_compat.c: Likewise.
6310 * math/w_log2f_compat.c: Likewise.
6311 * math/w_log2l_compat.c: Likewise.
6312 * math/w_log_compat.c: Likewise.
6313 * math/w_logf_compat.c: Likewise.
6314 * math/w_logl_compat.c: Likewise.
6315 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6316 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6317 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6318 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6320 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6321 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6322 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6323 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6324 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6325 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6326 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6327 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6328 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6329 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6330 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6331 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6332 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6333 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6334 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6335 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6336 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6337 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6338 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6340 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6341 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6342 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6343 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6344 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6345 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6346 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6347 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6348 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6349 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6350 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6351 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6352 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6353 * sysdeps/ieee754/k_standardl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6379 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6380 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6384 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6385 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6386 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6390 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6391 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6392 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6393 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6394 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6395 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6396 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6397 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6398 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6399 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6400 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6401 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6402 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6403 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6404 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6405 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6406 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6407 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6408 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6409 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6410 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6411 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6412 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6413 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6414 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6415 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6416 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6417 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6418 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6419 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6420 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6421 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6422 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6423 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6424 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6426 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6429 * include/stdio.h (__libc_fatal): Mention newline in comment.
6430 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6431 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6432 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6433 * nss/nsswitch.c (__nss_next2): Likewise.
6434 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6435 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6436 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6437 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6438 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6439 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6440 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6441 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6442 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6443 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6444 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6445 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6446 (__netlink_assert_response): Likewise.
6448 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6450 * conform/glibcconform.py: New file.
6451 * conform/list-header-symbols.py: Likewise.
6452 * conform/list-header-symbols.pl: Remove.
6453 * conform/Makefile (tests-special): Only add linknamespace tests
6455 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6457 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6460 * support/Makefile (libsupport-routines): Add
6461 support_copy_file_range and xcopy_file_range.
6462 * support/support.h: Include <sys/types.h>.
6463 (support_copy_file_range): New prototype.
6464 * support/support_copy_file_range.c: New file. Copied and
6465 modified from io/copy_file_range-compat.c.
6466 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6467 instead of copy_file_range.
6468 * support/xcopy_file_range.c: New file.
6469 * support/xunistd.h (xcopy_file_range): New prototype.
6471 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6473 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6474 xpthread_create and xpthread_join.
6476 2018-08-30 Florian Weimer <fweimer@redhat.com>
6478 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6480 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6482 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6485 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6487 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6488 and minus_oflow as non-finite.
6490 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6492 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6493 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6494 moved to fenv_private.h except for ...
6495 (TOINT_INTRINSICS): Kept in math_private.h.
6496 (roundtoint): Likewise.
6497 (converttoint): Likewise.
6498 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6499 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6500 * sysdeps/arm/math_private.h: Remove.
6501 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6503 * sysdeps/generic/math_private.h: ... this file. Include
6504 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6505 Include <fenv_private.h>. Remove functions and macros moved to
6507 * sysdeps/i386/fpu/math_private.h: Remove.
6508 * sysdeps/mips/math_private.h: Move to ....
6509 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6510 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6511 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6512 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6513 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6514 * sysdeps/powerpc/fpu/math_private.h: Do not include
6516 * sysdeps/riscv/rvf/math_private.h: Move to ....
6517 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6518 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6520 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6521 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6522 * sysdeps/sparc/fpu/math_private.h: Remove.
6523 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6524 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6525 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6527 * sysdeps/x86_64/fpu/math_private.h: Do not include
6528 <sysdeps/i386/fpu/fenv_private.h>.
6530 2018-08-28 Florian Weimer <fweimer@redhat.com>
6533 * posix/tst-regcomp-truncated.c: New file.
6534 * posix/Makefile (tests): Add it.
6535 (tst-regcomp-truncated.out): Depend on generated locales.
6537 2018-08-28 Florian Weimer <fweimer@redhat.com>
6539 * support/test-container.c (main): Treat unshare failure with
6540 EPERM as an unsupported test.
6542 2018-08-28 Florian Weimer <fweimer@redhat.com>
6545 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6546 * nscd/netgroupcache.c
6547 (addgetnetgrentX): Add tofreep parameter. Do not free
6548 heap-allocated buffer.
6549 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6550 (addgetnetgrentX_ignore): New function.
6551 (addgetnetgrent): Call it.
6552 (readdgetnetgrent): Likewise.
6554 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6556 * string/memmem.c: Use memcmp for first match.
6558 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6561 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6563 2018-08-27 DJ Delorie <dj@redhat.com>
6565 * support/Makefile (others): Don't list programs explicitly as a
6566 dependency of "others".
6568 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6570 * sysdeps/generic/math-tests-trap-force.h: New file.
6571 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6572 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6573 * sysdeps/powerpc/math-tests.h: Remove file.
6574 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6576 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6577 Torvald Riegel <triegel@redhat.com>
6580 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6581 Update r to include the set wake-request flag if waiters are
6582 remaining after spinning.
6584 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6586 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6588 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6591 regex: fix uninitialized memory access
6592 I introduced this bug into gnulib in commit
6593 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6594 eventually it was merged into glibc. The bug was found by
6595 project-repo <bugs@feusi.co> and reported here:
6596 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6597 Diagnosis and draft fix reported by Assaf Gordon here:
6598 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6599 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6600 * posix/regex_internal.c (build_wcs_upper_buffer):
6601 Fix bug when mbrtowc returns 0.
6603 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6605 * po/be.po: Update translation.
6607 2018-08-24 DJ Delorie <dj@delorie.com>
6609 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6612 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6615 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6616 create temporary files in source tree.
6618 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6620 * sysdeps/generic/math-tests-trap.h: New file.
6621 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6622 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6623 * sysdeps/aarch64/math-tests.h: Remove file.
6624 * sysdeps/arm/math-tests.h: Likewise.
6625 * sysdeps/riscv/math-tests.h: Likewise.
6626 * sysdeps/aarch64/math-tests-trap.h: New file.
6627 * sysdeps/arm/math-tests-trap.h: Likewise.
6628 * sysdeps/riscv/math-tests-trap.h: Likewise.
6630 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6632 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6633 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6634 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6635 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6636 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6637 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6641 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6642 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6643 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6644 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6645 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6646 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6647 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6648 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6649 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6651 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6653 * sysdeps/generic/math-tests-exceptions.h: New file.
6654 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6655 (EXCEPTION_TESTS_float): Do not define here.
6656 (EXCEPTION_TESTS_double): Likewise.
6657 (EXCEPTION_TESTS_long_double): Likewise.
6658 (EXCEPTION_TESTS_float128): Likewise.
6659 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6661 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6662 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6663 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6664 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6665 * sysdeps/mips/math-tests.h: Likewise.
6666 * sysdeps/nios2/math-tests.h: Likewise.
6667 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6668 (EXCEPTION_TESTS_float): Do not define here.
6669 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6670 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6671 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6673 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6675 * NEWS: Move optimized sinf entry to 2.29.
6677 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6679 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6681 2018-08-22 DJ Delorie <dj@redhat.com>
6683 * Makefile (testroot.pristine): New rules to initialize the
6684 test-in-container "testroot".
6685 * Makerules (all-testsuite): Add tests-container.
6686 * Rules (tests-expected): Add tests-container.
6687 (binaries-all-tests): Likewise.
6688 (tests-container): New, run these tests in the testroot container.
6689 * support/Makefile (others): Add *-container, support_paths.c,
6690 xmkdirp, and links-dso-program.
6691 * support/links-dso-program-c.c: New.
6692 * support/links-dso-program.cc: New.
6693 * support/test-container.c: New.
6694 * support/shell-container.c: New.
6695 * support/echo-container.c: New.
6696 * support/true-container.c: New.
6697 * support/xmkdirp.c: New.
6698 * support/xsymlink.c: New.
6699 * support/support_paths.c: New.
6700 * support/support.h: Add support paths prototypes.
6701 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6703 * nss/tst-nss-test3.c: Convert to test-in-container.
6704 * nss/tst-nss-test3.root/: New.
6706 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6708 regex: port Gnulib code to z/OS POSIX environment
6709 Problem reported by Arnold Robbins in:
6710 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6711 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6714 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6716 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6717 (ROUNDING_TESTS_double): Remove.
6718 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6719 (ROUNDING_TESTS_double): Remove.
6720 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6721 (ROUNDING_TESTS_double): Remove.
6722 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6723 (ROUNDING_TESTS_float): Remove.
6724 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6725 (ROUNDING_TESTS_float): Remove.
6726 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6727 (ROUNDING_TESTS_float): Remove.
6728 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6730 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6731 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6733 * sysdeps/generic/math-tests-rounding.h: New file.
6734 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6735 (ROUNDING_TESTS_float): Do not define here.
6736 (ROUNDING_TESTS_double): Likewise.
6737 (ROUNDING_TESTS_long_double): Likewise.
6738 (ROUNDING_TESTS_float128): Likewise.
6739 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6740 (ROUNDING_TESTS_double): Undefine before defining.
6741 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6742 (ROUNDING_TESTS_double): Undefine before defining.
6743 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6744 (ROUNDING_TESTS_double): Undefine before defining.
6745 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6746 (ROUNDING_TESTS_float): Undefine before defining.
6747 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6748 (ROUNDING_TESTS_float): Undefine before defining.
6749 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6750 (ROUNDING_TESTS_float): Undefine before defining.
6751 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6752 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6754 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6755 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6756 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6757 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6758 (ROUNDING_TESTS_float): Do not define here.
6759 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6760 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6761 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6762 (ROUNDING_TESTS_float): Likewise.
6763 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6764 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6765 * sysdeps/mips/math-tests.h [__mips_soft_float]
6766 (ROUNDING_TESTS_float): Likewise.
6767 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6768 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6769 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6770 (ROUNDING_TESTS_double): Likewise.
6771 (ROUNDING_TESTS_long_double): Likewise.
6773 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6775 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6776 (PF_XDP): New macro.
6777 (AF_XDP): New macro.
6778 (SOL_XDP): New macro.
6780 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6782 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6783 (TCP_INQ): Likewise.
6784 (TCP_CM_INQ): Likewise.
6785 (TCP_REPAIR_ON): Likewise.
6786 (TCP_REPAIR_OFF): Likewise.
6787 (TCP_REPAIR_OFF_NO_WP): Likewise.
6788 (struct tcp_zerocopy_receive): New type.
6790 2018-08-21 Florian Weimer <fweimer@redhat.com>
6792 * support/support.h (support_descriptor_supports_holes): Declare.
6793 * support/Makefile (libsupport-routines): Add
6794 support_descriptor_supports_holes.
6795 * support/support_descriptor_supports_holes.c: New file.
6796 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6797 and stop testing if holes are not supported.
6798 * io/test-lfs.c (do_prepare): Likewise.
6799 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6801 * timezone/tst-tzset.c (create_tz_file): Likewise.
6802 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6804 (do_prepare): Set it.
6805 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6807 2018-08-21 Florian Weimer <fweimer@redhat.com>
6810 * Makeconfig (+cflags): Do not sort (and deduplicate).
6812 2018-08-21 Florian Weimer <fweimer@redhat.com>
6814 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6815 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6817 2018-08-20 Florian Weimer <fweimer@redhat.com>
6819 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6820 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6822 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6824 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6825 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6826 and ssi_arch members.
6828 * elf/elf.c (NT_VMCOREDD): New macro.
6829 (AT_MINSIGSTKSZ): Likewise.
6831 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6833 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6834 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6835 s_cosf-ppc64 and s_cosf-power8.
6836 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6837 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6838 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6839 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6846 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6847 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6849 2018-08-17 Florian Weimer <fweimer@redhat.com>
6851 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6853 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6855 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6857 2018-08-16 Florian Weimer <fweimer@redhat.com>
6859 * configure.ac: Add --with-nonshared-cflags option.
6860 * config.make.in (extra-nonshared-cflags): Set variable.
6861 * Makeconfig (CFLAGS-.oS): Use it.
6862 * manual/install.texi (Configuring and compiling): Document
6863 --with-nonshared-cflags.
6864 * configure: Regenerate.
6865 * INSTALL: Likewise.
6867 2018-08-16 Florian Weimer <fweimer@redhat.com>
6869 * Makeconfig (ASFLAGS): Always append required assembler flags.
6871 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6873 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6874 (malloc_consolidate): Likewise.
6876 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6878 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6880 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6882 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6885 * benchtests/bench-strlen.c: Print performance numbers in json.
6887 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6889 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6890 (sysdep_routines): Build strcmp-power9 and strncmp-power9
6891 only for little endian.
6892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6893 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
6894 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
6895 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
6896 Add check for little endian.
6897 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6898 (__strcmp_power9): Add check for little endian.
6899 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
6900 Add check for little endian.
6901 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6902 (__strncmp_power9): Add check for little endian.
6903 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
6904 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
6905 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6906 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
6907 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
6909 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
6911 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
6912 [!STRLEN](STRLEN): Set to __strlen.
6913 * sysdeps/aarch64/multiarch/strlen.c: New file.
6914 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
6915 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
6916 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6917 (__libc_ifunc_impl_list): Add strlen.
6918 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6919 strlen_generic and strlen_asimd.
6921 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6923 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
6924 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
6925 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6927 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6929 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
6931 2018-08-14 Florian Weimer <fweimer@redhat.com>
6934 * include/stdio.h (__vfxprintf): Declare.
6935 * stdio-common/fxprintf.c (__vfxprintf): New function.
6936 (__fxprintf): Call it.
6937 * misc/err.c (convert_and_print): Remove function.
6938 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
6939 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
6940 * misc/Makefile (tests): Add tst-warn-wide.
6941 * misc/tst-warn-wide.c: New file.
6943 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
6944 Szabolcs Nagy <szabolcs.nagy@arm.com>
6946 * NEWS: Mention sinf, cosf, sincosf.
6947 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
6948 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
6949 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
6950 constants rather than including generic sincosf.h.
6951 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
6952 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
6953 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
6954 (reduced_cos): Remove.
6955 (sinf_poly): New function.
6956 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
6958 2018-08-14 Florian Weimer <fweimer@redhat.com>
6962 * nss/nss_files/files-alias.c (get_next_alias): During :include:
6963 processing, bail out if no room, and close the stream before
6965 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
6966 (tst-nss-files-alias-leak): Link with libdl.
6967 (tst-nss-files-alias-leak.out): Depend on nss_files.
6969 * nss/tst-nss-files-alias-leak.c: New file.
6971 2018-08-14 Florian Weimer <fweimer@redhat.com>
6973 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
6974 server_user, stat_user.
6976 2018-08-13 Joseph Myers <joseph@codesourcery.com>
6978 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
6980 (io_pgetevents): New syscall.
6983 * manual/install.texi (Configuring and compiling): Do not list
6984 tools used for testing pretty printers here.
6985 (Tools for Compilation): List Python, PExpect and GDB here.
6986 Update descriptions of uses of Perl and Python.
6987 * INSTALL: Regenerate.
6989 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6992 2018-08-13 Florian Weimer <fweimer@redhat.com>
6994 * misc/error.c (error): Add missing va_end call.
6995 (error_at_line): Likewise.
6997 2018-08-13 Florian Weimer <fweimer@redhat.com>
6999 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7001 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7003 * benchtests/scripts/benchout.schema.json (properties): Add
7006 * benchtests/bench-skeleton.c (main): Add duration and
7007 iterations attributes.
7009 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7011 regex: Gnulib unibyte RRI uses bytes not chars
7012 Adjust the non-glibc code to agree with what Gawk needs for
7013 rational range interpretation (RRI) for regular expression ranges.
7014 In unibyte locales, Gawk wants ranges to use the underlying byte
7015 rather than the character code point. This change does not affect
7017 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7018 In unibyte locales, use the byte value rather than
7019 running it through btowc.
7021 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7023 * sysdeps/generic/math-tests-snan.h: New file.
7024 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7025 (SNAN_TESTS_float): Do not define here.
7026 (SNAN_TESTS_double): Likewise.
7027 (SNAN_TESTS_long_double): Likewise.
7028 (SNAN_TESTS_float128): Likewise.
7029 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7030 * sysdeps/i386/fpu/math-tests.h: Remove file.
7031 * sysdeps/ia64/math-tests-snan.h: New file.
7032 * sysdeps/ia64/math-tests.h: Remove file.
7033 * sysdeps/x86/math-tests.h: Likewise.
7034 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7036 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7037 Szabolcs Nagy <szabolcs.nagy@arm.com>
7039 * math/Makefile: Add s_sincosf_data.c.
7040 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7041 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7042 (sincosf_poly): Likewise.
7043 (reduce_small): Likewise.
7044 (reduce_large): Likewise.
7045 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7046 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7047 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7048 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7050 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7051 Szabolcs Nagy <szabolcs.nagy@arm.com>
7053 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7054 (converttoint): Use lround.
7055 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7056 document the semantics when TOINT_INTRINSICS is set.
7057 (converttoint): Likewise.
7058 (TOINT_RINT): Remove.
7059 (TOINT_SHIFT): Remove.
7060 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7063 2018-08-10 Florian Weimer <fweimer@redhat.com>
7066 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7068 (__old_getdents64): Use getdents64. Convert entries without
7070 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7071 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7072 tst-readdir64-compat.
7074 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7076 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7079 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7081 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7082 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7083 code to s390x-mcount.h and #include it.
7084 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7085 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7088 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7090 * stdlib/Versions: Remove __fentry__.
7091 * sysdeps/i386/Versions: Add __fentry__.
7092 * sysdeps/x86_64/Versions: Add __fentry__.
7094 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7096 * sysdeps/s390/Makefile: Register the new tests.
7097 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7098 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7099 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7100 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7101 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7102 * sysdeps/s390/tst-dl-runtime.c: New file.
7104 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7106 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7109 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7111 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7114 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7116 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7119 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7121 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7124 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7126 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7127 Use symbolic offsets for stack variables.
7129 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7131 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7132 Use symbolic offsets for stack variables.
7134 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7136 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7137 Use symbolic offsets for stack variables.
7139 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7141 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7142 Use symbolic offsets for stack variables.
7144 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7146 * math/gen-libm-test.py: New file.
7147 * math/gen-libm-test.pl: Remove.
7148 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7149 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7151 ($(libm-test-c-noauto-obj)): Likewise.
7152 ($(libm-test-c-auto-obj)): Likewise.
7153 ($(libm-test-c-narrow-obj)): Likewise.
7154 (regen-ulps): Likewise.
7155 * math/README.libm-test: Update references to gen-libm-test.pl.
7156 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7157 referencing gen-libm-test.pl.
7158 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7159 * math/libm-test-support.c: Likewise.
7160 * math/libm-test-support.h: Likewise.
7161 * sysdeps/generic/libm-test-ulps: Likewise.
7163 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7165 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7168 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7170 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7171 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7173 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7175 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7177 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7178 __pthread_setspecific): Add hidden proto.
7179 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7180 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7182 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7184 * benchtests/bench-string.h (buf1_size, buf2_size): New
7186 (init_sizes): New function.
7187 (test_init): Use it.
7188 (alloc_buf, exit_error): New functions.
7189 (alloc_bufs): Use ALLOC_BUF.
7190 (realloc_bufs): Remove.
7191 * benchtests/bench-memcmp.c (do_test): Adjust.
7192 * benchtests/bench-memset-large.c (do_test): Likewise.
7193 * benchtests/bench-memset-walk.c (do_test): Likewise.
7194 * benchtests/bench-memset.c (do_test): Likewise.
7195 * benchtests/bench-strncmp.c (do_test): Likewise.
7197 2018-08-06 Andreas Schwab <schwab@suse.de>
7199 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7200 of CONST_THREAD_AREA.
7202 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7204 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7205 (STATE_SAVE_MASK): Likewise.
7206 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7207 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7208 (STATE_SAVE_MASK): Likewise.
7209 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7210 instead of <cpu-features.h>.
7212 2018-08-03 DJ Delorie <dj@redhat.com>
7214 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7215 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7217 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7219 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7221 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7223 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7224 * math/libm-test-logb.inc (logb_test_data): Likewise.
7226 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7228 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7229 * string/strstr.c (AVAILABLE): Likewise.
7231 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7233 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7235 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7236 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7237 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7239 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7241 * po/be.po: Update translation.
7243 * po/be.po: Update translation.
7245 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7247 * sysdeps/x86/cpu-features-offsets.sym
7248 (rtld_global_ro_offsetof): Removed.
7249 (CPU_FEATURES_SIZE): Likewise.
7250 (CPUID_OFFSET): Likewise.
7251 (CPUID_SIZE): Likewise.
7252 (CPUID_EAX_OFFSET): Likewise.
7253 (CPUID_EBX_OFFSET): Likewise.
7254 (CPUID_ECX_OFFSET): Likewise.
7255 (CPUID_EDX_OFFSET): Likewise.
7256 (FAMILY_OFFSET): Likewise.
7257 (MODEL_OFFSET): Likewise.
7258 (FEATURE_OFFSET): Likewise.
7259 (FEATURE_SIZ): Likewise.
7260 (COMMON_CPUID_INDEX_1): Likewise.
7261 (COMMON_CPUID_INDEX_7): Likewise.
7262 (FEATURE_INDEX_1): Likewise.
7263 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7265 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7267 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7268 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7269 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7270 (install-locales): Depend on install-locale-archive.
7271 (install-locale-archive): Define.
7272 (install-locale-files): Define.
7273 (build-one-locale): Define macro.
7274 * manual/install.texi (Running make install): Document.
7275 * manual/INSTALL: Regenerate.
7277 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7279 * benchtests/scripts/compare_strings.py: Import traceback.
7280 (parse_file): Pretty-print error.
7282 * NEWS: Mention the change.
7283 * elf/dl-tunables.list: Rename tune namespace to cpu.
7284 * sysdeps/powerpc/dl-tunables.list: Likewise.
7285 * sysdeps/x86/dl-tunables.list: Likewise.
7286 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7288 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7289 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7290 * manual/README.tunables: Likewise.
7291 * manual/tunables.texi: Likewise.
7292 * sysdeps/powerpc/cpu-features.c: Likewise.
7293 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7294 (init_cpu_features): Likewise.
7295 * sysdeps/x86/cpu-features.c: Likewise.
7296 * sysdeps/x86/cpu-features.h: Likewise.
7297 * sysdeps/x86/cpu-tunables.c: Likewise.
7298 * sysdeps/x86_64/Makefile: Likewise.
7299 * sysdeps/x86/dl-cet.c: Likewise.
7301 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7304 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7305 [__mips_hard_float].
7306 (FE_UNDERFLOW): Likewise.
7307 (FE_OVERFLOW): Likewise.
7308 (FE_DIVBYZERO): Likewise.
7309 (FE_INVALID): Likewise.
7310 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7311 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7312 (FE_UPWARD): Likewise.
7313 (FE_DOWNWARD): Likewise.
7314 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7315 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7316 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7317 [__mips_hard_float].
7318 (FP_ROUNDMODE): Likewise.
7319 (FP_RND_NEAREST): Likewise.
7320 (FP_RND_ZERO): Likewise.
7321 (FP_RND_PINF): Likewise.
7322 (FP_RND_MINF): Likewise.
7323 (FP_EX_INVALID): Likewise.
7324 (FP_EX_OVERFLOW): Likewise.
7325 (FP_EX_UNDERFLOW): Likewise.
7326 (FP_EX_DIVZERO): Likewise.
7327 (FP_EX_INEXACT): Likewise.
7328 (FP_INIT_ROUNDMODE): Likewise.
7329 * sysdeps/mips/nofpu/fesetenv.c: New file.
7330 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7332 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7334 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7335 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7336 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7337 conditional on [FE_UPWARD].
7339 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7341 regex: fix memory leak in Gnulib
7342 Problem and fix reported by Assaf Gordon in:
7343 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7344 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7345 range_ends members too, as they are defined in 'struct
7346 re_charset_t' even if not _LIBC. This affects only Gnulib.
7348 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7350 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7352 (get_common_indices): This.
7353 (init_cpu_features): Updated.
7355 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7357 * sysdeps/generic/math-tests-snan-payload.h: New file.
7358 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7359 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7360 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7361 * sysdeps/generic/math-tests.h: Include
7362 <math-tests-snan-payload.h>.
7363 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7364 * sysdeps/hppa/math-tests.h: Remove file.
7365 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7366 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7367 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7370 * sysdeps/generic/math-tests-snan-cast.h: New file.
7371 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7372 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7373 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7374 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7376 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7378 * version.h (RELEASE): Set to "development".
7379 (VERSION): Set to "2.28.9000".
7380 * NEWS (2.29): New section.
7382 * version.h (RELEASE): Set to "stable".
7383 (VERSION): Set to "2.28".
7384 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7385 * NEWS: Add the list of bugs fixed in 2.28.
7387 * po/ca.po: Update to latest version.
7388 * po/cs.po: Likewise
7389 * po/da.po: Likewise
7390 * po/el.po: Likewise
7391 * po/eo.po: Likewise
7392 * po/es.po: Likewise
7393 * po/fi.po: Likewise
7394 * po/fr.po: Likewise
7395 * po/gl.po: Likewise
7396 * po/hu.po: Likewise
7397 * po/ia.po: Likewise
7398 * po/id.po: Likewise
7399 * po/it.po: Likewise
7400 * po/ja.po: Likewise
7401 * po/ko.po: Likewise
7402 * po/lt.po: Likewise
7403 * po/nb.po: Likewise
7404 * po/nl.po: Likewise
7405 * po/pt_BR.po: Likewise
7406 * po/ru.po: Likewise
7407 * po/rw.po: Likewise
7408 * po/sk.po: Likewise
7409 * po/sl.po: Likewise
7410 * po/tr.po: Likewise
7411 * po/zh_CN.po: Likewise
7412 * po/zh_TW.po: Likewise
7414 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7416 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7418 (init): ... before initializing libpthread.
7420 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7421 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7422 (__mach_setup_tls): ... new function.
7423 (mach_setup_tls): New alias.
7424 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7425 __mach_setup_thread.
7426 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7427 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7428 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7429 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7431 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7433 * manual/install.texi: Update versions.
7434 * INSTALL: Regenerate.
7436 * manual/contrib.texi (Contributors): Update contributions.
7438 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7440 * po/be.po: Update translations.
7442 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7444 * sysdeps/sh/libm-test-ulps: Update.
7446 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7448 * po/bg.po: Update translations.
7449 * po/de.po: Likewise.
7450 * po/hr.po: Likewise.
7451 * po/pt_BR.po: Likewise.
7452 * po/sv.po: Likewise.
7453 * po/vi.po: Likewise.
7455 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7458 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7459 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7460 (CFLAGS-tst-cet-property-1.o): New.
7461 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7462 ($(objpfx)tst-cet-property-2): Likewise.
7463 ($(objpfx)tst-cet-property-2.out): Likewise.
7464 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7465 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7466 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7467 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7468 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7470 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7473 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7475 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7477 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7478 __sbrk): Do not set attribute_hidden.
7479 * sysdeps/mach/hurd/not-errno.h: New file.
7480 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7481 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7483 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7485 * po/uk.po: Update translations.
7486 * po/cs.po: Likewise.
7487 * po/pl.po: Likewise.
7489 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7491 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7492 parse beyond the note end.
7494 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7496 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7497 kernel does not support OFD locks.
7498 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7500 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7502 * sysdeps/mach/hurd/Versions (libc): Make __access and
7503 __access_noerrno external so they can override the ld symbols.
7504 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7505 __writev, __open64, __access_noerrno extern so they can be overrided.
7506 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7507 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7509 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7511 * po/libc.pot: Regenerate.
7513 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7515 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7517 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7520 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7522 (init_cpu_features): Call get_extended_indices for both Intel
7524 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7525 Remove "for AMD" comment.
7527 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7530 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7531 COMMON_CPUID_INDEX_80000001.
7533 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7535 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7536 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7538 2018-07-26 Florian Weimer <fweimer@redhat.com>
7540 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7541 aliases for symbols not in the implementation namespace.
7543 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7546 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7547 lowercase in LATIN script.
7548 * localedata/Makefile (test-input): Add en_US.UTF-8.
7549 * localedata/en_US.UTF-8.in: New file.
7550 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7551 and restore old tests.
7552 * posix/tst-regexloc.c (do_test): Add back range expression test.
7554 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7556 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7558 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7560 * nptl/threads.h: Move to ...
7561 * sysdeps/nptl/threads.h: ... here.
7562 * sysdeps/hurd/stdc-predef.h: New file.
7564 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7566 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7567 tst-cet-setcontext-1 if CET is enabled.
7568 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7569 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7571 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7573 * include/threads.h: Move to ...
7574 * sysdeps/nptl/threads.h: ... here.
7575 * sysdeps/htl/threads.h: New file.
7576 * conform/Makefile (linknamespace-libs-ISO11): Use
7577 static-thread-library instead of linking libpthread.
7578 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7580 2018-07-25 Florian Weimer <fweimer@redhat.com>
7582 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7583 nanoseconds into seconds.
7584 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7585 (do_test): Likewise.
7586 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7587 (do_test): Likewise. Avoid nanosecond overflow and spurious
7588 timeouts due to system load.
7589 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7590 (child_wait): Increment it.
7591 (do_test): Wait as long as necessary until all expected threads
7594 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7595 H.J. Lu <hongjiu.lu@intel.com>
7597 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7599 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7600 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7601 (__push___start_context): New.
7602 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7604 (__getcontext): Record the current shadow stack base. Save the
7605 caller's shadow stack pointer and base.
7606 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7607 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7608 (__push___start_context): New prototype.
7609 (__makecontext): Call __push___start_context to allocate a new
7610 shadow stack, push __start_context onto the new stack as well
7611 as the new shadow stack.
7612 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7614 (__setcontext): Restore the target shadow stack.
7615 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7617 (__swapcontext): Record the current shadow stack base. Save
7618 the caller's shadow stack pointer and base. Restore the target
7620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7621 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7622 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7624 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7626 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7627 tst-setcontext8 and tst-setcontext9.
7628 * stdlib/tst-setcontext6.c: New file.
7629 * stdlib/tst-setcontext7.c: Likewise.
7630 * stdlib/tst-setcontext8.c: Likewise.
7631 * stdlib/tst-setcontext9.c: Likewise.
7633 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7635 * stdlib/Makefile ((tests): Add tst-setcontext5.
7636 * stdlib/tst-setcontext5.c: New file.
7638 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7640 * stdlib/Makefile (tests): Add tst-setcontext4.
7641 * stdlib/tst-setcontext4.c: New file.
7643 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7645 * stdlib/Makefile (tests): Add tst-swapcontext1.
7646 * stdlib/tst-swapcontext1.c: New test.
7648 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7650 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7651 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7652 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7653 and tst-cet-legacy-4c.
7654 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7655 and tst-cet-legacy-mod-4.
7656 (CFLAGS-tst-cet-legacy-2.c): New.
7657 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7658 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7659 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7660 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7661 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7662 ($(objpfx)tst-cet-legacy-1): Likewise.
7663 ($(objpfx)tst-cet-legacy-2): Likewise.
7664 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7665 ($(objpfx)tst-cet-legacy-2a): Likewise.
7666 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7667 ($(objpfx)tst-cet-legacy-4): Likewise.
7668 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7669 ($(objpfx)tst-cet-legacy-4a): Likewise.
7670 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7671 (tst-cet-legacy-4a-ENV): Likewise.
7672 ($(objpfx)tst-cet-legacy-4b): Likewise.
7673 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7674 (tst-cet-legacy-4b-ENV): Likewise.
7675 ($(objpfx)tst-cet-legacy-4c): Likewise.
7676 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7677 (tst-cet-legacy-4c-ENV): Likewise.
7678 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7679 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7680 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7681 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7682 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7683 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7684 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7685 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7686 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7687 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7688 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7690 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7692 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7693 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7695 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7696 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7699 2018-07-25 Andreas Schwab <schwab@suse.de>
7702 * locale/weightwc.h (findidx): Handle the case where usrc is a
7703 prefix of cp but one character too short.
7705 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7707 * NEWS: Add ISO C threads addition.
7709 2018-07-24 Florian Weimer <fweimer@redhat.com>
7711 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7712 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7713 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7716 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7718 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7719 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7720 <sys/prctl.h> and <asm/prctl.h>.
7721 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7722 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7724 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7725 ARCH_CET_LEGACY_BITMAP.
7726 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7727 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7728 * sysdeps/x86/libc-start.c: Include <startup.h>.
7730 2018-07-24 Florian Weimer <fweimer@redhat.com>
7732 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7733 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7735 2018-07-24 Rical Jasan <rj@2c3t.io>
7736 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7737 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7740 * manual/debug.texi: Update adjacent chapter name.
7741 * manual/probes.texi: Likewise.
7742 * manual/threads.texi (ISO C Threads): New section.
7743 (POSIX Threads): Convert to a section.
7745 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7746 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7749 * nptl/Makefile (tests): Add new test files.
7750 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7751 * nptl/tst-cnd-basic.c: Likewise.
7752 * nptl/tst-cnd-broadcast.c: Likewise.
7753 * nptl/tst-cnd-timedwait.c: Likewise.
7754 * nptl/tst-mtx-basic.c: Likewise.
7755 * nptl/tst-mtx-recursive.c: Likewise.
7756 * nptl/tst-mtx-timedlock.c: Likewise.
7757 * nptl/tst-mtx-trylock.c: Likewise.
7758 * nptl/tst-thrd-basic.c: Likewise.
7759 * nptl/tst-thrd-detach.c: Likewise.
7760 * nptl/tst-thrd-sleep.c: Likewise.
7761 * nptl/tst-tss-basic.c: Likewise.
7763 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7766 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7767 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7769 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7770 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7771 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7772 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7773 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7774 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7775 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7776 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7777 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7778 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7779 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7780 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7788 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7789 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7790 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7791 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7792 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7793 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7794 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7795 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7796 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7797 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7798 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7799 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7800 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7802 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7803 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7804 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7805 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7806 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7807 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7808 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7809 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7810 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7811 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7812 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7813 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7820 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7821 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7822 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7823 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7825 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7826 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7827 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7830 * conform/data/threads.h-data (thread_local): New macro.
7831 (TSS_DTOR_ITERATIONS): Likewise.
7833 (tss_dtor_t): Likewise.
7834 (tss_create): New function.
7835 (tss_get): Likewise.
7836 (tss_set): Likewise.
7837 (tss_delete): Likewise.
7838 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7839 tss_get, and tss_set objects.
7840 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7841 * nptl/tss_create.c: New file.
7842 * nptl/tss_delete.c: Likewise.
7843 * nptl/tss_get.c: Likewise.
7844 * nptl/tss_set.c: Likewise.
7845 * sysdeps/nptl/threads.h (thread_local): New define.
7846 (TSS_DTOR_ITERATIONS): Likewise.
7847 (tss_t): New typedef.
7848 (tss_dtor_t): Likewise.
7849 (tss_create): New prototype.
7850 (tss_get): Likewise.
7851 (tss_set): Likewise.
7852 (tss_delete): Likewise.
7855 * conform/data/threads.h-data (cnd_t): New type.
7856 (cnd_init): New function.
7857 (cnd_signal): Likewise.
7858 (cnd_broadcast): Likewise.
7859 (cnd_wait): Likewise.
7860 (cnd_timedwait): Likewise.
7861 (cnd_destroy): Likewise.
7862 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7863 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7865 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7866 * nptl/cnd_broadcast.c: New file.
7867 * nptl/cnd_destroy.c: Likewise.
7868 * nptl/cnd_init.c: Likewise.
7869 * nptl/cnd_signal.c: Likewise.
7870 * nptl/cnd_timedwait.c: Likewise.
7871 * nptl/cnd_wait.c: Likewise.
7872 * sysdeps/nptl/threads.h (cnd_t): New type.
7873 (cnd_init): New prototype.
7874 (cnd_signa): Likewise.
7875 (cnd_broadcast): Likewise.
7876 (cnd_wait): Likewise.
7877 (cnd_timedwait): Likewise.
7878 (cnd_destroy): Likewise.
7881 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7882 (once_flag): New type.
7883 (call_once): New function.
7884 * nptl/Makefile (libpthread-routines): Add call_once object.
7885 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7886 * nptl/call_once.c: New file.
7887 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
7888 (once_flag): New type.
7889 (call_once): New prototype.
7892 * conform/data/threads.h-data (mtx_plain): New constant.
7893 (mtx_recursive): Likewise.
7894 (mtx_timed): Likewise.
7896 (mtx_init): New function.
7897 (mtx_lock): Likewise.
7898 (mtx_timedlock): Likewise.
7899 (mtx_trylock): Likewise.
7900 (mtx_unlock): Likewise.
7901 (mtx_destroy): Likewise.
7902 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
7903 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
7904 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
7905 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
7906 * nptl/mtx_destroy.c: New file.
7907 * nptl/mtx_init.c: Likewise.
7908 * nptl/mtx_lock.c: Likewise.
7909 * nptl/mtx_timedlock.c: Likewise.
7910 * nptl/mtx_trylock.c: Likewise.
7911 * nptl/mtx_unlock.c: Likewise.
7912 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
7913 (mtx_recursive): Likewise.
7914 (mtx_timed): Likewise.
7916 (mtx_init): New prototype.
7917 (mtx_lock): Likewise.
7918 (mtx_timedlock): Likewise.
7919 (mtx_trylock): Likewise.
7920 (mtx_unlock): Likewise.
7921 (mtx_destroy): Likewise.
7924 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
7925 (linknamespace-libs-ISO11): Add libpthread.a.
7926 * conform/data/threads.h-data: New file: add C11 thrd_* types and
7928 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
7929 * nptl/Makefile (headers): Add threads.h.
7930 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
7931 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
7933 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
7934 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
7935 thrd_join, thrd_sleep, and thrd_yield symbols.
7936 * nptl/descr.h (struct pthread): Add c11 field.
7937 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
7938 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
7939 routine with expected function prototype.
7940 (__pthread_create_2_1): Add C11 threads check based on attribute
7942 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
7943 * nptl/thrd_create.c: New file.
7944 * nptl/thrd_current.c: Likewise.
7945 * nptl/thrd_detach.c: Likewise.
7946 * nptl/thrd_equal.c: Likewise.
7947 * nptl/thrd_exit.c: Likewise.
7948 * nptl/thrd_join.c: Likewise.
7949 * nptl/thrd_priv.h: Likewise.
7950 * nptl/thrd_sleep.c: Likewise.
7951 * nptl/thrd_yield.c: Likewise.
7952 * include/threads.h: Likewise.
7954 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7956 * bits/indirect-return.h: New file.
7957 * misc/sys/cdefs.h (__glibc_has_attribute): New.
7958 * sysdeps/x86/bits/indirect-return.h: Likewise.
7959 * stdlib/Makefile (headers): Add bits/indirect-return.h.
7960 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
7961 (swapcontext): Add __INDIRECT_RETURN.
7962 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
7963 (prepare_test_buffer): Use it.
7965 2018-07-24 Andreas Schwab <schwab@suse.de>
7968 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
7969 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
7971 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7973 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
7974 Redefine if shadow stack is enabled.
7975 (SYSCALL_ERROR_LABEL): Likewise.
7976 (__vfork): Pop shadow stack and jump back to to caller directly
7977 when shadow stack is in use.
7978 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
7979 Redefine if shadow stack is enabled.
7980 (SYSCALL_ERROR_LABEL): Likewise.
7981 (__vfork): Pop shadow stack and jump back to to caller directly
7982 when shadow stack is in use.
7984 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7986 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
7989 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
7992 2018-07-20 Joseph Myers <joseph@codesourcery.com>
7994 * scripts/build-many-glibcs.py (Context.checkout): Default
7995 binutils version to 2.31 branch.
7997 2018-07-20 Zong Li <zong@andestech.com>
7999 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8000 URL of gcc's tarball.
8002 2018-07-20 Florian Weimer <fweimer@redhat.com>
8005 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8006 not compare an extra byte after the end of the weights.
8008 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8010 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8012 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8014 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8015 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8016 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8017 list of libraries whose stack executability is expected.
8018 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8019 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8021 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8022 libc.so libpthread.so.
8024 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8026 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8028 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8030 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8032 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8034 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8036 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8037 library to improve command line parsing.
8038 (__main__): make schema file as optional parameter (--schema),
8039 defaulting to benchtests/scripts/benchout.schema.json.
8040 (main): move out of the parsing stuff to __main_ and leave it
8041 only as caller of main comparison functions.
8043 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8045 * NEWS: Add a note for Intel CET status.
8046 * manual/install.texi: Likewise.
8047 * INSTALL: Regenerated.
8049 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8052 * localedata/locales/oc_FR (mon): Rename to...
8053 (alt_mon): This, then update October (typo fix).
8054 (mon): New content (genitive case, month names preceded by
8058 * localedata/locales/oc_FR (abday): Update all items.
8059 (day): Update Wednesday and Saturday (typo fixes).
8060 (abmon): Update all items, except May.
8061 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8062 (LC_IDENTIFICATION): Bump the revision number and date.
8063 Keep the "category" entries in alphabetic order.
8064 (LC_ADDRESS): Remove no longer needed comment.
8065 (LC_COLLATE): Use “copy "ca_ES"”.
8066 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8069 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8071 * grp/tst_fgetgrent.c: Include <unistd.h>.
8072 (main): Use mkstemp instead of tmpnam.
8073 * io/test-utime.c (main): Likewise.
8074 * posix/annexc.c (macrofile): Change to modifiable array.
8075 (main): Remove macrofile here.
8076 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8078 (check_header): Do not remove macrofile here.
8079 * posix/bug-getopt1.c: Include <stdlib.h>.
8080 (do_test): Use mkstemp instead of tmpnam.
8081 * posix/bug-getopt2.c: Include <stdlib.h>.
8082 (do_test): Use mkstemp instead of tmpnam.
8083 * posix/bug-getopt3.c: Include <stdlib.h>.
8084 (do_test): Use mkstemp instead of tmpnam.
8085 * posix/bug-getopt4.c: Include <stdlib.h>.
8086 (do_test): Use mkstemp instead of tmpnam.
8087 * posix/bug-getopt5.c: Include <stdlib.h>.
8088 (do_test): Use mkstemp instead of tmpnam.
8089 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8090 (main): Use mkstemp instead of tmpnam.
8091 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8092 (main): Use mkstemp instead of tmpnam.
8093 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8094 (main): use mkstemp instead of tmpnam.
8095 * stdlib/isomac.c (macrofile): Change to modifiable array.
8096 (main): Remove macrofile here.
8097 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8099 (check_header): Do not remove macrofile here.
8101 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8103 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8104 glibc.tune.x86_shstk.
8106 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8108 * NEWS: Mention --enable-cet.
8109 * manual/install.texi: Document --enable-cet.
8110 * INSTALL: Regenerated.
8112 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8114 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8115 Add _CET_NOTRACK before indirect jump to jump table.
8117 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8119 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8120 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8123 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8125 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8126 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8129 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8131 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8132 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8135 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8137 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8138 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8141 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8143 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8144 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8146 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8148 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8150 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8151 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8154 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8156 * sysdeps/i386/i686/multiarch/memset-sse2.S
8157 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8160 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8162 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8163 indirect jump to jump table.
8165 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8167 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8168 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8172 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8174 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8175 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8179 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8181 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8182 _CET_NOTRACK before indirect jump to jump table.
8184 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8186 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8187 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8190 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8192 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8193 indirect jump to jump table.
8195 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8198 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8199 (LOCALES): Likewise.
8200 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8201 * localedata/locales/sah_RU: New file.
8202 * localedata/sah_RU.UTF-8.in: New file.
8204 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8206 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8208 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8209 _CET_ENDBR to indirect jump targets and adjust jump destination
8211 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8213 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8214 _CET_ENDBR to indirect jump targets and adjust jump destination
8216 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8218 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8219 _CET_ENDBR to indirect jump targets and adjust jump destination
8222 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8224 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8227 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8229 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8231 (_dl_tlsdesc_undefweak): Likewise.
8232 (_dl_tlsdesc_dynamic): Likewise.
8233 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8234 (_dl_tlsdesc_resolve_rel): Likewise.
8235 (_dl_tlsdesc_resolve_rela): Likewise.
8236 (_dl_tlsdesc_resolve_hold): Likewise.
8237 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8238 (_dl_tlsdesc_undefweak): Likewise.
8239 (_dl_tlsdesc_dynamic): Likewise.
8240 (_dl_tlsdesc_resolve_rela): Likewise.
8241 (_dl_tlsdesc_resolve_hold): Likewise.
8243 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8245 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8247 * sysdeps/x86_64/crti.S (_init): Likewise.
8250 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8253 * localedata/locales/os_RU (mon): Rename to...
8255 (mon): Import from CLDR (genitive case).
8257 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8259 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8260 cet-tunables.h> when CET is enabled.
8262 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8265 * configure.ac: Add --enable-cet.
8266 * configure: Regenerated.
8267 * elf/Makefille (all-built-dso): Add a comment.
8268 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8269 Include <dl-prop.h>.
8270 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8272 * elf/dl-open.c: Include <dl-prop.h>.
8273 (dl_open_worker): Call _dl_open_check.
8274 * elf/rtld.c: Include <dl-prop.h>.
8275 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8277 * sysdeps/generic/dl-prop.h: New file.
8278 * sysdeps/i386/dl-cet.c: Likewise.
8279 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8280 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8281 * sysdeps/x86/cet-tunables.h: Likewise.
8282 * sysdeps/x86/check-cet.awk: Likewise.
8283 * sysdeps/x86/configure: Likewise.
8284 * sysdeps/x86/configure.ac: Likewise.
8285 * sysdeps/x86/dl-cet.c: Likewise.
8286 * sysdeps/x86/dl-procruntime.c: Likewise.
8287 * sysdeps/x86/dl-prop.h: Likewise.
8288 * sysdeps/x86/libc-start.h: Likewise.
8289 * sysdeps/x86/link_map.h: Likewise.
8290 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8292 (_dl_runtime_profile): Likewise.
8293 (_dl_runtime_resolve_shstk): New.
8294 (_dl_runtime_profile_shstk): Likewise.
8295 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8297 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8298 (CFLAGS-.os): Likewise.
8299 (CFLAGS-.op): Likewise.
8300 (CFLAGS-.oS): Likewise.
8301 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8303 (tests-special): Add $(objpfx)check-cet.out.
8304 (cet-built-dso): New.
8305 (+$(cet-built-dso:=.note)): Likewise.
8306 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8307 ($(objpfx)check-cet.out): New.
8308 (generated): Add check-cet.out.
8309 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8311 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8312 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8313 (init_cpu_features): Call get_cet_status to check CET status
8314 and update dl_x86_feature_1 with CET status. Call
8315 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8316 (set_x86_shstk). Disable and lock CET in libc.a.
8317 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8318 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8319 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8320 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8321 (_CET_ENDBR): Define if not defined.
8322 (ENTRY): Add _CET_ENDBR.
8323 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8325 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8327 (_dl_runtime_profile): Likewise.
8329 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8332 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8333 restore r2 on longjmp.
8334 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8336 Added rules to build test tst-setjmp-bug21895-static.
8337 Added module setjmp-bug21895 and rules to build a shared object from it.
8338 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8339 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8341 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8343 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8344 * benchtests/bench-strstr.c: Likewise.
8345 * string/memmem.c (FASTSEARCH): Define.
8346 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8347 Add support for FASTSEARCH.
8348 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8349 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8350 (FASTSEARCH): Define.
8351 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8352 * string/test-strstr.c: Likewise.
8354 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8356 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8357 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8359 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8360 H.J. Lu <hongjiu.lu@intel.com>
8362 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8363 (__longjmp): Restore shadow stack pointer if shadow stack is
8364 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8365 isn't defined for __longjmp_cancel.
8366 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8367 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8368 and SHADOW_STACK_POINTER_OFFSET is defined.
8369 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8370 (setjmp): Save shadow stack pointer if shadow stack is enabled
8371 and SHADOW_STACK_POINTER_OFFSET is defined.
8372 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8373 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8374 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8375 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8377 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8378 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8379 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8380 Remove jmp_buf-ssp.sym.
8381 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8383 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8384 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8385 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8387 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8388 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8389 (__longjmp): Restore shadow stack pointer if shadow stack is
8390 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8391 isn't defined for __longjmp_cancel.
8392 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8393 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8394 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8396 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8399 * nptl/pthread_create.c: Include <tls-setup.h>.
8400 (__pthread_create_2_1): Call tls_setup_tcbhead.
8401 * sysdeps/generic/tls-setup.h: New file.
8402 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8403 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8404 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8406 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8408 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8409 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8410 (X86_FEATURE_1_SHSTK): Likewise.
8411 (CET_ENABLED): Likewise.
8412 (IBT_ENABLED): Likewise.
8413 (SHSTK_ENABLED): Likewise.
8415 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8418 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8419 (LOCALES): Likewise.
8420 * localedata/dsb_DE.UTF-8.in: New file.
8421 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8423 2018-07-12 Florian Weimer <fweimer@redhat.com>
8425 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8426 __mprotect, not mprotect.
8428 2018-07-11 Florian Weimer <fweimer@redhat.com>
8430 * io/Makefile (headers): Add bits/statx.h.
8432 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8434 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8435 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8437 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8438 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8441 2018-07-10 Florian Weimer <fweimer@redhat.com>
8443 * io/Makefile (routines): Add statx.
8444 (tests-internal): Add tst-statx.
8445 * io/Versions (GLIBC_2.28): Export statx.
8446 * io/bits/statx.h: New file.
8447 * io/sys/stat.h [__USE_GNU]: Include it.
8448 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8449 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8451 * io/statx.c: New file.
8452 * io/statx_generic.: Likewise.
8453 * io/tst-statx.: Likewise.
8454 * include/bits/statx.h: Likewise.
8455 * sysdeps/unix/sysv/linux/kernel-features.h
8456 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8457 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8458 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8459 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8461 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8462 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8463 * sysdeps/unix/sysv/linux/statx.c: New file.
8464 * manual/filesys.texi: Note that statx is undocumented.
8465 * sysdeps/**/libc*.abilist: Update.
8467 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8469 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8470 a kernel issue which lead to test failure in some cases.
8472 2018-07-10 Florian Weimer <fweimer@redhat.com>
8475 * posix/regexec.c (check_node_accept_bytes): When comparing
8476 weights, do not compare an extra byte after the end of the
8479 2018-07-10 Florian Weimer <fweimer@redhat.com>
8481 * libio/readline.c: Fix copyright year.
8482 * libio/tst-readline.c Likewise.
8483 * nss/tst-nss-files-hosts-getent.c: Likewise.
8485 2018-07-06 Florian Weimer <fweimer@redhat.com>
8488 * nss/nss_files/files-XXX.c (internal_getent): Use
8489 __libc_readline_unlocked. Seek back to the start of the line if
8490 parsing failes with ERANGE.
8491 (get_contents_ret, get_contents): Remove.
8492 * nss/tst-nss-files-hosts-getent.c: New file.
8493 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8494 (tst-nss-files-hosts-getent): Link with -ldl.
8496 2018-07-06 Florian Weimer <fweimer@redhat.com>
8498 * include/stdio.h (__libc_readline_unlocked): Declare.
8499 (__ftello64, __fseeko64): Declare aliases.
8500 * libio/readline.c: New file.
8501 * libio/tst-readline.c: Likewise.
8502 (routines): Add readline.
8503 (tests-internal): Add tst-readlime.
8504 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8505 __libc_readline_unlocked.
8506 * libio/fseeko.c (__fseeko): Rename from fseeko.
8507 (fseeko): Add alias.
8508 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8509 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8510 (fseeko64): Add alias.
8511 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8512 * libio/ftello64.c (__ftello64): Rename from ftello64.
8513 (ftello64): Add alias.
8515 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8517 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8520 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8522 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8523 Use dl_hwcap without masking.
8524 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8527 2018-07-06 Florian Weimer <fweimer@redhat.com>
8529 * conform/conformtest.pl (checknamespace): Escape literal braces
8530 in regular expressions.
8532 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8534 * sysdeps/x86/cpu-features.c (get_common_indeces):
8535 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8536 * sysdeps/x86/cpu-features.c (init_cpu_features):
8537 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8539 2018-07-05 Florian Weimer <fweimer@redhat.com>
8541 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8543 (CFLAGS-elf-init.oS): Likewise.
8545 2018-07-05 Florian Weimer <fweimer@redhat.com>
8546 Carlos O'Donell <carlos@redhat.com>
8548 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8549 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8550 with stack protector enabled because there is no risk of infinite
8553 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8557 * libc-abis (ABSOLUTE): New ABI.
8558 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8559 * NEWS: Mention the new ABI.
8561 2018-07-05 Florian Weimer <fweimer@redhat.com>
8564 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8565 (RENAME_WHITEOUT): Define.
8566 [__USE_GNU] (renameat2): Declare.
8567 * stdio-common/Makefile (routines): Add renameat2.
8568 (tests): Add tst-renameat2.
8569 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8570 * stdio-common/renameat2.c: New file.
8571 * stdio-common/tst-renameat2.c: Likewise.
8572 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8573 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8575 * sysdeps/unix/sysv/linux/kernel-features.h
8576 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8577 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8578 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8579 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8580 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8581 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8582 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8583 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8584 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8585 * include/stdio.h (__renameat): Add alias for renameat.
8586 * stdio-common/renameat.c (__renameat): Rename from renameat.
8587 Add hidden definition and alias.
8588 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8589 * sysdeps/mach/hurd/renameat.c: Likewise.
8590 * sysdeps/**/libc*.abilist: Add renameat2.
8592 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8594 * posix/bug-regex33.c: Fix build after regex sync.
8596 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8599 * localedata/tst-langinfo-setlocale.c: New file.
8600 * localedata/tst-langinfo-setlocale-static.c: New file.
8601 * localedata/tst-langinfo-newlocale.c: New file.
8602 * localedata/tst-langinfo-newlocale-static.c: New file.
8603 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8604 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8605 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8606 (tests-static): Remove tst-langinfo-static. Add
8607 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8608 (tests-special): Remove $(objpfx)tst-langinfo.out,
8609 $(objpfx)tst-langinfo-static.out. Add
8610 $(objpfx)tst-langinfo-setlocale.out,
8611 $(objpfx)tst-langinfo-newlocale.out,
8612 $(objpfx)tst-langinfo-setlocale-static.out,
8613 $(objpfx)tst-langinfo-newlocale-static.out.
8614 ($(objpfx)tst-langinfo.out): Remove.
8615 ($(objpfx)tst-langinfo-static.out): Remove.
8616 ($(objpfx)tst-langinfo-newlocale.out): New target.
8617 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8618 (test-xfail-tst-langinfo-newlocale-static): Add.
8619 ($(objpfx)tst-langinfo-setlocale.out): New target.
8620 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8621 * localedata/tst-langinfo.c: Call test_locale.
8622 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8625 2018-07-04 Florian Weimer <fweimer@redhat.com>
8627 testrun.sh: Implement --tool=strace, --tool=valgrind
8628 * Makefile (testrun-script): Define variable.
8629 (testrun.sh): Use variable.
8630 * manual/install.texi (Tools for Compilation): make 4.0 or later
8632 * configure.ac: Check for make 4.0 or later.
8633 * INSTALL: Regenerate.
8634 * configure: Likewise.
8636 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8642 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8643 * posix/PCRE.tests: Remove invalid test.
8644 * posix/bug-regex28.c: Fix expected values for used syntax.
8645 * posix/bug-regex37.c: New file.
8646 * posix/bug-regex38.c: Likewise.
8647 * posix/regcomp.c: Sync with gnulib.
8648 * posix/regex.c: Likewise.
8649 * posix/regex.h: Likewise.
8650 * posix/regex_internal.c: Likewise.
8651 * posix/regex_internal.h: Likewise.
8652 * posix/regexec.c: Likewise.
8654 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8657 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8658 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8659 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8660 * localedata/unicode-gen/PropList.txt: likewise.
8661 * localedata/unicode-gen/UnicodeData.txt: likewise.
8662 * localedata/charmaps/UTF-8: Regenerate.
8663 * localedata/locales/i18n_ctype: likewise.
8664 * localedata/locales/tr_TR: likewise.
8665 * localedata/locales/translit_circle: likewise.
8666 * localedata/locales/translit_cjk_compat: likewise.
8667 * localedata/locales/translit_combining: likewise.
8668 * localedata/locales/translit_compat: likewise.
8669 * localedata/locales/translit_font: likewise.
8670 * localedata/locales/translit_fraction: likewise.
8672 2018-07-03 Florian Weimer <fweimer@redhat.com>
8675 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8676 * stdio-common/tst-printf.sh: Adjust expected output.
8679 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8681 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8684 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8686 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8687 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8688 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8689 * stdio-common/tst-printfsz-islongdouble.c: New file.
8690 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8692 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8693 [subdir == stdio-common] (tests-internal): Add
8694 test-printf-size-ieee128, and test-printf-size-ibm128.
8695 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8696 (CFLAGS-test-printf-size-ibm128.c): New variables.
8697 [subdir == stdio-common] (tests-special): Add
8698 $(objpfx)test-printf-size-ieee128.out and
8699 $(objpfx)test-printf-size-ibm128.out.
8700 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8701 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8702 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8703 __printf_sizeieee128.
8704 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8706 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8708 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8711 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8713 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8714 (exp2f_inline): Likewise.
8715 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8716 (__math_uflowf): Likewise.
8717 (__math_may_uflowf): Likewise.
8718 (__math_divzerof): Likewise.
8719 (__math_invalidf): Likewise.
8720 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8721 (__math_oflowf): Likewise.
8722 (__math_uflowf): Likewise.
8723 (__math_may_uflowf): Likewise.
8724 (__math_divzerof): Likewise.
8725 (__math_invalidf): Likewise.
8727 2018-06-29 DJ Delorie <dj@redhat.com>
8728 Carlos O'Donell <carlos@redhat.com>
8731 * include/libc-symbols.h: Comment the freeres framework.
8732 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8733 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8734 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8735 * dlfcn/dlerror.c: Include libc-symbols.h
8736 (__dlerror_main_freeres): New function.
8737 * dlfcn/dlfreeres.c: New file.
8738 * dlfcn/sdlfreeres.c: New file.
8739 * include/dlfcn.h: Declare __dlerror_main_freeres.
8740 * malloc/set-freeres.c: Declare __libdl_freeres, and
8741 __libpthread_freeres.
8742 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8743 the releavant libraries are loaded.
8744 * malloc/thread-freeres.c: Add comments.
8745 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8746 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8747 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8748 (__free_stacks): Rename to...
8749 (free_stacks): ...this. Mark static.
8750 (queue_stack): Call free_stacks.
8751 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8752 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8753 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8754 ptr_freeres element from struct.
8755 (pthread_functions): Remove .ptr_freeres from struct initializer.
8756 [SHARED] (nptl_freeres): Remove.
8757 * nptl/nptlfreeres.c: New file.
8759 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8760 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8762 (__free_stacks): Rename to...
8763 (__nptl_stacks_freeres): ...this.
8764 (__shm_directory_freeres): Declare.
8765 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8766 (__nptl_unwind_freeres): ...this.
8767 * resolv/res-close.c: Add comment.
8768 * resolv/resolv_conf.c: Include libc-symbols.h.
8769 * string/strerror_l.c: Include libc-symbols.h.
8770 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8771 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8772 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8773 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8775 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8777 * stdlib/tst-strfmon_l.c: Add tests for long double.
8779 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8782 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8783 * localedata/locales/dsb_DE: New file.
8785 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8788 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8790 (alt_mon): New entry, import from CLDR (nominative case).
8792 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8795 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8797 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8799 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8800 Use vector registers.
8802 * sysdeps/aarch64/multiarch/memmove_falkor.S
8803 (__memcpy_falkor): Use vector registers.
8805 2018-06-29 Martin Sebor <msebor@redhat.com>
8807 * manual/stdio.texi (Customizing Printf): Mention interaction
8810 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8813 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8814 `st_value' is 0 if `st_shndx' is SHN_ABS.
8815 * elf/tst-absolute-zero.c: New file.
8816 * elf/tst-absolute-zero-lib.c: New file.
8817 * elf/tst-absolute-zero-lib.lds: New file.
8818 * elf/Makefile (tests): Add `tst-absolute-zero'.
8819 (modules-names): Add `tst-absolute-zero-lib'.
8820 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8821 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8822 ($(objpfx)tst-absolute-zero: New dependency.
8824 2018-06-29 Zack Weinberg <zackw@panix.com>
8826 * configure.ac: New command-line option --disable-crypt.
8827 Force --disable-nss-crypt when --disable-crypt is given, with a
8828 warning if it was explicitly enabled.
8829 * configure: Regenerate.
8830 * config.make.in: New boolean substitution variable $(build-crypt).
8831 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8832 when $(build-crypt).
8833 * manual/install.texi: Document --disable-crypt.
8834 * INSTALL: Regenerate.
8836 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8838 * conform/Makefile: Only include libcrypt.a in
8839 linknamespace-libs-xsi and linknamespace-libs-XPG4
8840 when $(build-crypt).
8841 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8842 USE_CRYPT to 1 when $(build-crypt).
8843 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8844 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8845 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8847 2018-06-29 Zack Weinberg <zackw@panix.com>
8849 * crypt/crypt.h, posix/unistd.h: Update comments and
8850 prototypes for crypt and crypt_r.
8852 * manual/crypt.texi (Cryptographic Functions): New initial
8854 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8855 (Unpredictable Bytes): Improve initial exposition. Clarify error
8856 behavior of getentropy and getrandom.
8857 * manual/examples/genpass.c: Generate a salt using getentropy
8858 instead of the current time. Use hash $5$ (SHA-2-256).
8859 * manual/examples/testpass.c: Demonstrate validation against
8860 hashes generated with three different one-way functions.
8862 * manual/intro.texi: crypt.texi does not need an overview
8865 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8866 * manual/terminal.texi: Consistently refer to "passphrases"
8867 * instead of "passwords", and to the "user database" instead
8868 * of the "password database".
8869 * manual/users.texi: Similarly. Add notes about how actual
8870 passphrase hashes are now stored in the shadow database.
8871 Remove 20-year-old junk todo note.
8873 2018-06-29 Zack Weinberg <zackw@panix.com>
8875 * manual/crypt.texi: Use a normal top-level @node declaration.
8876 Move most of the introductory text to the 'crypt' section.
8877 Move the example programs below the @deftypefun for 'crypt_r'.
8878 Move the 'getpass' section...
8879 * manual/terminal.texi: ...here.
8881 2018-06-29 Zack Weinberg <zackw@panix.com>
8882 Florian Weimer <fweimer@redhat.com>
8884 * posix/unistd.h: Do not declare encrypt.
8885 (_XOPEN_CRYPT): Remove macro definition.
8886 (crypt): Declare only for _USE_MISC.
8887 * stdlib/stdlib.h: Do not declare setkey.
8888 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
8889 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
8891 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
8892 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
8893 into compat symbols. Don't define initial_perm if it's not
8895 * crypt/cert.c: Link explicitly with the expected versions for
8896 setkey and encrypt. If they are not available at all, mark
8897 the test as unsupported.
8899 * sunrpc/des_crypt.c: Unconditionally block linkage with
8900 cbc_crypt and ecb_crypt for new binaries.
8901 * sunrpc/des_soft.c: Unconditionally block linkage with
8902 des_setparity for new binaries.
8904 * manual/crypt.texi: Remove the entire "DES Encryption"
8905 section. Also remove the paragraph talking about FIPS 140-2
8906 from the introduction.
8907 * manual/string.texi (strfry, memfrob): Revise. Recommend use
8908 of libgcrypt for "real" encryption, not DES.
8909 * manual/conf.texi (Constants for Sysconf): Mention that
8910 _XOPEN_CRYPT is no longer impelemented.
8912 * conform/data/unistd.h-data: Remove crypt function declaration.
8914 2018-06-29 Florian Weimer <fweimer@redhat.com>
8917 * malloc/hooks.c: Update comments on restoring of dumped heaps.
8918 (disallow_malloc_check): Remove variable.
8919 (__malloc_check_init): Adjust.
8920 (malloc_set_state): Update comment.
8921 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
8924 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8927 * localedata/locales/ast_ES (mon): Rename to...
8929 (mon): Import from CLDR (genitive case).
8931 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
8932 Jakub Sitnicki <jkbs@redhat.com>
8935 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
8938 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8940 * manual/llio.texi: Remove spurious space.
8942 2018-06-28 Florian Weimer <fweimer@redhat.com>
8945 * time/bits/types/struct_timespec.h: Change header inclusion guard to
8948 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8950 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
8951 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
8952 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
8953 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
8954 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
8955 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
8956 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
8958 2018-06-27 Maciej W. Rozycki <macro@mips.com>
8961 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
8962 Copy and null-terminate entries that are not terminated, in
8963 addition to empty ones.
8965 2018-06-27 Florian Weimer <fweimer@redhat.com>
8968 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
8969 (extend_alloca_account): Remove.
8970 * manual/stdio.texi (Variable Arguments Output): Update comment.
8972 2018-06-27 Joseph Myers <joseph@codesourcery.com>
8974 * nptl/sockperf.c: Remove file.
8976 2018-06-27 Florian Weimer <fweimer@redhat.com>
8979 * elf/dl-deps.c (_dl_map_object_deps): Use struct
8980 scratch_buffer instead of extend_alloca.
8982 2018-06-27 Florian Weimer <fweimer@redhat.com>
8985 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
8986 scratch_buffer instead of extend_alloca. Update comments.
8988 2018-06-27 Florian Weimer <fweimer@redhat.com>
8991 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
8992 instead of extend_alloca.
8994 2018-06-26 Joseph Myers <joseph@codesourcery.com>
8997 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
8998 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9000 * scripts/test-installation.pl: Put temporary files in build
9001 directory, not /tmp.
9002 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9003 (CFLAGS-bug4.c): Likewise.
9004 (CFLAGS-bug5.c): Likewise.
9005 (CFLAGS-test-fseek.c): Likewise.
9006 (CFLAGS-test-popen.c): Likewise.
9007 (CFLAGS-test_rdwr.c): Likewise.
9008 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9010 * stdio-common/bug4.c (main): Likewise.
9011 * stdio-common/bug5.c (main): Likewise.
9012 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9013 * stdio-common/test-popen.c (do_test): Likewise.
9014 * stdio-common/test_rdwr.c (main): Likewise.
9016 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9018 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9019 (sem_open): Set sem.newsem.pad to zero for valgrind.
9021 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9024 * NEWS: Mention fcntl64 addition.
9025 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9026 * login/utmp_file.c: Likewise.
9027 * sysdeps/posix/fdopendir.c: Likewise.
9028 * sysdeps/posix/opendir.c: Likewise.
9029 * sysdeps/unix/pt-fcntl.c: Likewise.
9030 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9031 __fcntl64_nocancel_adjusted): New prototype.
9032 (__fcntl_nocancel_adjusted): Remove prototype.
9033 * io/Makefile (routines): Add fcntl64.
9034 (CFLAGS-fcntl64.c): New rule.
9035 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9036 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9037 * io/fcntl.h (fcntl64): Add prototype and redirect if
9038 __USE_FILE_OFFSET64 is defined.
9039 * io/fcntl64.c: New file.
9040 * manual/llio.text: Add a note for which commands fcntl acts a
9042 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9043 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9044 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9046 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9047 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9049 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9050 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9051 to __fcntl64_nocancel.
9052 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9053 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9054 to __fcntl64_nocancel.
9055 * sysdeps/generic/not-cancel.h: Likewise.
9056 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9057 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9058 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9059 (fcntl64): New symbol.
9060 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9061 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9062 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9065 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9066 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9067 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9068 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9069 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9070 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9072 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9073 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9074 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9075 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9076 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9077 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9078 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9079 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9080 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9085 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9086 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9087 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9089 2018-06-26 Florian Weimer <fweimer@redhat.com>
9091 Run thread shutdown functions in an explicit order.
9092 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9094 (__libc_thread_freeres): Call thread shutdown functions
9096 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9097 * include/string.h (__strerror_thread_freeres): Declare.
9098 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9099 arena_thread_freeres. No longer static. Remove thread shutdown
9101 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9103 * resolv/res-close.c (__res_thread_freeres): Renamed from
9104 res_thread_freeres. No longer static. Remove thread shutdown
9106 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9107 * resolv/resolv_conf.c (freeres): Remove incorrect section
9108 attribute and use libc_freeres_fn.
9109 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9110 strerror_thread_freeres. No longer static. Remove thread
9111 shutdown hook registration.
9112 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9113 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9114 shutdown hook registration.
9115 * Makerules (shlib.lds): Do not provide section boundary symbols
9116 for __libc_thread_subfreeres.
9117 * manual/memory.texi (Basic Allocation): Update comment.
9119 2018-06-26 Florian Weimer <fweimer@redhat.com>
9121 Remove always-defined _RPC_THREAD_SAFE_ macro.
9122 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9123 Do not define _RPC_THREAD_SAFE_.
9124 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9126 * sunrpc/clnt_perr.c: Likewise.
9127 * sunrpc/clnt_raw.c: Likewise.
9128 * sunrpc/clnt_simp.c: Likewise.
9129 * sunrpc/key_call.c: Likewise.
9130 * sunrpc/rpc_common.c: Likewise.
9131 * sunrpc/rpc_main.c: Likewise.
9132 * sunrpc/rpc_thread.c: Likewise.
9133 * sunrpc/svc.c: Likewise.
9134 * sunrpc/svc_raw.c: Likewise.
9135 * sunrpc/svc_simple.c: Likewise.
9136 * sumrpc/svcauth_des.c: Likewise.
9138 2018-06-26 Florian Weimer <fweimer@redhat.com>
9140 * libio/Makefile (tests-internal): Add tst-vtables,
9141 tst-vtables-interposed.
9142 * libio/tst-vtables.c: New file.
9143 * libio/tst-vtables-common.c: Likewise.
9144 * libio/tst-vtables-interposed.c: Likewise.
9146 2018-06-26 Florian Weimer <fweimer@redhat.com>
9148 * support/support_test_main.c (support_test_main): Only call
9149 setvbuf if not disables.
9150 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9151 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9153 2018-06-26 Florian Weimer <fweimer@redhat.com>
9156 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9158 2018-06-25 Florian Weimer <fweimer@redhat.com>
9161 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9162 Use struct scratch_buffer instead of extend_alloca.
9164 2018-06-25 Florian Weimer <fweimer@redhat.com>
9167 * nss/getent.c (initgroups_keys): Use dynarray instead of
9170 2018-06-25 Florian Weimer <fweimer@redhat.com>
9173 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9174 Use struct scratch_buffer instead of extend_alloca.
9176 2018-06-25 Florian Weimer <fweimer@redhat.com>
9179 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9180 back to malloc directly, without stack allocations.
9182 2018-06-25 Florian Weimer <fweimer@redhat.com>
9185 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9188 2018-06-25 Florian Weimer <fweimer@redhat.com>
9191 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9193 * nscd/hstcache.c (addhstbyX): Likewise.
9194 * nscd/pwdcache.c (addpwbyX): Likewise.
9195 * nscd/servicescache.c (addservbyX): Likewise.
9197 2018-06-25 Florian Weimer <fweimer@redhat.com>
9200 * nscd/connections.c (read_cmdline): New function.
9201 (restart): Use it. Update comment.
9203 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9206 * localedata/locales/csb_PL (mon): Rename to...
9208 (abmon): Rename to...
9210 (mon): Add with proper genitive forms, copy from Wikipedia.
9213 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9216 * localedata/locales/csb_PL (mon): Fix typos:
9217 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9218 (yesstr): Add, value is "jo".
9219 (nostr): Add, value is "nié".
9221 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9223 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9224 all log1p and significand functions on m680x0.
9225 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9226 of s_significand.c..
9227 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9228 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9229 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9230 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9231 s_log1p.c and include it..
9233 2018-06-21 Vincent Chen <vincentc@andestech.com>
9235 * elf/elf.h (R_NDS32_NONE): New define.
9236 (R_NDS32_32_RELA): Likewise.
9237 (R_NDS32_COPY): Likewise.
9238 (R_NDS32_GLOB_DAT): Likewise.
9239 (R_NDS32_JUMP_SLOT): Likewise.
9240 (R_NDS32_RELATIVE): Likewise.
9241 (R_NDS32_TLS_TPOFF): Likewise.
9242 (R_NDS32_TLS_DESC): Likewise.
9244 2018-06-21 Mark Wielaard <mark@klomp.org>
9246 * elf/elf.h (R_BPF_MAP_FD): Removed.
9247 (R_BPF_64_64, R_BPF_64_32): New.
9249 2018-06-21 Florian Weimer <fweimer@redhat.com>
9252 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9253 Renamed from libc_feholdsetround_ctx.
9254 (default_libc_feresetround_ctx): Renamed from
9255 libc_feresetround_ctx.
9256 (default_libc_feholdsetround_noex_ctx): Renamed from
9257 libc_feholdsetround_noex_ctx.
9258 (default_libc_feresetround_noex_ctx): Renamed from
9259 libc_feresetround_noex_ctx.
9260 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9261 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9262 forwardning to the old implementations under the new names.
9263 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9264 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9265 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9266 (libc_feresetround_ctx): Forward to default implements for i386
9267 and MATH_SET_BOTH_ROUNDING_MODES.
9268 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9269 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9271 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9273 * string/tst-cmp.c: Include <libc-diag.h>.
9274 (strncmp_max): Disable -Wstringop-overflow= around call to
9276 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9279 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9280 (main): Disable -Wunused-value around call to strpbrk.
9281 * string/bug-strspn1.c: Include <libc-diag.h>.
9282 (main): Disable -Wunused-value around call to strspn.
9284 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9285 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9287 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9288 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9290 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9292 * math/Makefile (libm-calls): Move s_significandF to...
9293 (gen-libm-calls): ... here.
9294 * math/s_significand_template.c: New file.
9295 * math/s_significand.c: Removed.
9296 * math/s_significandf.c: Removed.
9297 * math/s_significandl.c: Removed.
9298 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9299 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9301 * math/e_exp2_template.c (declare_mgen_finite_alias,
9302 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9303 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9304 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9306 2018-06-20 Florian Weimer <fweimer@redhat.com>
9308 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9310 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9313 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9314 floating-point number to strtod functions rather than possibly
9315 negating result of those functions.
9316 * stdio-common/tst-scanf-round.c: New file.
9317 * stdio-common/Makefile (tests): Add tst-scanf-round.
9318 ($(objpfx)tst-scanf-round): Depend on $(libm).
9320 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9322 * sysdeps/mach/hurd/localplt.data: Move to...
9323 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9324 R_386_GLOB_DAT like on Linux i386.
9326 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9328 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9329 (SHM_STAT_ANY): New macro.
9330 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9331 (SHM_STAT_ANY): Likewise.
9332 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9333 (SHM_STAT_ANY): Likewise.
9334 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9335 (SHM_STAT_ANY): Likewise.
9336 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9337 (SHM_STAT_ANY): Likewise.
9338 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9339 (SHM_STAT_ANY): Likewise.
9340 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9341 (SHM_STAT_ANY): Likewise.
9342 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9343 (SHM_STAT_ANY): Likewise.
9344 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9345 (SHM_STAT_ANY): Likewise.
9346 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9347 (SHM_STAT_ANY): Likewise.
9348 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9349 (SHM_STAT_ANY): Likewise.
9350 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9351 (SHM_STAT_ANY): Likewise.
9353 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9354 (SEM_STAT_ANY): New macro.
9355 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9356 (SEM_STAT_ANY): Likewise.
9357 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9358 (SEM_STAT_ANY): Likewise.
9359 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9360 (SEM_STAT_ANY): Likewise.
9361 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9362 (SEM_STAT_ANY): Likewise.
9363 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9364 (SEM_STAT_ANY): Likewise.
9365 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9366 (SEM_STAT_ANY): Likewise.
9367 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9368 (SEM_STAT_ANY): Likewise.
9369 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9370 (SEM_STAT_ANY): Likewise.
9371 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9372 (SEM_STAT_ANY): Likewise.
9374 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9375 (MSG_STAT_ANY): New macro.
9376 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9377 (MSG_STAT_ANY): Likewise.
9378 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9379 (MSG_STAT_ANY): Likewise.
9380 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9381 (MSG_STAT_ANY): Likewise.
9382 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9383 (MSG_STAT_ANY): Likewise.
9384 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9385 (MSG_STAT_ANY): Likewise.
9386 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9387 (MSG_STAT_ANY): Likewise.
9388 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9389 (MSG_STAT_ANY): Likewise.
9390 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9391 (MSG_STAT_ANY): Likewise.
9392 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9393 (MSG_STAT_ANY): Likewise.
9395 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9396 (MAP_TYPE): Change value to 0x2b.
9398 2018-06-18 Florian Weimer <fweimer@redhat.com>
9401 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9402 socket with SOCK_CLOEXEC.
9404 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9407 * sysdeps/powerpc/powerpc64/le/Makefile
9408 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9409 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9410 (gnulib-tests): Also add $(f128-loader-link) for
9411 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9413 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9415 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9416 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9418 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9419 (sendfile64): New strong alias.
9420 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9421 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9422 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9423 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9425 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9426 ___pthread_get_cleanup_stack.
9427 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9428 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9429 * mach/shortcut.awk: Make syscall stubs include
9430 <mach-shortcuts-hidden.h> and add hidden definition.
9431 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9432 (__mach_msg): Add hidden prototype.
9433 * mach/msg.c: Include <mach.h>.
9434 (__mach_msg): Add hidden definition.
9435 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9436 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9437 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9438 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9439 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9440 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9441 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9442 prototype and definition.
9443 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9444 hidden target for _hurd_self_sigstate.
9446 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9449 * stdlib/tst-strtod-nan-sign-main.c: New file.
9450 * stdlib/tst-strtod-nan-sign.c: Likewise.
9451 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9452 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9453 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9454 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9455 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9457 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9460 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9463 2018-06-14 Florian Weimer <fweimer@redhat.com>
9466 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9467 that the result stays within the ISO-8859-1 range.
9468 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9469 characters are defined in IBM273.
9471 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9473 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9474 __mach_task_self): Remove attribute_hidden.
9476 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9478 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9479 ignore -Wrestrict for one test.
9481 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9482 Szabolcs Nagy <szabolcs.nagy@arm.com>
9484 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9486 2018-06-14 Florian Weimer <fweimer@redhat.com>
9488 * scripts/update-abilist.sh: Accept empty list of files to patch.
9490 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9492 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9493 test-xfail-check-abi-libmachuser): Add.
9494 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9495 __libc_read and __libc_write to __read and __write.
9496 * sysdeps/hurd/include/hurd/port.h: New file.
9497 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9498 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9499 __thread_switch, __evc_wait): Move declarations to...
9500 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9502 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9503 use PLT to call _hurd_self_sigstate.
9505 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9508 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9509 MAX_EXP as overflowing.
9510 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9512 (round_str): Output also whether result overflows in each rounding
9514 * stdlib/tst-strtod-round-data: Add more tests.
9515 * stdlib/tst-strtod-round-data.h: Regenerated.
9516 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9517 (TEST): Handle extra arguments for overflow flags.
9518 (struct test_overflow): New type.
9519 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9520 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9521 (test_in_one_mode): Take argument with overflow information.
9522 (do_test): Update calls to test_in_one_mode.
9524 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9526 * elf/dl-load (_dl_dst_substitute): Correct comment.
9527 (_dl_dst_count): Likewise.
9529 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9530 lll_futex_timed_wait.
9532 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9535 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9537 * math/test-nan-const.c: New file.
9538 * math/Makefile (tests): Add test-nan-const.
9539 (CFLAGS-test-nan-const.c): New variable.
9541 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9543 * benchtests/scripts/compare_strings.py (process_results): Add
9544 funcs argument. Compare only functions which are selected.
9545 (main): Check if base function is among selected functions.
9546 Pass selected functions to process_results.
9547 (__main__): Add -f/--functions argument.
9549 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9550 Hongbo Zhang <hongbo.zhang@linaro.org>
9552 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9553 __memcpy_falkor for phecda core.
9554 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9555 __memmove_falkor for phecda core.
9556 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9557 __memset_falkor for phecda core.
9558 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9560 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9561 macro to identify phecda core.
9563 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9564 Andreas Schwab <schwab@suse.de>
9565 Dmitry V. Levin <ldv@altlinux.org>
9566 Florian Weimer <fweimer@redhat.com>
9573 * elf/dl-dst.h: Remove DL_DST_COUNT.
9574 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9575 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9576 (is_dst): Comment. Support ELF gABI.
9577 (_dl_dst_count): Comment. Simplify and count DSTs.
9578 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9579 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9582 2018-06-12 Zack Weinberg <zackw@panix.com>
9584 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9585 * sysdeps/unix/sysv/linux/dl-sysdep.c
9586 Include not-cancel.h. Use __close_nocancel instead of __close,
9587 __open64_nocancel instead of __open, __read_nocancel instead of
9588 __libc_read, and __write_nocancel instead of __libc_write.
9590 * csu/check_fds.c (check_one_fd)
9591 * sysdeps/posix/fdopendir.c (__fdopendir)
9592 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9593 instead of __fcntl and/or __libc_fcntl.
9595 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9596 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9597 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9598 Use __open64_nocancel instead of __open_nocancel.
9600 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9601 hidden_proto declarations to the end and issue them if either
9602 IS_IN(libc) or IS_IN(rtld).
9603 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9604 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9605 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9606 read_nocancel, waitpid_nocancel, write_nocancel.
9608 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9609 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9610 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9612 * nptl/pt-fcntl.c: New file.
9613 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9614 (libpthread-routines): Add pt-fcntl.
9615 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9616 (__libc_fcntl): Remove attribute_hidden.
9617 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9618 __fcntl_nocancel_adjusted, not fcntl_common.
9619 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9620 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9621 to fcntl_nocancel.c.
9622 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9625 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9627 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9628 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9629 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9630 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9631 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9632 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9633 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9634 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9635 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9636 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9637 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9638 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9639 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9640 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9641 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9642 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9643 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9644 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9645 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9646 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9648 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9649 libpthread-routines.
9650 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9653 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9654 __libc_read, and __write instead of __libc_write. Define
9655 __open64 in addition to __open.
9657 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9661 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9662 to _private_tm[3] and add __glibc_reserved2.
9663 Add _Static_assert of offset of __private_ss == 0x30.
9664 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9665 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9667 2018-06-12 Florian Weimer <fweimer@redhat.com>
9669 x86: Make strncmp usable from rtld.
9670 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9671 __strncmp_ia32 if in libc (and not in rtld).
9672 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9673 strncmp if not in libc (and not to __strncmp_sse2).
9675 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9678 * localedata/locales/gd_GB (mon): Rename to...
9680 (mon): Import from CLDR (genitive case).
9681 * localedata/locales/hsb_DE (mon): Rename to...
9683 (mon): Import from CLDR (genitive case).
9684 * localedata/locales/wa_BE (mon): Rename to...
9686 (mon): Add, fill with the proper genitive forms, but CLDR data
9687 is incomplete; completed according to the comments in this file.
9688 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9690 * localedata/locales/wa_BE (country_name): Reword
9691 "Beljike" -> "Beldjike".
9693 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9696 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9697 cases of non-finite arguments.
9698 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9700 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9703 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9705 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9708 * include/unistd.h (__execvpex): New prototype.
9709 * posix/Makefile (tests): Add tst-spawn4.
9710 (tests-internal): Add tst-spawn4-compat.
9711 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9712 * posix/tst-spawn4-compat.c: New file.
9713 * posix/tst-spawn4.c: Likewise.
9714 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9715 binaries as shell scripts.
9716 * sysdeps/posix/spawni.c (__spawni): Likewise.
9718 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9721 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9722 ($(all-built-dso:=.dynsym): New target.
9723 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9724 ($(objpfx)check-initfini.out): New target.
9725 (generated): Add check-initfini.out.
9726 * scripts/check-initfini.awk: New file.
9727 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9729 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9731 * sysdeps/arm/crti.S (_init): Mark as hidden.
9733 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9735 * sysdeps/i386/crti.S (_init): Mark as hidden.
9737 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9739 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9741 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9743 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9745 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9747 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9749 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9751 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9753 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9755 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9757 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9759 * sysdeps/sh/crti.S (_init): Mark as hidden.
9761 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9763 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9766 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9768 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9769 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9770 and TF redirection to KFtype and KF only when the default
9771 long double type is not the IEEE 128-bit floating point type.
9773 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9775 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9777 (HWCAP_USCAT): Likewise.
9778 (HWCAP_ILRCPC): Likewise.
9779 (HWCAP_FLAGM): Likewise.
9780 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9782 (_dl_aarch64_cap_flags): Add new flag names.
9784 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9785 (MAP_FIXED_NOREPLACE): New macro.
9786 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9787 (MAP_FIXED_NOREPLACE): Likewise.
9788 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9789 (MAP_FIXED_NOREPLACE): Likewise.
9790 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9791 (MAP_FIXED_NOREPLACE): Likewise.
9792 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9793 (MAP_FIXED_NOREPLACE): Likewise.
9794 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9795 (MAP_FIXED_NOREPLACE): Likewise.
9796 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9797 (MAP_FIXED_NOREPLACE): Likewise.
9798 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9799 (MAP_FIXED_NOREPLACE): Likewise.
9800 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9801 (MAP_FIXED_NOREPLACE): Likewise.
9802 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9803 (MAP_FIXED_NOREPLACE): Likewise.
9804 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9805 (MAP_FIXED_NOREPLACE): Likewise.
9806 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9807 (MAP_FIXED_NOREPLACE): Likewise.
9808 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9809 (MAP_FIXED_NOREPLACE): Likewise.
9810 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9811 (MAP_FIXED_NOREPLACE): Likewise.
9812 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9813 (MAP_FIXED_NOREPLACE): Likewise.
9815 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9818 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9820 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9823 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9825 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9827 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9829 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9831 * benchtests/scripts/compare_string.py: (process_results) Catch
9832 exception in non-existent base_func and catch exception in
9833 non-existent attribute.
9834 (parse_file) Catch exception if input file does not exist.
9836 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9838 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9839 options to avoid diff calculation and omit header, respectively.
9840 (main): process --no-diff and --no-header
9842 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9843 H.J. Lu <hongjiu.lu@intel.com>
9845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9846 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9848 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9849 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9850 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9852 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9853 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9854 AVX unaligned load is fast and vzeroupper is preferred.
9855 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9856 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9857 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9858 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9859 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9860 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9861 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9862 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9863 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9864 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9867 2018-06-01 Florian Weimer <fweimer@redhat.com>
9869 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9870 configuring with --disable-multi-arch, building with
9871 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9874 2018-06-01 Florian Weimer <fweimer@redhat.com>
9876 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9877 results from building with “-march=x86-64 -mtune=generic
9878 -mfpmath=sse” and running on a Haswell-era CPU.
9880 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9883 * soft-fp/sqrttf2.c: Remove file.
9884 * soft-fp/sqrtdf2.c: Move to ....
9885 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
9887 (__sqrtdf2): Make conditional on
9888 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9890 * soft-fp/sqrtsf2.c: Move to ....
9891 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
9893 (__sqrtsf2): Make conditional on
9894 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9896 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
9897 (gcc-double-routines): Remove sqrtdf2.
9898 (gcc-quad-routines): Remove sqrttf2.
9899 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9900 Do not filter out sqrtsf2 and sqrtdf2.
9901 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9902 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
9904 2018-06-01 Florian Weimer <fweimer@redhat.com>
9906 * sysdeps/generic/libcidn.abilist: Remove file.
9908 2018-06-01 Florian Weimer <fweimer@redhat.com>
9911 * libio/strfile.h (struct _IO_str_fields): Rename members to
9912 discourage their use and add comment.
9913 (_IO_STR_DYNAMIC): Remove unused macro.
9914 * libio/strops.c (_IO_str_init_static_internal): Do not use
9915 callback pointers. Call malloc and free.
9916 (_IO_str_overflow): Do not use callback pointers. Call malloc
9918 (enlarge_userbuf): Likewise.
9919 (_IO_str_finish): Call free.
9920 * libio/wstrops.c (_IO_wstr_init_static): Initialize
9921 _allocate_buffer_unused.
9922 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
9924 (enlarge_userbuf): Likewise.
9925 (_IO_wstr_finish): Call free.
9926 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
9927 _allocate_buffer_unused, _free_buffer_unused.
9928 * libio/memstream.c (__open_memstream): Likewise.
9929 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9930 * libio/wmemstream.c (open_wmemstream): Likewise.
9932 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9934 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
9937 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9939 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
9940 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
9941 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
9943 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
9945 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
9947 2018-05-29 Florian Weimer <fweimer@redhat.com>
9949 * support/Makefile (libsupport-routines): Add
9950 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
9951 xpthread_barrierattr_setpshared.
9952 * support/xpthread_barrierattr_destroy.c: New file.
9953 * support/xpthread_barrierattr_init.c: Likewise.
9954 * support/xpthread_barrierattr_setpshared.c: Likewise.
9956 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
9959 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
9960 _r_debug and update DT_DEBUG for debugger.
9962 2018-05-29 Florian Weimer <fweimer@redhat.com>
9964 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
9965 (tst-strtod5i.out): Likewise.
9967 2018-05-25 Joseph Myers <joseph@codesourcery.com>
9969 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
9970 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
9971 (sparc64-quad-routines): New variable. Moved from ....
9972 [$(subdir) = soft-fp] (sysdep_routines): Add
9973 $(sparc64-quad-routines). Moved from ....
9974 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
9975 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
9976 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
9978 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
9979 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
9980 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
9981 * sysdeps/sparc/sparc64/qp_add.c: ... here.
9982 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
9983 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
9984 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
9985 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
9986 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
9987 * sysdeps/sparc/sparc64/qp_div.c: ... here.
9988 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
9989 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
9990 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
9991 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
9992 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
9993 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
9994 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
9995 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
9996 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
9997 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
9998 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
9999 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10000 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10001 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10002 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10003 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10004 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10005 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10006 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10007 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10008 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10009 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10010 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10011 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10012 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10013 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10014 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10015 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10016 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10017 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10018 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10019 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10020 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10021 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10022 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10023 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10024 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10025 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10026 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10027 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10028 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10029 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10030 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10031 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10032 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10033 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10034 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10035 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10037 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10038 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10039 (sparc32-quad-routines): New variable. Moved from ....
10040 [$(subdir) = soft-fp] (sysdep_routines): Add
10041 $(sparc32-quad-routines). Moved from ....
10042 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10043 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10045 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10046 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10047 * sysdeps/sparc/sparc32/q_add.c: ... here.
10048 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10049 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10050 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10051 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10052 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10053 * sysdeps/sparc/sparc32/q_div.c: ... here.
10054 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10055 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10056 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10057 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10058 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10059 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10060 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10061 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10062 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10063 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10064 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10065 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10066 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10067 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10068 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10069 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10070 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10071 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10072 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10073 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10074 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10075 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10076 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10077 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10078 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10079 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10080 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10081 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10082 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10083 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10084 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10085 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10086 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10087 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10088 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10089 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10090 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10091 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10092 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10093 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10094 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10095 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10096 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10097 * sysdeps/sparc/sparc32/q_util.c: ... here.
10098 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10099 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10100 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10101 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10103 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10104 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10106 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10107 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10108 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10109 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10111 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10117 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10118 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10120 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10123 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10126 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10128 * sysdeps/sh/Implies: Remove sh/soft-fp.
10129 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10130 * sysdeps/sh/sfp-machine.h: ... here.
10132 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10134 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10135 (__mempcpy_erms): Skip zero length.
10136 (__memmove_erms): Likewise.
10137 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10138 (__memset_erms): Likewise.
10140 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10142 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10143 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10144 Add functions moved from ....
10145 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10146 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10147 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10149 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10150 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10151 * sysdeps/alpha/e_sqrtl.c: ... here.
10152 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10153 * sysdeps/alpha/local-soft-fp.h: ... here.
10154 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10155 * sysdeps/alpha/ots_add.c: ... here.
10156 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10157 * sysdeps/alpha/ots_cmp.c: ... here.
10158 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10159 * sysdeps/alpha/ots_cmpe.c: ... here.
10160 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10161 * sysdeps/alpha/ots_cvtqux.c: ... here.
10162 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10163 * sysdeps/alpha/ots_cvtqx.c: ... here.
10164 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10165 * sysdeps/alpha/ots_cvttx.c: ... here.
10166 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10167 * sysdeps/alpha/ots_cvtxq.c: ... here.
10168 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10169 * sysdeps/alpha/ots_cvtxt.c: ... here.
10170 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10171 * sysdeps/alpha/ots_div.c: ... here.
10172 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10173 * sysdeps/alpha/ots_mul.c: ... here.
10174 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10175 * sysdeps/alpha/ots_nintxq.c: ... here.
10176 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10177 * sysdeps/alpha/ots_sub.c: ... here.
10178 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10179 * sysdeps/alpha/sfp-machine.h: ... here.
10181 2018-05-23 Florian Weimer <fweimer@redhat.com>
10189 Switch to extern IDNA implementation (libidn2).
10190 * libidn: Remove subdirectory.
10191 * LICENSES: Do not mention licensing conditions for the removed
10193 * config.h.in (HAVE_LIBIDN): Remove.
10194 * include/dlfcn.h (__libc_dlopen): Update comment.
10195 * include/idna.h: Remove file.
10196 * inet/Makefile (routines): Add idna.
10197 (tests-static, tests-internal): Add tst-idna_name_classify.
10198 (LOCALES): Generate locales for tests.
10199 (tst-idna_name_classify.out): Depend on generated locales.
10200 * inet/idna_name_classify.c: New file.
10201 * inet/tst-idna_name_classify.c: Likewise.
10202 * inet/net-internal.h (__idna_to_dns_encoding)
10203 (__idna_from_dns_encoding): Declare.
10204 * inet/net-internal.h (enum idna_name_classification): Define.
10205 (__idna_name_classify): Declare.
10206 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10207 __idna_from_dns_encoding.
10208 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10209 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10210 name as a fallback in case of encoding errors.
10211 (getnameinfo): Use DEPRECATED_NI_IDN.
10212 * inet/idna.c: New file.
10213 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10214 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10215 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10216 (modules-names): Add tst-no-libidn2.
10217 (extra-test-objs): Add tst-no-libidn2.os.
10218 (LDFLAGS-tst-no-libidn2.so): Set soname.
10219 (LOCALES): Set, and generate locales.
10220 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10221 (tst-resolv-ai_idn-latin1): Likewise.
10222 (tst-resolv-ai_idn-nolibidn2): Likewise.
10223 (tst-resolv-ai_idn.out): Depend on locales.
10224 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10225 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10227 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10228 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10229 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10230 * resolv/tst-resolv-ai_idn.c: New file.
10231 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10232 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10233 * resolv/tst-no-libidn2.c: Likewise.
10234 * support/support_format_addrinfo.c (format_ai_flags): Do not
10235 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10236 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10237 (gaih_inet): Call __idna_to_dns_encoding and
10238 __idna_from_dns_encoding, and use the original (punycode) name if
10239 __idna_from_dns_encoding fails due to an encoding error.
10240 (getaddrinfo): Use DEPRECATED_AI_IDN.
10241 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10242 * sysdeps/unix/inet/configure: Remove file.
10243 * sysdeps/unix/inet/configure.ac: Likewise.
10245 2018-05-23 Florian Weimer <fweimer@redhat.com>
10247 Implement allocate_once.
10248 * include/allocate_once.h: New file.
10249 * misc/allocate_once.c: Likewise.
10250 * misc/tst-allocate_once.c: Likewise.
10251 * misc/Makefile (routines): Add allocate_once.
10252 (tests-internal): Add tst-allocate_once.
10253 (generated): Add tst-allocate_once.mtrace,
10254 tst-allocate_once-mem.out.
10255 (tests-special): Add tst-allocate_once-mem.out.
10256 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10257 (tst-allocate_once-mem.out): Call mtrace.
10258 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10260 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10263 * string/test-memcpy.c (do_test1): New function.
10264 (test_main): Call it.
10266 2018-05-23 Andreas Schwab <schwab@suse.de>
10270 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10271 (L(preloop_large)): Save initial destination pointer in %r11 and
10272 use it instead of %rax after the loop.
10273 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10275 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10277 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10278 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10279 -I../soft-fp. Moved from ....
10280 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10281 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10282 * sysdeps/aarch64/e_sqrtl.c: ... here.
10283 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10284 * sysdeps/aarch64/sfp-machine.h: ... here.
10286 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10287 -Wmaybe-uninitialized around access to fq[0].
10288 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10292 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10293 aliases for non-libc case of versioned symbols.
10294 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10295 (llseek): Define as compat symbol if
10296 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10298 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10299 Make into a compat symbol, disabled for minimum symbol version
10300 GLIBC_2.28 and later.
10301 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10303 2018-05-22 Florian Weimer <fweimer@redhat.com>
10305 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10306 not add -mpreferred-stack-boundary=4.
10307 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10308 (stack-align-test-flags): Likewise.
10309 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10311 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10312 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10313 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10314 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10315 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10316 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10317 (CFLAGS-tst-align2.c): Likewise.
10319 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10321 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10322 (index_arch_Prefer_FSRM): Likewise.
10323 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10324 Also check Prefer_FSRM.
10325 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10326 Also return OPTIMIZE (erms) for Prefer_FSRM.
10328 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10330 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10331 (index_cpu_FSRM): Likewise.
10332 (reg_FSRM): Likewise.
10334 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10336 * math/gen-tgmath-tests.py: Import sys.
10337 (Tests.__init__): Initialize macros_seen.
10338 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10339 if requested to do so for this macro.
10340 (Tests.add_all_tests): Take argument for macro for which to
10342 (Tests.check_macro_list): New function.
10343 (main): Handle check-list argument and argument specifying macro
10344 for which to generate tests.
10345 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10346 [PYTHON] (tgmath3-macro-tests): Likewise.
10347 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10348 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10349 not test-tgmath3.c.
10350 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10351 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10353 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10354 [PYTHON] ($(foreach
10355 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10357 [PYTHON] (tests-special): Add
10358 $(objpfx)test-tgmath3-macro-list.out.
10359 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10361 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10362 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10366 * time/tzset.c (SECSPERDAY): Cast to time_t.
10367 * time/tst-y2039.c: New file.
10368 * time/Makefile (tests): Add tst-y2039.
10370 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10372 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10373 (PREFETCH_ONE_SET): Remove duplicate line.
10375 2018-05-17 Florian Weimer <fweimer@redhat.com>
10377 * sysdeps/generic/math-type-macros-double.h: Include
10378 <math-nan-payload-double.h> after <libm-alias-double.h>.
10379 * sysdeps/generic/math-type-macros-float.h: Include
10380 <math-nan-payload-float.h> after <libm-alias-float.h>.
10381 * sysdeps/generic/math-type-macros-float128.h: Include
10382 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10383 * sysdeps/generic/math-type-macros-ldouble.h: Include
10384 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10386 2018-05-17 Andreas Schwab <schwab@suse.de>
10388 * resolv/res_send.c (__res_context_send): Don't set errno when
10389 returing error after malloc failure.
10391 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10393 * nptl/allocatestack.c (allocate_stack): Remove the
10394 !__ASSUME_PRIVATE_FUTEX paths.
10395 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10396 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10398 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10399 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10400 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10401 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10402 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10403 !__ASSUME_PRIVATE_FUTEX path.
10404 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10405 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10406 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10407 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10408 !__ASSUME_PRIVATE_FUTEX macros.
10409 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10410 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10411 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10412 * sysdeps/unix/sysv/linux/kernel-features.h
10413 (__ASSUME_PRIVATE_FUTEX): Removed.
10415 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10417 * math/Makefile (libm-narrow-fns): Add div.
10418 (libm-test-funcs-narrow): Likewise.
10419 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10420 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10421 * math/gen-auto-libm-tests.c (test_functions): Add div.
10422 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10423 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10424 (NARROW_DIV_TRIVIAL): Likewise.
10425 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10427 (__ddivl): Likewise.
10428 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10430 (CFLAGS-nldbl-ddiv.c): New variable.
10431 (CFLAGS-nldbl-fdiv.c): Likewise.
10432 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10434 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10436 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10437 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10438 * math/auto-libm-test-in: Add tests of div.
10439 * math/auto-libm-test-out-narrow-div: New generated file.
10440 * math/libm-test-narrow-div.inc: New file.
10441 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10442 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10443 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10444 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10445 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10446 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10453 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10455 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10456 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10457 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10458 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10460 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10461 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10462 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10463 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10464 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10465 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10466 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10467 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10468 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10469 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10470 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10471 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10472 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10477 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10478 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10479 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10480 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10481 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10482 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10483 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10484 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10486 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10489 * nscd/nscd-client.h (sendfileall): Remove prototype.
10490 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10491 (handle_request): Use writeall instead of sendfileall.
10492 * nscd/aicache.c (addhstaiX): Likewise.
10493 * nscd/grpcache.c (cache_addgr): Likewise.
10494 * nscd/hstcache.c (cache_addhst): Likewise.
10495 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10496 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10497 * nscd/pwdcache.c (cache_addpw): Likewise.
10498 * nscd/servicescache.c (cache_addserv): Likewise.
10499 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10500 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10501 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10504 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10506 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10507 Include <string/strncat.c>.
10508 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10510 (__GI___strncat): New hidden alias.
10512 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10514 * sysdeps/mips/mips32/libm-test-ulps: Update.
10515 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10517 2018-05-16 Florian Weimer <fweimer@redhat.com>
10519 * support/Makefile (libsupport-routines): Add support_quote_blob,
10520 support_test_compare_blob.
10521 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10522 * support/check.h (TEST_COMPARE_BLOB): Define.
10523 (support_test_compare_blob): Declare.
10524 * support/support.h (support_quote_blob): Declare.
10525 * support/support_quote_blob.c: New file.
10526 * support/support_test_compare_blob.c: Likewise.
10527 * support/tst-support_quote_blob.c: Likewise.
10528 * support/tst-test_compare_blob.c: Likewise.
10530 2018-05-16 Florian Weimer <fweimer@redhat.com>
10532 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10533 of <strtod_nan_double.h>.
10534 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10535 instead of SET_MANTISSA.
10536 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10537 of include <strtod_nan_float.h>.
10538 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10539 instead of <strtod_nan_ldouble.h>.
10540 * stdlib/strtod_nan_double.h: Move to ...
10541 * sysdeps/generic/math-nan-payload-double.h: ... here.
10542 (FLOAT): Remove definition.
10543 (SET_MANTISSA): Rename to ...
10544 (SET_NAN_PAYLOAD): ... this.
10545 * stdlib/strtod_nan_float.h: Move to ...
10546 * sysdeps/generic/math-nan-payload-float.h: ... here.
10547 (FLOAT): Remove definition.
10548 (SET_MANTISSA): Rename to ...
10549 (SET_NAN_PAYLOAD): ... this.
10550 * sysdeps/generic/math-type-macros-double.h: Include
10551 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10552 instead of <math-svid-compat.h>.
10553 * sysdeps/generic/math-type-macros-float.h: Include
10554 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10555 instead of <math-svid-compat.h>.
10556 * sysdeps/generic/math-type-macros-float128.h: Include
10557 <math-nan-payload-float128.h>.
10558 * sysdeps/generic/math-type-macros-ldouble.h: Include
10559 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10560 instead of <math-svid-compat.h>.
10561 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10562 check for definition.
10563 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10564 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10565 Include <ieee754_float128.h>.
10566 (FLOAT): Remove definition.
10567 (SET_MANTISSA): Rename to ...
10568 (SET_NAN_PAYLOAD): ... this.
10569 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10570 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10571 Do not include <float128_private.h>.
10572 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10573 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10574 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10575 (FLOAT): Remove definition.
10576 (SET_MANTISSA): Rename to ...
10577 (SET_NAN_PAYLOAD): ... this.
10578 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10579 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10580 (FLOAT): Remove definition.
10581 (SET_MANTISSA): Rename to ...
10582 (SET_NAN_PAYLOAD): ... this.
10583 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10584 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10585 (FLOAT): Remove definition.
10586 (SET_MANTISSA): Rename to ...
10587 (SET_NAN_PAYLOAD): ... this.
10588 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10589 of "../stdlib/strtod_nan_double.h".
10590 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10591 of "../stdlib/strtod_nan_float.h".
10592 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10593 instead of "../stdlib/strtod_nan_ldouble.h".
10594 * manual/arith.texi (Parsing of Floats): Adjust comment.
10596 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10598 * math/Makefile (libm-narrow-fns): Add mul.
10599 (libm-test-funcs-narrow): Likewise.
10600 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10601 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10602 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10603 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10604 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10605 (NARROW_MUL_TRIVIAL): Likewise.
10606 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10607 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10609 (__dmull): Likewise.
10610 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10612 (CFLAGS-nldbl-dmul.c): New variable.
10613 (CFLAGS-nldbl-fmul.c): Likewise.
10614 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10616 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10618 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10619 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10620 * math/auto-libm-test-in: Add tests of mul.
10621 * math/auto-libm-test-out-narrow-mul: New generated file.
10622 * math/libm-test-narrow-mul.inc: New file.
10623 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10624 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10625 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10626 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10627 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10628 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10629 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10630 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10631 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10632 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10633 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10634 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10635 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10636 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10637 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10638 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10639 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10640 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10642 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10643 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10644 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10645 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10646 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10648 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10649 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10650 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10651 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10652 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10653 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10654 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10659 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10660 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10662 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10663 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10664 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10665 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10666 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10668 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10670 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10671 with *%eax in call.
10673 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10675 * sysdeps/i386/ldsodefs.h: Removed.
10676 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10677 * sysdeps/x86/ldsodefs.h: This.
10678 (La_i86_regs): New.
10679 (La_i86_retval): Likewise.
10680 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10681 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10683 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10685 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10688 2018-05-13 Alan Modra <amodra@gmail.com>
10690 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10691 R_PARISC_TLS_DTPOFF32 reloc addend.
10693 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10695 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10696 * math/math.h: Restrict the prototype definition for the functions
10697 issignaling(_Float128) and iszero(_Float128); and template
10698 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10699 __HAVE_FLOAT128_UNLIKE_LDBL.
10700 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10701 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10702 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10703 __f128() constants; define the type _Float128 as long double;
10704 and reuse long double in __CFLOAT128.
10706 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10708 * sysdeps/generic/math_private.h: Do not include
10710 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10712 * math/fromfp.h: Include <math-barriers.h>.
10713 * math/math-narrow.h: Likewise.
10714 * math/s_nextafter.c: Likewise.
10715 * math/s_nexttowardf.c: Likewise.
10716 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10717 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10718 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10719 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10720 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10721 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10722 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10724 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10726 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10727 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10729 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10730 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10731 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10732 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10733 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10734 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10735 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10736 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10737 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10738 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10739 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10740 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10741 * sysdeps/ieee754/k_standardl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10758 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10759 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10760 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10761 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10762 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10763 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10765 2018-05-11 Florian Weimer <fweimer@redhat.com>
10767 Use 64-bit epoch values in the time zone file parser.
10768 * include/time.h (internal_time_t): Define.
10769 (__tzfile_compute): Use it.
10770 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10772 (transitions): Switch to internal_time_t.
10773 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10775 (__tzfile_compute): Use internal_time_t for timer argument. Check
10776 for truncation before calling __offtime.
10778 2018-05-11 Florian Weimer <fweimer@redhat.com>
10781 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10782 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10784 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10785 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10786 export without --enable-obsolete-rpc.
10787 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10788 symbol. This should not have been exported, ever.
10790 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10793 * localedata/locales/gd_GB (abmon): Fix typo in May:
10794 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10796 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10798 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10799 Use multiple registers to copy data in loop tail.
10801 * sysdeps/aarch64/multiarch/memmove_falkor.S
10802 (__memmove_falkor): Use multiple registers to move data in
10805 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10807 * math/math-underflow.h: New file.
10808 * sysdeps/generic/math_private.h: Do not include <float.h>.
10809 (fabs_tg): Remove macro. Moved to math-underflow.h.
10810 (min_of_type_f): Likewise.
10811 (min_of_type_): Likewise.
10812 (min_of_type_l): Likewise.
10813 (min_of_type_f128): Likewise.
10814 (min_of_type): Likewise.
10815 (math_check_force_underflow): Likewise.
10816 (math_check_force_underflow_nonneg): Likewise.
10817 (math_check_force_underflow_complex): Likewise.
10818 * math/e_exp2_template.c: Include <math-underflow.h>.
10819 * math/k_casinh_template.c: Likewise.
10820 * math/s_catan_template.c: Likewise.
10821 * math/s_catanh_template.c: Likewise.
10822 * math/s_ccosh_template.c: Likewise.
10823 * math/s_cexp_template.c: Likewise.
10824 * math/s_clog10_template.c: Likewise.
10825 * math/s_clog_template.c: Likewise.
10826 * math/s_csin_template.c: Likewise.
10827 * math/s_csinh_template.c: Likewise.
10828 * math/s_csqrt_template.c: Likewise.
10829 * math/s_ctan_template.c: Likewise.
10830 * math/s_ctanh_template.c: Likewise.
10831 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10832 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10833 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10834 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10835 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10836 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10837 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10839 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10840 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10841 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10842 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10843 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10844 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10845 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10846 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10847 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10848 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10849 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10850 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10851 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10852 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10853 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10854 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10855 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10856 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10857 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10858 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10859 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10860 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10861 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10862 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10863 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10864 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10865 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10866 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10867 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10868 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10869 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10870 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10871 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10872 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10873 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10874 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10875 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10876 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10877 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10878 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10879 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10880 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10881 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10882 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10883 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10884 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10885 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10886 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10888 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10889 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10890 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10891 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10892 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10893 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10894 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10895 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10896 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10897 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10898 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10899 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10900 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10901 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10902 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10903 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10904 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
10905 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10906 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10907 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10908 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10909 * sysdeps/x86/fpu/powl_helper.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
10911 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
10912 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10913 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10914 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10916 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10918 * sysdeps/generic/math-barriers.h: New file.
10919 * sysdeps/generic/math_private.h [!math_opt_barrier]
10920 (math_opt_barrier): Move to math-barriers.h.
10921 [!math_opt_barrier] (math_force_eval): Likewise.
10922 * sysdeps/aarch64/fpu/math-barriers.h: New file.
10923 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
10925 (math_force_eval): Likewise.
10926 * sysdeps/alpha/fpu/math-barriers.h: New file.
10927 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
10929 (math_force_eval): Likewise.
10930 * sysdeps/x86/fpu/math-barriers.h: New file.
10931 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
10933 (math_force_eval): Likewise.
10934 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
10935 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
10936 multiple-include guard for rename.
10937 * sysdeps/powerpc/fpu/math-barriers.h: New file.
10938 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
10940 (math_force_eval): Likewise.
10942 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10946 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
10948 * stdlib/Makefile (test-bz22786): New test.
10949 * stdlib/test-bz22786.c: New test.
10951 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10953 * include/math-narrow-eval.h: New file. Contents moved from ....
10954 * sysdeps/generic/math_private.h: ... here.
10955 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
10956 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10957 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
10958 * stdlib/strtod_l.c: Likewise.
10959 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10960 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10961 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10965 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10966 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10967 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10968 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10970 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10971 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10972 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10973 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10974 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10975 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10976 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10977 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10978 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10979 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10980 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10981 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10982 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10983 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10984 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10985 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10986 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10987 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10989 2018-05-08 Andreas Schwab <schwab@suse.de>
10991 * sysdeps/nptl/internaltypes.h: Fix comment.
10993 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
10995 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10996 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
10999 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11001 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11002 of I into loop header.
11003 * benchtests/bench-memmove-walk.c
11004 (test_main): Likewise.
11006 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11009 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11010 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11012 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11015 * elf/dl-load.c (open_verify): Fix stack overflow.
11016 * elf/Makefile (tst-big-note): New test.
11017 * elf/tst-big-note-lib.S: New.
11018 * elf/tst-big-note.c: New.
11020 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11022 * scripts/abilist.awk: Ignore absolute symbols.
11023 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11024 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11025 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11026 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11027 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11028 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11029 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11030 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11031 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11032 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11033 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11034 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11035 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11036 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11037 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11038 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11039 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11040 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11041 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11042 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11043 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11044 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11045 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11046 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11047 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11048 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11049 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11050 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11051 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11052 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11053 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11054 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11055 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11056 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11057 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11058 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11059 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11060 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11061 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11062 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11063 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11064 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11065 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11066 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11067 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11068 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11069 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11070 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11071 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11072 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11073 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11074 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11075 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11076 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11077 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11078 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11079 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11080 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11081 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11082 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11083 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11084 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11085 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11086 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11087 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11088 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11089 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11090 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11091 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11092 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11093 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11094 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11095 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11096 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11097 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11098 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11099 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11100 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11101 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11102 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11103 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11104 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11105 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11106 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11107 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11108 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11109 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11110 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11111 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11112 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11113 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11114 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11116 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11117 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11118 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11119 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11120 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11121 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11122 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11123 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11124 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11125 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11126 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11127 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11128 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11130 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11131 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11132 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11133 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11134 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11135 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11136 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11137 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11138 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11139 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11140 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11141 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11142 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11143 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11144 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11145 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11146 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11147 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11148 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11149 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11150 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11151 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11152 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11153 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11154 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11155 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11156 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11158 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11159 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11160 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11161 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11162 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11163 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11164 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11165 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11166 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11167 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11168 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11169 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11170 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11171 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11172 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11173 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11174 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11175 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11176 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11177 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11179 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11180 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11181 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11182 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11183 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11184 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11185 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11186 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11187 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11188 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11189 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11190 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11191 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11192 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11193 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11194 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11195 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11196 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11197 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11198 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11199 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11200 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11201 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11202 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11203 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11204 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11205 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11206 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11269 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11270 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11271 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11272 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11273 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11274 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11275 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11276 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11277 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11278 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11279 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11280 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11281 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11282 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11284 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11285 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11286 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11287 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11288 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11289 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11290 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11291 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11297 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11298 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11300 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11301 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11302 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11303 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11306 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11307 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11308 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11309 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11312 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11313 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11315 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11316 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11317 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11318 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11319 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11320 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11321 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11323 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11324 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11325 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11326 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11327 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11328 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11329 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11330 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11331 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11332 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11333 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11334 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11335 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11337 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11338 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11339 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11340 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11341 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11342 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11343 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11344 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11345 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11346 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11347 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11348 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11349 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11350 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11351 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11352 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11353 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11354 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11355 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11358 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11359 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11360 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11366 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11367 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11370 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11371 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11372 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11373 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11376 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11379 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11380 Use atomic_load_acquire to load __tid.
11382 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11384 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11385 Restore the pointer into %rdx, after syscall and use %rdx,
11386 instead of %rsi, to restore context.
11388 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11390 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11391 Pop the pointer into %rdx after syscall and use %rdx, instead
11392 of %rsi, to restore context.
11394 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11396 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11397 handlers after setjmp.
11398 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11400 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11401 <libc-pointer-arith.h>.
11402 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11403 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11404 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11405 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11406 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11407 * sysdeps/x86/__longjmp_cancel.S: New file.
11408 * sysdeps/x86/longjmp.c: Likewise.
11409 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11411 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11413 * NEWS: Add ustat.h deprecation entry.
11414 * bits/ustat.h: Remove file.
11415 * misc/sys/ustat.h: Likewise.
11416 * misc/ustat.h: Likewise.
11417 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11418 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11419 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11420 compatibility mode.
11421 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11422 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11423 generic Linux implementation.
11425 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11427 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11428 * math/w_expl_compat.c: Likewise.
11429 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11431 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11433 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11435 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11437 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11438 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11439 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11441 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11443 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11444 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11445 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11448 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11450 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11452 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11453 * math/w_asin_template.c: Likewise.
11454 * math/w_atanh_template.c: Likewise.
11456 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11458 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11459 to powerpc/powerpc64/be for big-endian.
11460 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11463 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11464 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11465 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11466 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11467 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11468 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11469 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11470 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11471 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11472 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11473 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11474 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11475 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11476 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11477 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11478 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11479 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11480 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11481 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11482 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11483 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11484 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11485 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11486 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11487 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11488 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11489 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11490 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11491 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11492 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11493 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11494 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11496 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11497 adjusted to imply powerpc64 and older processors on powerpc64/be.
11498 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11499 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11500 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11501 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11502 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11503 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11504 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11505 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11506 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11507 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11508 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11509 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11510 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11511 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11512 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11513 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11514 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11515 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11516 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11517 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11518 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11519 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11520 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11521 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11522 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11523 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11524 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11525 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11526 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11527 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11528 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11530 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11531 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11532 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11533 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11535 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11536 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11537 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11538 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11540 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11541 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11542 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11543 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11544 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11545 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11546 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11547 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11548 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11549 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11550 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11552 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11553 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11554 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11555 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11556 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11557 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11558 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11559 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11560 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11561 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11562 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11564 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11565 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11566 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11567 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11568 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11569 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11570 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11571 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11572 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11573 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11574 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11575 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11577 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11578 and adjusted to imply olders processors.
11579 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11580 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11581 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11582 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11583 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11584 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11585 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11586 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11587 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11588 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11589 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11594 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11608 powerpc64 and adjusted.
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11614 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11616 * sysdeps/tile: Remove.
11617 * sysdeps/unix/sysv/linux/tile: Likewise.
11618 * README (tilegx-*-linux-gnu): Remove from list of supported
11620 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11621 contribution of support for generic Linux kernel syscall
11623 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11624 tilegx configurations.
11625 (Config.install_linux_headers): Do not handle tile.
11626 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11628 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11629 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11630 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11631 conditional undefine and redefine.
11632 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11634 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11635 conditional undefine and redefine.
11637 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11639 * signal/tst-sigaction.c: New file to test BZ #23069.
11640 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11642 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11645 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11646 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11647 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11648 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11650 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11652 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11653 _DIRENT_MATCHES_DIRENT64 is not defined.
11654 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11655 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11657 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11658 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11660 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11662 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11663 version to GCC 8 branch.
11665 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11667 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11668 (check_no_hidden): Use type of original function when declaring
11671 * sysdeps/unix/sysv/linux/sys/ptrace.h
11672 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11673 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11674 (struct __ptrace_seccomp_metadata): New type.
11675 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11676 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11677 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11678 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11679 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11680 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11681 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11682 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11683 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11684 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11685 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11686 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11687 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11688 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11689 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11690 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11692 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11694 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11696 * dirent/versionsort.c (versionsort): Likewise.
11697 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11698 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11699 * dirent/versionsort64.c (versionsort64): Likewise.
11700 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11701 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11702 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11703 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11704 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11705 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11706 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11707 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11708 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11709 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11712 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11713 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11715 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11717 * elf/elf.h (NT_PPC_PKEY): New macro.
11719 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11722 * localedata/locales/hr_HR: fix thousands_sep and
11725 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11727 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11728 (XTABS): Define to TAB3.
11730 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11732 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11734 * dirent/scandir-tail-common.c: New file.
11735 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11736 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11737 * dirent/scandir.c: Use scandir-tail-common.c.
11738 * dirent/scandirat.c: Likewise.
11739 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11740 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11741 if _DIRENT_MATCHES_DIRENT64 is defined.
11742 * dirent/scandirat64.c (scandirat64): Likewise.
11743 * include/dirent.h (__scandir_tail): Only define iff
11744 _DIRENT_MATCHES_DIRENT64 is not defined.
11745 (__scandir64_tail): Define regardless.
11746 (__scandirat, scandirat64): Remove libc_hidden_proto.
11747 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11748 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11750 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11751 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11752 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11753 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11755 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11757 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11759 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11761 (_dl_aarch64_cap_flags): Add asimdfhm.
11763 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11765 * sysdeps/nios2/libm-test-ulps: Update.
11767 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11769 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11770 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11772 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11774 (_DIRENT_MATCHES_DIRENT64): Undef
11775 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11776 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11777 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11778 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11779 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11780 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11781 use getdents64 syscalls as base.
11782 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11783 symbol if required.
11784 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11785 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11786 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11787 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11788 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11789 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11790 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11791 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11793 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11794 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11796 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11798 * scripts/test_printers_common.py (init_test): Disable lock elision.
11800 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11802 * math/test-tgmath.c (count_double, count_float,
11803 count_ldouble, count_cdouble, count_cfloat,
11804 count_cldouble): Use volatile int.
11806 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11808 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11809 (conformtest-xfail-conds): Add i386-gnu.
11810 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11812 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11813 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11814 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11815 msqid_ds.msg_lrpid): Likewise.
11816 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11818 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11819 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11820 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11821 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11823 (struct statvfs64): Likewise.
11824 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11826 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11827 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11828 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11829 instead of wait_queue.
11830 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11831 instead of vm_area_struct.
11832 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11833 struct sched_param definition to it.
11834 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11835 * bits/types/struct_sched_param.h: New file.
11836 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11837 <bits/types/struct_sched_param.h> instead of <sched.h>.
11838 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11839 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11840 generic version but include <bits/pthreadtypes.h> to make struct
11841 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11842 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11844 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11845 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11846 [__USE_XOPEN] (OFDEL): New macro.
11847 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11848 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11849 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11851 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11852 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11853 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11855 * sysdeps/i386/sys/ucontext.h: Likewise.
11856 * sysdeps/m68k/sys/ucontext.h: Likewise.
11857 * sysdeps/mips/sys/ucontext.h: Likewise.
11858 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11859 * sysdeps/mach/hurd/i386/Makefile
11860 (test-xfail-POSIX/fcntl.h/conform): Add.
11861 (test-xfail-POSIX/signal.h/conform): Add.
11862 (test-xfail-POSIX/semaphore.h/conform): Add.
11863 (test-xfail-POSIX/regex.h/conform): Add.
11864 (test-xfail-POSIX/aio.h/conform): Add.
11865 (test-xfail-POSIX/mqueue.h/conform): Add.
11866 (test-xfail-POSIX/sys/types.h/conform): Add.
11867 (test-xfail-UNIX98/fcntl.h/conform): Add.
11868 (test-xfail-UNIX98/netdb.h/conform): Add.
11869 (test-xfail-UNIX98/signal.h/conform): Add.
11870 (test-xfail-UNIX98/semaphore.h/conform): Add.
11871 (test-xfail-UNIX98/regex.h/conform): Add.
11872 (test-xfail-UNIX98/aio.h/conform): Add.
11873 (test-xfail-UNIX98/ftw.h/conform): Add.
11874 (test-xfail-UNIX98/mqueue.h/conform): Add.
11875 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11876 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11877 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11878 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11879 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11880 (test-xfail-UNIX98/sys/types.h/conform): Add.
11881 (test-xfail-UNIX98/stdlib.h/conform): Add.
11882 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11883 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11884 (test-xfail-POSIX2008/netdb.h/conform): Add.
11885 (test-xfail-POSIX2008/signal.h/conform): Add.
11886 (test-xfail-POSIX2008/semaphore.h/conform): Add.
11887 (test-xfail-POSIX2008/regex.h/conform): Add.
11888 (test-xfail-POSIX2008/aio.h/conform): Add.
11889 (test-xfail-POSIX2008/mqueue.h/conform): Add.
11890 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
11891 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
11892 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
11893 (test-xfail-POSIX2008/sys/types.h/conform): Add.
11894 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
11895 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
11896 (test-xfail-XOPEN2K/netdb.h/conform): Add.
11897 (test-xfail-XOPEN2K/signal.h/conform): Add.
11898 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
11899 (test-xfail-XOPEN2K/regex.h/conform): Add.
11900 (test-xfail-XOPEN2K/aio.h/conform): Add.
11901 (test-xfail-XOPEN2K/ftw.h/conform): Add.
11902 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
11903 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
11904 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
11905 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
11906 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
11907 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
11908 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
11909 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
11910 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
11911 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
11912 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
11913 (test-xfail-XOPEN2K8/signal.h/conform): Add.
11914 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
11915 (test-xfail-XOPEN2K8/regex.h/conform): Add.
11916 (test-xfail-XOPEN2K8/aio.h/conform): Add.
11917 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
11918 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
11919 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
11920 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
11921 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
11922 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
11923 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
11924 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
11925 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
11926 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
11927 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
11929 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
11930 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
11932 2018-04-18 Joseph Myers <joseph@codesourcery.com>
11934 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
11935 --enable-obsolete for powerpc-linux-gnuspe.
11937 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11939 * conform/data/sys/un.h-data: Allow sun_ prefix.
11940 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
11942 * sysdeps/mach/include/mach.h: Likewise.
11943 * sysdeps/mach/include/mach/mig_support.h: Likewise.
11944 * sysdeps/mach/include/mach_error.h: Likewise.
11946 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11948 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
11949 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
11950 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
11951 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
11953 2018-04-16 Andreas Schwab <schwab@suse.de>
11956 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
11958 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
11960 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
11961 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
11963 2018-04-12 DJ Delorie <dj@redhat.com>
11965 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11968 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11970 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
11971 (struct kernel_sigaction): Use the same definition on 31bit as is used
11974 2018-04-09 Florian Weimer <fweimer@redhat.com>
11977 * resolv/res_send.c (send_dg): Use designated initializers instead
11978 of assignment to zero-initialize other fields of struct mmsghdr.
11980 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11982 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
11983 __READDIR_ALIAS): Undefine after usage.
11984 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
11985 __READDIR_R_ALIAS): Likewise.
11986 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
11987 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
11988 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
11989 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
11990 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
11991 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
11992 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11993 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11994 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
11995 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
11996 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
11997 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
11998 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11999 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12000 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12001 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12002 * sysdeps/unix/sysv/linux/readdir.c: New file.
12003 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12004 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12005 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12007 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12009 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12011 * manual/charset.texi (Converting a Character): Fix typo.
12013 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12017 * sysdeps/arm/libm-test-ulps: Update.
12019 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12020 as base implementation.
12021 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12022 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12023 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12024 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12025 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12026 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12027 remove unrequired definitions and update comments.
12028 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12029 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12030 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12031 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12032 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12033 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12034 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12035 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12036 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12037 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12038 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12039 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12040 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12041 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12042 and RESET_SA_RESTORER hooks.
12044 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12046 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12048 2018-04-05 Florian Weimer <fweimer@redhat.com>
12050 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12051 integer overflow, memory leak on error, and indeterminate errno
12052 value. Add a null wide character to terminate the result string.
12053 * manual/charset.texi (Converting a Character): Mention embedded
12054 null bytes in the mbrtowc input string. Explain what happens in
12055 the -2 result case. Do not claim that mbrtowc is simple or
12056 obvious to use. Adjust the description of the code example. Use
12057 @code, not @var, for concrete variables.
12059 2018-04-05 Florian Weimer <fweimer@redhat.com>
12061 * manual/examples/mbstouwcs.c: New file.
12062 * manual/charset.texi (Converting a Character): Include it.
12064 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12066 * include/dirent.h (dirfd): Add hidden proto.
12067 * dirent/dirfd.c (dirfd): Add hidden def.
12068 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12069 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12071 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12073 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12074 sin, cos and sincos to 1 ULP.
12076 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12079 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12081 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12082 * elf/tst-absolute-sym.c: New file.
12083 * elf/tst-absolute-sym-lib.c: New file.
12084 * elf/tst-absolute-sym-lib.lds: New file.
12085 * elf/Makefile (tests): Add `tst-absolute-sym'.
12086 (modules-names): Add `tst-absolute-sym-lib'.
12087 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12088 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12089 ($(objpfx)tst-absolute-sym): New dependency.
12092 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12094 (SYMBOL_ADDRESS): New macro.
12095 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12096 SYMBOL_ADDRESS for symbol address calculation.
12097 * elf/dl-runtime.c (_dl_fixup): Likewise.
12098 (_dl_profile_fixup): Likewise.
12099 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12100 * elf/rtld.c (dl_main): Likewise.
12101 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12102 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12103 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12104 (elf_machine_rela): Likewise.
12105 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12106 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12107 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12108 (elf_machine_rela): Likewise.
12109 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12110 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12111 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12112 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12114 (elf_machine_reloc): Likewise.
12115 (elf_machine_got_rel): Likewise.
12116 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12117 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12118 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12120 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12122 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12123 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12125 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12127 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12128 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12130 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12132 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12133 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12135 2018-04-04 Zack Weinberg <zackw@panix.com>
12137 * sysdeps/generic/internal-signals.h: Include signal.h,
12138 sigsetops.h, and stdbool.h.
12139 (__libc_signal_block_all): Actually block all signals.
12140 (__libc_signal_block_app): Likewise.
12141 (__libc_signal_restore_set): Actually restore the signal mask.
12143 2018-04-04 Florian Weimer <fweimer@redhat.com>
12145 inet: Actually build and run tst-deadline.
12146 * inet/Makefile (tests-internal): Add tst-deadline and do not
12147 overwrite the variable.
12148 (tests-static-internal): Remove variable.
12150 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12153 * bits/uio-ext.h (RWF_APPEND): New.
12154 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12155 * manual/llio.texi: Document RWF_APPEND.
12156 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12157 (RWF_SUPPORTED): Add RWF_APPEND.
12159 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12162 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12163 check for internal nptl signals.
12164 * nptl/sigaction.c (__sigaction): Likewise.
12165 * signal/sigaddset.c (sigaddset): Likewise.
12166 * signal/sigdelset.c (sigdelset): Likewise.
12167 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12168 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12170 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12171 to filter out internal nptl signals.
12172 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12173 also check realtime signals using standard macros.
12174 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12175 __is_internal_signal, __libc_signal_block_all,
12176 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12177 * sysdeps/nptl/sigfillset.c: Remove file.
12178 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12179 Change return to bool.
12180 (__clear_internal_signals): Remove SIGTIMER clean since it is
12181 equal to SIGCANEL on Linux.
12182 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12183 signal set was constructed using standard functions.
12185 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12187 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12188 ifname is too long.
12189 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12190 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12191 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12193 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12194 * signal/sigaddset.c: Include <sigsetopts.h>.
12195 * signal/sigdelset.c: Likewise.
12197 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12199 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12201 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12202 logic as sin and cos.
12204 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12206 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12207 inputs. Return correct sign.
12208 (do_sincos): Remove small input check before do_sin, let do_sin set
12213 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12215 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12216 (do_cos_slow): Likewise.
12217 (do_sin_slow): Likewise.
12218 (reduce_and_compute): Likewise.
12223 (sloww1): Likewise.
12224 (sloww2): Likewise.
12226 (bslow1): Likewise.
12227 (bslow2): Likewise.
12228 (cslow2): Likewise.
12230 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12232 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12233 (do_cos): Remove corp parameter and calculations.
12234 (do_sin): Likewise.
12235 (do_sincos): Remove cor variable.
12236 (__sin): Use do_sincos for huge inputs.
12238 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12239 (reduce_and_compute_sincos): Remove unused function.
12241 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12243 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12244 reduce_sincos, improve accuracy to 136 bits.
12245 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12246 (__sin): Use improved reduction and simplified do_sincos calculation.
12248 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12250 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12252 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12253 (do_sincos_2): Likewise.
12254 (__sin): Remove middle range reduction case.
12256 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12259 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12261 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12265 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12267 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12269 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12272 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12274 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12275 Remove definitions.
12276 (opendir_oflags): Use O_DIRECTORY regardless.
12277 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12278 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12280 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12282 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12283 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12285 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12286 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12287 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12288 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12289 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12290 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12292 * htl/Makefile: Bump licence to LGPL 2.1+.
12293 * htl/alloca_cutoff.c: Likewise.
12294 * htl/cthreads-compat.c: Likewise.
12295 * htl/lockfile.c: Likewise.
12296 * htl/pt-alloc.c: Likewise.
12297 * htl/pt-cancel.c: Likewise.
12298 * htl/pt-cleanup.c: Likewise.
12299 * htl/pt-create.c: Likewise.
12300 * htl/pt-dealloc.c: Likewise.
12301 * htl/pt-detach.c: Likewise.
12302 * htl/pt-exit.c: Likewise.
12303 * htl/pt-getattr.c: Likewise.
12304 * htl/pt-initialize.c: Likewise.
12305 * htl/pt-internal.h: Likewise.
12306 * htl/pt-join.c: Likewise.
12307 * htl/pt-self.c: Likewise.
12308 * htl/pt-setcancelstate.c: Likewise.
12309 * htl/pt-setcanceltype.c: Likewise.
12310 * htl/pt-sigmask.c: Likewise.
12311 * htl/pt-spin-inlines.c: Likewise.
12312 * htl/pt-testcancel.c: Likewise.
12313 * htl/pt-yield.c: Likewise.
12314 * htl/tests/test-1.c: Likewise.
12315 * htl/tests/test-10.c: Likewise.
12316 * htl/tests/test-11.c: Likewise.
12317 * htl/tests/test-12.c: Likewise.
12318 * htl/tests/test-13.c: Likewise.
12319 * htl/tests/test-14.c: Likewise.
12320 * htl/tests/test-15.c: Likewise.
12321 * htl/tests/test-16.c: Likewise.
12322 * htl/tests/test-17.c: Likewise.
12323 * htl/tests/test-2.c: Likewise.
12324 * htl/tests/test-3.c: Likewise.
12325 * htl/tests/test-4.c: Likewise.
12326 * htl/tests/test-5.c: Likewise.
12327 * htl/tests/test-6.c: Likewise.
12328 * htl/tests/test-7.c: Likewise.
12329 * htl/tests/test-8.c: Likewise.
12330 * htl/tests/test-9.c: Likewise.
12331 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12332 * sysdeps/htl/bits/cancelation.h: Likewise.
12333 * sysdeps/htl/bits/pthread-np.h: Likewise.
12334 * sysdeps/htl/bits/pthread.h: Likewise.
12335 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12336 * sysdeps/htl/bits/semaphore.h: Likewise.
12337 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12338 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12339 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12340 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12341 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12342 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12343 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12344 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12345 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12346 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12347 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12348 * sysdeps/htl/old_pt-atfork.c: Likewise.
12349 * sysdeps/htl/pt-atfork.c: Likewise.
12350 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12351 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12352 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12353 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12354 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12355 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12356 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12357 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12358 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12359 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12360 * sysdeps/htl/pt-attr-init.c: Likewise.
12361 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12362 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12363 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12364 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12365 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12366 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12367 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12368 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12369 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12370 * sysdeps/htl/pt-attr.c: Likewise.
12371 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12372 * sysdeps/htl/pt-barrier-init.c: Likewise.
12373 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12374 * sysdeps/htl/pt-barrier.c: Likewise.
12375 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12376 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12377 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12378 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12379 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12380 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12381 * sysdeps/htl/pt-cond-init.c: Likewise.
12382 * sysdeps/htl/pt-cond-signal.c: Likewise.
12383 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12384 * sysdeps/htl/pt-cond-wait.c: Likewise.
12385 * sysdeps/htl/pt-cond.c: Likewise.
12386 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12387 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12388 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12389 * sysdeps/htl/pt-condattr-init.c: Likewise.
12390 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12391 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12392 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12393 * sysdeps/htl/pt-equal.c: Likewise.
12394 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12395 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12396 * sysdeps/htl/pt-getschedparam.c: Likewise.
12397 * sysdeps/htl/pt-getspecific.c: Likewise.
12398 * sysdeps/htl/pt-init-specific.c: Likewise.
12399 * sysdeps/htl/pt-key-create.c: Likewise.
12400 * sysdeps/htl/pt-key-delete.c: Likewise.
12401 * sysdeps/htl/pt-key.h: Likewise.
12402 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12403 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12404 * sysdeps/htl/pt-mutex-init.c: Likewise.
12405 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12406 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12407 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12408 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12409 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12410 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12411 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12412 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12413 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12414 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12415 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12416 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12417 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12418 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12419 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12420 * sysdeps/htl/pt-mutexattr.c: Likewise.
12421 * sysdeps/htl/pt-once.c: Likewise.
12422 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12423 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12424 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12425 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12426 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12427 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12428 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12429 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12430 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12431 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12432 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12433 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12434 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12435 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12436 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12437 * sysdeps/htl/pt-setschedparam.c: Likewise.
12438 * sysdeps/htl/pt-setschedprio.c: Likewise.
12439 * sysdeps/htl/pt-setspecific.c: Likewise.
12440 * sysdeps/htl/pt-spin.c: Likewise.
12441 * sysdeps/htl/pt-startup.c: Likewise.
12442 * sysdeps/htl/pthread.h: Likewise.
12443 * sysdeps/htl/sem-close.c: Likewise.
12444 * sysdeps/htl/sem-destroy.c: Likewise.
12445 * sysdeps/htl/sem-getvalue.c: Likewise.
12446 * sysdeps/htl/sem-init.c: Likewise.
12447 * sysdeps/htl/sem-open.c: Likewise.
12448 * sysdeps/htl/sem-post.c: Likewise.
12449 * sysdeps/htl/sem-timedwait.c: Likewise.
12450 * sysdeps/htl/sem-trywait.c: Likewise.
12451 * sysdeps/htl/sem-unlink.c: Likewise.
12452 * sysdeps/htl/sem-wait.c: Likewise.
12453 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12454 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12455 * sysdeps/mach/htl/pt-block.c: Likewise.
12456 * sysdeps/mach/htl/pt-spin.c: Likewise.
12457 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12458 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12459 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12460 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12461 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12462 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12463 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12464 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12465 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12466 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12467 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12468 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12469 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12470 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12471 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12472 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12473 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12474 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12475 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12476 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12477 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12478 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12479 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12480 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12481 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12482 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12483 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12484 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12485 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12486 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12487 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12488 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12489 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12490 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12491 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12492 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12493 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12494 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12495 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12496 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12497 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12498 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12499 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12501 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12502 * README: Remove the mention of out-of-tree patches needed for
12505 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12506 (UTIME_NOW, UTIME_OMIT): Define macros.
12508 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12509 instead of pthread_detach.
12510 (__cthread_fork): Call __pthread_create instead of pthread_create.
12511 (__cthread_keycreate): Call __pthread_key_create instead of
12512 pthread_key_create.
12513 (__cthread_getspecific): Call __pthread_getspecific instead of
12514 pthread_getspecific.
12515 (__cthread_setspecific): Call __pthread_setspecific instead of
12516 pthread_setspecific.
12517 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12518 __pthread_mutex_unlock instead of pthread_mutex_lock and
12519 pthread_mutex_unlock.
12520 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12521 ___pthread_get_cleanup_stack.
12522 (__pthread_get_cleanup_stack): New strong alias.
12523 * htl/pt-create.c: Include <pthreadP.h>.
12524 (entry_point): Call __pthread_exit instead of pthread_exit.
12525 (pthread_create): Rename to __pthread_create.
12526 (pthread_create): New strong alias.
12527 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12528 (pthread_detach): New strong alias.
12529 (__pthread_detach): Call __pthread_cond_broadcast instead of
12530 pthread_cond_broadcast.
12531 * htl/pt-exit.c: Include <pthreadP.h>.
12532 (__pthread_exit): Call __pthread_setcancelstate and
12533 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12534 __pthread_get_cleanup_stack.
12535 * htl/pt-testcancel.c: Include <pthreadP.h>.
12536 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12537 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12538 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12539 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12540 pthread_attr_getstacksize.
12541 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12542 Rename to __pthread_attr_getstackaddr.
12543 (pthread_attr_getstackaddr): New strong alias.
12544 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12545 Rename to __pthread_attr_getstacksize.
12546 (pthread_attr_getstacksize): New strong alias.
12547 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12548 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12549 (pthread_attr_setstack): New strong alias.
12550 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12551 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12552 pthread_attr_getstacksize, pthread_attr_setstacksize and
12553 pthread_attr_setstackaddr.
12554 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12555 Rename to __pthread_attr_setstackaddr.
12556 (pthread_attr_setstackaddr): New strong alias.
12557 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12558 Rename to __pthread_attr_setstacksize.
12559 (pthread_attr_setstacksize): New strong alias.
12560 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12561 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12563 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12564 (__pthread_key_create): New hidden def.
12565 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12566 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12567 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12568 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12569 __pthread_setspecific, __pthread_setcancelstate,
12570 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12571 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12572 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12574 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12575 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12576 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12577 (pthread_attr_setstackaddr): New strong alias.
12578 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12579 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12580 (pthread_attr_setstacksize): New strong alias.
12581 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12582 (call_exit): Call __pthread_exit instead of pthread_exit.
12583 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12584 (_pthread_mutex_init): New hidden definition.
12585 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12586 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12587 instead of pthread_attr_init and pthread_attr_setstack.
12589 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12590 __vm_deallocate instead of vm_allocate and vm_deallocate.
12591 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12593 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12595 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12597 * hurd/siginfo.c: Include <libioP.h>.
12598 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12599 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12601 * mach/devstream.c: Include <libioP.h>.
12602 (dealloc_ref): Call __mach_port_deallocate instead of
12603 mach_port_deallocate.
12604 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12605 Call __mach_port_deallocate instead of mach_port_deallocate.
12606 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12608 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12610 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12611 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12612 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12614 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12616 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12617 instead of sysconf.
12618 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12619 __clock_gettime instead of clock_gettime.
12620 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12621 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12622 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12623 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12624 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12626 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12627 __clock_gettime and __nanosleep instead of clock_gettime and
12629 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12630 __hurd_catch_signal.
12631 (hurd_catch_signal): New strong alias.
12632 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12633 __hurd_catch_signal instead of hurd_catch_signal.
12634 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12635 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12636 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12637 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12638 (_hurd_thread_sigstate): Add hidden def.
12639 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12641 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12642 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12643 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12644 __hurd_file_name_path_lookup.
12645 (hurd_file_name_path_lookup): New strong alias.
12646 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12647 hurd_file_name_path_lookup.
12648 * mach/errstring.c (mach_error_type): Add hidden def.
12649 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12650 * mach/mutex-init.c (__mutex_init): Add hidden def.
12651 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12652 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12653 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12654 * sysdeps/mach/hurd/getcwd.c
12655 (_hurd_canonicalize_directory_name_internal): Rename to
12656 __hurd_canonicalize_directory_name_internal.
12657 (_hurd_canonicalize_directory_name_internal): New strong alias.
12658 (__canonicalize_directory_name_internal, __getcwd): Call
12659 __hurd_canonicalize_directory_name_internal instead of
12660 _hurd_canonicalize_directory_name_internal.
12661 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12662 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12664 * sysdeps/hurd/include/hurd.h: New file.
12665 * sysdeps/hurd/include/hurd/fd.h: New file.
12666 * sysdeps/hurd/include/hurd/signal.h: New file.
12667 * sysdeps/mach/include/lock-intern.h: New file.
12668 * sysdeps/mach/include/mach.h: New file.
12669 * sysdeps/mach/include/mach/mig_support.h: New file.
12670 * sysdeps/mach/include/mach_error.h: New file.
12671 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12673 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12674 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12675 _HEADER_H_HIDDEN_DEF macro.
12676 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12677 _hurd_fd_error_signal): Add hidden prototype.
12678 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12680 * libio/iolibio.h (_IO_puts): New hidden prototype.
12681 * libio/ioputs.c (_IO_puts): New hidden def.
12682 * sysdeps/mach/hurd/localplt.data: New file.
12684 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12685 Amos Jeffries <squid3@treenet.co.nz>
12686 David Michael <fedora.dm0@gmail.com>
12687 Marco Gerards <marco@gnu.org>
12688 Marcus Brinkmann <marcus@gnu.org>
12689 Neal H. Walfield <neal@gnu.org>
12690 Pino Toscano <toscano.pino@tiscali.it>
12691 Richard Braun <rbraun@sceen.net>
12692 Roland McGrath <roland@gnu.org>
12693 Samuel Thibault <samuel.thibault@ens-lyon.org>
12694 Thomas DiModica <ricinwich@yahoo.com>
12695 Thomas Schwinge <tschwinge@gnu.org>
12697 * htl: New directory.
12698 * sysdeps/htl: New directory.
12699 * sysdeps/hurd/htl: New directory.
12700 * sysdeps/i386/htl: New directory.
12701 * sysdeps/mach/htl: New directory.
12702 * sysdeps/mach/hurd/htl: New directory.
12703 * sysdeps/mach/hurd/i386/htl: New directory.
12704 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12705 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12706 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12708 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12710 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12711 signals in thread created for runing timers.
12713 2018-04-01 Florian Weimer <fweimer@redhat.com>
12715 * support/support_format_addrinfo.c (support_format_addrinfo):
12716 Include unknown error number in formatted result.
12718 2018-03-29 Florian Weimer <fweimer@redhat.com>
12720 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12723 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12725 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12726 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12727 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12728 (__ASSUME_CLONE_BACKWARDS): Define.
12730 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12733 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12734 early when linux sentinel value is set.
12736 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12738 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12740 2018-03-27 Andreas Schwab <schwab@suse.de>
12743 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12744 allocation of private copy of nsaddr_list fails.
12746 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12749 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12750 * sysdeps/unix/sysv/linux/umount.c: ... here.
12751 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12752 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12753 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12754 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12756 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12757 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12759 2018-03-26 Andreas Schwab <schwab@suse.de>
12761 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12762 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12763 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12764 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12765 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12766 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12767 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12768 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12769 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12770 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12771 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12772 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12773 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12774 (R_RISCV_NUM): Define.
12776 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12778 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12779 TLS declaration of errno.
12780 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12782 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12783 (ARCH_SETUP_TLS): Likewise.
12784 * sysdeps/mach/hurd/libc-start.h: New file copied from
12785 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12786 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12787 instead of __libc_setup_tls.
12788 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12789 __libc_setup_tls before initializing libpthread and running _hurd_init
12790 which starts the signal thread.
12791 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12793 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12795 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12798 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12799 after it is defined.
12801 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12802 Max Horn <max@quendi.de>
12806 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12808 * string/test-memmove.c (do_test2): New testcase.
12810 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12812 * sysdeps/generic/frame.h: Remove file.
12813 * sysdeps/arm/frame.h: Likewise.
12814 * sysdeps/hppa/frame.h: Likewise.
12815 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12817 (GET_FRAME): Likewise.
12818 (GET_STACK): Likewise.
12819 (CALL_SIGHANDLER): Likewise.
12820 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12822 (GET_FRAME): Likewise.
12823 (GET_STACK): Likewise.
12824 (CALL_SIGHANDLER): Likewise.
12825 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12826 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12827 (GET_FRAME): Likewise.
12828 (GET_STACK): Likewise.
12829 (CALL_SIGHANDLER): Likewise.
12830 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12831 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12832 (GET_FRAME): Likewise.
12833 (GET_STACK): Likewise.
12834 (ADVANCE_STACK_FRAME): Likewise.
12835 (CALL_SIGHANDLER): Likewise.
12836 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12837 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12838 (GET_FRAME): Likewise.
12839 (GET_STACK): Likewise.
12840 (CALL_SIGHANDLER): Likewise.
12841 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12842 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12843 (GET_FRAME): Likewise.
12844 (GET_STACK): Likewise.
12845 (CALL_SIGHANDLER): Likewise.
12846 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12847 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12848 (GET_FRAME): Likewise.
12849 (GET_STACK): Likewise.
12850 (CALL_SIGHANDLER): Likewise.
12851 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12852 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12853 (GET_FRAME): Likewise.
12854 (GET_STACK): Likewise.
12855 (CALL_SIGHANDLER): Likewise.
12856 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12857 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12858 (GET_FRAME): Likewise.
12859 (GET_STACK): Likewise.
12860 (CALL_SIGHANDLER): Likewise.
12861 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12862 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12863 (GET_FRAME): Likewise.
12864 (GET_STACK): Likewise.
12865 (CALL_SIGHANDLER): Likewise.
12866 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12867 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12868 (GET_FRAME): Likewise.
12869 (GET_STACK): Likewise.
12870 (CALL_SIGHANDLER): Likewise.
12871 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12872 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12873 (GET_FRAME): Likewise.
12874 (GET_STACK): Likewise.
12875 (CALL_SIGHANDLER): Likewise.
12876 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12877 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12878 (GET_FRAME): Likewise.
12879 (GET_STACK): Likewise.
12880 (CALL_SIGHANDLER): Likewise.
12881 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12882 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12883 (FIRST_FRAME_POINTER): Likewise.
12884 (ADVANCE_STACK_FRAME): Likewise.
12885 (GET_STACK): Likewise.
12886 (GET_FRAME): Likewise.
12887 (CALL_SIGHANDLER): Likewise.
12888 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
12889 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12890 (ADVANCE_STACK_FRAME): Likewise.
12891 (GET_STACK): Likewise.
12892 (GET_FRAME): Likewise.
12893 (CALL_SIGHANDLER): Likewise.
12894 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
12895 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12896 (GET_FRAME): Likewise.
12897 (GET_STACK): Likewise.
12898 (CALL_SIGHANDLER): Likewise.
12899 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
12900 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12901 (GET_FRAME): Likewise.
12902 (GET_STACK): Likewise.
12903 (CALL_SIGHANDLER): Likewise.
12905 2018-03-21 Joseph Myers <joseph@codesourcery.com>
12907 * sysdeps/x86_64/backtrace.c: Move to ....
12908 * debug/backtrace.c: ... here.
12909 * sysdeps/aarch64/backtrace.c: Remove file.
12910 * sysdeps/alpha/backtrace.c: Likewise.
12911 * sysdeps/hppa/backtrace.c: Likewise.
12912 * sysdeps/ia64/backtrace.c: Likewise.
12913 * sysdeps/mips/backtrace.c: Likewise.
12914 * sysdeps/nios2/backtrace.c: Likewise.
12915 * sysdeps/riscv/backtrace.c: Likewise.
12916 * sysdeps/sh/backtrace.c: Likewise.
12917 * sysdeps/tile/backtrace.c: Likewise.
12919 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12922 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
12925 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
12928 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
12929 possibly overflowing computations.
12931 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12933 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
12934 values from Linux-specific section now that it is in the GNU section.
12935 * sysdeps/gnu/errlist.c: Regenerate.
12937 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12939 * math/Makefile (libm-narrow-fns): Add sub.
12940 (libm-test-funcs-narrow): Likewise.
12941 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
12942 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
12943 * math/gen-auto-libm-tests.c (test_functions): Add sub.
12944 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
12945 (NARROW_SUB_ROUND_TO_ODD): Likewise.
12946 (NARROW_SUB_TRIVIAL): Likewise.
12947 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
12949 (__dsubl): Likewise.
12950 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
12952 (CFLAGS-nldbl-dsub.c): New variable.
12953 (CFLAGS-nldbl-fsub.c): Likewise.
12954 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12956 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
12958 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
12959 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
12960 * math/auto-libm-test-in: Add tests of sub.
12961 * math/auto-libm-test-out-narrow-sub: New generated file.
12962 * math/libm-test-narrow-sub.inc: New file.
12963 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12964 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
12965 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
12966 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
12967 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
12968 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
12969 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
12970 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
12971 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
12975 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
12976 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
12977 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
12978 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
12979 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
12980 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
12981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12982 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
12983 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12984 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12985 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12986 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12987 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12988 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12989 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12990 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12991 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12992 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12993 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12994 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
12997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12999 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13000 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13010 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13013 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13015 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13017 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13019 2018-03-18 Richard Braun <rbraun@sceen.net>
13021 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13024 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13026 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13027 (__libc_cleanup_fct): Define function.
13028 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13029 __libc_cleanup_end): Rewrite implementation using
13030 __attribute__ ((__cleanup__)).
13031 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13032 * hurd/Makefile (routines): Add hurdlock.
13033 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13035 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13036 * hurd/hurdpid.c: Include <lowlevellock.h>
13037 (_S_msg_proc_newids): Use lll_wait to synchronize.
13038 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13039 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13040 * mach/Makefile (lock-headers): Remove machine-lock.h.
13041 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13043 (__spin_lock_t): New type.
13044 (__SPIN_LOCK_INITIALIZER): New macro.
13045 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13046 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13047 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13048 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13049 (__mutex_init): Initialize with lll.
13050 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13051 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13053 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13054 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13055 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13056 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13057 (__setpgid): Use lll for synchronization.
13058 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13059 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13060 instead of <cthreads.h>.
13061 (_IO_lock_inexpensive): New macro
13062 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13063 (__libc_lock_self0): New declaration.
13064 (__libc_lock_owner_self): New macro.
13065 (__libc_key_t): Remove type.
13066 (_LIBC_LOCK_INITIALIZER): New macro.
13067 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13068 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13069 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13070 __libc_lock_define_initialized_recursive,
13071 __rtld_lock_define_initialized_recursive,
13072 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13073 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13074 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13075 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13076 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13077 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13078 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13080 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13081 * hurd/hurdlock.c: New file.
13082 * hurd/hurdlock.h: New file.
13083 * mach/lowlevellock.h: New file
13085 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13087 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13088 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13089 when opening a symlink with O_NOFOLLOW.
13090 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13091 path when flags contains O_NOFOLLOW.
13092 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13093 if flags contains O_DIRECTORY and the result is a directory.
13094 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13095 oneself when the pointer given in D is nul (as set by ext2fs).
13096 * sysdeps/mach/hurd/mlockall.c: New file.
13097 * sysdeps/mach/hurd/munlockall.c: New file.
13099 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13101 * hurd/hurdsig.c: Include <pthread.h>.
13102 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13103 get the signal thread stack layout.
13104 * hurd/Makefile (headers): Remove threadvar.h.
13105 (inline-headers): Remove threadvar.h.
13106 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13107 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13108 __hurd_threadvar_max, __hurd_errno_location.
13109 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13110 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13111 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13112 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13113 unless TLS is not initialized yet, in which case we do not need a
13114 critical section yet anyway.
13115 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13117 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13119 (__hurd_threadvar_index): Remove enum.
13120 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13121 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13123 (__hurd_reply_port0): New variable declaration.
13124 (__hurd_local_reply_port): New macro.
13125 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13126 (interrupted_reply_port_location): Add thread_t parameter. Use it
13127 with THREAD_TCB to access thread-local variables.
13128 (_hurdsig_abort_rpcs): Pass ss->thread to
13129 interrupted_reply_port_location.
13130 (_hurd_internal_post_signal): Likewise.
13131 (_hurdsig_init): Use presence of cthread_fork instead of
13132 __hurd_threadvar_stack_mask to start signal thread by hand.
13133 Remove signal thread threadvar initialization.
13134 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13135 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13136 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13138 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13140 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13141 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13142 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13143 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13144 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13145 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13146 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13148 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13149 <hurd/threadvar.h>.
13150 [IS_IN(rtld)] (rtld_errno): New variable.
13151 [IS_IN(rtld)] (__errno_location): New weak function.
13152 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13153 * sysdeps/mach/hurd/errno.c: Remove file.
13154 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13155 (__fork): Remove THREADVAR_SPACE macro and its use.
13156 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13158 (init): Do not initialize threadvar.
13159 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13161 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13162 __hurd_local_reply_port instead of threadvar.
13163 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13164 _hurd_sigstate fields.
13165 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13166 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13167 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13168 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13169 instead of threadvar.
13170 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13171 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13172 (use_threadvar, global_reply_port): Remove variables.
13173 (__hurd_reply_port0): New variable.
13174 (__mig_get_reply_port): Use __hurd_local_reply_port and
13175 __hurd_reply_port0 instead of threadvar.
13176 (__mig_dealloc_reply_port): Likewise.
13177 (__mig_init): Do not initialize threadvar.
13178 * sysdeps/mach/hurd/profil.c: Fix comment.
13179 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13180 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13181 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13182 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13183 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13184 __cthread_setspecific.
13185 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13186 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13187 __cthread_t instead of cthread_fork, cthread_detach,
13188 pthread_getattr_np, pthread_attr_getstack.
13189 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13190 __cthread_keycreate.
13191 (cthread_getspecific): Rename to __cthread_getspecific.
13192 (cthread_setspecific): Rename to __cthread_setspecific.
13193 (__libc_getspecific): Use __cthread_getspecific instead of
13194 cthread_getspecific.
13195 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13196 __cthread_keycreate instead of cthread_keycreate.
13197 (__libc_setspecific): Use __cthread_setspecific instead of
13198 cthread_setspecific.
13199 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13202 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13203 testing whether it is defined.
13205 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13207 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13209 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13210 * sysdeps/mach/i386/thread_state.h
13211 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13213 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13215 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13217 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13218 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13220 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13222 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13223 descriptor instead of creating a new one.
13224 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13226 * mach/setup-thread.c: Include <ldsodefs.h>.
13227 (__mach_setup_thread): Call _dl_allocate_tls, pass
13228 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13229 MACHINE_THREAD_STATE_FLAVOR, before getting
13230 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13231 MACHINE_THREAD_STATE_FLAVOR with the result.
13232 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13233 MACHINE_THREAD_STATE_FIX_NEW.
13234 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13235 too. Add original thread parameter.
13237 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13239 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13240 Remove inline function.
13242 * sysdeps/i386/fpu/libm-test-ulps: Update.
13243 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13245 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13247 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13250 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13252 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13253 (__sincos_code): Remove define and undefine.
13254 [__FAST_MATH__] (__sincos): Remove inline function.
13255 [__FAST_MATH__] (__sincosf): Remove inline function.
13256 [__FAST_MATH__] (__sincosl): Remove inline function.
13257 (__atan2l): Remove inline functions.
13258 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13259 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13261 (floor): Remove inline function.
13263 [__FAST_MATH__] (__ldexp_code): Remove macro.
13264 [__FAST_MATH__] (ldexp): Remove inline function.
13265 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13266 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13267 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13268 [__USE_ISOC99] (__lrint_code): Remove macro.
13269 [__USE_ISOC99] (__llrint_code): Likewise.
13270 [__USE_ISOC99] (lrintf): Remove inline function.
13271 [__USE_ISOC99] (lrint): Likewise.
13272 [__USE_ISOC99] (lrintl): Likewise.
13273 [__USE_ISOC99] (llrint): Likewise.
13274 [__USE_ISOC99] (llrintf): Likewise.
13275 [__USE_ISOC99] (llrintl): Likewise.
13277 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13279 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13280 (__ieee754_sqrtf): Remove.
13281 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13282 (__ieee754_sqrtf): Remove.
13283 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13284 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13285 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13286 (__ieee754_sqrtf): Remove.
13287 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13288 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13291 (__ieee754_sqrt): Remove.
13292 (__ieee754_sqrtf): Remove.
13293 (__ieee754_sqrtl): Remove.
13294 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13295 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13296 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13297 (__ieee754_sqrtf): Remove.
13298 (__ieee754_sqrtl): Remove.
13300 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13302 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13303 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13304 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13305 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13306 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13307 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13308 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13309 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13311 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13312 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13313 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13314 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13315 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13316 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13317 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13318 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13319 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13320 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13321 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13322 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13323 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13324 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13325 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13326 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13327 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13328 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13329 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13330 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13331 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13332 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13333 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13335 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13336 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13337 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13338 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13339 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13340 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13341 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13342 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13343 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13344 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13345 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13346 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13347 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13348 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13349 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13350 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13352 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13354 * include/math.h (sqrt): Declare with asm redirect.
13357 (sqrtf128): Likewise.
13358 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13359 nonlib and libnldbl with -fmath-errno.
13360 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13361 * math/w_sqrt_template.c: Likewise.
13362 * math/w_sqrtf_compat.c: Likewise.
13363 * math/w_sqrtl_compat.c: Likewise.
13364 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13365 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13366 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13369 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13371 * benchtests/Makefile: Define _ISOMAC.
13372 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13373 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13374 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13375 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13376 * benchtests/bench-timing.h: Define attribute_hidden.
13378 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13380 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13383 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13386 * localedata/locales/cs_CZ (mon): Rename to...
13388 (mon): Import from CLDR (genitive case).
13390 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13393 * localedata/locales/el_CY (abmon): Rename to...
13394 (ab_alt_mon): This.
13395 (abmon): Import from CLDR (abbreviated genitive case).
13396 * localedata/locales/el_GR (abmon): Rename to...
13397 (ab_alt_mon): This.
13398 (abmon): Import from CLDR (abbreviated genitive case).
13400 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13403 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13405 2018-03-15 Robert Buj <robert.buj@gmail.com>
13408 * localedata/locales/ca_ES (abmon): Rename to...
13409 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13410 (mon): Rename to...
13412 (abmon): Import from CLDR (genitive case, month names preceded by
13415 (abday): Synchronize with CLDR.
13416 (d_t_fmt): Likewise.
13420 (LC_TIME): Improve indentation.
13421 (LC_TELEPHONE): Likewise.
13422 (LC_NAME): Likewise.
13423 (LC_ADDRESS): Likewise.
13425 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13427 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13428 (lrintf): Remove definitions used only with old GCC.
13429 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13430 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13431 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13432 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13433 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13434 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13435 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13436 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13437 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13438 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13439 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13440 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13441 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13442 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13443 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13444 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13445 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13446 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13447 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13448 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13449 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13450 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13451 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13452 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13453 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13454 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13455 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13456 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13458 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13460 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13461 instruction to unbreak builds with binutils 2.26 and older.
13463 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13465 * sysdeps/aarch64/strncmp.S (count): New macro.
13466 (strncmp): Store misaligned length in SRC1 in COUNT.
13467 (mutual_align): Adjust.
13468 (misaligned8): Load dword at a time when it is safe.
13470 2018-03-12 Zack Weinberg <zackw@panix.com>
13474 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13475 if the _IO_EOF_SEEN bit is already set; update commentary.
13476 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13477 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13479 * support/support_openpty.c, support/tty.h: New files.
13480 * support/Makefile (libsupport-routines): Add support_openpty.
13482 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13484 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13485 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13487 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13489 * po/pt_BR.po: Update translations.
13491 2018-03-12 David Michael <fedora.dm0@gmail.com>
13493 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13494 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13495 get a port to the startup server.
13497 2018-03-11 Zack Weinberg <zackw@panix.com>
13499 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13500 before nldbl-compat.h.
13502 2018-03-10 Zack Weinberg <zackw@panix.com>
13504 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13505 math.h or math_private.h.
13507 * sysdeps/alpha/fpu/s_isnan.c
13508 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13509 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13510 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13511 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13512 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13513 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13514 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13515 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13516 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13519 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13520 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13521 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13522 Include math_private.h.
13524 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13525 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13526 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13527 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13528 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13529 * sysdeps/powerpc/power7/fpu/s_logb.c:
13530 Include math.h and math_private.h.
13532 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13533 uses of $at in .set noat / .set at.
13535 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13537 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13538 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13539 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13540 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13543 2018-03-09 Florian Weimer <fweimer@redhat.com>
13545 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13548 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13551 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13552 Add nop before __startcontext, add explaining comments.
13554 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13557 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13559 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13560 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13561 Do not build hardware transactional code for __SPE__.
13562 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13563 (__lll_trylock_elision): Likewise.
13564 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13565 (__lll_unlock_elision): Likewise.
13567 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13568 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13569 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13570 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13571 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13572 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13573 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13574 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13575 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13576 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13577 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13578 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13579 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13580 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13581 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13582 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13583 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13584 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13585 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13586 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13587 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13588 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13589 (__ASSUME_CLONE_BACKWARDS): Define.
13590 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13591 __clone2 if __NR_clone2 is defined.
13592 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13593 (__ASSUME_CLONE_BACKWARDS): Likewise.
13594 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13595 (__ASSUME_CLONE_BACKWARDS): Likewise.
13596 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13597 (__ASSUME_CLONE2): Likewise.
13598 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13599 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13600 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13601 variants and the define architecture can use.
13602 (__ASSUME_CLONE_DEFAULT): Define as default.
13603 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13604 (__ASSUME_CLONE_BACKWARDS): Likewise.
13605 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13606 (__ASSUME_CLONE_BACKWARDS): Likewise.
13607 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13608 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13610 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13612 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13614 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13617 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13618 (do_test_limit): Likewise.
13620 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13621 for every implementation.
13622 (do_test): Likewise.
13624 * benchtests/bench-strncmp.c: Convert output to json.
13626 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13628 * io/futimens.c: Add missing start-of-file descriptive comment.
13629 * io/utime.c: Likewise.
13630 * misc/futimesat.c: Likewise.
13631 * misc/utimes.c: Likewise.
13632 * sysdeps/mach/hurd/futimesat.c: Likewise.
13633 * sysdeps/mach/hurd/utimes.c: Likewise.
13634 * sysdeps/posix/utime.c: Likewise.
13635 * sysdeps/posix/utimes.c: Likewise.
13636 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13637 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13638 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13639 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13641 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13643 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13645 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13646 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13647 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13648 (__futimens): Move implementation to...
13649 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13650 utime_tvalue_from_tspec): ... new helper functions.
13651 (hurd_futimens): New function.
13652 * sysdeps/mach/hurd/futimesat.c: New file.
13653 * sysdeps/mach/hurd/utimensat.c: New file.
13655 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13657 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13658 UTIME_OMIT): New macros.
13659 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13660 before reverting to converting time spec to time value and calling
13662 * sysdeps/mach/hurd/utime-helper.c: New file.
13663 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13664 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13665 reverting to utime_tvalue_from_tval and __file_utimes.
13666 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13667 (__lutimes): Just call hurd_futimens after lookup.
13668 * sysdeps/mach/hurd/utimes.c: Likewise.
13670 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13672 * bits/sigaction.h: Add include guard.
13673 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13674 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13675 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13676 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13677 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13678 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13679 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13680 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13681 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13683 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13685 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13686 -Wmaybe-uninitialized for -Os.
13687 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13690 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13692 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13693 __INO_T_MATCHES_INO64_T is defined.
13694 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13695 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13697 * dirent/alphasort64.c: Likewise.
13698 * dirent/scandir.c: Likewise.
13699 * dirent/scandir64-tail.c: Likewise.
13700 * dirent/scandir64.c: Likewise.
13701 * dirent/scandirat.c: Likewise.
13702 * dirent/scandirat64.c: Likewise.
13703 * dirent/versionsort.c: Likewise.
13704 * dirent/versionsort64.c: Likewise.
13705 * include/dirent.h: Likewise.
13707 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13708 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13709 for socketpair endpoint.
13710 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13711 WRITE_BUFFER_SIZE as buffer size for sending socket.
13712 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13713 issue on system where send is implemented with sendto syscall.
13714 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13715 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13716 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13717 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13720 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13721 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13722 sa_restorer for vDSO case.
13723 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13725 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13727 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13728 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13729 * hurd/hurd/ioctl.h: Include <mach/port.h>
13730 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13731 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13732 <mach/mach_types.h> and <mach/message.h>.
13733 (headers): Move mach/param.h to bits/mach/param.h.
13734 * sysdeps/mach/i386/mach/param.h: Move file to ...
13735 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13736 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13738 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13739 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13740 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13741 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13742 trivial, for C++ conformity.
13743 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13744 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13745 Process mig output through $(migheadersed).
13746 * hurd/Makefile (migheadersed): Define variable.
13747 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13748 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13750 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13751 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13752 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13753 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13754 <bits/types/sigset_t.h>.
13755 [!defined __USE_GNU]: Do not #error out.
13756 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13757 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13758 Include <stddef.h> and <bits/types/sigset_t.h>
13759 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13760 instead of sighandler_t.
13761 * stdlib/errno.h (error_t): Move definition to...
13762 * bits/types/error_t.h: ... new header.
13763 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13764 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13765 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13766 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13767 * hurd/hurd.h: Include <bits/types/error_t.h>
13768 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13769 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13770 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13771 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13772 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13773 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13774 * sysdeps/mach/hurd/futimens.c: New file.
13776 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13779 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13780 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13781 * nscd/gai.c (__nss_hosts_database): Readd definition.
13782 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13783 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13784 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13786 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13788 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13789 (ifunc_one): Likewise.
13791 2018-03-01 DJ Delorie <dj@delorie.com>
13794 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13797 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13799 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13800 `match_pid' parameter.
13801 (td_ta_thr_iter): Update accordingly.
13803 2018-03-01 Florian Weimer <fweimer@redhat.com>
13805 * nptl/Makefile (install-lib-ldscripts): Remove.
13806 (install): Remove rule.
13807 ($(inst_libdir)/libpthread.so): Likewise.
13809 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13812 * localedata/locales/an_ES: update month and day names,
13813 improve d_fmt, improve postal_fmt, add country_post,
13816 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13818 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13819 Ukrainian instead of Bulgarian.
13821 2018-03-01 Florian Weimer <fweimer@redhat.com>
13823 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13826 2018-03-01 Florian Weimer <fweimer@redhat.com>
13828 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13829 * nptl/Makefile (routines): Add pthread_atfork.
13830 (static-only-routines): Set to pthread_atfork.
13831 (libpthread-routines): Remove pthread_atfork.
13832 (libpthread-static-only-routines): Remove.
13833 (install): Update comment.
13834 (libpthread.so): Do not install libpthread_nonshared.a.
13835 (tests): Do not link with libpthread_nonshared.a.
13836 (generated): Remove libpthread_nonshared.a.
13837 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13838 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13839 with libpthread_nonshared.a.
13841 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13844 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13845 (libc_feholdexcept_setroundf128): New macro.
13846 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13849 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13851 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13852 * include/inttypes.h: New file.
13854 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13856 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13857 -Os in two more places.
13859 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13861 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13862 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13863 be sorted correctly at the moment because of a bug.
13865 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13867 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13868 treat ñ as a primary different character, sync the collation
13869 for Spanish with CLDR.
13870 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13871 * localedata/Makefile: Add new test files.
13872 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13873 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13875 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13876 * localedata/am_ET.UTF-8.in: New test file.
13877 * localedata/az_AZ.UTF-8.in: Likewise.
13878 * localedata/be_BY.UTF-8.in: Likewise.
13879 * localedata/ber_DZ.UTF-8.in: Likewise.
13880 * localedata/ber_MA.UTF-8.in: Likewise.
13881 * localedata/bg_BG.UTF-8.in: Likewise.
13882 * localedata/br_FR.UTF-8.in: Likewise.
13883 * localedata/cmn_TW.UTF-8.in: Likewise.
13884 * localedata/crh_UA.UTF-8.in: Likewise.
13885 * localedata/csb_PL.UTF-8.in: Likewise.
13886 * localedata/cv_RU.UTF-8.in: Likewise.
13887 * localedata/cy_GB.UTF-8.in: Likewise.
13888 * localedata/dz_BT.UTF-8.in: Likewise.
13889 * localedata/eo.UTF-8.in: Likewise.
13890 * localedata/es_ES.UTF-8.in: Likewise.
13891 * localedata/fa_IR.UTF-8.in: Likewise.
13892 * localedata/fi_FI.UTF-8.in: Likewise.
13893 * localedata/fil_PH.UTF-8.in: Likewise.
13894 * localedata/fur_IT.UTF-8.in: Likewise.
13895 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
13896 * localedata/ha_NG.UTF-8.in: Likewise.
13897 * localedata/ig_NG.UTF-8.in: Likewise.
13898 * localedata/ik_CA.UTF-8.in: Likewise.
13899 * localedata/kk_KZ.UTF-8.in: Likewise.
13900 * localedata/ku_TR.UTF-8.in: Likewise.
13901 * localedata/ky_KG.UTF-8.in: Likewise.
13902 * localedata/ln_CD.UTF-8.in: Likewise.
13903 * localedata/mi_NZ.UTF-8.in: Likewise.
13904 * localedata/ml_IN.UTF-8.in: Likewise.
13905 * localedata/mn_MN.UTF-8.in: Likewise.
13906 * localedata/mr_IN.UTF-8.in: Likewise.
13907 * localedata/mt_MT.UTF-8.in: Likewise.
13908 * localedata/nb_NO.UTF-8.in: Likewise.
13909 * localedata/om_KE.UTF-8.in: Likewise.
13910 * localedata/os_RU.UTF-8.in: Likewise.
13911 * localedata/ps_AF.UTF-8.in: Likewise.
13912 * localedata/ro_RO.UTF-8.in: Likewise.
13913 * localedata/ru_RU.UTF-8.in: Likewise.
13914 * localedata/sc_IT.UTF-8.in: Likewise.
13915 * localedata/se_NO.UTF-8.in: Likewise.
13916 * localedata/sq_AL.UTF-8.in: Likewise.
13917 * localedata/sv_SE.UTF-8.in: Likewise.
13918 * localedata/szl_PL.UTF-8.in: Likewise.
13919 * localedata/tg_TJ.UTF-8.in: Likewise.
13920 * localedata/tk_TM.UTF-8.in: Likewise.
13921 * localedata/tt_RU.UTF-8.in: Likewise.
13922 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
13923 * localedata/ug_CN.UTF-8.in: Likewise.
13924 * localedata/uz_UZ.UTF-8.in: Likewise.
13925 * localedata/vi_VN.UTF-8.in: Likewise.
13926 * localedata/yi_US.UTF-8.in: Likewise.
13927 * localedata/yo_NG.UTF-8.in: Likewise.
13928 * localedata/zh_CN.UTF-8.in: Likewise.
13929 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
13930 file and fix bugs in the collation.
13931 * localedata/locales/az_AZ: Likewise.
13932 * localedata/locales/be_BY: Likewise.
13933 * localedata/locales/ber_DZ: Likewise.
13934 * localedata/locales/ber_MA: Likewise.
13935 * localedata/locales/bg_BG: Likewise.
13936 * localedata/locales/br_FR: Likewise.
13937 * localedata/locales/br_FR@euro: Likewise.
13938 * localedata/locales/ca_ES: Likewise.
13939 * localedata/locales/cns11643_stroke: Likewise.
13940 * localedata/locales/crh_UA: Likewise.
13941 * localedata/locales/cs_CZ: Likewise.
13942 * localedata/locales/csb_PL: Likewise.
13943 * localedata/locales/cv_RU: Likewise.
13944 * localedata/locales/cy_GB: Likewise.
13945 * localedata/locales/da_DK: Likewise.
13946 * localedata/locales/dz_BT: Likewise.
13947 * localedata/locales/en_CA: Likewise.
13948 * localedata/locales/eo: Likewise.
13949 * localedata/locales/es_CU: Likewise.
13950 * localedata/locales/es_EC: Likewise.
13951 * localedata/locales/es_ES: Likewise.
13952 * localedata/locales/es_US: Likewise.
13953 * localedata/locales/et_EE: Likewise.
13954 * localedata/locales/fa_IR: Likewise.
13955 * localedata/locales/fi_FI: Likewise.
13956 * localedata/locales/fil_PH: Likewise.
13957 * localedata/locales/fur_IT: Likewise.
13958 * localedata/locales/gez_ER@abegede: Likewise.
13959 * localedata/locales/ha_NG: Likewise.
13960 * localedata/locales/hr_HR: Likewise.
13961 * localedata/locales/hsb_DE: Likewise.
13962 * localedata/locales/hu_HU: Likewise.
13963 * localedata/locales/ig_NG: Likewise.
13964 * localedata/locales/ik_CA: Likewise.
13965 * localedata/locales/is_IS: Likewise.
13966 * localedata/locales/iso14651_t1_pinyin: Likewise.
13967 * localedata/locales/kk_KZ: Likewise.
13968 * localedata/locales/ku_TR: Likewise.
13969 * localedata/locales/ky_KG: Likewise.
13970 * localedata/locales/ln_CD: Likewise.
13971 * localedata/locales/lt_LT: Likewise.
13972 * localedata/locales/lv_LV: Likewise.
13973 * localedata/locales/mi_NZ: Likewise.
13974 * localedata/locales/ml_IN: Likewise.
13975 * localedata/locales/mn_MN: Likewise.
13976 * localedata/locales/mr_IN: Likewise.
13977 * localedata/locales/mt_MT: Likewise.
13978 * localedata/locales/nb_NO: Likewise.
13979 * localedata/locales/om_KE: Likewise.
13980 * localedata/locales/os_RU: Likewise.
13981 * localedata/locales/pl_PL: Likewise.
13982 * localedata/locales/ps_AF: Likewise.
13983 * localedata/locales/ro_RO: Likewise.
13984 * localedata/locales/ru_RU: Likewise.
13985 * localedata/locales/ru_UA: Likewise.
13986 * localedata/locales/sc_IT: Likewise.
13987 * localedata/locales/se_NO: Likewise.
13988 * localedata/locales/si_LK: Likewise.
13989 * localedata/locales/sq_AL: Likewise.
13990 * localedata/locales/sv_FI: Likewise.
13991 * localedata/locales/sv_FI@euro: Likewise.
13992 * localedata/locales/sv_SE: Likewise.
13993 * localedata/locales/szl_PL: Likewise.
13994 * localedata/locales/tg_TJ: Likewise.
13995 * localedata/locales/ti_ER: Likewise.
13996 * localedata/locales/tk_TM: Likewise.
13997 * localedata/locales/tl_PH: Likewise.
13998 * localedata/locales/tr_TR: Likewise.
13999 * localedata/locales/tt_RU: Likewise.
14000 * localedata/locales/tt_RU@iqtelif: Likewise.
14001 * localedata/locales/ug_CN: Likewise.
14002 * localedata/locales/uk_UA: Likewise.
14003 * localedata/locales/uz_UZ: Likewise.
14004 * localedata/locales/uz_UZ@cyrillic: Likewise.
14005 * localedata/locales/vi_VN: Likewise.
14006 * localedata/locales/yi_US: Likewise.
14007 * localedata/locales/yo_NG: Likewise.
14009 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14011 * gen-locales.mk: Make test files which contain @ modifiers in their
14013 * localedata/gen-locale.sh: Likewise.
14015 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14017 * posix/tst-fnmatch.input: Fix results for range expressions
14019 * posix/tst-regexloc.c: Do not use a range expression for
14020 de_DE.ISO-8859-1 locale.
14022 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14024 * posix/bug-regex5.c: Fix test case because with the new
14025 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14026 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14029 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14031 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14032 downloaded from ISO, the collation order of @-. and space has changed.
14033 Therefore, this test file needed to be adapted.
14034 * localedata/fr_CA.UTF-8.in: Likewise.
14035 * localedata/fr_FR.UTF-8.in: Likewise.
14036 * localedata/uk_UA.UTF-8.in: Likewise.
14038 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14040 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14041 order of ȥ in the new iso14651_t1_common file.
14042 * localedata/pl_PL.UTF-8.in: Likewise.
14044 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14046 * localedata/locales/iso14651_t1_common: Add sections for various
14047 scripts to the iso14651_t1_common file.
14049 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14051 * localedata/locales/iso14651_t1_common: Use the code point of a
14052 character in the fourth collation level instead of IGNORE for all
14053 entries which have IGNORE on all 4 levels.
14055 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14057 * localedata/locales/iso14651_t1_common: Add some convenient collation
14058 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14059 rules similar to those in CLDR.
14061 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14063 * localedata/locales/iso14651_t1_common: The new version of this
14064 file downloaded from ISO contained several syntax errors which
14065 are fixed by this patch.
14067 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14069 * localedata/locales/iso14651_t1_common: replace all <U.....>
14070 with <U000.....> because glibc understands only 4 digit or 8 digit
14072 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14074 * localedata/locales/iso14651_t1_common: Necessary changes
14075 to make the file downloaded from ISO usable by glibc.
14077 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14080 * localedata/locales/iso14651_t1_common: Update file to
14081 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14083 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14085 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14086 of <nptl/pthreadP.h>
14087 (thread_attr_compare): Move function to...
14088 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14089 * sysdeps/nptl/timer_routines.h: ... new header.
14090 * sysdeps/mach/hurd/gai_misc.h: New file.
14092 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14094 * string/strcoll_l.c: Include <libc-diag.h>.
14095 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14096 declarations of seq1 and seq2.
14099 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14100 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14102 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14106 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14107 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14108 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14109 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14110 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14111 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14113 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14115 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14116 macros used in __ptrace_request.
14118 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14121 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14123 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14124 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14125 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14128 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14131 * ctype/ctype.c (tolower): Use libc_hidden_def.
14132 (toupper): Likewise.
14133 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14134 [!_ISOMAC] (toupper): Likewise.
14136 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14138 * localedata/Makefile: Remove --quiet argument when
14141 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14144 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14146 * localedata/locales/pt_PT (LC_TIME): likewise
14148 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14151 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14152 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14153 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14155 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14159 * nptl/Makefile (routines): Remove unregister-atfork.
14160 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14161 (fork_handler_alloc): Remove function.
14162 (fork_handlers, fork_handler_init): New variables.
14163 (__fork_lock): Rename to atfork_lock.
14164 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14165 to use a dynamic array to add/remove atfork handlers.
14166 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14167 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14168 Remove declaration.
14169 (fork_handler): Remove next, refcntr, and need_signal member.
14170 (__run_fork_handler_type): New enum.
14171 (__run_fork_handlers): New prototype.
14172 * nptl/register-atfork.c: Remove file.
14173 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14175 * sysdeps/nptl/nptl-signals.h: Move to ...
14176 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14178 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14179 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14180 unnecessary check for SIGTIMER.
14181 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14182 remove unnecessary removal of SIGTIMER.
14183 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14184 include-signals.h rename.
14185 * nptl/pthreadP.h: Likewise.
14186 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14187 __is_internal_signal instead of __nptl_is_internal_signal.
14189 2018-02-22 Andrew Waterman <andrew@sifive.com>
14192 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14193 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14194 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14195 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14197 2018-02-22 DJ Delorie <dj@delorie.com>
14199 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14201 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14203 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14204 do_misaligned, not misaligned8.
14206 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14208 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14209 Add memcpy_thunderx2.
14210 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14212 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14213 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14214 and IS_THUNDERX2PA checks.
14215 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14216 Use macro to set name appropriately.
14217 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14218 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14219 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14221 (IS_THUNDERX2): New macro.
14223 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14225 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14227 2018-02-21 Zack Weinberg <zackw@panix.com>
14229 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14230 Define here, unconditionally.
14231 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14232 * libio/libioP.h: Remove #if 0 blocks.
14233 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14234 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14235 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14237 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14238 Assume weak_alias is always defined.
14240 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14241 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14242 Remove #if 0 and #ifdef TODO blocks.
14243 Assume text_set_element is always defined.
14245 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14246 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14247 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14249 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14250 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14251 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14252 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14253 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14254 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14255 Reformat bit flags for _flags field to make occupancy clearer.
14257 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14258 Keep definitions consistent with those in libio/libio.h.
14260 * libio/libio.h (_IO_file_flags): Remove macro.
14261 All uses changed to _flags.
14263 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14264 (__HAVE_COLUMN, _IO_BE): Don't define.
14265 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14266 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14267 * libio/libioP.h (EOF): Don't define.
14268 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14269 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14270 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14271 testing _IO_UNIFIED_JUMPTABLES.
14273 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14274 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14275 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14276 (_IO_size_t): Delete; all uses changed to size_t.
14277 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14278 (_IO_off_t): Delete; all uses changed to off_t.
14279 (_IO_off64_t): Delete; all uses changed to off64_t.
14280 (_IO_pid_t): Delete; all uses changed to pid_t.
14281 (_IO_uid_t): Delete; all uses changed to uid_t.
14282 (_IO_wint_t): Delete; all uses changed to wint_t.
14283 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14284 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14285 (_IO_cookie_io_functions_t): Delete; all uses changed to
14286 cookie_io_functions_t.
14287 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14288 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14289 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14290 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14292 * libio/iofopncook.c: Remove unnecessary forward declarations.
14293 * libio/iolibio.h: Correct outdated commentary.
14294 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14295 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14296 Remove unnecessary casts.
14297 * stdio-common/getline.c: Use _IO_getdelim directly.
14298 Don't redefine ssize_t.
14299 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14300 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14301 Remove outdated comments.
14302 * stdio-common/vfscanf.c: Don't redefine va_list.
14304 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14305 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14306 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14307 which are always true, and __cplusplus, which is always false.
14309 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14313 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14314 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14315 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14316 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14318 [!_ISOMAC] (putc_unlocked): Likewise.
14319 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14320 define inline if [__USE_EXTERN_INLINES].
14321 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14326 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14327 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14328 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14329 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14330 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14332 * time/tzfile.c (__tzfile_read): Likewise.
14334 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14337 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14339 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14341 * io/fcntl.h: Fix a typo in a comment.
14343 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14346 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14347 define _DEFAULT_SOURCE.
14348 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14350 2018-02-21 Florian Weimer <fweimer@redhat.com>
14353 * elf/cache.c (save_cache): Call fsync on temporary file before
14355 (save_aux_cache): Call fdatasync on temporary file before renaming
14358 2018-02-21 Florian Weimer <fweimer@redhat.com>
14361 * include/caller.h: Remove file.
14362 * elf/dl-caller.c: Likewise.
14363 * elf/Makefile (dl-routines): Remove dl-caller.
14364 (shared-only-routines): Do not add dl-caller.
14365 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14367 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14369 (dl_open_worker): Do not call __check_caller.
14370 (_dl_open): Do not set caller_dl_open member.
14371 * elf/rtld.c (_rtld_global_ro): Do not initialize
14372 _dl_check_caller member.
14373 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14374 _dl_check_caller member.
14375 (_dl_check_caller): Remove declaration.
14376 * sysdeps/unix/sysv/linux/dl-execstack.c
14377 (_dl_make_stack_executable): Do not call __check_caller.
14379 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14381 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14382 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14384 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14386 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14389 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14392 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14393 of 199606L, 200112L, and 200809L.
14394 (_XOPEN_SOURCE): Document special values of 600 and 700.
14395 (_ISOC11_SOURCE): Document macro.
14396 (_ATFILE_SOURCE): Likewise.
14397 (_FORTIFY_SOURCE): Likewise.
14399 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14403 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14404 and define as weak alias of __ferror_unlocked. Use
14406 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14408 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14409 function if [__USE_EXTERN_INLINES].
14410 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14413 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14416 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14418 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14421 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14422 the GLIBC_2.1 version.
14424 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14427 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14428 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14429 intl/tst-gettext-de.po from po/de.po by removing the
14430 POT-Creation-Date line.
14431 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14433 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14436 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14438 * mach/Makefile (headers): Add mach/param.h.
14439 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14440 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14441 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14442 (__ptsname_r): Move implementation to...
14443 (__ptsname_internal): ... new function. Add filling the STP
14446 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14448 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14451 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14453 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14456 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14458 * nptl/Makefile (tst-mutex8-ENV): Delete.
14459 * nptl/tst-mutex8.c (check_type):
14460 Add runtime check if mutex will be elided.
14462 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14466 * manual/install.texi (Configuring and compiling): Describe
14467 passing CC and CFLAGS on configure command line, not as
14468 environment variables. Use @code markup on those variables.
14469 Specify what options go in CC and what go in CFLAGS. Note the
14470 requirement to compile with optimization.
14471 * INSTALL: Regenerated.
14474 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14475 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14476 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14477 __sigprocmask instead of sigprocmask.
14478 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14480 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14481 __sigsetjmp and sigprocmask.
14484 * include/argz.h (argz_next): Use libc_hidden_proto.
14485 (__argz_next): Likewise.
14486 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14487 (argz_next): Use libc_hidden_weak.
14490 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14492 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14496 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14498 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14502 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14503 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14504 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14505 (__feof_unlocked): New declaration, and inline function if
14506 [__USE_EXTERN_INLINES].
14507 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14508 instead of feof_unlocked.
14509 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14510 * nss/nsswitch.c (nss_parse_file): Likewise.
14511 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14513 * time/getdate.c (__getdate_r): Likewise.
14514 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14515 Define as macro to call __feof_unlocked.
14517 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14519 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14521 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14523 * math/Makefile: Remove mpexp.c and mplog.c
14524 * sysdeps/i386/fpu/mpexp.c: Delete file.
14525 * sysdeps/i386/fpu/mplog.c: Likewise.
14526 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14527 * sysdeps/ia64/fpu/mplog.c: Likewise.
14528 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14529 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14530 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14531 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14532 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14533 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14534 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14535 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14536 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14537 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14538 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14539 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14540 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14541 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14542 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14543 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14545 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14547 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14549 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14551 * sysdeps/sh/libm-test-ulps: Update.
14553 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14555 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14558 2018-02-12 Zack Weinberg <zackw@panix.com>
14561 * posix/sys/types.h: Don't include sys/sysmacros.h.
14562 * misc/sys/sysmacros.h: Remove the conditional deprecation
14563 warnings for the macros defined by this header.
14565 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14567 * manual/probes.texi: Remove slowexp probes.
14568 * math/Makefile: Remove slowexp.
14569 * sysdeps/generic/math_private.h (__slowexp): Remove.
14570 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14571 document error bounds.
14572 * sysdeps/i386/fpu/slowexp.c: Remove.
14573 * sysdeps/ia64/fpu/slowexp.c: Remove.
14574 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14575 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14576 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14577 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14578 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14579 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14580 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14581 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14582 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14583 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14584 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14586 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14589 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14590 * benchtests/pow-inputs: Update comment for slow path cases.
14591 * manual/probes.texi (slowpow_p10): Delete removed probe.
14592 (slowpow_p10): Likewise.
14593 * math/Makefile: Remove halfulp.c and slowpow.c.
14594 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14595 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14596 (__halfulp): Remove.
14597 (__slowpow): Remove.
14598 * sysdeps/i386/fpu/halfulp.c: Delete file.
14599 * sysdeps/i386/fpu/slowpow.c: Likewise.
14600 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14601 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14602 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14603 improve comments and add error analysis.
14604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14605 (power1): Remove function:
14606 (log1): Remove error argument, add error analysis.
14607 (my_log2): Remove function.
14608 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14609 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14610 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14611 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14612 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14613 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14614 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14615 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14616 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14617 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14618 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14619 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14620 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14621 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14623 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14625 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14626 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14628 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14631 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14632 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14633 and PTRACE_SETHBPREGS.
14635 2018-02-10 Zack Weinberg <zackw@panix.com>
14638 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14640 * malloc/tst-malloc-stats-cancellation.c: New test case.
14641 * malloc/Makefile: Add new test case.
14643 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14645 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14647 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14649 * math/Makefile (libm-narrow-fns): Add add.
14650 (libm-test-funcs-narrow): Likewise.
14651 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14652 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14653 * math/gen-auto-libm-tests.c (test_functions): Add add.
14654 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14655 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14656 (NARROW_ADD_TRIVIAL): Likewise.
14657 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14659 (__daddl): Likewise.
14660 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14662 (CFLAGS-nldbl-dadd.c): New variable.
14663 (CFLAGS-nldbl-fadd.c): Likewise.
14664 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14666 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14668 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14669 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14670 * math/auto-libm-test-in: Add tests of add.
14671 * math/auto-libm-test-out-narrow-add: New generated file.
14672 * math/libm-test-narrow-add.inc: New file.
14673 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14674 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14675 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14676 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14677 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14678 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14679 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14684 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14687 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14688 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14689 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14690 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14692 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14693 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14694 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14695 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14696 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14697 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14698 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14699 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14700 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14701 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14702 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14703 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14704 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14709 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14710 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14711 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14712 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14713 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14714 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14715 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14716 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14717 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14718 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14720 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14721 (f128-pairs): New variable.
14722 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14723 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14725 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14726 Also make tests add $(f128-loader-link) to gnulib-tests.
14728 2018-02-09 DJ Delorie <dj@redhat.com>
14731 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14732 64-bit ELF type for 64-bit ELF objects.
14734 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14736 * math/libm-test-driver.c (snan_tests_arg): New variable.
14737 * math/libm-test-support.h (snan_tests_arg): New declaration.
14738 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14740 * math/Makefile (test-type-pairs): New variable.
14741 (test-type-pairs-f64xf128-yes): Likewise.
14742 (tests): Add test-narrow-macros.
14743 (libm-test-funcs-narrow): New variable.
14744 (libm-test-c-narrow): Likewise.
14745 (generated): Add $(libm-test-c-narrow).
14746 (libm-tests-base-narrow): New variable.
14747 (libm-tests-narrow): Likewise.
14748 (libm-tests): Add $(libm-tests-narrow).
14749 (libm-tests-for-type): Handle $(libm-tests-narrow).
14750 (libm-test-c-narrow-obj): New variable.
14751 ($(libm-test-c-narrow-obj)): New rule.
14752 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14753 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14754 $(o-iterator) to set dependencies and CFLAGS.
14755 * math/gen-auto-libm-tests.c: Document use for narrowing
14757 (output_for_one_input_case): Take argument NARROW.
14758 (generate_output): Likewise. Update call to
14759 output_for_one_input_case.
14760 (main): Take --narrow option. Update call to generate_output.
14761 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14762 (apply_lit): Update call to _apply_lit.
14763 (apply_arglit): New function.
14764 (parse_args): Handle "a" arguments.
14765 (parse_auto_input): Handle format names using ":".
14766 * math/README.libm-test: Document "a" parameter type.
14767 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14768 (ARG_TYPE_TRUE_MIN): Likewise.
14769 (ARG_TYPE_MAX): Likwise.
14770 (ARG_MIN_EXP): Likewise.
14771 (ARG_MAX_EXP): Likewise.
14772 (ARG_MANT_DIG): Likewise.
14773 (TEST_COND_arg_ibm128): Likewise.
14774 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14775 (TEST_COND_arg_fmt): New macro.
14776 (init_max_error): Update prototype.
14777 * math/libm-test-support.c (test_ibm128): New variable.
14778 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14779 instead of using [TEST_COND_ibm128] conditional.
14780 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14781 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14782 [TEST_NARROW] (TEST_MSG): New definition.
14783 (arg_plus_zero): New macro.
14784 (arg_minus_zero): Likewise.
14785 (arg_plus_infty): Likewise.
14786 (arg_minus_infty): Likewise.
14787 (arg_qnan_value_pl): Likewise.
14788 (arg_qnan_value): Likewise.
14789 (arg_snan_value_pl): Likewise.
14790 (arg_snan_value): Likewise.
14791 (arg_max_value): Likewise.
14792 (arg_min_value): Likewise.
14793 (arg_min_subnorm_value): Likewise.
14794 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14795 (RUN_TEST_LOOP_aa_f): New macro.
14796 (TEST_SUFF): New macro.
14797 (TEST_SUFF_STR): Likewise.
14798 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14799 (TEST_COND_any_ibm128): New macro.
14800 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14801 this_func. Update call to init_max_error.
14802 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14803 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14804 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14805 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14806 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14807 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14808 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14809 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14810 * math/test-math-vector.h (TEST_NARROW): Likewise.
14811 * math/test-arg-double.h: New file.
14812 * math/test-arg-float128.h: Likewise.
14813 * math/test-arg-float32x.h: Likewise.
14814 * math/test-arg-float64.h: Likewise.
14815 * math/test-arg-float64x.h: Likewise.
14816 * math/test-arg-ldouble.h: Likewise.
14817 * math/test-math-narrow.h: Likewise.
14818 * math/test-narrow-macros.c: Likewise.
14819 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14820 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14821 test-narrow-macros-ldbl-64.
14822 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14824 * math/bits/mathcalls-narrow.h: New file.
14825 * include/bits/mathcalls-narrow.h: Likewise.
14826 * math/math-narrow.h: Likewise.
14827 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14828 (__MATHCALL_NARROW_ARGS_2): Likewise.
14829 (__MATHCALL_NARROW_ARGS_3): Likewise.
14830 (__MATHCALL_NARROW_NORMAL): Likewise.
14831 (__MATHCALL_NARROW_REDIR): Likewise.
14832 (__MATHCALL_NARROW): Likewise.
14833 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14834 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14836 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14837 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14838 (libm-narrow-fns): New variable.
14839 (libm-narrow-types-basic): Likewise.
14840 (libm-narrow-types-ldouble-yes): Likewise.
14841 (libm-narrow-types-float128-yes): Likewise.
14842 (libm-narrow-types-float128-alias-yes): Likewise.
14843 (libm-narrow-types): Likewise.
14844 (libm-routines): Add narrowing functions.
14845 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14846 (libc_feholdexcept_setroundf128): New macro.
14847 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14848 * sysdeps/ieee754/float128/float128_private.h: Include
14849 <math/math-narrow.h>.
14850 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14851 Undefine and redefine.
14852 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14853 (libm_alias_float_ldouble): Undefine and redefine.
14854 (libm_alias_double_ldouble): Likewise.
14856 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14858 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14860 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14863 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14865 * manual/creature.texi: Convert references to gcc.info to gcc.
14866 * manual/stdio.texi: Likewise.
14867 * manual/string.texi: Likewise.
14869 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14872 * posix/bits/types.h (__int_least8_t): New typedef.
14873 (__uint_least8_t): Likewise.
14874 (__int_least16_t): Likewise.
14875 (__uint_least16_t): Likewise.
14876 (__int_least32_t): Likewise.
14877 (__uint_least32_t): Likewise.
14878 (__int_least64_t): Likewise.
14879 (__uint_least64_t): Likewise.
14880 * sysdeps/generic/stdint.h (int_least8_t): Define using
14882 (int_least16_t): Define using __int_least16_t.
14883 (int_least32_t): Define using __int_least32_t.
14884 (int_least64_t): Define using __int_least64_t.
14885 (uint_least8_t): Define using __uint_least8_t.
14886 (uint_least16_t): Define using __uint_least16_t.
14887 (uint_least32_t): Define using __uint_least32_t.
14888 (uint_least64_t): Define using __uint_least64_t.
14889 * wcsmbs/uchar.h: Include <bits/types.h>.
14890 (char16_t): Define using __uint_least16_t conditional only on
14892 (char32_t): Define using __uint_least32_t conditional only on
14894 * wcsmbs/test-char-types.c: New file.
14895 * wcsmbs/Makefile (tests): Add test-char-types.
14897 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14900 2018-02-07 Zack Weinberg <zackw@panix.com>
14902 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
14903 Delete all contents except for definitions of _G_HAVE_MMAP and
14904 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
14905 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
14906 sysdeps/unix/sysv/linux/_G_config.h. Make same content
14909 * libio/libio.h: Don't include bits/_G_config.h here.
14910 Include stddef.h with __need_wchar_t defined. Include
14911 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
14912 Define _IO_iconv_t here, directly.
14913 Don't define _IO_HAVE_ST_BLKSIZE.
14914 * libio/libioP.h: Include _G_config.h here. Move include of
14915 shlib-compat.h up with rest of includes. Simplify conditionals
14916 controlling definition of _IO_JUMPS_OFFSET.
14918 * csu/init.c: Remove always-true #if around entire file.
14919 Don't include stdio.h. Set _IO_stdin_used to hardwired
14920 constant 0x20001, and update commentary.
14921 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
14922 Replace all uses of _G_va_list with __gnuc_va_list.
14923 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
14924 instead of #if _IO_HAVE_ST_BLKSIZE.
14925 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
14926 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
14929 * libio/bits/libio.h: Move back to libio/libio.h and adjust
14930 multiple-include guard to match.
14931 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
14933 Remove preprocessor conditionals that are always true and/or
14934 redundant to other preprocessor conditionals in the same nest.
14935 Include shlib-compat.h unconditionally.
14936 Error out if _LIBC is not defined, or if _ISOMAC is defined,
14937 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
14938 defined after including stdio.h.
14939 Use __BEGIN_DECLS/__END_DECLS.
14941 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
14942 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
14943 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
14945 2018-02-07 Zack Weinberg <zackw@panix.com>
14947 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
14948 New single-type headers split from _G_config.h.
14949 * libio/bits/types/cookie_io_functions_t.h
14950 * libio/bits/types/struct_FILE.h
14951 New single-type headers split from libio.h.
14953 * libio/Makefile: Install the above new headers. Don't install
14954 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
14956 * libio/_G_config.h, libio/libio.h: Delete file.
14958 * libio/bits/libio.h: Remove improper-inclusion guard.
14959 Include stdio.h and don't repeat anything that it does.
14960 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
14961 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
14962 __io_read_fn as cookie_read_function_t,
14963 __io_write_fn as cookie_write_function_t,
14964 __io_seek_fn as cookie_seek_function_t,
14965 __io_close_fn as cookie_close_function_t,
14966 and _IO_cookie_io_functions_t as cookie_io_functions_t.
14967 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
14968 here, in the "compatibility defines" section. Remove an #if 0
14969 block. Use the "body" macros from bits/types/struct_FILE.h to
14970 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
14971 and _IO_ferror_unlocked.
14972 Move prototypes of __uflow and __overflow...
14974 * libio/stdio.h: ...here. Don't include bits/libio.h.
14975 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
14976 directly from stdarg.h. Include bits/types/__fpos_t.h,
14977 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
14978 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
14979 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
14980 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
14981 cookie_io_functions_t, not _IO_cookie_io_functions_t;
14982 __ssize_t, not _IO_ssize_t. Unconditionally define
14983 BUFSIZ as 8192 and EOF as (-1).
14985 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
14986 macros from bits/types/struct_FILE.h instead of _IO_* macros
14987 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
14988 instead of _IO_ssize_t.
14989 * libio/bits/stdio2.h: Similarly.
14991 * libio/iolibio.h: Add multiple-include guard.
14992 Include bits/libio.h after stdio.h.
14993 * libio/libioP.h: Add multiple-include guard.
14994 Include stdio.h and bits/libio.h before iolibio.h.
14996 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
14997 * include/bits/types/cookie_io_functions_t.h
14998 * include/bits/types/struct_FILE.h: New wrappers.
15000 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15001 Get definitions of _G_fpos_t and _G_fpos64_t from
15002 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15003 respectively. Remove improper-inclusion guards.
15005 * conform/data/stdio.h-data: Update expectations of va_list.
15006 * scripts/check-installed-headers.sh: Remove special case for
15007 libio.h and _G_config.h.
15009 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15013 * include/sys/sysmacros.h [!_ISOMAC]
15014 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15015 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15016 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15017 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15019 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15020 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15022 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15023 Undefine and redefine to add use __gnu_dev_ prefix.
15024 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15026 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15027 and define as hidden inline function.
15028 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15030 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15032 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15033 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15034 (gnu_dev_minor): Likewise.
15035 (gnu_dev_makedev): Likewise.
15036 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15038 * posix/wordexp.c (exec_comm_child): Likewise.
15039 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15040 instead of minor and __gnu_dev_major instead of major.
15041 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15042 __gnu_dev_major instead of major.
15043 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15044 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15045 instead of gnu_dev_minor.
15046 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15047 (SLAVE_P): Likewise.
15048 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15049 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15053 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15055 * locale/weightwc.h (findidx): Likewise.
15057 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15059 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15060 (slowlog_inexact): Likewise
15061 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15062 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15064 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15067 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15068 missing second underscore to parameter name.
15070 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15076 * bits/byteswap.h: Update file comment. Do not include
15077 <bits/byteswap-16.h>.
15078 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15080 (__bswap_16): Define as inline function.
15081 (__bswap_constant_32): Reformat definition.
15082 (__bswap_32): Always define as inline function, not macro, using
15083 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15084 otherwise __bswap_constant_32.
15085 (__bswap_constant_64): Reformat definition. Do not use
15086 __extension__ here.
15087 (__bswap_64): Always define as inline function, not macro. Use
15088 __extension__ on function definition. Use __builtin_bswap64 if
15089 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15090 * string/test-endian-file-scope.c: New file.
15091 * string/test-endian-sign-conversion.c: Likewise.
15092 * string/Makefile (headers): Remove bits/byteswap-16.h.
15093 (tests): Add test-endian-file-scope and
15094 test-endian-sign-conversion.
15095 (CFLAGS-test-endian-sign-conversion.c): New variable.
15096 * bits/byteswap-16.h: Remove file.
15097 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15098 * sysdeps/ia64/bits/byteswap.h: Likewise.
15099 * sysdeps/m68k/bits/byteswap.h: Likewise.
15100 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15101 * sysdeps/s390/bits/byteswap.h: Likewise.
15102 * sysdeps/tile/bits/byteswap.h: Likewise.
15103 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15104 * sysdeps/x86/bits/byteswap.h: Likewise.
15107 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15108 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15109 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15110 199901L] (__restrict): Define to restrict.
15113 * string/testcopy.c: Include <support/support.h>. Do not include
15114 <malloc.h>. Use <support/test-driver.c>.
15115 (main): Rename to do_test. Make static. Use xmalloc instead of
15119 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15120 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15121 (SSIZE_MAX): Define to INT_MAX.
15122 * posix/test-ssize-max.c: New file.
15123 * posix/Makefile (tests): Add test-ssize-max.
15126 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15127 <support/support.h>. Do not include <malloc.h>.
15128 (query_auxv): Use xmalloc instead of malloc.
15131 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15132 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15135 2018-02-06 Florian Weimer <fweimer@redhat.com>
15138 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15139 Use scratch_buffer instead of extend_alloca.
15141 2018-02-06 Zack Weinberg <zackw@panix.com>
15143 * libio/stdio.h: Don't define getc or putc as macros.
15144 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15145 not _IO_getc and _IO_putc.
15147 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15148 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15150 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15152 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15153 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15155 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15158 * elf/elf.h (NT_PRFPREG): New macro.
15159 (NT_S390_VXRS_LOW): Likewise.
15160 (NT_S390_VXRS_HIGH): Likewise.
15161 (NT_S390_GS_CB): Likewise.
15162 (NT_S390_GS_BC): Likewise.
15163 (NT_S390_RI_CB): Likewise.
15165 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15166 (MAP_SYNC): New macro.
15167 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15169 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15170 (MAP_SYNC): Likewise.
15171 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15172 (MAP_SYNC): Likewise.
15173 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15174 (MAP_SYNC): Likewise.
15175 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15176 (MAP_SYNC): Likewise.
15177 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15178 (MAP_SYNC): Likewise.
15179 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15180 (MAP_SYNC): Likewise.
15181 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15183 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15186 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15187 (MAP_SHARED_VALIDATE): New macro.
15188 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15189 (MAP_SHARED_VALIDATE): Likewise.
15191 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15193 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15194 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15195 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15197 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15199 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15200 (DT_NUM): Updated to 35.
15202 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15204 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15205 __builtin_expect with __glibc_likely and __glibc_unlikely.
15206 (elf_machine_rela): Likewise.
15207 (elf_machine_lazy_rel): Likewise.
15209 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15212 __builtin_expect with __glibc_likely and __glibc_unlikely.
15213 (elf_machine_lazy_rel): Likewise.
15215 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15218 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15220 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15222 2018-02-05 Andreas Schwab <schwab@suse.de>
15225 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15228 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15230 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15231 not check against PTHREAD_STACK_MIN.
15233 2018-02-02 Sean McKean <smckean83@gmail.com>
15236 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15238 2018-02-02 Florian Weimer <fweimer@redhat.com>
15241 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15242 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15243 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15244 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15245 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15246 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15247 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15248 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15249 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15250 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15251 * misc/tst-preadvwritev2.c (do_test): Call it.
15252 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15254 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15256 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15258 * benchtests/bench-memcmp.c: Print json instead of plain text.
15260 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15263 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15265 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15267 (s390_sthyi): New syscall.
15269 * sysdeps/generic/ldbl-classify-compat.h: New file.
15270 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15271 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15272 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15273 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15274 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15275 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15276 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15277 <ldbl-classify-compat.h>.
15278 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15279 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15280 <ldbl-classify-compat.h>.
15281 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15282 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15283 <ldbl-classify-compat.h>.
15284 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15285 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15286 <ldbl-classify-compat.h>.
15287 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15289 <ldbl-classify-compat.h>.
15290 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15292 <ldbl-classify-compat.h>.
15293 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15294 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15295 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15296 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15297 * sysdeps/microblaze/math_private.h: Likewise.
15298 * sysdeps/nios2/math_private.h: Likewise.
15299 * sysdeps/sh/math_private.h: Likewise.
15301 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15302 * sysdeps/m68k/coldfire/math_private.h: ... here.
15303 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15304 * sysdeps/tile/math_private.h: Likewise.
15305 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15307 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15310 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15312 (libc_fetestexcept): Likewise.
15313 (libc_feupdateenv_test): Likewise.
15314 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15315 (libc_fetestexcept): Likewise.
15316 (libc_feupdateenv_test): Likewise.
15317 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15318 (libc_fetestexcept): Likewise.
15319 (libc_feupdateenv_test): Likewise.
15320 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15321 (libc_fetestexcept): Likewise.
15322 (libc_feupdateenv_test): Likewise.
15324 * sysdeps/generic/math_private.h
15325 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15326 New inline function.
15327 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15330 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15331 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15332 * sysdeps/generic/math_private.h
15333 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15335 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15337 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15339 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15341 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15343 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15345 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15346 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15347 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15348 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15349 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15350 (__fegetenv): Likewise.
15351 (fesetenv): Likewise.
15352 (__fesetenv): Likewise.
15353 (feupdateenv): Likewise.
15354 (__feupdateenv): Likewise.
15355 (fegetround): Likewise.
15356 (__fegetround): Likewise.
15357 (fesetround): Likewise.
15358 (__fesetround): Likewise.
15360 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15361 (feraiseexcept): New macro.
15362 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15363 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15365 (__feraiseexcept): Likewise.
15366 (feclearexcept): Likewise.
15367 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15368 (__feraiseexcept): Likewise.
15369 (feclearexcept): Likewise.
15370 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15371 (__feraiseexcept): Likewise.
15372 (feclearexcept): Likewise.
15373 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15374 (__feraiseexcept): Likewise.
15375 (feclearexcept): Likewise.
15376 (fetestexcept): Likewise.
15378 * sysdeps/m68k/coldfire/math-tests.h: New file.
15380 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15381 * sysdeps/m68k/bits/fenv.h: ... here.
15382 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15384 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15386 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15388 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15390 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15392 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15394 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15395 (__FE_UNDEFINED): New enum constant.
15396 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15398 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15400 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15402 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15403 to match generic bits/fenv.h.
15404 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15407 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15409 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15410 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15411 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15412 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15414 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15415 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15416 Joseph Myers <joseph@codesourcery.com>
15419 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15420 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15421 computation using c.
15422 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15423 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15424 computation using c.
15426 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15428 * version.h (RELEASE): Set to "development".
15429 (VERSION): Set to "2.27.9000".
15430 * NEWS (2.28): New section.
15432 * version.h (RELEASE): Set to "stable".
15433 (VERSION): Set to "2.27".
15434 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15436 * NEWS: Add the list of bugs fixed in 2.27.
15438 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15440 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15441 against PTHREAD_STACK_MIN.
15443 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15445 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15447 (Rafal Luzynski, Andreas Schwab): Update.
15449 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15452 * NEWS: List the languages which actually use the alternative
15453 months feature in this release. Also explain that "alt_mon" and
15454 "ab_alt_mon" are optional.
15456 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15459 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15461 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15463 * manual/install.texi (Tools for Compilation): Update the newest
15464 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15465 * INSTALL: Regenerated.
15467 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15469 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15470 instead of __builtin_expect.
15472 2018-01-30 Florian Weimer <fweimer@redhat.com>
15474 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15476 * nss/tst-nss-getpwent.c (do_test): Likewise.
15478 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15481 * localedata/locales/hr_HR (mon): Rename to...
15483 (mon): Import from CLDR (genitive case).
15484 (d_t_fmt): Update the comment.
15486 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15488 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15489 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15490 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15492 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15494 * mach/Versions: Fix version when __mach_host_self_ was added.
15495 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15496 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15497 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15498 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15499 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15500 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15501 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15502 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15503 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15504 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15505 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15506 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15507 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15508 || to respect codestyle.
15509 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15510 (do_test_bz20181): Rename accordingly.
15511 * malloc/malloc.c: Include <assert.h>.
15512 (assert): Do not define.
15513 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15514 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15515 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15516 * sysdeps/mach/hurd/hp-timing.h: New file.
15517 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15519 2018-01-29 Darius Rad <darius@bluespec.com>
15521 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15523 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15525 * sysdeps/init_array/crti.S (.section .init_array): Add
15526 PREINIT_FUNCTION when defined.
15527 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15528 * config.h.in: Regenerate.
15529 * manual/platform.texi: Add RISC-V documenation for
15530 __riscv_flush_icache.
15531 * sysdeps/riscv/__longjmp.S: New file.
15532 * sysdeps/riscv/backtrace.c: Likewise.
15533 * sysdeps/riscv/bits/endian.h: Likewise.
15534 * sysdeps/riscv/bits/setjmp.h: Likewise.
15535 * sysdeps/riscv/bits/wordsize.h: Likewise.
15536 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15537 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15538 * sysdeps/riscv/dl-trampoline.S: Likewise.
15539 * sysdeps/riscv/gccframe.h: Likewise.
15540 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15541 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15542 * sysdeps/riscv/machine-gmon.h: Likewise.
15543 * sysdeps/riscv/memusage.h: Likewise.
15544 * sysdeps/riscv/setjmp.S: Likewise.
15545 * sysdeps/riscv/sys/asm.h: Likewise.
15546 * sysdeps/riscv/tls-macros.h: Likewise.
15547 * sysdeps/riscv/dl-tls.h: New file.
15548 * sysdeps/riscv/libc-tls.c: Likewise.
15549 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15550 * sysdeps/riscv/nptl/tls.h: Likewise.
15551 * sysdeps/riscv/stackinfo.h: Likewise.
15552 * sysdeps/riscv/bits/fenv.h: New file.
15553 * sysdeps/riscv/e_sqrtl.c: Likewise.
15554 * sysdeps/riscv/fpu_control.h: Likewise.
15555 * sysdeps/riscv/math-tests.h: Likewise.
15556 * sysdeps/riscv/nofpu/Implies: Likewise.
15557 * sysdeps/riscv/sfp-machine.h: Likewise.
15558 * sysdeps/riscv/tininess.h: Likewise.
15559 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15560 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15561 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15562 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15563 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15564 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15565 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15566 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15567 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15568 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15569 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15570 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15571 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15572 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15573 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15574 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15575 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15576 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15577 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15578 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15579 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15580 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15581 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15582 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15583 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15584 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15585 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15586 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15587 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15588 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15589 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15590 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15591 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15592 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15593 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15594 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15595 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15596 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15597 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15598 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15599 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15600 * sysdeps/riscv/rvf/math_private.h: Likewise.
15601 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15602 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15603 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15604 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15605 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15606 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15607 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15608 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15609 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15610 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15611 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15612 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15613 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15614 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15615 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15616 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15617 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15618 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15619 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15620 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15621 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15622 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15623 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15624 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15625 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15626 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15627 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15628 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15629 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15630 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15631 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15632 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15633 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15634 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15635 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15636 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15637 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15638 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15639 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15640 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15641 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15642 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15643 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15644 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15645 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15646 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15647 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15648 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15649 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15650 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15651 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15652 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15653 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15654 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15655 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15656 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15657 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15658 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15659 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15660 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15661 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15662 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15663 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15664 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15665 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15666 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15667 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15668 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15669 * sysdeps/riscv/Implies: New file.
15670 * sysdeps/riscv/Makefile: Likewise.
15671 * sysdeps/riscv/configure: Likewise.
15672 * sysdeps/riscv/configure.ac: Likewise.
15673 * sysdeps/riscv/nptl/Makefile: Likewise.
15674 * sysdeps/riscv/preconfigure: Likewise.
15675 * sysdeps/riscv/rv64/Implies-after: Likewise.
15676 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15677 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15678 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15679 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15680 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15681 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15682 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15683 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15684 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15685 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15686 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15687 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15688 (Config): Likewise.
15690 2018-01-29 Florian Weimer <fweimer@redhat.com>
15693 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15694 libnsl_hidden_proto.
15695 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15696 libnsl_hidden_proto.
15697 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15698 * nis/Makefile (libnsl-routines): Add nss-default only for
15699 build-obsolete-nsl.
15700 * nis/nis_defaults.c (__nis_default_ttl): Add
15701 libnsl_hidden_nolink_def.
15702 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15704 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15705 * nis/ypclnt.c (yp_maplist): Likewise.
15707 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15709 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15710 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15712 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15714 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15715 clean -dxfq for git updates when replacing sources.
15717 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15718 --disable-libcilkrts unconditionally, not just for the final GCC
15721 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15724 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15727 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15730 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15733 * localedata/locales/be_BY (mon): Rename to...
15734 (alt_mon): This, then synchronize with CLDR (nominative case).
15735 (abmon): Rename to...
15736 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15737 (mon): Import from CLDR (genitive case).
15739 * localedata/locales/be_BY@latin (mon): Rename to...
15741 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15743 * localedata/locales/be_BY@latin (lang_name): Reworded to
15744 "biełaruskaja mova".
15746 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15749 * localedata/locales/el_CY (mon): Renamed to...
15751 (mon): Import from CLDR (genitive case).
15752 * localedata/locales/el_GR: Likewise.
15754 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15757 * localedata/locales/ru_RU (mon): Rename to...
15759 (abmon): Rename to...
15760 (ab_alt_mon): This.
15761 (mon): Import from CLDR (genitive case).
15762 (abmon): Copy from the old content except the 5th month which is
15763 now in the genitive case, even when abbreviated.
15764 * localedata/locales/ru_UA: Likewise.
15765 * time/tst-strptime.c (day_tests): Add an actual example of
15766 a difference between %b and %Ob in Russian.
15768 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15770 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15771 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15773 * resolv/res-close.c: Include <stdlib.h>.
15774 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15775 <sys/wait.h>, <time.h>, <sys/uio.h>.
15776 (NOT_CANCEL_H): Add inclusion guard.
15777 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15778 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15779 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15781 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15782 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15783 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15785 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15786 timer_ptr2id to cast struct timer_node * to void *.
15787 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15788 --disable-libcilkrts to gcc configure.
15789 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15790 and make them the default for now.
15791 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15792 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15793 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15794 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15795 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15797 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15798 __task_terminate would ever return successfully.
15799 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15801 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15802 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15803 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15804 critical section to make code simpler and avoid warning.
15805 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15806 critical section to make code simpler and avoid warning.
15807 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15808 const char * instead of char *.
15809 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15810 __hurd_file_name_split, hurd_file_name_split,
15811 __hurd_directory_name_split, hurd_directory_name_split,
15812 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15813 hurd_file_name_path_lookup): Make lookup function parameter take a
15814 const char *name instead of char *name.
15815 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15816 __hurd_directory_name_split): Likewise.
15817 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15818 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15819 * sysdeps/mach/hurd/check_native.c: New file.
15820 * sysdeps/mach/hurd/check_pf.c: New file.
15821 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15822 (__freeifaddrs): Define macro to freeifaddrs.
15823 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15824 * sysdeps/mach/libmachuser.abilist: New file.
15825 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15826 (do_test_bz20181): Rename accordingly.
15827 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15828 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15830 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15831 version only if __USE_EXTERN_INLINES is defined.
15832 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15833 __hurd_sockfail): Likewise.
15834 (_hurd_fd_get): Always declare functions, and provide inline versions
15835 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15836 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15837 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15838 _hurd_port_set): Always declare functions, and provide inline versions
15839 only if __USE_EXTERN_INLINES and _LIBC are defined and
15841 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15842 _hurd_critical_section_unlock): Likewise.
15843 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15844 * __hurd_threadvar_location): Likewise.
15845 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15846 _hurd_userlink_clear): Likewise.
15847 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15848 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15849 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15850 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15851 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15852 __spin_lock_locked): Likewise.
15853 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15854 __spin_lock_locked): Likewise.
15855 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15856 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15857 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15858 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15859 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15860 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15861 _POSIX_NO_TRUNC): Define to 0.
15862 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15863 check size against PTHREAD_STACK_MIN.
15864 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15865 IS_IN(libpthread)]: Include <sigsetops.h>.
15866 * mach/Makefile (user-interfaces): Add mach/gnumach.
15867 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15868 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15869 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15870 instead of invalid -1.
15871 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15872 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15873 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15876 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15878 * hurd/fcntl-internal.h: New file.
15880 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15882 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15884 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15886 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
15889 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
15890 Build only shared objects.
15892 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15894 * README: Update for hppa.
15896 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15898 * sysdeps/sparc/fpu/libm-test-ulps: Update
15899 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
15901 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15905 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15908 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15909 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15910 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15911 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15914 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15917 * bits/types/__cancel_jmp_buf_tag.h: New file.
15918 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15919 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15920 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15921 * nptl/Makefile (headers): Add
15922 bits/types/__cancel_jmp_buf_tag.h.
15923 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15924 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15925 * sysdeps/nptl/pthread.h: Include
15926 <bits/types/__cancel_jmp_buf_tag.h>.
15927 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15929 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15931 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15934 * localedata/locales/uk_UA (mon): Renamed to...
15936 (alt_digits): "0" removed and then renamed to...
15938 (date_fmt): Definition changed not to use the alternative
15941 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
15943 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
15944 FLAG_RISCV_FLOAT_ABI_DOUBLE.
15945 * elf/elf.h (EF_RISCV_RVC): New define.
15946 (EF_RISCV_FLOAT_ABI): Likewise.
15947 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
15948 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
15949 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15950 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
15951 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
15953 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15955 2018-01-25 Andreas Schwab <schwab@suse.de>
15957 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
15959 * sysdeps/gnu/configure: Regenerate.
15960 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15961 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15963 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15964 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15965 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
15966 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15967 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15969 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15971 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
15972 URL, and run autoconf, make it the default for now.
15974 2018-01-24 Joseph Myers <joseph@codesourcery.com>
15976 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15977 soft-float ColdFire configuration.
15979 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
15980 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
15981 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
15983 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
15986 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
15988 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
15990 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
15993 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
15994 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
15995 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
15998 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16001 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16002 Rename to __reserved and add comment.
16003 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16004 Rename to __reserved.
16006 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16008 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16009 i686-gnu configurations.
16010 (Context.run_builds): Include mig, gnumach and hurd in components
16012 (Context.checkout): Add mig, gnumach and hurd to components.
16013 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16015 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16016 (Config.build): Install gnumach headers, build mig and install
16017 hurd headers for 'gnu' OS.
16018 (Config.install_gnumach_headers): New function.
16019 (Config.install_hurd_headers): Likewise.
16020 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16021 when building for 'gnu' OS.
16023 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16025 * manual/tunables.texi (Hardware Capability Tunables): Fix
16028 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16030 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16031 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16032 (ALTMON_11, ALTMON_12): Improve documentation.
16033 * manual/time.texi (strftime): Likewise.
16035 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16038 * localedata/locales/pl_PL: Alternative month names added,
16039 primary month names are genitive now.
16040 * time/tst-strptime.c (day_tests): Actually use a genitive case
16041 of a month name in Polish language.
16043 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16046 * manual/locale.texi: Document ALTMON_1..12 constants for
16047 nl_langinfo. Specify when to use ALTMON instead of MON.
16048 * manual/time.texi (strftime, strptime): Document GNU extension
16049 permitting O modifier with %B and %b. Specify when to use
16052 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16055 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16056 names, define them as the same as abbreviated month names explicitly.
16057 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16058 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16059 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16060 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16061 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16062 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16063 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16064 _NL_WABALTMON_12): New enum constants.
16065 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16066 wab_alt_mon, and ab_alt_mon_defined members.
16067 (time_output): Output ab_alt_mon and wab_alt_mon members.
16068 (time_read): Read them, initialize them as copies of abmon and wabmon
16069 respectively if they are missing, initialize ab_alt_mon_defined.
16070 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16071 * locale/programs/locfile-kw.h: Regenerate.
16072 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16073 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16075 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16076 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16077 (__strftime_internal): Handle %Ob and %Oh formats.
16078 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16079 (__strptime_internal): Handle %Ob and %Oh formats.
16080 * time/tst-strptime.c (day_tests): Add more tests to parse different
16081 forms of month names including the new %Ob format specifier.
16083 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16086 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16087 define them as the same as primary full month names explicitly.
16088 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16089 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16090 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16091 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16092 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16093 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16094 _NL_WALTMON_12): New enum constants.
16095 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16096 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16098 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16099 walt_mon, and alt_mon_defined members.
16100 (time_output): Output alt_mon and walt_mon members.
16101 (time_read): Read them, initialize them as copies of mon and wmon
16102 respectively if they are missing, initialize alt_mon_defined.
16103 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16104 * locale/programs/locfile-kw.h: Regenerate.
16105 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16106 * localedata/tst-langinfo.c (map): Add tests for the new constants
16107 ALTMON_1 .. ALTMON_12.
16108 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16110 * time/strftime_l.c (f_altmonth): New macro.
16111 (__strftime_internal): Handle %OB format.
16112 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16113 (__strptime_internal): Handle %OB format.
16114 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16115 of month names including the new %OB format specifier.
16117 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16120 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16121 from ABORT_TRANSACTION.
16122 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16123 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16124 ABORT_TRANSACTION_IMPL): Likewise.
16125 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16126 Linux code, but remove the code that aborts transactions.
16128 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16130 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16132 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16134 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16135 in date: "2004-14-09" should be "2004-09-14".
16136 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16137 "2003-15-09" should be "2003-09-15".
16139 2018-01-18 Arjun Shankar <arjun@redhat.com>
16145 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16147 (_int_memalign): check for integer overflow before calling
16149 * malloc/tst-malloc-too-large.c: New test.
16150 * malloc/Makefile: Add tst-malloc-too-large.
16152 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16154 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16155 in date: "2017-24-07" should be "2017-07-24".
16156 * localedata/locales/mai_IN: Likewise.
16157 * localedata/locales/mai_NP: Likewise.
16159 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16161 * po/ru.po: Update translations.
16163 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16166 * sysdeps/hppa/backtrace.c: New file.
16168 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16171 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16172 align La_x86_64_retval to VEC_SIZE.
16174 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16176 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16177 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16179 2018-01-16 Florian Weimer <fweimer@redhat.com>
16181 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16182 Move tst-thread-exit-clobber ...
16183 [$(CXX)] (tests-unsupported): ... to here.
16185 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16187 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16188 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16189 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16190 (_dl_aarch64_cap_flags): Update.
16191 (_DL_HWCAP_COUNT): Update.
16193 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16195 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16196 (_DL_HWCAP_LAST): Remove.
16197 (_DL_HWCAP_COUNT): Move to ...
16198 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16199 (_DL_HWCAP_COUNT): ... here.
16201 2018-01-16 Florian Weimer <fweimer@redhat.com>
16203 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16204 mode with GNU extensions.
16206 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16208 * elf/elf.h (NT_ARM_SVE): Define.
16210 2018-01-15 Florian Weimer <fweimer@redhat.com>
16213 * nptl/tst-minstack-throw.cc: New file.
16214 * nptl/Makefile (tests): Add tst-minstack-throw.
16215 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16216 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16218 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16220 * scripts/build-many-glibcs.py (Context.checkout): Default
16221 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16224 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16227 * elf/elf.h (DF_1_STUB): Define.
16228 (DF_1_PIE): Define.
16230 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16233 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16234 Do not add 0.5 to integer or out-of-range arguments.
16236 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16238 * po/bg.po: Update translations.
16239 * po/cs.po: Likewise.
16240 * po/de.po: Likewise.
16241 * po/ko.po: Likewise.
16242 * po/pl.po: Likewise.
16243 * po/sv.po: Likewise.
16244 * po/uk.po: Likewise.
16245 * po/vi.po: Likewise.
16247 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16249 * aarch64/start.S (_start): Use __wrap_main.
16250 (__wrap_main): New local symbol.
16252 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16256 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16257 generic_getcwd if the path returned by getcwd syscall is not absolute.
16258 * io/tst-getcwd-abspath.c: New test.
16259 * io/Makefile (tests): Add tst-getcwd-abspath.
16261 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16263 * malloc/malloc.c (malloc_consolidate): Add size check.
16265 2018-01-12 Florian Weimer <fweimer@redhat.com>
16267 * support/write_message.c (write_message): Preserve errno.
16268 * support/check.c (print_failure): Likewise.
16269 * support/support_test_verify_impl.c (support_test_verify_impl):
16271 * support/support_test_compare_failure.c
16272 (support_test_compare_failure): Likewise.
16274 2018-01-12 Florian Weimer <fweimer@redhat.com>
16277 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16278 Prevent installation of libnsl.so.
16279 (libnsl-inhibit-o): Do not build (or install) static libraries.
16281 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16284 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16285 before the day number which may produce a double space.
16286 (date_fmt): Likewise.
16288 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16290 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16291 instead of fegetenv.
16293 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16296 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16297 comment to say exceptions are discarded.
16298 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16300 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16303 2018-01-11 Florian Weimer <fweimer@redhat.com>
16305 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16308 2018-01-11 Florian Weimer <fweimer@redhat.com>
16311 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16312 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16314 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16317 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16318 negative arguments in test for NaN or infinity argument.
16320 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16322 * po/libc.pot: Regenerate.
16324 2018-01-10 Florian Weimer <fweimer@redhat.com>
16327 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16328 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16330 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16332 * hurd/hurd/fd.h: Include <fcntl.h>
16333 (__hurd_at_flags): New function.
16334 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16335 with call to __hurd_at_flags.
16336 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16337 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16339 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16340 (__access_noerrno): Use __faccessat_common instead of access_common.
16341 (__access): Likewise.
16342 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16343 with a call to __faccessat.
16344 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16345 (__faccessat_common): ... this. Move implementation of __access into it when
16346 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16347 reauthenticate_cwdir_at helper to implement AT mechanism.
16348 (__faccessat_noerrno): New function, just calls __faccessat_common.
16349 (__faccessat): New function, just calls __faccessat_common.
16350 (faccessat): Define weak alias.
16352 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16355 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16356 (CFLAGS-s_fmaxmagl.c): New variable.
16357 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16360 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16361 long int for arguments of possibly overflowing addition or
16363 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16365 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16368 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16369 (CFLAGS-e_remainderl.c): New variable.
16372 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16374 (CFLAGS-s_cacoshl.c): Likewise.
16375 (CFLAGS-s_casinhl.c): Likewise.
16376 (CFLAGS-s_catanl.c): Likewise.
16377 (CFLAGS-s_catanhl.c): Likewise.
16378 (CFLAGS-s_cexpl.c): Likewise.
16379 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16380 (CFLAGS-s_csinhl.c): Likewise.
16381 (CFLAGS-s_clogl.c): Likewise.
16382 (CFLAGS-s_clog10l.c): Likewise.
16383 (CFLAGS-s_csinl.c): Likewise.
16384 (CFLAGS-s_csqrtl.c): Likewise.
16386 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16387 2017-01-09 Svante Signell <svante.signell@gmail.com>
16389 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16390 (_hurd_exec_paths): New function.
16391 * hurd/hurd.h (_hurd_exec): Deprecate function.
16392 (_hurd_exec_paths): Declare function.
16393 * hurd/Versions: Export _hurd_exec_paths.
16394 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16395 (__execve): Use __getcwd to build absolute path, and use
16396 _hurd_exec_paths instead of _hurd_exec.
16397 * sysdeps/mach/hurd/spawni.c: Likewise.
16398 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16401 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16403 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16404 test instead of failing in case of ENOENT returned by posix_openpt.
16406 2018-01-08 Florian Weimer <fweimer@redhat.com>
16408 resolv: Support binary labels in test framework.
16409 * support/resolv_test.c (struct to_be_freed): Remove.
16410 (struct compressed_name): New.
16411 (allocate_compressed_name, ascii_tolower)
16412 (compare_compressed_name): New functions.
16413 (struct resolv_response_builder): Update type of
16414 compression_offsets for use with tsearch. Rempve to_be_freed.
16415 (response_push_pointer_to_free): Remove function.
16416 (resolv_response_add_name): Rewrite using struct compressed_name
16417 and tsearch instead of hsearch_r.
16418 (response_builder_allocate): Remove initialization of
16419 compression_offsets.
16420 (response_builder_free): Update for removal of to_be_freed. Use
16421 tdestroy instead of hdestroy_r.
16422 * resolv/Makefile (tests): Add tst-resolv-binary.
16423 (tst-resolv-binary): Link with -lresolv -lpthread.
16425 2018-01-08 Florian Weimer <fweimer@redhat.com>
16427 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16428 time. Pass positive flag instead of negative flag to
16429 support_test_compare_failure.
16430 (support_test_compare_failure): Change negative parameter to
16432 * support/support_test_compare_failure.c (report)
16433 (support_test_compare_failure): Likewise.
16434 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16435 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16437 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16440 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16441 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16442 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16444 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16446 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16448 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16449 Add s_sincosf-sse2 and s_sincosf-fma.
16450 (CFLAGS-s_sincosf-fma.c): New.
16451 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16452 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16453 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16454 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16455 __sincosf is defined.
16457 2018-01-08 Florian Weimer <fweimer@redhat.com>
16459 * nptl/tst-thread-exit-clobber.cc: New file.
16460 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16462 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16463 (tests): Add tst-thread-exit-clobber.
16464 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16466 2018-01-08 Florian Weimer <fweimer@redhat.com>
16468 * support/check.h (support_static_assert): Define.
16469 (TEST_COMPARE): Use it.
16471 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16473 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16474 [!__RLIM_T_MATCHES_RLIM64_T]
16475 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16476 __getrlimit64. Add libc_hidden_weak.
16478 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16480 * elf/elf.h (R_RISCV_NONE): New define.
16481 (R_RISCV_32): Likewise.
16482 (R_RISCV_64): Likewise.
16483 (R_RISCV_RELATIVE): Likewise.
16484 (R_RISCV_COPY): Likewise.
16485 (R_RISCV_JUMP_SLOT): Likewise.
16486 (R_RISCV_TLS_DTPMOD32): Likewise.
16487 (R_RISCV_TLS_DTPMOD64): Likewise.
16488 (R_RISCV_TLS_DTPREL32): Likewise.
16489 (R_RISCV_TLS_DTPREL64): Likewise.
16490 (R_RISCV_TLS_TPREL32): Likewise.
16491 (R_RISCV_TLS_TPREL64): Likewise.
16492 * Makerules (make-link-multidir): Make directories before linking into
16494 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16496 (VDSO_HASH_LINUX_4_15): Likewise.
16497 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16498 in subdirectories of lib.
16499 * nptl/Makefile (/librt.so): Always depend on
16500 "$(shared-thread-library)".
16502 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16504 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16505 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16506 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16508 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16509 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16511 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16512 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16513 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16514 * sysdeps/gnu/glob-lstat-compat.c: New file.
16515 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16516 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16518 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16520 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16521 Reserve 16 chars to reloc_addr before calling _itoa_word.
16523 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16526 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16527 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16529 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16530 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16532 * resource/tst-getrlimit.c: Add copyright header.
16534 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16535 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16537 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16538 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16539 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16540 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16542 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16543 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16544 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16545 RLIM64_INFINITY): Fix values to match the kernel ones.
16546 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16547 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16548 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16549 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16550 getrlimit64@@GLIBC_2_27.
16551 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16553 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16554 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16555 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16556 setrlimit, getrlimit64 and setrlimit64.
16558 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16561 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16562 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16564 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16566 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16567 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16568 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16570 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16574 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16575 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16579 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16580 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16581 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16582 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16584 2018-01-04 Florian Weimer <fweimer@redhat.com>
16587 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16588 Align the stack before calling exit.
16589 * stdlib/tst-makecontext-align.c: New file.
16590 * stdlib/Makefile (tests): Add tst-makecontext-align.
16592 2018-01-04 Florian Weimer <fweimer@redhat.com>
16594 Add support for calling dlvsym from libc.so.
16595 * include/dlfcn.h (__libc_dlvsym): Declare.
16596 * elf/Makefile (tests-static-internal): Add
16597 tst-libc_dlvsym-static.
16598 (tests-internal): Add tst-libc_dlvsym.
16599 (modules-names): Add tst-libc_dlvsym-dso.
16600 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16601 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16602 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16603 object tst-libc_dlvsym-dso.so needs to be built before running
16605 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16606 * elf/Versions: Export __libc_dlvsym.
16607 * elf/dl-libc.c (struct do_dlvsym_args): New.
16608 (do_dlvsym, __libc_dlvsym): New functions.
16609 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16610 (_dl_open_hook2): New variable.
16611 (__libc_register_dl_open_hook): Set it.
16612 * elf/tst-libc_dlvsym-dso.c: New file.
16613 * elf/tst-libc_dlvsym-static.c: Likewise.
16614 * elf/tst-libc_dlvsym.c: Likewise.
16615 * elf/tst-libc_dlvsym.h: Likewise.
16617 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16619 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16620 include <sys/mount.h>.
16622 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16624 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16625 Add __NO_MATH_ERRNO__ check.
16627 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16629 * sysdeps/mips/mips32/libm-test-ulps: Update.
16630 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16632 2018-01-02 Florian Weimer <fweimer@redhat.com>
16634 * misc/tst-pselect.c: Add copyright header.
16636 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16638 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16640 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16642 (settrlimit): Rename into setrlimit.
16643 (__sttrlimit): Rename into __setrlimit.
16645 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16646 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16647 never defined in that case.
16649 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16651 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16653 * sysdeps/arm/libm-test-ulps: Update.
16655 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16656 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16658 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16660 * NEWS: Add cosf and sincosf to list of optimized functions.
16662 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16665 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16666 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16667 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16668 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16670 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16673 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16675 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16676 making a copy of it.
16678 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16680 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16681 trailing whitespace removed.
16682 * scripts/config.guess: Update to version 2018-01-01.
16683 * scripts/config.sub: Update to version 2018-01-01.
16684 * scripts/move-if-change: Update from gnulib.
16686 * NEWS: Update copyright dates.
16687 * catgets/gencat.c (print_version): Likewise.
16688 * csu/version.c (banner): Likewise.
16689 * debug/catchsegv.sh: Likewise.
16690 * debug/pcprofiledump.c (print_version): Likewise.
16691 * debug/xtrace.sh (do_version): Likewise.
16692 * elf/ldconfig.c (print_version): Likewise.
16693 * elf/ldd.bash.in: Likewise.
16694 * elf/pldd.c (print_version): Likewise.
16695 * elf/sotruss.sh: Likewise.
16696 * elf/sprof.c (print_version): Likewise.
16697 * iconv/iconv_prog.c (print_version): Likewise.
16698 * iconv/iconvconfig.c (print_version): Likewise.
16699 * locale/programs/locale.c (print_version): Likewise.
16700 * locale/programs/localedef.c (print_version): Likewise.
16701 * login/programs/pt_chown.c (print_version): Likewise.
16702 * malloc/memusage.sh (do_version): Likewise.
16703 * malloc/memusagestat.c (print_version): Likewise.
16704 * malloc/mtrace.pl: Likewise.
16705 * manual/libc.texinfo: Likewise.
16706 * nptl/version.c (banner): Likewise.
16707 * nscd/nscd.c (print_version): Likewise.
16708 * nss/getent.c (print_version): Likewise.
16709 * nss/makedb.c (print_version): Likewise.
16710 * posix/getconf.c (main): Likewise.
16711 * scripts/test-installation.pl: Likewise.
16712 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16714 * All files with FSF copyright notices: Update copyright dates
16715 using scripts/update-copyrights.
16716 * locale/programs/charmap-kw.h: Regenerated.
16717 * locale/programs/locfile-kw.h: Likewise.
16719 2017-12-31 Zack Weinberg <zackw@panix.com>
16721 * libio/bits/libio-ldbl.h: Correct check for improper
16722 inclusion. Add own multiple include guard.
16724 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16725 Dmitry V. Levin <ldv@altlinux.org>
16729 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16730 string token expansion. Check for NULL pointer or empty string possibly
16731 returned by expand_dynamic_string_token.
16732 (decompose_rpath): Check for empty path after dynamic string
16735 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16738 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16740 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16741 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16742 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16743 and PTRACE_SYSCALL.
16744 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16745 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16746 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16747 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16748 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16749 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16751 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16752 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16753 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16754 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16756 bits/ptrace-shared.h.
16757 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16758 <bits/ptrace-shared.h>.
16759 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16760 __ptrace_peeksiginfo_flags, ptrace): Remove.
16761 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16762 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16763 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16764 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16765 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16767 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16770 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16771 end of the loop. Improve comments.
16773 2017-12-29 Zack Weinberg <zackw@panix.com>
16776 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16777 might be set on success.
16779 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16782 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16783 is unchanged on success.
16785 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16787 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16789 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16790 expand_dynamic_string_token): Likewise.
16791 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16794 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16797 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16798 is set and name contains ':', and all code depending on these checks.
16800 2017-12-24 Zack Weinberg <zackw@panix.com>
16802 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16803 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16805 * libio/libio.h: Rename the original version of this file to
16806 libio/bits/libio.h. Error out if not included by stdio.h or the
16808 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16809 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16810 if not included by bits/libio.h or the stub _G_config.h.
16811 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16812 sysdeps/unix/sysv/linux/bits. Error out if not included by
16813 bits/libio.h or the stub _G_config.h.
16814 * libio/stdio.h: Include bits/libio.h, not libio.h.
16815 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16816 well as libio.h and _G_config.h.
16818 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16819 * libio/strfile.h, stdio-common/vfscanf.c
16820 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16821 Include stdio.h, not _G_config.h nor libio.h.
16822 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16823 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16825 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16827 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16830 * stdlib/getrandom.c (getrandom): Fix comment.
16831 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16833 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16836 * manual/arith.texi (strtoul): Fix a typo.
16839 * manual/arith.texi (finite): Fix the description of the return
16842 2017-12-22 Eric Blake <ebb9@byu.net>
16844 Avoid gcc warnings on cygwin
16845 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16846 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16847 Avoid unused variable.
16849 2017-12-22 Florian Weimer <fweimer@redhat.com>
16851 * io/Makefile (routines): Add copy_file_range.
16852 (tests): Add tst-copy_file_range.
16853 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16854 * io/Versions (GLIBC_2.27): Export copy_file_range.
16855 * io/copy_file_range-compat.c: New file.
16856 * io/copy_file_range.c: Likewise.
16857 * io/tst-copy_file_range-compat.c: Likewise.
16858 * io/tst-copy_file_range.c: Likewise.
16859 * manual/llio.texi (Copying File Data): New section.
16860 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16861 * support/Makefile (libsupport-routines): Add support-xfstat,
16862 xftruncate, xlseek.
16863 * support/support-xfstat.c: New file.
16864 * support/xftruncate.c: Likewise.
16865 * support/xlseek.c: Likewise.
16866 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16867 * sysdeps/unix/sysv/linux/**.abilist: Update.
16868 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16870 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16872 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16873 disable-multi-arch variant to aarch64-linux-gnu.
16875 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16877 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16878 trailing whitespace removed.
16879 * scripts/config.guess: Update to version 2017-12-17.
16880 * scripts/config.sub: Update to version 2017-11-23.
16881 * scripts/install-sh: Update to version 2017-09-23.17.
16882 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16884 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16886 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
16887 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16888 * sysdeps/tile/_mcount.S (__mcount): Likewise.
16889 * sysdeps/tile/crti.S (_init, _fini): Likewise.
16890 * sysdeps/tile/crtn.S: Likewise.
16891 * sysdeps/tile/dl-start.S (_start): Likewise.
16892 * sysdeps/tile/dl-trampoline.S: Likewise.
16893 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
16894 * sysdeps/tile/start.S (_start): Likewise.
16895 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
16896 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
16897 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
16898 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
16899 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
16900 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
16901 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
16903 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
16905 * sysdeps/tile/preconfigure: Remove tilegx folder.
16906 * sysdeps/tile/tilegx/Implies: Move definitions to ...
16907 * sysdeps/tile/Implies: ... here.
16908 * sysdeps/tile/tilegx/Makefile: Move rules to ...
16909 * sysdeps/tile/Makefile: ... here.
16910 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
16911 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
16912 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
16913 * sysdeps/tile/bits/wordsize.h: ... here.
16914 * sysdeps/tile/tilegx/*: Move to ...
16915 * sysdeps/tile/*: ... here.
16916 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
16917 * sysdeps/tile/tilegx32/Implies: ... here.
16918 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
16919 * sysdeps/tile/tilegx64/Implies: ... here.
16920 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
16922 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16923 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
16924 * sysdeps/unix/sysv/linux/tile/*: ... here.
16925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
16926 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
16927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
16928 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
16930 * README: Remove tilepro-*-linux-gnu from supported architecture.
16931 * scripts/build-many-glibcs.py: Likewise.
16932 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16933 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
16934 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
16935 elf_machine_matches_host, elf_machine_dynamic,
16936 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
16937 howto, elf_machine_rela): Likewise.
16938 * sysdeps/tile/dl-start.S (_start): Likewise.
16939 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
16940 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
16941 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
16942 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
16943 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
16944 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16946 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
16947 * sysdeps/tile/preconfigure: Likewise.
16948 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
16949 POINTER_CHK_GUARD): Likewise.
16950 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
16951 * sysdeps/tile/start.S (_start): Likewise.
16952 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
16954 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
16955 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
16957 * sysdeps/unix/sysv/linux/tile/bits/environments.h
16958 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
16959 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
16961 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
16962 * sysdeps/tile/tilepro/Implies: Remove file.
16963 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
16964 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
16965 * sysdeps/tile/tilepro/memchr.c: Likewise.
16966 * sysdeps/tile/tilepro/memcpy.S: Likewise.
16967 * sysdeps/tile/tilepro/memset.c: Likewise.
16968 * sysdeps/tile/tilepro/memusage.h: Likewise.
16969 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
16970 * sysdeps/tile/tilepro/strchr.c: Likewise.
16971 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
16972 * sysdeps/tile/tilepro/strlen.c: Likewise.
16973 * sysdeps/tile/tilepro/strrchr.c: Likewise.
16974 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
16975 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
16976 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
16977 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
16978 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
16979 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16981 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
16982 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16983 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
16984 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
16985 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16986 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
16987 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
16988 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
16989 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
16990 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
16991 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
16992 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
16993 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
16994 tilepro mention in comment.
16996 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
16997 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
16998 * nptl/pthread_join_common.c: New file: common function used on
16999 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17000 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17001 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17002 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17003 (cleanup): Move definition to pthread_join_common.c.
17004 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17005 Remove superflous checks.
17006 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17009 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17011 * sysdeps/aarch64/libm-test-ulps: Update.
17013 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17015 * sysdeps/aarch64/memset.S (MEMSET): Define.
17017 2017-12-20 Florian Weimer <fweimer@redhat.com>
17020 nptl: Provide full implementation of pthread_self in libc.so.
17021 * nptl/Makefile (routines): Add pthread_self.
17022 (libpthread-routines): Replace pthread_self with
17023 compat-pthread_self.
17024 * nptl/forward.c (pthread_self): Remove.
17025 * nptl/nptl-init.c (pthread_functions): Do not initialize
17027 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17028 * nptl/compat-pthread_self.c: New file.
17029 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17030 Remove ptr_pthread_self.
17032 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17034 * posix/regcomp.c: Fix spelling in comments.
17035 * posix/regex.h: Likewise.
17036 * posix/regex_internal.c: Likewise.
17037 * posix/regexec.c: Likewise.
17039 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17042 * math/Makefile [C++] (tests): Add test for iseqsig.
17043 * math/math.h [C++] (iseqsig): New implementation, which does
17044 not rely on __MATH_TG/__builtin_types_compatible_p.
17045 * math/test-math-iseqsig.cc: New file.
17046 * sysdeps/powerpc/powerpc64le/Makefile
17047 (CFLAGS-test-math-iseqsig.cc): New variable.
17049 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17051 * elf/dl-load.c (is_trusted_path): Remove.
17052 (fillin_rpath): Remove check_trusted argument and its use,
17053 all callers changed.
17055 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17058 * Makeconfig (link-pie-before-libc): Replace -pie with
17059 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17060 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17061 (tst-dlopen-aout-no-pie): New.
17062 (LDFLAGS-tst-prelink): Removed.
17063 (tst-prelink-no-pie): New.
17064 (LDFLAGS-tst-main1): Removed.
17065 (tst-main1-no-pie): New.
17066 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17067 (tst-gmon-no-pie): New.
17069 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17071 * manual/install.texi: Document that --enable-static-pie
17073 * INSTALL: Regenerated.
17075 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17078 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17081 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17085 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17089 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17091 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17092 <errno.h>. Include "eexp.tbl".
17093 (half): New constant.
17095 (__ieee754_exp): Rewrite.
17096 (__slowexp): Remove prototype.
17097 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17098 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17099 * sysdeps/i386/fpu/slowexp.c: Likewise.
17100 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17101 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17102 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17103 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17104 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17105 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17106 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17108 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17109 (CPPFLAGS-slowexp.c): Remove variable.
17110 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17111 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17112 (CFLAGS-slowexp-fma.c): Remove variable.
17113 (CFLAGS-slowexp-fma4.c): Likewise.
17114 (CFLAGS-slowexp-avx.c): Likewise.
17115 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17117 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17118 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17119 * math/Makefile (type-double-routines): Remove slowexp.
17120 * manual/probes.texi (slowexp_p6): Remove.
17121 (slowexp_p32): Likewise.
17123 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17125 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17128 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17130 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17134 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17136 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17137 <errno.h>. Include "eexp.tbl".
17138 (half): New constant.
17140 (__ieee754_exp): Rewrite.
17141 (__slowexp): Remove prototype.
17142 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17143 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17144 * sysdeps/i386/fpu/slowexp.c: Likewise.
17145 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17146 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17147 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17148 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17149 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17150 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17151 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17153 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17154 (CPPFLAGS-slowexp.c): Remove variable.
17155 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17156 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17157 (CFLAGS-slowexp-fma.c): Remove variable.
17158 (CFLAGS-slowexp-fma4.c): Likewise.
17159 (CFLAGS-slowexp-avx.c): Likewise.
17160 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17162 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17163 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17164 * math/Makefile (type-double-routines): Remove slowexp.
17165 * manual/probes.texi (slowexp_p6): Remove.
17166 (slowexp_p32): Likewise.
17168 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17169 James Clarke <jrtc27@jrtc27.com>
17172 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17175 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17178 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17181 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17184 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17185 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17186 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17187 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17190 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17193 * bits/types/__cancel_jmp_buf_tag.h: New file.
17194 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17195 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17196 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17197 * nptl/Makefile (headers): Add
17198 bits/types/__cancel_jmp_buf_tag.h.
17199 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17200 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17201 * sysdeps/nptl/pthread.h: Include
17202 <bits/types/__cancel_jmp_buf_tag.h>.
17203 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17205 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17207 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17209 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17210 --enable-static-pie variants to x86_64, x32 and i686.
17212 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17215 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17216 argument for attrubutes. All callers changed.
17217 (__inline_mathop1): Likewise. All callers changed.
17218 (__inline_mathop): Likewise. All callers changed.
17219 [__USE_MISC] (scalbn): Use __inline_forward instead of
17220 __inline_forward_c.
17221 [__USE_ISOC99] (scalbln): Likewise.
17222 [__USE_ISOC99] (nearbyint): Likewise.
17223 [__USE_ISOC99] (lrint): Likewise.
17224 [__USE_MISC] (scalbnf): Likewise.
17225 [__USE_ISOC99] (scalblnf): Likewise.
17226 [__USE_ISOC99] (nearbyintf): Likewise.
17227 [__USE_ISOC99] (lrintf): Likewise.
17228 [__USE_MISC] (scalbnl): Likewise.
17229 [__USE_ISOC99] (scalblnl): Likewise.
17230 [__USE_ISOC99] (nearbyintl): Likewise.
17231 [__USE_ISOC99] (lrintl): Likewise.
17232 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17233 __inline_mathop and __m81_defun changed.
17235 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17236 CPU or FPU for ARM hard-float configurations.
17238 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17240 * nptl/tst-attr3.c: Include <libc-diag.h>.
17241 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17243 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17245 * string/tester.c (test_strncat): Also disable -Warray-bounds
17246 warnings for two tests.
17248 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17251 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17252 $(cc-pie-default) == yes.
17253 * config.make.in (cc-pie-default): New.
17254 * configure.ac (libc_cv_pie_default): Renamed to ...
17255 (libc_cv_cc_pie_default): This.
17256 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17257 * configure: Regenerated.
17259 2017-12-18 Florian Weimer <fweimer@redhat.com>
17262 ld.so: Harden dl-libc/libdl hooks.
17263 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17264 (rtld_active): New function.
17265 * dlfcn/dladdr.c (__dladdr): Call it.
17266 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17267 * dlfcn/dlclose.c (__dlcose): Likewise.
17268 * dlfcn/dlerror.c (__dlerror): Likewise.
17269 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17270 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17271 * dlfcn/dlopen.c (__dlopen): Likewise.
17272 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17273 * dlfcn/dlsym.c (__dlsym): Likewise.
17274 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17275 * libio/vtables.c (_IO_vtable_check): Likewise.
17276 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17277 (__libc_dlclose): Likewise.
17278 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17281 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17284 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17285 buffers for readlink input and output.
17287 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17290 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17291 inhibit_stack_protector.
17294 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17295 inhibit_stack_protector.
17297 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17300 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17301 code and invocation.
17303 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17305 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17307 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17310 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17312 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17314 * sysdeps/s390/fpu/libm-test-ulps: Update.
17316 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17320 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17322 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17323 constants to s_sincosf.h file.
17324 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17325 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17327 * sysdeps/ieee754/flt-32/s_sincosf.h:
17330 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17333 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17336 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17339 * INSTALL: Regenerated.
17340 * Makeconfig (real-static-start-installed-name): New.
17341 (pic-default): Updated for --enable-static-pie.
17342 (pie-default): New for --enable-static-pie.
17343 (default-pie-ldflag): Likewise.
17344 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17345 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17346 Replace $(static-start-installed-name) with
17347 $(real-static-start-installed-name).
17348 (+prectorT): Updated for --enable-static-pie.
17349 (+postctorT): Likewise.
17350 (CFLAGS-.o): Add $(pie-default).
17351 (CFLAGS-.op): Likewise.
17352 * NEWS: Mention --enable-static-pie.
17353 * config.h.in (ENABLE_STATIC_PIE): New.
17354 * configure.ac (--enable-static-pie): New configure option.
17355 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17356 (have-static-pie): Likewise.
17357 Enable static PIE if linker supports --no-dynamic-linker.
17358 (ENABLE_STATIC_PIE): New AC_DEFINE.
17359 (enable-static-pie): New LIBC_CONFIG_VAR.
17360 * configure: Regenerated.
17361 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17362 gr$(start-installed-name) for --enable-static-pie.
17363 (extra-objs): Likewise.
17364 (install-lib): Likewise.
17365 (extra-objs): Add static-reloc.o and static-reloc.os
17366 ($(objpfx)$(start-installed-name)): Also depend on
17367 $(objpfx)static-reloc.o.
17368 ($(objpfx)r$(start-installed-name)): New.
17369 ($(objpfx)g$(start-installed-name)): Also depend on
17370 $(objpfx)static-reloc.os.
17371 ($(objpfx)gr$(start-installed-name)): New.
17372 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17374 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17376 * csu/static-reloc.c: New file.
17377 * elf/Makefile (routines): Add dl-reloc-static-pie.
17378 (elide-routines.os): Likewise.
17379 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17380 (tst-tls1-static-non-pie-no-pie): New.
17381 * elf/dl-reloc-static-pie.c: New file.
17382 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17383 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17384 STATIC_PIE_BOOTSTRAP.
17385 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17386 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17387 (tests-static): Likewise.
17388 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17389 (tst-gmon-static-no-pie): New.
17390 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17391 (CRT-tst-gmon-static-pie): Likewise.
17392 (tst-gmon-static-pie-ENV): Likewise.
17393 (tests-special): Likewise.
17394 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17395 (clean-tst-gmon-static-pie-data): Likewise.
17396 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17397 * gmon/tst-gmon-static-pie.c: New file.
17398 * manual/install.texi: Document --enable-static-pie.
17399 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17400 (_dl_get_dl_main_map): Likewise.
17401 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17402 * sysdeps/x86_64/configure.ac: Likewise.
17403 * sysdeps/i386/configure: Regenerated.
17404 * sysdeps/x86_64/configure: Likewise.
17405 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17406 (ASFLAGS-.op): Likewise.
17408 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17410 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17411 * posix/tst-mmap-offset.c (fname): Use /tmp.
17412 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17414 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17416 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17418 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17420 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17423 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17425 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17426 --with-float=hard for arm-linux-gnueabihf configurations.
17429 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17430 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17431 ($(mo-installed)): Use $(objpfx)%.mo.
17432 (realclean): Remove rule.
17434 * po/Makefile (linguas): Remove rule and dependencies.
17435 (linguas.mo): Likewise.
17436 (.PHONY): Do not depend on linguas and linguas.mo.
17437 (podir): Remove variable.
17438 (pofiles): Likewise.
17439 [$(pofiles)] (%.po): Remove rule.
17441 * sysdeps/sparc/sparc32/Makefile
17442 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17443 start-of-line whitespace in argument of echo.
17444 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17445 with whitespace. Generate __wrap_.udiv alias.
17446 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17447 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17448 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17449 * sysdeps/sparc/sparc32/urem.S: Likewise.
17451 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17453 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17454 for aligned inputs.
17456 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17458 * benchtests/bench-strcmp.c: Print output in JSON format.
17460 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17462 2017-12-14 Florian Weimer <fweimer@redhat.com>
17466 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17467 the expanded path string.
17469 2017-12-14 Florian Weimer <fweimer@redhat.com>
17473 * elf/dl-load.c (system_dirs): Update comment.
17474 (nsystem_dirs_len): Use array_length.
17475 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17477 2017-12-14 Florian Weimer <fweimer@redhat.com>
17479 Simplify compiling most of support/ outside of glibc.
17480 * support/check_addrinfo.c: Include <string.h>.
17481 * support/check_dns_packet.c: Likewise.
17482 * support/check_hostent.c: Likewise.
17483 * support/support_can_chroot.c: Include <support/xunistd.h>.
17484 * support/support_format_addrinfo.c: Include <stdlib.h>
17485 * support/support_format_dns_packet.c: Include <stdbool.h>.
17486 * support/support_format_hostent.c: Include <stdlib.h>.
17487 * support/support_format_netent.c: Likewise.
17488 * support/support_write_string.c: Include <support/xunistd.h>.
17489 * support/xdlfcn.c: Include <stddef.h>.
17491 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17493 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17495 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17496 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17498 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17499 (sysdeps_routines): Add memset-niagara7.
17500 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17502 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17504 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17505 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17506 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17507 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17508 Add niagara7 option.
17509 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17512 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17513 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17514 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17516 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17518 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17519 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17520 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17521 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17522 and __memmove_niagara7.
17523 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17524 Add niagara7 option.
17525 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17526 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17527 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17528 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17529 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17531 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17533 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17534 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17535 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17536 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17538 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17539 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17540 _dl_sparc_cap_flags array.
17541 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17543 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17545 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17546 time whenever possible.
17548 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17550 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17551 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17553 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17555 * soft-fp/fmadf4.c: Move to ....
17556 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17557 * soft-fp/fmasf4.c: Move to ....
17558 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17559 * soft-fp/fmatf4.c: Move to ....
17560 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17561 * sysdeps/ieee754/soft-fp/Makefile: New file.
17562 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17563 * sysdeps/arm/preconfigure: Regenerated.
17564 * sysdeps/arm/nofpu/Implies: New file.
17565 * sysdeps/arm/s_fma.c: Remove file.
17566 * sysdeps/arm/s_fmaf.c: Likewise.
17567 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17568 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17569 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17570 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17571 * sysdeps/microblaze/s_fma.c: Remove file.
17572 * sysdeps/microblaze/s_fmaf.c: Likewise.
17573 * sysdeps/mips/mips32/nofpu/Implies: New file.
17574 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17575 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17576 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17577 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17578 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17579 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17580 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17582 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17583 * sysdeps/nios2/s_fma.c: Remove file.
17584 * sysdeps/nios2/s_fmaf.c: Likewise.
17585 * sysdeps/sh/nofpu/Implies: New file.
17586 * sysdeps/sh/s_fma.c: Remove file.
17587 * sysdeps/sh/s_fmaf.c: Likewise.
17588 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17589 * sysdeps/tile/s_fma.c: Remove file.
17590 * sysdeps/tile/s_fmaf.c: Likewise.
17592 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17594 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17595 Add s_cosf-sse2 and s_cosf-fma.
17596 (CFLAGS-s_cosf-fma.c): New.
17597 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17598 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17599 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17601 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17603 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17605 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17607 * libio/Makefile (tests): Add tst-bz22415.
17608 (tst-bz22415-ENV): New rule.
17609 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17610 (tests-special): Add tst-bz22415-mem.out.
17611 ($(objpfx)tst-bz22415-mem.out): New rule.
17612 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17613 in case of a successful seek operation.
17614 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17615 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17616 buffer is required.
17617 * libio/tst-bz22415.c: New test.
17619 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17621 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17623 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17624 __IPC_64 to 0 to avoid IPC_64 being set.
17626 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17629 * math/bits/mathcalls.h (nextafter): Remove const.
17630 (nexttoward): Likewise.
17632 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17634 * configure.ac (--with-fp): Remove configure option.
17635 (with_fp_cond): New variable.
17636 (libc_cv_with_fp): New configure test. Use this variable instead
17638 * configure: Regenerated.
17639 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17640 * manual/install.texi (Configuring and compiling): Remove
17642 * INSTALL: Regenerated.
17643 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17644 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17645 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17646 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17647 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17648 use --without-fp to configure glibc.
17650 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17652 * manual/locale.texi (nl_langinfo): Fix a typo.
17654 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17657 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17659 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17661 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17662 (CFLAGS-argp-parse.c): Likewise.
17663 (CFLAGS-argp-fmtstream.c): Likewise.
17664 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17665 (CPPFLAGS-sha512-crypt.c): Likewise.
17666 (CPPFLAGS-md5-crypt.c): Likewise.
17667 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17668 (CFLAGS-stack_chk_fail_local.c): Likewise.
17669 (CFLAGS-backtrace.c): Likewise.
17670 (CFLAGS-sprintf_chk.c): Likewise.
17671 (CFLAGS-snprintf_chk.c): Likewise.
17672 (CFLAGS-vsprintf_chk.c): Likewise.
17673 (CFLAGS-vsnprintf_chk.c): Likewise.
17674 (CFLAGS-asprintf_chk.c): Likewise.
17675 (CFLAGS-vasprintf_chk.c): Likewise.
17676 (CFLAGS-obprintf_chk.c): Likewise.
17677 (CFLAGS-dprintf_chk.c): Likewise.
17678 (CFLAGS-vdprintf_chk.c): Likewise.
17679 (CFLAGS-printf_chk.c): Likewise.
17680 (CFLAGS-fprintf_chk.c): Likewise.
17681 (CFLAGS-vprintf_chk.c): Likewise.
17682 (CFLAGS-vfprintf_chk.c): Likewise.
17683 (CFLAGS-gets_chk.c): Likewise.
17684 (CFLAGS-fgets_chk.c): Likewise.
17685 (CFLAGS-fgets_u_chk.c): Likewise.
17686 (CFLAGS-fread_chk.c): Likewise.
17687 (CFLAGS-fread_u_chk.c): Likewise.
17688 (CFLAGS-swprintf_chk.c): Likewise.
17689 (CFLAGS-vswprintf_chk.c): Likewise.
17690 (CFLAGS-wprintf_chk.c): Likewise.
17691 (CFLAGS-fwprintf_chk.c): Likewise.
17692 (CFLAGS-vwprintf_chk.c): Likewise.
17693 (CFLAGS-vfwprintf_chk.c): Likewise.
17694 (CFLAGS-fgetws_chk.c): Likewise.
17695 (CFLAGS-fgetws_u_chk.c): Likewise.
17696 (CFLAGS-read_chk.c): Likewise.
17697 (CFLAGS-pread_chk.c): Likewise.
17698 (CFLAGS-pread64_chk.c): Likewise.
17699 (CFLAGS-recv_chk.c): Likewise.
17700 (CFLAGS-recvfrom_chk.c): Likewise.
17701 (CFLAGS-tst-longjmp_chk.c): Likewise.
17702 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17703 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17704 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17705 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17706 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17707 (CFLAGS-tst-chk1.c): Likewise.
17708 (CFLAGS-tst-chk2.c): Likewise.
17709 (CFLAGS-tst-chk3.c): Likewise.
17710 (CFLAGS-tst-chk4.cc): Likewise.
17711 (CFLAGS-tst-chk5.cc): Likewise.
17712 (CFLAGS-tst-chk6.cc): Likewise.
17713 (CFLAGS-tst-lfschk1.c): Likewise.
17714 (CFLAGS-tst-lfschk2.c): Likewise.
17715 (CFLAGS-tst-lfschk3.c): Likewise.
17716 (CFLAGS-tst-lfschk4.cc): Likewise.
17717 (CFLAGS-tst-lfschk5.cc): Likewise.
17718 (CFLAGS-tst-lfschk6.cc): Likewise.
17719 (CFLAGS-tst-ssp-1.c): Likewise.
17720 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17721 (CFLAGS-scandir64.c): Likewise.
17722 (CFLAGS-scandir-tail.c): Likewise.
17723 (CFLAGS-scandir64-tail.c): Likewise.
17724 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17725 (CFLAGS-dl-tunables.c): Likewise.
17726 (CFLAGS-dl-runtime.c): Likewise.
17727 (CFLAGS-dl-lookup.c): Likewise.
17728 (CFLAGS-dl-iterate-phdr.c): Likewise.
17729 (CFLAGS-vismain.c): Likewise.
17730 (CFLAGS-tst-linkall-static.c): Likewise.
17731 (CFLAGS-tst-linkall-static.c): Likewise.
17732 (CPPFLAGS-dl-load.c): Likewise.
17733 (CFLAGS-ldconfig.c): Likewise.
17734 (CFLAGS-dl-cache.c): Likewise.
17735 (CFLAGS-cache.c): Likewise.
17736 (CFLAGS-rtld.c): Likewise.
17737 (CFLAGS-multiload.c): Likewise.
17738 (CFLAGS-filtmod1.c): Likewise.
17739 (CFLAGS-tst-align.c): Likewise.
17740 (CFLAGS-tst-align2.c): Likewise.
17741 (CFLAGS-tst-alignmod.c): Likewise.
17742 (CFLAGS-tst-alignmod2.c): Likewise.
17743 (CPPFLAGS-tst-execstack.c): Likewise.
17744 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17745 (CFLAGS-tst-latepthreadmod.c): Likewise.
17746 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17747 (CFLAGS-getgrnam_r.c): Likewise.
17748 (CFLAGS-getgrent_r.c): Likewise.
17749 (CFLAGS-getgrent.c): Likewise.
17750 (CFLAGS-fgetgrent.c): Likewise.
17751 (CFLAGS-fgetgrent_r.c): Likewise.
17752 (CFLAGS-putgrent.c): Likewise.
17753 (CFLAGS-initgroups.c): Likewise.
17754 (CFLAGS-getgrgid.c): Likewise.
17755 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17756 (CFLAGS-getsgent.c): Likewise.
17757 (CFLAGS-fgetsgent.c): Likewise.
17758 (CFLAGS-fgetsgent_r.c): Likewise.
17759 (CFLAGS-putsgent.c): Likewise.
17760 (CFLAGS-getsgnam.c): Likewise.
17761 (CFLAGS-getsgnam_r.c): Likewise.
17762 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17763 (CFLAGS-iconv_charmap.c): Likewise.
17764 (CFLAGS-dummy-repertoire.c): Likewise.
17765 (CFLAGS-charmap.c): Likewise.
17766 (CFLAGS-linereader.c): Likewise.
17767 (CFLAGS-simple-hash.c): Likewise.
17768 (CFLAGS-gconv_conf.c): Likewise.
17769 (CFLAGS-iconvconfig.c): Likewise.
17770 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17771 (CFLAGS-gethstbyad.c): Likewise.
17772 (CFLAGS-gethstbynm_r.c): Likewise.
17773 (CFLAGS-gethstbynm.c): Likewise.
17774 (CFLAGS-gethstbynm2_r.c): Likewise.
17775 (CFLAGS-gethstbynm2.c): Likewise.
17776 (CFLAGS-gethstent_r.c): Likewise.
17777 (CFLAGS-gethstent.c): Likewise.
17778 (CFLAGS-rcmd.c): Likewise.
17779 (CFLAGS-getnetbynm_r.c): Likewise.
17780 (CFLAGS-getnetbynm.c): Likewise.
17781 (CFLAGS-getnetbyad_r.c): Likewise.
17782 (CFLAGS-getnetbyad.c): Likewise.
17783 (CFLAGS-getnetent_r.c): Likewise.
17784 (CFLAGS-getnetent.c): Likewise.
17785 (CFLAGS-getaliasent_r.c): Likewise.
17786 (CFLAGS-getaliasent.c): Likewise.
17787 (CFLAGS-getrpcent_r.c): Likewise.
17788 (CFLAGS-getrpcent.c): Likewise.
17789 (CFLAGS-getservent_r.c): Likewise.
17790 (CFLAGS-getservent.c): Likewise.
17791 (CFLAGS-getprtent_r.c): Likewise.
17792 (CFLAGS-getprtent.c): Likewise.
17793 (CFLAGS-either_ntoh.c): Likewise.
17794 (CFLAGS-either_hton.c): Likewise.
17795 (CFLAGS-getnetgrent.c): Likewise.
17796 (CFLAGS-getnetgrent_r.c): Likewise.
17797 (CFLAGS-tst-checks-posix.c): Likewise.
17798 (CFLAGS-tst-sockaddr.c): Likewise.
17799 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17800 (CFLAGS-tst-translit.c): Likewise.
17801 (CFLAGS-tst-gettext2.c): Likewise.
17802 (CFLAGS-tst-codeset.c): Likewise.
17803 (CFLAGS-tst-gettext3.c): Likewise.
17804 (CFLAGS-tst-gettext4.c): Likewise.
17805 (CFLAGS-tst-gettext5.c): Likewise.
17806 (CFLAGS-tst-gettext6.c): Likewise.
17807 * io/Makefile (CFLAGS-open.c): Likewise.
17808 (CFLAGS-open64.c): Likewise.
17809 (CFLAGS-creat.c): Likewise.
17810 (CFLAGS-creat64.c): Likewise.
17811 (CFLAGS-fcntl.c): Likewise.
17812 (CFLAGS-poll.c): Likewise.
17813 (CFLAGS-ppoll.c): Likewise.
17814 (CFLAGS-lockf.c): Likewise.
17815 (CFLAGS-statfs.c): Likewise.
17816 (CFLAGS-fstatfs.c): Likewise.
17817 (CFLAGS-statvfs.c): Likewise.
17818 (CFLAGS-fstatvfs.c): Likewise.
17819 (CFLAGS-fts.c): Likewise.
17820 (CFLAGS-fts64.c): Likewise.
17821 (CFLAGS-ftw.c): Likewise.
17822 (CFLAGS-ftw64.c): Likewise.
17823 (CFLAGS-lockf.c): Likewise.
17824 (CFLAGS-posix_fallocate.c): Likewise.
17825 (CFLAGS-posix_fallocate64.c): Likewise.
17826 (CFLAGS-fallocate.c): Likewise.
17827 (CFLAGS-fallocate64.c): Likewise.
17828 (CFLAGS-read.c): Likewise.
17829 (CFLAGS-write.c): Likewise.
17830 (CFLAGS-test-stat.c): Likewise.
17831 (CFLAGS-test-lfs.c): Likewise.
17832 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17833 (CFLAGS-fputc.c): Likewise.
17834 (CFLAGS-fputwc.c): Likewise.
17835 (CFLAGS-freopen64.c): Likewise.
17836 (CFLAGS-freopen.c): Likewise.
17837 (CFLAGS-fseek.c): Likewise.
17838 (CFLAGS-fseeko64.c): Likewise.
17839 (CFLAGS-fseeko.c): Likewise.
17840 (CFLAGS-ftello64.c): Likewise.
17841 (CFLAGS-ftello.c): Likewise.
17842 (CFLAGS-fwide.c): Likewise.
17843 (CFLAGS-genops.c): Likewise.
17844 (CFLAGS-getc.c): Likewise.
17845 (CFLAGS-getchar.c): Likewise.
17846 (CFLAGS-getwc.c): Likewise.
17847 (CFLAGS-getwchar.c): Likewise.
17848 (CFLAGS-iofclose.c): Likewise.
17849 (CFLAGS-iofflush.c): Likewise.
17850 (CFLAGS-iofgetpos64.c): Likewise.
17851 (CFLAGS-iofgetpos.c): Likewise.
17852 (CFLAGS-iofgets.c): Likewise.
17853 (CFLAGS-iofgetws.c): Likewise.
17854 (CFLAGS-iofputs.c): Likewise.
17855 (CFLAGS-iofputws.c): Likewise.
17856 (CFLAGS-iofread.c): Likewise.
17857 (CFLAGS-iofsetpos64.c): Likewise.
17858 (CFLAGS-iofsetpos.c): Likewise.
17859 (CFLAGS-ioftell.c): Likewise.
17860 (CFLAGS-iofwrite.c): Likewise.
17861 (CFLAGS-iogetdelim.c): Likewise.
17862 (CFLAGS-iogetline.c): Likewise.
17863 (CFLAGS-iogets.c): Likewise.
17864 (CFLAGS-iogetwline.c): Likewise.
17865 (CFLAGS-ioputs.c): Likewise.
17866 (CFLAGS-ioseekoff.c): Likewise.
17867 (CFLAGS-ioseekpos.c): Likewise.
17868 (CFLAGS-iosetbuffer.c): Likewise.
17869 (CFLAGS-iosetvbuf.c): Likewise.
17870 (CFLAGS-ioungetc.c): Likewise.
17871 (CFLAGS-ioungetwc.c): Likewise.
17872 (CFLAGS-oldfileops.c): Likewise.
17873 (CFLAGS-oldiofclose.c): Likewise.
17874 (CFLAGS-oldiofgetpos64.c): Likewise.
17875 (CFLAGS-oldiofgetpos.c): Likewise.
17876 (CFLAGS-oldiofsetpos64.c): Likewise.
17877 (CFLAGS-oldiofsetpos.c): Likewise.
17878 (CFLAGS-peekc.c): Likewise.
17879 (CFLAGS-putc.c): Likewise.
17880 (CFLAGS-putchar.c): Likewise.
17881 (CFLAGS-putwc.c): Likewise.
17882 (CFLAGS-putwchar.c): Likewise.
17883 (CFLAGS-rewind.c): Likewise.
17884 (CFLAGS-wfileops.c): Likewise.
17885 (CFLAGS-wgenops.c): Likewise.
17886 (CFLAGS-oldiofopen.c): Likewise.
17887 (CFLAGS-iofopen.c): Likewise.
17888 (CFLAGS-iofopen64.c): Likewise.
17889 (CFLAGS-oldtmpfile.c): Likewise.
17890 (CFLAGS-tst_putwc.c): Likewise.
17891 * locale/Makefile (CFLAGS-md5.c): Likewise.
17892 (CFLAGS-charmap.c): Likewise.
17893 (CFLAGS-locfile.c): Likewise.
17894 (CFLAGS-charmap-dir.c): Likewise.
17895 * login/Makefile (CFLAGS-grantpt.c): Likewise.
17896 (CFLAGS-getpt.c): Likewise.
17897 (CFLAGS-pt_chown.c): Likewise.
17898 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
17899 (CFLAGS-obstack.c): Likewise.
17900 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
17901 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
17902 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
17903 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
17904 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
17905 (CFLAGS-test-tgmath.c): Likewise.
17906 (CFLAGS-test-tgmath2.c): Likewise.
17907 (CFLAGS-test-tgmath-ret.c): Likewise.
17908 (CFLAGS-test-powl.c): Likewise.
17909 (CFLAGS-test-snan.c): Likewise.
17910 (CFLAGS-test-signgam-finite.c): Likewise.
17911 (CFLAGS-test-signgam-finite-c99.c): Likewise.
17912 (CFLAGS-test-signgam-finite-c11.c): Likewise.
17913 (CFLAGS-test-signgam-uchar.c): Likewise.
17914 (CFLAGS-test-signgam-uchar-init.c): Likewise.
17915 (CFLAGS-test-signgam-uchar-static.c): Likewise.
17916 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17917 (CFLAGS-test-signgam-uint.c): Likewise.
17918 (CFLAGS-test-signgam-uint-init.c): Likewise.
17919 (CFLAGS-test-signgam-uint-static.c): Likewise.
17920 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17921 (CFLAGS-test-signgam-ullong.c): Likewise.
17922 (CFLAGS-test-signgam-ullong-init.c): Likewise.
17923 (CFLAGS-test-signgam-ullong-static.c): Likewise.
17924 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17925 (CFLAGS-test-math-cxx11.cc): Likewise.
17926 (CFLAGS-test-math-isinff.cc): Likewise.
17927 (CFLAGS-test-math-iszero.cc): Likewise.
17928 (CFLAGS-test-math-issignaling.cc): Likewise.
17929 (CFLAGS-test-math-iscanonical.cc): Likewise.
17930 (CFLAGS-test-iszero-excess-precision.c): Likewise.
17931 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
17932 (CFLAGS-test-flt-eval-method.c): Likewise.
17933 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
17934 (CFLAGS-test-finite-macros.c): Likewise.
17935 * misc/Makefile (CFLAGS-select.c): Likewise.
17936 (CFLAGS-tsearch.c): Likewise.
17937 (CFLAGS-lsearch.c): Likewise.
17938 (CFLAGS-pselect.c): Likewise.
17939 (CFLAGS-readv.c): Likewise.
17940 (CFLAGS-writev.c): Likewise.
17941 (CFLAGS-preadv.c): Likewise.
17942 (CFLAGS-preadv64.c): Likewise.
17943 (CFLAGS-pwritev.c): Likewise.
17944 (CFLAGS-pwritev64.c): Likewise.
17945 (CFLAGS-preadv2.c): Likewise.
17946 (CFLAGS-preadv64v2.c): Likewise.
17947 (CFLAGS-pwritev2.c): Likewise.
17948 (CFLAGS-pwritev64v2.c): Likewise.
17949 (CFLAGS-usleep.c): Likewise.
17950 (CFLAGS-syslog.c): Likewise.
17951 (CFLAGS-error.c): Likewise.
17952 (CFLAGS-getpass.c): Likewise.
17953 (CFLAGS-mkstemp.c): Likewise.
17954 (CFLAGS-mkstemp64.c): Likewise.
17955 (CFLAGS-getsysstats.c): Likewise.
17956 (CFLAGS-getusershell.c): Likewise.
17957 (CFLAGS-err.c): Likewise.
17958 (CFLAGS-tst-tsearch.c): Likewise.
17959 (CFLAGS-msync.c): Likewise.
17960 (CFLAGS-fdatasync.c): Likewise.
17961 (CFLAGS-fsync.c): Likewise.
17962 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
17963 (CFLAGS-unwind.c): Likewise.
17964 (CFLAGS-unwind-forcedunwind.c): Likewise.
17965 (CFLAGS-pthread_cancel.c): Likewise.
17966 (CFLAGS-pthread_setcancelstate.c): Likewise.
17967 (CFLAGS-pthread_setcanceltype.c): Likewise.
17968 (CFLAGS-cancellation.c): Likewise.
17969 (CFLAGS-libc-cancellation.c): Likewise.
17970 (CFLAGS-pthread_exit.c): Likewise.
17971 (CFLAGS-forward.c): Likewise.
17972 (CFLAGS-pthread_testcancel.c): Likewise.
17973 (CFLAGS-pthread_join.c): Likewise.
17974 (CFLAGS-pthread_timedjoin.c): Likewise.
17975 (CFLAGS-pthread_once.c): Likewise.
17976 (CFLAGS-pthread_cond_wait.c): Likewise.
17977 (CFLAGS-sem_wait.c): Likewise.
17978 (CFLAGS-sem_timedwait.c): Likewise.
17979 (CFLAGS-fcntl.c): Likewise.
17980 (CFLAGS-lockf.c): Likewise.
17981 (CFLAGS-pread.c): Likewise.
17982 (CFLAGS-pread64.c): Likewise.
17983 (CFLAGS-pwrite.c): Likewise.
17984 (CFLAGS-pwrite64.c): Likewise.
17985 (CFLAGS-wait.c): Likewise.
17986 (CFLAGS-waitpid.c): Likewise.
17987 (CFLAGS-sigwait.c): Likewise.
17988 (CFLAGS-msgrcv.c): Likewise.
17989 (CFLAGS-msgsnd.c): Likewise.
17990 (CFLAGS-tcdrain.c): Likewise.
17991 (CFLAGS-open.c): Likewise.
17992 (CFLAGS-open64.c): Likewise.
17993 (CFLAGS-pause.c): Likewise.
17994 (CFLAGS-recv.c): Likewise.
17995 (CFLAGS-send.c): Likewise.
17996 (CFLAGS-accept.c): Likewise.
17997 (CFLAGS-sendto.c): Likewise.
17998 (CFLAGS-connect.c): Likewise.
17999 (CFLAGS-recvfrom.c): Likewise.
18000 (CFLAGS-recvmsg.c): Likewise.
18001 (CFLAGS-sendmsg.c): Likewise.
18002 (CFLAGS-close.c): Likewise.
18003 (CFLAGS-read.c): Likewise.
18004 (CFLAGS-write.c): Likewise.
18005 (CFLAGS-nanosleep.c): Likewise.
18006 (CFLAGS-sigsuspend.c): Likewise.
18007 (CFLAGS-msync.c): Likewise.
18008 (CFLAGS-fdatasync.c): Likewise.
18009 (CFLAGS-fsync.c): Likewise.
18010 (CFLAGS-pt-system.c): Likewise.
18011 (CFLAGS-tst-cleanup2.c): Likewise.
18012 (CFLAGS-tst-cleanupx2.c): Likewise.
18013 (CFLAGS-flockfile.c): Likewise.
18014 (CFLAGS-ftrylockfile.c): Likewise.
18015 (CFLAGS-funlockfile.c): Likewise.
18016 (CFLAGS-tst-initializers1.c): Likewise.
18017 (CFLAGS-tst-initializers1-c89.c): Likewise.
18018 (CFLAGS-tst-initializers1-c99.c): Likewise.
18019 (CFLAGS-tst-initializers1-c11.c): Likewise.
18020 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18021 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18022 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18023 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18024 (CFLAGS-nscd_getgr_r.c): Likewise.
18025 (CFLAGS-nscd_gethst_r.c): Likewise.
18026 (CFLAGS-nscd_getai.c): Likewise.
18027 (CFLAGS-nscd_initgroups.c): Likewise.
18028 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18029 (CFLAGS-pause.c): Likewise.
18030 (CFLAGS-pread.c): Likewise.
18031 (CFLAGS-pread64.c): Likewise.
18032 (CFLAGS-pwrite.c): Likewise.
18033 (CFLAGS-pwrite64.c): Likewise.
18034 (CFLAGS-sleep.c): Likewise.
18035 (CFLAGS-wait.c): Likewise.
18036 (CFLAGS-waitid.c): Likewise.
18037 (CFLAGS-waitpid.c): Likewise.
18038 (CFLAGS-getopt.c): Likewise.
18039 (CFLAGS-wordexp.c): Likewise.
18040 (CFLAGS-sysconf.c): Likewise.
18041 (CFLAGS-pathconf.c): Likewise.
18042 (CFLAGS-fpathconf.c): Likewise.
18043 (CFLAGS-spawn.c): Likewise.
18044 (CFLAGS-spawnp.c): Likewise.
18045 (CFLAGS-spawni.c): Likewise.
18046 (CFLAGS-glob.c): Likewise.
18047 (CFLAGS-glob64.c): Likewise.
18048 (CFLAGS-getconf.c): Likewise.
18049 (CFLAGS-nanosleep.c): Likewise.
18050 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18051 (CFLAGS-getpwent.c): Likewise.
18052 (CFLAGS-getpw.c): Likewise.
18053 (CFLAGS-fgetpwent_r.c): Likewise.
18054 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18055 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18056 (CFLAGS-mq_timedreceive.c): Likewise.
18057 (CFLAGS-mq_timedsend.c): Likewise.
18058 (CFLAGS-clock_nanosleep.c): Likewise.
18059 (CFLAGS-librt-cancellation.c): Likewise.
18060 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18061 (CFLAGS-getspent.c): Likewise.
18062 (CFLAGS-fgetspent.c): Likewise.
18063 (CFLAGS-fgetspent_r.c): Likewise.
18064 (CFLAGS-putspent.c): Likewise.
18065 (CFLAGS-getspnam.c): Likewise.
18066 (CFLAGS-getspnam_r.c): Likewise.
18067 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18068 (CFLAGS-sigsuspend.c): Likewise.
18069 (CFLAGS-sigtimedwait.c): Likewise.
18070 (CFLAGS-sigwait.c): Likewise.
18071 (CFLAGS-sigwaitinfo.c): Likewise.
18072 (CFLAGS-sigreturn.c): Likewise.
18073 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18074 (CFLAGS-vfwprintf.c): Likewise.
18075 (CFLAGS-tmpfile.c): Likewise.
18076 (CFLAGS-tmpfile64.c): Likewise.
18077 (CFLAGS-tempname.c): Likewise.
18078 (CFLAGS-psignal.c): Likewise.
18079 (CFLAGS-vprintf.c): Likewise.
18080 (CFLAGS-cuserid.c): Likewise.
18081 (CFLAGS-errlist.c): Likewise.
18082 (CFLAGS-siglist.c): Likewise.
18083 (CFLAGS-scanf15.c): Likewise.
18084 (CFLAGS-scanf17.c): Likewise.
18085 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18086 (CFLAGS-msort.c): Likewise.
18087 (CFLAGS-qsort.c): Likewise.
18088 (CFLAGS-system.c): Likewise.
18089 (CFLAGS-fmtmsg.c): Likewise.
18090 (CFLAGS-strfmon.c): Likewise.
18091 (CFLAGS-strfmon_l.c): Likewise.
18092 (CFLAGS-strfromd.c): Likewise.
18093 (CFLAGS-strfromf.c): Likewise.
18094 (CFLAGS-strfroml.c): Likewise.
18095 (CFLAGS-tst-bsearch.c): Likewise.
18096 (CFLAGS-tst-qsort.c): Likewise.
18097 (CFLAGS-tst-makecontext2.c): Likewise.
18098 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18099 (CFLAGS-xnlm_prot.c): Likewise.
18100 (CFLAGS-xrstat.c): Likewise.
18101 (CFLAGS-xyppasswd.c): Likewise.
18102 (CFLAGS-xklm_prot.c): Likewise.
18103 (CFLAGS-xrex.c): Likewise.
18104 (CFLAGS-xsm_inter.c): Likewise.
18105 (CFLAGS-xmount.c): Likewise.
18106 (CFLAGS-xrusers.c): Likewise.
18107 (CFLAGS-xspray.c): Likewise.
18108 (CFLAGS-xnfs_prot.c): Likewise.
18109 (CFLAGS-xrquota.c): Likewise.
18110 (CFLAGS-xkey_prot.c): Likewise.
18111 (CFLAGS-auth_unix.c): Likewise.
18112 (CFLAGS-key_call.c): Likewise.
18113 (CFLAGS-pmap_rmt.c): Likewise.
18114 (CFLAGS-clnt_perr.c): Likewise.
18115 (CFLAGS-openchild.c): Likewise.
18116 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18117 (CFLAGS-msgsnd.c): Likewise.
18118 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18119 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18120 (CFLAGS-tzset.c): Likewise.
18121 (CFLAGS-getdate.c): Likewise.
18122 (CFLAGS-test_time.c): Likewise.
18123 (CPPFLAGS-tst-tzname.c): Likewise.
18124 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18125 (CFLAGS-zic.c): Likewise.
18126 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18127 (CFLAGS-wcswidth.c): Likewise.
18128 (CFLAGS-wcstol.c): Likewise.
18129 (CFLAGS-wcstoul.c): Likewise.
18130 (CFLAGS-wcstoll.c): Likewise.
18131 (CFLAGS-wcstoull.c): Likewise.
18132 (CFLAGS-wcstod.c): Likewise.
18133 (CFLAGS-wcstold.c): Likewise.
18134 (CFLAGS-wcstof128.c): Likewise.
18135 (CFLAGS-wcstof.c): Likewise.
18136 (CFLAGS-wcstol_l.c): Likewise.
18137 (CFLAGS-wcstoul_l.c): Likewise.
18138 (CFLAGS-wcstoll_l.c): Likewise.
18139 (CFLAGS-wcstoull_l.c): Likewise.
18140 (CFLAGS-wcstod_l.c): Likewise.
18141 (CFLAGS-wcstold_l.c): Likewise.
18142 (CFLAGS-wcstof128_l.c): Likewise.
18143 (CFLAGS-wcstof_l.c): Likewise.
18144 (CPPFLAGS-tst-wchar-h.c): Likewise.
18145 (CPPFLAGS-wcstold_l.c): Likewise.
18147 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18149 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18151 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18152 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18154 * manual/tunables.texi (Hardware Capability Tunables): Document
18155 glibc.tune.cached_memopt.
18156 * sysdeps/powerpc/cpu-features.c: New file.
18157 * sysdeps/powerpc/cpu-features.h: New file.
18158 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18159 _dl_powerpc_cpu_features.
18160 * sysdeps/powerpc/dl-tunables.list: New file.
18161 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18162 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18163 (INIT_ARCH): Initialize use_aligned_memopt.
18164 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18165 IS_IN(rtld))]: Restrict dl_platform_init availability and
18166 initialize CPU features used by tunables.
18167 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18168 Add memcpy-power8-cached.
18169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18170 __memcpy_power8_cached.
18171 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18172 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18175 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18177 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18178 (CFLAGS-noinl-tester.c): Likewise.
18179 (CFLAGS-tst-strlen.c): Likewise.
18180 (CFLAGS-stratcliff.c): Likewise.
18181 (CFLAGS-test-ffs.c): Likewise.
18182 (CFLAGS-tst-inlcall.c): Likewise.
18183 (CFLAGS-tst-xbzero-opt.c): Likewise.
18184 (CFLAGS-memcpy.c): Likewise.
18185 (CFLAGS-wordcopy.c): Likewise.
18187 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18189 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18190 Store r15 on stack and add cfi rule.
18191 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18194 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18197 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18200 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18202 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18203 Add s_sinf-sse2 and s_sinf-fma.
18204 (CFLAGS-s_sinf-fma.c): New.
18205 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18206 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18207 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18209 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18211 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18213 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18216 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18217 part of result to imaginary part of argument if it is zero and the
18218 real part of the argument is not finite.
18219 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18220 of result to real part of argument if it is zero and the imaginary
18221 part of the argument is not finite.
18223 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18226 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18227 and to the list of locales to be built for testing.
18228 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18229 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18230 and build the collation rules upon that.
18232 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18234 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18235 * manual/math.texi (Mathematics): Document support for _Float32.
18236 * math/Makefile (test-types): Add float32.
18237 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18238 * stdlib/Versions (GLIBC_2.27): Likewise.
18239 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18240 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18241 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18242 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18243 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18244 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18245 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18246 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18247 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18248 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18249 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18250 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18251 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18252 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18253 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18254 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18255 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18256 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18257 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18258 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18259 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18260 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18262 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18263 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18264 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18265 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18266 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18284 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18285 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18286 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18287 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18288 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18289 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18290 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18291 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18292 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18293 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18302 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18303 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18304 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18305 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18306 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18307 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18308 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18309 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18311 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18313 * stdlib/strtof.c: Include <bits/floatn.h>
18314 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18315 and later undefine as macro. Define as weak alias if
18317 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18318 and later undefine as macro. Define as weak alias if
18320 * stdlib/strtof_l.c: Include <bits/floatn.h>
18321 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18322 and later undefine as macro. Define as weak alias if
18324 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18325 and later undefine as macro. Define as weak alias if
18328 * stdlib/strfromf.c: Include <bits/floatn.h>.
18329 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18330 and later undefine as macro and define as weak alias.
18332 * math/test-float32.h: New file.
18334 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18335 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18336 (libm_alias_float_other_r): Create f32 alias.
18337 (libm_alias_float_r): Use semicolon before call to
18338 libm_alias_float_other_r.
18340 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18341 second argument to libm_alias_float_other.
18342 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18343 second argument to libm_alias_float_other.
18344 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18345 argument to libm_alias_float_other.
18348 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18349 real part of result for argument 0 + i * NaN.
18350 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18351 results for tests of 0 + i * NaN.
18353 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18355 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18357 2017-12-06 David S. Miller <davem@davemloft.net>
18359 * sysdeps/sparc/fpu/libm-test-ulps: Update
18360 exp_{downward,towardzero,upward} ulps.
18362 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18364 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18367 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18369 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18376 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18379 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18380 and to the list of locales to be built for testing.
18381 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18382 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18383 and build the collation rules upon that.
18385 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18387 * NEWS: Add sinf to list of optimized functions.
18389 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18391 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18392 (__HAVE_FLOAT32X): Likewise.
18393 * manual/math.texi (Mathematics): Document support for _Float64
18395 * math/Makefile (test-types): Add float64 and float32x.
18396 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18398 * stdlib/Versions (GLIBC_2.27): Likewise.
18399 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18400 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18401 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18402 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18403 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18404 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18405 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18406 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18407 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18408 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18409 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18410 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18411 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18412 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18413 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18414 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18415 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18416 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18417 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18418 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18419 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18420 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18422 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18423 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18424 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18425 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18426 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18443 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18444 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18445 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18446 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18447 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18448 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18449 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18450 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18451 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18452 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18461 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18462 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18463 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18464 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18465 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18466 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18467 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18468 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18470 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18472 * bits/floatn-common.h: Include <bits/long-double.h>.
18473 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18474 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18475 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18476 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18477 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18478 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18479 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18480 (__builtin_huge_valf64): Use __builtin_huge_vall.
18481 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18482 (__builtin_inff64): Use __builtin_infl.
18483 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18484 (__builtin_nanf64): Use __builtin_nanl.
18485 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18486 (__builtin_nansf64): Use __builtin_nansl.
18488 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18489 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18490 Carlos O'Donnell <carlos@redhat.com>
18492 * elf/dl-tunables.list: Add elision parameters.
18493 * manual/tunables.texi: Add entries about elision tunable.
18494 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18495 Add callback functions to dynamically enable/disable elision.
18496 Add multiple callbacks functions to set elision parameters.
18497 Deleted __libc_enable_secure check.
18498 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18499 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18500 * configure: Regenerated.
18501 * configure.ac: Option enable_lock_elision was deleted.
18502 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18503 * config.make.in: Remove references to enable_lock_elision.
18504 * manual/install.texi: Elision configure option was removed.
18505 * INSTALL: Regenerated to remove enable_lock_elision.
18507 Disable elision so it can verify error case for destroying a mutex.
18508 * sysdeps/powerpc/nptl/elide.h:
18509 Cleanup ENABLE_LOCK_ELISION check.
18510 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18511 * sysdeps/s390/configure: Regenerated.
18512 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18513 * nptl/tst-mutex8.c:
18514 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18515 * sysdeps/powerpc/powerpc32/sysdep.h:
18516 Deleted all ENABLE_LOCK_ELISION checks.
18517 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18518 * sysdeps/powerpc/sysdep.h: Likewise.
18519 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18520 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18521 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18522 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18523 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18524 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18525 enable-lock-elision.
18527 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18529 * stdlib/strtod.c: Include <bits/floatn.h>.
18530 (BUILD_DOUBLE): New macro.
18531 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18532 (strtof64): Define and later undefine as macro. Define as weak
18533 alias if [!USE_WIDE_CHAR].
18534 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18535 (wcstof64): Define and later undefine as macro. Define as weak
18536 alias if [USE_WIDE_CHAR].
18537 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18538 (strtof32x): Define and later undefine as macro. Define as weak
18539 alias if [!USE_WIDE_CHAR].
18540 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18541 (wcstof32x): Define and later undefine as macro. Define as weak
18542 alias if [USE_WIDE_CHAR].
18543 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18544 (BUILD_DOUBLE): New macro.
18545 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18546 (strtof64_l): Define and later undefine as macro. Define as weak
18547 alias if [!USE_WIDE_CHAR].
18548 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18549 (wcstof64_l): Define and later undefine as macro. Define as weak
18550 alias if [USE_WIDE_CHAR].
18551 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18552 (strtof32x_l): Define and later undefine as macro. Define as weak
18553 alias if [!USE_WIDE_CHAR].
18554 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18555 (wcstof32x_l): Define and later undefine as macro. Define as weak
18556 alias if [USE_WIDE_CHAR].
18558 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18560 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18561 (reduced): Use ones as double instead of integer.
18563 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18565 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18567 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18569 * stdlib/strfromd.c: Include <bits/floatn.h>.
18570 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18571 and later undefine as macro and define as weak alias.
18572 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18575 * math/test-float32x.h: New file.
18576 * math/test-float64.h: Likewise.
18578 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18579 (libm_alias_double_other_r_f64): New macro.
18580 (libm_alias_double_other_r_f32x): Likewise.
18581 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18582 libm_alias_double_other_r_f32x.
18583 (libm_alias_double_r): Use semicolon before call to
18584 libm_alias_double_other_r.
18585 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18587 (libm_alias_double_other_r_f64): New macro.
18588 (libm_alias_double_other_r_f32x): Likewise.
18589 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18590 libm_alias_double_other_r_f32x.
18592 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18594 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18596 (SINF_FUNC): Likewise. Replace floor with simple casts.
18598 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18601 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18602 and to the list of locales to be built for testing.
18603 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18604 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18605 and build the collation rules upon that.
18607 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18609 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18610 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18611 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18612 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18613 instead of __insn__xxx.
18614 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18615 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18616 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18617 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18618 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18619 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18621 2017-12-05 Florian Weimer <fweimer@redhat.com>
18623 Linux: Implement interfaces for memory protection keys
18624 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18626 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18627 * support/xunistd.h (xsysconf): Declare.
18628 * support/xraise.c: New file.
18629 * support/xsigaction.c: Likewise.
18630 * support/xsignal.c: Likewise.
18631 * support/xsysconf.c: Likewise.
18632 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18633 pkey_set, pkey_get, pkey_mprotect.
18634 [misc] (tests): Add tst-pkey.
18635 (tst-pkey): Link with -lpthread.
18636 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18637 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18638 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18639 (PKEY_DISABLE_WRITE): Define.
18640 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18642 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18643 (SEGV_PKUERR): Add.
18644 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18645 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18646 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18647 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18649 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18650 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18651 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18652 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18653 * sysdeps/unix/sysv/linux/**.abilist: Update.
18655 2017-12-05 Florian Weimer <fweimer@redhat.com>
18657 * support/tst-test_compare.c (subprocess): Use long long instead
18658 of long argument for consistent type width across 32-bit and
18659 64-bit architectures.
18660 (do_test): Adjust expected output.
18662 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18664 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18665 (cosf): Define using libm_alias_float.
18666 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18667 (fabsf): Define using libm_alias_float.
18668 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18669 (fmaf): Define using libm_alias_float.
18670 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18671 (rintf): Define using libm_alias_float.
18672 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18673 (sinf): Define using libm_alias_float.
18674 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18675 <libm-alias-float.h>.
18676 (modff): Define using libm_alias_float.
18677 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18678 <libm-alias-float.h>.
18679 (logbf): Define using libm_alias_float.
18680 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18681 <libm-alias-float.h>.
18682 (ceilf): Define using libm_alias_float.
18683 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18684 <libm-alias-float.h>.
18685 (copysignf): Define using libm_alias_float.
18686 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18687 <libm-alias-float.h>.
18688 (floorf): Define using libm_alias_float.
18689 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18690 <libm-alias-float.h>.
18691 (llrintf): Define using libm_alias_float.
18692 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18693 <libm-alias-float.h>.
18694 (llroundf): Define using libm_alias_float.
18695 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18696 <libm-alias-float.h>.
18697 (lrintf): Define using libm_alias_float.
18698 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18699 <libm-alias-float.h>.
18700 (lroundf): Define using libm_alias_float.
18701 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18702 <libm-alias-float.h>.
18703 (nearbyintf): Define using libm_alias_float.
18704 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18705 <libm-alias-float.h>.
18706 (rintf): Define using libm_alias_float.
18707 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18708 <libm-alias-float.h>.
18709 (roundf): Define using libm_alias_float.
18710 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18711 <libm-alias-float.h>.
18712 (truncf): Define using libm_alias_float.
18713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18714 Include <libm-alias-float.h>.
18715 (ceilf): Define using libm_alias_float.
18716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18717 Include <libm-alias-float.h>.
18718 (copysignf): Define using libm_alias_float.
18719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18720 Include <libm-alias-float.h>.
18721 (floorf): Define using libm_alias_float.
18722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18723 Include <libm-alias-float.h>.
18724 (llrintf): Define using libm_alias_float.
18725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18726 Include <libm-alias-float.h>.
18727 (llroundf): Define using libm_alias_float.
18728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18729 Include <libm-alias-float.h>.
18730 (logbf): Define using libm_alias_float.
18731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18732 Include <libm-alias-float.h>.
18733 (lrintf): Define using libm_alias_float.
18734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18735 Include <libm-alias-float.h>.
18736 (lroundf): Define using libm_alias_float.
18737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18738 Include <libm-alias-float.h>.
18739 (modff): Define using libm_alias_float.
18740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18741 Include <libm-alias-float.h>.
18742 (roundf): Define using libm_alias_float.
18743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18744 Include <libm-alias-float.h>.
18745 (truncf): Define using libm_alias_float.
18746 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18747 <libm-alias-float.h>.
18748 (llrintf): Define using libm_alias_float.
18749 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18750 <libm-alias-float.h>.
18751 (llroundf): Define using libm_alias_float.
18752 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18753 <libm-alias-float.h>.
18754 (ceilf): Define using libm_alias_float.
18755 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18756 <libm-alias-float.h>.
18757 (floorf): Define using libm_alias_float.
18758 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18759 <libm-alias-float.h>.
18760 (llroundf): Define using libm_alias_float.
18761 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18762 <libm-alias-float.h>.
18763 (lroundf): Define using libm_alias_float.
18764 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18765 <libm-alias-float.h>.
18766 (roundf): Define using libm_alias_float.
18767 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18768 <libm-alias-float.h>.
18769 (truncf): Define using libm_alias_float.
18770 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18771 <libm-alias-float.h>.
18772 (copysignf): Define using libm_alias_float.
18773 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18774 <libm-alias-float.h>.
18775 (llrintf): Define using libm_alias_float.
18776 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18777 <libm-alias-float.h>.
18778 (llroundf): Define using libm_alias_float.
18779 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18780 <libm-alias-float.h>.
18781 (lrintf): Define using libm_alias_float.
18782 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18783 <libm-alias-float.h>.
18784 (lroundf): Define using libm_alias_float.
18785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18786 <libm-alias-float.h>.
18787 (ceilf): Define using libm_alias_float.
18788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18789 <libm-alias-float.h>.
18790 (copysignf): Define using libm_alias_float.
18791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18792 <libm-alias-float.h>.
18793 (cosf): Define using libm_alias_float.
18794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18795 <libm-alias-float.h>.
18796 (floorf): Define using libm_alias_float.
18797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18798 <libm-alias-float.h>.
18799 (llrintf): Define using libm_alias_float.
18800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18801 <libm-alias-float.h>.
18802 (llroundf): Define using libm_alias_float.
18803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18804 <libm-alias-float.h>.
18805 (logbf): Define using libm_alias_float.
18806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18807 <libm-alias-float.h>.
18808 (modff): Define using libm_alias_float.
18809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18810 <libm-alias-float.h>.
18811 (roundf): Define using libm_alias_float.
18812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18813 <libm-alias-float.h>.
18814 (sinf): Define using libm_alias_float.
18815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18816 <libm-alias-float.h>.
18817 (truncf): Define using libm_alias_float.
18818 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18819 <libm-alias-float.h>.
18820 (ceilf): Define using libm_alias_float.
18821 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18822 <libm-alias-float.h>.
18823 (copysignf): Define using libm_alias_float.
18824 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18825 <libm-alias-float.h>.
18826 (floorf): Define using libm_alias_float.
18827 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18828 <libm-alias-float.h>.
18829 (llrintf): Define using libm_alias_float.
18830 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18831 <libm-alias-float.h>.
18832 (llroundf): Define using libm_alias_float.
18833 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18834 <libm-alias-float.h>.
18835 (nearbyintf): Define using libm_alias_float.
18836 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18837 <libm-alias-float.h>.
18838 (rintf): Define using libm_alias_float.
18839 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18840 <libm-alias-float.h>.
18841 (roundf): Define using libm_alias_float.
18842 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18843 <libm-alias-float.h>.
18844 (truncf): Define using libm_alias_float.
18845 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18846 <libm-alias-float.h>.
18847 (ceilf): Define using libm_alias_float.
18848 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18849 <libm-alias-float.h>.
18850 (floorf): Define using libm_alias_float.
18851 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18852 <libm-alias-float.h>.
18853 (llroundf): Define using libm_alias_float.
18854 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18855 <libm-alias-float.h>.
18856 (roundf): Define using libm_alias_float.
18857 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18858 <libm-alias-float.h>.
18859 (truncf): Define using libm_alias_float.
18860 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18861 <libm-alias-float.h>.
18862 (copysignf): Define using libm_alias_float.
18863 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18864 <libm-alias-float.h>.
18865 (llrintf): Define using libm_alias_float.
18866 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18867 <libm-alias-float.h>.
18868 (llroundf): Define using libm_alias_float.
18869 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18870 <libm-alias-float.h>.
18871 (cosf): Define using libm_alias_float.
18872 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18873 <libm-alias-float.h>.
18874 (llrintf): Define using libm_alias_float.
18875 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18876 <libm-alias-float.h>.
18877 (llroundf): Define using libm_alias_float.
18878 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18879 <libm-alias-float.h>.
18880 (sinf): Define using libm_alias_float.
18882 2017-12-04 Florian Weimer <fweimer@redhat.com>
18884 * support/check.h (TEST_COMPARE): Define.
18885 (support_test_compare_failure): Declare.
18886 * support/Makefile (libsupport-routines): Add
18887 support_test_compare_failure.
18888 (tests): Add tst-test_compare.
18889 * support /support_test_compare_failure.c: New file.
18890 * support/tst-test_compare.c: Likewise.
18892 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18895 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
18896 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
18897 available, this rewrite of the collation rules does reproduce
18898 the test file in the same order.
18900 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18903 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
18904 digraphs in the month and day names. Using single code points for
18905 digraphs is deprecated. While there are dedicated Unicode
18906 codepoints, for the digraphs, these are included for backwards
18907 compatibility and modern texts use a sequence of Basic Latin
18908 characters. See: https://www.unicode.org/faq/ligature_digraph.html
18909 This makes the month and day names agree exactly with CLDR now,
18910 CLDR does not use the single code points for the digraphs either.
18912 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
18914 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
18916 2017-12-04 Joseph Myers <joseph@codesourcery.com>
18918 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
18921 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
18923 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
18924 Define only for libc.so.
18926 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18928 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18929 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
18930 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
18931 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
18932 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18934 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18937 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
18939 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
18942 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
18943 PREINIT_FUNCTION_WEAK is nonzero.
18944 (gmon_initializer): New function. Put procedure label for it in
18945 .init_array section.
18946 (_init): Don't call PREINIT_FUNCTION.
18947 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
18948 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
18949 value when map argument is null.
18951 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
18952 depi instruction from PIC pc-relative sequence.
18953 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
18954 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
18955 (elf_machine_load_address): Likewise.
18956 (elf_machine_runtime_setup): Likewise.
18958 2017-12-02 Joseph Myers <joseph@codesourcery.com>
18960 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
18961 <libm-alias-double.h>.
18962 (logb): Define using libm_alias_double.
18963 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18964 <libm-alias-double.h>.
18965 (copysign): Define using libm_alias_double.
18966 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
18967 <libm-alias-double.h>.
18968 (llrint): Define using libm_alias_double.
18969 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
18970 <libm-alias-double.h>.
18971 (llround): Define using libm_alias_double.
18972 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18973 <libm-alias-double.h>.
18974 (lrint): Define using libm_alias_double.
18975 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18976 <libm-alias-double.h>.
18977 (lround): Define using libm_alias_double.
18978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18979 Include <libm-alias-double.h>.
18980 (copysign): Define using libm_alias_double.
18981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
18982 Include <libm-alias-double.h>.
18983 (llrint): Define using libm_alias_double.
18984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
18985 Include <libm-alias-double.h>.
18986 (llround): Define using libm_alias_double.
18987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
18988 <libm-alias-double.h>.
18989 (logb): Define using libm_alias_double.
18990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
18991 Include <libm-alias-double.h>.
18992 (lrint): Define using libm_alias_double.
18993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
18994 Include <libm-alias-double.h>.
18995 (lround): Define using libm_alias_double.
18996 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
18997 <libm-alias-double.h>.
18998 (llrint): Define using libm_alias_double.
18999 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19000 <libm-alias-double.h>.
19001 (llround): Define using libm_alias_double.
19002 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19003 <libm-alias-double.h>.
19004 (llround): Define using libm_alias_double.
19005 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19006 <libm-alias-double.h>.
19007 (lround): Define using libm_alias_double.
19008 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19009 <libm-alias-double.h>.
19010 (copysign): Define using libm_alias_double.
19011 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19012 <libm-alias-double.h>.
19013 (llrint): Define using libm_alias_double.
19014 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19015 <libm-alias-double.h>.
19016 (llround): Define using libm_alias_double.
19017 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19018 <libm-alias-double.h>.
19019 (lrint): Define using libm_alias_double.
19020 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19021 <libm-alias-double.h>.
19022 (lround): Define using libm_alias_double.
19023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19024 <libm-alias-double.h>.
19025 (copysign): Define using libm_alias_double.
19026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19027 <libm-alias-double.h>.
19028 (llrint): Define using libm_alias_double.
19030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19031 <libm-alias-double.h>.
19032 (llround): Define using libm_alias_double.
19033 (lround): Likewise.
19034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19035 <libm-alias-double.h>.
19036 (logb): Define using libm_alias_double.
19037 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19038 <libm-alias-double.h>.
19039 (copysign): Define using libm_alias_double.
19040 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19041 <libm-alias-double.h>.
19042 (llrint): Define using libm_alias_double.
19044 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19045 <libm-alias-double.h>.
19046 (llround): Define using libm_alias_double.
19047 (lround): Likewise.
19048 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19049 <libm-alias-double.h>.
19050 (llround): Define using libm_alias_double.
19051 (lround): Likewise.
19052 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19053 <libm-alias-double.h>.
19054 (copysign): Define using libm_alias_double.
19055 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19056 <libm-alias-double.h>.
19057 (llrint): Define using libm_alias_double.
19059 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19060 <libm-alias-double.h>.
19061 (llround): Define using libm_alias_double.
19062 (lround): Likewise.
19063 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19064 <libm-alias-double.h>.
19065 (llrint): Define using libm_alias_double.
19067 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19068 <libm-alias-double.h>.
19069 (llround): Define using libm_alias_double.
19070 (lround): Likewise.
19072 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19075 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19076 compat symbol based on llround.
19078 * sysdeps/powerpc/power7/fpu/s_logb.c
19079 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19080 symbol based on __logb, not on logb.
19081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19082 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19084 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19086 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19087 (rint): Define using libm_alias_double.
19088 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19089 <libm-alias-double.h>.
19090 (modf): Define using libm_alias_double.
19091 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19092 <libm-alias-double.h>.
19093 (ceil): Define using libm_alias_double.
19094 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19095 <libm-alias-double.h>.
19096 (floor): Define using libm_alias_double.
19097 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19098 <libm-alias-double.h>.
19099 (nearbyint): Define using libm_alias_double.
19100 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19101 <libm-alias-double.h>.
19102 (rint): Define using libm_alias_double.
19103 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19104 <libm-alias-double.h>.
19105 (round): Define using libm_alias_double.
19106 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19107 <libm-alias-double.h>.
19108 (trunc): Define using libm_alias_double.
19109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19110 <libm-alias-double.h>.
19111 (ceil): Define using libm_alias_double.
19112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19113 Include <libm-alias-double.h>.
19114 (floor): Define using libm_alias_double.
19115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19116 <libm-alias-double.h>.
19117 (modf): Define using libm_alias_double.
19118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19119 Include <libm-alias-double.h>.
19120 (round): Define using libm_alias_double.
19121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19122 Include <libm-alias-double.h>.
19123 (trunc): Define using libm_alias_double.
19124 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19125 <libm-alias-double.h>.
19126 (ceil): Define using libm_alias_double.
19127 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19128 <libm-alias-double.h>.
19129 (floor): Define using libm_alias_double.
19130 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19131 <libm-alias-double.h>.
19132 (round): Define using libm_alias_double.
19133 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19134 <libm-alias-double.h>.
19135 (trunc): Define using libm_alias_double.
19136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19137 <libm-alias-double.h>.
19138 (ceil): Define using libm_alias_double.
19139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19140 <libm-alias-double.h>.
19141 (floor): Define using libm_alias_double.
19142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19143 <libm-alias-double.h>.
19144 (modf): Define using libm_alias_double.
19145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19146 <libm-alias-double.h>.
19147 (round): Define using libm_alias_double.
19148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19149 <libm-alias-double.h>.
19150 (trunc): Define using libm_alias_double.
19151 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19152 <libm-alias-double.h>.
19153 (ceil): Define using libm_alias_double.
19154 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19155 <libm-alias-double.h>.
19156 (floor): Define using libm_alias_double.
19157 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19158 <libm-alias-double.h>.
19159 (nearbyint): Define using libm_alias_double.
19160 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19161 <libm-alias-double.h>.
19162 (rint): Define using libm_alias_double.
19163 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19164 <libm-alias-double.h>.
19165 (round): Define using libm_alias_double.
19166 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19167 <libm-alias-double.h>.
19168 (trunc): Define using libm_alias_double.
19169 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19170 <libm-alias-double.h>.
19171 (ceil): Define using libm_alias_double.
19172 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19173 <libm-alias-double.h>.
19174 (floor): Define using libm_alias_double.
19175 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19176 <libm-alias-double.h>.
19177 (round): Define using libm_alias_double.
19178 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19179 <libm-alias-double.h>.
19180 (trunc): Define using libm_alias_double.
19182 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19183 (fabs): Define using libm_alias_double.
19184 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19185 (fma): Define using libm_alias_double.
19186 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19187 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19188 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19189 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19191 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19193 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19195 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19196 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19197 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19200 due redirect macro.
19202 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19204 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19206 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19208 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19209 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19210 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19211 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19214 (libm-sysdep_routines): Add s_nearbyintf-generic and
19215 s_nearbyint-generic.
19216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19229 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19240 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19251 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19262 (sysdep_calls): New rule.
19263 (sysdep_routines): Use sysdep_calls as base.
19264 (libm-sysdep_routines): Add generic rule for symbols shared with
19265 libc. Add s_copysign-generic and s_copysign-generic objects.
19266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19275 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19278 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19279 the list of locales to be built for testing.
19280 * localedata/is_IS.UTF-8.in: New file.
19281 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19284 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19286 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19287 <libm-alias-float.h>.
19288 (fabsf): Define using libm_alias_float.
19290 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19292 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19294 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19296 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19297 <libm-alias-float.h>.
19298 (fabsf): Define using libm_alias_float.
19299 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19300 <libm-alias-float.h>.
19301 (lrintf): Define using libm_alias_float.
19302 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19303 <libm-alias-float.h>.
19304 (rintf): Define using libm_alias_float.
19306 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19307 <libm-alias-double.h>.
19308 (fabs): Define using libm_alias_double.
19309 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19310 <libm-alias-double.h>.
19311 (lrint): Define using libm_alias_double.
19312 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19313 <libm-alias-double.h>.
19314 (rint): Define using libm_alias_double.
19316 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19317 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19318 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19319 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19320 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19321 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19322 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19323 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19324 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19325 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19326 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19327 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19328 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19329 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19330 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19331 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19332 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19333 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19335 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19336 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19337 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19339 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19340 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19341 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19343 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19344 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19345 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19346 s_expm1_template.c.
19347 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19348 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19349 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19351 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19352 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19353 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19354 s_floor_template.c.
19355 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19356 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19357 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19358 s_frexp_template.c.
19359 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19360 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19361 s_lrint_template.c.
19362 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19363 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19364 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19366 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19367 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19368 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19369 s_nearbyint_template.c.
19370 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19371 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19372 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19373 s_remquo_template.c.
19374 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19375 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19376 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19378 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19379 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19380 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19382 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19383 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19384 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19385 s_sincos_template.c.
19386 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19387 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19388 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19390 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19391 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19392 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19394 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19395 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19396 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19397 s_trunc_template.c.
19398 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19399 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19400 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19401 s_atan.c instead of including s_atan.c.
19402 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19403 s_atanf.c instead of including s_atanf.c.
19404 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19405 s_atanl.c instead of including s_atanl.c.
19406 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19407 instead of s_atan.c.
19408 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19409 instead of s_atanf.c.
19410 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19411 instead of s_atanl.c.
19413 * scripts/update-copyrights: Do not handle intl/plural.c
19416 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19419 * configure.ac (BISON): Require to be present.
19420 * configure: Regenerated.
19421 * intl/Makefile (generated): Add plural.c.
19422 [$(BISON) != no]: Make code unconditional.
19423 (plural.c): Change rule to $(objpfx)plural.c.
19424 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19425 * intl/plural.c: Remove.
19426 * manual/install.texi (Tools for Compilation): Document bison as
19428 * INSTALL: Regenerated.
19430 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19432 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19433 <libm-alias-double.h>.
19434 (llrint): Define using libm_alias_double.
19435 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19436 <libm-alias-float.h>.
19437 (llrintf): Define using libm_alias_float.
19438 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19439 <libm-alias-ldouble.h>.
19440 (llrintl): Define using libm_alias_ldouble.
19442 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19443 declare_mgen_alias instead of weak_alias.
19444 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19445 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19446 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19448 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19450 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19452 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19453 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19454 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19456 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19457 Add submul_1-generic.
19458 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19459 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19460 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19462 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19463 Add addmul_1-generic.
19464 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19465 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19466 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19468 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19470 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19471 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19472 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19474 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19476 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19477 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19478 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19480 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19482 According to CLDR, collation rules for Serbian and Bosnian
19483 should be the same as for Croatian.
19486 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19487 and to the list of locales to be built for testing.
19488 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19489 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19490 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19491 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19493 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19495 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19496 to make test case pass.
19497 * localedata/hr_HR.UTF-8.in: Add more test strings.
19499 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19501 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19503 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19505 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19506 the list of locales to built for testing.
19507 * localedata/hr_HR.UTF-8.in: New file.
19509 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19512 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19514 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19515 CLDR (except use ligatures for the digraphs, CLDR does not use
19516 the ligatures), add first_workday, some fixes in the date and time
19518 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19520 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19521 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19522 Add int_p_cs_precedes and int_n_cs_precedes.
19523 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19524 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19526 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19527 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19529 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19530 and lang_lib. Change postal_fmt.
19532 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19534 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19536 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19537 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19538 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19539 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19540 * sysdeps/generic/setjmpP.h: New file.
19541 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19542 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19543 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19544 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19545 Add jmp_buf-ssp.sym.
19546 (tests): Add tst-saved_mask-1.
19548 2017-11-30 Arjun Shankar <arjun@redhat.com>
19552 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19553 instead of request2size.
19555 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19558 (__lllrint): Remove alias.
19559 (lllrint): Likewise.
19560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19561 (__lllrintf): Likewise.
19562 (lllrintf): Likewise.
19564 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19565 <libm-alias-float.h>.
19566 (copysignf): Define using libm_alias_float.
19567 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19568 <libm-alias-float.h>.
19569 (fabsf): Define using libm_alias_float.
19570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19571 Include <libm-alias-float.h>.
19572 (copysignf): Define using libm_alias_float.
19573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19574 <libm-alias-float.h>.
19575 (fabsf): Define using libm_alias_float.
19576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19577 <libm-alias-float.h>.
19578 (fdimf): Define using libm_alias_float.
19579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19580 <libm-alias-float.h>.
19581 (fmaf): Define using libm_alias_float.
19582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19583 <libm-alias-float.h>.
19584 (llrintf): Define using libm_alias_float.
19585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19586 Include <libm-alias-float.h>.
19587 (nearbyintf): Define using libm_alias_float.
19588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19589 <libm-alias-float.h>.
19590 (rintf): Define using libm_alias_float.
19591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19592 <libm-alias-float.h>.
19593 (llrintf): Define using libm_alias_float.
19594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19595 <libm-alias-float.h>.
19596 (lrintf): Define using libm_alias_float.
19597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19598 <libm-alias-float.h>.
19599 (nearbyintf): Define using libm_alias_float.
19600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19601 <libm-alias-float.h>.
19602 (rintf): Define using libm_alias_float.
19603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19604 <libm-alias-float.h>.
19605 (ceilf): Define using libm_alias_float.
19606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19607 <libm-alias-float.h>.
19608 (floorf): Define using libm_alias_float.
19609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19610 <libm-alias-float.h>.
19611 (fmaf): Define using libm_alias_float.
19612 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19613 <libm-alias-float.h>.
19614 (lrintf): Define using libm_alias_float.
19615 (llrintf): Likewise.
19616 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19617 <libm-alias-float.h>.
19618 (nearbyintf): Define using libm_alias_float.
19619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19620 <libm-alias-float.h>.
19621 (rintf): Define using libm_alias_float.
19622 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19623 <libm-alias-float.h>.
19624 (truncf): Define using libm_alias_float.
19625 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19626 <libm-alias-float.h>.
19627 (copysignf): Define using libm_alias_float.
19628 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19629 <libm-alias-float.h>.
19630 (fabsf): Define using libm_alias_float.
19631 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19632 <libm-alias-float.h>.
19633 (lrintf): Define using libm_alias_float.
19634 (llrintf): Likewise.
19635 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19636 <libm-alias-float.h>.
19637 (nearbyintf): Define using libm_alias_float.
19638 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19639 <libm-alias-float.h>.
19640 (rintf): Define using libm_alias_float.
19642 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19644 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19645 <libm-alias-double.h>.
19646 (copysign): Define using libm_alias_double.
19647 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19648 <libm-alias-double.h>.
19649 (fabs): Define using libm_alias_double.
19650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19651 Include <libm-alias-double.h>.
19652 (copysign): Define using libm_alias_double.
19653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19654 <libm-alias-double.h>.
19655 (fabs): Define using libm_alias_double.
19656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19657 <libm-alias-double.h>.
19658 (fdim): Define using libm_alias_double.
19659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19660 <libm-alias-double.h>.
19661 (fma): Define using libm_alias_double.
19662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19663 <libm-alias-double.h>.
19664 (llrint): Define using libm_alias_double.
19665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19666 Include <libm-alias-double.h>.
19667 (nearbyint): Define using libm_alias_double.
19668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19669 <libm-alias-double.h>.
19670 (rint): Define using libm_alias_double.
19671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19672 <libm-alias-double.h>.
19673 (fabs): Define using libm_alias_double.
19674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19675 <libm-alias-double.h>.
19676 (llrint): Define using libm_alias_double.
19677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19678 <libm-alias-double.h>.
19679 (nearbyint): Define using libm_alias_double.
19680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19681 <libm-alias-double.h>.
19682 (rint): Define using libm_alias_double.
19683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19684 <libm-alias-double.h>.
19685 (ceil): Define using libm_alias_double.
19686 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19687 <libm-alias-double.h>.
19688 (floor): Define using libm_alias_double.
19689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19690 <libm-alias-double.h>.
19691 (fma): Define using libm_alias_double.
19692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19693 <libm-alias-double.h>.
19694 (lrint): Define using libm_alias_double.
19695 (llrint): Likewise.
19696 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19697 <libm-alias-double.h>.
19698 (nearbyint): Define using libm_alias_double.
19699 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19700 <libm-alias-double.h>.
19701 (rint): Define using libm_alias_double.
19702 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19703 <libm-alias-double.h>.
19704 (trunc): Define using libm_alias_double.
19705 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19706 <libm-alias-double.h>.
19707 (copysign): Define using libm_alias_double.
19708 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19709 <libm-alias-double.h>.
19710 (fabs): Define using libm_alias_double.
19711 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19712 <libm-alias-double.h>.
19713 (lrint): Define using libm_alias_double.
19714 (llrint): Likewise.
19715 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19716 <libm-alias-double.h>.
19717 (nearbyint): Define using libm_alias_double.
19718 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19719 <libm-alias-double.h>.
19720 (rint): Define using libm_alias_double.
19723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19725 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19727 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19728 SPARC --disable-multi-arch glibc variants.
19730 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19731 <libm-alias-float.h>.
19732 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19734 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19735 <libm-alias-float.h>.
19736 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19738 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19739 <libm-alias-float.h>.
19740 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19742 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19743 <libm-alias-float.h>.
19744 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19746 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19747 <libm-alias-float.h>.
19748 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19750 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19751 <libm-alias-float.h>.
19752 (ceilf): Define using libm_alias_float.
19753 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19754 <libm-alias-float.h>.
19755 (floorf): Define using libm_alias_float.
19756 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19757 <libm-alias-float.h>.
19758 (fmaf): Define using libm_alias_float.
19759 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19760 <libm-alias-float.h>.
19761 (nearbyintf): Define using libm_alias_float.
19762 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19763 <libm-alias-float.h>.
19764 (rintf): Define using libm_alias_float.
19765 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19766 <libm-alias-float.h>.
19767 (truncf): Define using libm_alias_float.
19768 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19769 (copysignf): Define using libm_alias_float.
19770 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19771 (cosf): Define using libm_alias_float.
19772 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19773 (fabsf): Define using libm_alias_float.
19774 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19775 (fmaxf): Define using libm_alias_float.
19776 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19777 (fminf): Define using libm_alias_float.
19778 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19779 (llrintf): Define using libm_alias_float.
19780 [!__ILP32__] (lrintf): Likewise.
19781 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19782 (sincosf): Define using libm_alias_float.
19783 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19784 (sinf): Define using libm_alias_float.
19785 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19786 (lrintf): Define using libm_alias_float.
19788 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19789 <libm-alias-double.h>.
19790 (atan): Define using libm_alias_double.
19791 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19792 <libm-alias-double.h>.
19793 (ceil): Define using libm_alias_double.
19794 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19795 <libm-alias-double.h>.
19796 (floor): Define using libm_alias_double.
19797 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19798 <libm-alias-double.h>.
19799 (fma): Define using libm_alias_double.
19800 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19801 <libm-alias-double.h>.
19802 (nearbyint): Define using libm_alias_double.
19803 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19804 <libm-alias-double.h>.
19805 (rint): Define using libm_alias_double.
19806 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19807 <libm-alias-double.h>.
19808 (sin): Define using libm_alias_double.
19810 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19811 <libm-alias-double.h>.
19812 (tan): Define using libm_alias_double.
19813 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19814 <libm-alias-double.h>.
19815 (trunc): Define using libm_alias_double.
19816 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19817 (copysign): Define using libm_alias_double.
19818 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19819 (fabs): Define using libm_alias_double.
19820 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19821 (fmax): Define using libm_alias_double.
19822 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19823 (fmin): Define using libm_alias_double.
19824 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19825 (llrint): Define using libm_alias_double.
19826 [!__ILP32__] (lrint): Likewise.
19827 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19828 (lrint): Define using libm_alias_double.
19830 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19832 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19833 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19836 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19837 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19838 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19843 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19845 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19846 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19847 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19848 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19849 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19850 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19852 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19853 (libm-sysdep_routines): Add s_nearbyint-generic and
19854 s_nearbyintf-generic objects.
19855 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19856 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19857 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19858 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19859 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19860 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19862 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19863 Add s_finitef-generic and s_finite-generic objects.
19864 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19866 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19867 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19868 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19869 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19872 Add s_isinff-generic and s_isinf-generic objects.
19873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19881 Add s_isnanf-generic and s_isnan-generic objects.
19882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
19887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19889 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
19891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
19893 (sysdep_routines): Use sysdep_calls as base.
19894 (libm-sysdep_routines): Add generic rule for symbols shared with
19895 libc. Add s_signbit-generic and s_signbitf-generic objects.
19896 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
19897 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
19898 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
19899 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
19900 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
19901 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19903 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19905 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
19906 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
19907 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
19908 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
19909 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
19910 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
19911 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
19912 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
19913 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
19914 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
19915 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
19916 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
19917 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
19918 libm_alias_float_r.
19919 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
19920 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
19922 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
19923 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
19924 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
19925 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
19926 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
19927 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
19928 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
19929 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
19930 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
19931 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
19933 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
19935 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
19936 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
19937 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
19938 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
19939 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
19940 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
19941 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
19942 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
19943 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
19944 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
19945 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
19946 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
19947 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
19948 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
19949 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
19950 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
19951 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
19952 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
19953 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
19955 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
19956 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
19957 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
19958 * sysdeps/ia64/fpu/w_lgammaf_main.c
19959 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
19960 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
19962 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19963 Alexandre Oliva <aoliva@redhat.com>
19966 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
19967 * localedata/fr_CA.UTF-8.in: New file with test data for backward
19969 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
19971 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
19972 * localedata/locales/de_DE (LC_COLLATE): Likewise.
19973 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
19974 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
19975 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
19976 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
19977 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
19978 instead of “ifdef DIACRIT_BACKWARD”.
19980 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19982 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
19983 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
19984 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
19985 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
19986 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
19987 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
19988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
19989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
19990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
19991 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
19992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
19993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
19994 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
19995 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
19996 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
19997 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19998 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
19999 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20001 ($(have-as-vis3) == yes): Remove conditional.
20002 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20012 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20014 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20018 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20019 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20021 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20023 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20024 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20025 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20026 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20027 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20028 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20029 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20030 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20031 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20032 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20033 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20034 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20035 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20036 libm_alias_double_r.
20037 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20039 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20040 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20041 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20042 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20043 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20044 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20045 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20046 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20047 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20048 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20049 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20051 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20053 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20054 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20055 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20056 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20057 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20058 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20059 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20060 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20061 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20062 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20063 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20064 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20065 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20066 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20067 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20068 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20069 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20070 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20072 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20073 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20074 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20075 * sysdeps/ia64/fpu/w_lgamma_main.c
20076 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20077 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20079 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20081 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20082 address of $global$ into %dp register earlier. Use pc-relative
20083 instruction sequence for PIC case.
20085 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20087 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20088 (asinhf): Define using libm_alias_float.
20089 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20090 (atanf): Define using libm_alias_float.
20091 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20092 (cbrtf): Define using libm_alias_float.
20093 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20094 (ceilf): Define using libm_alias_float.
20095 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20096 (copysignf): Define using libm_alias_float.
20097 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20098 (expm1f): Define using libm_alias_float.
20099 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20100 (fabsf): Define using libm_alias_float.
20101 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20102 (floorf): Define using libm_alias_float.
20103 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20104 (fmaxf): Define using libm_alias_float.
20105 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20106 (fminf): Define using libm_alias_float.
20107 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20108 (frexpf): Define using libm_alias_float.
20109 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20110 (llrintf): Define using libm_alias_float.
20111 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20112 (logbf): Define using libm_alias_float.
20113 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20114 (lrintf): Define using libm_alias_float.
20115 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20116 (nearbyintf): Define using libm_alias_float.
20117 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20118 (remquof): Define using libm_alias_float.
20119 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20120 (rintf): Define using libm_alias_float.
20121 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20122 (truncf): Define using libm_alias_float.
20123 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20124 <libm-alias-float.h>.
20125 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20127 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20128 <libm-alias-float.h>.
20129 (expf): Define using libm_alias_float, or libm_alias_float_other
20131 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20132 <libm-alias-float.h>.
20133 (log2f): Define using libm_alias_float, or libm_alias_float_other
20135 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20136 <libm-alias-float.h>.
20137 (logf): Define using libm_alias_float, or libm_alias_float_other
20139 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20140 <libm-alias-float.h>.
20141 (powf): Define using libm_alias_float, or libm_alias_float_other
20143 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20144 <libm-alias-float.h>.
20145 (cosf): Define using libm_alias_float.
20146 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20147 <libm-alias-float.h>.
20148 (sincosf): Define using libm_alias_float.
20149 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20150 <libm-alias-float.h>.
20151 (sinf): Define using libm_alias_float.
20152 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20153 (fmaxf): Define using libm_alias_float.
20154 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20155 (fminf): Define using libm_alias_float.
20156 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20157 <libm-alias-float.h>.
20158 (fmaf): Define using libm_alias_float.
20160 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20161 (asinh): Define using libm_alias_double.
20162 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20163 (atan): Define using libm_alias_double.
20164 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20165 (cbrt): Define using libm_alias_double.
20166 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20167 (ceil): Define using libm_alias_double.
20168 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20169 (copysign): Define using libm_alias_double.
20170 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20171 (expm1): Define using libm_alias_double.
20172 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20173 (fabs): Define using libm_alias_double.
20174 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20175 (fdim): Define using libm_alias_double.
20176 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20177 (floor): Define using libm_alias_double.
20178 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20179 (fmax): Define using libm_alias_double.
20180 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20181 (fmin): Define using libm_alias_double.
20182 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20183 (frexp): Define using libm_alias_double.
20184 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20185 (llrint): Define using libm_alias_double.
20186 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20187 (logb): Define using libm_alias_double.
20188 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20189 (lrint): Define using libm_alias_double.
20190 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20191 (nearbyint): Define using libm_alias_double.
20192 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20193 (remquo): Define using libm_alias_double.
20194 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20195 (rint): Define using libm_alias_double.
20196 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20197 (trunc): Define using libm_alias_double.
20198 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20199 (fmax): Define using libm_alias_double.
20200 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20201 (fmin): Define using libm_alias_double.
20202 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20203 (fma): Define using libm_alias_double.
20205 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20208 * elf/dl-hwcaps.c (ROUND): Removed.
20209 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20210 and ELF_NOTE_NEXT_OFFSET.
20211 * elf/dl-load.c (ROUND): Removed.
20212 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20213 * elf/readelflib.c (ROUND): Removed.
20214 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20215 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20216 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20217 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20219 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20221 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20222 [!__fmaf] (fmaf): Define using libm_alias_float.
20224 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20225 [!__fma] (fma): Define using libm_alias_double.
20226 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20228 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20231 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20232 and implement the collation rules for cs from CLDR on top of that.
20233 * Makefile: Add cs_CZ.UTF-8 to test-input.
20234 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20236 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20238 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20240 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20241 Icarus Sparry <icarus.w.sparry@intel.com>
20243 * benchtests/Makefile:Add BENCHSET to allow subsets of
20244 benchmarks to be run.
20245 * benchtests/README: Add documentation for: Running subsets of
20248 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20250 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20251 range of tests names.
20253 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20254 result from property and remove "max", min" and "mean" from
20255 required properties based on benchtests/bench-skeleton.c.
20257 2017-11-28 Florian Weimer <fweimer@redhat.com>
20260 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20261 due to Internet requirement.
20262 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20264 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20266 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20268 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20269 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20270 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20271 (sysdep_routines): Add memset-ultra1.
20272 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20274 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20275 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20276 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20277 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20278 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20279 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20280 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20281 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20283 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20285 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20286 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20287 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20288 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20289 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20290 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20291 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20293 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20294 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20295 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20296 (sysdep_routines): Add memcpy-ultra1.
20297 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20298 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20300 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20302 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20303 (cfloat_versions): Take function argument without trailing 'f'.
20304 Call libm_alias_float_other.
20305 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20306 * sysdeps/alpha/fpu/cargf.c: Likewise.
20307 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20308 * sysdeps/alpha/fpu/conjf.c: Likewise.
20309 * sysdeps/alpha/fpu/crealf.c: Likewise.
20310 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20311 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20312 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20313 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20314 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20315 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20316 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20317 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20318 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20319 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20320 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20321 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20322 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20323 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20324 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20325 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20326 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20327 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20328 (clog10f): Use libm_alias_float_other.
20329 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20330 (ceilf): Define using libm_alias_float.
20331 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20332 (copysignf): Define using libm_alias_float.
20333 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20334 (fabsf): Define using libm_alias_float.
20335 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20336 (floorf): Define using libm_alias_float.
20337 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20338 (fmaxf): Define using libm_alias_float.
20339 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20340 (fminf): Define using libm_alias_float.
20341 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20342 (lrintf): Define using libm_alias_float.
20343 (llrintf): Likewise.
20344 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20345 (lroundf): Define using libm_alias_float.
20346 (llroundf): Likewise.
20347 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20348 (rintf): Define using libm_alias_float.
20349 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20350 (truncf): Define using libm_alias_float.
20352 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20353 (ceilf): Define using libm_alias_float.
20354 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20355 (floorf): Define using libm_alias_float.
20356 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20357 (fmaf): Define using libm_alias_float.
20358 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20359 (fmaxf): Define using libm_alias_float.
20360 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20361 (fminf): Define using libm_alias_float.
20362 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20363 (llrintf): Define using libm_alias_float.
20364 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20365 (llroundf): Define using libm_alias_float.
20366 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20367 (lrintf): Define using libm_alias_float.
20368 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20369 (lroundf): Define using libm_alias_float.
20370 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20371 <libm-alias-float.h>.
20372 (nearbyintf): Define using libm_alias_float.
20373 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20374 (rintf): Define using libm_alias_float.
20375 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20376 (roundf): Define using libm_alias_float.
20377 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20378 (truncf): Define using libm_alias_float.
20380 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20381 (ceil): Define using libm_alias_double.
20382 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20383 (copysign): Define using libm_alias_double.
20384 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20385 (fabs): Define using libm_alias_double.
20386 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20387 (floor): Define using libm_alias_double.
20388 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20389 (fmax): Define using libm_alias_double.
20390 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20391 (fmin): Define using libm_alias_double.
20392 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20393 (lrint): Define using libm_alias_double.
20394 (llrint): Likewise.
20395 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20396 (lround): Define using libm_alias_double.
20397 (llround): Likewise.
20398 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20399 (rint): Define using libm_alias_double.
20400 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20401 (trunc): Define using libm_alias_double.
20403 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20404 (libm_alias_double_r): Add semicolon after weak_alias call.
20406 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20408 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20409 (ceil): Define using libm_alias_double.
20410 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20411 (floor): Define using libm_alias_double.
20412 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20413 (fma): Define using libm_alias_double.
20414 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20415 (fmax): Define using libm_alias_double.
20416 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20417 (fmin): Define using libm_alias_double.
20418 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20419 (llrint): Define using libm_alias_double.
20420 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20421 (llround): Define using libm_alias_double.
20422 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20423 (lrint): Define using libm_alias_double.
20424 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20425 (lround): Define using libm_alias_double.
20426 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20427 (nearbyint): Define using libm_alias_double.
20428 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20429 (rint): Define using libm_alias_double.
20430 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20431 (round): Define using libm_alias_double.
20432 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20433 (trunc): Define using libm_alias_double.
20435 2017-11-27 Florian Weimer <fweimer@redhat.com>
20437 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20438 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20439 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20440 (tests): Add tst-mlock2.
20441 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20442 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20443 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20444 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20445 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20446 for mlock. Document mlock2.
20448 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20450 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20451 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20453 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20455 * sysdeps/x86/Makeconfig: New file.
20456 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20457 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20458 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20459 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20460 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20461 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20462 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20464 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20465 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20466 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20467 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20468 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20469 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20470 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20471 * manual/math.texi (Mathematics): Document support for _Float64x.
20472 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20473 * stdlib/Versions (GLIBC_2.27): Likewise.
20474 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20475 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20476 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20477 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20478 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20479 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20480 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20481 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20482 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20483 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20484 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20485 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20490 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20491 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20492 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20493 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20494 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20495 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20496 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20497 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20498 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20499 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20500 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20501 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20502 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20503 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20505 2017-11-27 Andreas Schwab <schwab@suse.de>
20507 * elf/Makefile (dl-routines): Add dl-sort-maps.
20508 * elf/dl-sort-maps.c: New file.
20509 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20510 (_dl_sort_maps): Declare.
20511 * elf/dl-fini.c (_dl_sort_fini): Remove.
20512 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20513 * elf/dl-close.c (_dl_close_worker): Likewise.
20514 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20516 * elf/dl-open.c (dl_open_worker): Likewise.
20518 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20520 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20521 using libm_alias_float128.
20522 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20524 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20526 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20527 (setpayloadsigf128): Likewise.
20528 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20530 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20533 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20534 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20535 -mfloat128 to CFLAGS.
20537 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20539 (CFLAGS-libm-test-support-float64x.c): New variable.
20540 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20541 $(f128-loader-link) to gnulib-tests.
20543 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20544 (libm_alias_float128_other_r): If
20545 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20547 (libm_alias_float128_r): Add semicolon after weak_alias call.
20548 * sysdeps/generic/libm-alias-ldouble.h
20549 (libm_alias_ldouble_other_r_f128): New macro.
20550 (libm_alias_ldouble_other_r_f64x): Likewise.
20551 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20552 and libm_alias_ldouble_other_r_f64x.
20553 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20554 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20555 (libm_alias_ldouble_other_r_f128): New macro.
20556 (libm_alias_ldouble_other_r_f64x): Likewise.
20557 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20558 and libm_alias_ldouble_other_r_f64x.
20560 * stdlib/strfroml.c: Always include <stdlib.h>.
20561 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20562 undefine as macro and define as weak alias.
20563 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20564 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20566 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20567 Define and later undefine as macro and define as weak alias.
20569 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20570 Define and later undefine as macro. Define as weak alias if
20572 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20573 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20574 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20575 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20576 Define and later undefine as macro. Define as weak alias if
20578 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20579 Define and later undefine as macro. Define as weak alias if
20581 * sysdeps/ieee754/float128/strtof128_l.c
20582 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20583 Define and later undefine as macro. Define as weak alias if
20585 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20586 Define and later undefine as macro. Define as weak alias if
20588 * sysdeps/ieee754/ldbl-128/strtold_l.c
20589 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20590 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20591 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20592 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20593 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20594 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20595 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20596 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20597 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20598 * sysdeps/ieee754/ldbl-96/strtold_l.c
20599 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20600 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20601 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20602 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20604 * math/test-float64x.h: New file.
20605 * math/Makefile (type-float64x-yes): New variable.
20606 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20608 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20609 function-like macro.
20610 (min_of_type_): Likewise.
20611 (min_of_type_l): Likewise.
20612 (min_of_type_f128): Likewise.
20613 (min_of_type): Pass () as last argument of __MATH_TG.
20615 * stdlib/tst-strtod-round-skeleton.c
20616 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20619 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20620 for combinations of long double with _Float64 and _Float64x.
20622 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20623 (__DECL_SIMD_cosf32): Likewise.
20624 (__DECL_SIMD_cosf64): Likewise.
20625 (__DECL_SIMD_cosf32x): Likewise.
20626 (__DECL_SIMD_cosf64x): Likewise.
20627 (__DECL_SIMD_cosf128x): Likewise.
20628 (__DECL_SIMD_sinf16): Likewise.
20629 (__DECL_SIMD_sinf32): Likewise.
20630 (__DECL_SIMD_sinf64): Likewise.
20631 (__DECL_SIMD_sinf32x): Likewise.
20632 (__DECL_SIMD_sinf64x): Likewise.
20633 (__DECL_SIMD_sinf128x): Likewise.
20634 (__DECL_SIMD_sincosf16): Likewise.
20635 (__DECL_SIMD_sincosf32): Likewise.
20636 (__DECL_SIMD_sincosf64): Likewise.
20637 (__DECL_SIMD_sincosf32x): Likewise.
20638 (__DECL_SIMD_sincosf64x): Likewise.
20639 (__DECL_SIMD_sincosf128x): Likewise.
20640 (__DECL_SIMD_logf16): Likewise.
20641 (__DECL_SIMD_logf32): Likewise.
20642 (__DECL_SIMD_logf64): Likewise.
20643 (__DECL_SIMD_logf32x): Likewise.
20644 (__DECL_SIMD_logf64x): Likewise.
20645 (__DECL_SIMD_logf128x): Likewise.
20646 (__DECL_SIMD_expf16): Likewise.
20647 (__DECL_SIMD_expf32): Likewise.
20648 (__DECL_SIMD_expf64): Likewise.
20649 (__DECL_SIMD_expf32x): Likewise.
20650 (__DECL_SIMD_expf64x): Likewise.
20651 (__DECL_SIMD_expf128x): Likewise.
20652 (__DECL_SIMD_powf16): Likewise.
20653 (__DECL_SIMD_powf32): Likewise.
20654 (__DECL_SIMD_powf64): Likewise.
20655 (__DECL_SIMD_powf32x): Likewise.
20656 (__DECL_SIMD_powf64x): Likewise.
20657 (__DECL_SIMD_powf128x): Likewise.
20659 * stdlib/Versions (libc): Move entries for wcstof128 and
20660 wcstof128_l to ....
20661 * wcsmbs/Versions (libc): ... here.
20662 Include <float128-abi.h>.
20664 2017-11-24 Florian Weimer <fweimer@redhat.com>
20666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20667 bits/mman-shared.h.
20668 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20669 <bits/mman-shared.h>.
20670 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20672 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20673 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20674 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20675 <bits/mman-shared.h>.
20677 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20680 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20681 posix_memalign/free.
20682 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20684 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20687 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20688 and implement the collation rules for pl from CLDR on top of that.
20689 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20690 of locales to be built for testing.
20691 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20693 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20695 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20696 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20697 libm_alias_ldouble_other.
20698 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20699 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20700 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20701 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20702 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20703 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20704 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20705 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20706 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20707 libm_alias_ldouble_r.
20708 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20709 libm_alias_ldouble_other.
20710 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20711 (log10l): Likewise.
20712 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20713 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20714 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20715 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20716 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20717 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20718 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20719 (atan2l): Likewise.
20720 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20721 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20722 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20723 libm_alias_ldouble.
20724 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20726 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20727 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20728 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20730 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20731 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20732 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20733 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20734 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20735 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20736 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20737 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20738 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20739 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20740 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20741 libm_alias_ldouble.
20742 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20743 libm_alias_ldouble_other.
20744 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20745 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20746 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20747 libm_alias_ldouble.
20748 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20749 libm_alias_ldouble_other.
20750 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20751 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20752 * sysdeps/ia64/fpu/w_lgammal_main.c
20753 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20754 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20756 2017-11-23 Florian Weimer <fweimer@redhat.com>
20758 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20759 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20760 alike. Remove freeres marker.
20761 * malloc/arena.c (arena_thread_freeres): Call
20762 tcache_thread_shutdown.
20764 2017-11-23 Florian Weimer <fweimer@redhat.com>
20767 Export nscd hash function as __nss_hash.
20768 * include/nss.h (__nss_hash): Declare.
20769 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20771 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20772 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20774 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20775 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20776 * nss/Makefiles (routines): Add nss_hash.
20777 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20778 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20779 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20780 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20782 2017-11-23 Florian Weimer <fweimer@redhat.com>
20785 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20786 Return error code, not -1.
20787 * signal/tst-sigwait-eintr.c: New file.
20788 * signal/Makefile (tests): Add tst-sigwait-eintr.
20790 2017-11-23 Florian Weimer <fweimer@redhat.com>
20792 Linux: Add memfd_create system call wrapper
20793 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20795 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20796 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20797 [__USE_GNU] (memfd_create): Declare.
20798 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20799 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20800 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20801 * sysdeps/unix/sysv/linux/**.abilist: Update.
20802 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20804 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20806 * localedata/gen-locale.sh: Fix typo in variable name.
20808 * resolv/res_debug.c (p_secstodate): Condition definition on
20809 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20810 directly as __p_secstodate, and as a compat symbol. Do not use
20811 libresolv_hidden_def.
20812 * resolv/resolv.h (p_secstodate): Remove macro and function
20814 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20815 using p_secstodate.
20816 * include/resolv.h (__p_secstodate): Do not use
20817 libresolv_hidden_proto.
20818 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20819 (tests-internal): ... here.
20820 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20821 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20822 and declare and use __p_secstodate and use compat_symbol_reference
20824 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20825 implementation returning 77.
20828 * resolv/res_debug.c: Include <libc-diag.h>.
20829 (p_secstodate): Assert time_t at least as wide as u_long. On
20830 overflow, use integer seconds since the epoch as output, or use
20831 "<overflow>" as output and set errno to EOVERFLOW if integer
20832 seconds since the epoch would be 14 or more characters.
20833 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20835 * resolv/tst-p_secstodate.c: New file.
20836 * resolv/Makefile (tests): Add tst-p_secstodate.
20837 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20839 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20840 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20841 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20843 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20845 * posix/regcomp.c (init_word_char): Add comments.
20847 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20850 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20851 strlen to compute length of ut_user and set trailing NUL byte of
20854 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20857 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20858 using “copy "iso14651_t1"” and then implementing the
20859 collation rules for lv from CLDR on top of that.
20860 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20861 of locales to be built for testing.
20862 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20865 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20867 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20868 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20869 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20870 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20871 [__USE_MISC] (MADV_HWPOISON): New macro.
20872 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20874 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20876 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20877 -Wmissing-braces on GCC 4.9.
20879 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20881 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20882 * sysdeps/s390/s390-32/start.S (_start): Likewise
20883 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20884 (thread_start): Likewise.
20885 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20886 (thread_start): Likewise.
20887 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
20888 (__makecontext_ret): Likewise.
20889 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
20890 (__makecontext_ret): Likewise.
20892 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20894 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
20895 __wcschrnul): Remove attribute_hidden.
20897 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
20899 regex: don't assume uint64_t or uint32_t
20900 This avoids -Werror=overflow errors for 32-bit systems in
20901 the 64-bit case. Problem reported by Joseph Myers in:
20902 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
20903 Also, when this code is used in Gnulib it ports to platforms
20904 that lack uint64_t and uint32_t. The C standard doesn't guarantee
20905 them, and on some 32-bit compilers there is no uint64_t.
20906 Problem reported by Gianluigi Tiesi in:
20907 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
20908 * posix/regcomp.c (init_word_char): Don't assume that the types
20909 uint64_t and uint32_t exist. Adapted from Gnulib patch
20910 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
20911 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
20913 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
20915 * sysdeps/aarch64/memset-reg.h: New file.
20916 * sysdeps/aarch64/memset.S: Use it.
20917 (__memset): Rename to MEMSET macro.
20918 [ZVA_MACRO]: Use zva_macro.
20919 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20920 Add memset_generic and memset_falkor.
20921 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
20922 (__libc_ifunc_impl_list): Add memset ifuncs.
20923 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
20924 local variable zva_size.
20925 * sysdeps/aarch64/multiarch/memset.c: New file.
20926 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
20927 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
20928 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
20929 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
20930 (DCZID_DZP_MASK): New macro.
20931 (DCZID_BS_MASK): Likewise.
20932 (init_cpu_features): Read and set zva_size.
20933 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
20934 (struct cpu_features): New member zva_size.
20936 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
20937 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
20938 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
20940 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
20941 backwards. Fix timing computation.
20942 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
20943 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
20944 on memset by N at a time. Fix timing computation.
20946 2017-11-20 Florian Weimer <fweimer@redhat.com>
20948 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
20949 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
20951 2017-11-19 Florian Weimer <fweimer@redhat.com>
20953 manual: Document mprotect
20954 * manual/memory.texi (Memory Protection): New section.
20955 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
20956 documentation of PROT_* flags and reference the Memory Protection
20959 2017-11-19 Florian Weimer <fweimer@redhat.com>
20961 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
20962 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
20963 (Scatter-Gather): ... to here. Remove misleading comment.
20965 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
20967 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
20970 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
20971 when /proc/<pid>/setgroups does not exist.
20973 2017-11-18 Florian Weimer <fweimer@redhat.com>
20975 * sysdeps/unix/sysv/linux/tst-ttyname.c
20976 (become_root_in_mount_ns): Remove.
20977 (do_in_chroot_1): Call support_enter_mount_namespace.
20978 (do_in_chroot_2): Likewise.
20979 (do_test): Call support_become_root early.
20981 2017-11-18 Florian Weimer <fweimer@redhat.com>
20983 * support/namespace.h (support_enter_mount_namespace): Declare.
20984 * support/support_enter_mount_namespace.c: New file.
20985 * support/Makefile (libsupport-routines): Add
20986 support_enter_mount_namespace.
20988 2017-11-18 Florian Weimer <fweimer@redhat.com>
20990 * support/temp_file.c (support_create_temp_directory): Use
20991 test_dir and do not rely on the presence of the XXXXXX suffix.
20992 * support/temp_file.h (support_create_temp_directory): Update
20994 * support/tst-xreadlink.c (do_test): Adjust.
20995 * support/support_chroot.c (support_chroot_create): Likewise.
20997 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20999 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21001 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21004 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21006 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21007 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21008 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21009 (ceill): Define using libm_alias_ldouble.
21010 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21011 <libm-alias-ldouble.h>.
21012 (copysignl): Define using libm_alias_ldouble.
21013 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21014 (fabsl): Define using libm_alias_ldouble.
21015 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21016 (floorl): Define using libm_alias_ldouble.
21017 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21018 (fmaxl): Define using libm_alias_ldouble.
21019 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21020 (fminl): Define using libm_alias_ldouble.
21021 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21022 (llrintl): Define using libm_alias_ldouble.
21023 (lrintl): Likewise.
21024 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21025 <libm-alias-ldouble.h>.
21026 (nearbyintl): Define using libm_alias_ldouble.
21027 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21028 (truncl): Define using libm_alias_ldouble.
21029 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21030 <libm-alias-ldouble.h>.
21031 (lrintl): Define using libm_alias_ldouble.
21033 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21034 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21035 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21036 (asinhl): Define using libm_alias_ldouble.
21037 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21038 (atanl): Define using libm_alias_ldouble.
21039 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21040 (cbrtl): Define using libm_alias_ldouble.
21041 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21042 (ceill): Define using libm_alias_ldouble.
21043 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21044 (copysignl): Define using libm_alias_ldouble.
21045 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21046 (fabsl): Define using libm_alias_ldouble.
21047 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21048 (floorl): Define using libm_alias_ldouble.
21049 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21050 (fmaxl): Define using libm_alias_ldouble.
21051 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21052 (fminl): Define using libm_alias_ldouble.
21053 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21054 (frexpl): Define using libm_alias_ldouble.
21055 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21056 (llrintl): Define using libm_alias_ldouble.
21057 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21058 (logbl): Define using libm_alias_ldouble.
21059 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21060 (lrintl): Define using libm_alias_ldouble.
21061 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21062 (nearbyintl): Define using libm_alias_ldouble.
21063 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21064 (nextafterl): Define using libm_alias_ldouble.
21065 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21066 (remquol): Define using libm_alias_ldouble.
21067 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21068 (rintl): Define using libm_alias_ldouble.
21069 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21070 (truncl): Define using libm_alias_ldouble.
21071 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21072 (fmaxl): Define using libm_alias_ldouble.
21073 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21074 (fminl): Define using libm_alias_ldouble.
21076 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21077 to C syntax instead of availability and properties of types.
21078 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21079 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21080 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21081 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21082 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21083 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21085 2017-11-17 Florian Weimer <fweimer@redhat.com>
21087 support_become_root: Enable file creation in namespaces.
21088 * support/support_become_root.c (setup_mapping): New function.
21089 (support_become_root): Call it.
21091 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21093 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21096 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21098 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21099 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21101 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21103 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21105 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21108 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21110 * INSTALL: Fix botched up regeneration.
21112 * NEWS: Update sourceare link to https.
21113 * configure.ac: Likewise.
21114 * crypt/md5test-giant.c: Likewise.
21115 * dlfcn/bug-atexit1.c: Likewise.
21116 * dlfcn/bug-atexit2.c: Likewise.
21117 * localedata/README: Likewise.
21118 * malloc/tst-mallocfork.c: Likewise.
21119 * manual/install.texi: Likewise.
21120 * nptl/tst-pthread-getattr.c: Likewise.
21121 * stdio-common/tst-fgets.c: Likewise.
21122 * stdio-common/tst-fwrite.c: Likewise.
21123 * sunrpc/Makefile: Likewise.
21124 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21125 * wcsmbs/tst-mbrtowc2.c: Likewise.
21126 * configure: Regenerate.
21127 * INSTALL: Regenerate.
21129 2017-11-15 Martin Sebor <msebor@redhat.com>
21131 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21132 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21133 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21135 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21138 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21139 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21142 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21143 Defer is_pty check until end of the function.
21144 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21147 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21148 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21149 (ttyname): Likewise.
21150 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21151 (__ttyname_r): Likewise.
21153 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21156 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21158 * manual/terminal.texi (Is It a Terminal):
21159 Mention ENODEV for ttyname and ttyname_r.
21161 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21163 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21164 constant and macro.
21166 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21167 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21168 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21169 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21170 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21171 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21173 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21175 * signal/sigrelse.c (sigrelse): Optimize implementation.
21177 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21178 (__sigpause): Rely on __sigsuspend to implement single thread
21179 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21181 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21183 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21184 kernel version to 4.14.
21186 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21189 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21190 Check if ifname is too long.
21192 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21194 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21196 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21198 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21199 was accidentally lost.
21201 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21203 * localedata/locales/az_IR: Add standard copyright header.
21205 2017-11-15 Florian Weimer <fweimer@redhat.com>
21208 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21209 not just the top one. Output a new "subheaps" statistic.
21211 2017-11-15 Florian Weimer <fweimer@redhat.com>
21214 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21215 under the per-arena lock.
21216 * malloc/Makefile (tests): Add tst-malloc_info.
21217 (tst-malloc_info): Link with libpthread.
21218 * malloc/tst-malloc_info.c: New file.
21220 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21223 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21224 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21225 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21226 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21227 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21228 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21229 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21230 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21231 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21232 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21233 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21234 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21235 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21236 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21237 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21238 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21239 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21240 (__floating_type): Likewise.
21241 (__real_integer_type): Likewise.
21242 (__complex_integer_type): Likewise.
21243 (__expr_is_real): Likewise.
21244 (__tgmath_real_type_sub): Likewise.
21245 (__tgmath_real_type): Likewise.
21246 (__tgmath_complex_type_sub): Likewise.
21247 (__tgmath_complex_type): Likewise.
21248 (__TGMATH_F128): Likewise.
21249 (__TGMATH_CF128): Likewise.
21250 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21252 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21253 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21255 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21257 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21258 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21259 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21260 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21262 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21263 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21265 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21266 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21267 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21269 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21270 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21271 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21275 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21277 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21278 for stpncpy calls for GCC 8.
21279 (test_strncat): Disable -Wstringop-truncation warning for strncat
21280 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21281 strncat call for GCC 7.
21282 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21284 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21287 * string/bug-strncat1.c: Include <libc-diag.h>.
21288 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21290 2017-11-13 Claude Paroz <claude@2xlibre.net>
21293 * localedata/locales/aa_DJ: Improved readibility by replacing
21294 <Uxxxx> sequences in the ASCII printable range by their ASCII
21295 character equivalents.
21296 * localedata/locales/aa_ER: Likewise.
21297 * localedata/locales/aa_ER@saaho: Likewise.
21298 * localedata/locales/aa_ET: Likewise.
21299 * localedata/locales/af_ZA: Likewise.
21300 * localedata/locales/agr_PE: Likewise.
21301 * localedata/locales/ak_GH: Likewise.
21302 * localedata/locales/am_ET: Likewise.
21303 * localedata/locales/anp_IN: Likewise.
21304 * localedata/locales/ar_AE: Likewise.
21305 * localedata/locales/ar_BH: Likewise.
21306 * localedata/locales/ar_DZ: Likewise.
21307 * localedata/locales/ar_EG: Likewise.
21308 * localedata/locales/ar_IN: Likewise.
21309 * localedata/locales/ar_IQ: Likewise.
21310 * localedata/locales/ar_JO: Likewise.
21311 * localedata/locales/ar_KW: Likewise.
21312 * localedata/locales/ar_LB: Likewise.
21313 * localedata/locales/ar_LY: Likewise.
21314 * localedata/locales/ar_MA: Likewise.
21315 * localedata/locales/ar_OM: Likewise.
21316 * localedata/locales/ar_QA: Likewise.
21317 * localedata/locales/ar_SA: Likewise.
21318 * localedata/locales/ar_SD: Likewise.
21319 * localedata/locales/ar_SS: Likewise.
21320 * localedata/locales/ar_SY: Likewise.
21321 * localedata/locales/ar_TN: Likewise.
21322 * localedata/locales/ar_YE: Likewise.
21323 * localedata/locales/as_IN: Likewise.
21324 * localedata/locales/ast_ES: Likewise.
21325 * localedata/locales/ayc_PE: Likewise.
21326 * localedata/locales/az_AZ: Likewise.
21327 * localedata/locales/az_IR: Likewise.
21328 * localedata/locales/be_BY: Likewise.
21329 * localedata/locales/be_BY@latin: Likewise.
21330 * localedata/locales/bem_ZM: Likewise.
21331 * localedata/locales/ber_DZ: Likewise.
21332 * localedata/locales/ber_MA: Likewise.
21333 * localedata/locales/bg_BG: Likewise.
21334 * localedata/locales/bhb_IN: Likewise.
21335 * localedata/locales/bho_IN: Likewise.
21336 * localedata/locales/bi_VU: Likewise.
21337 * localedata/locales/bn_BD: Likewise.
21338 * localedata/locales/bn_IN: Likewise.
21339 * localedata/locales/bo_CN: Likewise.
21340 * localedata/locales/bo_IN: Likewise.
21341 * localedata/locales/br_FR: Likewise.
21342 * localedata/locales/brx_IN: Likewise.
21343 * localedata/locales/bs_BA: Likewise.
21344 * localedata/locales/byn_ER: Likewise.
21345 * localedata/locales/ca_AD: Likewise.
21346 * localedata/locales/ca_ES: Likewise.
21347 * localedata/locales/ca_FR: Likewise.
21348 * localedata/locales/ca_IT: Likewise.
21349 * localedata/locales/ce_RU: Likewise.
21350 * localedata/locales/chr_US: Likewise.
21351 * localedata/locales/cmn_TW: Likewise.
21352 * localedata/locales/crh_UA: Likewise.
21353 * localedata/locales/cs_CZ: Likewise.
21354 * localedata/locales/csb_PL: Likewise.
21355 * localedata/locales/cv_RU: Likewise.
21356 * localedata/locales/cy_GB: Likewise.
21357 * localedata/locales/da_DK: Likewise.
21358 * localedata/locales/de_AT: Likewise.
21359 * localedata/locales/de_BE: Likewise.
21360 * localedata/locales/de_CH: Likewise.
21361 * localedata/locales/de_DE: Likewise.
21362 * localedata/locales/de_IT: Likewise.
21363 * localedata/locales/de_LI: Likewise.
21364 * localedata/locales/de_LU: Likewise.
21365 * localedata/locales/doi_IN: Likewise.
21366 * localedata/locales/dv_MV: Likewise.
21367 * localedata/locales/dz_BT: Likewise.
21368 * localedata/locales/el_CY: Likewise.
21369 * localedata/locales/el_GR: Likewise.
21370 * localedata/locales/en_AG: Likewise.
21371 * localedata/locales/en_AU: Likewise.
21372 * localedata/locales/en_BW: Likewise.
21373 * localedata/locales/en_CA: Likewise.
21374 * localedata/locales/en_DK: Likewise.
21375 * localedata/locales/en_GB: Likewise.
21376 * localedata/locales/en_HK: Likewise.
21377 * localedata/locales/en_IE: Likewise.
21378 * localedata/locales/en_IL: Likewise.
21379 * localedata/locales/en_IN: Likewise.
21380 * localedata/locales/en_NG: Likewise.
21381 * localedata/locales/en_NZ: Likewise.
21382 * localedata/locales/en_PH: Likewise.
21383 * localedata/locales/en_SG: Likewise.
21384 * localedata/locales/en_US: Likewise.
21385 * localedata/locales/en_ZA: Likewise.
21386 * localedata/locales/en_ZM: Likewise.
21387 * localedata/locales/en_ZW: Likewise.
21388 * localedata/locales/eo: Likewise.
21389 * localedata/locales/es_AR: Likewise.
21390 * localedata/locales/es_BO: Likewise.
21391 * localedata/locales/es_CL: Likewise.
21392 * localedata/locales/es_CO: Likewise.
21393 * localedata/locales/es_CR: Likewise.
21394 * localedata/locales/es_CU: Likewise.
21395 * localedata/locales/es_DO: Likewise.
21396 * localedata/locales/es_EC: Likewise.
21397 * localedata/locales/es_ES: Likewise.
21398 * localedata/locales/es_GT: Likewise.
21399 * localedata/locales/es_HN: Likewise.
21400 * localedata/locales/es_MX: Likewise.
21401 * localedata/locales/es_NI: Likewise.
21402 * localedata/locales/es_PA: Likewise.
21403 * localedata/locales/es_PE: Likewise.
21404 * localedata/locales/es_PR: Likewise.
21405 * localedata/locales/es_PY: Likewise.
21406 * localedata/locales/es_SV: Likewise.
21407 * localedata/locales/es_US: Likewise.
21408 * localedata/locales/es_UY: Likewise.
21409 * localedata/locales/es_VE: Likewise.
21410 * localedata/locales/et_EE: Likewise.
21411 * localedata/locales/eu_ES: Likewise.
21412 * localedata/locales/eu_ES@euro: Likewise.
21413 * localedata/locales/fa_IR: Likewise.
21414 * localedata/locales/ff_SN: Likewise.
21415 * localedata/locales/fi_FI: Likewise.
21416 * localedata/locales/fil_PH: Likewise.
21417 * localedata/locales/fo_FO: Likewise.
21418 * localedata/locales/fr_BE: Likewise.
21419 * localedata/locales/fr_CA: Likewise.
21420 * localedata/locales/fr_CH: Likewise.
21421 * localedata/locales/fr_FR: Likewise.
21422 * localedata/locales/fr_LU: Likewise.
21423 * localedata/locales/fur_IT: Likewise.
21424 * localedata/locales/fy_DE: Likewise.
21425 * localedata/locales/fy_NL: Likewise.
21426 * localedata/locales/ga_IE: Likewise.
21427 * localedata/locales/gd_GB: Likewise.
21428 * localedata/locales/gez_ER: Likewise.
21429 * localedata/locales/gez_ET: Likewise.
21430 * localedata/locales/gl_ES: Likewise.
21431 * localedata/locales/gu_IN: Likewise.
21432 * localedata/locales/gv_GB: Likewise.
21433 * localedata/locales/ha_NG: Likewise.
21434 * localedata/locales/hak_TW: Likewise.
21435 * localedata/locales/he_IL: Likewise.
21436 * localedata/locales/hi_IN: Likewise.
21437 * localedata/locales/hif_FJ: Likewise.
21438 * localedata/locales/hne_IN: Likewise.
21439 * localedata/locales/hr_HR: Likewise.
21440 * localedata/locales/hsb_DE: Likewise.
21441 * localedata/locales/ht_HT: Likewise.
21442 * localedata/locales/hu_HU: Likewise.
21443 * localedata/locales/hy_AM: Likewise.
21444 * localedata/locales/i18n: Likewise.
21445 * localedata/locales/ia_FR: Likewise.
21446 * localedata/locales/id_ID: Likewise.
21447 * localedata/locales/ig_NG: Likewise.
21448 * localedata/locales/ik_CA: Likewise.
21449 * localedata/locales/is_IS: Likewise.
21450 * localedata/locales/it_CH: Likewise.
21451 * localedata/locales/it_IT: Likewise.
21452 * localedata/locales/iu_CA: Likewise.
21453 * localedata/locales/ja_JP: Likewise.
21454 * localedata/locales/ka_GE: Likewise.
21455 * localedata/locales/kk_KZ: Likewise.
21456 * localedata/locales/kl_GL: Likewise.
21457 * localedata/locales/kn_IN: Likewise.
21458 * localedata/locales/ko_KR: Likewise.
21459 * localedata/locales/kok_IN: Likewise.
21460 * localedata/locales/ks_IN: Likewise.
21461 * localedata/locales/ks_IN@devanagari: Likewise.
21462 * localedata/locales/ku_TR: Likewise.
21463 * localedata/locales/kw_GB: Likewise.
21464 * localedata/locales/ky_KG: Likewise.
21465 * localedata/locales/lb_LU: Likewise.
21466 * localedata/locales/lg_UG: Likewise.
21467 * localedata/locales/li_BE: Likewise.
21468 * localedata/locales/li_NL: Likewise.
21469 * localedata/locales/lij_IT: Likewise.
21470 * localedata/locales/ln_CD: Likewise.
21471 * localedata/locales/lo_LA: Likewise.
21472 * localedata/locales/lt_LT: Likewise.
21473 * localedata/locales/lv_LV: Likewise.
21474 * localedata/locales/lzh_TW: Likewise.
21475 * localedata/locales/mag_IN: Likewise.
21476 * localedata/locales/mai_IN: Likewise.
21477 * localedata/locales/mg_MG: Likewise.
21478 * localedata/locales/mhr_RU: Likewise.
21479 * localedata/locales/mi_NZ: Likewise.
21480 * localedata/locales/mk_MK: Likewise.
21481 * localedata/locales/ml_IN: Likewise.
21482 * localedata/locales/mn_MN: Likewise.
21483 * localedata/locales/mni_IN: Likewise.
21484 * localedata/locales/mr_IN: Likewise.
21485 * localedata/locales/ms_MY: Likewise.
21486 * localedata/locales/mt_MT: Likewise.
21487 * localedata/locales/my_MM: Likewise.
21488 * localedata/locales/nan_TW: Likewise.
21489 * localedata/locales/nan_TW@latin: Likewise.
21490 * localedata/locales/nb_NO: Likewise.
21491 * localedata/locales/nds_DE: Likewise.
21492 * localedata/locales/nds_NL: Likewise.
21493 * localedata/locales/ne_NP: Likewise.
21494 * localedata/locales/nhn_MX: Likewise.
21495 * localedata/locales/niu_NU: Likewise.
21496 * localedata/locales/niu_NZ: Likewise.
21497 * localedata/locales/nl_AW: Likewise.
21498 * localedata/locales/nl_BE: Likewise.
21499 * localedata/locales/nl_NL: Likewise.
21500 * localedata/locales/nn_NO: Likewise.
21501 * localedata/locales/nr_ZA: Likewise.
21502 * localedata/locales/nso_ZA: Likewise.
21503 * localedata/locales/oc_FR: Likewise.
21504 * localedata/locales/om_ET: Likewise.
21505 * localedata/locales/om_KE: Likewise.
21506 * localedata/locales/or_IN: Likewise.
21507 * localedata/locales/os_RU: Likewise.
21508 * localedata/locales/pa_IN: Likewise.
21509 * localedata/locales/pa_PK: Likewise.
21510 * localedata/locales/pap_AW: Likewise.
21511 * localedata/locales/pap_CW: Likewise.
21512 * localedata/locales/pl_PL: Likewise.
21513 * localedata/locales/ps_AF: Likewise.
21514 * localedata/locales/pt_BR: Likewise.
21515 * localedata/locales/pt_PT: Likewise.
21516 * localedata/locales/quz_PE: Likewise.
21517 * localedata/locales/raj_IN: Likewise.
21518 * localedata/locales/ro_RO: Likewise.
21519 * localedata/locales/ru_RU: Likewise.
21520 * localedata/locales/ru_UA: Likewise.
21521 * localedata/locales/rw_RW: Likewise.
21522 * localedata/locales/sa_IN: Likewise.
21523 * localedata/locales/sat_IN: Likewise.
21524 * localedata/locales/sc_IT: Likewise.
21525 * localedata/locales/sd_IN: Likewise.
21526 * localedata/locales/sd_IN@devanagari: Likewise.
21527 * localedata/locales/se_NO: Likewise.
21528 * localedata/locales/sgs_LT: Likewise.
21529 * localedata/locales/shs_CA: Likewise.
21530 * localedata/locales/si_LK: Likewise.
21531 * localedata/locales/sid_ET: Likewise.
21532 * localedata/locales/sk_SK: Likewise.
21533 * localedata/locales/sl_SI: Likewise.
21534 * localedata/locales/sm_WS: Likewise.
21535 * localedata/locales/so_DJ: Likewise.
21536 * localedata/locales/so_ET: Likewise.
21537 * localedata/locales/so_KE: Likewise.
21538 * localedata/locales/so_SO: Likewise.
21539 * localedata/locales/sq_AL: Likewise.
21540 * localedata/locales/sq_MK: Likewise.
21541 * localedata/locales/sr_ME: Likewise.
21542 * localedata/locales/sr_RS: Likewise.
21543 * localedata/locales/sr_RS@latin: Likewise.
21544 * localedata/locales/ss_ZA: Likewise.
21545 * localedata/locales/st_ZA: Likewise.
21546 * localedata/locales/sv_FI: Likewise.
21547 * localedata/locales/sv_SE: Likewise.
21548 * localedata/locales/sw_KE: Likewise.
21549 * localedata/locales/sw_TZ: Likewise.
21550 * localedata/locales/szl_PL: Likewise.
21551 * localedata/locales/ta_IN: Likewise.
21552 * localedata/locales/ta_LK: Likewise.
21553 * localedata/locales/tcy_IN: Likewise.
21554 * localedata/locales/te_IN: Likewise.
21555 * localedata/locales/tg_TJ: Likewise.
21556 * localedata/locales/th_TH: Likewise.
21557 * localedata/locales/the_NP: Likewise.
21558 * localedata/locales/ti_ER: Likewise.
21559 * localedata/locales/ti_ET: Likewise.
21560 * localedata/locales/tig_ER: Likewise.
21561 * localedata/locales/tk_TM: Likewise.
21562 * localedata/locales/tl_PH: Likewise.
21563 * localedata/locales/tn_ZA: Likewise.
21564 * localedata/locales/to_TO: Likewise.
21565 * localedata/locales/tpi_PG: Likewise.
21566 * localedata/locales/tr_CY: Likewise.
21567 * localedata/locales/tr_TR: Likewise.
21568 * localedata/locales/ts_ZA: Likewise.
21569 * localedata/locales/tt_RU: Likewise.
21570 * localedata/locales/tt_RU@iqtelif: Likewise.
21571 * localedata/locales/ug_CN: Likewise.
21572 * localedata/locales/uk_UA: Likewise.
21573 * localedata/locales/unm_US: Likewise.
21574 * localedata/locales/ur_IN: Likewise.
21575 * localedata/locales/ur_PK: Likewise.
21576 * localedata/locales/uz_UZ: Likewise.
21577 * localedata/locales/uz_UZ@cyrillic: Likewise.
21578 * localedata/locales/ve_ZA: Likewise.
21579 * localedata/locales/vi_VN: Likewise.
21580 * localedata/locales/wa_BE: Likewise.
21581 * localedata/locales/wae_CH: Likewise.
21582 * localedata/locales/wal_ET: Likewise.
21583 * localedata/locales/wo_SN: Likewise.
21584 * localedata/locales/xh_ZA: Likewise.
21585 * localedata/locales/yi_US: Likewise.
21586 * localedata/locales/yo_NG: Likewise.
21587 * localedata/locales/yue_HK: Likewise.
21588 * localedata/locales/yuw_PG: Likewise.
21589 * localedata/locales/zh_CN: Likewise.
21590 * localedata/locales/zh_HK: Likewise.
21591 * localedata/locales/zh_SG: Likewise.
21592 * localedata/locales/zh_TW: Likewise.
21593 * localedata/locales/zu_ZA: Likewise.
21595 2017-11-13 Florian Weimer <fweimer@redhat.com>
21597 * support/next_to_fault.h, support/next_to_fault.c: New files.
21598 * support/Makefile (libsupport-routines): Add next_to_fault.
21599 * resolv/tst-inet_pton.c (struct next_to_fault)
21600 (next_to_fault_allocate, next_to_fault_free): Remove.
21601 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21603 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21605 * elf/dl-support.c: Include <dl-procruntime.c>.
21606 * include/link.h: Include <link_map.h>.
21607 * sysdeps/generic/dl-procruntime.c: New file.
21608 * sysdeps/generic/link_map.h: Likewise.
21609 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21610 the writable ld.so namespace.
21612 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21614 timezone: pacify GCC -Wstringop-truncation
21615 Problem reported by Martin Sebor in:
21616 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21617 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21619 2017-11-12 Florian Weimer <fweimer@redhat.com>
21621 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21623 (tests): Add tst-xreadlink.
21624 * support/support.h (xstrndup): Declare.
21625 * support/xunistd.h (xunlink, xreadlink): Declare.
21626 * support/temp_file.h (support_create_temp_directory): Declare.
21627 * support/temp_file.c (support_create_temp_directory): New function.
21628 * support/support_chroot.c (support_chroot_create): Use it.
21629 * support/xreadlink.c: New file.
21630 * support/xstrndup.c: Likewise.
21631 * support/xunlink.c: Likewise.
21632 * support/tst-xreadlink.c: Likewise.
21634 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21636 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21638 2017-11-11 Florian Weimer <fweimer@redhat.com>
21642 * resolv/res_comp.c (printable_string, binary_hnok)
21643 (binary_leading_dash): New functions.
21644 (res_hnok): Reimplement using these functions and ns_name_pton.
21645 (res_ownok): Likewise.
21646 (res_mailok): Reimplement using printable_string, ns_name_pton and
21648 (res_dnok): Reimplement using printable_string and ns_name_pton.
21649 * resolv/tst-res_hnok.c (tests): Add additional tests.
21650 (LETTERDIGITS, PRINTABLE): Define.
21651 (do_test): Adjust one_char results.
21653 2017-11-11 Florian Weimer <fweimer@redhat.com>
21656 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21657 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21659 2017-11-11 Florian Weimer <fweimer@redhat.com>
21661 * resolv/tst-ns_name_pton.c: New file.
21662 * resolv/Makefile (tests): Add tst-ns_name_pton.
21663 (tst-ns_name_pton): Link against libresolv.
21665 2017-11-11 Florian Weimer <fweimer@redhat.com>
21667 * resolv/tst-res_hnok.c: New file.
21668 * resolv/Makefile (tests): Add tst-res_hnok.
21669 (tst-res_hnok): Link against libresolv.
21671 2017-11-11 Florian Weimer <fweimer@redhat.com>
21673 * resolv/tst-resolv-network.c: Use test framework instead explicit
21676 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21678 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21679 <jmp_buf-macros.h>.
21680 [!_ISOMAC] (STR_HELPER): New.
21681 [!_ISOMAC] (STR): Likewise.
21682 [!_ISOMAC] (TEST_SIZE): Likewise.
21683 [!_ISOMAC] (TEST_ALIGN): Likewise.
21684 [!_ISOMAC] (TEST_OFFSET): Likewise.
21685 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21686 field offsets of jmp_buf as well as sigjmp_buf.
21687 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21688 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21689 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21690 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21691 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21692 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21693 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21694 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21695 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21696 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21698 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21700 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21705 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21706 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21707 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21708 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21709 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21714 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21715 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21716 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21718 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21721 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21722 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21723 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21724 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21725 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21726 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21727 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21728 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21729 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21730 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21731 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21732 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21733 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21734 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21735 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21736 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21737 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21738 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21739 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21740 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21741 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21742 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21743 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21744 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21745 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21746 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21747 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21748 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21749 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21750 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21751 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21752 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21753 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21754 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21755 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21756 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21757 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21758 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21759 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21760 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21761 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21762 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21763 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21764 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21765 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21766 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21767 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21768 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21769 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21770 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21771 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21772 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21773 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21774 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21775 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21776 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21777 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21778 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21779 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21780 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21781 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21782 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21783 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21784 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21785 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21786 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21787 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21788 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21789 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21790 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21791 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21792 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21793 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21794 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21795 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21796 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21797 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21798 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21799 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21800 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21801 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21802 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21803 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21804 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21805 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21806 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21807 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21808 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21810 * stdlib/tst-strtod.h (F16): New macro.
21816 (IF_FLOAT16): Likewise.
21817 (IF_FLOAT32): Likewise.
21818 (IF_FLOAT64): Likewise.
21819 (IF_FLOAT32X): Likewise.
21820 (IF_FLOAT64X): Likewise.
21821 (IF_FLOAT128X): Likewise.
21822 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21823 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21824 (STRTOD_TEST_FOREACH): Likewise.
21825 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21826 (CHOOSE_f64): Likewise.
21827 (CHOOSE_f32x): Likewise.
21828 (CHOOSE_f64x): Likewise.
21830 2017-11-07 Andreas Schwab <schwab@suse.de>
21832 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21834 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21837 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21839 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21842 2017-11-07 Claude Paroz <claude@2xlibre.net>
21845 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21847 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21849 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21852 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21855 * nptl/allocatestack.c (allocate_stack): Check if
21856 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21857 __PTHREAD_MUTEX_HAVE_PREV is defined.
21858 * nptl/descr.h (pthread): Likewise.
21859 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21861 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21862 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21863 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21864 * sysdeps/nptl/bits/thread-shared-types.h
21865 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21867 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21868 of __WORDSIZE for internal layout.
21869 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21870 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21871 instead of __WORDSIZE whether to use an union for __spins and __list
21873 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21875 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21876 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21878 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21879 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21881 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21882 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21884 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21885 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21887 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
21888 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21890 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
21891 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21893 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
21894 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21896 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
21897 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21899 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
21900 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21902 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
21903 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21905 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
21906 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21908 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
21909 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21911 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
21912 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21914 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
21915 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21917 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
21918 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21921 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
21923 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
21924 checks for expected input type size.
21925 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21926 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21928 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21929 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
21930 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21931 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
21932 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21933 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
21934 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
21935 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
21936 superflous runtime assert check.
21937 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
21939 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
21941 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21943 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
21945 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
21947 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
21949 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
21950 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
21951 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21953 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21955 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21957 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
21959 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21961 * nptl/pthread_attr_setinheritsched.c
21962 (__pthread_attr_setinheritsched): Likewise.
21963 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
21965 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
21967 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
21968 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
21969 __old_pthread_attr_setstack): Likewise.
21970 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21972 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21974 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
21976 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21977 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
21979 * nptl/tst-typesizes.c: Remove file.
21981 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
21982 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
21983 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
21984 checks for internal pthread_mutex_t offsets.
21985 * sysdeps/aarch64/nptl/pthread-offsets.h
21986 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
21987 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
21988 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
21989 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
21990 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
21991 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
21992 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
21993 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
21994 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
21995 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
21996 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
21997 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
21998 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
21999 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22000 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22001 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22002 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22003 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22005 2017-11-07 Florian Weimer <fweimer@redhat.com>
22007 * bits/mman-linux.h: Move ...
22008 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22010 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22013 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22015 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22016 Redefine STRNLEN as __strnlen_power8.
22018 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22020 * signal/sighold.c (sighold): Optimize implementation.
22022 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22023 __NR_rt_sigqueueinfo.
22025 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22027 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22028 assume __NR_rt_sigtimedwait.
22029 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22030 and add LIBC_CANCEL_HANDLED for cancellation marking.
22031 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22033 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22034 (sysdeps_routines): Add memchr_noneon.
22035 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22036 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22037 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22038 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22039 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22040 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22041 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22043 * sysdeps/arm/arm-ifunc.h: New file.
22044 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22045 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22046 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22047 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22048 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22049 (__memcpy_neon): Avoid create hidden alias.
22050 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22051 (__memcpy_vfp): Likewise.
22052 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22053 (sysdep_routines): Add memcpy_arm.
22054 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22056 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22059 * Makerules (make-link-multidir): New.
22060 * config.make.in (multidir): New.
22061 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22062 * configure: Regenerated.
22063 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22064 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22065 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22068 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22071 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22072 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22074 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22076 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22079 2017-11-04 Florian Weimer <fweimer@redhat.com>
22081 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22083 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22085 * math/math.h [__HAVE_DISTINCT_FLOAT16
22086 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22087 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22088 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22089 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22090 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22091 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22092 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22093 (__MATH_TG_F32): New macro.
22094 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22095 (__MATH_TG_F64X): Likewise.
22096 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22097 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22099 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22101 * po/de.po: Update translations.
22102 * po/ru.po: Likewise.
22104 2017-11-03 Florian Weimer <fweimer@redhat.com>
22106 * manual/filesys.texi (Hard Links): Document linkat.
22108 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22110 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22111 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22112 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22113 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22114 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22115 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22116 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22117 the same as _Float128.
22118 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22119 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22120 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22123 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22125 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22127 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22129 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22130 (strtof32x): Likewise.
22131 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22132 (strtof64x): Likewise.
22133 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22134 (strtof128x): Likewise.
22135 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22136 (strfromf16): Likewise.
22137 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22138 (strfromf32): Likewise.
22139 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22140 (strfromf64): Likewise.
22141 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22142 (strfromf32x): Likewise.
22143 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22144 (strfromf64x): Likewise.
22145 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22146 (strfromf128x): Likewise.
22147 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22148 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22149 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22150 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22151 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22152 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22154 2017-11-03 Richard Henderson <rth@twiddle.net>
22156 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22158 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22160 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22162 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22164 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22165 DT_TLSDESC_GOT initialization.
22166 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22167 (_dl_tlsdesc_resolve_hold): Likewise.
22168 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22169 (_dl_tlsdesc_resolve_hold): Likewise.
22170 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22171 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22173 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22175 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22177 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22180 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22181 non-lazily for R_ARM_TLS_DESC.
22183 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22186 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22187 R_ARM_TLS_DESC case.
22188 (elf_machine_lazy_rel): Remove the prelink check.
22190 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22192 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22193 DT_TLSDESC_GOT initialization.
22194 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22195 (_dl_tlsdesc_resolve_rela): Likewise.
22196 (_dl_tlsdesc_resolve_hold): Likewise.
22197 (_dl_tlsdesc_undefweak): Remove ldar.
22198 (_dl_tlsdesc_dynamic): Likewise.
22199 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22200 (_dl_tlsdesc_resolve_rela): Likewise.
22201 (_dl_tlsdesc_resolve_hold): Likewise.
22202 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22203 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22204 (_dl_tlsdesc_resolve_rela): Likewise.
22205 (_dl_tlsdesc_resolve_hold): Likewise.
22207 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22209 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22210 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22212 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22214 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22215 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22217 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22219 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22221 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22222 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22223 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22224 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22225 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22226 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22227 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22228 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22229 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22230 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22231 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22233 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22236 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22237 * localedata/locales/tpi_PG: Add standard header.
22239 2017-11-02 Florian Weimer <fweimer@redhat.com>
22241 test-errno-linux: quotactl can fail with EPERM in containers.
22242 * sysdeps/unix/sysv/linux/test-errno-linux.c
22243 (LIST, LIST_FORWARD): New macros.
22244 (check_error_in_list): New function.
22245 (test_wrp_rv): Accept list of permitted error codes.
22246 (test_wrp_rv2): Remove.
22247 (test_wrp): Call test_wrp_rv with list of error codes.
22248 (test_wrp2): Accept list of error codes.
22249 (do_test): Adjust. Allow EPERM for quotactl.
22251 2017-11-02 Florian Weimer <fweimer@redhat.com>
22253 * stdio-common/bug16.c (do_test): Use array_length.
22254 * stdio-common/errlist.c (_sys_nerr): Likewise.
22255 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22256 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22257 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22258 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22259 (do_test): Use array_length.
22260 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22261 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22262 * stdio-common/tst-printf-round.c (do_test): Likewise.
22263 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22264 (CHECK): Use array_length.
22265 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22266 * stdio-common/tstscanf.c (main): Likewise.
22267 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22269 2017-11-02 Florian Weimer <fweimer@redhat.com>
22271 Add array_length and array_end macros.
22272 * include/array_length.h: New file.
22274 2017-11-02 Florian Weimer <fweimer@redhat.com>
22277 * posix/tst-glob-tilde.c (do_noescape): New variable.
22278 (one_test): Process it.
22279 (do_test): Set do_noescape. Add unescaping test case.
22281 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22284 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22285 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22286 with appropriate macros defined and undefined.
22287 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22288 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22289 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22290 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22291 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22292 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22293 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22294 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22295 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22296 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22299 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22300 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22301 that for long double. Do not condition define and undefine of
22302 _Mdouble_complex_ on [__CFLOAT128].
22304 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22306 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22307 of <sysdeps/generic/sysdep.h>.
22308 (ALIGNARG): Removed.
22309 (ASM_SIZE_DIRECTIVE): Likewise.
22312 (ENTRY_CHK): Likewise.
22313 (END_CHK): Likewise.
22314 (syscall_error): Likewise.
22315 (mcount): Likewise.
22316 (PSEUDO_END): Likewise.
22318 (atom_text_section): Likewise.
22319 * sysdeps/x86/sysdep.h: New file.
22320 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22321 of <sysdeps/generic/sysdep.h>.
22322 (ALIGNARG): Removed.
22323 (ASM_SIZE_DIRECTIVE): Likewise.
22326 (ENTRY_CHK): Likewise.
22327 (END_CHK): Likewise.
22328 (syscall_error): Likewise.
22329 (mcount): Likewise.
22330 (PSEUDO_END): Likewise.
22332 (atom_text_section): Likewise.
22334 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22336 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22337 category of LC_CTYPE set to "i18n:2012".
22338 * localedata/locales/i18n_ctype: Regenerate.
22340 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22342 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22343 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22344 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22345 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22347 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22348 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22349 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22350 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22352 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22355 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22357 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22359 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22361 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22362 (CMPLXF32X): Likewise.
22363 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22364 (CMPLXF64X): Likewise.
22365 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22366 (CMPLXF128X): Likewise.
22369 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22370 (__MATH_EVAL_FMT2): Define to add 0.0f.
22372 2017-10-31 Alan Modra <amodra@gmail.com>
22374 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22390 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22391 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22392 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22393 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22394 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22395 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22396 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22397 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22398 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22399 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22400 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22401 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22402 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22403 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22404 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22405 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22406 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22407 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22408 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22409 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22410 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22411 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22412 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22413 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22414 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22415 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22416 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22417 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22418 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22419 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22420 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22421 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22422 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22423 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22424 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22425 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22426 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22427 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22428 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22429 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22430 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22431 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22432 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22433 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22434 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22435 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22436 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22437 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22438 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22439 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22440 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22441 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22442 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22443 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22444 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22447 include sysdep.h and math_ldbl_opt.h.
22449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22450 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22476 2017-10-31 Alan Modra <amodra@gmail.com>
22478 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22479 string/strncase_l.c, not string/strncase.c.
22480 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22481 (libc_hidden_def): Redefine.
22483 2017-10-31 Alan Modra <amodra@gmail.com>
22485 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22486 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22487 (__strcasecmp): Don't define.
22489 2017-10-31 Alan Modra <amodra@gmail.com>
22491 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22493 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22494 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22495 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22497 2017-10-31 Alan Modra <amodra@gmail.com>
22499 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22502 2017-10-31 Alan Modra <amodra@gmail.com>
22504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22505 Redefine only when SHARED.
22507 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22509 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22510 Include <bits/math-finite.h> with appropriate macros defined and
22512 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22513 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22514 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22515 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22516 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22518 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22519 [!_Mlong_double_] (_Mlong_double_): Likewise.
22520 [!_Mfloat16_] (_Mfloat16_): Likewise.
22521 [!_Mfloat32_] (_Mfloat32_): Likewise.
22522 [!_Mfloat64_] (_Mfloat64_): Likewise.
22523 [!_Mfloat128_] (_Mfloat128_): Likewise.
22524 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22525 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22526 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22527 (_Mdouble_): Define without indirection through those macros.
22528 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22529 [!_Mfloat128_] (_Mfloat128_): Likewise.
22530 [_Mlong_double_] (_Mlong_double_): Likewise.
22531 (_Mdouble_): Define without indirection through those macros.
22532 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22533 not add -D_Mlong_double_=double.
22534 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22535 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22537 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22539 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22541 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22543 * sysdeps/x86/libc-start.c: Reformat.
22545 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22548 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22549 (1): Renamed to ...
22552 (L(Src2)): Likewise.
22553 (L(1)): Renamed to ...
22556 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22558 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22559 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22560 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22561 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22562 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22563 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22564 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22565 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22566 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22567 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22568 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22569 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22570 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22571 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22572 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22573 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22574 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22575 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22576 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22577 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22578 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22579 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22580 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22581 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22582 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22583 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22584 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22585 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22586 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22587 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22588 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22589 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22590 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22591 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22592 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22593 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22594 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22595 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22596 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22597 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22598 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22599 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22600 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22601 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22602 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22603 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22604 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22605 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22606 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22607 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22608 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22609 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22610 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22611 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22612 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22613 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22614 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22615 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22616 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22617 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22618 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22619 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22620 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22621 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22622 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22623 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22625 2017-10-30 Florian Weimer <fweimer@redhat.com>
22627 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22629 * io/tst-mkdirat.c (do_test): Likewise.
22630 * io/tst-mkfifoat.c (do_test): Likewise.
22631 * io/tst-mknodat.c (do_test): Likewise.
22632 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22633 * locale/programs/locale.c (select_dirs): Likewise.
22634 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22635 * posix/bug-glob2.c (my_readdir): Likewise.
22636 * posix/tst-dir.c (main): Likewise.
22637 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22638 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22640 2017-10-30 Florian Weimer <fweimer@redhat.com>
22642 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22645 2017-10-30 Florian Weimer <fweimer@redhat.com>
22647 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22648 Convert to support/test-driver.c.
22649 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22650 New macro parameters.
22651 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22652 * posix/tst-gnuglob.c: New file.
22653 * posix/tst-gnuglob64.c: Likewise.
22654 * posix/Makefile (tests): Add tst-gnuglob64.
22656 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22659 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22660 and use a better translation for March in “mon”.
22661 * localedata/locales/csb_PL: Use more ASCII to improve the
22662 readability of the source.
22664 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22667 * localedata/locales/km_KH: Use ASCII as much
22668 as possible for better readability of the source and
22669 remove useless comments.
22670 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22671 was commented out and apparently wrong anyway because it was
22672 using Lao characters. If Buddhist era should be used
22673 for km_KH, a native speaker should write the correct formaat
22675 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22676 (According to CLDR, the first weekday for Cambodia is Sunday).
22677 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22678 (These were using Lao characters which must be wrong. If we get
22679 the correct data from a native speaker, we could add it back, until
22680 then it is better not to have name_mr and name_mrs at all than
22683 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22685 * locale/loadlocale.c: Correct size of
22686 _nl_value_type_LC_<category> arrays.
22688 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22690 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22691 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22692 with appropriate macros defined and undefined.
22693 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22694 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22695 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22696 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22697 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22699 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22701 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22704 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22706 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22707 with lowercase letters to make it agree with CLDR.
22709 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22712 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22713 first letters of yesstr and nostr in yesexpr and noexpr,
22714 not for the full words.
22715 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22716 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22717 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22718 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22719 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22720 first letters of yesstr and nostr in yesexpr and noexpr,
22721 until now only English was matched in yesexpr and noexpr.
22722 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22723 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22724 fil but not for tl. As tl and fil are very similar, using fil
22725 is probably better than using English.
22727 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22730 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22731 in yesstr and nostr.
22733 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22735 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22736 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22737 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22739 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22741 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22743 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22745 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22746 (SNANF128X): Likewise.
22748 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22749 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22750 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22751 (HUGE_VAL_F32): Likewise.
22752 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22753 (HUGE_VAL_F64): Likewise.
22754 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22755 (HUGE_VAL_F32X): Likewise.
22756 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22757 (HUGE_VAL_F64X): Likewise.
22758 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22759 (HUGE_VAL_F128X): Likewise.
22761 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22763 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22764 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22765 for the br_FR locale.
22767 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22770 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22772 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22774 * locale/programs/record-status.h: Define globals, and function
22775 prototypes. Move function bodies...
22776 * locale/programs/record-status.c: ... to here. New file.
22777 * iconv/Makefile (iconv_prog-modules): Add record-status.
22778 * locale/Makefile (lib-modules): Likewise.
22779 * iconv/iconv_prog.c: Remove verbose.
22780 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22781 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22782 record a warning about ASCII compatibility.
22783 * locale/programs/ld-monetary.c (monetary_finish): If
22784 warn_int_curr_symbol is true then record a warning about the symbol
22785 not being in our ISO 4217 list.
22786 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22787 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22788 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22789 (OPT_NO_WARN): Define.
22790 (OPT_WARN): Define.
22791 (options): Add entry for --no-warnings, and --warnings.
22792 (set_warnings): New function to enable/disable warnings.
22793 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22794 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22795 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22796 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22797 Pass flags to generate_locale.
22798 (generate_locale): Accept new flag argument and pass it to localedef
22800 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22801 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22803 * localedata/Makefile (test-input-data): Use full file name.
22804 * localedata/da_DK.in: Rename to...
22805 * localedata/da_DK.ISO-8859-1.in: ...this.
22806 * localedata/de_DE.in: Rename to...
22807 * localedata/de_DE.ISO-8859-1.in: ...this.
22808 * localedata/en_US.in: Rename to...
22809 * localedata/en_US.ISO-8859-1.in: ...this.
22810 * localedata/fr_FR.in: Rename to...
22811 * localedata/fr_FR.UTF-8.in: ... this.
22812 * localedata/hr_HR.in: Rename to...
22813 * localedata/hr_HR.ISO-8859-2.in: ...this.
22814 * localedata/hu_HU.in: Rename to...
22815 * localedata/hu_HU.UTF-8.in: ...this.
22816 * localedata/si_LK.in: Rename to...
22817 * localedata/si_LK.UTF-8.in: ...this.
22818 * localedata/sv_SE.in: Rename to...
22819 * localedata/sv_SE.ISO-8859-1.in: ...this.
22820 * localedata/tr_TR.in: Rename to...
22821 * localedata/tr_TR.UTF-8.in: ...this.
22822 * localedata/uk_UA.in: Rename to...
22823 * localedata/uk_UA.UTF-8.in: ...this.
22824 * localedata/sort-test.sh: Test file is locale name with the
22827 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22828 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22830 * localedata/locales/i18n_ctype: Regenerate.
22831 * localedata/locales/tr_TR: Likewise.
22832 * localedata/locales/translit_circle: Likewise.
22833 * localedata/locales/translit_cjk_compat: Likewise.
22834 * localedata/locales/translit_combining: Likewise.
22835 * localedata/locales/translit_compat: Likewise.
22836 * localedata/locales/translit_font: Likewise.
22837 * localedata/locales/translit_fraction: Likewise.
22839 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22841 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22842 lxvd2x/stxvd2x with lvx/stvx.
22843 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22845 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22847 * include/alloc_buffer.h: Replace "if if " with "if " in
22849 * sysdeps/mips/memcpy.S: Likkewise.
22850 * sysdeps/mips/memset.S: Likewise.
22851 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22853 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22855 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22858 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22861 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22862 yesexpr and noexpr.
22863 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22864 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22865 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22866 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22867 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22868 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22869 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22871 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22873 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22874 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22875 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22876 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22877 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22878 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22879 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22880 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22881 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22882 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22883 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22884 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22886 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22888 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
22889 as possible for better readability of the source.
22890 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
22891 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
22892 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
22893 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
22894 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
22895 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
22896 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
22897 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
22898 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22899 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
22900 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
22901 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
22902 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
22903 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
22904 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
22905 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
22906 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
22907 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
22908 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
22909 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
22910 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
22911 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
22912 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
22913 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
22914 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
22915 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
22916 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
22917 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
22918 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
22919 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
22920 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
22921 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22922 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
22923 * localedata/locales/en_US (LC_MESSAGES): Likewise.
22924 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
22925 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
22926 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
22927 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
22928 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
22929 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
22930 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
22931 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
22932 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
22933 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
22934 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
22935 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
22936 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
22937 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
22938 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
22939 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
22940 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
22941 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
22942 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
22943 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22944 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22945 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
22946 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
22947 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22948 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
22949 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
22950 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
22951 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
22952 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
22953 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
22954 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
22955 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
22956 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
22957 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
22958 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
22959 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
22960 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
22961 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
22962 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
22963 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
22964 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22965 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
22966 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
22967 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
22968 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
22969 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
22970 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
22971 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
22972 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
22973 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22974 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
22975 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
22976 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
22977 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22978 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
22979 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
22980 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
22981 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
22982 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22983 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
22984 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
22985 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22986 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
22987 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22988 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
22989 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
22990 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
22991 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
22992 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
22993 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
22994 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
22995 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
22996 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
22997 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
22998 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
22999 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23000 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23001 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23002 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23003 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23004 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23005 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23006 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23007 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23008 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23009 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23010 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23011 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23012 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23013 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23014 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23015 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23016 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23017 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23018 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23019 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23020 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23021 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23022 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23023 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23024 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23025 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23026 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23027 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23028 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23029 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23030 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23031 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23032 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23033 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23034 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23035 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23036 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23037 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23038 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23039 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23040 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23041 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23042 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23043 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23044 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23045 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23046 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23047 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23048 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23049 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23050 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23051 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23052 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23053 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23054 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23055 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23056 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23057 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23058 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23059 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23060 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23061 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23062 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23063 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23065 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23067 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23068 (Use first letters of yesstr and nostr correctly instead of using
23071 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23073 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23074 (Use first letters of yesstr and nostr correctly).
23076 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23078 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23079 also check for the first characters of yesstr and nostr.
23080 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23081 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23083 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23085 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23086 also check for Chinese characters.
23088 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23090 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23091 match also for the contents of yesstr and nostr. As the first letter
23092 of yesstr and nostr is equal, checking only for the first letter
23095 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23097 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23098 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23100 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23102 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23103 of main contributor.
23105 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23107 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23108 instead of using English.
23110 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23112 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23113 by including the first letters of nostr and yesexpr in the regexp.
23114 Also make it more readable by using ASCII where possible.
23116 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23118 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23119 the first letter of nostr in the regexp. It agrees with CLDR now.
23120 Also make it more readable by using ASCII where possible.
23122 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23124 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23125 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23126 these strings contain a U+17D6 (which somewhat looks like a colon)
23127 instead of a real colon to separate the full words for “yes”
23128 and “no” from the single letter responses.
23130 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23132 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23133 it agree with CLDR (include the first letter of yesstr).
23134 Also make it more readable by using ASCII where possible.
23136 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23138 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23139 and improve yesexpr and noexpr. The yesstr and nostr apparently
23140 came from CLDR. And CLDR has a bug there: these strings contain
23141 a U+0903 (which looks like a colon) instead of a real colon
23142 to separate the full words for “yes” and “no” from the single
23145 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23147 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23148 letters of the full yesstr and nostr in yesexpr and noexpr.
23150 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23152 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23153 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23154 * localedata/locales/an_ES: Make source more readable by using ASCII
23157 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23160 * localedata/locales/yuw_PG: New file.
23161 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23162 * locale/iso-639.def: Add Yau (Uruwa).
23164 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23166 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23168 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23170 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23171 (__libc_realloc): Likewise.
23172 (_mid_memalign): Likewise.
23173 (__libc_calloc): Likewise.
23175 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23177 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23178 by adding the generic +1 and -0 as in all other locales.
23179 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23180 day names and make it more readable by using ASCII where possible.
23182 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23184 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23185 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23187 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23189 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23190 WNOHANG in waitpid call.
23192 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23194 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23195 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23197 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23198 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23199 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23200 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23201 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23202 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23203 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23204 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23207 2017-10-23 Michael Collison <michael.collison@arm.com>
23209 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23210 with __builtin_sqrt.
23211 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23212 with __builtin_sqrtf.
23213 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23214 with __builtin_ceil.
23215 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23216 with __builtin_ceilf.
23217 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23218 with __builtin_floor.
23219 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23220 with __builtin_floorf.
23221 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23222 with __builtin_fma.
23223 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23224 with __builtin_fmaf.
23225 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23226 with __builtin_fmax.
23227 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23228 with __builtin_fmaxf.
23229 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23230 with __builtin_fmin.
23231 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23232 with __builtin_fminf.
23233 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23234 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23235 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23236 with builtin_rint and conversion to int.
23237 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23238 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23239 with builtin_llround.
23240 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23241 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23242 with builtin_rint and conversion to long int.
23243 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23244 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23245 with builtin_lround.
23246 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23247 with builtin_lroundf.
23248 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23249 statements with __builtin_nearbyint.
23250 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23251 statements with __builtin_nearbyintf.
23252 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23253 with __builtin_rint.
23254 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23255 with __builtin_rintf.
23256 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23257 with __builtin_round.
23258 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23259 with __builtin_roundf.
23260 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23261 with __builtin_trunc.
23262 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23263 with __builtin_truncf.
23264 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23265 and s_l[l]round[f].c too.
23267 2017-10-23 Alan Modra <amodra@gmail.com>
23269 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23270 Adjust stack after restoring regs. Add missing LR cfi_restore.
23272 2017-10-23 Alan Modra <amodra@gmail.com>
23274 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23275 Move LR save and frame setup/teardown and LR restore to
23276 immediately around memset call. Provide cfi.
23278 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23280 * sysdeps/i386/fpu/e_powf.S: Removed.
23281 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23282 * sysdeps/i386/fpu/w_powf.c: Likewise.
23283 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23284 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23285 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23287 (CFLAGS-e_powf-sse2.c): New.
23288 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23289 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23291 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23293 * sysdeps/i386/fpu/e_log2f.S: Removed.
23294 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23295 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23296 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23297 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23298 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23300 (CFLAGS-e_log2f-sse2.c): New.
23301 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23302 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23304 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23306 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23308 (CFLAGS-e_powf-fma.c): New.
23309 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23310 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23312 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23314 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23316 (CFLAGS-e_log2f-fma.c): New.
23317 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23318 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23320 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23322 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23324 (CFLAGS-e_logf-fma.c): New.
23325 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23326 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23328 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23330 * sysdeps/i386/fpu/e_logf.S: Removed.
23331 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23332 * sysdeps/i386/fpu/w_logf.c: Likewise.
23333 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23334 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23335 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23336 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23338 (CFLAGS-e_logf-sse2.c): New.
23339 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23340 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23342 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23344 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23345 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23346 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23347 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23348 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23350 (CFLAGS-e_exp2f-sse2.c): New.
23351 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23352 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23354 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23356 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23358 (CFLAGS-e_exp2f-fma.c): New.
23359 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23360 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23362 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23364 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23365 * sysdeps/i386/fpu/e_expf.S: Likewise.
23366 * sysdeps/i386/fpu/math_errf.c: Likewise.
23367 * sysdeps/i386/fpu/w_expf.c: Likewise.
23368 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23369 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23370 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23371 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23372 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23373 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23374 Remove e_expf-ia32.
23375 (CFLAGS-e_expf-sse2.c): New.
23376 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23377 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23379 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23381 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23382 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23383 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23384 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23386 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23388 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23389 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23391 (__redirect_expf): This.
23392 (SYMBOL_NAME): Changed to expf.
23393 (__ieee754_expf): Renamed to ...
23395 (__GI___expf): This.
23396 (__ieee754_expf): Add strong_alias.
23397 (__expf_finite): Likewise.
23399 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23401 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23404 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23407 2017-10-21 Florian Weimer <fweimer@redhat.com>
23409 * posix/Makefile (tests): Add tst-glob-tilde.
23410 (tests-special): Add tst-glob-tilde-mem.out
23411 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23412 (tst-glob-tilde-mem.out): Add mtrace check.
23413 * posix/tst-glob-tilde.c: New file.
23415 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23417 * bits/floatn-common.h: New file.
23418 * math/Makefile (headers): Add bits/floatn-common.h.
23419 * bits/floatn.h: Include <bits/floatn-common.h>.
23420 * sysdeps/ia64/bits/floatn.h: Likewise.
23421 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23422 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23423 * sysdeps/powerpc/bits/floatn.h: Likewise.
23424 * sysdeps/x86/bits/floatn.h: Likewise.
23426 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23428 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23429 indicates whether compiler emits an warning for alias for
23430 functions with incompatible types.
23433 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23434 the auxiliary process is terminated by a signal before calling _exit
23437 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23440 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23442 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23443 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23444 and bit_arch_XSAVEC_Usable if needed.
23445 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23446 and bit_arch_Use_dl_runtime_resolve_opt.
23447 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23449 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23450 (bit_arch_Prefer_No_AVX512): Updated.
23451 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23452 (bit_arch_XSAVEC_Usable): New.
23453 (STATE_SAVE_OFFSET): Likewise.
23454 (STATE_SAVE_MASK): Likewise.
23455 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23456 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23457 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23458 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23459 (index_arch_XSAVEC_Usable): New.
23460 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23461 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23462 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23464 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23465 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23466 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23467 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23468 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23469 _dl_runtime_resolve_xsavec.
23470 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23472 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23473 instead of VEC_SIZE.
23474 (REGISTER_SAVE_BND0): Removed.
23475 (REGISTER_SAVE_BND1): Likewise.
23476 (REGISTER_SAVE_BND3): Likewise.
23477 (REGISTER_SAVE_RAX): Always defined to 0.
23479 (_dl_runtime_resolve_avx): Likewise.
23480 (_dl_runtime_resolve_avx_slow): Likewise.
23481 (_dl_runtime_resolve_avx_opt): Likewise.
23482 (_dl_runtime_resolve_avx512): Likewise.
23483 (_dl_runtime_resolve_avx512_opt): Likewise.
23484 (_dl_runtime_resolve_sse): Likewise.
23485 (_dl_runtime_resolve_sse_vex): Likewise.
23487 (_dl_runtime_resolve_fxsave): Likewise.
23488 (USE_XSAVE): Likewise.
23489 (_dl_runtime_resolve_xsave): Likewise.
23490 (USE_XSAVEC): Likewise.
23491 (_dl_runtime_resolve_xsavec): Likewise.
23492 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23494 (_dl_runtime_resolve_avx512_opt): Likewise.
23495 (_dl_runtime_resolve_avx): Likewise.
23496 (_dl_runtime_resolve_avx_opt): Likewise.
23497 (_dl_runtime_resolve_sse): Likewise.
23498 (_dl_runtime_resolve_sse_vex): Likewise.
23499 (_dl_runtime_resolve_fxsave): New.
23500 (_dl_runtime_resolve_xsave): Likewise.
23501 (_dl_runtime_resolve_xsavec): Likewise.
23503 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23507 * posix/glob.c (__glob): Fix one-byte overflow.
23509 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23511 * malloc/malloc.c (sysdep-cancel.h): Add include.
23513 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23515 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23517 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23519 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23520 (tests): Remove $(objpfx)ga_test depdendency.
23521 * resolv/ga_test.c: Remove file.
23523 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23526 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23527 * localedata/locales/kab_DZ: New file.
23529 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23531 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23532 _dl_relocate_static_pie instead of _dl_start to compute load
23533 address in static PIE.
23535 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23537 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23539 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23542 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23543 * localedata/locales/shn_MM: New file.
23545 2017-10-20 Florian Weimer <fweimer@redhat.com>
23548 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23549 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23550 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23551 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23552 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23553 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23555 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23557 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23559 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23561 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23564 * sysdeps/mips/bits/long-double.h: Move to ....
23565 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23567 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23569 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23571 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23572 H.J. Lu <hongjiu.lu@intel.com>
23575 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23576 GLRO(dl_platform) to NULL.
23577 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23578 (modules-names): Add tst-platformmod-1 and
23579 x86_64/tst-platformmod-2.
23580 (CFLAGS-tst-platform-1.c): New.
23581 (CFLAGS-tst-platformmod-1.c): Likewise.
23582 (CFLAGS-tst-platformmod-2.c): Likewise.
23583 (LDFLAGS-tst-platformmod-2.so): Likewise.
23584 ($(objpfx)tst-platform-1): Likewise.
23585 ($(objpfx)tst-platform-1.out): Likewise.
23586 (tst-platform-1-ENV): Likewise.
23587 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23588 * sysdeps/x86_64/tst-platform-1.c: New file.
23589 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23590 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23592 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23595 * locale/iso-639.def: Add Karbi.
23596 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23597 * localedata/locales/mjw_IN: New file.
23599 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23601 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23602 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23603 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23604 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23605 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23606 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23607 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23609 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23610 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23611 * manual/math.texi (Mathematics): Document additional architecture
23612 support for _Float128.
23613 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23614 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23615 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23616 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23617 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23618 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23619 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23620 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23621 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23622 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23623 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23624 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23625 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23626 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23627 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23629 2017-10-18 Renlin Li <renlin.li@arm.com>
23631 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23632 _DYNAMIC symbol to calculate load address.
23634 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23636 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23637 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23639 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23640 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23642 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23645 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23646 and improve readability by using more ASCII.
23647 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23648 and improve readability by using more ASCII.
23650 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23652 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23653 not all targets support atomics on bool.
23655 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23657 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23658 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23660 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23661 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23662 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23663 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23664 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23665 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23667 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23669 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23672 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23675 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23676 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23677 (do_check_remalloced_chunk): Fix build bug.
23678 (do_check_malloc_state): Add assert that checks arena->top.
23679 (malloc_consolidate): Remove initialization.
23680 (int_mallinfo): Remove call to malloc_consolidate.
23681 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23683 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23685 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23686 (have_fastchunks): Remove.
23687 (clear_fastchunks): Remove.
23688 (set_fastchunks): Remove.
23689 (malloc_state): Add have_fastchunks.
23690 (malloc_init_state): Use have_fastchunks.
23691 (do_check_malloc_state): Remove incorrect invariant checks.
23692 (_int_malloc): Use have_fastchunks.
23693 (_int_free): Likewise.
23694 (malloc_consolidate): Likewise.
23696 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23698 * malloc/malloc.c (tcache_put): Inline.
23699 (tcache_get): Inline.
23701 2017-10-17 Jordi Mallach <jordi@gnu.org>
23703 Aurelien Jarno <aurelien@aurel32.net>
23705 * localedata/locales/ca_ES@valencia: New file.
23706 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23708 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23711 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23714 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23716 * scripts/build-many-glibcs.py (Context.add_all_configs):
23717 Add arm-linux-gnueabihf multiarch extra_glibcs.
23719 * sysdeps/generic/ifunc-init.h: New file.
23720 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23722 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23725 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23726 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23727 * stdlib/tst-strfmon_l.c: adapt test case.
23729 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23731 * sysdeps/generic/float128-abi.h: New file.
23732 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23733 non-__prefixed symbols to ....
23734 * math/Versions: ... here. Include <float128-abi.h>.
23735 * stdlib/Versions ... and here. Include <float128-abi.h>
23737 2017-10-16 Florian Weimer <fweimer@redhat.com>
23739 * version.h (VERSION): Switch to ".9000" as the development
23742 2017-10-16 Florian Weimer <fweimer@redhat.com>
23745 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23746 compat_symbol_reference to access non-default version.
23748 2017-10-16 Florian Weimer <fweimer@redhat.com>
23750 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23752 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23754 * include/shlib-compat.h (compat_symbol_reference): Update
23757 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23759 * math/Makefile (test-types): Add
23760 $(type-float128-$(float128-alias-fcts)).
23761 * math/test-float128.h (TYPE_STR): Define conditional on
23762 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23763 (ULP_IDX): Likewise.
23764 (ULP_I_IDX): Likewise.
23766 * stdlib/strtold.c: Include <bits/floatn.h>
23767 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23768 and later undefine as macro. Define as weak alias if
23770 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23771 and later undefine as macro. Define as weak alias if
23773 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23774 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23775 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23776 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23777 Define and later undefine as macro. Define as weak alias if
23779 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23781 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23782 Define and later undefine as macro. Define as weak alias if
23784 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23785 Define and later undefine as macro. Define as weak alias if
23788 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23790 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23791 record_verbose messages.
23793 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23796 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23797 to silence -O3 -Wall warning with GCC 7.
23799 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23801 * Makeconfig (+link-static-before-libc): Use the first of
23802 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23803 * gmon/Makefile (tests): Add tst-gmon-static.
23804 (tests-static): Likewise.
23805 (CFLAGS-tst-gmon-static.c): New.
23806 (CRT-tst-gmon-static): Likewise.
23807 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23808 (tst-gmon-static-ENV): Likewise.
23809 (tests-special): Likewise.
23810 ($(objpfx)tst-gmon-static.out): Likewise.
23811 (clean-tst-gmon-static-data): Likewise.
23812 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23813 * gmon/tst-gmon-static-gprof.sh: New file.
23814 * gmon/tst-gmon-static.c: Likewise.
23816 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23819 * locale/programs/linereader.c (get_string): Don't warn on
23820 non-symbolic character.
23823 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23827 * locale/programs/record-status.h: New file
23828 * locale/programs/locale.c: Add comment.
23829 * locale/programs/charmap-dir.c: Don't include error.h.
23830 (charmap_opendir): Use record_error.
23831 * locale/programs/charmap.c: Don't include error.h.
23832 (charmap_read): Use record_error, and record_warning.
23833 (parse_charmap): Likewise.
23834 * locale/programs/ld-address.c: Don't include error.h.
23835 (address_finish): Use record_error, and record_warning.
23836 * locale/programs/ld-collate.c: Don't include error.h.
23837 (collate_finish): Use record_error, and record_error_at_line.
23838 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23839 (ctype_class_new): Likewise.
23840 (ctype_map_new): Likewise.
23841 (set_one_default): Likewise.
23842 (set_class_defaults): Likewise.
23843 (translit_flatten): Likewise.
23844 (allocate_arrays): Use record_error, and record_verbose.
23845 * locale/programs/ld-identification.c: Don't include error.h.
23846 (indentation_finish): Use record_error and record_warning.
23847 * locale/programs/ld-measurement.c: Don't include error.h.
23848 (measurement_finish): Use record_error.
23849 * locale/programs/ld-messages.c
23850 (message_finish): Likewise.
23851 * locale/programs/ld-monetary.c
23852 (monetary_finish): Likewise.
23853 * locale/programs/ld-name.c (name_finish): Use record_error
23854 and record_warning.
23855 * locale/programs/ld-numeric.c
23856 (numeric_finish): Use record_error.
23857 * locale/programs/ld-paper.c: Don't include error.h.
23858 (paper_finish): Use record_error.
23859 * locale/programs/ld-telephone.c: Don't include error.h.
23860 (telephone_finish): Use record_error.
23861 * locale/programs/ld-time.c (time_finish): Likewise.
23862 * locale/programs/linereader.h (lr_error): Make inline func.
23863 * locale/programs/localedef.c: Define recorded_warning_count,
23864 and recorded_error_count.
23865 (main): Use record_error. Use recorded_error_count and
23866 recorded_warning_count to issue correct error returns.
23867 (add_to_readlist): Use record_error.
23868 (find_locale): Likewise.
23869 (load_locale): Likewise.
23870 * locale/programs/localedef.h: Remove be_quiet
23871 and WITH_CUR_LOCALE.
23872 * locale/programs/locarchive.c (compare_from_file): Use
23874 * locale/programs/locfile.c (write_locale_data): Use
23876 * locale/programs/repertoire.c: Dont include error.h.
23877 (repertoire_complain): Use record_error.
23878 * localedata/tst-fmon.sh: Expect failures from localedef.
23879 * localedata/tst-locale.sh: Likewise.
23880 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23882 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23883 (REPORTS): Likewise.
23885 (i18n): Rename to...
23886 (i18n_ctype): ...this.
23887 (i18n-report): Rename to...
23888 (i18n_ctype-report): ...this.
23889 * localedata/locales/i18n_ctype: Regenerate.
23890 * localedata/locales/i18n: copy i18n_ctype.
23892 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23894 * stdlib/strfroml.c: Include <bits/floatn.h>.
23895 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
23896 Define before include of <stdlib.h> and undefine afterwards, then
23897 define as weak alias.
23899 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
23900 Undefine and restore default definition. Use
23901 libm_alias_ldouble_other.
23903 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
23906 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
23909 2017-10-13 James Clarke <jrtc27@jrtc27.com>
23911 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23912 Assign sym_map to be map for local symbols, as TLS relocations
23913 use sym_map to determine whether the symbol is defined and to
23914 extract the TLS information.
23915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23918 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23921 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
23922 (math_force_eval): Add powerpc version.
23925 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
23927 (do_test): Likewise.
23928 * stdio-common/tst-printf.sh: Likewise.
23929 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
23930 ifdef clause in order to set the carry bit right. Replace r0 by
23931 0 without changing the behavior.
23933 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23935 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
23936 <libm-alias-ldouble.h>.
23937 (fabsl): Define using libm_alias_ldouble.
23938 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
23939 <libm-alias-ldouble.h>.
23940 (fabsl): Define using libm_alias_ldouble.
23942 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
23943 Remove conditional code.
23945 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
23946 Rename to __clog10_internal_l.
23947 (__clog10_internal_l): Define aliases using
23948 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
23951 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23953 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
23954 * benchtests/sincosf-inputs: New file.
23955 * benchtests/cosf-inputs: New file.
23956 * benchtests/sinf-inputs: New file.
23958 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23960 * posix/tst-spawn.c (do_test): Wait for both children.
23962 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
23965 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
23966 tests-pie): Add tst-gmon-pie.
23967 (CFLAGS-tst-gmon-pie.c): New.
23968 (CRT-tst-gmon-pie): Likewise.
23969 (tst-gmon-pie-ENV): Likewise.
23970 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
23971 ($(objpfx)tst-gmon-pie.out): Likewise.
23972 (clean-tst-gmon-pie-data): Likewise.
23973 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
23974 * gmon/gmon.c [PIC]: Include <link.h>.
23975 [PIC] (callback): New function.
23976 (write_hist): Add an argument for load address. Subtract load
23978 (write_call_graph): Likewise.
23979 (write_gmon): Call __dl_iterate_phdr to get load address, pass
23980 it to write_hist and write_call_graph.
23981 * gmon/tst-gmon-pie.c: New file.
23983 2017-10-11 Joseph Myers <joseph@codesourcery.com>
23985 * math/Makefile (test-types-basic): New variable.
23986 (test-types): Likewise.
23987 (libm-test-support): Use $(test-types) instead of $(types).
23988 (libm-tests-base-normal): Likewise.
23989 (libm-tests-base-finite): Likewise.
23990 (libm-tests-base-inline): Likewise.
23991 (generated): Likewise.
23992 ($(objpfx)libm-test-support-$(t).c): Likewise.
23993 (libm-tests-for-type iterator): Likewise.
23994 (libm-test-support iterator): Likewise.
23995 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
23996 (ulp_idx): Use ULP_IDX.
23997 * math/test-ldouble.h: Include <float.h>.
23998 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
23999 (ULP_IDX): New macro.
24000 (ULP_I_IDX): Likewise.
24001 * math/test-double.h (ULP_IDX): Likewise.
24002 (ULP_I_IDX): Likewise.
24003 * math/test-float.h (ULP_IDX): Likewise.
24004 (ULP_I_IDX): Likewise.
24005 * math/test-float128.h (ULP_IDX): Likewise.
24006 (ULP_I_IDX): Likewise.
24008 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24010 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24011 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24012 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24013 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24014 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24015 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24016 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24017 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24018 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24019 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24020 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24021 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24022 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24023 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24024 (SINGLE_THREAD_BY_GLOBAL): Define.
24025 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24027 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24029 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24031 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24033 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24034 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24038 2017-10-11 Andreas Schwab <schwab@suse.de>
24040 * nis/Makefile (aux): Remove.
24041 * nscd/Makefile (aux): Add nscd_hash.
24042 (nscd-modules): Likewise.
24043 ($(objpfx)nscd): Don't depend on libnsl.
24044 * nscd/nscd_hash.c: New file.
24045 * nscd/nscd_hash.h: Likewise.
24046 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24047 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24048 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24049 instead of <nis/rpcsvc/nis.h>.
24050 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24052 2017-10-11 Florian Weimer <fweimer@redhat.com>
24055 Avoid large NSS buffers with many addresses, aliases.
24056 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24057 using dynarrays and struct alloc_buffer.
24058 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24059 (tst-nss-files-hosts-multi): Link with -ldl.
24060 * nss/tst-nss-files-hosts-multi.c: New file.
24062 2017-10-11 Florian Weimer <fweimer@redhat.com>
24065 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24066 scratch_buffer. Eliminate gotos.
24068 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24070 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24071 libm_alias_ldouble_other.
24072 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24073 undefine and redefine.
24074 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24075 (exp10l): Do not define here.
24076 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24077 (weak_alias): Undefine and redefine.
24078 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24079 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24080 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24081 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24083 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24084 [!__fma] (fma): Define using libm_alias_double.
24085 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24086 [!__fmaf] (fmaf): Define using libm_alias_float.
24087 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24088 (fmal): Define using libm_alias_ldouble.
24090 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24092 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24094 (libm_alias_double_other): Likewise.
24095 (libm_alias_double_r): Use libm_alias_double_other_r.
24096 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24098 (libm_alias_float_other): Likewise.
24099 (libm_alias_float_r): Use libm_alias_float_other_r.
24100 * sysdeps/generic/libm-alias-float128.h
24101 (libm_alias_float128_other_r): New macro.
24102 (libm_alias_float128_other): Likewise.
24103 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24104 * sysdeps/generic/libm-alias-ldouble.h
24105 (libm_alias_ldouble_other_r): New macro.
24106 (libm_alias_ldouble_other): Likewise.
24107 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24108 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24109 (libm_alias_double_other_r): New macro.
24110 (libm_alias_double_other): Likewise.
24111 (libm_alias_double_r): Use libm_alias_double_other_r.
24112 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24113 (libm_alias_ldouble_other_r): New macro.
24114 (libm_alias_ldouble_other): Likewise.
24115 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24116 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24117 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24118 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24119 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24120 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24121 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24122 * math/w_exp2f.c: Use libm_alias_float_other.
24123 * math/w_expf.c: Likewise.
24124 * math/w_log2f.c: Likewise.
24125 * math/w_logf.c: Likewise.
24126 * math/w_powf.c: Likewise.
24127 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24128 [!__exp2f]: Use libm_alias_float_other.
24129 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24130 [!__expf]: Use libm_alias_float_other.
24131 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24132 [!__log2f]: Use libm_alias_float_other.
24133 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24134 [!__logf]: Use libm_alias_float_other.
24135 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24136 [!__powf]: Use libm_alias_float_other.
24138 2017-10-10 Florian Weimer <fweimer@redhat.com>
24140 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24142 (_nss_files_gethostbyname3_r): Call it.
24144 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24146 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24147 error. Remove default definition of declare_mgen_alias.
24148 [!declare_mgen_alias_r]: Likewise.
24149 * sysdeps/generic/math-type-macros-double.h
24150 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24151 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24152 (declare_mgen_alias_r): Likewise.
24153 * sysdeps/generic/math-type-macros-float128.h
24154 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24155 * sysdeps/generic/math-type-macros-ldouble.h
24156 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24157 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24159 (declare_mgen_alias_r_s): Likewise.
24160 (declare_mgen_alias_r): Likewise.
24161 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24162 (lgamma_r): Define using libm_alias_double_r.
24163 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24164 (lgammaf_r): Define using libm_alias_float_r.
24165 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24166 (lgammal_r): Define using libm_alias_ldouble_r.
24167 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24168 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24170 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24172 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24173 extern declaration.
24175 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24177 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24179 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24182 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24183 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24184 * math/Makefile (test-math-cxx11): New test.
24185 * math/test-math-cxx11.cc: New file.
24187 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24189 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24191 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24192 call to allocate the slave pty file descriptor.
24194 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24196 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24197 [!__fma] (fma): Define using libm_alias_double.
24198 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24199 [!__fma] (fma): Define using libm_alias_double.
24201 * sysdeps/ieee754/float128/float128_private.h: Include
24202 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24203 (libm_alias_ldouble_r): Undefine and redefine.
24204 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24205 <libm-alias-ldouble.h>.
24206 (asinhl): Define using libm_alias_ldouble.
24207 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24208 <libm-alias-ldouble.h>.
24209 (atanl): Define using libm_alias_ldouble.
24210 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24211 <libm-alias-ldouble.h>.
24212 (cbrtl): Define using libm_alias_ldouble.
24213 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24214 <libm-alias-ldouble.h>.
24215 (ceill): Define using libm_alias_ldouble.
24216 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24217 <libm-alias-ldouble.h>.
24218 (copysignl): Define using libm_alias_ldouble.
24219 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24220 <libm-alias-ldouble.h>.
24221 (cosl): Define using libm_alias_ldouble.
24222 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24223 <libm-alias-ldouble.h>.
24224 (erfl): Define using libm_alias_ldouble.
24226 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24227 <libm-alias-ldouble.h>.
24228 (expm1l): Define using libm_alias_ldouble.
24229 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24230 <libm-alias-ldouble.h>.
24231 (fabsl): Define using libm_alias_ldouble.
24232 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24233 <libm-alias-ldouble.h>.
24234 (floorl): Define using libm_alias_ldouble.
24235 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24236 <libm-alias-ldouble.h>.
24237 (fmal): Define using libm_alias_ldouble.
24238 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24239 <libm-alias-ldouble.h>.
24240 (frexpl): Define using libm_alias_ldouble.
24241 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24242 libm_alias_ldouble.
24243 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24244 <libm-alias-ldouble.h>.
24245 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24246 libm_alias_ldouble.
24247 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24248 <libm-alias-ldouble.h>.
24249 (getpayloadl): Define using libm_alias_ldouble.
24250 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24251 <libm-alias-ldouble.h>.
24252 (llrintl): Define using libm_alias_ldouble.
24253 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24254 <libm-alias-ldouble.h>.
24255 (llroundl): Define using libm_alias_ldouble.
24256 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24257 <libm-alias-ldouble.h>.
24258 (logbl): Define using libm_alias_ldouble.
24259 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24260 <libm-alias-ldouble.h>.
24261 (lrintl): Define using libm_alias_ldouble.
24262 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24263 <libm-alias-ldouble.h>.
24264 (lroundl): Define using libm_alias_ldouble.
24265 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24266 <libm-alias-ldouble.h>.
24267 (modfl): Define using libm_alias_ldouble.
24268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24269 <libm-alias-ldouble.h>.
24270 (nearbyintl): Define using libm_alias_ldouble.
24271 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24272 <libm-alias-ldouble.h>.
24273 (nextafterl): Define using libm_alias_ldouble.
24274 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24275 <libm-alias-ldouble.h>.
24276 (nextupl): Define using libm_alias_ldouble.
24277 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24278 <libm-alias-ldouble.h>.
24279 (remquol): Define using libm_alias_ldouble.
24280 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24281 <libm-alias-ldouble.h>.
24282 (rintl): Define using libm_alias_ldouble.
24283 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24284 <libm-alias-ldouble.h>.
24285 (roundevenl): Define using libm_alias_ldouble.
24286 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24287 <libm-alias-ldouble.h>.
24288 (roundl): Define using libm_alias_ldouble.
24289 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24290 using libm_alias_ldouble.
24291 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24292 <libm-alias-ldouble.h>.
24293 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24294 Define using libm_alias_ldouble.
24295 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24296 <libm-alias-ldouble.h>.
24297 (sincosl): Define using libm_alias_ldouble.
24298 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24299 <libm-alias-ldouble.h>.
24300 (sinl): Define using libm_alias_ldouble.
24301 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24302 <libm-alias-ldouble.h>.
24303 (tanhl): Define using libm_alias_ldouble.
24304 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24305 <libm-alias-ldouble.h>.
24306 (tanl): Define using libm_alias_ldouble.
24307 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24308 <libm-alias-ldouble.h>.
24309 (totalorderl): Define using libm_alias_ldouble.
24310 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24311 <libm-alias-ldouble.h>.
24312 (totalordermagl): Define using libm_alias_ldouble.
24313 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24314 <libm-alias-ldouble.h>.
24315 (truncl): Define using libm_alias_ldouble.
24316 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24317 libm_alias_ldouble.
24318 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24319 libm_alias_ldouble.
24320 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24321 <libm-alias-ldouble.h>.
24322 (weak_alias): Do not undefine and redefine.
24323 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24324 (copysignl): Define with long_double_symbol only if [IS_IN
24326 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24327 <libm-alias-ldouble.h>.
24328 (weak_alias): Do not undefine and redefine.
24329 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24330 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24331 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24332 <libm-alias-ldouble.h>.
24333 (weak_alias): Do not undefine and redefine.
24334 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24335 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24336 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24337 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24338 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24339 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24340 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24341 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24342 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24343 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24344 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24346 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24349 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24350 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24351 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24352 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24353 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24356 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24357 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24358 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24359 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24361 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24364 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24365 (tcache_thread_freeres): Set tcache_shutting_down before
24366 freeing the tcache.
24367 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24368 * malloc/tst-malloc-tcache-leak.c: New file.
24370 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24372 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24373 back to powerpc32 file.
24374 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24375 (memrchr): Add __memrchr_power8 to ifunc list.
24376 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24377 extra bytes for unaligned inputs.
24379 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24381 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24382 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24383 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24384 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24385 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24387 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24389 * sysdeps/arm/libm-test-ulps: Update.
24391 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24392 <libm-alias-ldouble.h>.
24393 (asinhl): Define using libm_alias_ldouble.
24394 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24395 <libm-alias-ldouble.h>.
24396 (cbrtl): Define using libm_alias_ldouble.
24397 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24398 <libm-alias-ldouble.h>.
24399 (copysignl): Define using libm_alias_ldouble.
24400 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24401 <libm-alias-ldouble.h>.
24402 (cosl): Define using libm_alias_ldouble.
24403 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24404 <libm-alias-ldouble.h>.
24405 (erfl): Define using libm_alias_ldouble.
24407 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24408 <libm-alias-ldouble.h>.
24409 (fmal): Define using libm_alias_ldouble.
24410 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24411 <libm-alias-ldouble.h>.
24412 (frexpl): Define using libm_alias_ldouble.
24413 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24414 libm_alias_ldouble.
24415 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24416 <libm-alias-ldouble.h>.
24417 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24418 libm_alias_ldouble.
24419 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24420 <libm-alias-ldouble.h>.
24421 (getpayloadl): Define using libm_alias_ldouble.
24422 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24423 <libm-alias-ldouble.h>.
24424 (llrintl): Define using libm_alias_ldouble.
24425 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24426 <libm-alias-ldouble.h>.
24427 (llroundl): Define using libm_alias_ldouble.
24428 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24429 <libm-alias-ldouble.h>.
24430 (lrintl): Define using libm_alias_ldouble.
24431 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24432 <libm-alias-ldouble.h>.
24433 (lroundl): Define using libm_alias_ldouble.
24434 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24435 <libm-alias-ldouble.h>.
24436 (modfl): Define using libm_alias_ldouble.
24437 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24438 <libm-alias-ldouble.h>.
24439 (nextupl): Define using libm_alias_ldouble.
24440 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24441 <libm-alias-ldouble.h>.
24442 (remquol): Define using libm_alias_ldouble.
24443 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24444 <libm-alias-ldouble.h>.
24445 (roundevenl): Define using libm_alias_ldouble.
24446 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24447 <libm-alias-ldouble.h>.
24448 (roundl): Define using libm_alias_ldouble.
24449 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24450 using libm_alias_ldouble.
24451 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24452 <libm-alias-ldouble.h>.
24453 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24454 <libm-alias-ldouble.h>.
24455 (setpayloadsigl): Define using libm_alias_ldouble.
24456 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24457 <libm-alias-ldouble.h>.
24458 (sincosl): Define using libm_alias_ldouble.
24459 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24460 <libm-alias-ldouble.h>.
24461 (sinl): Define using libm_alias_ldouble.
24462 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24463 <libm-alias-ldouble.h>.
24464 (tanhl): Define using libm_alias_ldouble.
24465 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24466 <libm-alias-ldouble.h>.
24467 (tanl): Define using libm_alias_ldouble.
24468 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24469 <libm-alias-ldouble.h>.
24470 (totalorderl): Define using libm_alias_ldouble.
24471 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24472 <libm-alias-ldouble.h>.
24473 (totalordermagl): Define using libm_alias_ldouble.
24474 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24475 libm_alias_ldouble.
24476 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24477 libm_alias_ldouble.
24479 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24481 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24483 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24484 (__libc_ifunc_impl_list): Likewise.
24485 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24486 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24488 * benchtests/bench-memmove-walk.c: New file.
24489 * benchtests/Makefile (string-benchset): Add it.
24491 * benchtests/bench-memset-walk.c: New file.
24492 * benchtests/Makefile (string-benchset): Add it.
24494 * benchtests/bench-memcpy-walk.c: New file.
24495 * benchtests/Makefile (string-benchset): Add it.
24497 2017-10-05 Florian Weimer <fweimer@redhat.com>
24499 nscd: Eliminate compilation time dependency in the build output.
24500 * nscd/nscd_stat.c (STATDATA_VERSION)
24501 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24502 (STATDATA_VERSION_FULL): New macro definitions.
24503 (compilation): Remove.
24504 (struct statdata): Adjust version member.
24505 (send_stats): Set version from STATDATA_VERSION_FULL.
24506 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24508 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24510 * configure.ac (--enable-add-ons): Remove option.
24511 (machine): Do not mention add-ons in comment.
24512 (LIBC_PRECONFIGURE): Likewise.
24513 (add_ons): Remove variable and sanity checks and logic to locate
24515 (add_ons_automatic): Remove variable.
24516 (configured_add_ons): Likewise.
24517 (add_ons_sfx): Likewise.
24518 (add_ons_pfx): Likewise.
24519 (add_on_subdirs): Likewise.
24520 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24521 consideration of add-ons in Implies handling.
24522 (sysdeps_add_ons): Likewise.
24523 * configure: Regenerated.
24524 * libidn/configure.ac: Remove.
24525 * libidn/configure: Likewise.
24526 * sysdeps/unix/inet/configure.ac: New file.
24527 * sysdeps/unix/inet/configure: New generated file.
24528 * sysdeps/unix/inet/Subdirs: Add libidn.
24529 * Makeconfig (sysdeps-srcdirs): Remove variable.
24530 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24531 ($(common-objpfx)config.status): Do not depend on add-on files.
24532 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24534 (all-subdirs): Do not include $(add-on-subdirs).
24535 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24536 * config.make.in (add-ons): Remove variable.
24537 (add-on-subdirs): Likewise.
24538 (sysdeps-add-ons): Likewise.
24539 * manual/Makefile (add-chapters): Remove.
24540 ($(objpfx)texis): Do not depend on $(add-chapters).
24541 (nonexamples): Do not handle $(add-chapters).
24542 (examples): Do not handle $(add-ons).
24543 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24545 * manual/install.texi (Installation): Do not mention add-ons.
24546 (--enable-add-ons): Do not document configure option.
24547 * INSTALL: Regenerated.
24548 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24549 * manual/maint.texi (Hierarchy Conventions): Do not mention
24551 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24553 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24555 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24556 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24558 2017-10-05 Andreas Schwab <schwab@suse.de>
24561 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24562 (_IO_flush_all_lockp): Always lock list_all_lock.
24563 (_IO_flush_all_linebuffered): Likewise.
24564 (_IO_unbuffer_all): Likewise.
24566 2017-10-05 Florian Weimer <fweimer@redhat.com>
24569 Do not flush stdio streams on abort.
24570 * stdlib/abort.c (fflush): Remove macro definition.
24571 (abort): Remove stages related to stdio flushing.
24573 2017-10-05 Florian Weimer <fweimer@redhat.com>
24575 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24577 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24579 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24581 2017-10-05 Florian Weimer <fweimer@redhat.com>
24583 * support/support_format_hostent.c (support_format_hostent): Add
24584 more error information for NETDB_INTERNAL.
24586 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24588 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24589 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24590 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24591 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24592 AC_DEFINE if multi-arch is enabled.
24593 * sysdeps/i386/configure: Regenerated.
24595 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24597 * Makeconfig (+link-static-before-libc): Use
24598 $(DEFAULT-LDFLAGS-$(@F)).
24599 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24600 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24601 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24603 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24605 * elf/Makefile (tests): Add tst-main1.
24606 (modules-names): Add tst-main1mod.
24607 ($(objpfx)tst-main1): New.
24608 (CRT-tst-main1): Likewise.
24609 (LDFLAGS-tst-main1): Likewise.
24610 (LDLIBS-tst-main1): Likewise.
24611 (tst-main1mod.so-no-z-defs): Likewise.
24612 * elf/tst-main1.c: New file.
24613 * elf/tst-main1mod.c: Likewise.
24615 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24617 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24619 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24621 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24622 (fma): Define using libm_alias_double.
24623 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24624 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24626 (fmal): Do not define as compat symbol here.
24627 * sysdeps/alpha/fpu/s_fma.c: New file.
24629 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24631 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24633 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24636 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24638 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24640 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24641 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24642 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24643 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24645 Include <math_ldbl_opt.h>
24646 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24648 (compat_symbol): Undefine and redefine.
24649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24651 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24652 (compat_symbol): Undefine and redefine.
24653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24654 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24655 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24656 GLIBC_2_1 for libm.
24657 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24658 GLIBC_2.0 copysignl symbol.
24659 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24660 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24662 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24664 2017-10-04 Florian Weimer <fweimer@redhat.com>
24666 * scripts/check-local-headers.sh: Ignore nspr4 header file
24667 directory in addition to nspr.
24669 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24672 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24673 * configure: Regenerate.
24674 * crypt/Makefile (nss-cpp-flags): New variable.
24675 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24676 (CPPFLAGS-md5-crypt.c): Use it.
24677 * scripts/check-local-headers.sh: Ignore nspr header file
24680 2017-10-04 Andreas Schwab <schwab@suse.de>
24682 * nis/Makefile (services): Remove compat.
24683 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24684 ($(objpfx)libnss_compat.so): Remove rule.
24685 * nis/Versions (libnss_compat): Remove.
24686 * nss/Makefile (services): Add compat.
24687 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24688 * nss/Versions (libnss_compat): Define.
24689 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24690 Don't include <rpc/types.h>. Replace bool_t by bool.
24691 * nss/nss_compat/compat-initgroups.c: Likewise.
24692 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24693 instead of <rpcsrv/ypclnt.h>.
24694 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24695 yp_get_default_domain.
24696 * nss/nss_compat/compat-pwd.c: Likewise.
24697 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24698 yp_get_default_domain.
24699 * nss/nss_compat/nisdomain.c: New file.
24700 * nss/nss_compat/nisdomain.h: Likewise.
24702 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24705 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24706 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24708 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24711 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24712 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24714 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24716 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24717 "movl main@GOTOFF(%ebx), %eax".
24719 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24721 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24722 allow undefined _DYNAMIC in PIE libc.a.
24723 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24726 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24728 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24731 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24733 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24736 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24738 * math/test-math-iscanonical.cc (error): Replace bool with int.
24740 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24742 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24743 (modf): Define using libm_alias_double, only if [!__modf].
24744 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24745 <libm-alias-double.h>.
24746 (modf): Define using libm_alias_double, only if [!__modf].
24747 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24748 compat symbol here.
24749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24750 (weak_alias): Do not undefine and redefine.
24751 (strong_alias): Likewise.
24752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24753 (weak_alias): Likewise.
24754 (strong_alias): Likewise.
24756 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24757 (logb): Define using libm_alias_double, only if [!__logb].
24758 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24759 <libm-alias-double.h>.
24760 (logb): Define using libm_alias_double, only if [!__logb].
24761 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24763 (weak_alias): Do not undefine and redefine.
24764 (strong_alias): Likewise.
24765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24766 (weak_alias): Likewise.
24767 (strong_alias): Likewise.
24769 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24771 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24772 Check SHARED instead PIC.
24774 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24776 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24777 [!__fmaf] (fmaf): Define using libm_alias_float.
24779 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24780 (frexp): Define using libm_alias_double.
24781 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24782 <libm-alias-double.h>.
24783 (frexp): Define using libm_alias_double.
24784 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24785 compat symbol here.
24787 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24790 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24791 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24792 (CFLAGS-test-math-iscanonical.cc): New variable.
24793 * math/test-math-iscanonical.cc: New file.
24794 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24795 Provide a C++ implementation based on function overloading,
24796 rather than using __MATH_TG, which uses C-only builtins.
24797 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24799 * sysdeps/powerpc/powerpc64le/Makefile
24800 (CFLAGS-test-math-iscanonical.cc): New variable.
24802 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24804 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24805 (ceil): Define using libm_alias_double.
24806 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24807 (floor): Define using libm_alias_double.
24808 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24809 <libm-alias-double.h>.
24810 (llround): Define using libm_alias_double.
24811 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24812 <libm-alias-double.h>.
24813 (lround): Define using libm_alias_double.
24814 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24815 <libm-alias-double.h>.
24816 (nearbyint): Define using libm_alias_double.
24817 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24818 <libm-alias-double.h>.
24819 (remquo): Define using libm_alias_double.
24820 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24821 (rint): Define using libm_alias_double.
24822 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24823 (round): Define using libm_alias_double.
24824 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24825 (trunc): Define using libm_alias_double.
24826 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24827 <libm-alias-double.h>.
24828 (ceil): Define using libm_alias_double.
24829 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24830 <libm-alias-double.h>.
24831 (floor): Define using libm_alias_double.
24832 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24833 <libm-alias-double.h>.
24834 (llround): Define using libm_alias_double.
24835 [_LP64] (lround): Likewise.
24836 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24837 <libm-alias-double.h>.
24838 [!_LP64] (lround): Define using libm_alias_double.
24839 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24840 <libm-alias-double.h>.
24841 (nearbyint): Define using libm_alias_double.
24842 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24843 <libm-alias-double.h>.
24844 (remquo): Define using libm_alias_double.
24845 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24846 <libm-alias-double.h>.
24847 (rint): Define using libm_alias_double.
24848 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24849 <libm-alias-double.h>.
24850 (round): Define using libm_alias_double.
24851 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24852 <libm-alias-double.h>.
24853 (trunc): Define using libm_alias_double.
24854 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24855 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24856 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24857 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24858 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24859 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24860 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24861 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24862 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24864 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24866 * math/w_remainder.c: New file.
24867 * math/w_remainderf.c: New file.
24868 * math/w_remainderl.c: New file.
24870 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24872 * elf/rtld.c (BOOTSTRAP_MAP): New.
24873 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24874 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24876 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24878 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24881 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24883 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24884 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24885 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24886 rtld_hidden_data_ver): Define to empty.
24887 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
24888 __assert_perror_fail): Likewise.
24889 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24890 (__rewinddir): Likewise.
24891 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24892 (__profile_frequency): Likewise.
24893 * include/setjmp.h (__sigsetjmp): Likewise.
24894 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
24895 __libc_sigaction): Likewise.
24896 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
24897 not set hidden attribute.
24898 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
24899 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
24900 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
24901 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
24902 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
24903 __fxstatat64): Likewise.
24904 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24905 (__uname): Likewise.
24906 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24907 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
24908 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
24909 (NO_RTLD_HIDDEN): Set.
24910 * sysdeps/mach/hurd/configure: Refresh.
24911 * config.h.in: Refresh.
24913 2017-10-02 Joseph Myers <joseph@codesourcery.com>
24915 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
24916 (atan): Define using libm_alias_double.
24917 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
24918 (tan): Define using libm_alias_double.
24919 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
24920 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
24922 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
24923 define as weak alias of __atan. Do not define any aliases if
24925 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
24926 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
24927 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
24928 as weak alias of __tan. Do not define any aliases if [__tan].
24929 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
24930 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
24931 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
24933 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
24934 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
24935 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
24936 and define as weak alias of __atan.
24937 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
24939 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
24940 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
24941 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
24942 define as weak alias of __tan.
24944 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24946 * math/w_lgamma.c: New file.
24947 * math/w_lgammaf.c: New file.
24948 * math/w_lgammal.c: New file.
24950 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24952 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
24953 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
24954 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
24955 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
24956 * sysdeps/ieee754/flt-32/w_logf.c: New file.
24957 * sysdeps/ieee754/flt-32/w_powf.c: New file.
24958 * sysdeps/i386/fpu/w_log2f.c: New file.
24959 * sysdeps/i386/fpu/w_logf.c: New file.
24960 * sysdeps/i386/fpu/w_powf.c: New file.
24961 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
24962 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
24963 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
24965 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24966 H.J. Lu <hongjiu.lu@intel.com>
24968 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
24969 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
24970 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
24971 * sysdeps/ieee754/flt-32/w_expf.c: New file.
24972 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
24974 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
24975 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
24976 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
24977 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
24978 * sysdeps/i386/fpu/w_exp2f.c: New file.
24979 * sysdeps/i386/fpu/w_expf.c: New file.
24980 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
24981 * sysdeps/x86_64/fpu/w_expf.c: New file.
24983 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24985 * math/Versions (logf): New libm symbol at GLIBC_2.27.
24988 * math/w_log2f.c: New file.
24989 * math/w_logf.c: New file.
24990 * math/w_powf.c: New file.
24991 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
24992 * math/w_logf_compat.c (__logf_compat): Likewise.
24993 * math/w_powf_compat.c (__powf_compat): Likewise.
24994 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
24995 * sysdeps/ia64/fpu/e_logf.S: Likewise.
24996 * sysdeps/ia64/fpu/e_powf.S: Likewise.
24997 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24998 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24999 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25000 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25001 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25002 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25003 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25004 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25005 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25006 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25007 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25008 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25017 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25018 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25019 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25020 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25021 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25026 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25027 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25028 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25030 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25032 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25033 (sysdep_routines): Add memrchr_power8.
25034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25035 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25036 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25038 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25039 (memrchr): Add __memrchr_power8 to ifunc list.
25040 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25042 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25045 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25046 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25048 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25049 (__posix_fallocate64_l64): Likewise.
25051 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25054 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25055 (__sched_setaffinity_new): Add libc_hidden_proto and
25058 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25061 * include/glob.h (__glob64): Add libc_hidden_proto.
25062 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25068 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25071 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25074 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25076 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25079 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25082 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25085 * csu/version.c (__libc_print_version): Add attribute_hidden.
25087 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25090 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25092 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25095 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25097 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25100 * nscd/nscd_helper.c (__nis_hash): New prototype.
25102 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25105 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25106 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25108 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25109 * termios/tcgetattr.c (__tcgetattr): Likewise.
25111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25114 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25115 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25116 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25117 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25118 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25120 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25123 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25125 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25128 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25129 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25131 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25134 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25136 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25139 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25140 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25142 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25145 * include/ifreq.h: New file.
25146 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25147 (__ifreq): Likewise.
25148 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25149 (__ifreq): Likewise.
25151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25154 * include/idna.h: New file.
25155 * inet/getnameinfo.c: Include <idna.h> instead of
25157 (__idna_to_unicode_lzlz): Removed.
25158 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25160 (__idna_to_ascii_lz): Removed.
25161 (__idna_to_unicode_lzlz): Likewise.
25163 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25166 * include/plural-exp.h: New file.
25167 * intl/plural-exp.c: Include <plural-exp.h> instead of
25170 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25173 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25174 "getsourcefilter.h".
25175 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25176 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25177 "getsourcefilter.h".
25178 (__get_sol): Removed.
25180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25183 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25185 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25187 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25190 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25193 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25196 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25198 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25201 * include/search.h (__tdestroy): Add libc_hidden_proto.
25202 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25204 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25207 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25209 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25212 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25215 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25218 * include/signal.h (__kill): Add libc_hidden_proto.
25219 (__sigblock): Likewise.
25220 (__sigprocmask): Likewise.
25221 (__sigaltstack): Likewise.
25222 * signal/kill.c (__kill): Add libc_hidden_def.
25223 * signal/sigblock.c (__sigblock): Likewise.
25224 * signal/sigprocmask.c (__sigprocmask): Likewise.
25225 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25226 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25227 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25228 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25229 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25231 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25233 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25234 (__sigprocmask): Likewise.
25235 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25237 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25238 (__sigprocmask): Likewise.
25239 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25242 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25245 * include/string.h (__strsep): Add libc_hidden_proto.
25246 * string/strsep.c (__strsep): Add libc_hidden_def.
25248 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25251 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25253 (__spawni): Likewise.
25255 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25258 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25259 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25262 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25265 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25267 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25270 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25271 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25272 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25273 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25274 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25276 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25277 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25279 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25282 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25283 (__dcigettext): Likewise.
25285 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25288 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25290 (__get_nprocs): Likewise.
25291 (__get_phys_pages): Likewise.
25292 (__get_avphys_pages): Likewise.
25293 (__get_child_max): Add attribute_hidden.
25294 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25295 (__get_nprocs): Likewise.
25296 (__get_phys_pages): Likewise.
25297 (__get_avphys_pages): Likewise.
25298 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25300 (__get_nprocs): Likewise.
25301 (__get_phys_pages): Likewise.
25302 (__get_avphys_pages): Likewise.
25303 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25305 (__get_nprocs_conf): Likewise.
25306 (__get_phys_pages): Likewise.
25307 (__get_avphys_pages): Likewise.
25309 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25312 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25314 (__netlink_close): Likewise.
25315 (__netlink_free_handle): Likewise.
25316 (__netlink_request): Likewise.
25318 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25321 * include/rpc/rpc.h (__rpc_thread_variables): Add
25323 (__rpc_thread_svc_cleanup): Likewise.
25324 (__rpc_thread_clnt_cleanup): Likewise.
25325 (__rpc_thread_key_cleanup): Likewise.
25327 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25330 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25331 (__writev): Likewise.
25332 * misc/readv.c (__readv): Add libc_hidden_def.
25333 * misc/writev.c (__writev): Likewise.
25334 * sysdeps/posix/readv.c (__readv): Likewise.
25335 * sysdeps/posix/writev.c (__writev): Likewise.
25336 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25337 (__readv): Likewise.
25338 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25339 (__writev): Likewise.
25341 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25344 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25345 (__regcomp): Add libc_hidden_proto.
25346 (__regexec): Likewise.
25347 (__regfree): Likewise.
25348 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25349 (__regfree): Likewise.
25350 * posix/regexec.c (__regexec): Likewise.
25352 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25355 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25356 (__getutent): Likewise.
25357 (__getutid): Likewise.
25358 (__getutline): Likewise.
25359 (__pututline): Likewise.
25360 (__getutent_r): Likewise.
25361 (__getutid_r): Likewise.
25362 (__getutline_r): Likewise.
25363 (__utmpname): Add attribute_hidden.
25364 (__setutent): Likewise.
25365 (__endutent): Likewise.
25366 * login/getutent.c (__getutent): Add libc_hidden_def.
25367 * login/getutent_r.c (__getutent_r): Likewise.
25368 (__pututline): Likewise.
25369 * login/getutid.c (__getutid): Likewise.
25370 * login/getutid_r.c (__getutid_r): Likewise.
25371 * login/getutline.c (__getutline): Likewise.
25372 * login/getutline_r.c (__getutline_r): Likewise.
25373 * login/updwtmp.c (__updwtmp): Likewise.
25375 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25378 * include/dirent.h (__opendir): Always add attribute_hidden.
25379 (__fdopendir): Likewise.
25380 (__closedir): Likewise.
25381 (__readdir): Likewise.
25382 (__readdir64): Add libc_hidden_proto.
25383 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25384 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25385 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25386 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25389 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25392 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25393 * include/netdb.h (__gethostbyaddr_r): Likewise.
25394 (__gethostbyname_r): Likewise.
25395 (__gethostbyname2_r): Likewise.
25396 (__getnetbyaddr_r): Likewise.
25397 (__getnetbyname_r): Likewise.
25398 (__getservbyname_r): Likewise.
25399 (__getservbyport_r): Likewise.
25400 (__getprotobyname_r): Likewise.
25401 (__getprotobynumber_r): Likewise.
25402 (__getnetgrent_r): Likewise.
25403 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25404 (__getrpcbynumber_r): Likewise.
25405 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25407 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25410 * include/stdio.h (__fcloseall): Add attribute_hidden.
25411 (__getline): Likewise.
25412 (__path_search): Likewise.
25413 (__gen_tempname): Likewise.
25414 (__libc_message): Likewise.
25415 (__flockfile): Likewise.
25416 (__funlockfile): Likewise.
25417 (__fxprintf): Likewise.
25418 (__fxprintf_nocancel): Likewise.
25420 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25423 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25424 (__sgetsgent_r): Likewise.
25426 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25429 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25430 (__statfs64): Likewise.
25431 (__fstatfs64): Likewise.
25432 * include/sys/statvfs.h (__statvfs64): Likewise.
25433 (__fstatvfs64): Likewise.
25434 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25435 (__statfs_filesize_max): Likewise.
25436 (__statfs_symlinks): Likewise.
25437 (__statfs_chown_restricted): Likewise.
25439 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25442 * include/time.h (__tzstring): Add attribute_hidden.
25443 (__tzfile_read): Likewise.
25444 (__tzfile_compute): Likewise.
25445 (__tzfile_default): Likewise.
25446 (__tzset_parse_tz): Likewise.
25447 (__offtime): Likewise.
25448 (__asctime_r): Likewise.
25449 (__tzset): Likewise.
25450 (__tz_convert): Likewise.
25451 (__getdate_r): Likewise.
25452 (__getclktck): Likewise.
25454 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25457 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25458 (__nscd_unmap): Likewise.
25459 (__nscd_cache_search): Likewise.
25460 (__nscd_get_nl_timestamp): Likewise.
25461 (__nscd_getpwnam_r): Likewise.
25462 (__nscd_getpwuid_r): Likewise.
25463 (__nscd_getgrnam_r): Likewise.
25464 (__nscd_getgrgid_r): Likewise.
25465 (__nscd_gethostbyname_r): Likewise.
25466 (__nscd_gethostbyname2_r): Likewise.
25467 (__nscd_gethostbyaddr_r): Likewise.
25468 (__nscd_getai): Likewise.
25469 (__nscd_getgrouplist): Likewise.
25470 (__nscd_getservbyname_r): Likewise.
25471 (__nscd_getservbyport_r): Likewise.
25472 (__nscd_innetgr): Likewise.
25473 (__nscd_setnetgrent): Likewise.
25475 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25478 * include/gmp.h: Declare internal functions only if _ISOMAC is
25480 (__mpn_extract_double): Add attribute_hidden.
25481 (__mpn_extract_long_double): Likewise.
25482 (__mpn_extract_float128): Likewise.
25483 (__mpn_construct_float): Likewise.
25484 (__mpn_construct_double): Likewise.
25485 (__mpn_construct_long_double): Likewise.
25486 (__mpn_construct_float128): Likewise.
25487 (mpn_add_1): Likewise.
25488 (mpn_addmul_1): Likewise.
25489 (mpn_add_n): Likewise.
25490 (mpn_cmp): Likewise.
25491 (mpn_divrem): Likewise.
25492 (mpn_lshift): Likewise.
25493 (mpn_mul): Likewise.
25494 (mpn_mul_1): Likewise.
25495 (mpn_rshift): Likewise.
25496 (mpn_sub_1): Likewise.
25497 (mpn_submul_1): Likewise.
25498 (mpn_sub_n): Likewise.
25500 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25503 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25504 (__wcscat): Likewise.
25505 (__btowc): Likewise.
25506 (__wcrtomb): Likewise.
25507 (__mbsrtowcs): Likewise.
25508 (__wcsrtombs): Likewise.
25509 (__mbsnrtowcs): Likewise.
25510 (__wcsnrtombs): Likewise.
25511 (__wcsncpy): Likewise.
25512 (__wcpncpy): Likewise.
25513 (__wmemcpy): Likewise.
25514 (__wmempcpy): Likewise.
25515 (__wmemmove): Likewise.
25516 (__wcschrnul): Likewise.
25517 (__vfwscanf): Likewise.
25518 (__vswprintf): Likewise.
25519 (__fwprintf): Likewise.
25520 (__vfwprintf): Likewise.
25522 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25525 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25526 (__getgrgid_r): Likewise.
25527 (__getgrnam_r): Likewise.
25528 * include/pwd.h (__getpwuid_r): Likewise.
25529 (__getpwnam_r): Likewise.
25530 (__fgetpwent_r): Likewise.
25531 * include/shadow.h (__getspnam_r): Likewise.
25532 (__sgetspent_r): Likewise.
25533 (__fgetspent_r): Likewise.
25535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25538 * include/unistd.h (__access): Add attribute_hidden.
25539 (__lseek64): Likewise.
25540 (__libc_pread64): Likewise.
25541 (__pipe2): Likewise.
25542 (__sleep): Likewise.
25543 (__chdir): Likewise.
25544 (__fchdir): Likewise.
25545 (__getcwd): Likewise.
25546 (__rmdir): Likewise.
25547 (__execvpe): Likewise.
25548 (__execve): Likewise.
25549 (__setsid): Likewise.
25550 (__getuid): Likewise.
25551 (__geteuid): Likewise.
25552 (__getgid): Likewise.
25553 (__getegid): Likewise.
25554 (__getgroups): Likewise.
25555 (__group_member): Likewise.
25556 (__ttyname_r): Likewise.
25557 (__isatty): Likewise.
25558 (__readlink): Likewise.
25559 (__unlink): Likewise.
25560 (__gethostname): Likewise.
25561 (__profil): Likewise.
25562 (__getdtablesize): Likewise.
25564 (__ftruncate): Likewise.
25565 (__ftruncate64): Likewise.
25567 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25570 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25571 * argp/argp-fs-xinl.c: Likewise.
25572 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25573 * argp/argp-parse.c: Include <argp.h>.
25574 * argp/argp-xinl.c: Likewise.
25575 * include/argp-fmtstream.h: New file.
25576 * include/argp.h (__argp_error): Add attribute_hidden.
25577 (__argp_failure): Likewise.
25578 (__argp_input): Likewise.
25579 (__argp_state_help): Likewise.
25581 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25584 * include/wchar.h (____wcstof_l_internal): New prototype.
25585 (____wcstod_l_internal): Likewise.
25586 (____wcstold_l_internal): Likewise.
25587 (____wcstol_l_internal): Likewise.
25588 (____wcstoul_l_internal): Likewise.
25589 (____wcstoll_l_internal): Likewise.
25590 (____wcstoull_l_internal): Likewise.
25591 (____wcstof128_l_internal): Likewise.
25592 * sysdeps/ieee754/float128/wcstof128.c
25593 (____wcstof128_l_internal): Removed.
25594 * sysdeps/ieee754/float128/wcstof128_l.c
25595 (____wcstof128_l_internal): Likewise.
25596 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25597 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25598 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25599 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25600 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25601 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25602 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25603 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25604 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25605 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25607 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25610 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25611 instead of <sys/statvfs.h>.
25612 (__internal_statvfs): Removed.
25613 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25614 instead of <sys/statvfs.h>.
25615 (__internal_statvfs64): Removed.
25616 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25617 "internal_statvfs.h" instead of <sys/statvfs.h>.
25618 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25619 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25620 instead of <sys/statvfs.h>.
25621 (__internal_statvfs): Removed.
25622 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25623 instead of <sys/statvfs.h>.
25624 (__internal_statvfs64): Removed.
25626 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25629 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25630 (__gconv_close): Likewise.
25631 (__gconv): Likewise.
25632 (__gconv_find_transform): Likewise.
25633 (__gconv_lookup_cache): Likewise.
25634 (__gconv_compare_alias_cache): Likewise.
25635 (__gconv_load_cache): Likewise.
25636 (__gconv_get_path): Likewise.
25637 (__gconv_close_transform): Likewise.
25638 (__gconv_release_cache): Likewise.
25639 (__gconv_find_shlib): Likewise.
25640 (__gconv_release_shlib): Likewise.
25641 (__gconv_get_builtin_trans): Likewise.
25642 (__gconv_compare_alias): Likewise.
25643 * include/dlfcn.h (_dlerror_run): Likewise.
25644 * include/stdio.h (__fortify_fail_abort): Likewise.
25645 * include/time.h (__tz_compute): Likewise.
25646 (__strptime_internal): Likewise.
25647 * intl/gettextP.h (_nl_find_domain): Likewise.
25648 (_nl_load_domain): Likewise.
25649 (_nl_find_msg): Likewise.
25650 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25651 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25652 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25653 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25654 (__gai_find_request): Likewise.
25655 (__gai_remove_request): Likewise.
25656 (__gai_notify): Likewise.
25657 (__gai_notify_only): Likewise.
25658 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25659 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25660 (_dl_non_dynamic_init): Likewise.
25661 (_dl_aux_init): Likewise.
25662 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25663 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25665 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25666 (__wcsmbs_clone_conv): Likewise.
25667 (__wcsmbs_named_conv): Likewise.
25669 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25672 * include/stdlib.h (__random): Add attribute_hidden.
25673 (__random_r): Likewise.
25674 (__srandom_r): Likewise.
25675 (__initstate_r): Likewise.
25676 (__setstate_r): Likewise.
25677 (__erand48_r): Likewise.
25678 (__nrand48_r): Likewise.
25679 (__jrand48_r): Likewise.
25680 (__srand48_r): Likewise.
25681 (__seed48_r): Likewise.
25682 (__lcong48_r): Likewise.
25683 (__drand48_iterate): Likewise.
25684 (__setenv): Likewise.
25685 (__unsetenv): Likewise.
25686 (__clearenv): Likewise.
25687 (__ptsname_r): Likewise.
25688 (__posix_openpt): Likewise.
25689 (__add_to_environ): Likewise.
25690 (__realpath): Add libc_hidden_proto.
25691 (__ecvt_r): Likewise.
25692 (__fcvt_r): Likewise.
25693 (__qecvt_r): Likewise.
25694 (__qfcvt_r): Likewise.
25695 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25696 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25698 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25701 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25702 * include/time.h (__mktime_internal): Likewise.
25703 * libio/iolibio.h (__fopen_internal): Likewise.
25705 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25707 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25709 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25710 Correct offset used to restore PIC register.
25712 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25715 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25716 code to load address of __getcontext_ret when generating PIC code.
25718 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25720 * elf/Makefile (tests-static-internal): Add
25721 tst-tls1-static-non-pie.
25722 (LDFLAGS-tst-tls1-static-non-pie): New.
25723 * elf/tst-tls1-static-non-pie.c: New file.
25725 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25727 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25728 (asinh): Define using libm_alias_double.
25729 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25730 (cbrt): Define using libm_alias_double.
25731 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25732 <libm-alias-double.h>.
25733 (copysign): Define using libm_alias_double.
25734 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25735 (erf): Define using libm_alias_double.
25737 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25738 (expm1): Define using libm_alias_double.
25739 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25740 (fabs): Define using libm_alias_double.
25741 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25743 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25744 <libm-alias-double.h>.
25745 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25747 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25748 <libm-alias-double.h>.
25749 (getpayload): Define using libm_alias_double.
25750 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25751 <libm-alias-double.h>.
25752 (llrint): Define using libm_alias_double.
25753 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25754 (lrint): Define using libm_alias_double.
25755 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25756 <libm-alias-double.h>.
25757 (nextup): Define using libm_alias_double.
25758 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25759 <libm-alias-double.h>.
25760 (roundeven): Define using libm_alias_double.
25761 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25763 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25764 <libm-alias-double.h>.
25765 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25766 using libm_alias_double.
25767 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25768 (cos): Define using libm_alias_double.
25770 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25771 <libm-alias-double.h>.
25772 (sincos): Define using libm_alias_double.
25773 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25774 (tanh): Define using libm_alias_double.
25775 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25776 <libm-alias-double.h>.
25777 (totalorder): Define using libm_alias_double.
25778 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25779 <libm-alias-double.h>.
25780 (totalordermag): Define using libm_alias_double.
25781 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25783 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25785 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25786 <libm-alias-double.h>.
25787 (getpayload): Define using libm_alias_double.
25788 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25789 <libm-alias-double.h>.
25790 (roundeven): Define using libm_alias_double.
25791 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25792 <libm-alias-double.h>.
25793 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25794 <libm-alias-double.h>.
25795 (totalorder): Define using libm_alias_double.
25796 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25797 <libm-alias-double.h>.
25798 (totalordermag): Define using libm_alias_double.
25799 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25800 libc compat symbol here.
25801 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25802 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25803 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25804 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25805 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25806 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25807 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25808 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25809 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25810 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25812 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25814 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25815 _dl_relocate_static_pie instead of _dl_start to compute load
25816 address in static PIE. Return 0 if _DYNAMIC is undefined for
25819 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25821 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25822 _DYNAMIC is undefined for static executable.
25824 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25826 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25828 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25832 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25834 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25835 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25836 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25837 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25838 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25839 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25840 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25841 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25842 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25843 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25844 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25845 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25846 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25847 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25848 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25849 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25850 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25852 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25854 * math/bits/cmathcalls.h (cimag): Remove inline.
25855 (creal): Remove inline.
25856 (conj): Remove inline.
25858 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25860 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25861 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25862 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25863 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25864 (issignalingf_inline): Likewise.
25865 (POWF_LOG2_TABLE_BITS): Likewise.
25866 (POWF_LOG2_POLY_ORDER): Likewise.
25867 (POWF_SCALE_BITS): Likewise.
25868 (POWF_SCALE): Likewise.
25869 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25870 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25871 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25873 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25875 * math/Makefile (type-float-routines): Add e_log2f_data.
25876 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25877 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25878 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25879 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25880 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25881 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25882 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25884 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25886 * math/Makefile (type-float-routines): Add e_logf_data.
25887 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
25888 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
25889 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
25890 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
25891 * sysdeps/i386/fpu/e_logf_data.c: New file.
25892 * sysdeps/ia64/fpu/e_logf_data.c: New file.
25893 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
25895 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
25897 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
25898 undefined _DYNAMIC in PIE libc.a.
25899 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25902 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25904 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
25905 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
25906 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
25907 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
25908 (__signbit): Remove.
25909 (__signbitl): Remove.
25910 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
25911 (__signbit): Remove.
25912 (__signbitl): Remove.
25913 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
25914 (__signbit): Remove.
25915 (__signbitl): Remove.
25916 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
25917 (__signbit): Remove.
25918 (__signbitl): Remove.
25919 * sysdeps/tile/bits/mathinline.h: Delete file.
25920 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
25921 (__signbit): Remove.
25922 (__signbitl): Remove.
25924 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25926 * math/math.h: Improve handling of C99 isgreater macros.
25927 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
25928 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
25929 * sysdeps/powerpc/bits/mathinline.h: Likewise.
25930 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25931 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
25933 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
25935 * sysdeps/aarch64/libm-test-ulps: Update.
25937 2017-09-28 Joseph Myers <joseph@codesourcery.com>
25940 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25941 math_opt_barrier on argument when doing arithmetic on it.
25942 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25943 Likewise. Use math_force_eval not math_opt_barrier after
25945 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
25946 math_opt_barrier on argument when doing arithmetic on it.
25947 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25950 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
25952 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
25954 (__freeifaddrs): Likewise.
25956 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
25958 * include/dirent.h (__dirfd): New declaration.
25959 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
25961 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
25962 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
25963 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
25964 * include/unistd.h (__revoke): New declaration.
25965 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
25967 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25968 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
25970 * include/dirent.h (__seekdir): New declaration.
25971 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
25972 redefine as weak alias.
25973 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
25975 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
25976 and use libc_hidden_def on them.
25977 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
25979 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
25980 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
25981 instead of getifaddrs and freeifaddrs.
25983 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
25986 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
25987 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
25988 (__dso_handle): Remove declaration.
25989 * dlfcn/tstatexit.c (__dso_handle): Removed.
25990 (main): Don't check __dso_handle.
25991 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
25992 (main): Don't check __dso_handle.
25993 * include/dso_handle.h: New file.
25994 * malloc/mtrace.c: Include <dso_handle.h>.
25995 (mtrace): Pass __dso_handle directly.
25996 * nptl/pthread_atfork.c: Include <dso_handle.h>.
25997 (__dso_handle): Remove declaration.
25998 (__pthread_atfork): Pass __dso_handle directly.
25999 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26000 (__dso_handle): Removed.
26001 * posix/wordexp-test.c: Include <dso_handle.h>.
26002 (__dso_handle): Remove declaration.
26003 (__app_register_atfork): Pass __dso_handle directly.
26004 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26005 (__dso_handle): Remove declaration.
26006 (at_quick_exit): Pass __dso_handle directly.
26007 * stdlib/atexit.c: Include <dso_handle.h>.
26008 (__dso_handle): Remove declaration.
26009 (atexit): Pass __dso_handle directly.
26010 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26011 (__dso_handle): Removed.
26013 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26015 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26018 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26020 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26021 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26022 values to correct default value for given type.
26024 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26027 * elf/Makefile (tests): Add tst-debug1.
26028 ($(objpfx)tst-debug1): New.
26029 ($(objpfx)tst-debug1.out): Likewise.
26030 ($(objpfx)tst-debug1mod1.so): Likewise.
26031 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26032 with p_filesz == 0.
26033 * elf/tst-debug1.c: New file.
26035 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26037 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26038 Define using __ifunc.
26040 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26042 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26045 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26048 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26050 2017-09-26 Florian Weimer <fweimer@redhat.com>
26052 * resolv/Makefile (tests-internal): Fix typo in comment.
26054 2017-09-26 Florian Weimer <fweimer@redhat.com>
26056 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26058 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26060 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26061 Use an union instead of a max_align_t array for __space,
26062 so that __space is the same size on all platforms.
26063 * malloc/scratch_buffer_grow_preserve.c
26064 (__libc_scratch_buffer_grow_preserve): Likewise.
26067 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26069 * posix/Makefile (routines): Add glob-lstat-compat and
26070 glob64-lstat-compat.
26071 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26072 * posix/glob-lstat-compat.c: New file.
26073 * posix/glob64-lstat-compat.c: Likewise.
26074 * posix/tst-glob_lstat_compat.c: Likewise.
26075 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26076 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26077 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26078 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26080 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26081 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26082 * posix/glob.c (glob_lstat): New function.
26083 (glob): Rename to __glob and add versioned symbol to 2.27.
26084 (glob_in_dir): Use glob_lstat.
26085 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26086 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26087 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26089 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26090 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26091 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26092 gl_lstat on glob call.
26093 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26094 and glob64 symbols.
26095 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26096 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26097 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26098 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26099 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26100 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26101 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26102 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26103 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26104 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26105 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26106 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26109 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26111 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26112 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26113 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26114 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26115 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26118 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26119 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26120 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26122 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26124 * configure.ac (AS): Require binutils 2.25 or later.
26125 * configure: Regenerated.
26127 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26130 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26133 2017-09-25 DJ Delorie <dj@redhat.com>
26136 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26139 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26141 * sysdeps/ieee754/dbl-64/sincos32.h
26142 [SINCCOS32_H]: Remove define.
26143 [SINCOS32_H]: Define.
26145 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26147 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26149 * math/w_exp2f.c: New file.
26150 * math/w_expf.c: New file.
26151 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26152 * math/w_expf_compat.c (__expf_compat): Likewise.
26153 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26154 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26155 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26156 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26157 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26158 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26159 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26160 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26161 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26162 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26163 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26164 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26165 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26166 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26175 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26176 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26177 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26178 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26179 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26184 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26185 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26186 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26188 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26190 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26191 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26192 (roundtoint, converttoint): Likewise.
26193 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26194 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26195 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26196 * sysdeps/ieee754/flt-32/math_config.h: New file.
26197 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26198 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26199 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26200 * sysdeps/i386/fpu/math_errf.c: New file.
26201 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26202 * sysdeps/ia64/fpu/math_errf.c: New file.
26203 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26204 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26206 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26208 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26209 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26210 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26211 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26212 to make sure that these symbols are defined.
26213 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26215 (__need_NULL): Do not define.
26216 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26218 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26219 CMGROUP_MAX, cmsgcred): Do not define.
26220 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26222 * bits/socket.h: Likewise.
26223 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26224 __gettimeofday instead of gettimeofday.
26225 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26226 instead of settimeofday.
26228 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26230 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26231 (asinhf): Define using libm_alias_float.
26232 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26233 (atanf): Define using libm_alias_float.
26234 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26235 (cbrtf): Define using libm_alias_float.
26236 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26237 (ceilf): Define using libm_alias_float.
26238 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26239 <libm-alias-float.h>.
26240 (copysignf): Define using libm_alias_float.
26241 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26242 (cosf): Define using libm_alias_float.
26243 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26244 (erff): Define using libm_alias_float.
26246 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26247 (expm1f): Define using libm_alias_float.
26248 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26249 (fabsf): Define using libm_alias_float.
26250 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26251 (floorf): Define using libm_alias_float.
26252 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26253 (frexpf): Define using libm_alias_float.
26254 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26256 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26257 <libm-alias-float.h>.
26258 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26260 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26261 <libm-alias-float.h>.
26262 (getpayloadf): Define using libm_alias_float.
26263 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26264 <libm-alias-float.h>.
26265 (llrintf): Define using libm_alias_float.
26266 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26267 <libm-alias-float.h>.
26268 (llroundf): Define using libm_alias_float.
26269 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26270 (logbf): Define using libm_alias_float.
26271 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26272 (lrintf): Define using libm_alias_float.
26273 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26274 (lroundf): Define using libm_alias_float.
26275 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26276 (modff): Define using libm_alias_float.
26277 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26278 <libm-alias-float.h>.
26279 (nearbyintf): Define using libm_alias_float.
26280 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26281 <libm-alias-float.h>.
26282 (nextafterf): Define using libm_alias_float.
26283 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26284 <libm-alias-float.h>.
26285 (nextupf): Define using libm_alias_float.
26286 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26287 <libm-alias-float.h>.
26288 (remquof): Define using libm_alias_float.
26289 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26290 (rintf): Define using libm_alias_float.
26291 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26292 <libm-alias-float.h>.
26293 (roundevenf): Define using libm_alias_float.
26294 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26295 (roundf): Define using libm_alias_float.
26296 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26297 using libm_alias_float.
26298 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26299 <libm-alias-float.h>.
26300 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26301 Define using libm_alias_float.
26302 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26303 <libm-alias-float.h>.
26304 (sincosf): Define using libm_alias_float.
26305 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26306 (sinf): Define using libm_alias_float.
26307 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26308 (tanf): Define using libm_alias_float.
26309 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26310 (tanhf): Define using libm_alias_float.
26311 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26312 <libm-alias-float.h>.
26313 (totalorderf): Define using libm_alias_float.
26314 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26315 <libm-alias-float.h>.
26316 (totalordermagf): Define using libm_alias_float.
26317 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26318 (truncf): Define using libm_alias_float.
26319 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26321 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26324 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26327 math/math.h: Let fpclassify use the builtin in C++ mode, even
26328 when optimazing for size.
26330 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26332 * csu/Makefile (generated): Do not add version-info.h.
26333 (before-compile): Likewise.
26334 (all-Banner-files): Remove variable.
26335 ($(objpfx)version-info.h): Remove rule.
26336 * csu/version.c (banner): Do not include "version-info.h".
26337 * libidn/Banner: Remove.
26338 * manual/contrib.texi (Simon Josefsson): New entry.
26340 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26342 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26343 Remove conditionals on LDBL_MANT_DIG.
26344 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26345 (__ieee754_lgammal_r): Likewise.
26347 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26351 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26352 _Float128 and L(). Replace _Float128 with long double and L(x)
26353 with xL, throughout the file.
26354 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26355 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26356 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26357 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26359 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26361 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26362 sysdeps/ieee754/ldbl-128ibm.
26363 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26364 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26365 of including it. Keep _Float128 and L() intact. These will be
26366 reviewed by a separate patch.
26367 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26368 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26369 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26372 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26375 (__finitef128): Define to __redirect___finitef128.
26376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26377 (__isinff128): Define to __redirect___isinff128.
26378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26379 (__isnanf128): Define to __redirect___isnanf128.
26381 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26383 * sysdeps/powerpc/powerpc64le/Makefile
26384 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26385 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26387 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26388 Carlos O'Donell <carlos@redhat.com>
26391 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26392 * stdlib/test-dlclose-exit-race.c: New file.
26393 * stdlib/test-dlclose-exit-race-helper.c: New file.
26394 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26396 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26398 * crypt/Banner: Remove file.
26399 * nptl/Banner: Likewise.
26400 * resolv/Banner: Likewise.
26401 * soft-fp/Banner: Likewise.
26402 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26403 ($(objpfx)version.d): Remove dependency on banner.h.
26404 ($(objpfx)version.os): Likewise.
26405 * nptl/version.c (banner): Do not include banner.h.
26406 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26407 Jelinek and BIND code.
26409 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26410 Carlos O'Donell <carlos@redhat.com>
26412 * support/xdlfcn.h: New file.
26413 * support/xdlfcn.c: New file.
26414 * support/Makefile (libsupport-routines): Add xdlfcn.
26415 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26417 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26420 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26421 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26422 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26423 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26424 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26425 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26426 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26427 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26429 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26430 Ricky Zhou <rickyz@google.com>
26431 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26434 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26436 (__new_exitfn): Fail registration when we finished at_exit processing.
26437 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26438 * stdlib/on_exit.c (__on_exit): Likewise.
26439 * stdlib/exit.c (__exit_funcs_done): New variable.
26440 (__run_exit_handlers): Use __exit_funcs_lock.
26441 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26443 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26444 (test-cxa_atexit-race, test-on_exit-race): New tests.
26445 * stdlib/test-atexit-race-common.c: New file.
26446 * stdlib/test-atexit-race.c: New file.
26447 * stdlib/test-at_quick_exit-race.c: New file.
26448 * stdlib/test-cxa_atexit-race.c: New file.
26449 * stdlib/test-on_exit-race.c: New file.
26451 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26453 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26454 * benchtests/exp2f-inputs: Copy of expf-inputs.
26455 * benchtests/log2f-inputs: Copy of logf-inputs.
26457 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26459 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26460 Explicitly take address of first element of array arguments in
26461 call to INLINE_SYSCALL.
26463 2017-09-19 Andreas Schwab <schwab@suse.de>
26466 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26468 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26470 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26471 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26472 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26473 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26474 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26475 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26477 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26478 * posix/Makefile (tests): Add tst-fexecve.
26479 * posix/tst-fexecve.c: New file.
26481 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26483 * benchtests/Makefile: Add logf benchmark.
26484 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26486 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26488 * benchtests/Makefile: Add expf benchmark.
26489 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26491 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26493 * csu/Makefile: Add -funwind-tables to libc-start.c.
26494 * debug/Makefile: Add -funwind-tables to backtrace.c.
26495 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26496 * sysdeps/arm/Makefile: Likewise.
26497 * sysdeps/i386/Makefile: Likewise.
26498 * sysdeps/m68k/Makefile: Likewise.
26499 * sysdeps/mips/Makefile: Likewise.
26500 * sysdeps/nios2/Makefile: Likewise.
26501 * sysdeps/sh/Makefile: Likewise.
26502 * sysdeps/sparc/Makefile: Likewise.
26504 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26506 * benchtests/Makefile (bench-math): Add trunc and truncf.
26507 (CFLAGS-bench-trunc.c): New variable.
26508 (CFLAGS-bench-truncf.c): Likewise.
26509 * benchtests/trunc-inputs: New file.
26510 * benchtests/truncf-inputs: Likewise.
26512 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26514 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26516 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26518 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26519 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26521 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26522 (exp10l): Define as weak alias.
26523 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26524 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26526 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26527 (remainderl): Define as weak alias.
26529 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26530 (fmal): Define using libm_alias_ldouble.
26531 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26532 (acoshl): Define using libm_alias_ldouble.
26533 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26534 (acosl): Define using libm_alias_ldouble.
26535 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26536 (asinl): Define using libm_alias_ldouble.
26537 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26538 (atan2l): Define using libm_alias_ldouble.
26539 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26540 (atanhl): Define using libm_alias_ldouble.
26541 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26542 (coshl): Define using libm_alias_ldouble.
26543 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26544 (exp10l): Define using libm_alias_ldouble.
26545 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26546 (exp2l): Define using libm_alias_ldouble.
26547 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26548 (expl): Define using libm_alias_ldouble.
26549 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26550 (fmodl): Define using libm_alias_ldouble.
26551 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26552 (hypotl): Define using libm_alias_ldouble.
26553 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26554 (j0l): Define using libm_alias_ldouble.
26556 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26557 (j1l): Define using libm_alias_ldouble.
26559 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26560 (jnl): Define using libm_alias_ldouble.
26562 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26563 (log10l): Define using libm_alias_ldouble.
26564 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26565 (log2l): Define using libm_alias_ldouble.
26566 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26567 (logl): Define using libm_alias_ldouble.
26568 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26569 (powl): Define using libm_alias_ldouble.
26570 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26571 (remainderl): Define using libm_alias_ldouble.
26572 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26573 (sinhl): Define using libm_alias_ldouble.
26574 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26575 (sqrtl): Define using libm_alias_ldouble.
26576 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26577 (tgammal): Define using libm_alias_ldouble.
26578 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26579 (exp10l): Do not use long_double_symbol here.
26580 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26581 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26582 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26583 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26584 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26585 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26586 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26587 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26588 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26589 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26590 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26591 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26592 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26593 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26594 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26595 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26596 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26597 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26598 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26599 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26600 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26601 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26603 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26605 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26606 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26608 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26610 * io/read.c (read): Add libc_hidden_weak.
26611 * sysdeps/mach/hurd/read.c (read): Likewise.
26612 * io/write.c (write): Likewise.
26613 * sysdeps/mach/hurd/write.c (write): Likewise.
26614 * io/pread64.c (__pread64): Likewise.
26615 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26616 * posix/pread64.c (__pread64): Add libc_hidden_def.
26618 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26620 * benchtests/scripts/compare_strings.py: New option -g.
26621 (draw_graph): Print a message that a graph is being generated.
26622 (process_results): Generate graph only if -g is passed.
26623 (main): Process option -g.
26625 * benchtests/scripts/compare_strings.py (process_results):
26626 Better spacing for output.
26628 * benchtests/scripts/compare_strings.py: Use argparse.
26629 * benchtests/README: Document existence of compare_strings.py.
26631 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26633 * math/s_fma.c: Include <libm-alias-double.h>.
26634 (fma): Define using libm_alias_double.
26635 * math/s_nextafter.c: Include <libm-alias-double.h>.
26636 (nextafter): Define using libm_alias_double.
26637 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26638 (acos): Define using libm_alias_double.
26639 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26640 (aocsh): Define using libm_alias_double.
26641 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26642 (asin): Define using libm_alias_double.
26643 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26644 (atan2): Define using libm_alias_double.
26645 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26646 (atanh): Define using libm_alias_double.
26647 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26648 (cosh): Define using libm_alias_double.
26649 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26650 (exp10): Define using libm_alias_double.
26651 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26652 (exp2): Define using libm_alias_double.
26653 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26654 (exp): Define using libm_alias_double.
26655 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26656 (fmod): Define using libm_alias_double.
26657 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26658 (hypot): Define using libm_alias_double.
26659 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26660 (j0): Define using libm_alias_double.
26662 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26663 (j1): Define using libm_alias_double.
26665 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26666 (jn): Define using libm_alias_double.
26668 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26669 (log10): Define using libm_alias_double.
26670 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26671 (log2): Define using libm_alias_double.
26672 * math/w_log_compat.c: Include <libm-alias-double.h>.
26673 (log): Define using libm_alias_double.
26674 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26675 (pow): Define using libm_alias_double.
26676 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26677 (remainder): Define using libm_alias_double.
26678 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26679 (sinh): Define using libm_alias_double.
26680 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26681 (sqrt): Define using libm_alias_double.
26682 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26683 (tgamma): Define using libm_alias_double.
26684 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26685 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26686 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26687 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26688 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26689 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26690 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26691 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26692 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26693 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26694 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26695 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26696 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26697 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26698 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26699 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26700 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26701 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26702 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26703 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26704 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26705 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26706 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26707 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26708 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26710 * math/e_acoshl.c: Remove.
26711 * math/e_acosl.c: Likewise.
26712 * math/e_asinl.c: Likewise.
26713 * math/e_atan2l.c: Likewise.
26714 * math/e_atanhl.c: Likewise.
26715 * math/e_coshl.c: Likewise.
26716 * math/e_expl.c: Likewise.
26717 * math/e_fmodl.c: Likewise.
26718 * math/e_gammal_r.c: Likewise.
26719 * math/e_hypotl.c: Likewise.
26720 * math/e_j0l.c: Likewise.
26721 * math/e_j1l.c: Likewise.
26722 * math/e_jnl.c: Likewise.
26723 * math/e_lgammal_r.c: Likewise.
26724 * math/e_log10l.c: Likewise.
26725 * math/e_log2l.c: Likewise.
26726 * math/e_logl.c: Likewise.
26727 * math/e_powl.c: Likewise.
26728 * math/e_rem_pio2l.c: Likewise.
26729 * math/e_sinhl.c: Likewise.
26730 * math/e_sqrtf128.c: Likewise.
26731 * math/e_sqrtl.c: Likewise.
26732 * math/k_cosl.c: Likewise.
26733 * math/k_sinl.c: Likewise.
26734 * math/k_tanl.c: Likewise.
26735 * math/s_asinhl.c: Likewise.
26736 * math/s_atanl.c: Likewise.
26737 * math/s_cbrtl.c: Likewise.
26738 * math/s_erfl.c: Likewise.
26739 * math/s_expm1l.c: Likewise.
26740 * math/s_log1pl.c: Likewise.
26741 * math/s_tanhl.c: Likewise.
26743 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26746 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26747 [$(subdir) = math] (sysdep_calls): New variable. Has the
26748 previous contents of sysdep_routines, but re-sorted..
26749 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26751 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26752 defined in sysdep_calls and replace by the respective m_* names.
26753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26754 (compat_symbol): Undefine to avoid duplicated compat symbols in
26757 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26759 * math/s_fmaf.c: Include <libm-alias-float.h>.
26760 (fmaf): Define using libm_alias_float.
26761 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26762 (acosf): Define using libm_alias_float.
26763 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26764 (acoshf): Define using libm_alias_float.
26765 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26766 (asinf): Define using libm_alias_float.
26767 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26768 (atan2f): Define using libm_alias_float.
26769 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26770 (atanhf): Define using libm_alias_float.
26771 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26772 (coshf): Define using libm_alias_float.
26773 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26774 (exp10f): Define using libm_alias_float.
26775 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26776 (fmodf): Define using libm_alias_float.
26777 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26778 (hypotf): Define using libm_alias_float.
26779 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26780 (j0f): Define using libm_alias_float.
26782 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26783 (j1f): Define using libm_alias_float.
26785 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26786 (jnf): Define using libm_alias_float.
26788 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26789 (log10f): Define using libm_alias_float.
26790 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26791 (log2f): Define using libm_alias_float.
26792 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26793 (logf): Define using libm_alias_float.
26794 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26795 (powf): Define using libm_alias_float.
26796 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26797 (remainderf): Define using libm_alias_float.
26798 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26799 (sinhf): Define using libm_alias_float.
26800 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26801 (sqrtf): Define using libm_alias_float.
26802 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26803 (tgammaf): Define using libm_alias_float.
26805 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26807 * include/math.h (roundeven): Change hidden_proto call to
26809 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26811 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26812 (y0): Rename to __y0 and define as weak alias.
26813 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26814 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26816 (y0f): Rename to __y0f and define as weak alias.
26817 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26819 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26820 (y1): Rename to __y1 and define as weak alias.
26821 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26822 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26824 (y1f): Rename to __y1f and define as weak alias.
26825 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26827 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26828 (yn): Rename to __yn and define as weak alias.
26829 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26830 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26832 (ynf): Rename to __ynf and define as weak alias.
26833 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26834 (fromfp): Define as weak alias.
26835 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26836 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26837 (fromfpx): Define as weak alias.
26838 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26839 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26840 __getpayload and define as weak alias.
26841 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26842 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26843 __roundeven and define as weak alias.
26844 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26845 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26847 (setpayload): Define as weak alias.
26848 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26849 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26851 (setpayloadsig): Define as weak alias.
26852 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26853 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26854 __totalorder and define as weak alias.
26855 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26856 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26857 to __totalordermag and define as weak alias.
26858 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26859 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26860 (ufromfp): Define as weak alias.
26861 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26862 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26864 (ufromfpx): Define as weak alias.
26865 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26866 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26867 Rename to __getpayload and define as weak alias.
26868 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26869 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26870 Rename to __roundeven and define as weak alias.
26871 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26872 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26873 Rename to __totalorder and define as weak alias.
26874 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26875 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26876 (totalordermag): Rename to __totalordermag and define as weak
26878 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26879 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26881 (__roundevenl): Likewise.
26882 (__totalorderl): Likewise.
26883 (__totalordermagl): Likewise
26884 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26886 (fromfpf128): Define as weak alias.
26887 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
26889 (fromfpxf128): Define as weak alias.
26890 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
26892 (setpayloadf128): Define as weak alias.
26893 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
26894 __setpayloadsigf128.
26895 (setpayloadsigf128): Define as weak alias.
26896 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
26898 (ufromfpf128): Define as weak alias.
26899 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
26901 (ufromfpxf128): Define as weak alias.
26902 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
26903 (fromfpf): Define as weak alias.
26904 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
26906 (fromfpxf): Define as weak alias.
26907 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
26908 __getpayloadf and define as weak alias.
26909 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
26910 __roundevenf and define as weak alias.
26911 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
26913 (setpayloadf): Define as weak alias.
26914 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
26916 (setpayloadsigf): Define as weak alias.
26917 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
26918 __totalorderf and define as weak alias.
26919 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
26920 Rename to __totalordermagf and define as weak alias.
26921 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
26923 (ufromfpf): Define as weak alias.
26924 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
26926 (ufromfpxf): Define as weak alias.
26927 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
26929 (fromfpl): Define as weak alias.
26930 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
26932 (fromfpxl): Define as weak alias.
26933 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
26934 to __getpayloadl and define as weak alias.
26935 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
26936 __roundevenl and define as weak alias.
26937 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
26939 (setpayloadl): Define as weak alias.
26940 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
26942 (setpayloadsigl): Define as weak alias.
26943 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
26944 to __totalorderl and define as weak alias.
26945 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
26946 Rename to __totalordermagl and define as weak alias.
26947 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
26949 (ufromfpl): Define as weak alias.
26950 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
26952 (ufromfpxl): Define as weak alias.
26953 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
26955 (fromfpl): Define as weak alias.
26956 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
26958 (fromfpxl): Define as weak alias.
26959 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
26960 Rename to __getpayloadl and define as weak alias.
26961 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
26962 to __roundevenl and define as weak alias. Call __roundeven
26963 instead of roundeven.
26964 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
26966 (setpayloadl): Define as weak alias.
26967 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
26969 (setpayloadsigl): Define as weak alias.
26970 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
26971 Rename to __totalorderl and define as weak alias.
26972 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
26973 Rename to __totalordermagl and define as weak alias.
26974 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
26976 (ufromfpl): Define as weak alias.
26977 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
26979 (ufromfpxl): Define as weak alias.
26980 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
26982 (fromfpl): Define as weak alias.
26983 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
26985 (fromfpxl): Define as weak alias.
26986 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
26987 __getpayloadl and define as weak alias.
26988 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
26989 __roundevenl and define as weak alias.
26990 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
26992 (setpayloadl): Define as weak alias.
26993 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
26995 (setpayloadsigl): Define as weak alias.
26996 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
26997 __totalorderl and define as weak alias.
26998 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
26999 Rename to __totalordermagl and define as weak alias.
27000 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27002 (ufromfpl): Define as weak alias.
27003 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27005 (ufromfpxl): Define as weak alias.
27007 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27009 * benchtests/bench-string.h (realloc_bufs): New function.
27010 (test_init): Call it.
27011 * benchtests/bench-memset-large.c (do_test): Likewise.
27012 * benchtests/bench-memset.c (do_test): Likewise.
27014 * benchtests/bench-memset-large.c: Print output in JSON
27016 * benchtests/bench-memset.c: Likewise.
27018 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27021 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27022 * iconvdata/Makefile: Add IBM858.
27023 * iconvdata/gconv-modules: Likewise.
27024 * iconvdata/tst-tables.sh: Likewise.
27025 * iconvdata/ibm858.c: New file.
27026 * localedata/charmaps/IBM858: Likewise.
27028 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27031 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27032 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27034 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27037 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27038 and add tel_int_fmt.
27040 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27042 * sysdeps/generic/libm-alias-float128.h: New file.
27043 * sysdeps/generic/math-type-macros-float128.h: Include
27044 <libm-alias-float128.h>.
27045 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27047 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27049 * sysdeps/generic/libm-alias-ldouble.h: New file.
27050 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27051 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27052 * sysdeps/generic/math-type-macros-ldouble.h: Include
27053 <libm-alias-ldouble.h>.
27054 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27055 libm_alias_ldouble.
27057 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27059 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27060 * math/w_exp_compat.c: ... here.
27061 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27062 * math/w_expf_compat.c: ... here.
27063 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27064 * math/w_expl_compat.c: ... here.
27065 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27066 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27067 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27068 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27070 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27072 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27074 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27076 (ldexpl): Only define as compat symbol for libc, not libm.
27077 (scalbnl): Define as compat symbol for libc here.
27078 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27079 define for [IS_IN (libc)].
27080 (__ldexpl_2): Remove alias.
27081 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27082 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27083 name in long_double_symbol call.
27084 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27085 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27086 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27087 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27088 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27090 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27091 Define as compat symbol.
27093 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27095 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27096 * sysdeps/unix/sysv/linux/alpha/Makefile
27097 [$(subdir) = csu] (sysdep_routines): Remove rule.
27099 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27101 * sysdeps/generic/libm-alias-double.h: New file.
27102 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27103 * sysdeps/generic/math-type-macros-double.h: Include
27104 <libm-alias-double.h>.
27105 [declare_mgen_alias] (declare_mgen_alias): Define to use
27107 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27108 (M_LIBM_NEED_COMPAT): Remove macro.
27109 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27110 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27111 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27113 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27114 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27115 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27116 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27117 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27118 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27119 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27120 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27121 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27122 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27123 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27124 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27125 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27126 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27127 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27128 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27129 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27130 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27131 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27132 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27133 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27134 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27135 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27136 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27137 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27138 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27139 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27140 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27141 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27143 (declare_mgen_alias): New macro.
27144 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27145 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27147 (M_LIBM_NEED_COMPAT): Remove macro.
27148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27149 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27150 <first-versions.h>.
27151 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27152 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27154 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27156 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27157 (declare_mgen_alias_2): Remove.
27158 * sysdeps/generic/math-type-macros-double.h
27159 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27161 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27163 (ldexp): Define with declare_mgen_alias.
27164 (scalbn): Likewise.
27166 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27168 * grp/initgroups.c: Include config.h.
27169 (DEFAULT_CONFIG): New macro.
27170 (internal_getgrouplist): Use DEFAULT_CONFIG.
27171 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27172 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27173 (DEFAULT_DEFCONFIG): New macro.
27174 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27175 * nss/grp-lookup.c: Include config.h
27176 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27177 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27178 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27179 * manual/nss.texi: Update default values section.
27181 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27184 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27186 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27187 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27188 Handle MathVec_Prefer_No_AVX512.
27189 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27190 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27193 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27195 * posix/sched_primax.c (__sched_get_priority_max): Add
27197 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27198 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27199 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27200 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27201 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27202 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27203 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27204 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27207 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27209 * sysdeps/generic/libm-alias-float.h: New file.
27210 * sysdeps/generic/math-type-macros-float.h: Include
27211 <libm-alias-float.h>.
27212 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27214 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27217 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27218 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27219 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27220 (HWCAP_IMPORTANT): Likewise.
27221 (HWCAP_X86_64): New enum.
27222 (HWCAP_X86_AVX512_1): Updated.
27223 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27224 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27225 (modules-names): Add x86_64/tst-x86_64mod-1.
27226 (LDFLAGS-tst-x86_64mod-1.so): New.
27227 ($(objpfx)tst-x86_64-1): Likewise.
27228 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27229 (tst-x86_64-1-clean): Likewise.
27230 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27231 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27233 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27235 * po/sv.po: Update translations.
27236 * po/fr.po: Likewise.
27238 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27240 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27242 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27244 * elf/rtld-Rules: Fix $(error) use.
27246 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27249 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27250 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27251 * localedata/locales/bn_BD: “Bengali” was still used in some
27252 comments. Change it to “Bangla”.
27254 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27256 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27258 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27260 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27261 thunderx2t99p1 to list of cpu names.
27262 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27263 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27265 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27267 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27268 Use strcmp instead of tunable_is_name.
27270 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27272 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27273 (F_GET_RW_HINT): New macro.
27274 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27275 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27276 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27277 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27278 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27279 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27280 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27281 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27282 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27284 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27285 (F_ADD_SEALS): New macro.
27286 [__USE_GNU] (F_GET_SEALS): Likewise.
27287 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27288 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27289 [__USE_GNU] (F_SEAL_GROW): Likewise.
27290 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27292 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27294 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27295 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27296 * posix/glob_internal.h (__glob_pattern_type):
27297 * posix/glob.c (glob):
27298 * posix/glob_pattern_p.c (__glob_pattern_p):
27301 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27302 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27303 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27304 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27305 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27307 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27308 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27309 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27310 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27311 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27312 * sysdeps/wordsize-64/glob.c: Likewise.
27313 * sysdeps/wordsize-64/glob64.c: Likewise.
27314 * sysdeps/wordsize-64/globfree.c: Likewise.
27315 * sysdeps/wordsize-64/globfree64.c: Likewise.
27316 * sysdeps/unix/sysv/linux/glob.c: New file.
27317 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27318 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27319 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27320 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27321 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27322 adds !GLOB_NO_OLD_VERSION as an extra condition.
27323 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27324 using relative path instead of absolute one.
27325 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27326 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27327 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27328 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27329 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27330 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27333 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27334 (glob): Use the same scratch buffer for both getlogin_r and
27335 getpwnam_r. Don’t require preallocation of the login name. This
27336 simplifies storage allocation, and corrects the handling of
27340 * posix/glob.c (glob): Port recent patches to platforms
27341 lacking getpwnam_r.
27342 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27343 returns an error number rather than setting errno.
27345 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27346 instead of GCC extension.
27347 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27348 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27349 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27353 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27354 * posix/bug-glob1.c: Remove file.
27355 * posix/tst-glob_symlinks.c: New file.
27356 * posix/glob.c (__lstat64): New macro.
27357 (is_dir): New function.
27358 (glob, glob_in_dir): Match symlinks even if they are dangling.
27359 (link_stat, link_exists_p): Remove. All uses removed.
27363 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27364 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27369 * posix/Makefile (routines): Add globfree, globfree64, and
27371 * posix/flexmember.h: New file.
27372 * posix/glob_internal.h: Likewise.
27373 * posix/glob_pattern_p.c: Likewise.
27374 * posix/globfree.c: Likewise.
27375 * posix/globfree64.c: Likewise.
27376 * sysdeps/gnu/globfree64.c: Likewise.
27377 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27378 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27379 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27380 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27381 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27382 * sysdeps/wordsize-64/globfree.c: Likewise.
27383 * sysdeps/wordsize-64/globfree64.c: Likewise.
27384 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27385 [NDEBUG): Remove comments.
27386 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27387 (dirent_type): New type. Use uint_fast8_t not
27388 uint8_t, as C99 does not require uint8_t.
27389 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27390 (struct readdir_result): Use dirent_type. Do not define skip_entry
27391 unless it is needed; this saves a byte on platforms lacking d_ino.
27392 (readdir_result_type, readdir_result_skip_entry):
27393 New functions, replacing ...
27394 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27395 these functions, which were removed. This makes the callers
27396 easier to read. All callers changed.
27397 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27398 (size_add_wrapv, glob_use_alloca): New static functions.
27399 (glob, glob_in_dir): Check for size_t overflow in several places,
27400 and fix some size_t checks that were not quite right.
27401 Remove old code using SHELL since Bash no longer
27403 (glob, prefix_array): Separate MS code better.
27404 (glob_in_dir): Remove old Amiga and VMS code.
27405 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27407 (glob_in_dir): Do not rely on undefined behavior in accessing
27408 struct members beyond their bounds. Use a flexible array member
27410 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27411 0/1. Caller changed.
27412 (glob): Fix memory leaks.
27413 * posix/glob64 (globfree64): Move to separate file.
27414 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27415 (globfree64): Remove hidden alias.
27416 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27418 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27420 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27422 Move compat code to separate file.
27423 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27426 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27428 * resolv/tst-resolv-qtypes.c (domain): Changed to
27429 "const char domain[] =".
27431 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27433 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27436 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27437 (TCP_MD5SIG_EXT): Likewise.
27438 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27439 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27440 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27442 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27444 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27446 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27448 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27451 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27453 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27455 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27456 before assuming that the file is empty. Avoid testing buffer content
27459 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27462 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27464 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27466 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27468 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27470 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27472 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27474 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27477 2017-09-06 Florian Weimer <fweimer@redhat.com>
27479 * malloc/dynarray_emplace_enlarge.c
27480 (__libc_dynarray_emplace_enlarge): Add missing else.
27482 2017-09-06 Florian Weimer <fweimer@redhat.com>
27485 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27486 case of failure to obtain the global conf object.
27488 2017-09-06 Florian Weimer <fweimer@redhat.com>
27491 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27492 dynarray allocation failure.
27494 2017-09-06 Florian Weimer <fweimer@redhat.com>
27496 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27497 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27498 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27500 (response): Call them. Add 'p', '6' flag processing.
27501 (test_reverse): New function.
27502 (test_get2_any): Call it.
27503 (test_no_inet6): Add 'p' test.
27504 (test_inet6): Likewise.
27506 2017-09-06 Florian Weimer <fweimer@redhat.com>
27508 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27509 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27511 (test_gai): Adjust query names. Add additional tests.
27512 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27513 test_get2. Adjust query names. Add additional tests.
27514 (test_no_inet6): New function, extracted from threadfunc.
27515 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27516 Add additional tests.
27518 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27521 * localedata/unicode-gen/utf8_gen.py: Set the width for
27522 characters with Prepended_Concatenation_Mark property to 1
27523 * localedata/charmaps/UTF-8: Updated using the improved script.
27525 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27528 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27529 use the range notation for all ranges of neighbouring characters
27530 with the same width.
27532 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27534 * sysdeps/generic/math-type-macros-double.h: Include
27535 <math-svid-compat.h>.
27536 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27537 * sysdeps/generic/math-type-macros-float.h: Include
27538 <math-svid-compat.h>.
27539 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27540 * sysdeps/generic/math-type-macros-ldouble.h: Include
27541 <math-svid-compat.h>.
27542 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27543 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27545 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27546 * math/w_acosf_compat.c: Likewise.
27547 * math/w_acosh_compat.c: Likewise.
27548 * math/w_acoshf_compat.c: Likewise.
27549 * math/w_acoshl_compat.c: Likewise.
27550 * math/w_acosl_compat.c: Likewise.
27551 * math/w_asin_compat.c: Likewise.
27552 * math/w_asinf_compat.c: Likewise.
27553 * math/w_asinl_compat.c: Likewise.
27554 * math/w_atan2_compat.c: Likewise.
27555 * math/w_atan2f_compat.c: Likewise.
27556 * math/w_atan2l_compat.c: Likewise.
27557 * math/w_atanh_compat.c: Likewise.
27558 * math/w_atanhf_compat.c: Likewise.
27559 * math/w_atanhl_compat.c: Likewise.
27560 * math/w_cosh_compat.c: Likewise.
27561 * math/w_coshf_compat.c: Likewise.
27562 * math/w_coshl_compat.c: Likewise.
27563 * math/w_exp10_compat.c: Likewise.
27564 * math/w_exp10f_compat.c: Likewise.
27565 * math/w_exp10l_compat.c: Likewise.
27566 * math/w_exp2_compat.c: Likewise.
27567 * math/w_exp2f_compat.c: Likewise.
27568 * math/w_exp2l_compat.c: Likewise.
27569 * math/w_fmod_compat.c: Likewise.
27570 * math/w_fmodf_compat.c: Likewise.
27571 * math/w_fmodl_compat.c: Likewise.
27572 * math/w_hypot_compat.c: Likewise.
27573 * math/w_hypotf_compat.c: Likewise.
27574 * math/w_hypotl_compat.c: Likewise.
27575 * math/w_j0_compat.c: Likewise.
27576 * math/w_j0f_compat.c: Likewise.
27577 * math/w_j0l_compat.c: Likewise.
27578 * math/w_j1_compat.c: Likewise.
27579 * math/w_j1f_compat.c: Likewise.
27580 * math/w_j1l_compat.c: Likewise.
27581 * math/w_jn_compat.c: Likewise.
27582 * math/w_jnf_compat.c: Likewise.
27583 * math/w_jnl_compat.c: Likewise.
27584 * math/w_lgamma_r_compat.c: Likewise.
27585 * math/w_lgammaf_r_compat.c: Likewise.
27586 * math/w_lgammal_r_compat.c: Likewise.
27587 * math/w_log10_compat.c: Likewise.
27588 * math/w_log10f_compat.c: Likewise.
27589 * math/w_log10l_compat.c: Likewise.
27590 * math/w_log2_compat.c: Likewise.
27591 * math/w_log2f_compat.c: Likewise.
27592 * math/w_log2l_compat.c: Likewise.
27593 * math/w_log_compat.c: Likewise.
27594 * math/w_logf_compat.c: Likewise.
27595 * math/w_logl_compat.c: Likewise.
27596 * math/w_pow_compat.c: Likewise.
27597 * math/w_powf_compat.c: Likewise.
27598 * math/w_powl_compat.c: Likewise.
27599 * math/w_remainder_compat.c: Likewise.
27600 * math/w_remainderf_compat.c: Likewise.
27601 * math/w_remainderl_compat.c: Likewise.
27602 * math/w_sinh_compat.c: Likewise.
27603 * math/w_sinhf_compat.c: Likewise.
27604 * math/w_sinhl_compat.c: Likewise.
27605 * math/w_sqrt_compat.c: Likewise.
27606 * math/w_sqrtf_compat.c: Likewise.
27607 * math/w_sqrtl_compat.c: Likewise.
27608 * math/w_tgamma_compat.c: Likewise.
27609 * math/w_tgammaf_compat.c: Likewise.
27610 * math/w_tgammal_compat.c: Likewise.
27611 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27612 [LIBM_SVID_COMPAT].
27613 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27614 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27615 [LIBM_SVID_COMPAT].
27616 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27617 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27618 [LIBM_SVID_COMPAT].
27619 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27620 * sysdeps/i386/fpu/w_sqrt.c: New file.
27621 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27622 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27623 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27624 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27625 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27626 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27627 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27628 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27629 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27630 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27631 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27632 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27633 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27634 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27635 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27636 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27637 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27638 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27639 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27640 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27641 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27642 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27643 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27644 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27645 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27646 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27647 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27648 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27649 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27650 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27651 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27652 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27653 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27654 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27655 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27656 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27657 * sysdeps/ia64/fpu/w_log.c: Likewise.
27658 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27659 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27660 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27661 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27662 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27663 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27664 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27665 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27666 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27667 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27668 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27669 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27670 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27671 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27672 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27673 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27674 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27675 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27676 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27677 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27678 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27679 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27680 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27681 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27682 [LIBM_SVID_COMPAT].
27683 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27684 * sysdeps/ieee754/k_standard.c: Likewise.
27685 * sysdeps/ieee754/k_standardf.c: Likewise.
27686 * sysdeps/ieee754/k_standardl.c: Likewise.
27687 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27688 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27689 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27690 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27691 long_double_symbol call on [LIBM_SVID_COMPAT].
27692 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27693 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27694 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27695 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27696 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27697 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27698 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27699 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27700 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27701 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27702 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27703 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27704 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27705 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27706 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27707 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27708 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27709 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27710 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27711 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27712 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27713 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27715 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27717 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27718 * malloc/tst-mallocstate.c: Convert from test-skeleton
27719 to test-driver. Ifdef code using TEST_COMPAT macro.
27720 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27721 * math/test-matherr.c: Likewise.
27723 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27726 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27727 comparing word with byte-swapped constant.
27729 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27732 * locale/iso-639.def: add Miskito.
27733 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27734 * localedata/locales/miq_NI: New file.
27736 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27739 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27740 (__mkdir): Likewise.
27741 * io/chmod.c (__chmod): Add libc_hidden_def.
27742 * io/mkdir.c (__mkdir): Likewise.
27743 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27744 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27745 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27746 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27748 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27750 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27754 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27755 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27757 2017-09-04 Florian Weimer <fweimer@redhat.com>
27759 * math/math.h: Issue warning if log is defined.
27761 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27763 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27764 kernel version to 4.13.
27766 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27768 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27769 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27771 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27772 just <bits/types.h>.
27773 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27774 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27775 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27776 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27777 * misc/preadv2.c: Include <errno.h>.
27778 * misc/preadv64v2.c: Include <errno.h>.
27779 * misc/pwritev2.c: Include <errno.h>.
27780 * misc/pwritev64v2.c: Include <errno.h>.
27781 * sysdeps/posix/preadv2.c: Include <errno.h>.
27782 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27783 Fix <unistd.h> inclusion.
27784 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27785 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27786 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27787 __strtoul_internal): New functions.
27788 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27789 * sysdeps/posix/system.c: Include <sigsetops.h>.
27790 * sysdeps/mach/hurd/i386/Makefile
27791 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27792 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27793 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27794 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27795 __feraiseexcept_renamed to feraiseexcept instead of
27796 __GI_feraiseexcept.
27797 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27798 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27799 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27800 RWF_NOWAIT): Define to 0 if undefined already.
27801 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27803 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27804 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27806 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27808 * manual/math.texi (pow10): Do not document.
27809 (pow10f): Likewise.
27810 (pow10l): Likewise.
27811 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27812 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27813 * math/libm-test-exp10.inc (pow10_test): Remove.
27814 (do_test): Do not call pow10.
27815 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27816 [NO_LONG_DOUBLE] (pow10l): Likewise.
27817 * math/w_exp10f_compat.c (pow10f): Likewise.
27818 * math/w_exp10l_compat.c (pow10l): Likewise.
27819 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27820 (pow10): Make into compat symbol.
27821 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27822 (pow10f): Make into compat symbol.
27823 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27824 (pow10l): Make into compat symbol.
27825 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27827 (CFLAGS-nldbl-pow10.c): Remove variable..
27828 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27829 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27830 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27831 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27832 Undefine and redefine.
27833 (pow10l): Make into compat symbol.
27834 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27835 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27836 * sysdeps/arm/libm-test-ulps: Likewise.
27837 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27838 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27839 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27840 * sysdeps/microblaze/libm-test-ulps: Likewise.
27841 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27842 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27843 * sysdeps/nios2/libm-test-ulps: Likewise.
27844 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27845 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27846 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27847 * sysdeps/sh/libm-test-ulps: Likewise.
27848 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27849 * sysdeps/tile/libm-test-ulps: Likewise.
27850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27852 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27854 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27856 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27858 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27859 "../ChangeLog.old/ChangeLog.8".
27860 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27861 "../ChangeLog.old/ChangeLog.14".
27863 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27865 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27868 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27870 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27872 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27874 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27875 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27877 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27879 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27880 32 atexit handlers.
27882 2017-09-01 Zack Weinberg <zackw@panix.com>
27884 * math/math.h (HUGE_VAL): Improve commentary.
27886 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27887 Andreas Schwab <schwab@suse.de>
27890 * include/stdio.h (__gen_tempfd): New function.
27891 * stdio-common/Makefile (routines): Add gentempfd.
27892 * stdio-common/gentempfd.c: New file.
27893 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
27894 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
27895 unnamed file first.
27897 2017-09-01 Florian Weimer <fweimer@redhat.com>
27901 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
27902 result to determine success or failure, not the errno value.
27903 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
27904 (tst-nss-files-hosts-erange): Link with -ldl.
27905 * nss/tst-nss-files-hosts-erange.c: New file.
27906 * nss/tst-resolv-basic.c (response): Handle nodata.example.
27907 (do_test): Add NO_DATA tests.
27908 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
27909 (do_test): Call it.
27911 2017-09-01 Florian Weimer <fweimer@redhat.com>
27914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
27915 coming from gethostbyname2_r.
27917 2017-09-01 Florian Weimer <fweimer@redhat.com>
27919 * support/namespace.h (struct support_chroot_configuration): Add
27921 (struct support_chroot): Add path_hosts, path_host_conf.
27922 * support/support_chroot.c (write_file): New function.
27923 (support_chroot_create): Call it to process /etc/resolv.conf,
27924 /etc/hosts, /etc/host.conf.
27925 (support_chroot_free): Update.
27927 2017-09-01 Florian Weimer <fweimer@redhat.com>
27929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
27930 status indicates it is set.
27932 2017-09-01 Florian Weimer <fweimer@redhat.com>
27935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
27936 function lookup failures more reliable.
27938 2017-09-01 Florian Weimer <fweimer@redhat.com>
27940 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
27941 (getcanonname): Likewise.
27942 (gaih_inet): Likewise.
27944 2017-09-01 Florian Weimer <fweimer@redhat.com>
27946 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
27947 (getcanonname): Likewise.
27948 (gaih_inet): Likewise.
27950 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27951 Richard Henderson <rth@twiddle.net>
27953 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
27954 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
27955 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
27956 (IREG_SIZE, OREG_SIZE): New macros.
27957 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
27958 (IREG_SIZE, OREG_SIZE): New macros.
27959 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
27960 (IREG_SIZE): New macro.
27961 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
27962 (IREG_SIZE): New macro.
27963 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
27965 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
27966 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27967 (__CONCATX): Handle exceptions correctly on large values that may
27969 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
27970 Initialize if not already set.
27971 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27973 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27975 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
27976 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
27978 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
27980 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
27982 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
27984 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
27986 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
27988 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
27990 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
27991 (NO_CANCELLATION): Likewise.
27992 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
27994 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
27996 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
27998 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
27999 (NO_CANCELLATION): Likewise.
28000 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28001 (NO_CANCELLATION): Likewise.
28002 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28004 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28006 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28008 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28010 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28012 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28013 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28015 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28017 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28020 2017-08-31 Florian Weimer <fweimer@redhat.com>
28022 * include/libc-symbols.h (internal_function): Remove.
28024 2017-08-31 Florian Weimer <fweimer@redhat.com>
28026 * stdlib/fmtmsg.c (internal_addseverity): Remove
28029 2017-08-31 Florian Weimer <fweimer@redhat.com>
28031 * stdio-common/printf_fp.c (group_number): Remove
28033 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28035 2017-08-31 Florian Weimer <fweimer@redhat.com>
28037 * posix/fnmatch.c (internal_function): Remove definition.
28038 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28039 * posix/regcomp.c (peek_token, init_word_char)
28040 (duplicate_node_closure, fetch_token, peek_token)
28041 (peek_token_bracket, build_range_exp, build_collating_symbol):
28043 * posix/regex_internal.c (re_string_construct_common)
28044 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28045 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28046 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28047 (re_string_translate_buffer, re_string_reconstruct)
28048 (re_string_peek_byte_case, re_string_fetch_byte_case)
28049 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28050 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28051 (re_node_set_add_intersect, re_node_set_init_union)
28052 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28053 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28054 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28055 (re_acquire_state_context): Likewise.
28056 * posix/regex_internal.h (internal_function): Remove definition.
28057 (re_string_realloc_buffers, build_wcs_buffer)
28058 (build_wcs_upper_buffer, build_upper_buffer)
28059 (re_string_translate_buffer, re_string_context_at)
28060 (re_string_char_size_at, re_string_wchar_at)
28061 (re_string_elem_size_at): Likewise.
28062 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28063 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28064 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28065 (re_search_internal, re_search_2_stub, re_search_stub)
28066 (re_copy_regs, prune_impossible_nodes, check_matching)
28067 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28068 (free_fail_stack_return, sift_states_iter_mb)
28069 (sift_states_backward, build_sifted_states)
28070 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28071 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28072 (check_subexp_limits, sift_states_bkref, merge_state_array)
28073 (find_recover_state, transit_state, merge_state_with_log)
28074 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28075 (transit_state_mb, transit_state_bkref, get_subexp)
28076 (get_subexp_sub, find_subexp_node, check_arrival)
28077 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28078 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28079 (check_node_accept_bytes, find_collation_sequence_value)
28080 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28081 (acquire_init_state_context, check_halt_node_context)
28082 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28083 (sub_epsilon_src_nodes): Likewise.
28084 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28085 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28086 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28087 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28088 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28089 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28090 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28091 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28092 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28093 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28094 (PREADV): Likewise.
28095 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28096 (PREADV): Likewise.
28097 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28098 (PWRITEV): Likewise.
28099 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28100 (PWRITEV): Likewise.
28101 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28102 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28104 2017-08-31 Florian Weimer <fweimer@redhat.com>
28106 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28107 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28108 Remove internal_function.
28109 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28110 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28111 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28112 (__deallocate_stack, __libc_pthread_init)
28113 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28114 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28115 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28117 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28118 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28119 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28121 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28122 (__pthread_mutex_unlock_usercnt): Likewise.
28124 2017-08-31 Florian Weimer <fweimer@redhat.com>
28126 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28127 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28128 (fts_safe_changedir): Remove internal_function.
28129 * io/ftw.c (internal_function): Remove definition.
28130 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28132 2017-08-31 Florian Weimer <fweimer@redhat.com>
28134 * inet/deadline.c (__deadline_current_time)
28135 (__deadline_from_timeval, __deadline_to_ms): Remove
28137 * inet/getnameinfo.c (nrl_domainname): Likewise.
28138 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28139 * inet/inet6_option.c (add_pad): Likewise.
28140 * inet/net-internal.h (__deadline_current_time)
28141 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28142 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28143 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28144 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28146 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28148 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28149 include <bits/nan.h>.
28150 * math/Makefile (headers): Remove bits/nan.h.
28151 * bits/nan.h: Remove.
28152 * sysdeps/ieee754/bits/nan.h: Likewise.
28153 * sysdeps/mips/bits/nan.h: Likewise.
28155 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28156 not include <bits/inf.h>.
28157 * math/Makefile (headers): Remove bits/inf.h.
28158 * bits/inf.h: Remove.
28159 * sysdeps/ieee754/bits/inf.h: Likewise.
28161 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28162 bits/huge_vall.h or bits/huge_val_flt128.h.
28163 (HUGE_VAL): Define directly here.
28164 [__USE_ISOC99] (HUGE_VALF): Likewise.
28165 [__USE_ISOC99] (HUGE_VALL): Likewise.
28166 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28167 (HUGE_VAL_F128): Likewise.
28168 * math/Makefile (headers): Remove bits/huge_val.h,
28169 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28170 * bits/huge_val.h: Remove.
28171 * bits/huge_val_flt128.h: Likewise.
28172 * bits/huge_valf.h: Likewise.
28173 * bits/huge_vall.h: Likewise.
28174 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28175 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28176 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28177 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28178 * sysdeps/sh/bits/huge_val.h: Likewise.
28179 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28180 * sysdeps/x86/bits/huge_vall.h: Likewise.
28182 2017-08-31 Florian Weimer <fweimer@redhat.com>
28184 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28186 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28188 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28189 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28190 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28191 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28192 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28193 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28194 * elf/dl-libc.c (dlerror_run): Likewise.
28195 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28196 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28197 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28198 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28200 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28201 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28202 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28203 * elf/dl-profile.c (_dl_start_profile): Likewise.
28204 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28205 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28207 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28208 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28209 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28210 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28211 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28212 (_dl_allocate_tls_storage): Likewise.
28213 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28214 (_dl_check_all_versions): Likewise.
28215 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28216 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28217 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28218 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28219 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28220 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28221 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28222 internal_function from __dl_start.
28223 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28224 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28225 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28226 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28227 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28228 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28229 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28230 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28231 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28232 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28233 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28234 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28235 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28236 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28237 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28239 (struct rtld_global_ro): Remove internal_function from the
28240 _dl_lookup_symbol_x member.
28241 (_dl_symbol_value): Remove. No longer defined anywhere.
28242 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28244 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28245 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28246 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28247 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28248 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28249 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28250 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28251 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28252 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28253 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28254 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28255 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28257 2017-08-31 Florian Weimer <fweimer@redhat.com>
28259 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28260 Remove internal_function.
28261 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28263 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28266 2017-08-31 Florian Weimer <fweimer@redhat.com>
28268 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28269 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28270 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28272 2017-08-31 Florian Weimer <fweimer@redhat.com>
28274 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28275 (__gai_enqueue_request): Remove internal_function.
28276 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28277 (__gai_remove_request, __gai_notify, __gai_notify_only)
28278 (__gai_sigqueue): Likewise.
28279 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28280 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28281 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28282 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28285 2017-08-31 Florian Weimer <fweimer@redhat.com>
28287 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28288 * include/dirent.h (__opendirat, __getdents, __getdents64)
28289 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28290 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28291 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28292 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28294 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28296 2017-08-31 Florian Weimer <fweimer@redhat.com>
28298 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28300 (GETCWD_RETURN_TYPE): Likewise.
28302 2017-08-31 Florian Weimer <fweimer@redhat.com>
28304 * include/time.h (__tz_compute, __strptime_internal): Remove
28306 * time/strptime_l.c (__strptime_internal): Likewise.
28307 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28309 2017-08-31 Florian Weimer <fweimer@redhat.com>
28311 * iconv/gconv.c (__gconv): Remove internal_function.
28312 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28313 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28314 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28315 (__gconv_release_cache): Likewise.
28316 * iconv/gconv_close.c (__gconv_close): Likewise.
28317 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28318 (read_conf_file, __gconv_get_path): Likewise.
28319 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28320 (__gconv_release_step, gen_steps, increment_counter)
28321 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28322 (__gconv_close_transform, free_modules_db): Likewise.
28323 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28325 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28326 (__gconv_find_transform, __gconv_lookup_cache)
28327 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28328 (__gconv_close_transform, __gconv_release_cache)
28329 (__gconv_loaded_object, __gconv_release_shlib)
28330 (__gconv_compare_alias): Likewise.
28331 * iconv/gconv_open.c (__gconv_open): Likewise.
28332 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28333 * iconv/iconvconfig.c (add_module): Likewise.
28334 * intl/dcigettext.c (plural_lookup, guess_category_value)
28335 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28336 * intl/eval-plural.h (plural_eval): Likewise.
28337 * intl/finddomain.c (_nl_find_domain): Likewise.
28338 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28339 (_nl_load_domain, _nl_find_msg): Likewise.
28340 (internal_function): Remove definition.
28341 * intl/loadinfo.h (internal_function): Likewise.
28342 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28344 * intl/localealias.c (internal_function): Remove definition.
28345 (read_alias_file): Remove internal_function.
28346 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28347 * intl/plural-exp.h (internal_function): Remove definition.
28348 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28350 * intl/plural.c: Regenerate.
28351 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28352 * locale/coll-lookup.c (__collidx_table_lookup)
28353 (__collseq_table_lookup): Likewise.
28354 * locale/coll-lookup.h (__collidx_table_lookup)
28355 (__collseq_table_lookup): Likewise.
28356 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28357 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28358 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28359 (_nl_unload_locale): Likewise.
28360 * locale/localeinfo.h (struct __locale_data): Remove
28361 internal_function from cleanup member.
28362 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28363 (_nl_remove_locale, _nl_load_locale_from_archive)
28364 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28365 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28366 (_nl_cleanup_time): Remove internal_function.
28367 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28368 (_nl_parse_alt_digit): Likewise.
28369 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28370 (_nl_select_era_entry): Likewise.
28371 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28372 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28373 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28374 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28375 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28377 2017-08-31 Florian Weimer <fweimer@redhat.com>
28379 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28380 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28381 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28382 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28384 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28385 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28386 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28387 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28389 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28391 2017-08-31 Florian Weimer <fweimer@redhat.com>
28393 * misc/getttyent.c (skip, value): Remove internal_function.
28394 * misc/syslog.c (openlog_internal): Likewise.
28395 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28397 2017-08-31 Florian Weimer <fweimer@redhat.com>
28399 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28400 (__nss_rewrite_field): Remove internal_function.
28401 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28402 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28403 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28404 * nss/nsswitch.c (nss_parse_file, nss_getline)
28405 (nss_parse_service_list, nss_new_service): Likewise.
28406 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28407 * nss/valid_field.c (__nss_valid_field): Likewise.
28408 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28410 2017-08-31 Florian Weimer <fweimer@redhat.com>
28412 * malloc/arena.c (__malloc_fork_lock_parent)
28413 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28414 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28415 internal_function from defintions.
28416 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28417 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28418 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28419 internal_function from declarations.
28420 * malloc/malloc.c (internal_function): Do not define.
28421 (mem2mem_check): Remove internal_function from declaration.
28422 (munmap_chunk, mremap_chunk): Remove internal_function.
28423 * malloc/mtrace.c (tr_where): Likewise.
28425 2017-08-31 Florian Weimer <fweimer@redhat.com>
28427 * include/rpc/pmap_clnt.h (__get_socket): Remove
28429 * sunrpc/auth_des.c (synchronize): Likewise.
28430 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28431 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28432 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28433 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28434 (key_call): Likewise.
28435 * sunrpc/pm_getport.c (__get_socket): Likewise.
28436 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28437 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28438 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28439 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28440 (invalidate): Likewise.
28441 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28442 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28443 (set_input_fragment, get_input_bytes): Likewise.
28445 2017-08-31 Florian Weimer <fweimer@redhat.com>
28447 * malloc/malloc.c (_int_free): Remove locked variable and related
28450 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28453 * Makerules (build-module-helper-objlist): Filter out
28454 $(elf-objpfx)sofini.os.
28455 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28458 2017-08-31 Florian Weimer <fweimer@redhat.com>
28460 * libio/fcloseall.c: Assume weak_alias is defined.
28461 * libio/feof.c: Likewise.
28462 * libio/fileno.c: Likewise.
28463 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28464 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28466 (_IO_file_open): Call __open directly.
28467 (_IO_new_file_sync): Assume ESPIPE is defined.
28468 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28469 (_IO_new_file_write): Call __write directly.
28470 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28471 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28472 * libio/genops.c: Assume _LIBC is defined.
28473 (save_for_backup): Remove internal_function.
28474 * libio/getc.c: Assume weak_alias is defined.
28475 * libio/getwc.c: Likewise.
28476 * libio/iofclose.c: Assume _LIBC is defined.
28477 * libio/iofdopen.c: Likewise.
28478 (_IO_fcntl): Remove macro definition.
28479 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28480 Call __fcntl directly.
28481 * libio/iofflush.c: Assume weak_alias is defined.
28482 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28484 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28485 * libio/iofgets.c: Likewise.
28486 * libio/iofopen.c: Assume _LIBC is defined.
28487 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28488 * libio/iofputs.c: Assume weak_alias is defined.
28489 * libio/iofread.c: Likewise.
28490 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28491 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28492 * libio/ioftell.c: Assume weak_alias is defined.
28493 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28494 * libio/iofwide.c: Assume _LIBC is defined.
28495 (_IO_fwide): Drop SHARED conditional because it is implied by
28497 * libio/iofwrite.c: Assume weak_alias is defined.
28498 * libio/iogetdelim.c: Likewise.
28499 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28500 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28501 (_IO_getwline): Call __wmemcpy directly.
28502 * libio/iopopen.c: Assume _LIBC is defined.
28503 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28504 (_IO_close): Remove macro definitions.
28505 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28507 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28509 * libio/ioputs.c: Assume weak_alias is defined.
28510 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28511 * libio/iosetbuffer.c: Assume weak_alias is defined.
28512 * libio/iosetvbuf.c: Likewise.
28513 * libio/ioungetc.c: Likewise.
28514 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28515 libc_hidden_def, libc_hidden_weak, NULL are defined.
28516 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28517 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28519 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28521 (_IO_old_file_init_internal): Drop SHARED conditional because it
28522 is implied by SHLIB_COMPAT.
28523 (_IO_old_file_fopen): Call __open directly.
28524 (_IO_old_file_sync): Assume ESPIPE is defined.
28525 (_IO_old_file_write): Call __write directly.
28526 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28527 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28528 Call __fcntl directly.
28529 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28530 (_IO_old_fgetpos): Assume EIO is defined.
28531 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28532 (_IO_old_fgetpos64): Assume EIO is defined.
28533 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28534 (_IO_old_fsetpos): Assume EIO is defined.
28535 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28536 (_IO_old_fsetpos64): Assume EIO is defined.
28537 * libio/oldiopopen.c: Assume _LIBC is defined.
28538 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28539 (_IO_close): Remove macro definitions.
28540 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28542 (_IO_old_proc_close): Call __close, __waitpid directly.
28543 * libio/put.c: Assume weak_alias is defined.
28544 * libio/stdfiles.c: Assume _LIBC is defined.
28545 * libio/stdio.c: Likewise.
28546 * libio/wfileops.c: Likewise.
28547 (_IO_wfile_sync): Assume ESPIPE is defined.
28548 * libio/wgenops.c: Assume _LIBC is defined.
28549 (save_for_wbackup): Remove internal_function.
28551 2017-08-31 Florian Weimer <fweimer@redhat.com>
28553 * malloc/malloc.c (top_check): Change return type to void. Remove
28555 * malloc/hooks.c (top_check): Likewise.
28556 (malloc_check, realloc_check, memalign_check): Adjust.
28558 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28561 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28562 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28563 sigcontext and namespace requirements.
28564 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28565 * sysdeps/m68k/sys/ucontext.h: Likewise.
28566 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28567 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28568 <bits/sigcontext.h>.
28569 (__ctx): Define earlier.
28570 (mcontext_t): Define structure contents rather than using struct
28572 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28573 __glibc_reserved1 instead of __reserved.
28574 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28575 <bits/sigcontext.h>.
28576 (__ctx): Define earlier.
28577 (mcontext_t): Define structure contents rather than using struct
28579 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28580 mcontext_t instead of struct sigcontext.
28581 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28582 <bits/sigcontext.h>.
28583 (__ctx): Define earlier.
28584 (mcontext_t): Define structure contents rather than using struct
28586 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28587 <bits/sigcontext.h>.
28588 (__ctx): Define earlier.
28589 (mcontext_t): Define structure contents rather than using struct
28591 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28592 mcontext_t instead of struct sigcontext.
28593 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28594 mcontext_t instead of struct sigcontext.
28595 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28596 <bits/sigcontext.h>.
28597 (__ctx): New macro.
28598 (struct __ia64_fpreg_mcontext): New type.
28599 (mcontext_t): Define structure contents rather than using struct
28601 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28602 (uc_sigmask): Define using __ctx.
28603 (uc_stack): Likewise.
28604 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28605 <bits/sigcontext.h>.
28606 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28607 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28608 <bits/sigcontext.h>.
28609 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28610 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28611 <bits/sigcontext.h>.
28612 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28613 <bits/sigcontext.h>.
28614 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28615 <bits/sigcontext.h>.
28616 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28617 <bits/sigcontext.h>.
28618 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28619 <bits/sigcontext.h>.
28620 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28621 <bits/sigcontext.h>.
28622 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28623 <bits/sigcontext.h>.
28624 (__ctx): Define earlier.
28625 (mcontext_t): Define structure contents rather than using struct
28627 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28628 <bits/sigcontext.h>. Include <bits/types.h>.
28629 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28630 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28631 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28632 (test-xfail-UNIX98/signal.h/conform): Likewise.
28633 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28634 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28635 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28636 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28637 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28638 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28639 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28640 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28641 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28643 2017-08-30 Florian Weimer <fweimer@redhat.com>
28645 * malloc/dynarray_emplace_enlarge.c
28646 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28647 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28648 * malloc/tst-dynarray.c (test_long_overflow): New function.
28649 (do_test): Call it.
28651 2017-08-30 Florian Weimer <fweimer@redhat.com>
28653 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28654 (set_arena_corrupt): Remove definitions.
28655 (mtrim): Do not check for corrupt arena.
28656 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28659 2017-08-30 Florian Weimer <fweimer@redhat.com>
28662 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28664 (ptmalloc_init): Do not set or use check_action.
28665 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28666 call to malloc_printerr. Remove return statement.
28667 (free_check): Likewise. Remove arena unlock.
28668 (top_check): Update comment. Adjust call to malloc_printerr.
28669 Remove heap repair code.
28670 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28671 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28672 (sysmalloc): Adjust call to malloc_printerr.
28673 (munmap_chunk, __libc_realloc): Likewise. Remove return
28675 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28676 Remove errout label and corresponding gotos.
28677 (_int_free): Likewise. Remove arena unlock.
28678 (do_set_mallopt_check): Do not set check_action.
28679 (malloc_printerr): Adjust parameter list. Do not mark arena as
28681 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28683 * manual/probes.texi (Memory Allocation Probes): Remove
28684 memory_mallopt_check_action.
28686 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28688 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28689 Use pointer to uint64_t instead of long int for sp.
28691 2017-08-30 Florian Weimer <fweimer@redhat.com>
28694 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28695 without printing a backtrace. Do not leak any information in the
28697 * manual/memory.texi (Heap Consistency Checking): Update.
28698 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28700 2017-08-30 Florian Weimer <fweimer@redhat.com>
28702 Do not scale NPTL tests with available number of CPUs.
28703 * nptl/tst-cond16.c (count): Set to constant value of 8.
28704 * nptl/tst-cond18.c (count): Likewise.
28706 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28709 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28710 Define to take a second argument that is a macro that
28711 concatentates a suffix, not the suffix itself.
28712 (__CONCAT_d): New macro.
28713 (__CONCAT_f): Likewise.
28714 (__CONCAT_l): Likewise.
28716 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28718 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28721 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28722 Aurelien Jarno <aurelien@aurel32.net>
28723 Maciej W. Rozycki <macro@imgtec.com>
28726 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28727 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28728 `mips16-syscall6' and `mips16-syscall7'.
28729 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28730 (CFLAGS-mips16-syscall7.c): Remove.
28731 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28732 Remove `__mips16_syscall5', `__mips16_syscall6' and
28733 `__mips16_syscall7'.
28734 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28735 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28736 `__mips_syscall_return'.
28737 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28738 (__mips16_syscall1): Likewise.
28739 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28740 (__mips16_syscall2): Likewise.
28741 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28742 (__mips16_syscall3): Likewise.
28743 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28744 (__mips16_syscall4): Likewise.
28745 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28747 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28749 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28751 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28752 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28753 `__mips16_syscall5'. Remove prototype.
28754 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28755 `__mips16_syscall6'. Remove prototype.
28756 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28757 `__mips16_syscall7'. Remove prototype.
28758 (__nomips16, __mips16_syscall_return): Move to...
28759 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28760 (__nomips16, __mips_syscall_return): ... here.
28761 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28762 `__mips16_syscall_return' to `__mips_syscall_return'.
28763 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28764 `internal_syscall##nr'.
28765 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28766 `internal_syscall##nr'.
28767 (FORCE_FRAME_POINTER): Remove.
28768 (__mips_syscall5): New prototype.
28769 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28770 (__mips_syscall6): New prototype.
28771 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28772 (__mips_syscall7): New prototype.
28773 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28774 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28775 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28776 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28777 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28778 (sysdep_routines): Add libc-do-syscall.
28779 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28780 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28782 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28785 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28786 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28787 (advise_stack_range): New function.
28788 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28789 stack non required to advise_stack_range at allocatestack.c
28791 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28793 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28795 2017-08-29 Florian Weimer <fweimer@redhat.com>
28798 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28799 __end_fct. Mangle __end_fct after setting it to NULL.
28800 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28801 (modules-names, modules-names-tests): Add
28802 tst-gconv-init-failure-mod.
28803 (gconv-modules): New target.
28804 (tst-gconv-init-failure-mod.so): Link against libsupport.
28805 (tst-gconv-init-failure): Depend on gconv-modules,
28806 tst-gconv-init-failure-mod.so.
28807 * iconv/tst-gconv-init-failure-mod.c: New file.
28808 * iconv/tst-gconv-init-failure.c: Likewise.
28809 * iconv/test-gconv-modules: Likewise.
28811 2017-08-29 Florian Weimer <fweimer@redhat.com>
28814 * iconv/gconv_db.c (free_derivation): Remove redundant
28816 (gen_steps): Unconditionally mangle __btowc_fct after
28818 (increment_counter): Likewise. Do not call init_fct for internal
28821 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28824 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28825 (_MSUF_): Remove macro.
28826 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28828 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28829 (__REDIRFROM_X): New macro.
28830 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28832 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28833 (__REDIRTO_X): Likewise.
28834 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28836 (__MATH_REDIRCALL_2): Likewise.
28837 (__MATH_REDIRCALL_INTERNAL): Likewise.
28838 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28839 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28840 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28841 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28842 * math/test-finite-macros.c: New file.
28843 * math/Makefile (tests): Add test-finite-macros.
28844 (CFLAGS-test-finite-macros.c): New variable.
28846 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28847 Jeff Law <law@redhat.com>
28850 Mangle NULL pointers in iconv/gconv.
28851 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28852 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28853 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28854 is non-NULL before demangling the end_fct. Check for NULL
28855 end_fct after demangling.
28856 (__gconv_release_step): Demangle the end_fct before checking
28857 it for NULL. Remove assert on __shlibc_handle != NULL.
28858 (gen_steps): Don't check btowc_fct for NULL before mangling.
28859 Demangle init_fct before checking for NULL.
28860 (increment_counter): Likewise.
28861 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28862 end_fct for NULL before mangling.
28863 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28866 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28869 * locale/iso-639.def: add Morisyen.
28871 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28874 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28875 (iszero): New C++ implementation that does not use
28876 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28877 signaling nans are enabled, since __builtin_types_compatible_p
28878 is a C-only feature.
28879 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28880 defined, include ieee754_float128.h for access to the union and
28881 member ieee854_float128.ieee.
28882 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28883 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28884 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28885 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28886 options of test-math-zero on powerpc64le.
28888 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
28890 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28891 Change double to float.
28893 2017-08-28 Joseph Myers <joseph@codesourcery.com>
28895 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
28897 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
28898 conditional code; define contents only for [LIBM_SVID_COMPAT].
28900 2017-08-28 Florian Weimer <fweimer@redhat.com>
28902 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
28903 (abi-lp64_be-options): Remove.
28904 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
28905 (abi-hard-options): Likewise.
28906 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
28907 (abi-o32_hard-options, abi-o32_soft_2008-options)
28908 (abi-o32_hard_2008-options, abi-n32_soft-options)
28909 (abi-n32_hard-options, abi-n32_soft_2008-options)
28910 (abi-n32_hard_2008-options, abi-n64_soft-options)
28911 (abi-n64_hard-options, abi-n64_soft_2008-options)
28912 (abi-n64_hard_2008-options): Likewise.
28913 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
28914 (abi-64-v1-options, abi-64-v2-options): Likewise.
28915 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
28916 (abi-64-options): Likewise.
28917 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
28918 (abi-64-options): Likewise.
28919 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
28920 (abi-64-options): Likewise.
28921 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
28922 (abi-64-options, abi-x32-options): Likewise.
28924 2017-08-28 Florian Weimer <fweimer@redhat.com>
28926 Store supported list of SYS_* system calls in the source tree.
28927 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
28928 (bits/syscall.h): Generate from list file.
28929 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
28930 [$(subdir) = misc] (tests): Add tst-syscall-list.
28931 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
28932 [$(subdir) = misc] (tst-syscall-list-macros.list)
28933 [$(subdir) = misc] (tst-syscall-list-nr.list)
28934 (tst-syscall-list-sys.list): Helper targets for new
28935 tst-syscall-list test.
28936 [$(subdir) = misc] (tst-syscall-list.out): Run test script
28937 tst-syscall-list.sh.
28938 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
28939 target. Do not include bits/syscall.d.
28940 [$(subdir) = misc] (generated): Do not update.
28941 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
28942 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
28943 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
28944 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
28946 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
28948 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
28949 (tst-cxa_atexit, tst-on_exit): Likewise.
28950 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
28951 tst-cxa_atexit, and tst-on_exit.
28952 * stdlib/tst-atexit-common.c: New file.
28953 * stdlib/tst-atexit.c: New file.
28954 * stdlib/tst-at_quick_exit.c: New file.
28955 * stdlib/tst-cxa_atexit.c: New file.
28956 * stdlib/tst-on_exit.c: New file.
28958 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28960 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
28961 * mach/stack_chk_fail_local.c: New file.
28962 * hurd/stack_chk_fail_local.c: New file.
28963 * mach/Machrules ($(interface-library)-routines): Add
28964 stack_chk_fail_local.
28965 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
28966 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
28967 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
28968 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
28969 * hurd/Makefile (CFLAGS-hurdstartup.o,
28970 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
28972 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
28974 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
28975 (index_cpu_*, index_arch_*): Removed.
28977 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
28979 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
28980 Use uint64_t instead of unsigned long.
28982 2017-08-25 Joseph Myers <joseph@codesourcery.com>
28984 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
28985 [__HAVE_DISTINCT_FLOAT128].
28987 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
28988 of <bits/math-finite.h>.
28989 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
28990 inclusion of <bits/math-finite.h>.
28991 * math/bits/math-finite.h (__REDIRTO_X): Do not define
28992 conditionally on [__MATH_DECLARING_LDOUBLE && defined
28993 __NO_LONG_DOUBLE_MATH].
28994 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
28995 (__MATH_REDIRCALL_2): Likewise.
28996 (__MATH_REDIRCALL_INTERNAL): Likewise.
28997 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28998 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
28999 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29013 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29014 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29015 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29016 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29018 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29019 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29020 w_sqrtf_compat-ppc32.
29022 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29024 * math/math.h [defined __cplusplus] (issignaling): In the long
29025 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29026 is not defined. Call __issignaling, otherwise.
29028 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29030 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29031 syscall definitions and replace __builtin_expect with __glibc_likely.
29032 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29034 (SYSCALL_CANCELLABLE): Removedefinition
29035 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29037 (PSEUDO_END): Likewise.
29038 [IS_IN (libpthread)] (CENABLE): Likewise.
29039 [IS_IN (libpthread)] (CDISABLE): Likewise.
29040 [IS_IN (libc)] (CENABLE): Likewise.
29041 [IS_IN (libc)] (CENABLE): Likewise.
29042 [IS_IN (librt)] (CDISABLE): Likewise.
29043 [IS_IN (librt)] (CDISABLE): Likewise.
29044 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29045 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29047 (PSEUDO_END): Likewise.
29048 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29049 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29050 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29051 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29052 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29053 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29054 (CENABLE): Likewise.
29055 (CDISABLE): Likewise.
29056 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29057 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29059 (PSEUDO_END): Likewise.
29060 [IS_IN (libpthread)] (CENABLE): Likewise.
29061 [IS_IN (libpthread)] (CDISABLE): Likewise.
29062 [IS_IN (libc)] (CENABLE): Likewise.
29063 [IS_IN (libc)] (CENABLE): Likewise.
29064 [IS_IN (librt)] (CDISABLE): Likewise.
29065 [IS_IN (librt)] (CDISABLE): Likewise.
29066 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29067 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29069 (PSEUDO_END): Likewise.
29070 [IS_IN (libpthread)] (CENABLE): Likewise.
29071 [IS_IN (libpthread)] (CDISABLE): Likewise.
29072 [IS_IN (libc)] (CENABLE): Likewise.
29073 [IS_IN (libc)] (CENABLE): Likewise.
29074 [IS_IN (librt)] (CDISABLE): Likewise.
29075 [IS_IN (librt)] (CDISABLE): Likewise.
29076 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29077 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29079 (PSEUDO_END): Likewise.
29080 [IS_IN (libpthread)] (CENABLE): Likewise.
29081 [IS_IN (libpthread)] (CDISABLE): Likewise.
29082 [IS_IN (libc)] (CENABLE): Likewise.
29083 [IS_IN (libc)] (CENABLE): Likewise.
29084 [IS_IN (librt)] (CDISABLE): Likewise.
29085 [IS_IN (librt)] (CDISABLE): Likewise.
29086 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29087 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29089 (PSEUDO_END): Likewise.
29090 [IS_IN (libpthread)] (CENABLE): Likewise.
29091 [IS_IN (libpthread)] (CDISABLE): Likewise.
29092 [IS_IN (libc)] (CENABLE): Likewise.
29093 [IS_IN (libc)] (CENABLE): Likewise.
29094 [IS_IN (librt)] (CDISABLE): Likewise.
29095 [IS_IN (librt)] (CDISABLE): Likewise.
29096 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29097 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29099 (PSEUDO_END): Likewise.
29100 [IS_IN (libpthread)] (CENABLE): Likewise.
29101 [IS_IN (libpthread)] (CDISABLE): Likewise.
29102 [IS_IN (libc)] (CENABLE): Likewise.
29103 [IS_IN (libc)] (CENABLE): Likewise.
29104 [IS_IN (librt)] (CDISABLE): Likewise.
29105 [IS_IN (librt)] (CDISABLE): Likewise.
29106 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29107 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29109 (PSEUDO_END): Likewise.
29110 [IS_IN (libpthread)] (CENABLE): Likewise.
29111 [IS_IN (libpthread)] (CDISABLE): Likewise.
29112 [IS_IN (libc)] (CENABLE): Likewise.
29113 [IS_IN (libc)] (CENABLE): Likewise.
29114 [IS_IN (librt)] (CDISABLE): Likewise.
29115 [IS_IN (librt)] (CDISABLE): Likewise.
29116 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29117 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29119 (PSEUDO_END): Likewise.
29120 [IS_IN (libpthread)] (CENABLE): Likewise.
29121 [IS_IN (libpthread)] (CDISABLE): Likewise.
29122 [IS_IN (libc)] (CENABLE): Likewise.
29123 [IS_IN (libc)] (CENABLE): Likewise.
29124 [IS_IN (librt)] (CDISABLE): Likewise.
29125 [IS_IN (librt)] (CDISABLE): Likewise.
29126 (SINGLE_THREAD_P): Likewise.
29127 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29129 (PSEUDO_END): Likewise.
29130 [IS_IN (libpthread)] (CENABLE): Likewise.
29131 [IS_IN (libpthread)] (CDISABLE): Likewise.
29132 [IS_IN (libc)] (CENABLE): Likewise.
29133 [IS_IN (libc)] (CENABLE): Likewise.
29134 [IS_IN (librt)] (CDISABLE): Likewise.
29135 [IS_IN (librt)] (CDISABLE): Likewise.
29136 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29137 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29139 (PSEUDO_END): Likewise.
29140 [IS_IN (libpthread)] (CENABLE): Likewise.
29141 [IS_IN (libpthread)] (CDISABLE): Likewise.
29142 [IS_IN (libc)] (CENABLE): Likewise.
29143 [IS_IN (libc)] (CENABLE): Likewise.
29144 [IS_IN (librt)] (CDISABLE): Likewise.
29145 [IS_IN (librt)] (CDISABLE): Likewise.
29146 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29147 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29148 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29149 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29150 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29152 (PSEUDO_END): Likewise.
29153 [IS_IN (libpthread)] (CENABLE): Likewise.
29154 [IS_IN (libpthread)] (CDISABLE): Likewise.
29155 [IS_IN (libc)] (CENABLE): Likewise.
29156 [IS_IN (libc)] (CENABLE): Likewise.
29157 [IS_IN (librt)] (CDISABLE): Likewise.
29158 [IS_IN (librt)] (CDISABLE): Likewise.
29159 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29160 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29162 (PSEUDO_END): Likewise.
29163 [IS_IN (libpthread)] (CENABLE): Likewise.
29164 [IS_IN (libpthread)] (CDISABLE): Likewise.
29165 [IS_IN (libc)] (CENABLE): Likewise.
29166 [IS_IN (libc)] (CENABLE): Likewise.
29167 [IS_IN (librt)] (CDISABLE): Likewise.
29168 [IS_IN (librt)] (CDISABLE): Likewise.
29169 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29170 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29172 (PSEUDO_END): Likewise.
29173 [IS_IN (libpthread)] (CENABLE): Likewise.
29174 [IS_IN (libpthread)] (CDISABLE): Likewise.
29175 [IS_IN (libc)] (CENABLE): Likewise.
29176 [IS_IN (libc)] (CENABLE): Likewise.
29177 [IS_IN (librt)] (CDISABLE): Likewise.
29178 [IS_IN (librt)] (CDISABLE): Likewise.
29179 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29181 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29182 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29183 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29185 (PSEUDO_END): Likewise.
29186 [IS_IN (libpthread)] (CENABLE): Likewise.
29187 [IS_IN (libpthread)] (CDISABLE): Likewise.
29188 [IS_IN (libc)] (CENABLE): Likewise.
29189 [IS_IN (libc)] (CENABLE): Likewise.
29190 [IS_IN (librt)] (CDISABLE): Likewise.
29191 [IS_IN (librt)] (CDISABLE): Likewise.
29192 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29193 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29195 (PSEUDO_END): Likewise.
29196 [IS_IN (libpthread)] (CENABLE): Likewise.
29197 [IS_IN (libpthread)] (CDISABLE): Likewise.
29198 [IS_IN (libc)] (CENABLE): Likewise.
29199 [IS_IN (libc)] (CENABLE): Likewise.
29200 [IS_IN (librt)] (CDISABLE): Likewise.
29201 [IS_IN (librt)] (CDISABLE): Likewise.
29202 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29204 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29206 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29208 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29210 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29212 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29215 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29216 middle and outer with size_t instead of int. Repleace %d and
29217 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29218 "MAX (outer, nchars - 64)" to support unsigned outer and
29219 nchars. Also exit loop when outer == 0.
29221 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29223 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29224 * include/signal.h (__sigsuspend_nocancel): Likewise.
29225 * include/time.h (__nanosleep_nocancel): Likewise.
29226 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29227 * login/utmp_file.c: Include non cancellable syscall header.
29228 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29231 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29233 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29234 .byte sequences with AVX512F instructions.
29235 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29236 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29237 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29238 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29240 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29243 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29244 Steve Ellcey <sellcey@cavium.com>
29246 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29247 Use PTR_REG macro in cmp instruction.
29249 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29251 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29252 Change the return type of the ifunc resolver to match the return
29253 type of the target function.
29255 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29257 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29258 (preadv64): Likewise.
29259 (pwrite64(: Likewise.
29260 (pwritev64): Likewise.
29262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29263 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29264 (LOAD_ARGS_0): Likewise.
29265 (LOAD_ARGS_1): Likewise.
29266 (LOAD_ARGS_2): Likewise.
29267 (LOAD_ARGS_3): Likewise.
29268 (LOAD_ARGS_4): Likewise.
29269 (LOAD_ARGS_5): Likewise.
29270 (LOAD_ARGS_6): Likewise.
29271 (LOAD_REGS_0): Likewise.
29272 (LOAD_REGS_1): Likewise.
29273 (LOAD_REGS_2): Likewise.
29274 (LOAD_REGS_3): Likewise.
29275 (LOAD_REGS_4): Likewise.
29276 (LOAD_REGS_5): Likewise.
29277 (LOAD_REGS_6): Likewise.
29278 (ASM_ARGS_0): Likewise.
29279 (ASM_ARGS_1): Likewise.
29280 (ASM_ARGS_2): Likewise.
29281 (ASM_ARGS_3): Likewise.
29282 (ASM_ARGS_4): Likewise.
29283 (ASM_ARGS_5): Likewise.
29284 (ASM_ARGS_6): Likewise.
29285 (LOAD_ARGS_TYPES_1): Likewise.
29286 (LOAD_ARGS_TYPES_2): Likewise.
29287 (LOAD_ARGS_TYPES_3): Likewise.
29288 (LOAD_ARGS_TYPES_4): Likewise.
29289 (LOAD_ARGS_TYPES_5): Likewise.
29290 (LOAD_ARGS_TYPES_6): Likewise.
29291 (LOAD_REGS_TYPES_1): Likewise.
29292 (LOAD_REGS_TYPES_2): Likewise.
29293 (LOAD_REGS_TYPES_3): Likewise.
29294 (LOAD_REGS_TYPES_4): Likewise.
29295 (LOAD_REGS_TYPES_5): Likewise.
29296 (LOAD_REGS_TYPES_6): Likewise.
29297 (TYPEFY): New define.
29298 (ARGIFY): Likewise.
29299 (internal_syscall0): Likewise.
29300 (internal_syscall1): Likewise.
29301 (internal_syscall2): Likewise.
29302 (internal_syscall3): Likewise.
29303 (internal_syscall4): Likewise.
29304 (internal_syscall5): Likewise.
29305 (internal_syscall6): Likewise.
29306 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29307 (INTERNAL_SYSCALL_NCS): Remove define.
29308 (internal_syscall1): Add define.
29310 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29312 * math/w_remainder_compat.c: Remove duplicate inclusion of
29313 math-svid-compat.h.
29314 * math/w_remainderf_compat.c: Likewise.
29315 * math/w_remainderl_compat.c: Likewise.
29317 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29321 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29324 * math/tgmath.h (__floating_type): Simplify definitions.
29325 (__real_integer_type): New macro.
29326 (__complex_integer_type): Likewise.
29327 (__expr_is_real): Likewise.
29328 (__tgmath_real_type_sub): Update comment to describe handling of
29330 (__tgmath_complex_type_sub): New macro.
29331 (__tgmath_complex_type): Likewise.
29332 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29333 (__TGMATH_CF128): Use __expr_is_real.
29334 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29336 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29337 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29338 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29341 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29343 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29345 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29347 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29350 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29351 nanosleep_not_cancel with __nanosleep_nocancel.
29352 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29353 (__nanosleep_nocancel): New macro.
29354 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29356 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29358 (__nanosleep_nocancel): New prototype.
29360 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29361 pause_not_cancel with __pause_nocancel.
29362 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29363 (__pause_nocancel): New macro.
29364 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29366 (__pause_nocancel): New prototype.
29367 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29369 2017-08-22 Martin Sebor <msebor@redhat.com>
29371 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29372 to return a pointer to the same type as the target function.
29374 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29378 * include/printf.h (__printf_fphex): Add attribute_hidden.
29379 (__guess_grouping): New prototype.
29380 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29381 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29382 libc_hidden_proto and libc_hidden_def.
29383 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29384 (__vstrfmon_l): Remove the third argument passed to
29387 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29389 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29390 definition for issignaling that does not rely on __MATH_TG,
29391 since __MATH_TG uses __builtin_types_compatible_p, which is only
29392 available in C mode.
29393 (CFLAGS-test-math-issignaling.cc): New variable.
29394 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29395 * math/test-math-issignaling.cc: New test for C++ implementation
29396 of type-generic issignaling.
29397 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29398 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29399 options of test-math-issignaling on powerpc64le.
29401 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29403 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29405 (hidden_proto): Likewise.
29406 (hidden_tls_proto): Likewise.
29407 (__hidden_proto): Likewise.
29409 2017-08-22 Florian Weimer <fweimer@redhat.com>
29411 math: Statically link tests of internal functionality.
29412 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29414 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29415 (gmp-objs): Remove assignment.
29416 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29418 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29421 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29423 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29425 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29428 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29429 variable definitions above inclusion of ../Rules.
29431 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29433 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29434 case calling __builtin_unreachable.
29436 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29438 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29439 __waitpid_nocancel.
29440 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29441 (__waitpid_nocancel): New macro.
29442 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29444 (__waitpid_nocancel): Replace macro with a function.
29445 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29448 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29450 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29451 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29453 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29454 __writev_nocancel_nostatus.
29455 (write_call_graph): Likewise.
29456 (write_bb_counts): Likewise.
29457 * resolv/herror.c (herror): Likewise.
29458 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29460 (__writev_nocancel_nostatus): New macro.
29461 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29463 (__writev_nocancel_nostatus): New function.
29465 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29468 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29470 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29472 (hidden_proto): Likewise.
29473 (hidden_tls_proto): Likewise.
29474 (__hidden_proto): Likewise.
29477 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29478 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29487 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29488 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29489 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29490 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29491 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29492 GLIBC_2.0 sqrtl symbol.
29494 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29495 [__USE_MISC] (_LIB_VERSION): Likewise.
29496 [__USE_MISC] (struct exception): Likewise.
29497 [__USE_MISC] (matherr): Likewise.
29498 [__USE_MISC] (DOMAIN): Likewise.
29499 [__USE_MISC] (SING): Likewise.
29500 [__USE_MISC] (OVERFLOW): Likewise.
29501 [__USE_MISC] (UNDERFLOW): Likewise.
29502 [__USE_MISC] (TLOSS): Likewise.
29503 [__USE_MISC] (PLOSS): Likewise.
29504 [__USE_MISC] (HUGE): Likewise.
29505 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29506 * math/math-svid-compat.h: New file.
29507 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29509 * include/math.h [!_ISOMAC] (__matherr): Remove.
29510 * manual/arith.texi (FP Exceptions): Do not document matherr.
29511 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29512 (tests-internal): New variable.
29513 (install-lib): Do not add libieee.a.
29514 (non-lib.a): Likewise.
29515 (extra-objs): Do not add libieee.a and ieee-math.o.
29516 (CPPFLAGS-s_lib_version.c): Remove variable.
29517 ($(objpfx)libieee.a): Remove rule.
29518 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29519 * math/ieee-math.c: Remove.
29520 * math/libm-test-support.c (matherr): Remove.
29521 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29522 and license notices. Include <math-svid-compat.h> and
29524 (matherr): Undefine as macro. Use compat_symbol_reference.
29525 (_LIB_VERSION): Likewise.
29526 * math/test-matherr-2.c: New file.
29527 * math/test-matherr-3.c: Likewise.
29528 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29530 (__kernel_standard_f): Likewise.
29531 (__kernel_standard_l): Likewise.
29532 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29533 <math_private.h>. Include <math-svid-compat.h>.
29534 (_LIB_VERSION): Undefine as macro.
29535 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29536 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29537 [LIBM_SVID_COMPAT], use compat_symbol.
29538 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29539 <math_private.h>. Include <math-svid-compat.h>.
29540 (matherr): Undefine as macro.
29541 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29543 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29544 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29545 compat_symbol_reference.
29546 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29547 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29548 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29549 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29550 (MATHERR_D): Remove declaration.
29551 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29552 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29553 [LIBM_BUILD] (pmatherrf): Likewise.
29554 [LIBM_BUILD] (pmatherr): Likewise.
29555 [LIBM_BUILD] (pmatherrl): Likewise.
29556 (DOMAIN): Likewise.
29558 (OVERFLOW): Likewise.
29559 (UNDERFLOW): Likewise.
29562 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29563 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29565 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29566 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29568 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29569 * math/w_acos_compat.c: Likewise.
29570 * math/w_acosf_compat.c: Likewise.
29571 * math/w_acosh_compat.c: Likewise.
29572 * math/w_acoshf_compat.c: Likewise.
29573 * math/w_acoshl_compat.c: Likewise.
29574 * math/w_acosl_compat.c: Likewise.
29575 * math/w_asin_compat.c: Likewise.
29576 * math/w_asinf_compat.c: Likewise.
29577 * math/w_asinl_compat.c: Likewise.
29578 * math/w_atan2_compat.c: Likewise.
29579 * math/w_atan2f_compat.c: Likewise.
29580 * math/w_atan2l_compat.c: Likewise.
29581 * math/w_atanh_compat.c: Likewise.
29582 * math/w_atanhf_compat.c: Likewise.
29583 * math/w_atanhl_compat.c: Likewise.
29584 * math/w_cosh_compat.c: Likewise.
29585 * math/w_coshf_compat.c: Likewise.
29586 * math/w_coshl_compat.c: Likewise.
29587 * math/w_exp10_compat.c: Likewise.
29588 * math/w_exp10f_compat.c: Likewise.
29589 * math/w_exp10l_compat.c: Likewise.
29590 * math/w_exp2_compat.c: Likewise.
29591 * math/w_exp2f_compat.c: Likewise.
29592 * math/w_exp2l_compat.c: Likewise.
29593 * math/w_fmod_compat.c: Likewise.
29594 * math/w_fmodf_compat.c: Likewise.
29595 * math/w_fmodl_compat.c: Likewise.
29596 * math/w_hypot_compat.c: Likewise.
29597 * math/w_hypotf_compat.c: Likewise.
29598 * math/w_hypotl_compat.c: Likewise.
29599 * math/w_j0_compat.c: Likewise.
29600 * math/w_j0f_compat.c: Likewise.
29601 * math/w_j0l_compat.c: Likewise.
29602 * math/w_j1_compat.c: Likewise.
29603 * math/w_j1f_compat.c: Likewise.
29604 * math/w_j1l_compat.c: Likewise.
29605 * math/w_jn_compat.c: Likewise.
29606 * math/w_jnf_compat.c: Likewise.
29607 * math/w_jnl_compat.c: Likewise.
29608 * math/w_lgamma_main.c: Likewise.
29609 * math/w_lgamma_r_compat.c: Likewise.
29610 * math/w_lgammaf_main.c: Likewise.
29611 * math/w_lgammaf_r_compat.c: Likewise.
29612 * math/w_lgammal_main.c: Likewise.
29613 * math/w_lgammal_r_compat.c: Likewise.
29614 * math/w_log10_compat.c: Likewise.
29615 * math/w_log10f_compat.c: Likewise.
29616 * math/w_log10l_compat.c: Likewise.
29617 * math/w_log2_compat.c: Likewise.
29618 * math/w_log2f_compat.c: Likewise.
29619 * math/w_log2l_compat.c: Likewise.
29620 * math/w_log_compat.c: Likewise.
29621 * math/w_logf_compat.c: Likewise.
29622 * math/w_logl_compat.c: Likewise.
29623 * math/w_pow_compat.c: Likewise.
29624 * math/w_powf_compat.c: Likewise.
29625 * math/w_powl_compat.c: Likewise.
29626 * math/w_remainder_compat.c: Likewise.
29627 * math/w_remainderf_compat.c: Likewise.
29628 * math/w_remainderl_compat.c: Likewise.
29629 * math/w_scalb_compat.c: Likewise.
29630 * math/w_scalbf_compat.c: Likewise.
29631 * math/w_scalbl_compat.c: Likewise.
29632 * math/w_sinh_compat.c: Likewise.
29633 * math/w_sinhf_compat.c: Likewise.
29634 * math/w_sinhl_compat.c: Likewise.
29635 * math/w_sqrt_compat.c: Likewise.
29636 * math/w_sqrtf_compat.c: Likewise.
29637 * math/w_sqrtl_compat.c: Likewise.
29638 * math/w_tgamma_compat.c: Likewise.
29639 * math/w_tgammaf_compat.c: Likewise.
29640 * math/w_tgammal_compat.c: Likewise.
29641 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29642 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29643 * sysdeps/ieee754/k_standard.c: Likewise.
29644 * sysdeps/ieee754/k_standardf.c: Likewise.
29645 * sysdeps/ieee754/k_standardl.c: Likewise.
29646 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29647 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29648 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29649 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29650 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29651 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29652 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29653 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29654 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29659 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29660 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29661 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29662 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29664 2017-08-21 Florian Weimer <fweimer@redhat.com>
29667 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29668 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29669 Move before inclusion of ../Rules.
29671 2017-08-21 Florian Weimer <fweimer@redhat.com>
29674 * assert/assert.h (assert): Use static_cast (bool) for C++.
29675 Use the ternary operator in the warning branch for GNU C.
29676 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29677 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29678 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29679 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29680 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29682 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29685 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29686 (__syscall_clock_gettime): Add attribute_hidden.
29687 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29688 (__start_context): Likewise.
29690 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29692 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29694 (hidden_proto): Likewise.
29695 (hidden_tls_proto): Likewise.
29696 (__hidden_proto): Likewise.
29698 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29700 * include/libc-symbols.h (attribute_hidden): Enable hidden
29701 visibility in libc.a compiled with PIE.
29703 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29706 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29707 Add attribute_hidden.
29709 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29712 * Makerules (all-nonlib): Add $(others-extras).
29713 * catgets/Makefile (others-extras): New.
29714 * elf/Makefile (others-extras): Likewise.
29715 * nss/Makefile (others-extras): Likewise.
29717 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29720 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29721 * elf/dl-open.c: Include <libc-internal.h>.
29722 (__libc_multiple_libcs): Removed.
29723 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29725 * include/libc-internal.h (__libc_multiple_libcs): New.
29726 * misc/sbrk.c: Include <libc-internal.h>.
29727 (__libc_multiple_libcs): Removed.
29729 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29732 * grp/initgroups.c (__nss_group_database): Removed.
29733 (__nss_initgroups_database): Likewise.
29734 * nscd/gai.c (__nss_hosts_database): Likewise.
29735 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29736 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29737 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29738 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29739 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29740 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29742 * nss/nsswitch.c (__nss_database_custom): Define only if
29743 USE_NSCD is defined.
29744 (__nss_configure_lookup): Use __nss_database_custom only if
29745 USE_NSCD is defined.
29746 * nss/nsswitch.h (__nss_database_custom): Declare only if
29747 USE_NSCD is defined. Add attribute_hidden.
29748 (__nss_setent): Add attribute_hidden.
29749 (__nss_endent): Likewise.
29750 (__nss_getent_r): Likewise.
29751 (__nss_getent): Likewise.
29752 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29754 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29757 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29758 libc_hidden_proto and libc_hidden_def.
29760 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29763 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29764 Add libc_hidden_proto.
29765 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29766 Add libc_hidden_def.
29768 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29771 * gmon/Makefile (routines): Remove bb_init_func and
29773 (elide-routines.os): Removed.
29774 * gmon/bb_exit_func.c: Likewise.
29775 * gmon/bb_init_func.c: Likewise.
29776 * include/sys/gmon.h (__bb): Likewise.
29777 (__bb_init_func): Likewise.
29778 (__bb_exit_func): Likewise.
29779 * sysdeps/alpha/bb_init_func.S: Likewise.
29781 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29783 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29784 * include/setjmp.h (____longjmp_chk): Here. Add
29787 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29790 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29792 (__strspn_sse2): Likewise.
29794 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29796 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29797 (close_not_cancel_no_status): Likewise.
29798 (__close_nocancel): New macro.
29799 (__close_nocancel_nostatus): Likewise.
29800 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29802 (close_not_cancel): Likewise.
29803 (close_not_cancel_no_status): Likewise.
29804 (__close_nocancel): New prototype.
29805 (__close_nocancel_nostatus): New function.
29806 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29807 * catgets/open_catalog.c (__open_catalog): Replace
29808 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29809 * gmon/gmon.c (write_gmon): Likewise.
29810 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29811 * intl/loadmsgcat.c (close): Likewise.
29812 * io/ftw.c (open_dir_stream): Likewise.
29813 (ftw_startup): Likewise.
29814 * libio/fileops.c (_IO_file_open): Likewise.
29815 (_IO_file_close_mmap): Likewise.
29816 (_IO_file_close): Likewise.
29817 * libio/iopopen.c (_IO_dup2): Likewise.
29818 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29819 * locale/loadlocale.c (_nl_load_locale): Likewise.
29820 * login/utmp_file.c (pututline_file): Likewise.
29821 (endutent_file): Likewise.
29822 * misc/daemon.c (daemon): Likewise.
29823 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29824 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29825 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29826 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29827 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29828 * nscd/nscd_helper.c (open_socket): Likewise.
29829 (__nscd_open_socket): Likewise.
29830 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29831 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29832 (__nscd_innetgr): Likewise.
29833 * nss/nss_db/db-open.c (internal_setent): Likewise.
29834 * resolv/res-close.c (__res_iclose): Likewise.
29835 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29836 * sysdeps/posix/closedir.c (__closedir): Likewise.
29837 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29838 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29839 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29840 (opendir_tail): Likewise.
29841 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29842 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29843 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29844 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29845 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29846 (gethostid): Likewise.
29847 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29848 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29850 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29851 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29852 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29853 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29855 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29856 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29857 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29859 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29860 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29862 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29864 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29865 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29866 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29869 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29870 (openat_not_cancel_3): Likewise.
29871 (openat64_not_cancel_3): Likewise).
29872 (openat_not_cancel_3): Likewise).
29873 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29875 (openat_not_cancel_3): Likewise.
29876 (openat64_not_cancel): Likewise.
29877 (openat64_not_cancel_3): Likewise.
29878 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29879 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29880 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29881 __open{64}_nocancel.
29882 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29883 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29884 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29886 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29889 * include/argz.h (__argz_create_sep): New function prototype.
29890 (__argz_append): Likewise.
29891 (__argz_add): Likewise.
29892 (__argz_add_sep): Likewise.
29893 (__argz_delete): Likewise.
29894 (__argz_insert): Likewise.
29895 (__argz_replace): Likewise.
29896 * string/argz.h (__argz_create_sep): Removed.
29897 (__argz_append): Likewise.
29898 (__argz_add): Likewise.
29899 (__argz_add_sep): Likewise.
29900 (__argz_delete): Likewise.
29901 (__argz_insert): Likewise.
29902 (__argz_replace): Likewise.
29904 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29906 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
29907 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
29908 (GNU_PROPERTY_STACK_SIZE): Likewie.
29909 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
29910 (GNU_PROPERTY_LOPROC): Likewise.
29911 (GNU_PROPERTY_HIPROC): Likewise.
29912 (GNU_PROPERTY_LOUSER): Likewise.
29913 (GNU_PROPERTY_HIUSER): Likewise.
29914 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
29915 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
29916 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
29917 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
29918 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
29919 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
29920 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
29921 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
29922 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
29923 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
29924 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
29925 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
29926 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
29927 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
29928 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
29929 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
29930 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
29931 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
29932 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
29933 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
29934 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
29935 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
29936 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
29938 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29940 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
29943 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29946 * math/math.h (isinf): Check if in C or C++ mode before using
29947 __builtin_types_compatible_p, since this is a C mode feature.
29949 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29951 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
29952 (__write_nocancel): New macro.
29953 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
29954 Rewrite as a function prototype.
29955 (write_not_cancel): Remove macro.
29956 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
29957 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
29958 (write_gmon): Likewise.
29959 * libio/fileops.c (_IO_new_file_write): Likewise.
29960 * login/utmp_file.c (pututline_file): Likewise.
29961 (updwtmp_file): Likewise.
29962 * stdio-common/psiginfo.c (psiginfo): Likewise.
29963 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29964 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29965 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29967 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29970 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
29971 (__read_nocancel): New macro.
29972 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29974 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
29976 (__read_nocancel): New prototype.
29977 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
29978 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
29979 with __read_nocancel.
29980 * intl/loadmsgcat.c (read): Likewise.
29981 * libio/fileops.c (_IO_file_read): Likewise.
29982 * locale/loadlocale.c (_nl_load_locale): Likewise.
29983 * login/utmp_file.c (getutent_r_file): Likewise.
29984 (internal_getut_r): Likewise.
29985 (getutline_r_file): Likewise.
29986 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
29987 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29988 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29989 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29991 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
29992 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29993 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29995 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29997 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29999 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30001 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30003 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30006 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30007 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30010 2017-08-17 DJ Delorie <dj@redhat.com>
30012 * bug17079.c: Update to new test harness.
30013 * test-digits-dots.c: Likewise.
30014 * test-netdb.c: Likewise.
30015 * tst-field.c: Likewise.
30016 * tst-nss-getpwent.c: Likewise.
30017 * tst-nss-static.c: Likewise.
30018 * tst-nss-test1.c: Likewise.
30019 * tst-nss-test2.c: Likewise.
30020 * tst-nss-test3.c: Likewise.
30021 * tst-nss-test4.c: Likewise.
30022 * tst-nss-test5.c: Likewise.
30024 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30026 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30027 (open_not_cancel_2): Likewise.
30028 (open_nocancel): New macro.
30029 (open64_nocancel): Likewise.
30030 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30031 (open_not_cancel_2): Likewise.
30032 (__open_nocancel): New prototype.
30033 (__open64_nocancel): Likewise.
30034 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30036 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30037 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30038 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30039 with __open_nocancel.
30040 * csu/check_fds.c (check_one_fd): Likewise.
30041 * gmon/gmon.c (write_gmon): Likewise.
30042 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30043 * intl/loadmsgcat.c (open): Likewise.
30044 * libio/fileops.c (_IO_file_open): Likewise.
30045 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30046 * locale/loadlocale.c (_nl_load_locale): Likewise.
30047 * login/utmp_file.c (setutent_file): Likewise.
30048 * misc/daemon.c (daemon): Likewise.
30049 * nss/nss_db/db-open.c (internal_setent): Likewise.
30050 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30051 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30052 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30053 (__opendir): Likewise.
30054 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30055 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30056 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30057 (gethostid): Likewise.
30058 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30059 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30061 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30062 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30063 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30064 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30066 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30068 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30070 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30072 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30074 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30076 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30077 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30079 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30081 * benchtests/bench-skeleton.c (main): Add support for
30082 latency benchmarking.
30083 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30085 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30087 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30088 the startup object.
30090 2017-08-17 Florian Weimer <fweimer@redhat.com>
30092 * include/sys/socket.h (__opensock): Remove internal_function.
30093 * socket/opensock.c (__opensock): Likewise.
30094 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30096 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30099 * signal/bits/types/__sigval_t.h: New file.
30100 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30101 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30102 and define sigval_t using __sigval_t.
30103 * include/bits/types/__sigval_t.h: New file.
30104 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30105 instead of <bits/types/__sigval_t.h>.
30106 (struct sigevent): Use __sigval_t instead of sigval_t.
30107 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30108 instead of <bits/types/__sigval_t.h>.
30109 (siginfo_t): Use __sigval_t instead of sigval_t.
30110 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30111 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30112 (struct sigevent): Use __sigval_t instead of sigval_t.
30113 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30114 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30115 (siginfo_t): Use __sigval_t instead of sigval_t.
30116 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30118 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30120 * NEWS: Remove "[Add new features here]" for 2.27.
30122 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30124 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30127 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30129 * NEWS: Mention x86-64 FMA optimization.
30131 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30134 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30136 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30137 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30138 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30140 2017-08-16 Andreas Schwab <schwab@suse.de>
30144 * elf/ldd.bash.in: Never run file directly.
30146 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30149 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30150 (L(SP_INF_0)): Likewise.
30152 2017-08-15 Florian Weimer <fweimer@redhat.com>
30154 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30157 2017-08-15 Florian Weimer <fweimer@redhat.com>
30159 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30160 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30161 BROKEN_THREAD_SIGNALS code.
30162 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30163 request_list): Remove caller_pid member used for
30164 BROKEN_THREAD_SIGNALS.
30165 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30166 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30167 Remove BROKEN_THREAD_SIGNALS support.
30168 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30169 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30171 2017-08-15 Florian Weimer <fweimer@redhat.com>
30173 * gmon/Makefile (tests): Add tst-gmon.
30174 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30176 (tests-special): Add tst-gmon-prof.out.
30177 (tst-gmon.out): Depend on clean-tst-gmon-data.
30178 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30179 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30180 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30182 * aclocal.m4 (GPROF): Set and substitute.
30183 * config.amke.in (GPROF): Set.
30184 * configure: Regenerate.
30186 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30188 * elf/elf.h A (NT_PPC_TAR): New macro.
30189 (NT_PPC_PPR): Likewise.
30190 (NT_PPC_DSCR): Likewise.
30191 (NT_PPC_EBB): Likewise.
30192 (NT_PPC_PMU): Likewise.
30193 (NT_PPC_TM_CGPR): Likewise.
30194 (NT_PPC_TM_CFPR): Likewise.
30195 (NT_PPC_TM_CVMX): Likewise.
30196 (NT_PPC_TM_CVSX): Likewise.
30197 (NT_PPC_TM_SPR): Likewise.
30198 (NT_PPC_TM_CTAR): Likewise.
30199 (NT_PPC_TM_CPPR): Likewise.
30200 (NT_PPC_TM_CDSCR): Likewise.
30202 2017-08-15 Florian Weimer <fweimer@redhat.com>
30204 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30205 regparm (2) instead of internal_function.
30206 (_MCOUNT_DECL): Adjust.
30208 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30210 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30211 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30213 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30215 * conform/data/sys/wait.h-data (si_value): Do not expect for
30218 2017-08-14 Florian Weimer <fweimer@redhat.com>
30221 NSS: Create stubs for accidentally exported lookup functions.
30222 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30223 Remove declaration.
30224 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30225 (ether_hostton): Call __nss_ethers_lookup2 instead.
30226 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30227 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30228 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30229 (setup): Call __nss_netgroup_lookup2 instead.
30230 * nss/Makefile (routines): Add compat-lookup.
30231 * nss/Versions (GLIBC_2.27): Add symbol version.
30232 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30233 (DB_COMPAT_FCT): Remove.
30234 * nss/compat-lookup.c: New file.
30235 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30236 from databases.def.
30237 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30238 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30239 (netname2user): Call __nss_publickey_lookup2 instead.
30240 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30241 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30244 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30245 Sergei Trofimovich <slyfox@inbox.ru>
30248 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30249 Rename to MMAP2_PAGE_UNIT.
30250 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30251 __OFF_T_MATCHES_OFF64_T is not defined.
30252 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30254 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30255 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30257 2017-08-14 Florian Weimer <fweimer@redhat.com>
30259 i386: Do not set internal_function.
30260 * config.h.in (USE_REGPARMS, internal_function): Remove.
30261 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30262 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30264 2017-08-14 Florian Weimer <fweimer@redhat.com>
30266 * elf/dl-init.c (_dl_init): Remove internal_function.
30267 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30268 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30270 2017-08-14 Florian Weimer <fweimer@redhat.com>
30272 * elf/rtld.c (_dl_start): Remove internal_function.
30273 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30276 2017-08-14 Florian Weimer <fweimer@redhat.com>
30278 * elf/dl-fini.c (_dl_fini): Remove internal_function
30279 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30281 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30283 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30284 (bit_cpu_SHSTK): Likewise.
30285 (index_cpu_IBT): Likewise.
30286 (index_cpu_SHSTK): Likewise.
30287 (reg_IBT): Likewise.
30288 (reg_SHSTK): Likewise.
30289 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30290 Handle index_cpu_IBT and index_cpu_SHSTK.
30292 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30295 * po/fr.po: Fix spelling mistake.
30297 2017-08-13 Florian Weimer <fweimer@redhat.com>
30299 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30300 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30301 (_dl_catch_error, _dl_receive_error): Likewise.
30302 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30303 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30304 (_dl_deallocate_tls): Likewise.
30305 * include/dlfcn.h (_dl_addr): Likewise.
30306 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30307 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30308 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30311 2017-08-13 Florian Weimer <fweimer@redhat.com>
30313 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30314 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30316 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30318 2017-08-13 Florian Weimer <fweimer@redhat.com>
30320 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30322 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30323 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30324 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30325 internal_function from _dl_make_stack_executable_hook member.
30326 (_dl_make_stack_executable): Remove internal_function.
30327 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30329 * sysdeps/unix/sysv/linux/dl-execstack.c
30330 (_dl_make_stack_executable): Likewise.
30332 2017-08-13 Florian Weimer <fweimer@redhat.com>
30334 * sysdeps/unix/sysv/linux/netlinkaccess.h
30335 (__netlink_assert_response): Remove internal_function.
30336 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30337 (__netlink_assert_response): Likewise.
30339 2017-08-13 Florian Weimer <fweimer@redhat.com>
30341 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30343 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30345 2017-08-13 Florian Weimer <fweimer@redhat.com>
30347 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30349 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30350 * inet/netgroup.h (__internal_setnetgrent)
30351 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30352 * inet/getnetgrent_r.c (__internal_setnetgrent)
30353 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30354 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30355 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30356 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30357 * nss/nsswitch.h (db_lookup_function): Likewise.
30359 2017-08-13 Florian Weimer <fweimer@redhat.com>
30361 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30362 Remove internal_function.
30363 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30364 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30365 message argument on the stack.
30366 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30369 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30371 Adapt test case data to the changes in the thousands
30375 * localedata/tst-langinfo.sh: Adapt test case data.
30376 * stdlib/tst-strfmon_l.c: Likewise.
30377 * stdlib/tst-strtod4.c: Likewise.
30378 * stdlib/tst-strtod5i.c: Likewise.
30380 2017-08-11 Florian Weimer <fweimer@redhat.com>
30383 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30384 Suppress pedantic warning resulting from statement expression.
30385 (__ASSERT_FUNCTION): Add missing __extension__.
30387 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30389 * benchtests/bench-memmove-large.c: Print output in JSON
30391 * benchtests/bench-memmove.c: Likewise.
30393 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30394 * benchtests/bench-memchr.c (do_one_test): Likewise.
30395 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30396 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30397 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30398 * benchtests/bench-memmove.c (do_one_test): Likewise.
30399 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30400 * benchtests/bench-memset.c (do_one_test): Likewise.
30401 * benchtests/bench-string.h (test_init): Remove memsets.
30403 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30406 (Computing the Width of an Integer Data Type): Rename section to
30407 "Width of an Integer Type". Remove inaccurate statement regarding
30408 lack of C language facilities for determining width of integer
30409 types, and reorder content to improve flow and context of
30412 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30414 * lang.texi (va_copy): Change standard from ISO to C99.
30415 (__va_copy): Add standard and header annotation.
30416 Update description for clarity of origins and current use.
30418 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30421 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30422 xssqrtqp requires operands to be in Vector Registers
30423 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30424 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30425 (__ieee754_sqrtf128): Likewise.
30427 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30429 * sysdeps/aarch64/memcmp.S (memcmp):
30430 Rewrite of optimized memcmp.
30432 2017-08-10 Florian Weimer <fweimer@redhat.com>
30434 Introduce ld.so exceptions.
30435 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30436 (_dl_exception_create, _dl_exception_create_format)
30437 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30438 (_dl_catch_exception): Declare.
30439 (_dl_catch_error): Update comment.
30440 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30441 errstring, malloced members with exception member.
30442 (_dl_out_of_memory): Remove.
30443 (fatal_error): New function, extracted from _dl_signal_error.
30444 (_dl_signal_exception, _dl_signal_cexception): New functions.
30445 (_dl_signal_error): Call _dl_exception_create to allocate an
30447 (_dl_catch_exception): New function, based on _dl_catch_error.
30448 (_dl_catch_error): Implement using _dl_catch_exception.
30449 * elf/dl-exception.c: New file.
30450 * elf/Makefile (dl-routines): Add dl-exception.
30451 (elide-routines.os): Likewise.
30452 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30453 _dl_exception_create_format, _dl_exception_free.
30454 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30455 _dl_signal_exception.
30456 * elf/dl-lookup.c (make_string): Remove.
30457 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30458 _dl_signal_cexception, _dl_exception_free.
30459 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30460 _dl_signal_exception.
30461 * elf/dl-sym.c (do_sym): Likewise.
30462 * elf/dl-version.c (make_string): Remove.
30463 (match_symbol): Use _dl_exception_create_format,
30464 _dl_signal_cexception, _dl_exception_free.
30465 (_dl_check_map_versions): Likewise.
30466 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30467 _dl_catch_exception.
30468 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30469 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30470 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30471 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30472 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30473 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30474 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30475 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30477 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30484 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30485 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30486 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30488 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30490 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30492 2017-08-10 Florian Weimer <fweimer@redhat.com>
30494 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30495 attribute_hidden, internal_function.
30496 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30499 2017-08-10 Florian Weimer <fweimer@redhat.com>
30501 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30502 function which calls __builtin_unreachable.
30504 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30506 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30507 Indian monetary formatting
30508 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30511 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30513 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30514 Fix typo in comment.
30517 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30518 PTRACE_SEIZE_DEVEL): Remove.
30519 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30520 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30521 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30522 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30523 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30525 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30527 * posix/bits/types.h (__qaddr_t): Remove.
30530 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30531 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30533 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30534 (ucontext_t): Use __ctx with uc_flags.
30535 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30536 (__ctxt): Likewise.
30537 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30539 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30540 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30542 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30543 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30545 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30547 (ucontext_t): Use __ctx with uc_flags.
30548 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30549 (ucontext_t): Use __ctx with uc_flags.
30550 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30551 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30552 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30553 (ucontext_t): Use __ctx with uc_flags.
30554 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30555 undefine further down.
30556 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30558 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30559 undefine further down.
30560 (ucontext_t): Use __ctx with uc_flags.
30561 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30562 undefine further down.
30563 (ucontext_t): Use __ctx with uc_flags.
30564 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30565 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30566 Rename uc_pad to __glibc_reserved1.
30567 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30568 undefine further down.
30569 (ucontext_t): Use __ctx with uc_flags.
30570 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30572 (ucontext_t): Use __ctx with uc_flags.
30573 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30574 __ctx with uc_flags.
30575 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30576 (ucontext_t): Use __ctx with uc_flags.
30577 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30578 __ctx with uc_flags.
30580 2017-08-09 Florian Weimer <fweimer@redhat.com>
30583 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30584 before early return.
30586 2017-08-09 Andreas Schwab <schwab@suse.de>
30589 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30593 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30594 tst-compat-forwarder.
30595 (modules-names): Add tst-compat-forwarder-mod.
30596 ($(objpfx)tst-compat-forwarder): Depend on
30597 $(objpfx)tst-compat-forwarder-mod.so.
30598 * nptl/tst-compat-forwarder.c: New file.
30599 * nptl/tst-compat-forwarder-mod.c: New file.
30601 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30603 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30606 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30607 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30609 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30611 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30612 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30613 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30614 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30616 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30619 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30622 * manual/setjmp.texi (getcontex): Document uc_stack value
30623 compatibility differences.
30625 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30627 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30628 (old_malloc_hook): Likewise.
30629 (old_memalign_hook): Likewise.
30630 (old_realloc_hook): Likewise.
30631 (struct hdr): Likewise.
30633 (freehook): Likewise.
30634 (mallochook): Likewise.
30635 (memalignhook): Likewise.
30636 (reallochook): Likewise.
30637 (mprobe): Likewise.
30638 * malloc/mtrace.c (mallwatch): Likewise.
30639 (tr_old_free_hook): Likewise.
30640 (tr_old_malloc_hook): Likewise.
30641 (tr_old_realloc_hook): Likewise.
30642 (tr_old_memalign_hook): Likewise.
30643 (tr_where): Likewise.
30644 (lock_and_info): Likewise.
30645 (tr_freehook): Likewise.
30646 (tr_mallochook): Likewise.
30647 (tr_reallochook): Likewise.
30648 (tr_memalignhook): Likewise.
30649 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30650 * misc/mmap.c (__mmap): Likewise.
30651 * misc/mmap64.c (__mmap64): Likewise.
30652 * misc/mprotect.c (__mprotect): Likewise.
30653 * misc/msync.c (msync): Likewise.
30654 * misc/munmap.c (__munmap): Likewise.
30655 * posix/posix_madvise.c (posix_madvise): Likewise.
30656 * socket/send.c (__send): Likewise.
30657 * socket/sendto.c (__sendto): Likewise.
30658 * socket/setsockopt.c (__setsockopt): Likewise.
30659 * string/memcmp.c (__ptr_t): Remove macro.
30660 (MEMCMP): Use void * instead of ptr_t.
30661 * string/memrchr.c (__ptr_t): Remove macro.
30662 (__memrchr): Use void * instead of ptr_t.
30663 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30664 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30665 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30666 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30667 * sysdeps/mach/msync.c (msync): Likewise.
30668 * sysdeps/mach/munmap.c (__munmap): Likewise.
30669 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30671 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30672 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30673 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30674 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30675 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30676 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30677 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30678 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30680 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30681 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30682 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30683 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30684 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30685 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30686 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30687 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30688 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30690 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30691 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30692 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30693 (MEMCMP): Use void * instead of ptr_t.
30694 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30695 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30697 2017-08-08 Florian Weimer <fweimer@redhat.com>
30699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30702 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30705 * csu/libc-tls.c: Include <startup.h> first.
30706 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30707 * elf/dl-tunables.c: Include <startup.h> first.
30708 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30709 * sysdeps/generic/startup.h: New file.
30710 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30711 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30712 (I386_USE_SYSENTER): New. Defined to 0.
30714 2017-08-08 Andreas Schwab <schwab@suse.de>
30717 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30718 * nptl/pt-system.c (system): Likewise.
30720 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30723 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30725 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30726 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30727 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30728 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30729 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30730 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30731 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30733 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30736 * bits/sigaction.h (struct sigaction): Define sa_handler and
30737 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30738 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30739 [__USE_XOPEN_EXTENDED].
30740 (SA_RESTART): Likewise.
30741 (SA_NODEFER): Likewise.
30742 (SA_RESETHAND): Likewise.
30743 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30744 (struct sigaction): Define sa_handler and sa_sigaction using union
30745 also for [__USE_XOPEN_EXTENDED].
30746 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30747 [__USE_XOPEN_EXTENDED].
30748 (SA_RESTART): Likewise.
30749 (SA_NODEFER): Likewise.
30750 (SA_RESETHAND): Likewise.
30751 * sysdeps/unix/sysv/linux/bits/sigaction.h
30752 (struct sigaction): Define sa_handler and sa_sigaction using union
30753 also for [__USE_XOPEN_EXTENDED].
30754 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30755 [__USE_XOPEN_EXTENDED].
30756 (SA_RESTART): Likewise.
30757 (SA_NODEFER): Likewise.
30758 (SA_RESETHAND): Likewise.
30759 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30760 (struct sigaction): Define sa_handler and sa_sigaction using union
30761 also for [__USE_XOPEN_EXTENDED].
30762 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30763 [__USE_XOPEN_EXTENDED].
30764 (SA_RESTART): Likewise.
30765 (SA_NODEFER): Likewise.
30766 (SA_RESETHAND): Likewise.
30767 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30768 (struct sigaction): Define sa_handler and sa_sigaction using union
30769 also for [__USE_XOPEN_EXTENDED].
30770 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30771 [__USE_XOPEN_EXTENDED].
30772 (SA_RESTART): Likewise.
30773 (SA_NODEFER): Likewise.
30774 (SA_RESETHAND): Likewise.
30775 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30776 (struct sigaction): Define sa_handler and sa_sigaction using union
30777 also for [__USE_XOPEN_EXTENDED].
30778 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30779 [__USE_XOPEN_EXTENDED].
30780 (SA_RESTART): Likewise.
30781 (SA_NODEFER): Likewise.
30782 (SA_RESETHAND): Likewise.
30783 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30784 (struct sigaction): Define sa_handler and sa_sigaction using union
30785 also for [__USE_XOPEN_EXTENDED].
30786 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30787 [__USE_XOPEN_EXTENDED].
30788 (SA_RESTART): Likewise.
30789 (SA_NODEFER): Likewise.
30790 (SA_RESETHAND): Likewise.
30791 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30792 (struct sigaction): Define sa_handler and sa_sigaction using union
30793 also for [__USE_XOPEN_EXTENDED].
30794 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30795 [__USE_XOPEN_EXTENDED].
30796 (SA_RESTART): Likewise.
30797 (SA_NODEFER): Likewise. Define directly rather than as alias.
30798 (SA_RESETHAND): Likewise.
30799 (SA_INTERRUPT): Define only for [__USE_MISC].
30800 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30801 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30803 (SA_STACK): Define only for [__USE_MISC].
30804 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30805 (struct sigaction): Define sa_handler and sa_sigaction using union
30806 also for [__USE_XOPEN_EXTENDED].
30807 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30808 [__USE_XOPEN_EXTENDED].
30809 (SA_RESTART): Likewise.
30810 (SA_NODEFER): Likewise.
30811 (SA_RESETHAND): Likewise.
30812 (SA_NOPTRACE): Define only for [__USE_MISC].
30814 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30815 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30816 (struct catalog_info): Likewise.
30817 * inet/htontest.c (lo): Likewise.
30819 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30820 * inet/inet_net.c (inet_network): Likewise.
30821 * inet/inet_netof.c (inet_netof): Likewise.
30822 * inet/rcmd.c (__ivaliduser): Likewise.
30823 (iruserok): Likewise.
30824 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30825 * locale/programs/locale-spec.c (locale_special): Likewise.
30826 * nis/nis_findserv.c (struct findserv_req): Likewise.
30827 (__nis_findfastest_with_timeout): Likewise.
30828 * nss/test-netdb.c (test_network): Likewise.
30829 * resolv/inet_neta.c (inet_neta): Likewise.
30830 * resolv/ns_date.c (ns_datetosecs): Likewise.
30831 (SECS_PER_DAY): Likewise.
30832 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30834 * resolv/res_comp.c (__putlong): Likewise.
30835 (__putshort): Likewise.
30836 (_getlong): Likewise.
30837 (_getshort): Likewise.
30838 * resolv/res_debug.c (p_time): Likewise.
30839 (precsize_ntoa): Likewise.
30840 (precsize_aton): Likewise.
30841 (latlon2ul): Likewise.
30842 (loc_aton): Likewise.
30843 (loc_ntoa): Likewise.
30844 * resolv/res_hconf.c (struct netaddr): Likewise.
30845 (_res_hconf_reorder_addrs): Likewise.
30846 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30847 (clnttcp_control): Likewise.
30848 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30849 (clntudp_control): Likewise.
30850 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30851 (clntunix_control): Likewise.
30852 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30853 * sunrpc/rpc/auth.h (union des_block): Likewise.
30854 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30855 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30856 (xdrrec_create): Likewise.
30857 (xdrrec_endofrecord): Likewise.
30858 (flush_out): Likewise.
30859 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30860 (xdrstdio_putlong): Likewise.
30861 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30864 * misc/sys/cdefs.h (__long_double_t): Remove.
30865 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30866 instead of __long_double_t,
30867 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30869 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30871 * benchtests/scripts/compare_strings.py: Avoid display error when
30872 running on a text terminal.
30874 * benchtests/scripts/compare_strings.py (main): Add an
30875 optional -base option.
30876 (process_results): New argument base_func.
30878 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30880 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30881 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30883 2017-08-07 Andreas Schwab <schwab@suse.de>
30885 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30886 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30887 * intl/Makefile ($(objpfx)tst-gettext.out)
30888 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
30889 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
30890 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30891 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30892 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
30893 * posix/Makefile ($(objpfx)globtest.out)
30894 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
30895 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
30896 ($(objpfx)tst-printf.out): Likewise.
30897 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
30898 ($(objpfx)tst-setcontext3.out): Likewise.
30900 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
30902 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30903 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
30904 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
30905 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
30906 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
30908 (CFLAGS-doasin-fma.c): New.
30909 (CFLAGS-dosincos-fma.c): Likewise.
30910 (CFLAGS-e_asin-fma.c): Likewise.
30911 (CFLAGS-e_atan2-fma.c): Likewise.
30912 (CFLAGS-e_exp-fma.c): Likewise.
30913 (CFLAGS-e_log-fma.c): Likewise.
30914 (CFLAGS-e_pow-fma.c): Likewise.
30915 (CFLAGS-halfulp-fma.c): Likewise.
30916 (CFLAGS-mpa-fma.c): Likewise.
30917 (CFLAGS-mpatan-fma.c): Likewise.
30918 (CFLAGS-mpatan2-fma.c): Likewise.
30919 (CFLAGS-mpexp-fma.c): Likewise.
30920 (CFLAGS-mplog-fma.c): Likewise.
30921 (CFLAGS-mpsqrt-fma.c): Likewise.
30922 (CFLAGS-mptan-fma.c): Likewise.
30923 (CFLAGS-s_atan-fma.c): Likewise.
30924 (CFLAGS-sincos32-fma.c): Likewise.
30925 (CFLAGS-slowexp-fma.c): Likewise.
30926 (CFLAGS-slowpow-fma.c): Likewise.
30927 (CFLAGS-s_sin-fma.c): Likewise.
30928 (CFLAGS-s_tan-fma.c): Likewise.
30929 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
30930 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
30931 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
30932 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
30933 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
30934 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
30935 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
30936 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
30937 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
30938 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
30939 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
30940 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
30941 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
30942 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
30943 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
30944 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
30945 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
30946 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
30947 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
30948 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
30949 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
30950 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
30951 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
30952 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
30953 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30954 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30955 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30956 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30957 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30958 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30959 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30961 2017-08-04 Joseph Myers <joseph@codesourcery.com>
30963 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
30964 (min_of_type_f): New macro.
30965 (min_of_type_): Likewise.
30966 (min_of_type_l): Likewise.
30967 (min_of_type_f128): Likewise.
30968 (min_of_type): Define using __MATH_TG and taking an expression
30970 (math_check_force_underflow): Pass expression instead of type to
30972 (math_check_force_underflow_nonneg): Likewise.
30974 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30976 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
30977 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
30978 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
30980 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30982 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30983 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
30984 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
30985 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
30986 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
30987 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
30988 memcpy_chk-nonshared, mempcpy_chk-nonshared,
30989 memmove_chk-nonshared and memset_chk-nonshared
30990 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
30991 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
30992 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
30993 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
30994 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
30995 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
30996 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
30997 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
30998 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
30999 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31000 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31001 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31002 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31003 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31004 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31005 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31006 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31007 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31008 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31009 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31010 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31011 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31012 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31013 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31014 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31015 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31016 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31017 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31018 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31019 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31020 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31021 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31022 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31023 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31024 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31025 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31026 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31027 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31028 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31029 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31030 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31031 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31032 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31033 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31034 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31035 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31036 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31037 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31038 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31039 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31040 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31041 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31042 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31043 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31044 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31045 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31046 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31047 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31048 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31049 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31050 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31051 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31052 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31053 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31054 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31055 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31056 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31057 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31058 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31059 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31060 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31061 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31062 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31063 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31064 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31065 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31066 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31067 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31068 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31069 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31070 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31071 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31072 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31073 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31074 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31075 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31076 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31077 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31078 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31079 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31080 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31081 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31082 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31083 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31084 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31085 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31086 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31087 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31088 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31089 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31090 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31091 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31092 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31093 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31094 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31095 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31096 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31097 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31099 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31101 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31102 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31103 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31104 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31105 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31106 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31107 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31108 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31109 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31110 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31111 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31112 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31113 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31114 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31115 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31116 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31117 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31118 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31119 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31120 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31121 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31122 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31123 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31124 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31125 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31126 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31127 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31128 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31129 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31130 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31131 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31132 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31133 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31134 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31135 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31136 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31137 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31138 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31139 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31140 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31141 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31142 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31143 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31144 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31145 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31146 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31147 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31148 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31149 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31150 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31151 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31152 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31153 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31154 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31155 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31156 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31157 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31158 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31159 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31161 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31162 Don't include <sysdep.h> nor <init-arch.h>.
31163 (_ZGVbN2v_cos): Removed.
31164 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31166 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31167 Don't include <sysdep.h> nor <init-arch.h>.
31168 (_ZGVdN4v_cos): Removed.
31169 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31171 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31172 Don't include <sysdep.h> nor <init-arch.h>.
31173 (_ZGVeN8v_cos): Removed.
31174 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31176 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31177 Don't include <sysdep.h> nor <init-arch.h>.
31178 (_ZGVbN2v_exp): Removed.
31179 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31181 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31182 Don't include <sysdep.h> nor <init-arch.h>.
31183 (_ZGVdN4v_exp): Removed.
31184 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31186 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31187 Don't include <sysdep.h> nor <init-arch.h>.
31188 (_ZGVeN8v_exp): Removed.
31189 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31191 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31192 Don't include <sysdep.h> nor <init-arch.h>.
31193 (_ZGVbN2v_log): Removed.
31194 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31196 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31197 Don't include <sysdep.h> nor <init-arch.h>.
31198 (_ZGVdN4v_log): Removed.
31199 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31201 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31202 Don't include <sysdep.h> nor <init-arch.h>.
31203 (_ZGVeN8v_log): Removed.
31204 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31206 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31207 Don't include <sysdep.h> nor <init-arch.h>.
31208 (_ZGVbN2vv_pow): Removed.
31209 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31211 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31212 Don't include <sysdep.h> nor <init-arch.h>.
31213 (_ZGVdN4vv_pow): Removed.
31214 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31216 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31217 Don't include <sysdep.h> nor <init-arch.h>.
31218 (_ZGVeN8vv_pow): Removed.
31219 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31221 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31222 Don't include <sysdep.h> nor <init-arch.h>.
31223 (_ZGVbN2v_sin): Removed.
31224 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31226 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31227 Don't include <sysdep.h> nor <init-arch.h>.
31228 (_ZGVbN4v_sin): Removed.
31229 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31231 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31232 Don't include <sysdep.h> nor <init-arch.h>.
31233 (_ZGVbN8v_sin): Removed.
31234 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31236 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31237 Don't include <sysdep.h> nor <init-arch.h>.
31238 (_ZGVbN2vvv_sincos): Removed.
31239 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31241 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31242 Don't include <sysdep.h> nor <init-arch.h>.
31243 (_ZGVdN4vvv_sincos): Removed.
31244 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31246 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31247 Don't include <sysdep.h> nor <init-arch.h>.
31248 (_ZGVeN8vvv_sincos): Removed.
31249 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31251 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31252 Don't include <sysdep.h> nor <init-arch.h>.
31253 (_ZGVeN16v_cosf): Removed.
31254 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31256 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31257 Don't include <sysdep.h> nor <init-arch.h>.
31258 (_ZGVbN4v_cosf): Removed.
31259 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31261 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31262 Don't include <sysdep.h> nor <init-arch.h>.
31263 (_ZGVdN8v_cosf): Removed.
31264 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31266 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31267 Don't include <sysdep.h> nor <init-arch.h>.
31268 (_ZGVeN16v_expf): Removed.
31269 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31271 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31272 Don't include <sysdep.h> nor <init-arch.h>.
31273 (_ZGVbN4v_expf): Removed.
31274 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31276 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31277 Don't include <sysdep.h> nor <init-arch.h>.
31278 (_ZGVdN8v_expf): Removed.
31279 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31281 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31282 Don't include <sysdep.h> nor <init-arch.h>.
31283 (_ZGVeN16v_logf): Removed.
31284 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31286 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31287 Don't include <sysdep.h> nor <init-arch.h>.
31288 (_ZGVbN4v_logf): Removed.
31289 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31291 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31292 Don't include <sysdep.h> nor <init-arch.h>.
31293 (_ZGVdN8v_logf): Removed.
31294 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31296 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31297 Don't include <sysdep.h> nor <init-arch.h>.
31298 (_ZGVeN16vv_powf): Removed.
31299 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31301 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31302 Don't include <sysdep.h> nor <init-arch.h>.
31303 (_ZGVbN4vv_powf): Removed.
31304 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31306 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31307 Don't include <sysdep.h> nor <init-arch.h>.
31308 (_ZGVdN8vv_powf): Removed.
31309 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31311 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31312 Don't include <sysdep.h> nor <init-arch.h>.
31313 (_ZGVeN16vvv_sincosf): Removed.
31314 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31316 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31317 Don't include <sysdep.h> nor <init-arch.h>.
31318 (_ZGVbN4vvv_sincosf): Removed.
31319 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31321 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31322 Don't include <sysdep.h> nor <init-arch.h>.
31323 (_ZGVdN8vvv_sincosf): Removed.
31324 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31326 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31327 Don't include <sysdep.h> nor <init-arch.h>.
31328 (_ZGVeN16v_sinf): Removed.
31329 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31331 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31332 Don't include <sysdep.h> nor <init-arch.h>.
31333 (_ZGVbN4v_sinf): Removed.
31334 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31336 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31337 Don't include <sysdep.h> nor <init-arch.h>.
31338 (_ZGVdN8v_sinf): Removed.
31340 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31342 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31343 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31344 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31345 s_rint-sse4_1 and s_rintf-sse4_1.
31346 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31347 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31348 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31349 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31350 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31351 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31352 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31353 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31354 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31355 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31356 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31357 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31359 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31360 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31361 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31362 (__ceilf): Removed.
31363 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31364 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31365 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31366 (__floor): Removed.
31367 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31368 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31369 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31370 (__floorf): Removed.
31371 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31372 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31373 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31374 (__nearbyint): Removed.
31375 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31376 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31377 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31378 (__nearbyintf): Removed.
31379 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31380 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31381 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31383 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31384 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31385 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31386 (__rintf): Removed.
31388 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31390 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31391 SHARED. Avoid dynamic relocation against main in static PIE.
31393 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31396 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31397 (LDFLAGS-tst-prelink): Likewise.
31399 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31401 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31402 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31403 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31404 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31405 (INTERNAL_SYSCALL_NCS): Likewise.
31406 (LOADARGS_1): Likewise.
31407 (LOADARGS_5): Likewise.
31408 (RESTOREARGS_1): Likewise.
31409 (RESTOREARGS_5): Likewise.
31411 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31413 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31414 (MEMPCPY_SYMBOL): Likewise.
31415 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31416 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31417 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31419 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31420 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31422 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31423 (__hidden_ver1): Don't use in libc.a.
31424 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31425 (__mempcpy): Don't create a weak alias in libc.a.
31426 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31428 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31429 (__hidden_ver1): Don't use in libc.a.
31431 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31433 * config.make.in (have-insert): New.
31434 * configure.ac (libc_cv_insert): New. Set to yes if linker
31435 supports INSERT in linker script.
31436 (AC_SUBST(libc_cv_insert): New.
31437 * configure: Regenerated.
31438 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31439 if $(have-insert) == yes.
31441 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31443 * elf/Makefile (tests): Add vismain only if
31444 $(have-protected-data) == yes.
31445 (tests-pie): Likewise.
31447 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31450 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31451 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31453 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31456 * sysdeps/i386/i586/memset.S
31457 (__memset_zero_constant_len_parameter): Removed.
31458 * sysdeps/i386/i686/memset.S
31459 (__memset_zero_constant_len_parameter): Likewise.
31460 * sysdeps/i386/i686/multiarch/memset_chk.S
31461 (__memset_zero_constant_len_parameter): Likewise.
31462 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31465 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31467 * stdlib/getentropy.c (getentropy): Change return type to int.
31469 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31471 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31473 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31475 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31477 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31478 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31480 (ieee_float_shape_type): Likewise.
31481 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31482 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31483 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31484 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31485 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31486 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31487 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31488 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31489 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31491 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31492 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31493 (__ieee754_yn): Likewise.
31494 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31495 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31496 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31498 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31499 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31500 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31501 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31502 (__erfc): Likewise.
31503 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31504 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31505 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31506 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31507 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31508 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31510 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31511 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31512 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31513 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31514 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31515 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31516 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31517 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31518 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31519 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31520 (__issignaling): Likewise.
31521 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31522 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31523 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31525 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31526 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31527 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31528 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31530 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31532 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31533 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31534 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31535 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31536 (__erfcf): Likewise.
31537 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31538 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31539 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31540 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31542 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31543 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31545 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31546 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31547 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31548 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31549 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31550 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31551 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31552 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31554 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31556 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31558 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31559 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31561 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31563 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31564 (__ieee754_ynl): Likewise.
31565 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31566 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31568 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31570 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31571 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31572 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31574 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31575 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31576 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31577 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31578 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31579 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31580 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31581 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31583 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31584 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31585 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31587 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31588 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31589 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31590 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31591 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31594 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31596 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31598 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31600 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31601 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31602 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31603 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31604 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31605 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31608 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31610 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31611 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31613 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31614 (__ieee754_remainderl): Likewise.
31615 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31616 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31617 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31618 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31620 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31621 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31623 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31624 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31625 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31626 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31627 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31628 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31630 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31631 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31632 (__ieee754_y0l): Likewise.
31635 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31636 (__ieee754_y1l): Likewise.
31639 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31640 (__ieee754_ynl): Likewise.
31641 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31642 (__ieee754_lgammal_r): Likewise.
31643 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31645 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31646 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31647 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31648 (__erfcl): Likewise.
31649 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31650 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31652 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31653 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31654 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31655 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31656 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31657 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31658 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31660 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31661 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31662 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31663 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31664 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31666 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31667 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31669 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31670 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31671 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31672 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31673 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31675 2017-08-03 Florian Weimer <fweimer@redhat.com>
31678 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31679 on memory allocation failure.
31681 2017-08-03 Alan Modra <amodra@gmail.com>
31683 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31684 tst-tlsopt-powerpc.c with function name change and no test harness.
31685 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31686 Call tls_get_addr_opt_test.
31687 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31688 (modules-names): Add mod-tlsopt-powerpc.
31689 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31690 (tst-tlsopt-powerpc): Depend on .so.
31691 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31692 define. Expand use in TLS_GD and TLS_LD.
31694 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31696 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31698 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31700 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31703 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31704 comparing size with that of double.
31705 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31706 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31707 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31708 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31709 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31710 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31711 unsigned __int128 types.
31713 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31715 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31716 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31717 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31718 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31719 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31721 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31723 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31725 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31727 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31729 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31730 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31731 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31732 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31733 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31734 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31735 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31737 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31740 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31741 bit-field expressions passed to sizeof or typeof.
31742 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31743 (__TGMATH_F128): Likewise.
31744 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31745 (__TGMATH_CF128): Likewise.
31746 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31747 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31748 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31749 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31750 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31751 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31752 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31753 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31754 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31755 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31756 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31757 (__TGMATH_UNARY_IMAG): Likewise.
31758 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31759 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31760 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31762 (define_vars_for_type): Handle bit_field type specially.
31763 (Tests.__init__): Declare structure with bit-field element.
31765 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31768 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31769 (MEMCPY_CHK): Define only if SHARED is defined.
31770 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31772 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31775 See ChangeLog.18 for earlier changes.