1 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
5 * NEWS: Updated for CVE-2019-7309.
6 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
7 upper 32 bits of RDX register for x32. Use unsigned Jcc
8 instructions, instead of signed.
9 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
10 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
12 2019-02-04 Florian Weimer <fweimer@redhat.com>
14 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
15 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
16 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
18 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
19 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
20 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
21 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
23 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
25 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
27 (posix_spawn_file_actions_addopen): Likewise.
28 (posix_spawn_file_actions_addclose): Likewise.
29 (posix_spawn_file_actions_adddup2): Likewise.
30 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
32 (posix_spawn_file_actions_addfchdir_np): Likewise.
34 2019-02-04 David Newall <glibc@davidnewall.com>
36 elf: Implement --preload option for the dynamic linker.
37 * elf/rtld.c (preloadarg): New variable.
38 (handle_preload_list): Pass through “where” argument to
40 (dl_main): Handle "--preload" and add second call to
42 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
43 (tst-rtld-preload-OBJS): Set variable.
44 (tst-rtld-preload.out): New target.
45 * elf/tst-rtld-preload.sh: New file.
47 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
49 * Makefile (testrun.sh): Exit in case of incorrect argument.
51 2019-02-04 Florian Weimer <fweimer@redhat.com>
53 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
56 2019-02-03 Florian Weimer <fweimer@redhat.com>
58 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
59 implicit overflow checks.
61 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
63 * stdlib/isomac.c: Include <unistd.h>.
65 2019-02-03 Florian Weimer <fweimer@redhat.com>
67 * include/time.h (__tzfile_default): Use int, not long int, for
69 * time/tzfile.c (struct ttinfo): Change type of the offset member
71 (__tzfile_read): Remove useless cast.
72 (__tzfile_default): Adjust prototype.
73 * time/tzset.c (tz_rule): Change type of the offset member to int.
74 (parse_offset): Change the type of the sign variable to int.
76 2019-02-03 Florian Weimer <fweimer@redhat.com>
79 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
80 * libio/getchar.c (getchar): Likewise.
81 * libio/getchar_u.c (getchar_unlocked): Likewise.
82 * libio/getwchar.c (getwchar): Likewise.
83 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
84 * libio/iogets.c (_IO_gets): Likewise.
85 * libio/vscanf.c (_IO_vscanf): Likewise.
86 * libio/vwscanf.c (__vwscanf): Likewise.
87 * libio/tst-bz24153.c: New file.
88 * libio/Makefile (tests): Add it.
90 2019-02-02 Florian Weimer <fweimer@redhat.com>
93 * manual/resource.texi (Basic Scheduling Functions): Add
94 portability note. Change process to task throughout the section.
95 Remove incorrect comment about sched_yield as it affects
96 tasks/threads, not entire processes.
97 * sysdeps/unix/sysv/linux/bits/posix_opt.h
98 (_POSIX_PRIORITY_SCHEDULING): Update comment.
100 2019-02-01 Joseph Myers <joseph@codesourcery.com>
102 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
103 * configure: Regenerated.
104 * manual/install.texi (Tools for Compilation): Update minimum GCC
106 * INSTALL: Regenerated.
108 2019-02-01 Florian Weimer <fweimer@redhat.com>
110 * support/support_test_compare_string.c
111 (support_test_compare_string): Use "string" in error message.
112 * support/tst-test_compare_string.c (do_test): Adjust.
114 2019-02-01 Florian Weimer <fweimer@redhat.com>
116 * support/support_format_address_family.c
117 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
119 2019-02-01 Florian Weimer <fweimer@redhat.com>
121 * manual/socket.texi (Internet Address Formats): Clarify the byte
122 order of struct sockaddr_in, struct sockaddr_in6. Document
123 sin6_flowinfo and sin6_scope_id.
125 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
127 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
128 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
129 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
130 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
131 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
132 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
134 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
136 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
137 [!MEMCHR](MEMCHR): Set to __memchr.
138 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
139 Add memchr_generic and memchr_nosimd.
140 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
141 (__libc_ifunc_impl_list): Add memchr ifuncs.
142 * sysdeps/aarch64/multiarch/memchr.c: New file.
143 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
144 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
146 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
148 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
150 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
151 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
152 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
153 Add IS_EMAG check for ifunc dispatch.
154 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
155 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
157 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
159 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
160 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
162 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
165 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
167 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
169 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
171 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
172 syscall-template file.
174 2019-01-31 Carlos O'Donell <carlos@redhat.com>
175 Torvald Riegel <triegel@redhat.com>
176 Rik Prohaska <prohaska7@gmail.com>
179 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
180 tst-rwlock-trywrlock-stall.
181 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
182 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
183 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
184 Set __wrphase_fute to 1 only if we started the write phase.
185 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
186 * nptl/tst-rwlock-trywrlock-stall.c: New file.
187 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
188 * support/xpthread_rwlock_destroy.c: New file.
189 * support/xthread.h: Declare xpthread_rwlock_destroy.
191 2019-02-01 Joseph Myers <joseph@codesourcery.com>
193 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
196 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
199 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
200 * libio/fileops.c (_IO_new_file_underflow): Likewise
201 * libio/wfileops.c (_IO_wfile_underflow): Likewise
202 * libio/putchar.c (putchar): Likewise.
203 * libio/putchar_u.c (putchar_unlocked): Likewise.
204 * libio/putwchar.c (putchar): Likewise.
205 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
206 * libio/tst-bz24051.c: New test.
207 * libio/Makefile (tests): Add tst-bz24051
209 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
211 regex: fix read overrun [BZ #24114]
212 Problem found by AddressSanitizer, reported by Hongxu Chen in:
213 https://debbugs.gnu.org/34140
214 * posix/regexec.c (proceed_next_node):
215 Do not read past end of input buffer.
217 2019-01-31 Florian Weimer <fweimer@redhat.com>
220 * nss/nss_files/files-alias.c (get_next_alias): Handle
221 continuation line without newline at the end.
222 * nss/tst-nss-files-alias-truncated.c: New file.
223 * nss/Makefile [$(build-shared)] (tests): Add
224 tst-nss-files-alias-truncated.
225 (tst-nss-files-alias-truncated): Link with libnss_files.so.
226 * support/namespace.h (struct support_chroot_configuration): Add
228 (struct support_chroot): Add path_aliases member.
229 * support/support_chroot.c (support_chroot_create): Handle
231 (support_chroot_free): Free path_aliases.
233 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
235 * version.h (RELEASE): Set to "development".
236 (VERSION): Set to "2.29.9000".
237 * NEWS: Add section for 2.30.
239 * version.h (RELEASE): Set to "stable".
240 (VERSION): Set to "2.29".
241 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
243 * NEWS: Add the list of bugs fixed in 2.29.
244 * manual/contrib.texi: Update contributors list with some more
246 * manual/install.texi: Update latest versions of packages
248 * INSTALL: Regenerated.
250 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
252 * po/be.po: Update translations.
253 * po/bg.po: Likewise.
254 * po/ca.po: Likewise.
255 * po/cs.po: Likewise.
256 * po/da.po: Likewise.
257 * po/de.po: Likewise.
258 * po/el.po: Likewise.
259 * po/eo.po: Likewise.
260 * po/es.po: Likewise.
261 * po/fi.po: Likewise.
262 * po/fr.po: Likewise.
263 * po/gl.po: Likewise.
264 * po/hr.po: Likewise.
265 * po/hu.po: Likewise.
266 * po/ia.po: Likewise.
267 * po/id.po: Likewise.
268 * po/it.po: Likewise.
269 * po/ja.po: Likewise.
270 * po/ko.po: Likewise.
271 * po/lt.po: Likewise.
272 * po/nb.po: Likewise.
273 * po/nl.po: Likewise.
274 * po/pl.po: Likewise.
275 * po/pt_BR.po: Likewise.
276 * po/ru.po: Likewise.
277 * po/rw.po: Likewise.
278 * po/sk.po: Likewise.
279 * po/sl.po: Likewise.
280 * po/sv.po: Likewise.
281 * po/tr.po: Likewise.
282 * po/uk.po: Likewise.
283 * po/vi.po: Likewise.
284 * po/zh_CN.po: Likewise.
285 * po/zh_TW.po: Likewise.
287 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
290 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
291 of $f3 register on $y_is_neg path.
293 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
296 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
297 sigaltstack.ss_flags.
299 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
302 * manual/time.texi (strftime): Document "%Ey".
303 * time/strftime_l.c (__strftime_internal): Set the default width
304 padding with zero of "%Ey" to 2.
307 * manual/time.texi (strftime): Document "%EC" and "%EY".
308 * time/Makefile (tests): Add tst-strftime2.
309 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
310 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
311 override padding for "%Ey".
312 If an optional flag ('_' or '-') is specified to "%EY", interpret the
313 "%Ey" in the subformat as if decorated with that flag.
314 * time/tst-strftime2.c: New file.
316 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
318 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
322 * elf/Makefile (tests): Add tst-audit13.
323 (modules-names): Add tst-audit13mod1.
324 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
326 * elf/rtld.c (dl_main): Handle invalid audit module version.
327 * elf/tst-audit13.c: New file.
328 * elf/tst-audit13mod1.c: Likewise.
330 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
332 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
333 returned by __hurd_at_flags.
334 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
335 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
336 directly instead of __hurd_file_name_lookup.
338 2019-01-21 Joseph Myers <joseph@codesourcery.com>
340 * scripts/build-many-glibcs.py (Context.checkout): Default
341 binutils version to 2.32 branch.
343 2019-01-21 Florian Weimer <fweimer@redhat.com>
347 resolv: Reject trailing characters in host names
348 * include/arpa/inet.h (__inet_aton_exact): Declare.
349 (inet_aton): Remove hidden prototype. No longer used internally.
350 * nscd/gai.c (__inet_aton): Do not define.
351 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
352 * nss/digits_dots.c (__inet_aton): Likewise.
353 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
354 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
355 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
356 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
357 (tst-resolv-trailing): Likewise.
358 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
360 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
361 Make static. Add endp parameter.
362 (__inet_aton_exact): New function.
363 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
364 (__inet_addr): Call inet_aton_end.
365 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
366 not just IPv6. Call __inet_aton_exact.
367 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
368 (tests): Make const. Add additional test cases with trailing
370 (do_test): Use array_length.
371 * resolv/tst-inet_aton_exact.c: New file.
372 * resolv/tst-resolv-trailing.c: Likewise.
373 * resolv/tst-resolv-nondecimal.c: Likewise.
374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
376 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
380 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
381 Clear the upper 32 bits of RSI register.
382 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
383 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
384 and tst-size_t-wcsnlen.
385 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
386 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
388 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
392 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
393 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
394 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
395 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
396 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
398 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
402 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
403 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
404 * sysdeps/x86_64/strcmp.S: Likewise.
405 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
406 tst-size_t-strncmp and tst-size_t-wcsncmp.
407 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
408 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
409 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
411 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
415 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
416 RDX_LP for length. Clear the upper 32 bits of RDX register.
417 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
418 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
419 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
420 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
422 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
426 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
427 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
428 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
429 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
431 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
435 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
436 length. Clear the upper 32 bits of RDX register.
437 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
438 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
440 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
442 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
444 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
446 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
450 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
451 length. Clear the upper 32 bits of RDX register.
452 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
453 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
454 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
456 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
457 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
459 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
463 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
464 upper 32 bits of RDX register.
465 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
466 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
468 * sysdeps/x86_64/x32/test-size_t.h: New file.
469 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
470 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
472 2019-01-18 Florian Weimer <fweimer@redhat.com>
475 resolv: Do not send queries for non-host-names in nss_dns.
476 * resolv/nss_dns/dns-host.c (check_name): New function.
477 (_nss_dns_gethostbyname2_r): Use it.
478 (_nss_dns_gethostbyname_r): Likewise.
479 (_nss_dns_gethostbyname4_r): Likewise.
481 2019-01-21 Florian Weimer <fweimer@redhat.com>
483 * resolv/inet_addr.c: Reformat to GNU style.
484 (__inet_addr, __inet_aton): Update comment.
486 2019-01-18 Florian Weimer <fweimer@redhat.com>
488 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
489 ("malloc: Use current (C11-style) atomics for fastbin access").
490 This commit introduces a substantial performance regression on
492 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
494 (_int_malloc): Use it and reindent.
495 (_int_free): Use CAS loop with
496 catomic_compare_and_exchange_val_rel.
497 (malloc_consolidate): Use atomic_exchange_acq.
500 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
502 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
504 (LDFLAGS-tst-minsigstksz-2): Likewise.
505 (LDFLAGS-tst-minsigstksz-3): Likewise.
506 (LDFLAGS-tst-minsigstksz-3a): Likewise.
507 (LDFLAGS-tst-minsigstksz-4): Likewise.
509 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
511 * manual/time.texi (strftime): Fix the wording to "alternative" rather
514 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
516 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
518 2019-01-16 Zack Weinberg <zackw@panix.com>
520 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
521 (xget_sigstack_location): New test support functions.
522 * support/xsigstack.c: New file, implementing them.
523 * support/tst-xsigstack.c: New test for them.
524 * support/Makefile: Update.
526 * signal/tst-minsigstksz-1.c
527 * signal/tst-minsigstksz-2.c
528 * signal/tst-minsigstksz-3.c
529 * signal/tst-minsigstksz-3a.c
530 * signal/tst-minsigstksz-4.c: New tests.
531 * signal/Makefile: Run them.
533 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
535 * po/libc.pot: Regenerate.
537 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
539 * math/libm-test-fma.inc (fma_test_data): Set
540 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
542 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
544 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
545 (do_test): Changed __vector __int128_t to __vector unsigned int.
547 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
550 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
551 stpcpy-avx2 and stpncpy-avx2.
552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
553 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
554 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
556 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
557 ifunc-strcpy.h}: rename header for a more generic name.
558 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
559 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
560 AVX unaligned load is fast and vzeroupper is preferred.
561 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
562 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
563 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
564 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
565 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
566 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
568 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
570 * argp/argp-help.c: Fix typo in comment.
571 * misc/sys/cdefs.h: Likewise.
572 * posix/regexec.c (sift_states_iter_mb): Likewise.
573 * socket/sockatmark.c: Likewise.
574 * socket/sys/socket.h: Likewise.
575 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
576 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
577 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
578 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
579 * sysdeps/unix/sockatmark.c: Likewise.
580 * time/strptime_l.c: Likewise.
582 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
584 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
585 missing space after the cast of "_NL_CURRENT".
587 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
589 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
590 ifdef to fix read of VSCR.
591 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
592 tst-ucontext-ppc64-vscr.c to test list.
593 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
595 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
597 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
600 2019-01-09 Jim Wilson <jimw@sifive.com>
602 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
604 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
606 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
607 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
608 __memcpy_falkor for ares.
609 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
611 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
614 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
617 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
618 4_FP_W_TYPEs are used for IEEE quad precision.
619 * soft-fp/extendhftf2.c: Likewise.
620 * soft-fp/extendsftf2.c: Likewise.
621 * soft-fp/extendxftf2.c: Likewise.
622 * soft-fp/trunctfdf2.c: Likewise.
623 * soft-fp/trunctfhf2.c: Likewise.
624 * soft-fp/trunctfsf2.c: Likewise.
625 * soft-fp/trunctfxf2.c: Likewise.
626 * sysdeps/alpha/ots_cvttx.c: Likewise.
627 * sysdeps/alpha/ots_cvtxt.c: Likewise.
628 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
629 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
630 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
631 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
632 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
633 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
634 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
635 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
636 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
637 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
638 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
639 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
640 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
641 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
642 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
643 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
645 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
648 * Makeconfig: Build libm with -fno-math-errno but build the remaining
649 code with -fmath-errno.
650 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
651 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
652 * string/test-strerror-errno.c: New file.
654 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
657 * localedata/locales/en_US (date_fmt): Add, set to
660 2019-01-07 Florian Weimer <fweimer@redhat.com>
663 * manual/arith.texi (Math Error Reporting): Use @code{errno}
664 instead of @var{errno}.
665 (Parsing of Integers): Likewise.
666 (Parsing of Floats): Likewise.
667 * manual/filesys.texi (Working with Directory Trees): Likewise.
668 (Temporary Files): Likewise.
669 * manual/job.texi (Terminal Access Functions): Likewise.
670 * manual/llio.texi (Synchronizing I/O): Likewise.
671 * manual/math.texi (SVID Random): Likewise.
672 * manual/message.texi (The catgets Functions): Likewise.
673 (Translation with gettext): Likewise.
674 (Locating gettext catalog): Likewise.
675 (Charset conversion in gettext): Likewise.
676 * manual/nss.texi (NSS Module Function Internals): Likewise.
677 * manual/search.texi (Hash Search Function): Likewise.
678 * manual/setjmp.texi (System V contexts): Likewise.
679 * manual/time.texi (Sleeping): Likewise.
680 * manual/users.texi (Lookup User): Likewise.
681 (Lookup Group): Likewise.
683 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
685 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
688 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
691 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
692 __builtin_unreachable for default case in switch.
693 (__ieee754_yn): Likewise.
694 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
695 (__ieee754_ynl): Likewise.
696 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
697 (__ieee754_ynl): Likewise.
698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
699 (__ieee754_ynl): Likewise.
701 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
703 * manual/maint.texi: Use @{ and @}.
705 2019-01-04 Florian Weimer <fweimer@redhat.com>
707 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
709 (do_in_chroot_1): Call it.
711 Improve error reporting in case it is not possible to create a
712 collision for the PTY name required by the test.
714 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
716 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
717 lll_wait_tid with timeout.
718 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
719 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
720 futex_reltimed_wait_cancelable for cancelabla mode.
721 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
722 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
724 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
725 * sysdeps/posix/waitid.c (__sigwait): Likewise.
726 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
727 SYSCALL_CANCEL_NCS): New macro.
728 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
729 (lll_timedwait_tid): Remove macro.
730 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
732 (lll_timedwait_tid): Likewise.
733 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
735 (lll_timedwait_tid): Likewise.
736 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
738 (lll_timedwait_tid): Likewise.
739 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
740 Use INTERNAL_SYSCALL_CANCEL.
741 * sysdeps/unix/sysv/linux/futex-internal.h
742 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
743 instead of __pthread_{enable,disable}_asynccancel.
744 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
745 (lll_futex_wait_cancel): New macro.
747 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
748 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
750 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
751 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
753 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
754 in backtrace analysis.
755 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
759 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
760 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
761 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
762 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
763 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
764 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
765 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
766 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
767 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
768 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
769 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
770 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
772 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
773 tst-cancel-wrappers.sh.
774 (generated): Remove tst-cancel-wrappers.out.
775 (tst-cancel-wrappers.out): Remove rule.
776 * nptl/tst-cancel-wrappers.sh: Remove file.
778 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
780 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
781 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
784 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
787 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
788 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
789 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
790 close-on-exec reset for adddup2 file action.
791 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
793 2019-01-03 Zack Weinberg <zackw@panix.com>
795 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
796 parameter. Only use deprecated scanf when __USE_GNU is defined
797 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
798 than 201103L, whichever is relevant for the language being compiled.
800 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
801 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
802 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
803 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
804 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
813 * stdio-common/fscanf.c
814 * stdio-common/scanf.c
815 * stdio-common/vfscanf.c
816 * stdio-common/vfwscanf.c
817 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
818 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
819 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
820 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
821 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
822 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
823 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
824 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
825 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
826 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
827 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
828 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
829 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
830 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
831 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
833 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
834 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
835 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
837 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
838 with a preprocessor macro.
840 * stdio-common/bug21.c, stdio-common/scanf14.c:
841 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
842 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
843 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
844 to xscanf, xfscanf, xsscanf.
846 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
847 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
848 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
849 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
851 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
852 override feature selection macros or provide definitions of u_char etc.
853 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
854 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
855 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
858 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
862 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
863 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
864 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
865 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
866 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
867 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
869 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
870 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
871 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
872 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
873 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
874 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
876 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
877 (sysdep_headers): Add termios-misc.h.
879 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
880 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
881 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
883 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
885 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
886 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
887 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
888 TCSAFLUSH): Move to termios-tcflow.h.
889 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
890 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
891 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
892 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
896 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
897 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
898 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
899 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
900 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
901 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
902 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
903 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
905 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
906 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
907 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
908 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
912 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
913 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
914 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
915 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
916 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
918 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
919 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
920 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
921 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
926 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
927 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
928 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
929 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
930 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
931 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
932 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
933 __MAX_BAUD): Move to termios-baud.h.
934 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
935 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
936 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
937 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
938 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
940 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
942 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
943 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
944 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
945 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
946 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
947 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
949 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
950 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
952 [USE_MISC] (XTABS): Likewise.
953 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
954 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
955 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
956 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
958 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
960 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
961 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
962 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
963 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
964 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
965 IUTF8): Move to termios-c_iflag.h.
966 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
967 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
968 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
969 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
971 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
973 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
974 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
975 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
976 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
977 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
978 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
979 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
980 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
981 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
982 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
983 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
984 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
986 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
987 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
988 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
989 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
992 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
994 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
996 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
998 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1000 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1002 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1003 _HAVE_C_OSPEED): Define.
1004 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1005 _HAVE_C_OSPEED): Likewise.
1006 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1007 _HAVE_C_OSPEED): Likewise.
1008 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1009 (cfsetospeed): Check for define value instead of existence.
1010 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1011 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1012 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1013 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1014 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1017 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1019 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1020 (TIOCSER_TEMT): Likewise.
1021 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1022 (TEOCSER_TEMT): Likewise.
1024 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1027 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1029 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1031 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1033 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1035 * sysdeps/htl/pt-barrierattr-setpshared.c
1036 (pthread_barrierattr_setpshared): Add stub warning.
1037 * sysdeps/htl/pt-condattr-setpshared.c
1038 (pthread_condattr_setpshared): Likewise.
1039 * sysdeps/htl/pt-mutexattr-setpshared.c
1040 (pthread_mutexattr_setpshared): Likewise.
1041 * sysdeps/htl/pt-rwlockattr-setpshared.c
1042 (pthread_rwlockattr_setpshared): Likewise.
1043 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1044 (pthread_mutexattr_setpshared): Likewise.
1046 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1048 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1049 constants to match with Linux 4.20.
1051 * sysdeps/mips/mips32/libm-test-ulps: Update.
1052 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1054 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1057 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1058 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1059 than __typeof (...) for the a_ptr variable.
1061 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1063 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1064 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1065 * libio/Makefile (tests): Add tst-sprintf-ub and
1067 (CFLAGS-tst-sprintf-ub.c): New variable.
1068 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1069 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1070 destination buffer and check for overflows in fortified mode.
1071 * libio/libioP.h (PRINTF_CHK): New macro.
1072 * libio/tst-sprintf-chk-ub.c: New file.
1073 * libio/tst-sprintf-ub.c: Likewise.
1075 2019-01-02 Florian Weimer <fweimer@redhat.com>
1078 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1081 2019-01-02 Florian Weimer <fweimer@redhat.com>
1083 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1085 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1087 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1090 * sysdeps/unix/sysv/linux/netpacket/packet.h
1091 (PACKET_IGNORE_OUTGOING): New macro.
1093 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1096 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1098 (riscv_flush_icache): New syscall.
1100 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1101 trailing whitespace removed.
1102 * scripts/config.guess: Update to version 2019-01-01.
1103 * scripts/config.sub: Update to version 2019-01-01.
1104 * scripts/move-if-change: Update from gnulib.
1106 * NEWS: Update copyright dates.
1107 * catgets/gencat.c (print_version): Likewise.
1108 * csu/version.c (banner): Likewise.
1109 * debug/catchsegv.sh: Likewise.
1110 * debug/pcprofiledump.c (print_version): Likewise.
1111 * debug/xtrace.sh (do_version): Likewise.
1112 * elf/ldconfig.c (print_version): Likewise.
1113 * elf/ldd.bash.in: Likewise.
1114 * elf/pldd.c (print_version): Likewise.
1115 * elf/sotruss.sh: Likewise.
1116 * elf/sprof.c (print_version): Likewise.
1117 * iconv/iconv_prog.c (print_version): Likewise.
1118 * iconv/iconvconfig.c (print_version): Likewise.
1119 * locale/programs/locale.c (print_version): Likewise.
1120 * locale/programs/localedef.c (print_version): Likewise.
1121 * login/programs/pt_chown.c (print_version): Likewise.
1122 * malloc/memusage.sh (do_version): Likewise.
1123 * malloc/memusagestat.c (print_version): Likewise.
1124 * malloc/mtrace.pl: Likewise.
1125 * manual/libc.texinfo: Likewise.
1126 * nptl/version.c (banner): Likewise.
1127 * nscd/nscd.c (print_version): Likewise.
1128 * nss/getent.c (print_version): Likewise.
1129 * nss/makedb.c (print_version): Likewise.
1130 * posix/getconf.c (main): Likewise.
1131 * scripts/test-installation.pl: Likewise.
1132 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1134 * All files with FSF copyright notices: Update copyright dates
1135 using scripts/update-copyrights.
1136 * locale/programs/charmap-kw.h: Regenerated.
1137 * locale/programs/locfile-kw.h: Likewise.
1139 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1141 * timezone/zdump.c: Update from tzcode 2018i.
1142 * timezone/zic.c: Likewise.
1144 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1146 regex: improve Gnulib port to AIX
1147 From the glibc point of view, this removes duplicate macro
1148 definitions and is obviously safe.
1149 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1150 * posix/regex_internal.h:
1151 (__attribute__, __attribute_warn_unused_result__):
1152 Remove; already defined elsewhere.
1154 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1157 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1158 copying operation. (ncopies had the wrong type, resulting in an
1159 integer wraparound and too few elements being copied.)
1161 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1164 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1165 <asm/syscalls.h> exists with __has_include__ before including it.
1167 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1169 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1172 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1174 * hurd/lookup-retry: Include <unistd.h>.
1175 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1176 Release it on return. Handle "pid" magical lookup retry.
1178 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1181 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1182 (t_fmt_ampm): Likewise.
1183 * localedata/locales/aa_ER (t_fmt): Likewise.
1184 (t_fmt_ampm): Likewise.
1185 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1186 (t_fmt_ampm): Likewise.
1187 * localedata/locales/aa_ET (t_fmt): Likewise.
1188 (t_fmt_ampm): Likewise.
1189 * localedata/locales/am_ET (t_fmt): Likewise.
1190 (t_fmt_ampm): Likewise.
1191 * localedata/locales/byn_ER (t_fmt): Likewise.
1192 (t_fmt_ampm): Likewise.
1193 * localedata/locales/om_ET (t_fmt): Likewise.
1194 (t_fmt_ampm): Likewise.
1195 * localedata/locales/sid_ET (t_fmt): Likewise.
1196 (t_fmt_ampm): Likewise.
1197 * localedata/locales/so_DJ (t_fmt): Likewise.
1198 (t_fmt_ampm): Likewise.
1199 * localedata/locales/so_ET (t_fmt): Likewise.
1200 (t_fmt_ampm): Likewise.
1201 * localedata/locales/so_SO (t_fmt): Likewise.
1202 (t_fmt_ampm): Likewise.
1203 * localedata/locales/ti_ER (t_fmt): Likewise.
1204 (t_fmt_ampm): Likewise.
1205 * localedata/locales/ti_ET (t_fmt): Likewise.
1206 (t_fmt_ampm): Likewise.
1207 * localedata/locales/tig_ER (t_fmt): Likewise.
1208 (t_fmt_ampm): Likewise.
1209 * localedata/locales/wal_ET (t_fmt): Likewise.
1210 (t_fmt_ampm): Likewise.
1212 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1213 * localedata/locales/ar_IN (t_fmt): Likewise.
1214 * localedata/locales/bhb_IN (t_fmt): Likewise.
1215 * localedata/locales/bho_IN (t_fmt): Likewise.
1216 * localedata/locales/bi_VU (t_fmt): Likewise.
1217 * localedata/locales/bn_BD (t_fmt): Likewise.
1218 * localedata/locales/bn_IN (t_fmt): Likewise.
1219 * localedata/locales/brx_IN (t_fmt): Likewise.
1220 * localedata/locales/doi_IN (t_fmt): Likewise.
1221 * localedata/locales/en_HK (t_fmt): Likewise.
1222 (t_fmt_ampm): Likewise.
1223 * localedata/locales/en_IN (t_fmt): Likewise.
1224 * localedata/locales/en_PH (t_fmt): Likewise.
1225 * localedata/locales/gu_IN (t_fmt): Likewise.
1226 * localedata/locales/hi_IN (t_fmt): Likewise.
1227 * localedata/locales/hif_FJ (t_fmt): Likewise.
1228 * localedata/locales/hne_IN (t_fmt): Likewise.
1229 * localedata/locales/kn_IN (t_fmt): Likewise.
1230 * localedata/locales/kok_IN (t_fmt): Likewise.
1231 * localedata/locales/ks_IN (t_fmt): Likewise.
1232 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1233 * localedata/locales/mag_IN (t_fmt): Likewise.
1234 * localedata/locales/mai_IN (t_fmt): Likewise.
1235 * localedata/locales/mjw_IN (t_fmt): Likewise.
1236 * localedata/locales/ml_IN (t_fmt): Likewise.
1237 * localedata/locales/mni_IN (t_fmt): Likewise.
1238 * localedata/locales/mr_IN (t_fmt): Likewise.
1239 * localedata/locales/ms_MY (t_fmt): Likewise.
1240 * localedata/locales/pa_IN (t_fmt): Likewise.
1241 * localedata/locales/raj_IN (t_fmt): Likewise.
1242 * localedata/locales/sa_IN (t_fmt): Likewise.
1243 * localedata/locales/sat_IN (t_fmt): Likewise.
1244 * localedata/locales/sd_IN (t_fmt): Likewise.
1245 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1246 * localedata/locales/tcy_IN (t_fmt): Likewise.
1247 * localedata/locales/the_NP (t_fmt): Likewise.
1248 * localedata/locales/to_TO (t_fmt): Likewise.
1249 * localedata/locales/ur_IN (t_fmt): Likewise.
1251 * localedata/locales/hif_FJ (d_t_fmt): Set to
1252 "%A %d %b %Y %I:%M:%S %p".
1253 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1255 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1256 * localedata/locales/ar_BH (t_fmt): Likewise.
1257 * localedata/locales/ar_DZ (t_fmt): Likewise.
1258 * localedata/locales/ar_EG (t_fmt): Likewise.
1259 * localedata/locales/ar_IQ (t_fmt): Likewise.
1260 * localedata/locales/ar_JO (t_fmt): Likewise.
1261 * localedata/locales/ar_KW (t_fmt): Likewise.
1262 * localedata/locales/ar_LB (t_fmt): Likewise.
1263 * localedata/locales/ar_LY (t_fmt): Likewise.
1264 * localedata/locales/ar_OM (t_fmt): Likewise.
1265 * localedata/locales/ar_QA (t_fmt): Likewise.
1266 * localedata/locales/ar_SD (t_fmt): Likewise.
1267 * localedata/locales/ar_SS (t_fmt): Likewise.
1268 * localedata/locales/ar_SY (t_fmt): Likewise.
1269 * localedata/locales/ar_TN (t_fmt): Likewise.
1270 * localedata/locales/ar_YE (t_fmt): Likewise.
1272 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1273 (t_fmt_ampm): Likewise.
1274 * localedata/locales/gez_ET (t_fmt): Likewise.
1275 (t_fmt_ampm): Likewise.
1277 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1278 (t_fmt_ampm): Likewise.
1279 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1281 * localedata/locales/zh_HK (t_fmt):
1282 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1284 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1285 because this locale does not use the 12-hour clock.
1286 (t_fmt): Set to "%Z %H:%M:%S".
1287 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1289 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1290 because this locale does not use the 12-hour clock.
1291 (t_fmt): Set to "%H:%M:%S %Z".
1292 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1294 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1295 because this locale does not use the 12-hour clock.
1296 (t_fmt): Set to "%T".
1297 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1298 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1300 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1301 because this locale does not use the 12-hour clock.
1302 (t_fmt): Set to "%H:%M:%S %Z".
1303 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1305 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1306 because this locale does not use the 12-hour clock.
1307 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1308 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1310 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1314 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1315 (t_fmt_ampm): Likewise.
1316 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1317 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1318 (d_fmt): Set to "%-d.%-m.%y".
1320 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1322 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1323 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1324 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1326 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1327 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1328 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1330 * support/blob_repeat.c (check_mul_overflow_size_t,
1331 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1333 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1335 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1337 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1339 regex: simplify Gnulib port
1340 This simplifies the code, by removing stuff intended for porting
1341 to Gnulib but no longer needed there.
1342 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1343 uses of libc_hidden_def, weak_alias.
1344 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1345 _Restrict_ except for public-facing headers.
1346 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1347 Remove; already defined elsewhere.
1348 * posix/regex.c, posix/regex_internal.h:
1349 Use __GNUC_PREREQ instead of rolling our own.
1350 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1352 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1354 * benchtests/bench-strlen.c (generic_strlen): New function.
1355 (memchr_strlen): New function.
1357 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1359 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1360 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1361 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1363 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1365 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1367 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1369 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1370 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1371 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1372 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1373 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1374 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1375 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1377 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1380 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1381 PLT reference in libc.so.
1382 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1383 _Q_lltoq and _Q_qtod PLT references in libc.so.
1385 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1387 * benchtests/bench-memchr.c: Cleanup defines.
1388 * benchtests/bench-memcmp.c: Likewise.
1389 * benchtests/bench-memset.c: Likewise.
1390 * benchtests/bench-memset-large.c: Likewise.
1391 * benchtests/bench-memset-walk.c: Likewise.
1392 * benchtests/bench-stpcpy.c: Likewise.
1393 * benchtests/bench-stpncpy.c: Likewise.
1394 * benchtests/bench-strcat.c: Likewise.
1395 * benchtests/bench-strchr.c: Likewise.
1396 * benchtests/bench-strcmp.c: Likewise.
1397 * benchtests/bench-strcpy.c: Likewise.
1398 * benchtests/bench-strcspn.c: Likewise.
1399 * benchtests/bench-string.h: Likewise.
1400 * benchtests/bench-strlen.c: Likewise.
1401 * benchtests/bench-strncat.c: Likewise.
1402 * benchtests/bench-strncmp.c: Likewise.
1403 * benchtests/bench-strncpy.c: Likewise.
1404 * benchtests/bench-strnlen.c: Likewise.
1405 * benchtests/bench-strpbrk.c: Likewise.
1406 * benchtests/bench-strrchr.c: Likewise.
1407 * benchtests/bench-strspn.c: Likewise.
1409 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1411 * stdlib/longlong.h: Update from GCC.
1414 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1415 * configure: Regenerated.
1416 * manual/install.texi (Tools for Compilation): Update minimum GCC
1418 * INSTALL: Regenerated.
1420 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1422 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1424 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1426 * malloc/malloc.c (mremap_chunk): Additional checks.
1428 2018-12-21 Mao Han <han_mao@c-sky.com>
1430 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1431 * scripts/build-many-glibcs.py: Add C-SKY targets.
1432 * sysdeps/csky/Implies: New file.
1433 * sysdeps/csky/Makefile: Likewise.
1434 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1435 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1436 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1437 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1438 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1439 * sysdeps/csky/abiv2/memmove.S: Likewise.
1440 * sysdeps/csky/abiv2/memset.S: Likewise.
1441 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1442 * sysdeps/csky/abiv2/start.S: Likewise.
1443 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1444 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1445 * sysdeps/csky/abiv2/strlen.S: Likewise.
1446 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1447 * sysdeps/csky/abort-instr.h: Likewise.
1448 * sysdeps/csky/atomic-machine.h: Likewise.
1449 * sysdeps/csky/bits/endian.h: Likewise.
1450 * sysdeps/csky/bits/fenv.h: Likewise.
1451 * sysdeps/csky/bits/link.h: Likewise.
1452 * sysdeps/csky/bits/setjmp.h: Likewise.
1453 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1454 * sysdeps/csky/bsd-setjmp.S: Likewise.
1455 * sysdeps/csky/configure: Likewise.
1456 * sysdeps/csky/configure.ac: Likewise.
1457 * sysdeps/csky/dl-machine.h: Likewise.
1458 * sysdeps/csky/dl-procinfo.c: Likewise.
1459 * sysdeps/csky/dl-procinfo.h: Likewise.
1460 * sysdeps/csky/dl-sysdep.h: Likewise.
1461 * sysdeps/csky/dl-tls.h: Likewise.
1462 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1463 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1464 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1465 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1466 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1467 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1468 * sysdeps/csky/fpu/fegetround.c: Likewise.
1469 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1470 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1471 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1472 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1473 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1474 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1475 * sysdeps/csky/fpu/fesetround.c: Likewise.
1476 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1477 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1478 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1479 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1480 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1481 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1482 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1483 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1484 * sysdeps/csky/fpu_control.h: Likewise.
1485 * sysdeps/csky/gccframe.h: Likewise.
1486 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1487 * sysdeps/csky/ldsodefs.h: Likewise.
1488 * sysdeps/csky/libc-tls.c: Likewise.
1489 * sysdeps/csky/linkmap.h: Likewise.
1490 * sysdeps/csky/machine-gmon.h: Likewise.
1491 * sysdeps/csky/memusage.h: Likewise.
1492 * sysdeps/csky/nofpu/Implies: Likewise.
1493 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1494 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1495 * sysdeps/csky/nptl/Makefile: Likewise.
1496 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1497 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1498 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1499 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1500 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1501 * sysdeps/csky/nptl/tls.h: Likewise.
1502 * sysdeps/csky/preconfigure: Likewise.
1503 * sysdeps/csky/sfp-machine.h: Likewise.
1504 * sysdeps/csky/sotruss-lib.c: Likewise.
1505 * sysdeps/csky/stackinfo.h: Likewise.
1506 * sysdeps/csky/sysdep.h: Likewise.
1507 * sysdeps/csky/tininess.h: Likewise.
1508 * sysdeps/csky/tst-audit.h: Likewise.
1509 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1510 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1511 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1512 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1513 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1514 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1515 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1516 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1517 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1518 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1519 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1520 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1521 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1522 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1523 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1524 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1525 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1526 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1527 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1528 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1529 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1530 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1531 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1532 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1533 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1534 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1535 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1536 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1537 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1538 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1539 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1540 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1541 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1542 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1543 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1544 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1545 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1546 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1547 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1548 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1549 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1550 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1551 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1552 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1554 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1556 * include/time.h (__difftime64): Add.
1557 * time/difftime.c (subtract): convert to 64-bit time.
1558 * time/difftime.c (__difftime64): Add.
1559 * time/difftime.c (__difftime): Wrap around __difftime64.
1561 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1563 * manual/examples/add.c: Remove redundant "if not".
1564 * manual/examples/argp-ex1.c: Likewise.
1565 * manual/examples/argp-ex2.c: Likewise.
1566 * manual/examples/argp-ex3.c: Likewise.
1567 * manual/examples/argp-ex4.c: Likewise.
1568 * manual/examples/atexit.c: Likewise.
1569 * manual/examples/db.c: Likewise.
1570 * manual/examples/dir.c: Likewise.
1571 * manual/examples/dir2.c: Likewise.
1572 * manual/examples/execinfo.c: Likewise.
1573 * manual/examples/filecli.c: Likewise.
1574 * manual/examples/filesrv.c: Likewise.
1575 * manual/examples/fmtmsgexpl.c: Likewise.
1576 * manual/examples/genpass.c: Likewise.
1577 * manual/examples/inetcli.c: Likewise.
1578 * manual/examples/inetsrv.c: Likewise.
1579 * manual/examples/isockad.c: Likewise.
1580 * manual/examples/longopt.c: Likewise.
1581 * manual/examples/memopen.c: Likewise.
1582 * manual/examples/memstrm.c: Likewise.
1583 * manual/examples/mkdirent.c: Likewise.
1584 * manual/examples/mkfsock.c: Likewise.
1585 * manual/examples/mkisock.c: Likewise.
1586 * manual/examples/mygetpass.c: Likewise.
1587 * manual/examples/pipe.c: Likewise.
1588 * manual/examples/popen.c: Likewise.
1589 * manual/examples/rprintf.c: Likewise.
1590 * manual/examples/search.c: Likewise.
1591 * manual/examples/select.c: Likewise.
1592 * manual/examples/setjmp.c: Likewise.
1593 * manual/examples/sigh1.c: Likewise.
1594 * manual/examples/sigusr.c: Likewise.
1595 * manual/examples/stpcpy.c: Likewise.
1596 * manual/examples/strdupa.c: Likewise.
1597 * manual/examples/strftim.c: Likewise.
1598 * manual/examples/subopt.c: Likewise.
1599 * manual/examples/swapcontext.c: Likewise.
1600 * manual/examples/termios.c: Likewise.
1601 * manual/examples/testopt.c: Likewise.
1602 * manual/examples/testpass.c: Likewise.
1603 * manual/examples/timeval_subtract.c: Likewise.
1605 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1607 * sysdeps/x86/fpu/math_private.h: New file.
1608 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1610 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1615 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1617 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1618 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1619 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1620 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1622 (_dl_show_auxv): Give a special treatment to
1623 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1624 and AT_L3_CACHEGEOMETRY.
1625 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1626 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1627 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1628 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1630 2018-12-19 Andreas Schwab <schwab@suse.de>
1632 * nscd/connections.c (check_use): Don't abort on invalid len.
1634 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1636 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1637 values in the 64bit value cases.
1639 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1645 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1651 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1654 (__gmtime64_r): Add.
1656 (__gmtime64_r): Add.
1657 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1663 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1666 (__localtime64_r): Add.
1668 (__localtime64_r): Add.
1669 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1671 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1673 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1674 kernel_sigction definition.
1676 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1678 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1680 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1681 __syscall_rt_sigaction.
1682 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1683 (kernel_sigaction): Use Linux generic defintion.
1685 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1686 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1687 (__syscall_rt_sigaction): Remove implementation.
1688 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1690 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1691 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1692 INTERNAL_SYSCALL): Remove definitions.
1693 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1694 action and signal set size.
1695 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1696 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1698 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1699 James Clarke <jrtc27@jrtc27.com>
1702 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1703 Define if SA_RESTORER is defined.
1704 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1705 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1707 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1708 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1710 (HAS_SA_RESTORER): Define.
1711 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1712 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1713 (HAS_SA_RESTORER): Define.
1714 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1715 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1716 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1717 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1718 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1720 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1722 * sysdeps/unix/sysv/linux/kernel-features.h
1723 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1724 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1725 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1726 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1727 (__ASSUME_ST_INO_64_BIT): Likewise.
1728 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1729 <kernel-features.h>.
1730 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1731 Remove conditional code.
1732 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1733 <kernel-features.h>.
1734 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1735 Remove conditional code.
1736 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1737 <kernel-features.h>.
1738 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1739 Remove conditional code.
1740 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1741 <kernel-features.h>.
1742 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1743 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1745 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1747 * sysdeps/s390/multiarch/ifunc-resolve.h
1748 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1749 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1750 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1751 Delete macro definition.
1752 (s390_libc_ifunc_init): Rename to
1753 s390_libc_ifunc_expr_stfle_init.
1754 * sysdeps/s390/bzero: Use
1755 s390_libc_ifunc_expr_stfle_init instead of
1756 s390_libc_ifunc_init.
1757 * sysdeps/s390/memcmp.c: Likewise.
1758 * sysdeps/s390/memcpy.c: Likewise.
1759 * sysdeps/s390/mempcpy.c: Likewise.
1760 * sysdeps/s390/memset.c: Likewise.
1762 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1764 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1765 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1767 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1769 * sysdeps/s390/multiarch/Makefile
1770 (sysdep_routines): Remove wmemcmp variants.
1771 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1772 * sysdeps/s390/multiarch/ifunc-impl-list.c
1773 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1774 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1775 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1776 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1777 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1778 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1779 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1780 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1782 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1784 * sysdeps/s390/multiarch/Makefile
1785 (sysdep_routines): Remove wmemset variants.
1786 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1787 * sysdeps/s390/multiarch/ifunc-impl-list.c
1788 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1789 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1790 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1791 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1792 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1793 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1794 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1795 * sysdeps/s390/ifunc-wmemset.h: New file.
1797 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1799 * sysdeps/s390/multiarch/Makefile
1800 (sysdep_routines): Remove wmemchr variants.
1801 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1802 * sysdeps/s390/multiarch/ifunc-impl-list.c
1803 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1804 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1805 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1806 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1807 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1808 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1809 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1810 * sysdeps/s390/ifunc-wmemchr.h: New file.
1812 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1814 * sysdeps/s390/multiarch/Makefile
1815 (sysdep_routines): Remove wcscspn variants.
1816 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1817 * sysdeps/s390/multiarch/ifunc-impl-list.c
1818 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1819 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1820 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1821 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1822 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1823 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1824 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1825 * sysdeps/s390/ifunc-wcscspn.h: New file.
1827 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1829 * sysdeps/s390/multiarch/Makefile
1830 (sysdep_routines): Remove wcspbrk variants.
1831 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1832 * sysdeps/s390/multiarch/ifunc-impl-list.c
1833 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1834 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1835 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1836 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1837 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1838 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1839 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1840 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1842 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1844 * sysdeps/s390/multiarch/Makefile
1845 (sysdep_routines): Remove wcsspn variants.
1846 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1847 * sysdeps/s390/multiarch/ifunc-impl-list.c
1848 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1849 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1850 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1851 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1852 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1853 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1854 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1855 * sysdeps/s390/ifunc-wcsspn.h: New file.
1857 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1859 * sysdeps/s390/multiarch/Makefile
1860 (sysdep_routines): Remove wcsrchr variants.
1861 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1862 * sysdeps/s390/multiarch/ifunc-impl-list.c
1863 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1864 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1865 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1866 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1867 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1868 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1869 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1870 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1872 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1874 * sysdeps/s390/multiarch/Makefile
1875 (sysdep_routines): Remove wcschrnul variants.
1876 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1877 * sysdeps/s390/multiarch/ifunc-impl-list.c
1878 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1879 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1880 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1881 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1882 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1883 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1884 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1885 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1887 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1889 * sysdeps/s390/multiarch/Makefile
1890 (sysdep_routines): Remove wcschr variants.
1891 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1892 * sysdeps/s390/multiarch/ifunc-impl-list.c
1893 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1894 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1895 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1896 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1897 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1898 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1899 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1900 * sysdeps/s390/ifunc-wcschr.h: New file.
1902 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1904 * sysdeps/s390/multiarch/Makefile
1905 (sysdep_routines): Remove wcsncmp variants.
1906 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1907 * sysdeps/s390/multiarch/ifunc-impl-list.c
1908 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1909 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1910 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1911 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1912 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1913 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1914 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1915 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1917 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1919 * sysdeps/s390/multiarch/Makefile
1920 (sysdep_routines): Remove wcscmp variants.
1921 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1922 * sysdeps/s390/multiarch/ifunc-impl-list.c
1923 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1924 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1925 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1926 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1927 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1928 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1929 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1930 * sysdeps/s390/ifunc-wcscmp.h: New file.
1932 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1934 * sysdeps/s390/multiarch/Makefile
1935 (sysdep_routines): Remove wcsncat variants.
1936 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1937 * sysdeps/s390/multiarch/ifunc-impl-list.c
1938 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1939 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1940 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1941 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1942 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1943 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1944 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1945 * sysdeps/s390/ifunc-wcsncat.h: New file.
1947 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1949 * sysdeps/s390/multiarch/Makefile
1950 (sysdep_routines): Remove wcscat variants.
1951 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1952 * sysdeps/s390/multiarch/ifunc-impl-list.c
1953 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1954 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1955 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1956 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1957 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1958 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1959 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1960 * sysdeps/s390/ifunc-wcscat.h: New file.
1962 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1964 * sysdeps/s390/multiarch/Makefile
1965 (sysdep_routines): Remove wcpncpy variants.
1966 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
1967 * sysdeps/s390/multiarch/ifunc-impl-list.c
1968 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
1969 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
1970 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
1971 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
1972 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
1973 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
1974 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
1975 * sysdeps/s390/ifunc-wcpncpy.h: New file.
1977 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1979 * sysdeps/s390/multiarch/Makefile
1980 (sysdep_routines): Remove wcsncpy variants.
1981 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
1982 * sysdeps/s390/multiarch/ifunc-impl-list.c
1983 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
1984 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
1985 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
1986 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
1987 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
1988 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
1989 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
1990 * sysdeps/s390/ifunc-wcsncpy.h: New file.
1992 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1994 * sysdeps/s390/multiarch/Makefile
1995 (sysdep_routines): Remove wcpcpy variants.
1996 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
1997 * sysdeps/s390/multiarch/ifunc-impl-list.c
1998 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
1999 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2000 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2001 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2002 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2003 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2004 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2005 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2007 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2009 * sysdeps/s390/multiarch/Makefile
2010 (sysdep_routines): Remove wcscpy variants.
2011 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2012 * sysdeps/s390/multiarch/ifunc-impl-list.c
2013 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2014 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2015 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2016 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2017 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2018 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2019 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2020 * sysdeps/s390/ifunc-wcscpy.h: New file.
2022 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2024 * sysdeps/s390/multiarch/Makefile
2025 (sysdep_routines): Remove wcsnlen variants.
2026 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2027 * sysdeps/s390/multiarch/ifunc-impl-list.c
2028 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2029 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2030 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2031 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2032 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2033 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2034 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2035 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2037 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2039 * sysdeps/s390/multiarch/Makefile
2040 (sysdep_routines): Remove wcslen variants.
2041 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2042 * sysdeps/s390/multiarch/ifunc-impl-list.c
2043 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2044 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2045 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2046 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2047 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2048 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2049 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2050 * sysdeps/s390/ifunc-wcslen.h: New file.
2052 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2054 * sysdeps/s390/multiarch/Makefile
2055 (sysdep_routines): Remove memrchr variants.
2056 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2057 * sysdeps/s390/multiarch/ifunc-impl-list.c
2058 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2059 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2060 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2061 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2062 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2063 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2064 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2065 * sysdeps/s390/ifunc-memrchr.h: New file.
2067 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2069 * sysdeps/s390/multiarch/Makefile
2070 (sysdep_routines): Remove memccpy variants.
2071 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2072 * sysdeps/s390/multiarch/ifunc-impl-list.c
2073 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2074 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2075 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2076 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2077 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2078 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2079 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2080 * sysdeps/s390/ifunc-memccpy.h: New file.
2082 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2084 * sysdeps/s390/multiarch/Makefile
2085 (sysdep_routines): Remove rawmemchr variants.
2086 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2087 * sysdeps/s390/multiarch/ifunc-impl-list.c
2088 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2089 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2090 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2091 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2092 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2093 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2094 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2095 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2097 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2099 * sysdeps/s390/multiarch/Makefile
2100 (sysdep_routines): Remove memchr variants.
2101 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2102 * sysdeps/s390/multiarch/ifunc-impl-list.c
2103 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2104 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2105 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2106 * sysdeps/s390/multiarch/memchr.c: Move to ...
2107 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2108 * sysdeps/s390/ifunc-memchr.h: New file.
2109 * sysdeps/s390/s390-64/memchr.S: Move to ...
2110 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2111 for 31/64bit and ifunc handling.
2112 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2113 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2114 * sysdeps/s390/s390-32/memchr.S: Likewise.
2116 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2118 * sysdeps/s390/multiarch/Makefile
2119 (sysdep_routines): Remove strcspn variants.
2120 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2121 * sysdeps/s390/multiarch/ifunc-impl-list.c
2122 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2123 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2124 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2125 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2126 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2127 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2128 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2129 * sysdeps/s390/ifunc-strcspn.h: New file.
2131 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2133 * sysdeps/s390/multiarch/Makefile
2134 (sysdep_routines): Remove strpbrk variants.
2135 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2136 * sysdeps/s390/multiarch/ifunc-impl-list.c
2137 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2138 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2139 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2140 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2141 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2142 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2143 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2144 * sysdeps/s390/ifunc-strpbrk.h: New file.
2146 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2148 * sysdeps/s390/multiarch/Makefile
2149 (sysdep_routines): Remove strspn variants.
2150 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2151 * sysdeps/s390/multiarch/ifunc-impl-list.c
2152 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2153 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2154 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2155 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2156 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2157 * sysdeps/s390/multiarch/strspn.c: Move to ...
2158 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2159 * sysdeps/s390/ifunc-strspn.h: New file.
2161 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2163 * sysdeps/s390/multiarch/Makefile
2164 (sysdep_routines): Remove strrchr variants.
2165 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2166 * sysdeps/s390/multiarch/ifunc-impl-list.c
2167 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2168 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2169 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2170 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2171 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2172 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2173 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2174 * sysdeps/s390/ifunc-strrchr.h: New file.
2176 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2178 * sysdeps/s390/multiarch/Makefile
2179 (sysdep_routines): Remove strchrnul variants.
2180 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2181 * sysdeps/s390/multiarch/ifunc-impl-list.c
2182 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2183 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2184 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2185 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2186 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2187 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2188 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2189 * sysdeps/s390/ifunc-strchrnul.h: New file.
2191 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2193 * sysdeps/s390/multiarch/Makefile
2194 (sysdep_routines): Remove strchr variants.
2195 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2196 * sysdeps/s390/multiarch/ifunc-impl-list.c
2197 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2198 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2199 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2200 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2201 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2202 * sysdeps/s390/multiarch/strchr.c: Move to ...
2203 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2204 * sysdeps/s390/ifunc-strchr.h: New file.
2206 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2208 * sysdeps/s390/multiarch/Makefile
2209 (sysdep_routines): Remove strncmp variants.
2210 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2211 * sysdeps/s390/multiarch/ifunc-impl-list.c
2212 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2213 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2214 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2215 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2216 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2217 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2218 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2219 * sysdeps/s390/ifunc-strncmp.h: New file.
2221 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2223 * sysdeps/s390/multiarch/Makefile
2224 (sysdep_routines): Remove strcmp variants.
2225 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2226 * sysdeps/s390/multiarch/ifunc-impl-list.c
2227 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2228 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2229 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2230 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2231 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2232 * sysdeps/s390/ifunc-strcmp.h: New file.
2233 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2234 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2235 for 31/64bit and ifunc handling.
2236 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2237 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2238 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2240 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2242 * sysdeps/s390/multiarch/Makefile
2243 (sysdep_routines): Remove strncat variants.
2244 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2245 * sysdeps/s390/multiarch/ifunc-impl-list.c
2246 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2247 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2248 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2249 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2250 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2251 * sysdeps/s390/multiarch/strncat.c: Move to ...
2252 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2253 * sysdeps/s390/ifunc-strncat.h: New file.
2255 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2257 * sysdeps/s390/multiarch/Makefile
2258 (sysdep_routines): Remove strcat variants.
2259 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2260 * sysdeps/s390/multiarch/ifunc-impl-list.c
2261 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2262 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2263 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2264 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2265 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2266 * sysdeps/s390/multiarch/strcat.c: Move to ...
2267 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2268 * sysdeps/s390/ifunc-strcat.h: New file.
2270 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2272 * sysdeps/s390/multiarch/Makefile
2273 (sysdep_routines): Remove stpncpy variants.
2274 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2275 * sysdeps/s390/multiarch/ifunc-impl-list.c
2276 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2277 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2278 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2279 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2280 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2281 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2282 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2283 * sysdeps/s390/ifunc-stpncpy.h: New file.
2285 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2287 * sysdeps/s390/multiarch/Makefile
2288 (sysdep_routines): Remove strncpy variants.
2289 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2290 * sysdeps/s390/multiarch/ifunc-impl-list.c
2291 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2292 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2293 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2294 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2295 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2296 * sysdeps/s390/ifunc-strncpy.h: New file.
2297 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2298 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2299 and adjust ifunc handling.
2300 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2301 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2302 and adjust ifunc handling.
2303 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2304 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2306 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2308 * sysdeps/s390/multiarch/Makefile
2309 (sysdep_routines): Remove stpcpy variants.
2310 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2311 * sysdeps/s390/multiarch/ifunc-impl-list.c
2312 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2313 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2314 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2315 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2316 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2317 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2318 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2319 * sysdeps/s390/ifunc-stpcpy.h: New file.
2321 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2323 * sysdeps/s390/multiarch/Makefile
2324 (sysdep_routines): Remove strcpy variants.
2325 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2326 * sysdeps/s390/multiarch/ifunc-impl-list.c
2327 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2328 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2329 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2330 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2331 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2332 * sysdeps/s390/ifunc-strcpy.h: New file.
2333 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2334 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2335 for 31/64bit and ifunc handling.
2336 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2337 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2338 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2342 * sysdeps/s390/multiarch/Makefile
2343 (sysdep_routines): Remove strnlen variants.
2344 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2345 * sysdeps/s390/multiarch/ifunc-impl-list.c
2346 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2347 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2348 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2349 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2350 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2351 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2352 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2353 * sysdeps/s390/ifunc-strnlen.h: New file.
2355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2357 * sysdeps/s390/multiarch/Makefile
2358 (sysdep_routines): Remove strlen variants.
2359 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2360 * sysdeps/s390/multiarch/ifunc-impl-list.c
2361 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2362 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2363 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2364 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2365 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2366 * sysdeps/s390/multiarch/strlen.c: Move to ...
2367 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2368 * sysdeps/s390/ifunc-strlen.h: New file.
2370 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2372 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2373 * sysdeps/s390/multiarch/ifunc-impl-list.c
2374 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2375 * sysdeps/s390/ifunc-memmem.h: New file.
2376 * sysdeps/s390/memmem.c: Likewise.
2377 * sysdeps/s390/memmem-c.c: Likewise.
2378 * sysdeps/s390/memmem-vx.c: Likewise.
2380 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2382 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2383 * sysdeps/s390/multiarch/ifunc-impl-list.c
2384 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2385 * sysdeps/s390/ifunc-strstr.h: New file.
2386 * sysdeps/s390/strstr.c: Likewise.
2387 * sysdeps/s390/strstr-c.c: Likewise.
2388 * sysdeps/s390/strstr-vx.c: Likewise.
2390 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2392 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2393 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2394 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2395 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2397 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2398 * sysdeps/s390/memmove-c.c: New file.
2399 * sysdeps/s390/memmove.c: Likewise.
2400 * sysdeps/s390/multiarch/ifunc-impl-list.c
2401 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2403 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2405 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2406 * sysdeps/s390/configure.ac: Add check for z13 support.
2407 * sysdeps/s390/configure: Regenerated.
2409 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2411 * sysdeps/s390/memcopy.h: New file.
2413 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2415 * sysdeps/s390/s390-32/bcopy.S: Remove.
2416 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2418 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2420 * sysdeps/s390/ifunc-memcpy.h: New File.
2421 * sysdeps/s390/memcpy.S: Move to ...
2422 * sysdeps/s390/memcpy-z900.S ... here.
2423 Move implementations from memcpy-s390x.s to here.
2424 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2425 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2426 Remove memcpy/mempcpy variants.
2427 * sysdeps/s390/Makefile (sysdep_routines):
2428 Add memcpy/mempcpy variants.
2429 * sysdeps/s390/multiarch/ifunc-impl-list.c
2430 (__libc_ifunc_impl_list): Adjust ifunc variants for
2432 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2434 * sysdeps/s390/memcpy.c: ... here.
2435 Adjust ifunc variants for memcpy.
2436 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2437 * sysdeps/s390/mempcpy.c: ... here.
2438 Adjust ifunc variants for mempcpy.
2439 * sysdeps/s390/mempcpy.S: Delete file.
2441 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2443 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2444 * sysdeps/s390/memcpy.S: ... here.
2445 Adjust to be usable for 31/64bit.
2446 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2447 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2448 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2449 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2450 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2451 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2452 Adjust to be usable for 31/64bit.
2453 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2454 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2455 * sysdeps/s390/multiarch/memcpy.c: ... here.
2456 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2458 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2460 * sysdeps/s390/ifunc-memcmp.h: New File.
2461 * sysdeps/s390/memcmp.S: Move to ...
2462 * sysdeps/s390/memcmp-z900.S ... here.
2463 Move implementations from memcmp-s390x.s to here.
2464 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2465 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2466 Remove memcmp variants.
2467 * sysdeps/s390/Makefile (sysdep_routines):
2468 Add memcmp variants.
2469 * sysdeps/s390/multiarch/ifunc-impl-list.c
2470 (__libc_ifunc_impl_list): Adjust ifunc variants for
2472 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2474 * sysdeps/s390/memcmp.c: ... here.
2475 Adjust ifunc variants for memcmp.
2477 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2479 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2480 * sysdeps/s390/memcmp.S: ... here.
2481 Adjust to be usable for 31/64bit.
2482 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2483 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2484 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2486 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2487 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2488 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2489 Adjust to be usable for 31/64bit.
2490 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2491 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2492 * sysdeps/s390/multiarch/memcmp.c: ... here.
2493 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2495 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2497 * sysdeps/s390/s390-32/bzero.S: Delete file.
2498 * sysdeps/s390/s390-64/bzero.S: Likewise.
2499 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2500 * sysdeps/s390/bzero.c: New file.
2501 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2502 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2503 * sysdeps/s390/multiarch/ifunc-impl-list.c
2504 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2506 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2508 * sysdeps/s390/ifunc-memset.h: New File.
2509 * sysdeps/s390/memset.S: Move to ...
2510 * sysdeps/s390/memset-z900.S ... here.
2511 Move implementations from memset-s390x.s to here.
2512 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2513 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2514 Remove memset variants.
2515 * sysdeps/s390/Makefile (sysdep_routines):
2516 Add memset variants.
2517 * sysdeps/s390/multiarch/ifunc-impl-list.c
2518 (__libc_ifunc_impl_list): Adjust ifunc variants for
2520 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2522 * sysdeps/s390/memset.c: ... here.
2523 Adjust ifunc variants for memset.
2525 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2527 * sysdeps/s390/s390-64/memset.S: Move to ...
2528 * sysdeps/s390/memset.S: ... here.
2529 Adjust to be usable for 31/64bit.
2530 * sysdeps/s390/s390-32/memset.S: Delete File.
2531 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2532 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2534 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2535 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2536 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2537 Adjust to be usable for 31/64bit.
2538 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2539 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2540 * sysdeps/s390/multiarch/memset.c: ... here.
2541 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2543 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2545 * sysdeps/s390/multiarch/ifunc-resolve.h
2546 (s390_libc_ifunc_init, s390_libc_ifunc,
2547 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2549 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2551 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2552 * sysdeps/s390/configure.ac: Add check for z10 support.
2553 * sysdeps/s390/configure: Regenerated.
2555 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2557 * sysdeps/i386/atomic-machine.h: Merged with ...
2558 * sysdeps/x86_64/atomic-machine.h: To ...
2559 * sysdeps/x86/atomic-machine.h: This. New file.
2561 2018-12-18 Florian Weimer <fweimer@redhat.com>
2563 Rewrite locale/gen-translit.pl in Python.
2564 * locale/Makefile (generated): Add C-translit.h.
2565 (before-compile): Add $(objpfx)C-translit.h.
2566 (C-translit.h): Move to $(objpfx). Create target directory.
2567 Build using Python script.
2568 * locale/gen-translit.py: New file.
2569 * locale/gen-translit.pl: Remove file.
2570 * locale/C-translit.h.in: Change comment character to '#' for
2571 easier parsing without a C preprocessor.
2572 * locale/C-translit.h: Remove generated file.
2573 * manual/install.texi (Tools for Compilation): Do not mention
2575 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2576 Remove locale/C-translit.h.
2577 * scripts/update-copyrights: Likewise.
2578 * INSTALL: Regenerate.
2580 2018-12-18 Florian Weimer <fweimer@redhat.com>
2583 * localedata/locales/bi_VU: Remove executable bit from file.
2585 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2588 (__localtime64): Add.
2589 * manual/maint.texi: Document Y2038 symbol handling.
2591 (__localtime64): Add.
2592 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2594 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2596 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2599 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2600 to allow extra macros from first or second sources.
2601 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2602 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2603 (tests-special): Add $(objpfx)tst-mman-consts.out.
2604 ($(objpfx)tst-mman-consts.out): New makefile target.
2606 2018-12-17 Mao Han <han_mao@c-sky.com>
2608 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2609 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2610 without stat64 system call support.
2611 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2612 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2613 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2614 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2615 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2616 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2617 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2618 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2619 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2620 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2621 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2623 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2625 regex: fix storage-exhaustion error
2627 * posix/regexec.c (get_subexp):
2628 Do not continue if storage is exhausted.
2630 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2632 regex: fix heap-use-after-free error
2634 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2635 https://debbugs.gnu.org/32592
2636 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2637 call extend_buffers which reallocates the re_string_t internal buffer.
2638 Local variable 'buf' was not updated in such case, resulting in
2640 * posix/regexec.c (get_subexp): Update 'buf' after call to
2643 2018-12-15 Florian Weimer <fweimer@redhat.com>
2645 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2646 (minimum_stride_size): Use it.
2647 (support_blob_repeat_allocate): Likewise.
2649 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2651 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2656 2018-12-14 Florian Weimer <fweimer@redhat.com>
2658 * manual/process.texi (Process Creation Concepts): Remove
2659 documentation of process (ID) lifetime. List more process
2660 creation functions. Reference Process Identification section.
2661 (Process Identification): Add information about process ID
2662 lifetime. Describe Linux thread/task IDs.
2663 * manual/signal.texi (Signaling Another Process): Mention that the
2664 signal is always sent to the process.
2666 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2668 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2669 and tst-ldbl-efgcvt.
2670 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2671 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2672 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2673 (fcvt_tests, output_error, output_r_error, do_test): Use the
2674 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2675 select the type of floating-point variables and arguments; to
2676 produce extra tests for double and conversion specifiers for
2677 printf; and to set the names of called functions.
2678 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2679 in tst-efgcvt-template.c.
2680 * misc/tst-ldbl-efgcvt.c: Likewise.
2682 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2684 * nss/Makefile (tst-nss-test3.out): New rule.
2686 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2688 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2691 2018-12-13 fanjinke <fanjinke@hygon.cn>
2693 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2696 2018-12-13 Andreas Schwab <schwab@suse.de>
2699 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2700 (__pthread_rwlock_rdlock_full): Update expected value for
2701 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2702 * nptl/tst-rwlock-pwn.c: New file.
2703 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2705 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2707 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2710 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2712 * benchtests/scripts/compare_bench.py (do_compare): write to
2713 stderr in casestat is not present.
2714 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2715 stderr in case timings field is not present. Also string showing
2716 the output filename goes into the stderr.
2718 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2720 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2721 and ZeroDivisorError exceptions.
2722 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2723 argument to loop through user provided statistics.
2724 * benchtests/scripts/compare_bench.py (main): Include the --stats
2727 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2729 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2732 2018-12-12 Florian Weimer <fweimer@redhat.com>
2734 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2735 clause to copyright header.
2737 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2740 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2741 registers saved in the stack frame.
2742 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2743 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2745 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2747 * include/bits/monetary-ldbl.h: New file.
2748 * include/bits/printf-ldbl.h: Likewise.
2749 * include/bits/stdio-ldbl.h: Likewise.
2750 * include/bits/stdlib-ldbl.h: Likewise.
2751 * include/bits/syslog-ldbl.h: Likewise.
2752 * include/bits/wchar-ldbl.h: Likewise.
2754 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2756 * libio/libio.h: Remove redirection for _IO_vfprintf.
2758 2018-12-11 Andreas Schwab <schwab@suse.de>
2760 * Makerules: Remove all references to abilist-pattern.
2761 (update-all-abi): Simplify find expression.
2763 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2766 * math/auto-libm-test-in: Add new test case.
2767 * math/auto-libm-test-out-pow: Regenerated.
2768 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2770 2018-12-10 DJ Delorie <dj@redhat.com>
2773 * support/test-container.c: Move postclean step to before we
2776 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2778 * scripts/gen-as-const.py (main): Handle --python option.
2779 * scripts/gen-py-const.awk: Remove.
2780 * Makerules (py-const-script): Use gen-as-const.py.
2781 ($(py-const)): Likewise.
2782 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2783 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2784 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2785 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2786 ~PTHREAD_MUTEX_NO_ELISION_NP.
2787 * manual/README.pretty-printers: Update reference to
2790 * scripts/glibcextract.py: New file.
2791 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2792 or tempfile. Import glibcexctract.
2793 (compute_c_consts): Remove. Moved to glibcextract.py.
2794 (gen_test): Update reference to compute_c_consts.
2796 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2797 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2798 * sysdeps/unix/sysv/linux/Makefile
2799 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2800 Redirect stderr as well as stdout.
2802 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2805 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2806 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2807 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2808 ALWAYS_USE_VSYSCALL.
2809 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2810 ALWAYS_USE_VSYSCALL.
2811 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2812 ALWAYS_USE_VSYSCALL.
2814 2018-12-10 Florian Weimer <fweimer@redhat.com>
2817 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2818 offset instead of count for clarity. Fix typo in comment.
2819 (__old_getdents64): Keep track of previous offset. Use it to call
2821 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2822 that d_off is never zero.
2824 2018-12-10 Andreas Schwab <schwab@suse.de>
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2827 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2829 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2830 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2832 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2834 * timezone/private.h: Update from tzcode 2018g.
2835 * timezone/tzfile.h: Likewise.
2836 * timezone/tzselect.ksh: Likewise.
2837 * timezone/zdump.c: Likewise.
2838 * timezone/zic.c: Likewise.
2840 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2843 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2844 (do_test): Adjust buffer size and fix format.
2846 2018-12-07 DJ Delorie <dj@redhat.com>
2849 * malloc/tst-tcfree3.c: New.
2850 * malloc/Makefile: Add it.
2852 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2854 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2856 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2858 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2859 used as a mask for the mode argument of __vfscanf_internal and
2860 __vfwscanf_internal.
2861 * stdio-common/vfscanf-internal.c
2862 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2863 (__strtof128_internal): Define to __wcstof128_internal.
2864 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2865 __strtof128_internal or __wcstof128_internal when the format of
2866 long double is the same as _Float128.
2868 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2870 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2871 * posix/confstr.c (confstr): Rename to __confstr.
2872 (__confstr): Add hidden def.
2873 (confstr): Add weak alias for __confstr.
2874 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2877 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2879 * NEWS: Mention getcpu.
2880 * include/sched.h (__getcpu): New libc_hidden_proto.
2881 * manual/resource.texi: Document getcpu.
2882 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2883 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2884 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2885 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2886 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2887 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2888 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2889 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2890 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2891 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2892 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2893 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2894 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2896 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2897 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2898 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2907 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2908 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2909 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2910 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2911 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2912 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2913 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2914 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2915 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2916 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2917 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2920 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2922 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2924 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2926 2018-12-07 Florian Weimer <fweimer@redhat.com>
2929 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2930 * posix/Versions (GLIBC_2.29): Export
2931 posix_spawn_file_actions_addfchdir_np.
2932 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2933 * posix/spawn_faction_destroy.c
2934 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2935 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2936 and the field action.fchdir_action.
2937 * posix/tst-spawn-chdir.c (add_chdir): New function.
2938 (do_test): Add do_fchdir loop. Call add_chdir.
2939 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2940 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2941 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2942 posix_spawn_file_actions_addfchdir_np.
2943 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2945 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2947 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2948 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2950 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2952 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2954 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2956 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2958 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2960 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2961 (GLIBC_2.29): Likewise.
2962 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2963 (GLIBC_2.29): Likewise.
2964 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2965 (GLIBC_2.29): Likewise.
2966 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2967 (GLIBC_2.29): Likewise.
2968 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2971 (GLIBC_2.29): Likewise.
2972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2973 (GLIBC_2.29): Likewise.
2974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2975 (GLIBC_2.29): Likewise.
2976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2977 (GLIBC_2.29): Likewise.
2978 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2980 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2982 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2984 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2985 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2987 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2989 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2991 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2994 2018-12-06 Joseph Myers <joseph@codesourcery.com>
2996 * manual/texinfo.tex: Update to version 2018-09-21.20 with
2997 trailing whitespace removed.
2998 * scripts/config.guess: Update to version 2018-11-28.
2999 * scripts/config.sub: Update to version 2018-11-28.
3000 * scripts/install-sh: Update to version 2018-03-11.20.
3001 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3002 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3004 2018-12-07 Florian Weimer <fweimer@redhat.com>
3008 * inet/tst-if_index-long.c: New file.
3009 * inet/Makefile (tests): Add tst-if_index-long.
3011 2018-12-07 Florian Weimer <fweimer@redhat.com>
3013 * support/check.h (support_record_failure_is_failed): Declare.
3014 * support/descriptors.h: New file.
3015 * support/support_descriptors.c: Likewise.
3016 * support/tst-support_descriptors.c: Likewise.
3017 * support/support_record_failure.c
3018 (support_record_failure_is_failed): New function.
3019 * support/Makefile (libsupport-routines): Add support_descriptors.
3020 (tests): Add tst-support_descriptors.
3022 2018-12-05 Zack Weinberg <zackw@panix.com>
3023 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3025 * stdio-common/vfprintf-internal.c
3026 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3027 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3028 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3029 and __no_long_double.
3030 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3031 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3032 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3033 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3034 and __nldbl_*syslog* functions.
3035 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3036 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3037 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3038 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3039 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3040 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3041 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3042 (__nldbl_vwprintf, __nldbl_wprintf):
3043 Directly call the appropriate __v*printf_internal routine, passing
3044 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3046 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3047 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3048 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3049 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3050 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3051 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3052 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3053 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3054 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3055 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3056 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3057 (__nldbl_syslog, __nldbl_vsyslog):
3058 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3059 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3061 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3064 2018-12-05 Zack Weinberg <zackw@panix.com>
3065 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3068 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3069 Moved here from debug/vsprintf_chk.c.
3070 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3071 and completion logic for the strfile to match exactly what
3072 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3073 _IO_str_init_static_internal instead of maxlen-1.
3074 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3075 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3076 __vsprintf_internal.
3078 * debug/vsprintf_chk.c (__vsprintf_chk)
3079 * debug/sprintf_chk.c (__sprintf_chk):
3080 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3081 'flags' argument is positive, and slen as maxlen. No need to lock
3082 the FILE and/or construct a temporary FILE. Minimize and normalize
3083 header inclusions and variable names. Do not libc_hidden_def anything.
3085 * debug/asprintf_chk.c (__asprintf_chk)
3086 * debug/dprintf_chk.c (__dprintf_chk)
3087 * debug/fprintf_chk.c (__fprintf_chk)
3088 * debug/fwprintf_chk.c (__fwprintf_chk)
3089 * debug/printf_chk.c (__printf_chk)
3090 * debug/snprintf_chk.c (__snprintf_chk)
3091 * debug/swprintf_chk.c (__swprintf_chk)
3092 * debug/vasprintf_chk.c (__vasprintf_chk)
3093 * debug/vdprintf_chk.c (__vdprintf_chk)
3094 * debug/vfprintf_chk.c (__vfprintf_chk)
3095 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3096 * debug/vprintf_chk.c (__vprintf_chk)
3097 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3098 * debug/vswprintf_chk.c (__vswprintf_chk)
3099 * debug/vwprintf_chk.c (__vwprintf_chk)
3100 * debug/wprintf_chk.c (__wprintf_chk):
3101 Directly call the corresponding vxxprintf_internal function, passing
3102 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3103 the FILE and/or construct a temporary FILE. Minimize and normalize
3104 header inclusions and variable names. Do not libc_hidden_def anything.
3106 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3107 __obstack_vprintf_internal.
3108 (__obstack_vprintf_chk): Convert into a wrapper that calls
3109 __obstack_vprintf_internal (these two functions already had the
3110 same code) and move to new file...
3111 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3113 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3114 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3115 * debug/Makefile (routines): Add vobprintf_chk.
3117 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3118 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3119 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3120 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3121 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3122 (__nldbl___obstack_vfprintf_chk):
3123 Directly call the corresponding vxxprintf_internal function,
3124 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3125 duplicate comparison of slen with 0 or maxlen from the corresponding
3126 non-__nldbl function.
3128 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3129 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3130 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3131 Remove libc_hidden_proto.
3133 * stdio-common/vfprintf-internal.c
3134 (__vfprintf_internal, __vfwprintf_internal):
3135 Do not check _IO_FLAGS2_FORTIFY.
3136 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3137 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3138 a comment explaining why it has the maxlen argument.
3139 (_IO_acquire_lock_clear_flags2_fct): Remove.
3140 (_IO_acquire_lock_clear_flags2): Remove.
3141 (_IO_release_lock): Remove conditional statement which will
3143 (_IO_acquire_lock): Remove variable which is now unused.
3144 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3145 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3147 * stdio-common/Makefile (tests): Add tst-bz11319 and
3148 tst-bz11319-fortify2.
3149 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3150 * stdio-common/tst-bz11319-fortify2.c: New file.
3151 * stdio-common/tst-bz11319.c: Likewise.
3153 2018-12-05 Zack Weinberg <zackw@panix.com>
3154 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3156 * misc/syslog.c: Include libioP.h, not iolibio.h.
3157 (__vsyslog_internal): New function with the former body of
3158 __vsyslog_chk; takes mode_flags argument same as
3159 __v*printf_internal. Call __vfprintf_internal directly.
3161 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3162 Remove libc_hidden_def.
3163 (__syslog, __syslog_chk): Use __vsyslog_internal.
3164 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3166 * include/sys/syslog.h: Add multiple inclusion guard.
3167 Add prototype for __vsyslog_internal.
3168 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3170 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3171 Use __vsyslog_internal.
3173 2018-12-05 Zack Weinberg <zackw@panix.com>
3174 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3176 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3177 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3178 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3180 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3181 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3183 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3184 Include wctype.h here if COMPILE_WPRINTF is defined.
3185 Define __vfprintf_internal or __vfwprintf_internal, depending
3187 Temporarily, on entry to this function, update mode_flags
3188 according to the environmental settings corresponding to
3189 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3190 Throughout, check mode_flags instead of __ldbl_is_dbl and
3191 _IO_FLAGS2_FORTIFY on the destination FILE.
3192 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3193 Include vfprintf-internal.c. Don't include wctype.h.
3194 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3195 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3197 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3198 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3200 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3202 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3203 and add mode_flags argument; use __vfprintf_internal.
3204 (__vdprintf): New function. Alias vdprintf to this.
3205 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3206 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3207 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3208 (__obstack_printf): Use __obstack_printf_internal.
3209 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3210 public aliases __vsnprintf and vsnprintf.
3211 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3213 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3214 public aliases _IO_vsprintf and vsprintf.
3215 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3216 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3217 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3218 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3219 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3221 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3222 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3223 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3224 * stdio-common/printf.c: Use __vfprintf_internal.
3226 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3227 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3228 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3230 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3231 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3232 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3233 __vfwprintf_internal.
3235 * libio/libio.h: Remove libc_hidden_proto and declaration for
3237 Remove declaration of _IO_vfwprintf.
3238 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3240 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3242 * include/stdio.h: Add prototype for __vasprintf.
3243 (__vsnprintf): Remove declaration, because there are no more
3245 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3246 declaration, because there are no more internal calls.
3248 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3249 __vsnprintf_internal, instead of _IO_vsnprintf.
3250 * argp/argp-help.c (__argp_error, __argp_failure): Use
3251 __vasprintf_internal, instead of _IO_vasprintf.
3252 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3253 redefine, because there are no more internal calls.
3255 2018-12-05 Zack Weinberg <zackw@panix.com>
3256 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3258 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3259 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3260 Include libio/strfile.h instead of libioP.h.
3261 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3262 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3263 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3264 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3265 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3266 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3267 necessary. Do not set __no_long_double. Normalize variable names.
3268 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3269 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3270 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3271 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3272 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3273 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3274 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3275 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3276 Do not set __no_long_double. Normalize variable names.
3278 2018-12-05 Zack Weinberg <zackw@panix.com>
3279 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3281 * stdio-common/isoc99_scanf.c
3282 * stdio-common/isoc99_fscanf.c
3283 * stdio-common/isoc99_sscanf.c
3284 * stdio-common/isoc99_vscanf.c
3285 * stdio-common/isoc99_vfscanf.c
3286 * stdio-common/isoc99_vsscanf.c
3287 * wcsmbs/isoc99_wscanf.c
3288 * wcsmbs/isoc99_fwscanf.c
3289 * wcsmbs/isoc99_swscanf.c
3290 * wcsmbs/isoc99_vwscanf.c
3291 * wcsmbs/isoc99_vfwscanf.c
3292 * wcsmbs/isoc99_vswscanf.c:
3293 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3294 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3295 No need to lock and unlock the FILE passed to that function.
3297 * stdio-common/vfscanf-internal.c
3298 (__vfscanf_internal, __vfwscanf_internal):
3299 Don't look at _IO_FLAGS2_SCANF_STD.
3300 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3301 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3302 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3304 2018-12-05 Zack Weinberg <zackw@panix.com>
3305 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3307 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3308 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3309 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3310 * libio/strfile.h: Add multiple inclusion guard.
3311 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3313 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3314 consistency with the other version of this file.
3315 (ldbl_compat_symbol): New macro.
3316 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3319 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3320 Define __vfscanf_internal or __vfwscanf_internal, depending on
3321 COMPILE_WSCANF; don't define any other public symbols.
3322 Remove errval and code to set errp.
3323 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3324 as the mode_flags argument.
3325 (encode_error, conv_error, input_error): Don't set errval.
3326 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3327 Include vfscanf-internal.c.
3328 * stdio-common/vfscanf.c: New file defining the public entry
3329 point vfscanf, which calls __vfscanf_internal.
3330 * stdio-common/vfwscanf.c: New file defining the public entry
3331 point vfwscanf, which calls __vfwscanf_internal.
3333 * stdio-common/iovfscanf.c: New file.
3334 * stdio-common/iovfwscanf.c: Likewise.
3336 * stdio-common/Makefile (routines): Add vfscanf-internal,
3337 vfwscanf-internal, iovfscanf, iovfwscanf.
3338 * stdio-common/Versions: Mention GLIBC_2.29, so that
3339 it can be used in SHLIB_COMPAT expressions.
3340 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3341 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3342 Call __vfscanf_internal, instead of _IO_vfscanf.
3343 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3345 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3348 * libio/iovsscanf.c: Clean up includes, when possible. Use
3349 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3350 __vfscanf_internal or __vfwscanf_internal directly.
3351 * libio/iovswscanf.c: Likewise.
3352 * libio/swscanf.c: Likewise.
3353 * libio/vscanf.c: Likewise.
3354 * libio/vwscanf.c: Likewise.
3355 * libio/wscanf.c: Likewise.
3356 * stdio-common/isoc99_fscanf.c: Likewise.
3357 * stdio-common/isoc99_scanf.c: Likewise.
3358 * stdio-common/isoc99_sscanf.c: Likewise.
3359 * stdio-common/isoc99_vfscanf.c: Likewise.
3360 * stdio-common/isoc99_vscanf.c: Likewise.
3361 * stdio-common/isoc99_vsscanf.c: Likewise.
3362 * stdio-common/scanf.c: Likewise.
3363 * stdio-common/sscanf.c: Likewise.
3364 * wcsmbs/isoc99_fwscanf.c: Likewise.
3365 * wcsmbs/isoc99_swscanf.c: Likewise.
3366 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3367 * wcsmbs/isoc99_vswscanf.c: Likewise.
3368 * wcsmbs/isoc99_vwscanf.c: Likewise.
3369 * wcsmbs/isoc99_wscanf.c: Likewise.
3371 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3374 (__tz_compute): Replace time_t with __time64_t.
3375 (__tz_convert): Replace time_t* with __time64_t.
3376 (__offtime): Replace time_t* with __time64_t.
3378 (__gmtime_r): Adjust call to __tz_convert.
3381 (__localtime_r): Likewise.
3382 (localtime): Likewise.
3383 * time/offtime.c: Replace time_t with __time64_t.
3384 * time/tzset.c: Likewise.
3386 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3388 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3389 dynamic linker unless [$(run-built-tests) = yes].
3391 2018-12-03 DJ Delorie <dj@delorie.com>
3393 * support/test-container.c (check_for_unshare_hints): New.
3394 (main): Call it if unshare fails. Add support for "su" scriptlet
3397 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3399 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3400 'START' to indicate that start text should be output.
3401 (gen_test): Likewise.
3402 (main): Generate 'START' for first symbol or '--' line, or at end
3403 of input if not previously generated.
3405 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3408 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3409 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3410 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3411 ALWAYS_USE_VSYSCALL.
3413 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3416 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3419 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3422 * locale/programs/localedef.c: Declare boolean hard_links default true.
3423 (options): Add --no-hard-links option.
3424 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3425 * locale/programs/localedef.h: Declare prototype for hard_links.
3426 * locale/programs/locfile.c (write_locale_data): Don't use hard
3427 links if hard_links is false.
3429 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3431 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3433 (__cache_sysconf): Likewise.
3434 (init_cacheinfo): Likewise.
3435 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3436 populate COMMON_CPUID_INDEX_80000007 and
3437 COMMON_CPUID_INDEX_80000008.
3438 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3439 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3440 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3441 (init_cpu_features): Use _Static_assert on
3442 index_arch_Fast_Unaligned_Load.
3443 __get_cpuid_registers and __get_arch_feature. Updated for
3444 cpu_features_basic. Set stepping in cpu_features.
3445 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3446 (FEATURE_INDEX_2): New.
3447 (FEATURE_INDEX_MAX): Changed to enum.
3448 (COMMON_CPUID_INDEX_D_ECX_1): New.
3449 (COMMON_CPUID_INDEX_80000007): Likewise.
3450 (COMMON_CPUID_INDEX_80000008): Likewise.
3451 (cpuid_registers): Likewise.
3452 (cpu_features_basic): Likewise.
3453 (CPU_FEATURE_USABLE): Likewise.
3454 (bit_arch_XXX_Usable): Likewise.
3455 (cpu_features): Use cpuid_registers and cpu_features_basic.
3456 (bit_arch_XXX): Reweritten.
3457 (bit_cpu_XXX): Likewise.
3458 (index_cpu_XXX): Likewise.
3459 (reg_XXX): Likewise.
3460 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3462 (CHECK_CPU_FEATURE): New.
3463 (CHECK_CPU_FEATURE_USABLE): Likewise.
3464 (cpu_kinds): Likewise.
3465 (do_test): Print vendor, family, model and stepping. Check
3466 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3467 (TEST_FUNCTION): Removed.
3468 Include <support/test-driver.c> instead of
3469 "../../test-skeleton.c".
3470 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3471 Check POPCNT instead of POPCOUNT.
3472 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3474 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3476 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3477 there is no element in `consts'.
3479 2018-12-01 Florian Weimer <fweimer@redhat.com>
3481 * support/support_capture_subprocess.c
3482 (support_capture_subprocess): Check that pipe descriptors have
3483 expected values. Close original pipe descriptors in subprocess.
3485 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3488 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3489 attr with __pthread_default_barrierattr.
3490 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3491 attr with __pthread_default_condattr.
3492 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3493 attr with __pthread_default_mutexattr.
3494 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3495 attr with __pthread_default_rwlockattr.
3497 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3499 * manual/tunables.texi (POSIX Thread Tunables): New node.
3500 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3501 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3502 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3503 __pthread_tunables_init.
3504 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3505 (max_adaptive_count): Define.
3506 * nptl/pthread_mutex_conf.c: New file.
3507 * nptl/pthread_mutex_conf.h: New file.
3508 * sysdeps/generic/adaptive_spin_count.h: New file.
3509 * sysdeps/nptl/dl-tunables.list: New file.
3510 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3511 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3512 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3515 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3518 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3519 * stdlib/on_exit.c (__on_exit): Likewise.
3520 * stdlib/Makefile (tests): Add tst-bz20544.
3521 * stdlib/tst-bz20544.c: New test.
3523 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3526 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3527 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3530 2018-11-30 Florian Weimer <fweimer@redhat.com>
3532 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3533 Extend error logging.
3534 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3537 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3539 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3540 __sigismember instead of sigismember.
3541 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3542 cancel_handler): New definitions.
3543 (do_system): Use posix_spawn instead of fork and execl and remove
3545 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3546 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3547 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3548 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3549 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3550 * sysdeps/unix/sysv/linux/system.c: Likewise.
3554 * NEWS: Add new semantic for atfork with popen and system.
3555 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3558 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3561 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3562 modification order when accessing reloc_result->addr.
3563 * include/link.h (reloc_result): Add field init.
3564 * nptl/Makefile (tests): Add tst-audit-threads.
3565 (modules-names): Add tst-audit-threads-mod1 and
3566 tst-audit-threads-mod2.
3567 Add rules to build tst-audit-threads.
3568 * nptl/tst-audit-threads-mod1.c: New file.
3569 * nptl/tst-audit-threads-mod2.c: Likewise.
3570 * nptl/tst-audit-threads.c: Likewise.
3571 * nptl/tst-audit-threads.h: Likewise.
3573 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3575 * scripts/gen-as-const.py: New file.
3576 * scripts/gen-as-const.awk: Remove.
3577 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3579 ($(objpfx)test-as-const-%.c): Likewise.
3581 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3583 * elf/dl-exception.c: Include <_itoa.h>.
3585 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3587 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3588 returned by __f_setlk.
3590 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3591 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3593 * elf/Makefile (tests-internal): Add tst-create_format1.
3594 * elf/dl-exception.c (_dl_exception_create_format): Support
3596 * elf/tst-create_format1.c: New file.
3598 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3600 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3601 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3603 * argp/argp-help.c (__argp_failure): Likewise.
3605 2018-11-29 Mao Han <han_mao@c-sky.com>
3607 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3608 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3609 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3610 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3611 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3612 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3613 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3614 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3615 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3616 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3617 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3618 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3619 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3620 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3621 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3622 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3623 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3624 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3625 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3626 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3627 (R_CKCORE_TLS_TPOFF32): New defines.
3629 2018-11-29 Florian Weimer <fweimer@redhat.com>
3631 * posix/Makefile (before-compile): Remove testcases.h and
3633 (generated): Add testcases.h and ptestcases.h.
3634 (testcases.h, ptestcases.h): Move to $(objpfx).
3635 (runtests.o): Add dependency on testcases.h.
3636 (runptests.o): Add dependency on ptestcases.h.
3637 * posix/testcases.h, posix/ptestcases.h: Remove files.
3638 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3639 not touch posix/testcases.h and posix/ptestcases.h.
3641 2018-11-28 Florian Weimer <fweimer@redhat.com>
3643 support: Add signal support to support_capture_subprocess_check.
3644 * support/capture_subprocess.h (support_capture_subprocess_check):
3645 Adjust comment and rename parameter.
3646 * support/support_capture_subprocess_check.c
3647 (print_actual_status): New function.
3648 (support_capture_subprocess_check): Support negative
3649 status_or_signal. Call print_actual_status.
3650 * support/tst-support_capture_subprocess.c (do_test): Call
3651 support_capture_subprocess_check.
3652 * libio/tst-vtables-common.c (termination_status)
3653 (init_termination_status): Remove.
3654 (check_for_termination): Adjust support_capture_subprocess_check
3656 (do_test): Remove call to init_termination_status.
3658 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3660 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3661 source directory instead of a copy.
3662 (CommandList.create_copy_dir): Remove.
3664 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3666 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3668 2018-11-28 Florian Weimer <fweimer@redhat.com>
3670 * support/support.h (support_quote_string): Do not use str
3673 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3675 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3676 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3678 2018-11-27 Florian Weimer <fweimer@redhat.com>
3680 * support/support.h (support_quote_string): Declare.
3681 * support/support_quote_string.c: New file.
3682 * support/tst-support_quote_string.c: Likewise.
3683 * support/Makefile (libsupport-routines): Add
3684 support_quote_string.
3685 (tests): Add tst-support_quote_string.
3687 2018-11-27 Florian Weimer <fweimer@redhat.com>
3691 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3692 descriptor leak in case of ENODEV error.
3694 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3697 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3698 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3699 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3701 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3703 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3704 Error for unknown lines.
3706 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3708 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3709 Touch additional files.
3711 2018-11-26 Florian Weimer <fweimer@redhat.com>
3714 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3717 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3720 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3721 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3722 SHARED. Include sysdep.h.
3723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3724 ALWAYS_USE_VSYSCALL.
3725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3726 ALWAYS_USE_VSYSCALL.
3728 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3731 * nptl/Makefile (tests-static): Add tst-cond11-static.
3733 * nptl/tst-cond11-static.c: New File.
3734 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3735 tst-affinity-static.
3737 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3739 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3740 (USE_VSYSCALL): Likewise.
3741 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3742 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3744 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3749 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3752 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3753 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3756 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3758 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3759 (tst-cet-legacy-1a-ARGS): New.
3760 ($(objpfx)tst-cet-legacy-1a): New target.
3761 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3763 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3765 * conform/conformtest.py (CompileSubTest.__init__): Set
3766 self.run_early to False.
3767 (ExecuteSubTest.__init__): Likewise.
3768 (HeaderTests.run): Try running all non-optional, non-XFAILed
3769 compilation tests in a single execution of the compiler.
3771 * conform/conformtest.py (CompileSubTest): New class.
3772 (ExecuteSubTest): Likewise.
3773 (ElementTest.run): Rename to gen_subtests. Append tests to
3774 self.subtests instead of running them.
3775 (ConstantTest.run): Likewise.
3776 (SymbolTest.run): Likewise.
3777 (TypeTest.run): Likewise.
3778 (TagTest.run): Likewise.
3779 (FunctionTest.run): Likewise.
3780 (VariableTest.run): Likewise.
3781 (MacroFunctionTest.run): Likewise.
3782 (MacroStrTest.run): Likewise.
3783 (HeaderTests.handle_test_line): Generate subtests for tests.
3784 (HeaderTests.run): Run subtests for tests.
3786 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3788 * math/Versions (GLIBC_2.29): Add pow.
3789 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3791 * math/w_pow.c: New file.
3792 * sysdeps/i386/fpu/w_pow.c: New file.
3793 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3794 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3795 and add necessary aliases.
3796 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3797 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3798 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3799 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3800 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3801 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3802 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3803 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3804 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3805 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3806 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3807 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3808 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3809 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3810 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3815 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3816 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3817 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3818 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3819 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3820 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3821 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3822 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3824 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3825 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3826 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3828 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3830 * math/Versions (GLIBC_2.29): Add log2.
3831 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3833 * math/w_log2.c: New file.
3834 * sysdeps/i386/fpu/w_log2.c: New file.
3835 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3836 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3837 and add necessary aliases.
3838 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3839 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3840 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3841 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3842 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3843 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3844 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3845 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3846 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3847 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3848 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3849 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3850 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3851 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3852 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3857 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3858 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3859 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3860 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3861 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3862 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3863 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3865 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3867 * math/Versions (GLIBC_2.29): Add log.
3868 * math/w_log_compat.c (__log_compat): Change to versioned compat
3870 * math/w_log.c: New file.
3871 * sysdeps/i386/fpu/w_log.c: New file.
3872 * sysdeps/ia64/fpu/e_log.S: Update.
3873 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3874 and add necessary aliases.
3875 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3876 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3877 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3878 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3879 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3880 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3881 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3882 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3883 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3884 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3885 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3886 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3887 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3888 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3889 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3894 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3895 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3896 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3897 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3898 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3899 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3900 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3901 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3903 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3904 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3905 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3906 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3908 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3910 * math/Versions (GLIBC_2.29): Add exp and exp2.
3911 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3912 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3913 * math/w_exp_compat.c (__exp_compat): Likewise.
3914 * math/w_exp.c: New file.
3915 * math/w_exp2.c: New file.
3916 * sysdeps/i386/fpu/w_exp.c: New file.
3917 * sysdeps/i386/fpu/w_exp2.c: New file.
3918 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3919 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3920 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3921 and add necessary aliases.
3922 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3923 and add necessary aliases.
3924 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3925 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3926 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3927 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3928 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3929 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3930 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3931 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3932 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3933 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3934 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3935 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3936 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3937 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3938 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3939 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3940 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3945 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3946 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3947 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3948 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3949 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3950 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3951 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3952 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3953 (__ieee754_exp): Rename to __exp.
3954 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3955 (__ieee754_exp): Rename to __exp.
3956 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3957 (__ieee754_exp): Rename to __exp.
3958 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3960 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
3962 2018-11-20 DJ Delorie <dj@redhat.com>
3964 * malloc/malloc.c (tcache_entry): Add key field.
3965 (tcache_put): Set it.
3966 (tcache_get): Likewise.
3967 (_int_free): Check for double free in tcache.
3968 * malloc/tst-tcfree1.c: New.
3969 * malloc/tst-tcfree2.c: New.
3970 * malloc/Makefile: Run the new tests.
3971 * manual/probes.texi: Document memory_tcache_double_free probe.
3973 * dlfcn/dlerror.c (check_free): Prevent double frees.
3975 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
3977 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
3979 2018-11-20 Joseph Myers <joseph@codesourcery.com>
3981 * conform/conformtest.py (ElementTest.run): Use unique identifiers
3982 in tests. Use names for format arguments.
3983 (ConstantTest.run): Likewise.
3984 (SymbolTest.run): Likewise.
3985 (TypeTest.run): Likewise.
3986 (TagTest.run): Likewise.
3987 (FunctionTest.run): Likewise.
3988 (VariableTest.run): Likewise.
3989 (MacroFunctionTest.run): Likewise.
3990 (MacroStrTest.run): Likewise.
3991 (HeaderTests.__init__): Set self.num_tests.
3992 (HeaderTests.handle_test_line): Set test.num. Increment
3995 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3997 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
3998 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4001 2018-11-19 Mao Han <han_mao@c-sky.com>
4003 * scripts/config.guess: Update to version 2018-08-29.
4004 * scripts/config.sub: Update to version 2018-08-29.
4006 2018-11-19 Florian Weimer <fweimer@redhat.com>
4008 support: Print timestamps in timeout handler.
4009 * support/support_test_main.c (print_timestamp): New function.
4010 (signal_handler): Use it to print the termination time and the
4011 time of the last write to standard output.
4013 2018-11-16 Zack Weinberg <zackw@panix.com>
4014 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4016 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4017 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4019 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4020 and add flags argument. Check flags instead of __ldbl_is_dbl when
4021 deciding whether to set is_long_double.
4022 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4023 passing zero for flags argument.
4024 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4026 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4027 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4028 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4029 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4030 variable names. Remove libc_hidden_def/libc_hidden_proto from
4031 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4032 longer called from within the library.
4033 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4034 for __nldbl___vstrfmon_l, declare it explicitly.
4036 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4038 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4040 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4042 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4043 F_SETLK64, F_SETLKW64, respectively.
4044 * sysdeps/mach/hurd/f_setlk.c: New file.
4045 * sysdeps/mach/hurd/f_setlk.h: New file.
4046 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4048 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4049 (__libc_fcntl): Move non-flock operations to...
4050 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4051 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4053 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4055 mktime: DEBUG_MKTIME cleanup
4056 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4057 And it’s no longer needed now that glibc and Gnulib both have
4058 their own testing mechanisms for mktime.
4059 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4061 mktime: fix non-EOVERFLOW errno handling
4063 mktime was not properly reporting failures when the underlying
4064 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4065 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4066 The problem could happen on non-glibc platforms, with Gnulib.
4067 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4068 (tm_diff): ... this simpler function, which does not change errno.
4069 All callers changed to deal with errno themselves.
4070 (ranged_convert, __mktime_internal): Return failure immediately if
4071 the underlying function reports any failure other than EOVERFLOW.
4072 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4075 mktime: fix bug with Y2038 DST transition
4077 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4078 mishandle a DST transition that jumps over the Y2038 boundary.
4079 No such DST transitions are known so this is only a theoretical
4080 bug, but we might as well do things right.
4082 mktime: make more room for overflow
4084 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4085 This is so that we can add tm_diff results to a previous guess,
4086 which will be useful in a later patch.
4088 mktime: simplify offset guess
4090 * time/mktime.c (__mktime_internal): Omit excess precision.
4092 mktime: new test for mktime failure
4094 Based on a test suggested by Albert Aribaud in:
4095 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4096 * time/Makefile (tests): Add bug-mktime4.
4097 * time/bug-mktime4.c: New file.
4099 mktime: fix EOVERFLOW bug
4101 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4102 Include libc-config.h, not config.h, for __set_errno.
4103 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4105 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4107 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4108 __attribute_copy__ to copy attributes from name. Drop static qualifier
4109 to avoid warnings about leaf attribute not having effect on static
4112 2018-11-13 Florian Weimer <fweimer@redhat.com>
4114 * malloc/malloc.c (fastbin_push_entry): New function.
4115 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4116 (REMOVE_FB): Remove macro.
4117 (_int_malloc): Use fastbin_pop_entry and reindent.
4118 (_int_free): Use fastbin_push_entry.
4119 (malloc_consolidate): Use atomic_exchange_acquire.
4121 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4123 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4124 alias attribute, not with strong_alias.
4126 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4127 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4128 with additional parameter thread.
4129 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4130 in terms of __hidden_ver2.
4131 (hidden_tls_def): New macro.
4132 (libc_hidden_tls_def): Likewise.
4133 (rtld_hidden_tls_def): Likewise.
4134 (libm_hidden_tls_def): Likewise.
4135 (libmvec_hidden_tls_def): Likewise.
4136 (libresolv_hidden_tls_def): Likewise.
4137 (librt_hidden_tls_def): Likewise.
4138 (libdl_hidden_tls_def): Likewise.
4139 (libnss_files_hidden_tls_def): Likewise.
4140 (libnsl_hidden_tls_def): Likewise.
4141 (libnss_nisplus_hidden_tls_def): Likewise.
4142 (libutil_hidden_tls_def): Likewise.
4143 (libutil_hidden_tls_def): Likweise.
4144 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4145 libc_hidden_tls_def.
4146 (__sim_disabled_exceptions_thread): Likewise.
4147 (__sim_round_mode_thread): Likewise.
4149 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4150 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4151 copy attributes from name.
4153 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4155 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4156 Use __attribute_copy__ to copy attributes from name.
4158 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4159 with __hidden_ver1 call.
4160 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4161 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4162 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4163 (__cosf): Do not declare here.
4164 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4165 (__sincosf): Do not declare here.
4166 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4167 (__sinf): Do not declare here.
4169 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4170 (__BIG_ENDIAN): Likewise.
4171 (__BYTE_ORDER): Likewise.
4172 (strong_alias): Likewise.
4173 (_strong_alias): Likewise.
4175 2018-11-12 Florian Weimer <fweimer@redhat.com>
4177 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4178 function. Move after the definition of in_smallbin_range. Do not
4179 use __builtin_expect for paths that lead to a noreturn function.
4180 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4181 because it is unclear whether this is in fact an unlikely
4183 (_int_malloc, _int_free): Adjust.
4184 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4186 * malloc/arena.c (heap_trim): Likewise.
4188 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4190 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4191 it, free it if needed.
4192 (reauthenticate): Test and use ccwdir.
4193 (child_init_port): In non-resetids case, test and use ccwdir.
4194 (child_chdir): New nested function to set ccwdir.
4195 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4196 * hurd/hurd/port.h (_hurd_port_move): New function.
4197 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4198 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4199 * hurd/Versions (_hurd_port_move): Export function.
4200 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4202 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4203 of dtablesize for allocating dtable_cloexec.
4205 2018-11-09 Martin Sebor <msebor@redhat.com>
4207 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4208 it's already defined.
4209 (_strong_alias): Use __attribute_copy__.
4210 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4211 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4212 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4213 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4214 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4215 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4216 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4217 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4218 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4219 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4220 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4221 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4222 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4223 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4224 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4225 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4226 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4227 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4228 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4230 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4232 * misc/tst-efgcvt.c: Include support/check.h and
4233 support/test-driver.c. Do not include test-skeleton.c.
4234 (error_count): Remove.
4235 (output_error): Replace increments to error_count with calls to
4236 support_record_failure.
4237 (output_r_error): Likewise.
4238 (special): Likewise.
4239 (do_test): Unconditionally return zero.
4240 (TEST_FUNCTION): Remove.
4242 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4244 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4246 ($(linknamespace-header-tests)): Likewise.
4248 * conform/conformtest.py: New file.
4249 * conform/conformtest.pl: Remove.
4250 * conform/GlibcConform.pm: Likewise.
4251 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4252 (KEYWORDS_C99): Likewise.
4253 (KEYWORDS): Likewise.
4254 * conform/Makefile ($(conformtest-header-tests)): Use
4255 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4256 option. Use --header instead of --headers.
4257 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4259 * conform/data/spawn.h-data: Likewise.
4260 * conform/data/fcntl.h-data (openat): Add space after function
4262 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4263 (wcscasecmp_l): Likewise.
4264 * conform/data/termios.h-data (c_cc): Add space after element
4267 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4269 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4270 instead of manually comparing and reporting mismatching strings.
4271 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4272 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4274 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4276 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4277 __ASSUME_SOCKETCALL.
4278 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4279 (__ASSUME_SOCKETCALL): Remove.
4280 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4281 (__ASSUME_SOCKETCALL): Likewise.
4282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4283 (__ASSUME_SOCKETCALL): Likewise.
4284 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4285 (__ASSUME_SOCKETCALL): Likewise.
4286 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4287 (__ASSUME_SOCKETCALL): Likewise.
4288 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4289 (__ASSUME_SOCKETCALL): Likewise.
4290 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4291 (__ASSUME_SOCKETCALL): Likewise.
4293 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4296 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4297 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4298 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4299 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4300 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4303 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4306 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4308 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4311 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4312 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4313 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4314 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4316 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4318 * support/support_test_compare_string.c
4319 (support_test_compare_string): Fix printf format.
4321 2018-11-07 Florian Weimer <fweimer@redhat.com>
4323 Implement TEST_COMPARE_STRING.
4324 * support/check.h (TEST_COMPARE_STRING): Define.
4325 (support_test_compare_string): Declare.
4326 * support/Makefile (libsupport-routines): Add
4327 support_test_compare_string.
4328 (tests): Add tst-test_compare_string.
4329 * support/support_test_compare_string.c: New file.
4330 * support/tst-test_compare_string.c: Likewise.
4332 2018-11-07 Andreas Schwab <schwab@suse.de>
4335 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4336 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4339 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4342 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4343 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4344 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4345 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4348 2018-11-06 Florian Weimer <fweimer@redhat.com>
4351 * posix/Makefile (routines): Add spawn_faction_addchdir.
4352 (tests): Add tst-spawn-chdir.
4353 * posix/Versions (GLIBC_2.29): Add
4354 posix_spawn_file_actions_addchdir_np.
4355 * posix/spawn_faction_addchdir.c: New file.
4356 * posix/spawn_faction_destroy.c
4357 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4358 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4359 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4361 * posix/tst-spawn-chdir.c: New file.
4362 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4363 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4364 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4365 posix_spawn_file_actions_addchdir_np.
4366 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4368 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4370 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4371 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4373 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4375 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4377 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4379 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4381 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4383 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4384 (GLIBC_2.29): Likewise.
4385 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4386 (GLIBC_2.29): Likewise.
4387 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4388 (GLIBC_2.29): Likewise.
4389 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4390 (GLIBC_2.29): Likewise.
4391 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4394 (GLIBC_2.29): Likewise.
4395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4396 (GLIBC_2.29): Likewise.
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4398 (GLIBC_2.29): Likewise.
4399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4400 (GLIBC_2.29): Likewise.
4401 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4403 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4405 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4407 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4408 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4410 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4412 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4414 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4417 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4419 * misc/Makefile (tests): Add tst-ldbl-error.
4420 * misc/tst-ldbl-error.c: New file.
4422 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4424 * misc/Makefile (tests): Add tst-ldbl-warn.
4425 * misc/tst-ldbl-warn.c: New file.
4427 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4429 * argp/Makefile (tests): Add tst-ldbl-argp.
4430 * argp/tst-ldbl-argp.c: New file.
4432 2018-11-05 Arjun Shankar <arjun@redhat.com>
4434 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4435 __gconv_path_elem and call __gconv_get_path unconditionally.
4437 2018-11-05 Andreas Schwab <schwab@suse.de>
4440 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4441 creating the first helper thread failed.
4443 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4445 * sysdeps/mach/hurd/msync.c: New file.
4447 2018-11-02 Florian Weimer <fweimer@redhat.com>
4449 * support/shell-container.c (copy_func): Call
4450 support_copy_file_range instead of copy_file_range to support
4451 cross-device copies.
4453 2018-11-02 Florian Weimer <fweimer@redhat.com>
4455 * support/test-container.c: Include <libc-pointer-arith.h> for
4458 2018-11-01 Zong Li <zong@andestech.com>
4460 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4461 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4462 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4463 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4465 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4466 variable to avoid overlap arguments.
4468 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4470 * posix/bug-regex22.c (main): Use puts with distinct error
4471 messages for unexpected success of re_compile_pattern, not printf
4472 with NULL argument to %s.
4474 * stdio-common/bug22.c: Include <libc-diag.h>.
4475 (do_test): Disable -Wformat-overflow= warnings around fprintf
4476 calls outputting more than INT_MAX characters.
4477 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4478 around printf call with NULL %s argument.
4481 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4482 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4484 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4485 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4486 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4487 (__ASSUME_SENDTO_SYSCALL): Likewise.
4488 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4489 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4491 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4492 (__ASSUME_CONNECT_SYSCALL): Likewise.
4493 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4494 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4495 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4497 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4499 [__LINUX_KERNEL_VERSION >= 0x040400]
4500 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4501 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4504 (setsockopt): Likewise.
4506 2018-11-01 Fredrik Noring <noring@nocrew.org>
4508 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4509 with the ISA override.
4511 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4513 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4516 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4518 * manual/errno.texi (EIEIO): Document how translators should
4519 translate the error message.
4520 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4521 printing trailing whitespaces refused by git.
4522 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4523 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4524 * hurd/Makefile (user-interfaces): Add pci.
4526 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4528 * conform/linknamespace.py: New file.
4529 * conform/linknamespace.pl: Remove file.
4530 * conform/Makefile ($(linknamespace-header-tests)): Use
4531 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4534 2018-10-30 Florian Weimer <fweimer@redhat.com>
4536 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4539 2018-10-30 Florian Weimer <fweimer@redhat.com>
4541 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4543 2018-10-30 Florian Weimer <fweimer@redhat.com>
4545 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4546 support_blob_repeat.
4548 2018-10-30 Florian Weimer <fweimer@redhat.com>
4550 Avoid spurious test failures in stdlib/test-bz22786.
4551 * support/Makefile (libsupport-routines): Add blob_repeat.
4552 (tests): Add tst-support_blob_repeat.
4553 * support/blob_repeat.h: New file.
4554 * support/blob_repeat.c: Likewise.
4555 * support/tst-support_blob_repeat.c: Likewise.
4556 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4557 support_blob_repeat_allocate.
4559 2018-10-30 Andreas Schwab <schwab@suse.de>
4562 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4563 Don't use tail call.
4564 * elf/tst-unwind-main.c: New file.
4565 * elf/Makefile (tests): Add tst-unwind-main.
4566 (CFLAGS-tst-unwind-main.c): Define.
4568 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4571 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4573 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4575 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4577 * conform/glibcconform.py: Do not import shutil.
4578 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4581 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4582 critic_missing for versions before 3.4.
4583 * configure: Regenerated.
4584 * manual/install.texi (Tools for Compilation): Document
4585 requirement for Python to build glibc.
4586 * INSTALL: Regenerated.
4587 * Rules [PYTHON]: Make code unconditional.
4588 * benchtests/Makefile [PYTHON]: Likewise.
4589 * conform/Makefile [PYTHON]: Likewise.
4590 * manual/Makefile [PYTHON]: Likewise.
4591 * math/Makefile [PYTHON]: Likewise.
4593 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4595 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4596 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4597 answer to interrupt_operation, return EIEIO instead of EINTR.
4598 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4599 _hurd_intr_rpc_msg_about_to global point to start of controlled
4600 assembly snippet. Make it check canceled flag.
4601 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4602 the _hurd_intr_rpc_msg_about_to point.
4603 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4604 issue, remove cancel flag check.
4606 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4608 * scripts/build-many-glibcs.py: Remove compatibility for missing
4609 os.cpu_count and re.fullmatch.
4611 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4614 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4615 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4616 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4618 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4620 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4623 2018-10-25 Florian Weimer <fweimer@redhat.com>
4627 XFAIL siginfo_t si_band conform test on sparc64.
4628 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4629 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4630 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4631 (conformtest-xfail-conds): Add sparc64-linux.
4632 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4634 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4636 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4638 * elf/elf.h (NT_MIPS_DSP): New macro.
4639 (NT_MIPS_FP_MODE): Likewise.
4641 2018-10-25 Zong Li <zong@andestech.com>
4643 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4644 name by adding the file extension (.so).
4646 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4648 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4649 (test-xfail-ISO11/threads.h/linknamespace,
4650 test-xfail-ISO11/threads.h/conform): Add.
4652 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4654 * math/gen-libm-test.py: Import os.
4655 (ALL_FLOATS_MANUAL): New constant.
4656 (ALL_FLOATS_SUFFIX): Likewise.
4657 (Ulps.all_functions): New function.
4658 (real_all_ulps): Likewise.
4659 (generate_err_table_sub): Likewise.
4660 (generate_err_table): Likewise.
4661 (main): Handle -s and -m options.
4662 * manual/libm-err-tab.pl: Remove.
4663 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4664 instead of libm-err-tab.pl.
4665 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4667 * manual/install.texi (Tools for Compilation): Document
4668 requirement for Python to build manual.
4669 * INSTALL: Regenerated.
4671 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4673 * bits/time64.h: New file.
4674 * include/time.h: Replace internal_time_t with __time64_t.
4675 * posix/bits/types (__time64_t): Add.
4676 * stdlib/Makefile: Add bits/time64.h to includes.
4677 * time/tzfile.c: Replace internal_time_t with __time64_t.
4679 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4681 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4682 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4683 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4684 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4685 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4687 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4688 * posix/spawn_faction_addclose.c
4689 (__posix_spawn_file_actions_addclose): Add hidden definition.
4690 * posix/spawn_faction_adddup2.c
4691 (__posix_spawn_file_actions_adddup2): Likewise.
4692 * posix/spawn_faction_destroy.c
4693 (__posix_spawn_file_actions_destroy): Likewise.
4694 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4696 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4697 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4698 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4700 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4701 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4704 2018-10-24 Andreas Schwab <schwab@suse.de>
4707 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4709 * elf/cache.c (print_cache): Likewise.
4711 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4713 * bits/timesize.h: New file.
4714 * stdlib/Makefile (headers): Add bits/timesize.h.
4715 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4716 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4717 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4718 (__SEM_PAD_AFTER_TIME): Likewise.
4719 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4720 (__SHM_PAD_AFTER_TIME): Likewise.
4721 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4722 (__MSQ_PAD_BEFORE_TIME): Likewise.
4723 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4724 (__SEM_PAD_BEFORE_TIME): Likewise.
4725 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4726 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4727 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4728 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4729 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4730 (__MSQ_PAD_BEFORE_TIME): Likewise.
4731 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4732 (__SEM_PAD_BEFORE_TIME): Likewise.
4733 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4734 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4735 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4736 (__MSQ_PAD_BEFORE_TIME): Likewise.
4737 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4738 (__SEM_PAD_BEFORE_TIME): Likewise.
4739 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4740 (__SHM_PAD_BEFORE_TIME): Likewise.
4741 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4742 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4743 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4745 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4747 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4748 USE_RDTSCP is defined.
4749 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4750 USE_RDTSCP is defined.
4752 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4754 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4758 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4759 independently of other flags.
4761 2018-10-23 Florian Weimer <fweimer@redhat.com>
4763 * time/tst-mktime2.c (N_STRINGS): Remove.
4764 (set_timezone): New function.
4765 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4766 (mktime_test1): Report localtime failure and check errno value.
4768 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4769 (do_test): Remove alarm call. Use set_timezone and array_length.
4771 2018-10-23 Andreas Schwab <schwab@suse.de>
4773 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4774 (__start_context): Use END instead of PSEUDO_END.
4776 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4778 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4781 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4785 * wcsmbs/c32rtomb.c: New file.
4786 * wcsmbs/mbrtoc32.c: Likewise.
4787 * wcsmbs/tst-c32-state.c: Likewise.
4788 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4789 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4790 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4791 (tests): Add tst-c32-state.
4792 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4795 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4797 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4798 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4800 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4803 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4804 pair and return 0 in that case, and use saved character to
4805 interpret following character.
4806 * wcsmbs/tst-c16-surrogate.c: New file.
4807 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4808 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4809 Depend on $(gen-locales)
4811 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4814 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4815 (struct siginfo_t): Use correct type for si_band.
4817 2018-10-19 Florian Weimer <fweimer@redhat.com>
4820 * resource/bits/types/struct_rusage.h (struct rusage): Update
4821 comment on struct. Remove extraneous field comment.
4823 2018-10-18 David S. Miller <davem@davemloft.net>
4825 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4826 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4827 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4828 sysdep_routines in subdir elf.
4829 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4830 version for __vdso_clock_gettime.
4831 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4833 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4834 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4836 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4838 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4840 * sysdeps/i386/init-arch.h: Removed.
4841 * sysdeps/i386/i586/init-arch.h: Likewise.
4842 * sysdeps/i386/i686/init-arch.h: Likewise.
4843 * sysdeps/i386/i686/hp-timing.h: Likewise.
4844 * sysdeps/x86_64/hp-timing.h: Likewise.
4845 * sysdeps/i386/isa.h: New file.
4846 * sysdeps/i386/i586/isa.h: Likewise.
4847 * sysdeps/i386/i686/isa.h: Likewise.
4848 * sysdeps/x86_64/isa.h: Likewise.
4849 * sysdeps/x86/hp-timing.h: New file.
4850 * sysdeps/x86/init-arch.h: Include <isa.h>.
4852 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4854 * math/libm-test-pow.inc (pow_test_data): Do not allow
4855 divide-by-zero exception for pow(+/- 0, -Inf).
4857 2018-10-17 Zack Weinberg <zackw@panix.com>
4859 * manual/job.texi (Job Control is Optional): Remove node, as
4860 job control has not been optional in quite some time.
4861 (Job Control): Mention briefly that systems older than
4862 POSIX.1-2001 might not support job control.
4863 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4864 defined on systems conforming to POSIX.1-2001.
4866 2018-10-17 Arjun Shankar <arjun@redhat.com>
4869 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4871 * (__gconv_read_conf): Mark function static.
4872 * (once): New static variable.
4873 * (__gconv_load_conf): New function.
4874 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4875 * iconv/gconv_db.c (once): Remove static variable.
4876 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4878 * (__gconv_find_transform): Likewise.
4879 * iconv/tst-iconv-mt.c: New test.
4880 * iconv/Makefile: Add tst-iconv_mt.
4882 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4884 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4886 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4887 (shmatt_t): Define as __syscall_ulong_t.
4888 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4889 and [__SHM_PAD_AFTER_TIME].
4890 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4891 Define shm_segsz and associated padding based on
4892 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4893 Use __syscall_ulong_t instead of unsigned long int.
4894 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4896 [__USE_MISC] (struct shm_info): Likewise.
4897 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4898 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4899 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4900 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4901 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4902 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4903 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4904 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4905 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4906 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4907 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4909 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4911 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4912 (SHMLBA): Remove macro.
4913 (__getpagesize): Remove function declaration.
4914 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4916 (SHMLBA): Remove macro.
4917 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4919 (SHMLBA): Remove macro.
4920 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4922 (SHMLBA): Remove macro.
4923 (__getpagesize): Remove function declaration.
4924 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4926 (SHMLBA): Remove macro.
4927 (__getshmlba): Remove function declaration.
4928 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4929 (SHMLBA): Remove macro.
4930 (__getpagesize): Remove function declaration.
4931 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4932 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4933 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4934 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4935 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4936 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4937 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4938 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4939 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4940 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4942 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4945 * nptl/tst-mutex10.c: New File.
4946 * nptl/Makefile (tests): Add tst-mutex10.
4947 (tst-mutex10-ENV): New variable.
4948 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4949 Ensure that elision path is used if elision is available.
4950 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4952 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4954 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4955 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4956 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4957 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4959 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4960 (__pthread_mutex_cond_lock_adjust): Likewise.
4961 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4963 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
4964 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4965 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4966 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
4968 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4969 Use atomic_load_relaxed and atomic_store_relaxed.
4970 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
4971 Use atomic_store_relaxed.
4973 2018-10-17 Andreas Schwab <schwab@suse.de>
4975 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
4976 * crypt/badsalttest.c (TIMEOUT): Likewise.
4977 * crypt/sha256c-test.c (TIMEOUT): Likewise.
4978 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
4979 * io/test-lfs.c (TIMEOUT): Likewise.
4980 * libio/tst-atime.c (TIMEOUT): Likewise.
4981 * localedata/tst-leaks.c (TIMEOUT): Likewise.
4982 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
4983 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
4984 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
4985 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
4986 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
4987 * nptl/tst-cond11.c (TIMEOUT): Likewise.
4988 * nptl/tst-cond14.c (TIMEOUT): Likewise.
4989 * nptl/tst-cond15.c (TIMEOUT): Likewise.
4990 * nptl/tst-cond24.c (TIMEOUT): Likewise.
4991 * nptl/tst-cond25.c (TIMEOUT): Likewise.
4992 * nptl/tst-kill2.c (TIMEOUT): Likewise.
4993 * nptl/tst-kill3.c (TIMEOUT): Likewise.
4994 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
4995 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
4996 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
4997 * nptl/tst-once2.c (TIMEOUT): Likewise.
4998 * nptl/tst-once3.c (TIMEOUT): Likewise.
4999 * nptl/tst-once4.c (TIMEOUT): Likewise.
5000 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5001 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5002 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5003 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5004 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5005 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5006 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5007 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5008 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5009 * posix/tst-chmod.c (TIMEOUT): Likewise.
5010 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5011 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5012 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5013 * posix/tst-regex2.c (TIMEOUT): Likewise.
5014 * posix/tst-waitid.c (TIMEOUT): Likewise.
5015 * rt/tst-aio.c (TIMEOUT): Likewise.
5016 * rt/tst-aio10.c (TIMEOUT): Likewise.
5017 * rt/tst-aio4.c (TIMEOUT): Likewise.
5018 * rt/tst-aio5.c (TIMEOUT): Likewise.
5019 * rt/tst-aio6.c (TIMEOUT): Likewise.
5020 * rt/tst-aio64.c (TIMEOUT): Likewise.
5021 * rt/tst-aio7.c (TIMEOUT): Likewise.
5022 * rt/tst-aio9.c (TIMEOUT): Likewise.
5023 * rt/tst-clock.c (TIMEOUT): Likewise.
5024 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5025 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5026 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5027 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5028 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5029 * rt/tst-timer4.c (TIMEOUT): Likewise.
5030 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5031 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5032 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5033 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5034 * time/tst-ftime.c (TIMEOUT): Likewise.
5035 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5037 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5039 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5040 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5043 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5047 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5048 instead of <bits/wordsize.h>.
5049 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5050 and [__SEM_PAD_AFTER_TIME].
5051 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5052 __syscall_ulong_t instead of unsigned long int.
5053 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5054 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5055 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5056 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5057 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5058 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5059 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5060 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5061 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5062 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5063 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5065 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5067 regex: simplify by using intprops.h
5069 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5070 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5071 intprops.h defines them.
5073 regex: __builtin_expect → __glibc_unlikely
5075 This refactoring was prompted by a problem when the regex code is
5076 used as part of Gnulib and when the builder’s compiler does not grok
5077 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5078 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5079 Although this refactoring does not fix the problem directly,
5080 we might as well have Gawk use the now-preferred glibc style for when
5081 __builtin_expect is unavailable.
5082 * posix/regex_internal.h (BE): Remove.
5083 All uses replaced by __glibc_unlikely or __glibc_likely.
5085 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5089 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5090 instead of <bits/wordsize.h>.
5091 (msgqnum_t): Define as __syscall_ulong_t.
5092 (msglen_t): Likewise.
5093 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5094 and [__MSQ_PAD_AFTER_TIME].
5095 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5096 __syscall_ulong_t instead of unsigned long int.
5097 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5098 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5099 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5100 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5101 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5102 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5103 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5104 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5105 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5106 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5107 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5109 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5111 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5112 (struct shmid_ds): Condition padding after time fields on
5114 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5115 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5116 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5118 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5119 (struct semid_ds): Condition padding after time fields on
5121 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5122 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5123 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5124 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5126 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5127 (struct msqid_ds): Condition padding after time fields on
5129 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5130 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5131 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5132 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5134 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5136 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5138 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5140 * libio/tst-readline.c (TIMEOUT): Define.
5142 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5144 mktime fix for Gnulib + coreutils
5146 This fix affects only Gnulib. Problem discovered when
5147 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5149 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5150 Do not define since it is not used. Defining an unused static
5151 function prompts a warning from GCC when Coreutils is configured
5152 with --enable-gcc-warnings.
5154 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5156 * benchtests/scripts/compare_bench.py (main): set float type on
5159 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5162 * localedata/locales/kl_GL (mon): Update, the relative case.
5163 (alt_mon): Add, fill with month names in the nominative case.
5164 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5165 (d_fmt): Set to "%b %d %Y".
5167 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5169 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5170 <bits/mman-linux.h>.
5171 (PROT_READ): Don't define here.
5172 (PROT_WRITE): Likewise.
5173 (PROT_EXEC): Likewise.
5174 (PROT_NONE): Likewise.
5175 (PROT_GROWSDOWN): Likewise.
5176 (PROT_GROWSUP): Likewise.
5177 (MAP_SHARED): Likewise.
5178 (MAP_PRIVATE): Likewise.
5179 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5180 [__USE_MISC] (MAP_FILE): Likewise.
5181 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5182 [__USE_MISC] (MAP_ANON): Likewise.
5183 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5184 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5185 (MCL_CURRENT): Likewise.
5186 (MCL_FUTURE): Likewise.
5187 (MCL_ONFAULT): Likewise.
5188 [__USE_MISC] (MADV_NORMAL): Likewise.
5189 [__USE_MISC] (MADV_RANDOM): Likewise.
5190 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5191 [__USE_MISC] (MADV_WILLNEED): Likewise.
5192 [__USE_MISC] (MADV_DONTNEED): Likewise.
5193 [__USE_MISC] (MADV_FREE): Likewise.
5194 [__USE_MISC] (MADV_REMOVE): Likewise.
5195 [__USE_MISC] (MADV_DONTFORK): Likewise.
5196 [__USE_MISC] (MADV_DOFORK): Likewise.
5197 [__USE_MISC] (MADV_HWPOISON): Likewise.
5198 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5199 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5200 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5201 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5202 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5203 (__MAP_ANONYMOUS): New macro.
5204 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5205 <bits/mman-linux.h> inclusion.
5206 (MAP_FIXED): Likewise.
5207 (MS_SYNC): Likewise.
5208 (MS_ASYNC): Likewise.
5209 (MS_INVALIDATE): Likewise.
5210 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5211 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5212 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5213 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5214 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5215 [__USE_MISC] (MADV_DODUMP): Likewise.
5216 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5217 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5220 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5222 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5223 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5224 Add test-nldbl-redirect.
5225 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5226 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5227 $(objpfx)libnldbl_nonshared.a.
5229 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5231 * support/support.h (support_objdir_elf_ldso): New variable.
5232 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5233 * support/Makefile (CFLAGS-support_paths.c): Add definition
5234 for OBJDIR_ELF_LDSO_PATH.
5235 * support/test-container.c (main): Search for the ld.so
5236 which is also used by the testsuite.
5238 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5241 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5242 should be "sap" rather than "sab".
5243 (day): Fix spelling of Sunday, should be "sapaat" rather than
5246 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5248 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5250 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5253 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5254 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5255 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5257 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5259 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5261 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5263 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5265 (CFLAGS-elision-unlock.c): Likewise.
5266 (CFLAGS-elision-timed.c): Likewise.
5267 (CFLAGS-elision-trylock.c): Likewise.
5268 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5270 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5273 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5274 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5275 new fd_to_filename interface.
5276 * libio/freopen64.c (freopen64): Likewise.
5277 * libio/tst-memstream.h: New file.
5278 * libio/tst-memstream4.c: Likewise.
5279 * libio/tst-wmemstream4.c: Likewise.
5280 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5281 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5282 and remove internal dynamic allocation.
5284 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5286 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5287 (MREMAP_MAYMOVE): Do not define here.
5288 [__USE_GNU] (MREMAP_FIXED): Likewise.
5289 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5290 (MREMAP_MAYMOVE): Define here instead.
5291 [__USE_GNU] (MREMAP_FIXED): Likewise.
5292 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5293 (MREMAP_MAYMOVE): Remove.
5294 [__USE_GNU] (MREMAP_FIXED): Likewise.
5296 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5298 * math/fromfp.h: Do not include <math_private.h>.
5299 * math/s_cacosh_template.c: Likewise.
5300 * math/s_casin_template.c: Likewise.
5301 * math/s_casinh_template.c: Likewise.
5302 * math/s_ccos_template.c: Likewise.
5303 * math/s_cproj_template.c: Likewise.
5304 * math/s_fdim_template.c: Likewise.
5305 * math/s_fmaxmag_template.c: Likewise.
5306 * math/s_fminmag_template.c: Likewise.
5307 * math/s_iseqsig_template.c: Likewise.
5308 * math/s_ldexp_template.c: Likewise.
5309 * math/s_nextdown_template.c: Likewise.
5310 * math/w_log1p_template.c: Likewise.
5311 * math/w_scalbln_template.c: Likewise.
5312 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5313 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5314 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5315 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5316 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5317 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5318 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5319 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5320 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5321 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5322 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5323 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5324 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5325 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5326 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5327 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5328 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5329 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5330 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5331 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5332 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5333 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5334 * sysdeps/ieee754/k_standardf.c: Likewise.
5335 * sysdeps/ieee754/k_standardl.c: Likewise.
5336 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5338 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5339 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5340 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5341 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5342 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5343 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5344 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5345 * sysdeps/ieee754/s_signgam.c: Likewise.
5346 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5347 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5348 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5349 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5350 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5351 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5352 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5353 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5354 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5355 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5356 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5357 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5358 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5359 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5360 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5361 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5362 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5363 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5364 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5365 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5366 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5367 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5368 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5369 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5370 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5371 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5372 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5373 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5374 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5375 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5376 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5377 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5378 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5379 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5380 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5381 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5382 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5384 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5386 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5389 * sysdeps/i386/dl-cet.c: Removed.
5390 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5392 (_dl_runtime_profile_shstk): Likewise.
5393 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5394 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5396 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5399 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5400 do_test_with_invalid_iov): New tests.
5401 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5402 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5403 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5405 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5406 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5407 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5409 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5411 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5412 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5413 (MATH_REDIRECT_BINARY_ARGS): New macro.
5414 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5415 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5416 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5418 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5419 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5420 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5421 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5424 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5431 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5432 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5437 * sysdeps/generic/math_private_calls.h
5438 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5439 Do not declare and define as an inline function.
5440 * math/divtc3.c (__divtc3): Use copysign functions instead of
5441 __copysign variants.
5442 * math/multc3.c (__multc3): Likewise.
5443 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5444 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5445 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5446 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5448 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5449 (__ieee754_yn): Likewise.
5450 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5451 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5452 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5453 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5454 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5456 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5457 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5459 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5461 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5463 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5464 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5466 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5467 (__ieee754_ynf): Likewise.
5468 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5469 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5470 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5471 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5473 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5474 (__ieee754_ynl): Likewise.
5475 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5476 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5477 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5480 (__ieee754_ynl): Likewise.
5481 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5482 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5483 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5484 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5486 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5488 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5489 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5490 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5491 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5492 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5494 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5495 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5496 using MATH_REDIRECT.
5497 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5499 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5500 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5501 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5502 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5503 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5510 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5511 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5512 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5513 (round): Redirect to __round.
5514 (__roundl): Call round instead of __round.
5515 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5517 [_ARCH_PWR5X] (__roundf): Likewise.
5518 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5519 functions instead of __round variants.
5520 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5521 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5523 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5525 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5527 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5528 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5530 (__ieee754_expl): Call roundl instead of __roundl.
5532 2018-09-27 Andreas Schwab <schwab@suse.de>
5535 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5536 (do_test): Make st1 static.
5538 2018-09-26 Andreas Schwab <schwab@suse.de>
5541 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5542 * elf/Makefile (tests): Add tst-unwind-ctor.
5543 (modules-names): Add tst-unwind-ctor-lib.
5544 ($(objpfx)tst-unwind-ctor): Depend on
5545 $(objpfx)tst-unwind-ctor-lib.so.
5547 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5549 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5550 file. Most contents moved from ....
5551 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5552 and include <bits/mman-map-flags-generic.h>.
5553 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5554 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5555 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5556 <bits/mman-map-flags-generic.h>.
5557 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5558 macros defined in <bits/mman-map-flags-generic.h>.
5559 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5560 <bits/mman-map-flags-generic.h>.
5561 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5562 defined in <bits/mman-map-flags-generic.h>.
5564 2018-09-26 Andreas Schwab <schwab@suse.de>
5566 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5569 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5570 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5571 Fangrui Song <maskray@google.com>
5574 * config.make.in (have-textrel_ifunc): New define.
5575 * configure.ac: Add check if linker supports textrel relocation with
5577 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5579 (CFLAGS-tst-ifunc-textrel.c): New rule.
5580 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5581 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5582 * elf/tst-ifunc-textrel.c: New file.
5584 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5586 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5587 <bits/procfs-prregset.h>.
5588 (prgregset_t): Define using __prgregset_t.
5589 (prfpregset_t): Define using __prfpregset_t.
5590 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5591 (sysdep_headers): Add bits/procfs-prregset.h.
5592 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5593 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5594 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5595 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5597 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5598 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5599 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5601 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5602 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5603 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5604 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5605 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5606 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5607 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5608 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5609 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5610 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5611 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5612 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5613 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5614 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5615 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5616 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5617 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5618 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5619 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5620 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5621 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5622 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5623 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5624 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5626 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5627 AArch64 version. Include <bits/procfs.h>.
5628 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5629 (sysdep_headers): Add bits/procfs.h.
5630 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5631 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5632 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5633 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5634 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5635 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5636 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5637 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5638 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5639 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5640 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5641 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5642 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5643 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5644 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5645 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5646 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5648 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5650 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5653 2018-09-25 Arjun Shankar <arjun@redhat.com>
5655 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5656 (__gconv_max_path_elem_len): Likewise.
5657 (__gconv_nmodules): Likewise.
5658 (__gconv_get_path): Likewise.
5659 (path_elem): Move to ...
5660 * iconv/gconv_conf.c: ... here.
5661 (__gconv_get_path): Mark function static.
5662 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5663 * iconv/gconv_open.c: ... here.
5665 2018-09-24 Andreas Schwab <schwab@suse.de>
5667 * scripts/haveversions.awk: New file.
5668 * Makerules ($(common-objpfx)Versions.def)
5669 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5670 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5672 * Makeconfig ($(common-objpfx)Versions.def)
5673 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5674 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5676 ($(common-objpfx)Versions.mk): New rule. Include it.
5677 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5678 Emit error if build-obsolete-nsl = yes.
5679 * manual/install.texi (Configuring and compiling): Describe
5680 --enable-obsolete-nsl as unavaiable after version 2.28.
5681 * INSTALL: Regenerate.
5683 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5685 * NEWS: Add note about new TLE support on powerpc64le.
5686 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5687 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5689 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5690 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5691 * sysdeps/powerpc/powerpc32/sysdep.h,
5692 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5693 ABORT_TRANSACTION): Remove macros.
5694 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5695 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5696 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5698 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5699 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5701 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5703 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5706 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5707 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5708 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5709 which is the same as in it_IT.
5710 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5711 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5713 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5715 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5716 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5717 using MATH_REDIRECT.
5718 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5720 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5722 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5724 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5725 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5730 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5731 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5732 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5733 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5734 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5735 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5736 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5737 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5738 (ceil): Redirect to __ceil.
5739 (floor): Redirect to __floor.
5740 (trunc): Redirect to __trunc.
5741 (__truncl): Call trunc instead of __trunc.
5742 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5744 [_ARCH_PWR5X] (__truncf): Likewise.
5745 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5746 trunc functions instead of __trunc variants.
5747 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5749 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5751 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5753 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5756 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5757 [__i586__ || __pentium__].
5758 [__i486__]: Handle explicitly.
5759 (HAS_CPUID): Define to 1 if above macros are undefined.
5760 (HAS_I586): Likewise.
5761 (HAS_I686): Likewise.
5763 2018-09-20 Florian Weimer <fweimer@redhat.com>
5765 * misc/tst-gethostid.c: New file.
5766 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5767 (tst-gethostid): Link with -ldl.
5769 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5771 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5772 value from gethostbyname_r.
5774 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5776 * stdlib/tst-setcontext9.c (f1): Rename to...
5778 (f1b): New function implementing lower half of f1 in alternate stack.
5780 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5782 Fix mktime localtime offset confusion
5784 * include/time.h (__mktime_internal): The localtime offset is now
5785 of type long int instead of time_t. This is the longstanding type
5786 in glibc, and it is more than enough to represent difference
5787 between localtime and gmtime even if it is 32 bits and time_t is
5788 64. Changing it now will let us avoid an unnecessary change when
5789 time_t is widened to 64 bits on 32-bit platforms.
5790 * time/mktime-internal.h (mktime_offset_t): Now long int.
5792 Merge mktime, timegm from upstream Gnulib
5793 [BZ #23603][BZ #16346]
5794 This fixes some obscure problems with integer overflow.
5795 Although it looks scary, it is almost all a byte-for-byte copy
5796 from Gnulib, and the Gnulib code has been tested reasonably well.
5797 * include/intprops.h: New file, copied from Gnulib.
5798 * include/verify.h, time/mktime-internal.h:
5799 New tiny files, simplified from Gnulib.
5800 * time/mktime.c: Copy from Gnulib. This has the following changes:
5801 Do not include config.h if DEBUG_MKTIME is nonzero.
5802 Include stdbool.h, intprops.h, verify.h.
5803 Include string.h only if needed.
5804 Include stdlib.h on MS-Windows.
5805 Include mktime-internal.h.
5806 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5807 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5808 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5809 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5810 simplify later conditionals; default the others to zero. Use
5811 these conditionals to express only the code needed on the current
5812 platform. In uses of these conditionals, explicitly spell out how
5813 _LIBC affects things, so it’s easier to review from a glibc
5815 (WRAPV): Remove; no longer needed now that we have
5816 systematic overflow checking.
5817 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5818 compartmentalize tzset issues. Move system-dependent tzsettish
5819 code here from mktime.
5820 (verify): Remove; now done by verify.h. All uses changed.
5821 (long_int): Use a more-conservative definition, to avoid
5823 (SHR): Remove, replacing with ...
5824 (shr): New function, which means we needn’t worry about side
5825 effects in args, and conversion analysis is simpler.
5826 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5827 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5828 (time_t_avg, time_t_add_ok): Remove.
5829 (mktime_min, mktime_max): New constants.
5830 (leapyear, isdst_differ): Use bool for booleans.
5831 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5832 Use long_int, not time_t, for mktime differences.
5833 (long_int_avg): New function, replacing time_t_avg.
5834 INT_ADD_WRAPV replaces time_t_add_ok.
5835 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5837 (convert_time): New function.
5838 (ranged_convert): Use it.
5839 (__mktime_internal): Last arg now points to mktime_offset_t, not
5840 time_t. All uses changed. This is a no-op on glibc, where
5841 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5842 offset guess. Directly check for integer overflow instead of
5843 using a heuristic that works only 99.9...% of the time.
5844 Access *OFFSET only once, to avoid an unlikely race if the
5845 compiler delays a load and if this cascades into a signed integer
5847 (mktime): Move tzsettish code to my_tzset, and move
5848 localtime_offset to within mktime so that it doesn’t
5849 need a separate ifdef.
5850 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5851 instead of localtime.
5852 * time/timegm.c: Copy from Gnulib. This has the following changes:
5853 Include mktime-internal.h.
5854 [!_LIBC]: Include config.h and time.h. Do not include
5855 timegm.h or time_r.h. Make __mktime_internal a macro,
5856 and include mktime-internal.h to get its declaration.
5857 (timegm): Temporary is now mktime_offset_t, not time_t.
5858 This affects only Gnulib.
5860 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5863 * string/test-strstr.c (pr23637): New function.
5864 (test_main): Add tests with longer needles.
5865 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5866 * string/strstr.c (AVAILABLE): Likewise.
5868 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5870 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5872 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5874 * NEWS: Mention pow improvements.
5875 * math/Makefile (type-double-routines): Add e_pow_log_data.
5876 * sysdeps/generic/math_private.h (__exp1): Remove.
5877 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5878 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5879 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5881 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5882 (exp_inline): Remove.
5883 (__ieee754_exp): Only single double input is handled.
5884 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5885 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5886 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5887 (__pow_log_data): Define.
5888 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5889 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5890 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5891 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5893 (CFLAGS-e_pow-fma4.c): Likewise.
5895 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5897 Simplify tzfile fstat failure code
5899 * time/tzfile.c (__tzfile_read): Simplify slightly.
5901 Fix tzfile low-memory assertion failure
5903 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5904 when registering time zone abbreviations.
5906 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5908 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5909 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5910 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5911 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5912 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5913 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5914 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5915 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5916 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5918 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5920 (__ceill): Call ceil instead of __ceil.
5921 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5923 (__floorl): Call floor instead of __floor.
5925 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5927 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5928 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5929 using MATH_REDIRECT.
5930 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5932 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5933 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5934 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5935 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5936 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5937 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5938 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5939 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5944 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5945 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5947 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5948 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5949 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5950 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5952 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5953 functions instead of __ceil variants.
5954 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5955 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5957 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5959 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5960 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5962 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5963 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5966 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
5968 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
5969 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
5970 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
5971 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
5972 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
5973 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
5974 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
5975 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
5976 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
5977 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
5978 (ILL_BADIADDR): Remove constant.
5979 (TRAP_BRANCH): Likewise.
5980 (TRAP_HWBKPT): Likewise.
5982 2018-09-14 Joseph Myers <joseph@codesourcery.com>
5985 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
5986 Remove [_MIPS_SIM = _ABIN32] conditional case.
5987 (struct elf_prpsinfo): Likewise.
5990 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
5991 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
5992 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
5994 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
5995 elf_prpsinfo): Likewise.
5996 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
5997 elf_prpsinfo): Likewise.
5998 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6001 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6002 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6003 using MATH_REDIRECT.
6004 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6006 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6007 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6008 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6009 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6010 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6011 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6012 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6013 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6014 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6015 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6016 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6017 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6018 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6019 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6020 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6021 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6022 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6023 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6024 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6027 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6028 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6029 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6030 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6031 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6032 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6034 * math/e_scalbf.c (invalid_fn): Likewise.
6035 * math/e_scalbl.c (invalid_fn): Likewise.
6036 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6038 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6040 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6041 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6042 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6044 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6046 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6048 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6049 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6051 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6052 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6054 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6055 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6056 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6057 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6058 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6059 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6060 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6061 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6062 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6063 && !NO_MATH_REDIRECT] (floor): Likewise.
6064 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6066 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6067 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6068 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6069 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6070 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6071 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6072 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6073 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6078 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6079 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6082 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6083 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6084 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6086 [_ARCH_PWR5X] (__floorf): Likewise.
6087 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6089 [__SSE4_1__] (__floorf): Likewise.
6090 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6091 instead of __floor variants.
6092 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6093 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6094 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6095 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6096 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6097 * math/w_tgamma_compat.c (__tgamma): Likewise.
6098 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6099 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6100 * math/w_tgammal_compat.c (__tgammal): Likewise.
6101 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6102 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6104 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6105 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6106 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6107 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6109 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6110 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6112 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6113 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6115 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6116 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6118 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6120 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6121 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6122 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6123 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6125 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6127 * elf/Makefile (modules-names-tests): New variable.
6129 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6131 * NEWS: Mention log2 improvements.
6132 * math/Makefile (type-double-routines): Add e_log2_data.
6133 * sysdeps/i386/fpu/e_log2_data.c: New file.
6134 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6135 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6136 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6137 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6138 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6139 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6141 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6143 * NEWS: Mention log improvement.
6144 * math/Makefile (type-double-routines): Add e_log_data.
6145 * sysdeps/i386/fpu/e_log_data.c: New file.
6146 * sysdeps/ia64/fpu/e_log_data.c: New file.
6147 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6148 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6149 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6150 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6151 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6152 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6154 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6155 Xuepeng Guo <xuepeng.guo@intel.com>
6158 * sysdeps/i386/start.S: Include <sysdep.h>
6159 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6160 enabled. Add cfi_undefined (eip).
6162 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6164 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6166 (EXTRACT_WORDS64): Likewise.
6167 (INSERT_WORDS64): Likewise.
6168 (GET_FLOAT_WORD): Likewise.
6169 (SET_FLOAT_WORD): Likewise.
6171 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6173 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6174 build, but not for second build if --full-gcc. Use
6175 --enable-languages=all for second build if --full-gcc.
6176 (get_parser): Add --full-gcc option.
6177 (main): Update call to Context.
6179 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6182 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6183 Single Quotation Mark).
6184 (thousands_sep): Likewise.
6185 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6186 * localedata/locales/it_IT (thousands_sep): Use ".".
6187 (grouping): Use "3;3".
6189 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6191 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6192 x86_64 and i686 configs using --enable-obsolete-rpc
6193 --enable-obsolete-nsl.
6195 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6197 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6199 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6201 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6202 Increment size of new_argv by one.
6204 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6207 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6208 * localedata/locales/ar_IN (d_fmt): Likewise.
6209 * localedata/locales/bhb_IN (d_fmt): Likewise.
6210 * localedata/locales/bho_IN (d_fmt): Likewise.
6211 * localedata/locales/bn_BD (d_fmt): Likewise.
6212 * localedata/locales/bn_IN (d_fmt): Likewise.
6213 * localedata/locales/doi_IN (d_fmt): Likewise.
6214 * localedata/locales/gu_IN (d_fmt): Likewise.
6215 * localedata/locales/hi_IN (d_fmt): Likewise.
6216 * localedata/locales/hne_IN (d_fmt): Likewise.
6217 * localedata/locales/kn_IN (d_fmt): Likewise.
6218 * localedata/locales/mag_IN (d_fmt): Likewise.
6219 * localedata/locales/mai_IN (d_fmt): Likewise.
6220 * localedata/locales/mjw_IN (d_fmt): Likewise.
6221 * localedata/locales/ml_IN (d_fmt): Likewise.
6222 * localedata/locales/mni_IN (d_fmt): Likewise.
6223 * localedata/locales/mr_IN (d_fmt): Likewise.
6224 * localedata/locales/pa_IN (d_fmt): Likewise.
6225 * localedata/locales/raj_IN (d_fmt): Likewise.
6226 * localedata/locales/sat_IN (d_fmt): Likewise.
6227 * localedata/locales/sd_IN (d_fmt): Likewise.
6228 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6229 * localedata/locales/ta_IN (d_fmt): Likewise.
6230 * localedata/locales/ta_LK (d_fmt): Likewise.
6231 * localedata/locales/tcy_IN (d_fmt): Likewise.
6232 * localedata/locales/ur_IN (d_fmt): Likewise.
6234 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6235 * localedata/locales/ks_IN (d_fmt): Likewise.
6236 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6238 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6239 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6240 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6241 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6243 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6245 * NEWS: Mention exp and exp2 improvements.
6246 * math/Makefile (libm-support): Remove t_exp.
6247 (type-double-routines): Add math_err and e_exp_data.
6248 * sysdeps/aarch64/libm-test-ulps: Update.
6249 * sysdeps/arm/libm-test-ulps: Update.
6250 * sysdeps/i386/fpu/e_exp_data.c: New file.
6251 * sysdeps/i386/fpu/math_err.c: New file.
6252 * sysdeps/i386/fpu/t_exp.c: Remove.
6253 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6254 * sysdeps/ia64/fpu/math_err.c: New file.
6255 * sysdeps/ia64/fpu/t_exp.c: Remove.
6256 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6257 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6258 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6259 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6260 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6261 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6262 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6263 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6264 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6265 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6266 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6267 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6268 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6269 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6273 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6275 * sysdeps/alpha/fpu/math_private.h: Remove.
6277 * sysdeps/generic/math_private.h
6278 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6279 Move this inline function ....
6280 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6281 * include/math.h [!_ISOMAC]: To here....
6283 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6285 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6287 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6288 * include/fenv.h [!_ISOMAC]: ... to here.
6289 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6290 (feraiseexcept): Likewise.
6291 * math/fromfp.h: Do not include <fenv_private.h>.
6292 * math/s_cexp_template.c: Likewise.
6293 * math/s_csin_template.c: Likewise.
6294 * math/s_csinh_template.c: Likewise.
6295 * math/s_ctan_template.c: Likewise.
6296 * math/s_ctanh_template.c: Likewise.
6297 * math/s_iseqsig_template.c: Likewise.
6298 * math/w_acos_compat.c: Likewise.
6299 * math/w_acosf_compat.c: Likewise.
6300 * math/w_acosl_compat.c: Likewise.
6301 * math/w_asin_compat.c: Likewise.
6302 * math/w_asinf_compat.c: Likewise.
6303 * math/w_asinl_compat.c: Likewise.
6304 * math/w_j0_compat.c: Likewise.
6305 * math/w_j0f_compat.c: Likewise.
6306 * math/w_j0l_compat.c: Likewise.
6307 * math/w_j1_compat.c: Likewise.
6308 * math/w_j1f_compat.c: Likewise.
6309 * math/w_j1l_compat.c: Likewise.
6310 * math/w_jn_compat.c: Likewise.
6311 * math/w_jnf_compat.c: Likewise.
6312 * math/w_log10_compat.c: Likewise.
6313 * math/w_log10f_compat.c: Likewise.
6314 * math/w_log10l_compat.c: Likewise.
6315 * math/w_log2_compat.c: Likewise.
6316 * math/w_log2f_compat.c: Likewise.
6317 * math/w_log2l_compat.c: Likewise.
6318 * math/w_log_compat.c: Likewise.
6319 * math/w_logf_compat.c: Likewise.
6320 * math/w_logl_compat.c: Likewise.
6321 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6322 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6323 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6324 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6325 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6326 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6327 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6328 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6329 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6330 * sysdeps/ieee754/k_standardl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6343 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6344 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6348 * math/w_ilogb_template.c: Include <fenv.h> instead of
6350 * math/w_llogb_template.c: Likewise.
6351 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6352 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6354 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6356 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6357 * math/fromfp.h: Include <fenv_private.h>.
6358 * math/math-narrow.h: Likewise.
6359 * math/s_cexp_template.c: Likewise.
6360 * math/s_csin_template.c: Likewise.
6361 * math/s_csinh_template.c: Likewise.
6362 * math/s_ctan_template.c: Likewise.
6363 * math/s_ctanh_template.c: Likewise.
6364 * math/s_iseqsig_template.c: Likewise.
6365 * math/w_acos_compat.c: Likewise.
6366 * math/w_acosf_compat.c: Likewise.
6367 * math/w_acosl_compat.c: Likewise.
6368 * math/w_asin_compat.c: Likewise.
6369 * math/w_asinf_compat.c: Likewise.
6370 * math/w_asinl_compat.c: Likewise.
6371 * math/w_ilogb_template.c: Likewise.
6372 * math/w_j0_compat.c: Likewise.
6373 * math/w_j0f_compat.c: Likewise.
6374 * math/w_j0l_compat.c: Likewise.
6375 * math/w_j1_compat.c: Likewise.
6376 * math/w_j1f_compat.c: Likewise.
6377 * math/w_j1l_compat.c: Likewise.
6378 * math/w_jn_compat.c: Likewise.
6379 * math/w_jnf_compat.c: Likewise.
6380 * math/w_llogb_template.c: Likewise.
6381 * math/w_log10_compat.c: Likewise.
6382 * math/w_log10f_compat.c: Likewise.
6383 * math/w_log10l_compat.c: Likewise.
6384 * math/w_log2_compat.c: Likewise.
6385 * math/w_log2f_compat.c: Likewise.
6386 * math/w_log2l_compat.c: Likewise.
6387 * math/w_log_compat.c: Likewise.
6388 * math/w_logf_compat.c: Likewise.
6389 * math/w_logl_compat.c: Likewise.
6390 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6391 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6392 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6393 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6394 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6395 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6396 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6397 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6398 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6399 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6400 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6401 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6402 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6403 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6404 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6405 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6406 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6407 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6408 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6409 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6410 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6411 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6412 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6413 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6414 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6415 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6416 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6417 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6418 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6419 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6420 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6421 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6422 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6423 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6424 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6425 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6426 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6427 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6428 * sysdeps/ieee754/k_standardl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6454 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6455 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6459 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6460 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6465 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6466 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6467 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6468 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6469 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6470 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6471 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6472 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6473 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6474 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6475 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6476 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6477 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6478 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6479 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6480 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6481 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6482 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6483 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6484 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6485 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6486 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6487 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6488 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6489 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6490 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6491 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6492 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6493 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6494 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6495 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6496 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6497 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6498 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6499 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6501 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6504 * include/stdio.h (__libc_fatal): Mention newline in comment.
6505 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6506 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6507 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6508 * nss/nsswitch.c (__nss_next2): Likewise.
6509 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6510 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6511 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6512 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6513 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6514 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6515 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6516 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6517 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6518 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6519 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6520 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6521 (__netlink_assert_response): Likewise.
6523 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6525 * conform/glibcconform.py: New file.
6526 * conform/list-header-symbols.py: Likewise.
6527 * conform/list-header-symbols.pl: Remove.
6528 * conform/Makefile (tests-special): Only add linknamespace tests
6530 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6532 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6535 * support/Makefile (libsupport-routines): Add
6536 support_copy_file_range and xcopy_file_range.
6537 * support/support.h: Include <sys/types.h>.
6538 (support_copy_file_range): New prototype.
6539 * support/support_copy_file_range.c: New file. Copied and
6540 modified from io/copy_file_range-compat.c.
6541 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6542 instead of copy_file_range.
6543 * support/xcopy_file_range.c: New file.
6544 * support/xunistd.h (xcopy_file_range): New prototype.
6546 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6548 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6549 xpthread_create and xpthread_join.
6551 2018-08-30 Florian Weimer <fweimer@redhat.com>
6553 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6555 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6557 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6560 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6562 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6563 and minus_oflow as non-finite.
6565 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6567 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6568 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6569 moved to fenv_private.h except for ...
6570 (TOINT_INTRINSICS): Kept in math_private.h.
6571 (roundtoint): Likewise.
6572 (converttoint): Likewise.
6573 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6574 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6575 * sysdeps/arm/math_private.h: Remove.
6576 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6578 * sysdeps/generic/math_private.h: ... this file. Include
6579 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6580 Include <fenv_private.h>. Remove functions and macros moved to
6582 * sysdeps/i386/fpu/math_private.h: Remove.
6583 * sysdeps/mips/math_private.h: Move to ....
6584 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6585 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6586 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6587 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6588 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6589 * sysdeps/powerpc/fpu/math_private.h: Do not include
6591 * sysdeps/riscv/rvf/math_private.h: Move to ....
6592 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6593 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6595 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6596 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6597 * sysdeps/sparc/fpu/math_private.h: Remove.
6598 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6599 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6600 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6602 * sysdeps/x86_64/fpu/math_private.h: Do not include
6603 <sysdeps/i386/fpu/fenv_private.h>.
6605 2018-08-28 Florian Weimer <fweimer@redhat.com>
6608 * posix/tst-regcomp-truncated.c: New file.
6609 * posix/Makefile (tests): Add it.
6610 (tst-regcomp-truncated.out): Depend on generated locales.
6612 2018-08-28 Florian Weimer <fweimer@redhat.com>
6614 * support/test-container.c (main): Treat unshare failure with
6615 EPERM as an unsupported test.
6617 2018-08-28 Florian Weimer <fweimer@redhat.com>
6620 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6621 * nscd/netgroupcache.c
6622 (addgetnetgrentX): Add tofreep parameter. Do not free
6623 heap-allocated buffer.
6624 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6625 (addgetnetgrentX_ignore): New function.
6626 (addgetnetgrent): Call it.
6627 (readdgetnetgrent): Likewise.
6629 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6631 * string/memmem.c: Use memcmp for first match.
6633 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6636 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6638 2018-08-27 DJ Delorie <dj@redhat.com>
6640 * support/Makefile (others): Don't list programs explicitly as a
6641 dependency of "others".
6643 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6645 * sysdeps/generic/math-tests-trap-force.h: New file.
6646 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6647 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6648 * sysdeps/powerpc/math-tests.h: Remove file.
6649 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6651 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6652 Torvald Riegel <triegel@redhat.com>
6655 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6656 Update r to include the set wake-request flag if waiters are
6657 remaining after spinning.
6659 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6661 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6663 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6666 regex: fix uninitialized memory access
6667 I introduced this bug into gnulib in commit
6668 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6669 eventually it was merged into glibc. The bug was found by
6670 project-repo <bugs@feusi.co> and reported here:
6671 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6672 Diagnosis and draft fix reported by Assaf Gordon here:
6673 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6674 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6675 * posix/regex_internal.c (build_wcs_upper_buffer):
6676 Fix bug when mbrtowc returns 0.
6678 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6680 * po/be.po: Update translation.
6682 2018-08-24 DJ Delorie <dj@delorie.com>
6684 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6687 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6690 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6691 create temporary files in source tree.
6693 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6695 * sysdeps/generic/math-tests-trap.h: New file.
6696 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6697 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6698 * sysdeps/aarch64/math-tests.h: Remove file.
6699 * sysdeps/arm/math-tests.h: Likewise.
6700 * sysdeps/riscv/math-tests.h: Likewise.
6701 * sysdeps/aarch64/math-tests-trap.h: New file.
6702 * sysdeps/arm/math-tests-trap.h: Likewise.
6703 * sysdeps/riscv/math-tests-trap.h: Likewise.
6705 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6707 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6708 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6709 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6710 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6711 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6712 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6713 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6714 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6715 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6716 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6717 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6718 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6719 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6720 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6721 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6722 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6723 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6724 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6726 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6728 * sysdeps/generic/math-tests-exceptions.h: New file.
6729 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6730 (EXCEPTION_TESTS_float): Do not define here.
6731 (EXCEPTION_TESTS_double): Likewise.
6732 (EXCEPTION_TESTS_long_double): Likewise.
6733 (EXCEPTION_TESTS_float128): Likewise.
6734 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6736 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6737 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6738 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6739 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6740 * sysdeps/mips/math-tests.h: Likewise.
6741 * sysdeps/nios2/math-tests.h: Likewise.
6742 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6743 (EXCEPTION_TESTS_float): Do not define here.
6744 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6745 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6746 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6748 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6750 * NEWS: Move optimized sinf entry to 2.29.
6752 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6754 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6756 2018-08-22 DJ Delorie <dj@redhat.com>
6758 * Makefile (testroot.pristine): New rules to initialize the
6759 test-in-container "testroot".
6760 * Makerules (all-testsuite): Add tests-container.
6761 * Rules (tests-expected): Add tests-container.
6762 (binaries-all-tests): Likewise.
6763 (tests-container): New, run these tests in the testroot container.
6764 * support/Makefile (others): Add *-container, support_paths.c,
6765 xmkdirp, and links-dso-program.
6766 * support/links-dso-program-c.c: New.
6767 * support/links-dso-program.cc: New.
6768 * support/test-container.c: New.
6769 * support/shell-container.c: New.
6770 * support/echo-container.c: New.
6771 * support/true-container.c: New.
6772 * support/xmkdirp.c: New.
6773 * support/xsymlink.c: New.
6774 * support/support_paths.c: New.
6775 * support/support.h: Add support paths prototypes.
6776 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6778 * nss/tst-nss-test3.c: Convert to test-in-container.
6779 * nss/tst-nss-test3.root/: New.
6781 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6783 regex: port Gnulib code to z/OS POSIX environment
6784 Problem reported by Arnold Robbins in:
6785 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6786 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6789 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6791 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6792 (ROUNDING_TESTS_double): Remove.
6793 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6794 (ROUNDING_TESTS_double): Remove.
6795 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6796 (ROUNDING_TESTS_double): Remove.
6797 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6798 (ROUNDING_TESTS_float): Remove.
6799 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6800 (ROUNDING_TESTS_float): Remove.
6801 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6802 (ROUNDING_TESTS_float): Remove.
6803 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6805 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6806 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6808 * sysdeps/generic/math-tests-rounding.h: New file.
6809 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6810 (ROUNDING_TESTS_float): Do not define here.
6811 (ROUNDING_TESTS_double): Likewise.
6812 (ROUNDING_TESTS_long_double): Likewise.
6813 (ROUNDING_TESTS_float128): Likewise.
6814 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6815 (ROUNDING_TESTS_double): Undefine before defining.
6816 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6817 (ROUNDING_TESTS_double): Undefine before defining.
6818 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6819 (ROUNDING_TESTS_double): Undefine before defining.
6820 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6821 (ROUNDING_TESTS_float): Undefine before defining.
6822 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6823 (ROUNDING_TESTS_float): Undefine before defining.
6824 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6825 (ROUNDING_TESTS_float): Undefine before defining.
6826 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6827 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6829 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6830 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6831 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6832 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6833 (ROUNDING_TESTS_float): Do not define here.
6834 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6835 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6836 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6837 (ROUNDING_TESTS_float): Likewise.
6838 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6839 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6840 * sysdeps/mips/math-tests.h [__mips_soft_float]
6841 (ROUNDING_TESTS_float): Likewise.
6842 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6843 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6844 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6845 (ROUNDING_TESTS_double): Likewise.
6846 (ROUNDING_TESTS_long_double): Likewise.
6848 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6850 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6851 (PF_XDP): New macro.
6852 (AF_XDP): New macro.
6853 (SOL_XDP): New macro.
6855 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6857 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6858 (TCP_INQ): Likewise.
6859 (TCP_CM_INQ): Likewise.
6860 (TCP_REPAIR_ON): Likewise.
6861 (TCP_REPAIR_OFF): Likewise.
6862 (TCP_REPAIR_OFF_NO_WP): Likewise.
6863 (struct tcp_zerocopy_receive): New type.
6865 2018-08-21 Florian Weimer <fweimer@redhat.com>
6867 * support/support.h (support_descriptor_supports_holes): Declare.
6868 * support/Makefile (libsupport-routines): Add
6869 support_descriptor_supports_holes.
6870 * support/support_descriptor_supports_holes.c: New file.
6871 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6872 and stop testing if holes are not supported.
6873 * io/test-lfs.c (do_prepare): Likewise.
6874 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6876 * timezone/tst-tzset.c (create_tz_file): Likewise.
6877 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6879 (do_prepare): Set it.
6880 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6882 2018-08-21 Florian Weimer <fweimer@redhat.com>
6885 * Makeconfig (+cflags): Do not sort (and deduplicate).
6887 2018-08-21 Florian Weimer <fweimer@redhat.com>
6889 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6890 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6892 2018-08-20 Florian Weimer <fweimer@redhat.com>
6894 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6895 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6897 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6899 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6900 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6901 and ssi_arch members.
6903 * elf/elf.c (NT_VMCOREDD): New macro.
6904 (AT_MINSIGSTKSZ): Likewise.
6906 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6908 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6909 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6910 s_cosf-ppc64 and s_cosf-power8.
6911 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6912 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6913 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6914 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6921 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6922 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6924 2018-08-17 Florian Weimer <fweimer@redhat.com>
6926 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6928 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6930 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6932 2018-08-16 Florian Weimer <fweimer@redhat.com>
6934 * configure.ac: Add --with-nonshared-cflags option.
6935 * config.make.in (extra-nonshared-cflags): Set variable.
6936 * Makeconfig (CFLAGS-.oS): Use it.
6937 * manual/install.texi (Configuring and compiling): Document
6938 --with-nonshared-cflags.
6939 * configure: Regenerate.
6940 * INSTALL: Likewise.
6942 2018-08-16 Florian Weimer <fweimer@redhat.com>
6944 * Makeconfig (ASFLAGS): Always append required assembler flags.
6946 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6948 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6949 (malloc_consolidate): Likewise.
6951 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6953 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6955 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6957 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6960 * benchtests/bench-strlen.c: Print performance numbers in json.
6962 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6964 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6965 (sysdep_routines): Build strcmp-power9 and strncmp-power9
6966 only for little endian.
6967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6968 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
6969 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
6970 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
6971 Add check for little endian.
6972 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6973 (__strcmp_power9): Add check for little endian.
6974 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
6975 Add check for little endian.
6976 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6977 (__strncmp_power9): Add check for little endian.
6978 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
6979 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
6980 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6981 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
6982 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
6984 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
6986 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
6987 [!STRLEN](STRLEN): Set to __strlen.
6988 * sysdeps/aarch64/multiarch/strlen.c: New file.
6989 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
6990 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
6991 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6992 (__libc_ifunc_impl_list): Add strlen.
6993 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6994 strlen_generic and strlen_asimd.
6996 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6998 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
6999 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7000 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7002 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7004 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7006 2018-08-14 Florian Weimer <fweimer@redhat.com>
7009 * include/stdio.h (__vfxprintf): Declare.
7010 * stdio-common/fxprintf.c (__vfxprintf): New function.
7011 (__fxprintf): Call it.
7012 * misc/err.c (convert_and_print): Remove function.
7013 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7014 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7015 * misc/Makefile (tests): Add tst-warn-wide.
7016 * misc/tst-warn-wide.c: New file.
7018 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7019 Szabolcs Nagy <szabolcs.nagy@arm.com>
7021 * NEWS: Mention sinf, cosf, sincosf.
7022 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7023 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7024 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7025 constants rather than including generic sincosf.h.
7026 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7027 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7028 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7029 (reduced_cos): Remove.
7030 (sinf_poly): New function.
7031 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7033 2018-08-14 Florian Weimer <fweimer@redhat.com>
7037 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7038 processing, bail out if no room, and close the stream before
7040 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7041 (tst-nss-files-alias-leak): Link with libdl.
7042 (tst-nss-files-alias-leak.out): Depend on nss_files.
7044 * nss/tst-nss-files-alias-leak.c: New file.
7046 2018-08-14 Florian Weimer <fweimer@redhat.com>
7048 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7049 server_user, stat_user.
7051 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7053 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7055 (io_pgetevents): New syscall.
7058 * manual/install.texi (Configuring and compiling): Do not list
7059 tools used for testing pretty printers here.
7060 (Tools for Compilation): List Python, PExpect and GDB here.
7061 Update descriptions of uses of Perl and Python.
7062 * INSTALL: Regenerate.
7064 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7067 2018-08-13 Florian Weimer <fweimer@redhat.com>
7069 * misc/error.c (error): Add missing va_end call.
7070 (error_at_line): Likewise.
7072 2018-08-13 Florian Weimer <fweimer@redhat.com>
7074 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7076 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7078 * benchtests/scripts/benchout.schema.json (properties): Add
7081 * benchtests/bench-skeleton.c (main): Add duration and
7082 iterations attributes.
7084 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7086 regex: Gnulib unibyte RRI uses bytes not chars
7087 Adjust the non-glibc code to agree with what Gawk needs for
7088 rational range interpretation (RRI) for regular expression ranges.
7089 In unibyte locales, Gawk wants ranges to use the underlying byte
7090 rather than the character code point. This change does not affect
7092 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7093 In unibyte locales, use the byte value rather than
7094 running it through btowc.
7096 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7098 * sysdeps/generic/math-tests-snan.h: New file.
7099 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7100 (SNAN_TESTS_float): Do not define here.
7101 (SNAN_TESTS_double): Likewise.
7102 (SNAN_TESTS_long_double): Likewise.
7103 (SNAN_TESTS_float128): Likewise.
7104 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7105 * sysdeps/i386/fpu/math-tests.h: Remove file.
7106 * sysdeps/ia64/math-tests-snan.h: New file.
7107 * sysdeps/ia64/math-tests.h: Remove file.
7108 * sysdeps/x86/math-tests.h: Likewise.
7109 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7111 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7112 Szabolcs Nagy <szabolcs.nagy@arm.com>
7114 * math/Makefile: Add s_sincosf_data.c.
7115 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7116 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7117 (sincosf_poly): Likewise.
7118 (reduce_small): Likewise.
7119 (reduce_large): Likewise.
7120 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7121 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7122 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7123 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7125 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7126 Szabolcs Nagy <szabolcs.nagy@arm.com>
7128 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7129 (converttoint): Use lround.
7130 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7131 document the semantics when TOINT_INTRINSICS is set.
7132 (converttoint): Likewise.
7133 (TOINT_RINT): Remove.
7134 (TOINT_SHIFT): Remove.
7135 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7138 2018-08-10 Florian Weimer <fweimer@redhat.com>
7141 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7143 (__old_getdents64): Use getdents64. Convert entries without
7145 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7146 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7147 tst-readdir64-compat.
7149 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7151 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7154 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7156 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7157 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7158 code to s390x-mcount.h and #include it.
7159 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7160 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7163 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7165 * stdlib/Versions: Remove __fentry__.
7166 * sysdeps/i386/Versions: Add __fentry__.
7167 * sysdeps/x86_64/Versions: Add __fentry__.
7169 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7171 * sysdeps/s390/Makefile: Register the new tests.
7172 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7173 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7174 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7175 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7176 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7177 * sysdeps/s390/tst-dl-runtime.c: New file.
7179 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7181 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7184 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7186 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7189 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7191 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7194 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7196 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7199 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7201 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7202 Use symbolic offsets for stack variables.
7204 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7206 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7207 Use symbolic offsets for stack variables.
7209 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7211 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7212 Use symbolic offsets for stack variables.
7214 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7216 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7217 Use symbolic offsets for stack variables.
7219 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7221 * math/gen-libm-test.py: New file.
7222 * math/gen-libm-test.pl: Remove.
7223 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7224 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7226 ($(libm-test-c-noauto-obj)): Likewise.
7227 ($(libm-test-c-auto-obj)): Likewise.
7228 ($(libm-test-c-narrow-obj)): Likewise.
7229 (regen-ulps): Likewise.
7230 * math/README.libm-test: Update references to gen-libm-test.pl.
7231 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7232 referencing gen-libm-test.pl.
7233 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7234 * math/libm-test-support.c: Likewise.
7235 * math/libm-test-support.h: Likewise.
7236 * sysdeps/generic/libm-test-ulps: Likewise.
7238 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7240 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7243 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7245 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7246 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7248 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7250 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7252 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7253 __pthread_setspecific): Add hidden proto.
7254 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7255 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7257 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7259 * benchtests/bench-string.h (buf1_size, buf2_size): New
7261 (init_sizes): New function.
7262 (test_init): Use it.
7263 (alloc_buf, exit_error): New functions.
7264 (alloc_bufs): Use ALLOC_BUF.
7265 (realloc_bufs): Remove.
7266 * benchtests/bench-memcmp.c (do_test): Adjust.
7267 * benchtests/bench-memset-large.c (do_test): Likewise.
7268 * benchtests/bench-memset-walk.c (do_test): Likewise.
7269 * benchtests/bench-memset.c (do_test): Likewise.
7270 * benchtests/bench-strncmp.c (do_test): Likewise.
7272 2018-08-06 Andreas Schwab <schwab@suse.de>
7274 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7275 of CONST_THREAD_AREA.
7277 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7279 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7280 (STATE_SAVE_MASK): Likewise.
7281 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7282 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7283 (STATE_SAVE_MASK): Likewise.
7284 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7285 instead of <cpu-features.h>.
7287 2018-08-03 DJ Delorie <dj@redhat.com>
7289 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7290 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7292 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7294 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7296 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7298 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7299 * math/libm-test-logb.inc (logb_test_data): Likewise.
7301 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7303 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7304 * string/strstr.c (AVAILABLE): Likewise.
7306 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7308 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7310 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7311 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7312 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7314 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7316 * po/be.po: Update translation.
7318 * po/be.po: Update translation.
7320 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7322 * sysdeps/x86/cpu-features-offsets.sym
7323 (rtld_global_ro_offsetof): Removed.
7324 (CPU_FEATURES_SIZE): Likewise.
7325 (CPUID_OFFSET): Likewise.
7326 (CPUID_SIZE): Likewise.
7327 (CPUID_EAX_OFFSET): Likewise.
7328 (CPUID_EBX_OFFSET): Likewise.
7329 (CPUID_ECX_OFFSET): Likewise.
7330 (CPUID_EDX_OFFSET): Likewise.
7331 (FAMILY_OFFSET): Likewise.
7332 (MODEL_OFFSET): Likewise.
7333 (FEATURE_OFFSET): Likewise.
7334 (FEATURE_SIZ): Likewise.
7335 (COMMON_CPUID_INDEX_1): Likewise.
7336 (COMMON_CPUID_INDEX_7): Likewise.
7337 (FEATURE_INDEX_1): Likewise.
7338 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7340 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7342 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7343 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7344 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7345 (install-locales): Depend on install-locale-archive.
7346 (install-locale-archive): Define.
7347 (install-locale-files): Define.
7348 (build-one-locale): Define macro.
7349 * manual/install.texi (Running make install): Document.
7350 * manual/INSTALL: Regenerate.
7352 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7354 * benchtests/scripts/compare_strings.py: Import traceback.
7355 (parse_file): Pretty-print error.
7357 * NEWS: Mention the change.
7358 * elf/dl-tunables.list: Rename tune namespace to cpu.
7359 * sysdeps/powerpc/dl-tunables.list: Likewise.
7360 * sysdeps/x86/dl-tunables.list: Likewise.
7361 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7363 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7364 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7365 * manual/README.tunables: Likewise.
7366 * manual/tunables.texi: Likewise.
7367 * sysdeps/powerpc/cpu-features.c: Likewise.
7368 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7369 (init_cpu_features): Likewise.
7370 * sysdeps/x86/cpu-features.c: Likewise.
7371 * sysdeps/x86/cpu-features.h: Likewise.
7372 * sysdeps/x86/cpu-tunables.c: Likewise.
7373 * sysdeps/x86_64/Makefile: Likewise.
7374 * sysdeps/x86/dl-cet.c: Likewise.
7376 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7379 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7380 [__mips_hard_float].
7381 (FE_UNDERFLOW): Likewise.
7382 (FE_OVERFLOW): Likewise.
7383 (FE_DIVBYZERO): Likewise.
7384 (FE_INVALID): Likewise.
7385 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7386 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7387 (FE_UPWARD): Likewise.
7388 (FE_DOWNWARD): Likewise.
7389 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7390 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7391 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7392 [__mips_hard_float].
7393 (FP_ROUNDMODE): Likewise.
7394 (FP_RND_NEAREST): Likewise.
7395 (FP_RND_ZERO): Likewise.
7396 (FP_RND_PINF): Likewise.
7397 (FP_RND_MINF): Likewise.
7398 (FP_EX_INVALID): Likewise.
7399 (FP_EX_OVERFLOW): Likewise.
7400 (FP_EX_UNDERFLOW): Likewise.
7401 (FP_EX_DIVZERO): Likewise.
7402 (FP_EX_INEXACT): Likewise.
7403 (FP_INIT_ROUNDMODE): Likewise.
7404 * sysdeps/mips/nofpu/fesetenv.c: New file.
7405 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7407 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7409 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7410 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7411 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7412 conditional on [FE_UPWARD].
7414 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7416 regex: fix memory leak in Gnulib
7417 Problem and fix reported by Assaf Gordon in:
7418 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7419 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7420 range_ends members too, as they are defined in 'struct
7421 re_charset_t' even if not _LIBC. This affects only Gnulib.
7423 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7425 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7427 (get_common_indices): This.
7428 (init_cpu_features): Updated.
7430 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7432 * sysdeps/generic/math-tests-snan-payload.h: New file.
7433 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7434 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7435 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7436 * sysdeps/generic/math-tests.h: Include
7437 <math-tests-snan-payload.h>.
7438 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7439 * sysdeps/hppa/math-tests.h: Remove file.
7440 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7441 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7442 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7445 * sysdeps/generic/math-tests-snan-cast.h: New file.
7446 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7447 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7448 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7449 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7451 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7453 * version.h (RELEASE): Set to "development".
7454 (VERSION): Set to "2.28.9000".
7455 * NEWS (2.29): New section.
7457 * version.h (RELEASE): Set to "stable".
7458 (VERSION): Set to "2.28".
7459 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7460 * NEWS: Add the list of bugs fixed in 2.28.
7462 * po/ca.po: Update to latest version.
7463 * po/cs.po: Likewise
7464 * po/da.po: Likewise
7465 * po/el.po: Likewise
7466 * po/eo.po: Likewise
7467 * po/es.po: Likewise
7468 * po/fi.po: Likewise
7469 * po/fr.po: Likewise
7470 * po/gl.po: Likewise
7471 * po/hu.po: Likewise
7472 * po/ia.po: Likewise
7473 * po/id.po: Likewise
7474 * po/it.po: Likewise
7475 * po/ja.po: Likewise
7476 * po/ko.po: Likewise
7477 * po/lt.po: Likewise
7478 * po/nb.po: Likewise
7479 * po/nl.po: Likewise
7480 * po/pt_BR.po: Likewise
7481 * po/ru.po: Likewise
7482 * po/rw.po: Likewise
7483 * po/sk.po: Likewise
7484 * po/sl.po: Likewise
7485 * po/tr.po: Likewise
7486 * po/zh_CN.po: Likewise
7487 * po/zh_TW.po: Likewise
7489 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7491 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7493 (init): ... before initializing libpthread.
7495 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7496 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7497 (__mach_setup_tls): ... new function.
7498 (mach_setup_tls): New alias.
7499 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7500 __mach_setup_thread.
7501 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7502 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7503 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7504 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7506 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7508 * manual/install.texi: Update versions.
7509 * INSTALL: Regenerate.
7511 * manual/contrib.texi (Contributors): Update contributions.
7513 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7515 * po/be.po: Update translations.
7517 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7519 * sysdeps/sh/libm-test-ulps: Update.
7521 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7523 * po/bg.po: Update translations.
7524 * po/de.po: Likewise.
7525 * po/hr.po: Likewise.
7526 * po/pt_BR.po: Likewise.
7527 * po/sv.po: Likewise.
7528 * po/vi.po: Likewise.
7530 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7533 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7534 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7535 (CFLAGS-tst-cet-property-1.o): New.
7536 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7537 ($(objpfx)tst-cet-property-2): Likewise.
7538 ($(objpfx)tst-cet-property-2.out): Likewise.
7539 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7540 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7541 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7542 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7543 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7545 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7548 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7550 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7552 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7553 __sbrk): Do not set attribute_hidden.
7554 * sysdeps/mach/hurd/not-errno.h: New file.
7555 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7556 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7558 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7560 * po/uk.po: Update translations.
7561 * po/cs.po: Likewise.
7562 * po/pl.po: Likewise.
7564 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7566 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7567 parse beyond the note end.
7569 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7571 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7572 kernel does not support OFD locks.
7573 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7575 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7577 * sysdeps/mach/hurd/Versions (libc): Make __access and
7578 __access_noerrno external so they can override the ld symbols.
7579 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7580 __writev, __open64, __access_noerrno extern so they can be overrided.
7581 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7582 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7584 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7586 * po/libc.pot: Regenerate.
7588 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7590 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7592 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7595 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7597 (init_cpu_features): Call get_extended_indices for both Intel
7599 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7600 Remove "for AMD" comment.
7602 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7605 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7606 COMMON_CPUID_INDEX_80000001.
7608 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7610 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7611 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7613 2018-07-26 Florian Weimer <fweimer@redhat.com>
7615 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7616 aliases for symbols not in the implementation namespace.
7618 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7621 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7622 lowercase in LATIN script.
7623 * localedata/Makefile (test-input): Add en_US.UTF-8.
7624 * localedata/en_US.UTF-8.in: New file.
7625 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7626 and restore old tests.
7627 * posix/tst-regexloc.c (do_test): Add back range expression test.
7629 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7631 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7633 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7635 * nptl/threads.h: Move to ...
7636 * sysdeps/nptl/threads.h: ... here.
7637 * sysdeps/hurd/stdc-predef.h: New file.
7639 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7641 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7642 tst-cet-setcontext-1 if CET is enabled.
7643 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7644 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7646 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7648 * include/threads.h: Move to ...
7649 * sysdeps/nptl/threads.h: ... here.
7650 * sysdeps/htl/threads.h: New file.
7651 * conform/Makefile (linknamespace-libs-ISO11): Use
7652 static-thread-library instead of linking libpthread.
7653 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7655 2018-07-25 Florian Weimer <fweimer@redhat.com>
7657 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7658 nanoseconds into seconds.
7659 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7660 (do_test): Likewise.
7661 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7662 (do_test): Likewise. Avoid nanosecond overflow and spurious
7663 timeouts due to system load.
7664 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7665 (child_wait): Increment it.
7666 (do_test): Wait as long as necessary until all expected threads
7669 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7670 H.J. Lu <hongjiu.lu@intel.com>
7672 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7674 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7675 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7676 (__push___start_context): New.
7677 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7679 (__getcontext): Record the current shadow stack base. Save the
7680 caller's shadow stack pointer and base.
7681 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7682 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7683 (__push___start_context): New prototype.
7684 (__makecontext): Call __push___start_context to allocate a new
7685 shadow stack, push __start_context onto the new stack as well
7686 as the new shadow stack.
7687 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7689 (__setcontext): Restore the target shadow stack.
7690 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7692 (__swapcontext): Record the current shadow stack base. Save
7693 the caller's shadow stack pointer and base. Restore the target
7695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7696 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7697 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7699 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7701 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7702 tst-setcontext8 and tst-setcontext9.
7703 * stdlib/tst-setcontext6.c: New file.
7704 * stdlib/tst-setcontext7.c: Likewise.
7705 * stdlib/tst-setcontext8.c: Likewise.
7706 * stdlib/tst-setcontext9.c: Likewise.
7708 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7710 * stdlib/Makefile ((tests): Add tst-setcontext5.
7711 * stdlib/tst-setcontext5.c: New file.
7713 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7715 * stdlib/Makefile (tests): Add tst-setcontext4.
7716 * stdlib/tst-setcontext4.c: New file.
7718 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7720 * stdlib/Makefile (tests): Add tst-swapcontext1.
7721 * stdlib/tst-swapcontext1.c: New test.
7723 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7725 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7726 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7727 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7728 and tst-cet-legacy-4c.
7729 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7730 and tst-cet-legacy-mod-4.
7731 (CFLAGS-tst-cet-legacy-2.c): New.
7732 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7733 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7734 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7735 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7736 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7737 ($(objpfx)tst-cet-legacy-1): Likewise.
7738 ($(objpfx)tst-cet-legacy-2): Likewise.
7739 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7740 ($(objpfx)tst-cet-legacy-2a): Likewise.
7741 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7742 ($(objpfx)tst-cet-legacy-4): Likewise.
7743 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7744 ($(objpfx)tst-cet-legacy-4a): Likewise.
7745 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7746 (tst-cet-legacy-4a-ENV): Likewise.
7747 ($(objpfx)tst-cet-legacy-4b): Likewise.
7748 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7749 (tst-cet-legacy-4b-ENV): Likewise.
7750 ($(objpfx)tst-cet-legacy-4c): Likewise.
7751 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7752 (tst-cet-legacy-4c-ENV): Likewise.
7753 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7754 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7755 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7756 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7757 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7758 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7759 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7760 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7761 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7762 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7763 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7765 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7767 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7768 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7770 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7771 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7774 2018-07-25 Andreas Schwab <schwab@suse.de>
7777 * locale/weightwc.h (findidx): Handle the case where usrc is a
7778 prefix of cp but one character too short.
7780 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7782 * NEWS: Add ISO C threads addition.
7784 2018-07-24 Florian Weimer <fweimer@redhat.com>
7786 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7787 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7788 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7791 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7793 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7794 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7795 <sys/prctl.h> and <asm/prctl.h>.
7796 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7797 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7799 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7800 ARCH_CET_LEGACY_BITMAP.
7801 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7802 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7803 * sysdeps/x86/libc-start.c: Include <startup.h>.
7805 2018-07-24 Florian Weimer <fweimer@redhat.com>
7807 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7808 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7810 2018-07-24 Rical Jasan <rj@2c3t.io>
7811 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7812 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7815 * manual/debug.texi: Update adjacent chapter name.
7816 * manual/probes.texi: Likewise.
7817 * manual/threads.texi (ISO C Threads): New section.
7818 (POSIX Threads): Convert to a section.
7820 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7821 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7824 * nptl/Makefile (tests): Add new test files.
7825 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7826 * nptl/tst-cnd-basic.c: Likewise.
7827 * nptl/tst-cnd-broadcast.c: Likewise.
7828 * nptl/tst-cnd-timedwait.c: Likewise.
7829 * nptl/tst-mtx-basic.c: Likewise.
7830 * nptl/tst-mtx-recursive.c: Likewise.
7831 * nptl/tst-mtx-timedlock.c: Likewise.
7832 * nptl/tst-mtx-trylock.c: Likewise.
7833 * nptl/tst-thrd-basic.c: Likewise.
7834 * nptl/tst-thrd-detach.c: Likewise.
7835 * nptl/tst-thrd-sleep.c: Likewise.
7836 * nptl/tst-tss-basic.c: Likewise.
7838 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7841 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7842 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7844 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7845 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7846 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7847 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7848 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7849 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7850 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7851 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7852 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7853 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7854 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7855 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7863 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7864 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7865 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7866 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7867 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7868 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7869 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7870 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7871 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7872 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7873 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7874 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7875 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7877 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7878 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7879 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7880 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7881 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7882 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7883 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7884 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7885 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7886 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7887 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7888 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7895 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7896 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7897 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7898 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7899 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7900 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7901 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7902 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7905 * conform/data/threads.h-data (thread_local): New macro.
7906 (TSS_DTOR_ITERATIONS): Likewise.
7908 (tss_dtor_t): Likewise.
7909 (tss_create): New function.
7910 (tss_get): Likewise.
7911 (tss_set): Likewise.
7912 (tss_delete): Likewise.
7913 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7914 tss_get, and tss_set objects.
7915 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7916 * nptl/tss_create.c: New file.
7917 * nptl/tss_delete.c: Likewise.
7918 * nptl/tss_get.c: Likewise.
7919 * nptl/tss_set.c: Likewise.
7920 * sysdeps/nptl/threads.h (thread_local): New define.
7921 (TSS_DTOR_ITERATIONS): Likewise.
7922 (tss_t): New typedef.
7923 (tss_dtor_t): Likewise.
7924 (tss_create): New prototype.
7925 (tss_get): Likewise.
7926 (tss_set): Likewise.
7927 (tss_delete): Likewise.
7930 * conform/data/threads.h-data (cnd_t): New type.
7931 (cnd_init): New function.
7932 (cnd_signal): Likewise.
7933 (cnd_broadcast): Likewise.
7934 (cnd_wait): Likewise.
7935 (cnd_timedwait): Likewise.
7936 (cnd_destroy): Likewise.
7937 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7938 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7940 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7941 * nptl/cnd_broadcast.c: New file.
7942 * nptl/cnd_destroy.c: Likewise.
7943 * nptl/cnd_init.c: Likewise.
7944 * nptl/cnd_signal.c: Likewise.
7945 * nptl/cnd_timedwait.c: Likewise.
7946 * nptl/cnd_wait.c: Likewise.
7947 * sysdeps/nptl/threads.h (cnd_t): New type.
7948 (cnd_init): New prototype.
7949 (cnd_signa): Likewise.
7950 (cnd_broadcast): Likewise.
7951 (cnd_wait): Likewise.
7952 (cnd_timedwait): Likewise.
7953 (cnd_destroy): Likewise.
7956 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7957 (once_flag): New type.
7958 (call_once): New function.
7959 * nptl/Makefile (libpthread-routines): Add call_once object.
7960 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7961 * nptl/call_once.c: New file.
7962 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
7963 (once_flag): New type.
7964 (call_once): New prototype.
7967 * conform/data/threads.h-data (mtx_plain): New constant.
7968 (mtx_recursive): Likewise.
7969 (mtx_timed): Likewise.
7971 (mtx_init): New function.
7972 (mtx_lock): Likewise.
7973 (mtx_timedlock): Likewise.
7974 (mtx_trylock): Likewise.
7975 (mtx_unlock): Likewise.
7976 (mtx_destroy): Likewise.
7977 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
7978 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
7979 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
7980 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
7981 * nptl/mtx_destroy.c: New file.
7982 * nptl/mtx_init.c: Likewise.
7983 * nptl/mtx_lock.c: Likewise.
7984 * nptl/mtx_timedlock.c: Likewise.
7985 * nptl/mtx_trylock.c: Likewise.
7986 * nptl/mtx_unlock.c: Likewise.
7987 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
7988 (mtx_recursive): Likewise.
7989 (mtx_timed): Likewise.
7991 (mtx_init): New prototype.
7992 (mtx_lock): Likewise.
7993 (mtx_timedlock): Likewise.
7994 (mtx_trylock): Likewise.
7995 (mtx_unlock): Likewise.
7996 (mtx_destroy): Likewise.
7999 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8000 (linknamespace-libs-ISO11): Add libpthread.a.
8001 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8003 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8004 * nptl/Makefile (headers): Add threads.h.
8005 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8006 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8008 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8009 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8010 thrd_join, thrd_sleep, and thrd_yield symbols.
8011 * nptl/descr.h (struct pthread): Add c11 field.
8012 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8013 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8014 routine with expected function prototype.
8015 (__pthread_create_2_1): Add C11 threads check based on attribute
8017 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8018 * nptl/thrd_create.c: New file.
8019 * nptl/thrd_current.c: Likewise.
8020 * nptl/thrd_detach.c: Likewise.
8021 * nptl/thrd_equal.c: Likewise.
8022 * nptl/thrd_exit.c: Likewise.
8023 * nptl/thrd_join.c: Likewise.
8024 * nptl/thrd_priv.h: Likewise.
8025 * nptl/thrd_sleep.c: Likewise.
8026 * nptl/thrd_yield.c: Likewise.
8027 * include/threads.h: Likewise.
8029 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8031 * bits/indirect-return.h: New file.
8032 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8033 * sysdeps/x86/bits/indirect-return.h: Likewise.
8034 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8035 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8036 (swapcontext): Add __INDIRECT_RETURN.
8037 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8038 (prepare_test_buffer): Use it.
8040 2018-07-24 Andreas Schwab <schwab@suse.de>
8043 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8044 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8046 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8048 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8049 Redefine if shadow stack is enabled.
8050 (SYSCALL_ERROR_LABEL): Likewise.
8051 (__vfork): Pop shadow stack and jump back to to caller directly
8052 when shadow stack is in use.
8053 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8054 Redefine if shadow stack is enabled.
8055 (SYSCALL_ERROR_LABEL): Likewise.
8056 (__vfork): Pop shadow stack and jump back to to caller directly
8057 when shadow stack is in use.
8059 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8061 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8064 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8067 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8069 * scripts/build-many-glibcs.py (Context.checkout): Default
8070 binutils version to 2.31 branch.
8072 2018-07-20 Zong Li <zong@andestech.com>
8074 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8075 URL of gcc's tarball.
8077 2018-07-20 Florian Weimer <fweimer@redhat.com>
8080 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8081 not compare an extra byte after the end of the weights.
8083 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8085 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8087 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8089 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8090 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8091 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8092 list of libraries whose stack executability is expected.
8093 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8094 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8096 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8097 libc.so libpthread.so.
8099 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8101 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8103 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8105 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8107 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8109 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8111 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8112 library to improve command line parsing.
8113 (__main__): make schema file as optional parameter (--schema),
8114 defaulting to benchtests/scripts/benchout.schema.json.
8115 (main): move out of the parsing stuff to __main_ and leave it
8116 only as caller of main comparison functions.
8118 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8120 * NEWS: Add a note for Intel CET status.
8121 * manual/install.texi: Likewise.
8122 * INSTALL: Regenerated.
8124 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8127 * localedata/locales/oc_FR (mon): Rename to...
8128 (alt_mon): This, then update October (typo fix).
8129 (mon): New content (genitive case, month names preceded by
8133 * localedata/locales/oc_FR (abday): Update all items.
8134 (day): Update Wednesday and Saturday (typo fixes).
8135 (abmon): Update all items, except May.
8136 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8137 (LC_IDENTIFICATION): Bump the revision number and date.
8138 Keep the "category" entries in alphabetic order.
8139 (LC_ADDRESS): Remove no longer needed comment.
8140 (LC_COLLATE): Use “copy "ca_ES"”.
8141 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8144 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8146 * grp/tst_fgetgrent.c: Include <unistd.h>.
8147 (main): Use mkstemp instead of tmpnam.
8148 * io/test-utime.c (main): Likewise.
8149 * posix/annexc.c (macrofile): Change to modifiable array.
8150 (main): Remove macrofile here.
8151 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8153 (check_header): Do not remove macrofile here.
8154 * posix/bug-getopt1.c: Include <stdlib.h>.
8155 (do_test): Use mkstemp instead of tmpnam.
8156 * posix/bug-getopt2.c: Include <stdlib.h>.
8157 (do_test): Use mkstemp instead of tmpnam.
8158 * posix/bug-getopt3.c: Include <stdlib.h>.
8159 (do_test): Use mkstemp instead of tmpnam.
8160 * posix/bug-getopt4.c: Include <stdlib.h>.
8161 (do_test): Use mkstemp instead of tmpnam.
8162 * posix/bug-getopt5.c: Include <stdlib.h>.
8163 (do_test): Use mkstemp instead of tmpnam.
8164 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8165 (main): Use mkstemp instead of tmpnam.
8166 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8167 (main): Use mkstemp instead of tmpnam.
8168 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8169 (main): use mkstemp instead of tmpnam.
8170 * stdlib/isomac.c (macrofile): Change to modifiable array.
8171 (main): Remove macrofile here.
8172 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8174 (check_header): Do not remove macrofile here.
8176 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8178 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8179 glibc.tune.x86_shstk.
8181 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8183 * NEWS: Mention --enable-cet.
8184 * manual/install.texi: Document --enable-cet.
8185 * INSTALL: Regenerated.
8187 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8189 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8190 Add _CET_NOTRACK before indirect jump to jump table.
8192 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8194 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8195 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8198 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8200 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8201 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8204 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8206 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8207 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8210 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8212 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8213 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8216 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8218 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8219 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8221 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8223 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8225 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8226 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8229 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8231 * sysdeps/i386/i686/multiarch/memset-sse2.S
8232 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8235 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8237 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8238 indirect jump to jump table.
8240 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8242 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8243 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8247 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8249 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8250 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8254 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8256 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8257 _CET_NOTRACK before indirect jump to jump table.
8259 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8261 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8262 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8265 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8267 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8268 indirect jump to jump table.
8270 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8273 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8274 (LOCALES): Likewise.
8275 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8276 * localedata/locales/sah_RU: New file.
8277 * localedata/sah_RU.UTF-8.in: New file.
8279 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8281 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8283 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8284 _CET_ENDBR to indirect jump targets and adjust jump destination
8286 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8288 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8289 _CET_ENDBR to indirect jump targets and adjust jump destination
8291 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8293 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8294 _CET_ENDBR to indirect jump targets and adjust jump destination
8297 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8299 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8302 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8304 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8306 (_dl_tlsdesc_undefweak): Likewise.
8307 (_dl_tlsdesc_dynamic): Likewise.
8308 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8309 (_dl_tlsdesc_resolve_rel): Likewise.
8310 (_dl_tlsdesc_resolve_rela): Likewise.
8311 (_dl_tlsdesc_resolve_hold): Likewise.
8312 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8313 (_dl_tlsdesc_undefweak): Likewise.
8314 (_dl_tlsdesc_dynamic): Likewise.
8315 (_dl_tlsdesc_resolve_rela): Likewise.
8316 (_dl_tlsdesc_resolve_hold): Likewise.
8318 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8320 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8322 * sysdeps/x86_64/crti.S (_init): Likewise.
8325 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8328 * localedata/locales/os_RU (mon): Rename to...
8330 (mon): Import from CLDR (genitive case).
8332 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8334 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8335 cet-tunables.h> when CET is enabled.
8337 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8340 * configure.ac: Add --enable-cet.
8341 * configure: Regenerated.
8342 * elf/Makefille (all-built-dso): Add a comment.
8343 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8344 Include <dl-prop.h>.
8345 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8347 * elf/dl-open.c: Include <dl-prop.h>.
8348 (dl_open_worker): Call _dl_open_check.
8349 * elf/rtld.c: Include <dl-prop.h>.
8350 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8352 * sysdeps/generic/dl-prop.h: New file.
8353 * sysdeps/i386/dl-cet.c: Likewise.
8354 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8355 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8356 * sysdeps/x86/cet-tunables.h: Likewise.
8357 * sysdeps/x86/check-cet.awk: Likewise.
8358 * sysdeps/x86/configure: Likewise.
8359 * sysdeps/x86/configure.ac: Likewise.
8360 * sysdeps/x86/dl-cet.c: Likewise.
8361 * sysdeps/x86/dl-procruntime.c: Likewise.
8362 * sysdeps/x86/dl-prop.h: Likewise.
8363 * sysdeps/x86/libc-start.h: Likewise.
8364 * sysdeps/x86/link_map.h: Likewise.
8365 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8367 (_dl_runtime_profile): Likewise.
8368 (_dl_runtime_resolve_shstk): New.
8369 (_dl_runtime_profile_shstk): Likewise.
8370 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8372 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8373 (CFLAGS-.os): Likewise.
8374 (CFLAGS-.op): Likewise.
8375 (CFLAGS-.oS): Likewise.
8376 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8378 (tests-special): Add $(objpfx)check-cet.out.
8379 (cet-built-dso): New.
8380 (+$(cet-built-dso:=.note)): Likewise.
8381 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8382 ($(objpfx)check-cet.out): New.
8383 (generated): Add check-cet.out.
8384 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8386 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8387 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8388 (init_cpu_features): Call get_cet_status to check CET status
8389 and update dl_x86_feature_1 with CET status. Call
8390 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8391 (set_x86_shstk). Disable and lock CET in libc.a.
8392 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8393 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8394 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8395 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8396 (_CET_ENDBR): Define if not defined.
8397 (ENTRY): Add _CET_ENDBR.
8398 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8400 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8402 (_dl_runtime_profile): Likewise.
8404 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8407 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8408 restore r2 on longjmp.
8409 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8411 Added rules to build test tst-setjmp-bug21895-static.
8412 Added module setjmp-bug21895 and rules to build a shared object from it.
8413 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8414 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8416 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8418 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8419 * benchtests/bench-strstr.c: Likewise.
8420 * string/memmem.c (FASTSEARCH): Define.
8421 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8422 Add support for FASTSEARCH.
8423 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8424 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8425 (FASTSEARCH): Define.
8426 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8427 * string/test-strstr.c: Likewise.
8429 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8431 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8432 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8434 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8435 H.J. Lu <hongjiu.lu@intel.com>
8437 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8438 (__longjmp): Restore shadow stack pointer if shadow stack is
8439 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8440 isn't defined for __longjmp_cancel.
8441 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8442 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8443 and SHADOW_STACK_POINTER_OFFSET is defined.
8444 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8445 (setjmp): Save shadow stack pointer if shadow stack is enabled
8446 and SHADOW_STACK_POINTER_OFFSET is defined.
8447 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8448 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8449 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8450 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8452 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8453 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8454 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8455 Remove jmp_buf-ssp.sym.
8456 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8458 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8459 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8460 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8462 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8463 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8464 (__longjmp): Restore shadow stack pointer if shadow stack is
8465 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8466 isn't defined for __longjmp_cancel.
8467 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8468 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8469 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8471 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8474 * nptl/pthread_create.c: Include <tls-setup.h>.
8475 (__pthread_create_2_1): Call tls_setup_tcbhead.
8476 * sysdeps/generic/tls-setup.h: New file.
8477 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8478 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8479 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8481 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8483 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8484 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8485 (X86_FEATURE_1_SHSTK): Likewise.
8486 (CET_ENABLED): Likewise.
8487 (IBT_ENABLED): Likewise.
8488 (SHSTK_ENABLED): Likewise.
8490 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8493 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8494 (LOCALES): Likewise.
8495 * localedata/dsb_DE.UTF-8.in: New file.
8496 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8498 2018-07-12 Florian Weimer <fweimer@redhat.com>
8500 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8501 __mprotect, not mprotect.
8503 2018-07-11 Florian Weimer <fweimer@redhat.com>
8505 * io/Makefile (headers): Add bits/statx.h.
8507 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8509 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8510 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8512 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8513 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8516 2018-07-10 Florian Weimer <fweimer@redhat.com>
8518 * io/Makefile (routines): Add statx.
8519 (tests-internal): Add tst-statx.
8520 * io/Versions (GLIBC_2.28): Export statx.
8521 * io/bits/statx.h: New file.
8522 * io/sys/stat.h [__USE_GNU]: Include it.
8523 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8524 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8526 * io/statx.c: New file.
8527 * io/statx_generic.: Likewise.
8528 * io/tst-statx.: Likewise.
8529 * include/bits/statx.h: Likewise.
8530 * sysdeps/unix/sysv/linux/kernel-features.h
8531 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8532 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8533 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8534 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8536 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8537 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8538 * sysdeps/unix/sysv/linux/statx.c: New file.
8539 * manual/filesys.texi: Note that statx is undocumented.
8540 * sysdeps/**/libc*.abilist: Update.
8542 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8544 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8545 a kernel issue which lead to test failure in some cases.
8547 2018-07-10 Florian Weimer <fweimer@redhat.com>
8550 * posix/regexec.c (check_node_accept_bytes): When comparing
8551 weights, do not compare an extra byte after the end of the
8554 2018-07-10 Florian Weimer <fweimer@redhat.com>
8556 * libio/readline.c: Fix copyright year.
8557 * libio/tst-readline.c Likewise.
8558 * nss/tst-nss-files-hosts-getent.c: Likewise.
8560 2018-07-06 Florian Weimer <fweimer@redhat.com>
8563 * nss/nss_files/files-XXX.c (internal_getent): Use
8564 __libc_readline_unlocked. Seek back to the start of the line if
8565 parsing failes with ERANGE.
8566 (get_contents_ret, get_contents): Remove.
8567 * nss/tst-nss-files-hosts-getent.c: New file.
8568 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8569 (tst-nss-files-hosts-getent): Link with -ldl.
8571 2018-07-06 Florian Weimer <fweimer@redhat.com>
8573 * include/stdio.h (__libc_readline_unlocked): Declare.
8574 (__ftello64, __fseeko64): Declare aliases.
8575 * libio/readline.c: New file.
8576 * libio/tst-readline.c: Likewise.
8577 (routines): Add readline.
8578 (tests-internal): Add tst-readlime.
8579 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8580 __libc_readline_unlocked.
8581 * libio/fseeko.c (__fseeko): Rename from fseeko.
8582 (fseeko): Add alias.
8583 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8584 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8585 (fseeko64): Add alias.
8586 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8587 * libio/ftello64.c (__ftello64): Rename from ftello64.
8588 (ftello64): Add alias.
8590 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8592 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8595 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8597 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8598 Use dl_hwcap without masking.
8599 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8602 2018-07-06 Florian Weimer <fweimer@redhat.com>
8604 * conform/conformtest.pl (checknamespace): Escape literal braces
8605 in regular expressions.
8607 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8609 * sysdeps/x86/cpu-features.c (get_common_indeces):
8610 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8611 * sysdeps/x86/cpu-features.c (init_cpu_features):
8612 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8614 2018-07-05 Florian Weimer <fweimer@redhat.com>
8616 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8618 (CFLAGS-elf-init.oS): Likewise.
8620 2018-07-05 Florian Weimer <fweimer@redhat.com>
8621 Carlos O'Donell <carlos@redhat.com>
8623 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8624 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8625 with stack protector enabled because there is no risk of infinite
8628 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8632 * libc-abis (ABSOLUTE): New ABI.
8633 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8634 * NEWS: Mention the new ABI.
8636 2018-07-05 Florian Weimer <fweimer@redhat.com>
8639 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8640 (RENAME_WHITEOUT): Define.
8641 [__USE_GNU] (renameat2): Declare.
8642 * stdio-common/Makefile (routines): Add renameat2.
8643 (tests): Add tst-renameat2.
8644 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8645 * stdio-common/renameat2.c: New file.
8646 * stdio-common/tst-renameat2.c: Likewise.
8647 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8648 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8650 * sysdeps/unix/sysv/linux/kernel-features.h
8651 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8652 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8653 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8654 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8655 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8656 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8657 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8658 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8659 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8660 * include/stdio.h (__renameat): Add alias for renameat.
8661 * stdio-common/renameat.c (__renameat): Rename from renameat.
8662 Add hidden definition and alias.
8663 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8664 * sysdeps/mach/hurd/renameat.c: Likewise.
8665 * sysdeps/**/libc*.abilist: Add renameat2.
8667 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8669 * posix/bug-regex33.c: Fix build after regex sync.
8671 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8674 * localedata/tst-langinfo-setlocale.c: New file.
8675 * localedata/tst-langinfo-setlocale-static.c: New file.
8676 * localedata/tst-langinfo-newlocale.c: New file.
8677 * localedata/tst-langinfo-newlocale-static.c: New file.
8678 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8679 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8680 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8681 (tests-static): Remove tst-langinfo-static. Add
8682 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8683 (tests-special): Remove $(objpfx)tst-langinfo.out,
8684 $(objpfx)tst-langinfo-static.out. Add
8685 $(objpfx)tst-langinfo-setlocale.out,
8686 $(objpfx)tst-langinfo-newlocale.out,
8687 $(objpfx)tst-langinfo-setlocale-static.out,
8688 $(objpfx)tst-langinfo-newlocale-static.out.
8689 ($(objpfx)tst-langinfo.out): Remove.
8690 ($(objpfx)tst-langinfo-static.out): Remove.
8691 ($(objpfx)tst-langinfo-newlocale.out): New target.
8692 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8693 (test-xfail-tst-langinfo-newlocale-static): Add.
8694 ($(objpfx)tst-langinfo-setlocale.out): New target.
8695 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8696 * localedata/tst-langinfo.c: Call test_locale.
8697 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8700 2018-07-04 Florian Weimer <fweimer@redhat.com>
8702 testrun.sh: Implement --tool=strace, --tool=valgrind
8703 * Makefile (testrun-script): Define variable.
8704 (testrun.sh): Use variable.
8705 * manual/install.texi (Tools for Compilation): make 4.0 or later
8707 * configure.ac: Check for make 4.0 or later.
8708 * INSTALL: Regenerate.
8709 * configure: Likewise.
8711 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8717 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8718 * posix/PCRE.tests: Remove invalid test.
8719 * posix/bug-regex28.c: Fix expected values for used syntax.
8720 * posix/bug-regex37.c: New file.
8721 * posix/bug-regex38.c: Likewise.
8722 * posix/regcomp.c: Sync with gnulib.
8723 * posix/regex.c: Likewise.
8724 * posix/regex.h: Likewise.
8725 * posix/regex_internal.c: Likewise.
8726 * posix/regex_internal.h: Likewise.
8727 * posix/regexec.c: Likewise.
8729 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8732 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8733 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8734 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8735 * localedata/unicode-gen/PropList.txt: likewise.
8736 * localedata/unicode-gen/UnicodeData.txt: likewise.
8737 * localedata/charmaps/UTF-8: Regenerate.
8738 * localedata/locales/i18n_ctype: likewise.
8739 * localedata/locales/tr_TR: likewise.
8740 * localedata/locales/translit_circle: likewise.
8741 * localedata/locales/translit_cjk_compat: likewise.
8742 * localedata/locales/translit_combining: likewise.
8743 * localedata/locales/translit_compat: likewise.
8744 * localedata/locales/translit_font: likewise.
8745 * localedata/locales/translit_fraction: likewise.
8747 2018-07-03 Florian Weimer <fweimer@redhat.com>
8750 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8751 * stdio-common/tst-printf.sh: Adjust expected output.
8754 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8756 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8759 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8761 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8762 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8763 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8764 * stdio-common/tst-printfsz-islongdouble.c: New file.
8765 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8767 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8768 [subdir == stdio-common] (tests-internal): Add
8769 test-printf-size-ieee128, and test-printf-size-ibm128.
8770 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8771 (CFLAGS-test-printf-size-ibm128.c): New variables.
8772 [subdir == stdio-common] (tests-special): Add
8773 $(objpfx)test-printf-size-ieee128.out and
8774 $(objpfx)test-printf-size-ibm128.out.
8775 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8776 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8777 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8778 __printf_sizeieee128.
8779 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8781 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8783 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8786 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8788 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8789 (exp2f_inline): Likewise.
8790 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8791 (__math_uflowf): Likewise.
8792 (__math_may_uflowf): Likewise.
8793 (__math_divzerof): Likewise.
8794 (__math_invalidf): Likewise.
8795 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8796 (__math_oflowf): Likewise.
8797 (__math_uflowf): Likewise.
8798 (__math_may_uflowf): Likewise.
8799 (__math_divzerof): Likewise.
8800 (__math_invalidf): Likewise.
8802 2018-06-29 DJ Delorie <dj@redhat.com>
8803 Carlos O'Donell <carlos@redhat.com>
8806 * include/libc-symbols.h: Comment the freeres framework.
8807 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8808 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8809 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8810 * dlfcn/dlerror.c: Include libc-symbols.h
8811 (__dlerror_main_freeres): New function.
8812 * dlfcn/dlfreeres.c: New file.
8813 * dlfcn/sdlfreeres.c: New file.
8814 * include/dlfcn.h: Declare __dlerror_main_freeres.
8815 * malloc/set-freeres.c: Declare __libdl_freeres, and
8816 __libpthread_freeres.
8817 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8818 the releavant libraries are loaded.
8819 * malloc/thread-freeres.c: Add comments.
8820 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8821 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8822 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8823 (__free_stacks): Rename to...
8824 (free_stacks): ...this. Mark static.
8825 (queue_stack): Call free_stacks.
8826 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8827 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8828 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8829 ptr_freeres element from struct.
8830 (pthread_functions): Remove .ptr_freeres from struct initializer.
8831 [SHARED] (nptl_freeres): Remove.
8832 * nptl/nptlfreeres.c: New file.
8834 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8835 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8837 (__free_stacks): Rename to...
8838 (__nptl_stacks_freeres): ...this.
8839 (__shm_directory_freeres): Declare.
8840 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8841 (__nptl_unwind_freeres): ...this.
8842 * resolv/res-close.c: Add comment.
8843 * resolv/resolv_conf.c: Include libc-symbols.h.
8844 * string/strerror_l.c: Include libc-symbols.h.
8845 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8846 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8847 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8848 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8850 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8852 * stdlib/tst-strfmon_l.c: Add tests for long double.
8854 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8857 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8858 * localedata/locales/dsb_DE: New file.
8860 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8863 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8865 (alt_mon): New entry, import from CLDR (nominative case).
8867 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8870 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8872 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8874 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8875 Use vector registers.
8877 * sysdeps/aarch64/multiarch/memmove_falkor.S
8878 (__memcpy_falkor): Use vector registers.
8880 2018-06-29 Martin Sebor <msebor@redhat.com>
8882 * manual/stdio.texi (Customizing Printf): Mention interaction
8885 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8888 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8889 `st_value' is 0 if `st_shndx' is SHN_ABS.
8890 * elf/tst-absolute-zero.c: New file.
8891 * elf/tst-absolute-zero-lib.c: New file.
8892 * elf/tst-absolute-zero-lib.lds: New file.
8893 * elf/Makefile (tests): Add `tst-absolute-zero'.
8894 (modules-names): Add `tst-absolute-zero-lib'.
8895 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8896 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8897 ($(objpfx)tst-absolute-zero: New dependency.
8899 2018-06-29 Zack Weinberg <zackw@panix.com>
8901 * configure.ac: New command-line option --disable-crypt.
8902 Force --disable-nss-crypt when --disable-crypt is given, with a
8903 warning if it was explicitly enabled.
8904 * configure: Regenerate.
8905 * config.make.in: New boolean substitution variable $(build-crypt).
8906 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8907 when $(build-crypt).
8908 * manual/install.texi: Document --disable-crypt.
8909 * INSTALL: Regenerate.
8911 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8913 * conform/Makefile: Only include libcrypt.a in
8914 linknamespace-libs-xsi and linknamespace-libs-XPG4
8915 when $(build-crypt).
8916 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8917 USE_CRYPT to 1 when $(build-crypt).
8918 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8919 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8920 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8922 2018-06-29 Zack Weinberg <zackw@panix.com>
8924 * crypt/crypt.h, posix/unistd.h: Update comments and
8925 prototypes for crypt and crypt_r.
8927 * manual/crypt.texi (Cryptographic Functions): New initial
8929 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8930 (Unpredictable Bytes): Improve initial exposition. Clarify error
8931 behavior of getentropy and getrandom.
8932 * manual/examples/genpass.c: Generate a salt using getentropy
8933 instead of the current time. Use hash $5$ (SHA-2-256).
8934 * manual/examples/testpass.c: Demonstrate validation against
8935 hashes generated with three different one-way functions.
8937 * manual/intro.texi: crypt.texi does not need an overview
8940 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8941 * manual/terminal.texi: Consistently refer to "passphrases"
8942 * instead of "passwords", and to the "user database" instead
8943 * of the "password database".
8944 * manual/users.texi: Similarly. Add notes about how actual
8945 passphrase hashes are now stored in the shadow database.
8946 Remove 20-year-old junk todo note.
8948 2018-06-29 Zack Weinberg <zackw@panix.com>
8950 * manual/crypt.texi: Use a normal top-level @node declaration.
8951 Move most of the introductory text to the 'crypt' section.
8952 Move the example programs below the @deftypefun for 'crypt_r'.
8953 Move the 'getpass' section...
8954 * manual/terminal.texi: ...here.
8956 2018-06-29 Zack Weinberg <zackw@panix.com>
8957 Florian Weimer <fweimer@redhat.com>
8959 * posix/unistd.h: Do not declare encrypt.
8960 (_XOPEN_CRYPT): Remove macro definition.
8961 (crypt): Declare only for _USE_MISC.
8962 * stdlib/stdlib.h: Do not declare setkey.
8963 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
8964 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
8966 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
8967 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
8968 into compat symbols. Don't define initial_perm if it's not
8970 * crypt/cert.c: Link explicitly with the expected versions for
8971 setkey and encrypt. If they are not available at all, mark
8972 the test as unsupported.
8974 * sunrpc/des_crypt.c: Unconditionally block linkage with
8975 cbc_crypt and ecb_crypt for new binaries.
8976 * sunrpc/des_soft.c: Unconditionally block linkage with
8977 des_setparity for new binaries.
8979 * manual/crypt.texi: Remove the entire "DES Encryption"
8980 section. Also remove the paragraph talking about FIPS 140-2
8981 from the introduction.
8982 * manual/string.texi (strfry, memfrob): Revise. Recommend use
8983 of libgcrypt for "real" encryption, not DES.
8984 * manual/conf.texi (Constants for Sysconf): Mention that
8985 _XOPEN_CRYPT is no longer impelemented.
8987 * conform/data/unistd.h-data: Remove crypt function declaration.
8989 2018-06-29 Florian Weimer <fweimer@redhat.com>
8992 * malloc/hooks.c: Update comments on restoring of dumped heaps.
8993 (disallow_malloc_check): Remove variable.
8994 (__malloc_check_init): Adjust.
8995 (malloc_set_state): Update comment.
8996 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
8999 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9002 * localedata/locales/ast_ES (mon): Rename to...
9004 (mon): Import from CLDR (genitive case).
9006 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9007 Jakub Sitnicki <jkbs@redhat.com>
9010 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9013 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9015 * manual/llio.texi: Remove spurious space.
9017 2018-06-28 Florian Weimer <fweimer@redhat.com>
9020 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9023 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9025 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9026 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9027 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9028 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9029 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9030 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9031 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9033 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9036 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9037 Copy and null-terminate entries that are not terminated, in
9038 addition to empty ones.
9040 2018-06-27 Florian Weimer <fweimer@redhat.com>
9043 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9044 (extend_alloca_account): Remove.
9045 * manual/stdio.texi (Variable Arguments Output): Update comment.
9047 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9049 * nptl/sockperf.c: Remove file.
9051 2018-06-27 Florian Weimer <fweimer@redhat.com>
9054 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9055 scratch_buffer instead of extend_alloca.
9057 2018-06-27 Florian Weimer <fweimer@redhat.com>
9060 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9061 scratch_buffer instead of extend_alloca. Update comments.
9063 2018-06-27 Florian Weimer <fweimer@redhat.com>
9066 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9067 instead of extend_alloca.
9069 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9072 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9073 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9075 * scripts/test-installation.pl: Put temporary files in build
9076 directory, not /tmp.
9077 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9078 (CFLAGS-bug4.c): Likewise.
9079 (CFLAGS-bug5.c): Likewise.
9080 (CFLAGS-test-fseek.c): Likewise.
9081 (CFLAGS-test-popen.c): Likewise.
9082 (CFLAGS-test_rdwr.c): Likewise.
9083 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9085 * stdio-common/bug4.c (main): Likewise.
9086 * stdio-common/bug5.c (main): Likewise.
9087 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9088 * stdio-common/test-popen.c (do_test): Likewise.
9089 * stdio-common/test_rdwr.c (main): Likewise.
9091 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9093 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9094 (sem_open): Set sem.newsem.pad to zero for valgrind.
9096 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9099 * NEWS: Mention fcntl64 addition.
9100 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9101 * login/utmp_file.c: Likewise.
9102 * sysdeps/posix/fdopendir.c: Likewise.
9103 * sysdeps/posix/opendir.c: Likewise.
9104 * sysdeps/unix/pt-fcntl.c: Likewise.
9105 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9106 __fcntl64_nocancel_adjusted): New prototype.
9107 (__fcntl_nocancel_adjusted): Remove prototype.
9108 * io/Makefile (routines): Add fcntl64.
9109 (CFLAGS-fcntl64.c): New rule.
9110 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9111 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9112 * io/fcntl.h (fcntl64): Add prototype and redirect if
9113 __USE_FILE_OFFSET64 is defined.
9114 * io/fcntl64.c: New file.
9115 * manual/llio.text: Add a note for which commands fcntl acts a
9117 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9118 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9119 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9121 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9122 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9124 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9125 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9126 to __fcntl64_nocancel.
9127 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9128 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9129 to __fcntl64_nocancel.
9130 * sysdeps/generic/not-cancel.h: Likewise.
9131 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9132 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9133 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9134 (fcntl64): New symbol.
9135 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9136 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9137 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9140 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9141 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9142 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9143 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9144 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9145 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9147 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9148 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9149 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9150 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9151 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9152 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9153 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9154 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9155 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9160 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9161 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9162 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9164 2018-06-26 Florian Weimer <fweimer@redhat.com>
9166 Run thread shutdown functions in an explicit order.
9167 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9169 (__libc_thread_freeres): Call thread shutdown functions
9171 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9172 * include/string.h (__strerror_thread_freeres): Declare.
9173 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9174 arena_thread_freeres. No longer static. Remove thread shutdown
9176 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9178 * resolv/res-close.c (__res_thread_freeres): Renamed from
9179 res_thread_freeres. No longer static. Remove thread shutdown
9181 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9182 * resolv/resolv_conf.c (freeres): Remove incorrect section
9183 attribute and use libc_freeres_fn.
9184 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9185 strerror_thread_freeres. No longer static. Remove thread
9186 shutdown hook registration.
9187 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9188 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9189 shutdown hook registration.
9190 * Makerules (shlib.lds): Do not provide section boundary symbols
9191 for __libc_thread_subfreeres.
9192 * manual/memory.texi (Basic Allocation): Update comment.
9194 2018-06-26 Florian Weimer <fweimer@redhat.com>
9196 Remove always-defined _RPC_THREAD_SAFE_ macro.
9197 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9198 Do not define _RPC_THREAD_SAFE_.
9199 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9201 * sunrpc/clnt_perr.c: Likewise.
9202 * sunrpc/clnt_raw.c: Likewise.
9203 * sunrpc/clnt_simp.c: Likewise.
9204 * sunrpc/key_call.c: Likewise.
9205 * sunrpc/rpc_common.c: Likewise.
9206 * sunrpc/rpc_main.c: Likewise.
9207 * sunrpc/rpc_thread.c: Likewise.
9208 * sunrpc/svc.c: Likewise.
9209 * sunrpc/svc_raw.c: Likewise.
9210 * sunrpc/svc_simple.c: Likewise.
9211 * sumrpc/svcauth_des.c: Likewise.
9213 2018-06-26 Florian Weimer <fweimer@redhat.com>
9215 * libio/Makefile (tests-internal): Add tst-vtables,
9216 tst-vtables-interposed.
9217 * libio/tst-vtables.c: New file.
9218 * libio/tst-vtables-common.c: Likewise.
9219 * libio/tst-vtables-interposed.c: Likewise.
9221 2018-06-26 Florian Weimer <fweimer@redhat.com>
9223 * support/support_test_main.c (support_test_main): Only call
9224 setvbuf if not disables.
9225 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9226 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9228 2018-06-26 Florian Weimer <fweimer@redhat.com>
9231 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9233 2018-06-25 Florian Weimer <fweimer@redhat.com>
9236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9237 Use struct scratch_buffer instead of extend_alloca.
9239 2018-06-25 Florian Weimer <fweimer@redhat.com>
9242 * nss/getent.c (initgroups_keys): Use dynarray instead of
9245 2018-06-25 Florian Weimer <fweimer@redhat.com>
9248 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9249 Use struct scratch_buffer instead of extend_alloca.
9251 2018-06-25 Florian Weimer <fweimer@redhat.com>
9254 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9255 back to malloc directly, without stack allocations.
9257 2018-06-25 Florian Weimer <fweimer@redhat.com>
9260 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9263 2018-06-25 Florian Weimer <fweimer@redhat.com>
9266 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9268 * nscd/hstcache.c (addhstbyX): Likewise.
9269 * nscd/pwdcache.c (addpwbyX): Likewise.
9270 * nscd/servicescache.c (addservbyX): Likewise.
9272 2018-06-25 Florian Weimer <fweimer@redhat.com>
9275 * nscd/connections.c (read_cmdline): New function.
9276 (restart): Use it. Update comment.
9278 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9281 * localedata/locales/csb_PL (mon): Rename to...
9283 (abmon): Rename to...
9285 (mon): Add with proper genitive forms, copy from Wikipedia.
9288 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9291 * localedata/locales/csb_PL (mon): Fix typos:
9292 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9293 (yesstr): Add, value is "jo".
9294 (nostr): Add, value is "nié".
9296 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9298 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9299 all log1p and significand functions on m680x0.
9300 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9301 of s_significand.c..
9302 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9303 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9304 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9305 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9306 s_log1p.c and include it..
9308 2018-06-21 Vincent Chen <vincentc@andestech.com>
9310 * elf/elf.h (R_NDS32_NONE): New define.
9311 (R_NDS32_32_RELA): Likewise.
9312 (R_NDS32_COPY): Likewise.
9313 (R_NDS32_GLOB_DAT): Likewise.
9314 (R_NDS32_JUMP_SLOT): Likewise.
9315 (R_NDS32_RELATIVE): Likewise.
9316 (R_NDS32_TLS_TPOFF): Likewise.
9317 (R_NDS32_TLS_DESC): Likewise.
9319 2018-06-21 Mark Wielaard <mark@klomp.org>
9321 * elf/elf.h (R_BPF_MAP_FD): Removed.
9322 (R_BPF_64_64, R_BPF_64_32): New.
9324 2018-06-21 Florian Weimer <fweimer@redhat.com>
9327 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9328 Renamed from libc_feholdsetround_ctx.
9329 (default_libc_feresetround_ctx): Renamed from
9330 libc_feresetround_ctx.
9331 (default_libc_feholdsetround_noex_ctx): Renamed from
9332 libc_feholdsetround_noex_ctx.
9333 (default_libc_feresetround_noex_ctx): Renamed from
9334 libc_feresetround_noex_ctx.
9335 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9336 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9337 forwardning to the old implementations under the new names.
9338 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9339 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9340 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9341 (libc_feresetround_ctx): Forward to default implements for i386
9342 and MATH_SET_BOTH_ROUNDING_MODES.
9343 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9344 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9346 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9348 * string/tst-cmp.c: Include <libc-diag.h>.
9349 (strncmp_max): Disable -Wstringop-overflow= around call to
9351 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9354 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9355 (main): Disable -Wunused-value around call to strpbrk.
9356 * string/bug-strspn1.c: Include <libc-diag.h>.
9357 (main): Disable -Wunused-value around call to strspn.
9359 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9360 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9362 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9363 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9365 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9367 * math/Makefile (libm-calls): Move s_significandF to...
9368 (gen-libm-calls): ... here.
9369 * math/s_significand_template.c: New file.
9370 * math/s_significand.c: Removed.
9371 * math/s_significandf.c: Removed.
9372 * math/s_significandl.c: Removed.
9373 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9374 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9376 * math/e_exp2_template.c (declare_mgen_finite_alias,
9377 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9378 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9379 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9381 2018-06-20 Florian Weimer <fweimer@redhat.com>
9383 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9385 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9388 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9389 floating-point number to strtod functions rather than possibly
9390 negating result of those functions.
9391 * stdio-common/tst-scanf-round.c: New file.
9392 * stdio-common/Makefile (tests): Add tst-scanf-round.
9393 ($(objpfx)tst-scanf-round): Depend on $(libm).
9395 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9397 * sysdeps/mach/hurd/localplt.data: Move to...
9398 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9399 R_386_GLOB_DAT like on Linux i386.
9401 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9403 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9404 (SHM_STAT_ANY): New macro.
9405 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9406 (SHM_STAT_ANY): Likewise.
9407 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9408 (SHM_STAT_ANY): Likewise.
9409 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9410 (SHM_STAT_ANY): Likewise.
9411 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9412 (SHM_STAT_ANY): Likewise.
9413 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9414 (SHM_STAT_ANY): Likewise.
9415 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9416 (SHM_STAT_ANY): Likewise.
9417 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9418 (SHM_STAT_ANY): Likewise.
9419 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9420 (SHM_STAT_ANY): Likewise.
9421 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9422 (SHM_STAT_ANY): Likewise.
9423 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9424 (SHM_STAT_ANY): Likewise.
9425 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9426 (SHM_STAT_ANY): Likewise.
9428 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9429 (SEM_STAT_ANY): New macro.
9430 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9431 (SEM_STAT_ANY): Likewise.
9432 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9433 (SEM_STAT_ANY): Likewise.
9434 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9435 (SEM_STAT_ANY): Likewise.
9436 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9437 (SEM_STAT_ANY): Likewise.
9438 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9439 (SEM_STAT_ANY): Likewise.
9440 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9441 (SEM_STAT_ANY): Likewise.
9442 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9443 (SEM_STAT_ANY): Likewise.
9444 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9445 (SEM_STAT_ANY): Likewise.
9446 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9447 (SEM_STAT_ANY): Likewise.
9449 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9450 (MSG_STAT_ANY): New macro.
9451 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9452 (MSG_STAT_ANY): Likewise.
9453 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9454 (MSG_STAT_ANY): Likewise.
9455 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9456 (MSG_STAT_ANY): Likewise.
9457 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9458 (MSG_STAT_ANY): Likewise.
9459 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9460 (MSG_STAT_ANY): Likewise.
9461 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9462 (MSG_STAT_ANY): Likewise.
9463 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9464 (MSG_STAT_ANY): Likewise.
9465 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9466 (MSG_STAT_ANY): Likewise.
9467 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9468 (MSG_STAT_ANY): Likewise.
9470 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9471 (MAP_TYPE): Change value to 0x2b.
9473 2018-06-18 Florian Weimer <fweimer@redhat.com>
9476 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9477 socket with SOCK_CLOEXEC.
9479 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9482 * sysdeps/powerpc/powerpc64/le/Makefile
9483 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9484 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9485 (gnulib-tests): Also add $(f128-loader-link) for
9486 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9488 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9490 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9491 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9493 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9494 (sendfile64): New strong alias.
9495 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9496 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9497 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9498 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9500 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9501 ___pthread_get_cleanup_stack.
9502 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9503 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9504 * mach/shortcut.awk: Make syscall stubs include
9505 <mach-shortcuts-hidden.h> and add hidden definition.
9506 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9507 (__mach_msg): Add hidden prototype.
9508 * mach/msg.c: Include <mach.h>.
9509 (__mach_msg): Add hidden definition.
9510 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9511 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9512 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9513 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9514 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9515 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9516 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9517 prototype and definition.
9518 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9519 hidden target for _hurd_self_sigstate.
9521 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9524 * stdlib/tst-strtod-nan-sign-main.c: New file.
9525 * stdlib/tst-strtod-nan-sign.c: Likewise.
9526 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9527 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9528 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9529 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9530 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9532 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9535 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9538 2018-06-14 Florian Weimer <fweimer@redhat.com>
9541 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9542 that the result stays within the ISO-8859-1 range.
9543 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9544 characters are defined in IBM273.
9546 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9548 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9549 __mach_task_self): Remove attribute_hidden.
9551 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9553 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9554 ignore -Wrestrict for one test.
9556 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9557 Szabolcs Nagy <szabolcs.nagy@arm.com>
9559 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9561 2018-06-14 Florian Weimer <fweimer@redhat.com>
9563 * scripts/update-abilist.sh: Accept empty list of files to patch.
9565 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9567 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9568 test-xfail-check-abi-libmachuser): Add.
9569 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9570 __libc_read and __libc_write to __read and __write.
9571 * sysdeps/hurd/include/hurd/port.h: New file.
9572 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9573 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9574 __thread_switch, __evc_wait): Move declarations to...
9575 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9577 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9578 use PLT to call _hurd_self_sigstate.
9580 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9583 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9584 MAX_EXP as overflowing.
9585 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9587 (round_str): Output also whether result overflows in each rounding
9589 * stdlib/tst-strtod-round-data: Add more tests.
9590 * stdlib/tst-strtod-round-data.h: Regenerated.
9591 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9592 (TEST): Handle extra arguments for overflow flags.
9593 (struct test_overflow): New type.
9594 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9595 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9596 (test_in_one_mode): Take argument with overflow information.
9597 (do_test): Update calls to test_in_one_mode.
9599 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9601 * elf/dl-load (_dl_dst_substitute): Correct comment.
9602 (_dl_dst_count): Likewise.
9604 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9605 lll_futex_timed_wait.
9607 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9610 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9612 * math/test-nan-const.c: New file.
9613 * math/Makefile (tests): Add test-nan-const.
9614 (CFLAGS-test-nan-const.c): New variable.
9616 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9618 * benchtests/scripts/compare_strings.py (process_results): Add
9619 funcs argument. Compare only functions which are selected.
9620 (main): Check if base function is among selected functions.
9621 Pass selected functions to process_results.
9622 (__main__): Add -f/--functions argument.
9624 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9625 Hongbo Zhang <hongbo.zhang@linaro.org>
9627 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9628 __memcpy_falkor for phecda core.
9629 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9630 __memmove_falkor for phecda core.
9631 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9632 __memset_falkor for phecda core.
9633 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9635 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9636 macro to identify phecda core.
9638 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9639 Andreas Schwab <schwab@suse.de>
9640 Dmitry V. Levin <ldv@altlinux.org>
9641 Florian Weimer <fweimer@redhat.com>
9648 * elf/dl-dst.h: Remove DL_DST_COUNT.
9649 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9650 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9651 (is_dst): Comment. Support ELF gABI.
9652 (_dl_dst_count): Comment. Simplify and count DSTs.
9653 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9654 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9657 2018-06-12 Zack Weinberg <zackw@panix.com>
9659 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9660 * sysdeps/unix/sysv/linux/dl-sysdep.c
9661 Include not-cancel.h. Use __close_nocancel instead of __close,
9662 __open64_nocancel instead of __open, __read_nocancel instead of
9663 __libc_read, and __write_nocancel instead of __libc_write.
9665 * csu/check_fds.c (check_one_fd)
9666 * sysdeps/posix/fdopendir.c (__fdopendir)
9667 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9668 instead of __fcntl and/or __libc_fcntl.
9670 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9671 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9672 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9673 Use __open64_nocancel instead of __open_nocancel.
9675 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9676 hidden_proto declarations to the end and issue them if either
9677 IS_IN(libc) or IS_IN(rtld).
9678 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9679 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9680 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9681 read_nocancel, waitpid_nocancel, write_nocancel.
9683 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9684 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9685 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9687 * nptl/pt-fcntl.c: New file.
9688 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9689 (libpthread-routines): Add pt-fcntl.
9690 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9691 (__libc_fcntl): Remove attribute_hidden.
9692 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9693 __fcntl_nocancel_adjusted, not fcntl_common.
9694 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9695 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9696 to fcntl_nocancel.c.
9697 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9700 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9702 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9703 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9704 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9705 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9706 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9707 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9708 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9709 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9710 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9711 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9712 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9713 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9714 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9715 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9716 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9717 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9718 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9719 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9720 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9721 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9723 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9724 libpthread-routines.
9725 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9728 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9729 __libc_read, and __write instead of __libc_write. Define
9730 __open64 in addition to __open.
9732 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9736 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9737 to _private_tm[3] and add __glibc_reserved2.
9738 Add _Static_assert of offset of __private_ss == 0x30.
9739 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9740 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9742 2018-06-12 Florian Weimer <fweimer@redhat.com>
9744 x86: Make strncmp usable from rtld.
9745 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9746 __strncmp_ia32 if in libc (and not in rtld).
9747 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9748 strncmp if not in libc (and not to __strncmp_sse2).
9750 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9753 * localedata/locales/gd_GB (mon): Rename to...
9755 (mon): Import from CLDR (genitive case).
9756 * localedata/locales/hsb_DE (mon): Rename to...
9758 (mon): Import from CLDR (genitive case).
9759 * localedata/locales/wa_BE (mon): Rename to...
9761 (mon): Add, fill with the proper genitive forms, but CLDR data
9762 is incomplete; completed according to the comments in this file.
9763 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9765 * localedata/locales/wa_BE (country_name): Reword
9766 "Beljike" -> "Beldjike".
9768 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9771 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9772 cases of non-finite arguments.
9773 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9775 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9778 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9780 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9783 * include/unistd.h (__execvpex): New prototype.
9784 * posix/Makefile (tests): Add tst-spawn4.
9785 (tests-internal): Add tst-spawn4-compat.
9786 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9787 * posix/tst-spawn4-compat.c: New file.
9788 * posix/tst-spawn4.c: Likewise.
9789 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9790 binaries as shell scripts.
9791 * sysdeps/posix/spawni.c (__spawni): Likewise.
9793 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9796 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9797 ($(all-built-dso:=.dynsym): New target.
9798 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9799 ($(objpfx)check-initfini.out): New target.
9800 (generated): Add check-initfini.out.
9801 * scripts/check-initfini.awk: New file.
9802 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9804 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9806 * sysdeps/arm/crti.S (_init): Mark as hidden.
9808 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9810 * sysdeps/i386/crti.S (_init): Mark as hidden.
9812 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9814 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9816 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9818 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9820 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9822 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9824 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9826 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9828 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9830 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9832 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9834 * sysdeps/sh/crti.S (_init): Mark as hidden.
9836 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9838 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9841 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9843 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9844 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9845 and TF redirection to KFtype and KF only when the default
9846 long double type is not the IEEE 128-bit floating point type.
9848 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9850 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9852 (HWCAP_USCAT): Likewise.
9853 (HWCAP_ILRCPC): Likewise.
9854 (HWCAP_FLAGM): Likewise.
9855 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9857 (_dl_aarch64_cap_flags): Add new flag names.
9859 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9860 (MAP_FIXED_NOREPLACE): New macro.
9861 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9862 (MAP_FIXED_NOREPLACE): Likewise.
9863 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9864 (MAP_FIXED_NOREPLACE): Likewise.
9865 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9866 (MAP_FIXED_NOREPLACE): Likewise.
9867 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9868 (MAP_FIXED_NOREPLACE): Likewise.
9869 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9870 (MAP_FIXED_NOREPLACE): Likewise.
9871 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9872 (MAP_FIXED_NOREPLACE): Likewise.
9873 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9874 (MAP_FIXED_NOREPLACE): Likewise.
9875 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9876 (MAP_FIXED_NOREPLACE): Likewise.
9877 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9878 (MAP_FIXED_NOREPLACE): Likewise.
9879 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9880 (MAP_FIXED_NOREPLACE): Likewise.
9881 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9882 (MAP_FIXED_NOREPLACE): Likewise.
9883 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9884 (MAP_FIXED_NOREPLACE): Likewise.
9885 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9886 (MAP_FIXED_NOREPLACE): Likewise.
9887 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9888 (MAP_FIXED_NOREPLACE): Likewise.
9890 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9893 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9895 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9898 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9900 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9902 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9904 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9906 * benchtests/scripts/compare_string.py: (process_results) Catch
9907 exception in non-existent base_func and catch exception in
9908 non-existent attribute.
9909 (parse_file) Catch exception if input file does not exist.
9911 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9913 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9914 options to avoid diff calculation and omit header, respectively.
9915 (main): process --no-diff and --no-header
9917 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9918 H.J. Lu <hongjiu.lu@intel.com>
9920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9921 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9924 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9925 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9927 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9928 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9929 AVX unaligned load is fast and vzeroupper is preferred.
9930 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9931 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9932 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9933 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9934 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9935 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9936 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9937 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9938 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9939 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9942 2018-06-01 Florian Weimer <fweimer@redhat.com>
9944 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9945 configuring with --disable-multi-arch, building with
9946 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9949 2018-06-01 Florian Weimer <fweimer@redhat.com>
9951 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9952 results from building with “-march=x86-64 -mtune=generic
9953 -mfpmath=sse” and running on a Haswell-era CPU.
9955 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9958 * soft-fp/sqrttf2.c: Remove file.
9959 * soft-fp/sqrtdf2.c: Move to ....
9960 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
9962 (__sqrtdf2): Make conditional on
9963 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9965 * soft-fp/sqrtsf2.c: Move to ....
9966 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
9968 (__sqrtsf2): Make conditional on
9969 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9971 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
9972 (gcc-double-routines): Remove sqrtdf2.
9973 (gcc-quad-routines): Remove sqrttf2.
9974 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9975 Do not filter out sqrtsf2 and sqrtdf2.
9976 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9977 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
9979 2018-06-01 Florian Weimer <fweimer@redhat.com>
9981 * sysdeps/generic/libcidn.abilist: Remove file.
9983 2018-06-01 Florian Weimer <fweimer@redhat.com>
9986 * libio/strfile.h (struct _IO_str_fields): Rename members to
9987 discourage their use and add comment.
9988 (_IO_STR_DYNAMIC): Remove unused macro.
9989 * libio/strops.c (_IO_str_init_static_internal): Do not use
9990 callback pointers. Call malloc and free.
9991 (_IO_str_overflow): Do not use callback pointers. Call malloc
9993 (enlarge_userbuf): Likewise.
9994 (_IO_str_finish): Call free.
9995 * libio/wstrops.c (_IO_wstr_init_static): Initialize
9996 _allocate_buffer_unused.
9997 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
9999 (enlarge_userbuf): Likewise.
10000 (_IO_wstr_finish): Call free.
10001 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10002 _allocate_buffer_unused, _free_buffer_unused.
10003 * libio/memstream.c (__open_memstream): Likewise.
10004 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10005 * libio/wmemstream.c (open_wmemstream): Likewise.
10007 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10009 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10012 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10014 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10015 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10016 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10018 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10020 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10022 2018-05-29 Florian Weimer <fweimer@redhat.com>
10024 * support/Makefile (libsupport-routines): Add
10025 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10026 xpthread_barrierattr_setpshared.
10027 * support/xpthread_barrierattr_destroy.c: New file.
10028 * support/xpthread_barrierattr_init.c: Likewise.
10029 * support/xpthread_barrierattr_setpshared.c: Likewise.
10031 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10034 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10035 _r_debug and update DT_DEBUG for debugger.
10037 2018-05-29 Florian Weimer <fweimer@redhat.com>
10039 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10040 (tst-strtod5i.out): Likewise.
10042 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10044 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10045 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10046 (sparc64-quad-routines): New variable. Moved from ....
10047 [$(subdir) = soft-fp] (sysdep_routines): Add
10048 $(sparc64-quad-routines). Moved from ....
10049 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10050 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10051 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10053 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10054 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10055 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10056 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10057 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10058 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10059 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10060 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10061 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10062 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10063 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10064 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10065 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10066 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10067 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10068 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10069 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10070 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10071 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10072 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10073 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10074 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10075 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10076 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10077 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10078 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10079 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10080 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10081 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10082 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10083 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10084 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10085 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10086 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10087 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10088 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10089 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10090 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10091 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10092 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10093 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10094 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10095 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10096 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10097 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10098 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10099 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10100 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10101 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10102 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10103 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10104 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10105 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10106 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10107 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10108 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10109 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10110 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10112 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10113 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10114 (sparc32-quad-routines): New variable. Moved from ....
10115 [$(subdir) = soft-fp] (sysdep_routines): Add
10116 $(sparc32-quad-routines). Moved from ....
10117 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10118 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10120 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10121 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10122 * sysdeps/sparc/sparc32/q_add.c: ... here.
10123 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10124 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10125 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10126 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10127 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10128 * sysdeps/sparc/sparc32/q_div.c: ... here.
10129 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10130 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10131 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10132 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10133 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10134 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10135 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10136 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10137 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10138 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10139 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10140 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10141 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10142 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10143 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10144 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10145 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10146 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10147 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10148 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10149 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10150 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10151 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10152 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10153 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10154 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10155 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10156 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10157 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10158 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10159 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10160 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10161 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10162 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10163 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10164 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10165 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10166 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10167 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10168 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10169 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10170 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10171 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10172 * sysdeps/sparc/sparc32/q_util.c: ... here.
10173 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10174 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10175 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10176 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10178 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10179 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10181 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10182 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10183 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10184 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10186 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10192 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10193 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10195 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10198 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10201 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10203 * sysdeps/sh/Implies: Remove sh/soft-fp.
10204 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10205 * sysdeps/sh/sfp-machine.h: ... here.
10207 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10209 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10210 (__mempcpy_erms): Skip zero length.
10211 (__memmove_erms): Likewise.
10212 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10213 (__memset_erms): Likewise.
10215 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10217 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10218 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10219 Add functions moved from ....
10220 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10221 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10222 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10224 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10225 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10226 * sysdeps/alpha/e_sqrtl.c: ... here.
10227 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10228 * sysdeps/alpha/local-soft-fp.h: ... here.
10229 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10230 * sysdeps/alpha/ots_add.c: ... here.
10231 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10232 * sysdeps/alpha/ots_cmp.c: ... here.
10233 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10234 * sysdeps/alpha/ots_cmpe.c: ... here.
10235 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10236 * sysdeps/alpha/ots_cvtqux.c: ... here.
10237 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10238 * sysdeps/alpha/ots_cvtqx.c: ... here.
10239 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10240 * sysdeps/alpha/ots_cvttx.c: ... here.
10241 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10242 * sysdeps/alpha/ots_cvtxq.c: ... here.
10243 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10244 * sysdeps/alpha/ots_cvtxt.c: ... here.
10245 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10246 * sysdeps/alpha/ots_div.c: ... here.
10247 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10248 * sysdeps/alpha/ots_mul.c: ... here.
10249 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10250 * sysdeps/alpha/ots_nintxq.c: ... here.
10251 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10252 * sysdeps/alpha/ots_sub.c: ... here.
10253 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10254 * sysdeps/alpha/sfp-machine.h: ... here.
10256 2018-05-23 Florian Weimer <fweimer@redhat.com>
10264 Switch to extern IDNA implementation (libidn2).
10265 * libidn: Remove subdirectory.
10266 * LICENSES: Do not mention licensing conditions for the removed
10268 * config.h.in (HAVE_LIBIDN): Remove.
10269 * include/dlfcn.h (__libc_dlopen): Update comment.
10270 * include/idna.h: Remove file.
10271 * inet/Makefile (routines): Add idna.
10272 (tests-static, tests-internal): Add tst-idna_name_classify.
10273 (LOCALES): Generate locales for tests.
10274 (tst-idna_name_classify.out): Depend on generated locales.
10275 * inet/idna_name_classify.c: New file.
10276 * inet/tst-idna_name_classify.c: Likewise.
10277 * inet/net-internal.h (__idna_to_dns_encoding)
10278 (__idna_from_dns_encoding): Declare.
10279 * inet/net-internal.h (enum idna_name_classification): Define.
10280 (__idna_name_classify): Declare.
10281 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10282 __idna_from_dns_encoding.
10283 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10284 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10285 name as a fallback in case of encoding errors.
10286 (getnameinfo): Use DEPRECATED_NI_IDN.
10287 * inet/idna.c: New file.
10288 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10289 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10290 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10291 (modules-names): Add tst-no-libidn2.
10292 (extra-test-objs): Add tst-no-libidn2.os.
10293 (LDFLAGS-tst-no-libidn2.so): Set soname.
10294 (LOCALES): Set, and generate locales.
10295 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10296 (tst-resolv-ai_idn-latin1): Likewise.
10297 (tst-resolv-ai_idn-nolibidn2): Likewise.
10298 (tst-resolv-ai_idn.out): Depend on locales.
10299 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10300 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10302 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10303 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10304 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10305 * resolv/tst-resolv-ai_idn.c: New file.
10306 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10307 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10308 * resolv/tst-no-libidn2.c: Likewise.
10309 * support/support_format_addrinfo.c (format_ai_flags): Do not
10310 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10311 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10312 (gaih_inet): Call __idna_to_dns_encoding and
10313 __idna_from_dns_encoding, and use the original (punycode) name if
10314 __idna_from_dns_encoding fails due to an encoding error.
10315 (getaddrinfo): Use DEPRECATED_AI_IDN.
10316 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10317 * sysdeps/unix/inet/configure: Remove file.
10318 * sysdeps/unix/inet/configure.ac: Likewise.
10320 2018-05-23 Florian Weimer <fweimer@redhat.com>
10322 Implement allocate_once.
10323 * include/allocate_once.h: New file.
10324 * misc/allocate_once.c: Likewise.
10325 * misc/tst-allocate_once.c: Likewise.
10326 * misc/Makefile (routines): Add allocate_once.
10327 (tests-internal): Add tst-allocate_once.
10328 (generated): Add tst-allocate_once.mtrace,
10329 tst-allocate_once-mem.out.
10330 (tests-special): Add tst-allocate_once-mem.out.
10331 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10332 (tst-allocate_once-mem.out): Call mtrace.
10333 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10335 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10338 * string/test-memcpy.c (do_test1): New function.
10339 (test_main): Call it.
10341 2018-05-23 Andreas Schwab <schwab@suse.de>
10345 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10346 (L(preloop_large)): Save initial destination pointer in %r11 and
10347 use it instead of %rax after the loop.
10348 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10350 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10352 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10353 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10354 -I../soft-fp. Moved from ....
10355 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10356 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10357 * sysdeps/aarch64/e_sqrtl.c: ... here.
10358 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10359 * sysdeps/aarch64/sfp-machine.h: ... here.
10361 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10362 -Wmaybe-uninitialized around access to fq[0].
10363 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10367 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10368 aliases for non-libc case of versioned symbols.
10369 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10370 (llseek): Define as compat symbol if
10371 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10373 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10374 Make into a compat symbol, disabled for minimum symbol version
10375 GLIBC_2.28 and later.
10376 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10378 2018-05-22 Florian Weimer <fweimer@redhat.com>
10380 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10381 not add -mpreferred-stack-boundary=4.
10382 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10383 (stack-align-test-flags): Likewise.
10384 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10386 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10387 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10388 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10389 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10390 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10391 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10392 (CFLAGS-tst-align2.c): Likewise.
10394 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10396 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10397 (index_arch_Prefer_FSRM): Likewise.
10398 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10399 Also check Prefer_FSRM.
10400 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10401 Also return OPTIMIZE (erms) for Prefer_FSRM.
10403 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10405 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10406 (index_cpu_FSRM): Likewise.
10407 (reg_FSRM): Likewise.
10409 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10411 * math/gen-tgmath-tests.py: Import sys.
10412 (Tests.__init__): Initialize macros_seen.
10413 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10414 if requested to do so for this macro.
10415 (Tests.add_all_tests): Take argument for macro for which to
10417 (Tests.check_macro_list): New function.
10418 (main): Handle check-list argument and argument specifying macro
10419 for which to generate tests.
10420 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10421 [PYTHON] (tgmath3-macro-tests): Likewise.
10422 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10423 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10424 not test-tgmath3.c.
10425 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10426 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10428 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10429 [PYTHON] ($(foreach
10430 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10432 [PYTHON] (tests-special): Add
10433 $(objpfx)test-tgmath3-macro-list.out.
10434 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10436 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10437 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10441 * time/tzset.c (SECSPERDAY): Cast to time_t.
10442 * time/tst-y2039.c: New file.
10443 * time/Makefile (tests): Add tst-y2039.
10445 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10447 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10448 (PREFETCH_ONE_SET): Remove duplicate line.
10450 2018-05-17 Florian Weimer <fweimer@redhat.com>
10452 * sysdeps/generic/math-type-macros-double.h: Include
10453 <math-nan-payload-double.h> after <libm-alias-double.h>.
10454 * sysdeps/generic/math-type-macros-float.h: Include
10455 <math-nan-payload-float.h> after <libm-alias-float.h>.
10456 * sysdeps/generic/math-type-macros-float128.h: Include
10457 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10458 * sysdeps/generic/math-type-macros-ldouble.h: Include
10459 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10461 2018-05-17 Andreas Schwab <schwab@suse.de>
10463 * resolv/res_send.c (__res_context_send): Don't set errno when
10464 returing error after malloc failure.
10466 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10468 * nptl/allocatestack.c (allocate_stack): Remove the
10469 !__ASSUME_PRIVATE_FUTEX paths.
10470 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10471 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10473 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10474 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10475 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10476 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10477 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10478 !__ASSUME_PRIVATE_FUTEX path.
10479 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10480 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10481 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10482 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10483 !__ASSUME_PRIVATE_FUTEX macros.
10484 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10485 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10486 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10487 * sysdeps/unix/sysv/linux/kernel-features.h
10488 (__ASSUME_PRIVATE_FUTEX): Removed.
10490 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10492 * math/Makefile (libm-narrow-fns): Add div.
10493 (libm-test-funcs-narrow): Likewise.
10494 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10495 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10496 * math/gen-auto-libm-tests.c (test_functions): Add div.
10497 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10498 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10499 (NARROW_DIV_TRIVIAL): Likewise.
10500 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10502 (__ddivl): Likewise.
10503 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10505 (CFLAGS-nldbl-ddiv.c): New variable.
10506 (CFLAGS-nldbl-fdiv.c): Likewise.
10507 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10509 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10511 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10512 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10513 * math/auto-libm-test-in: Add tests of div.
10514 * math/auto-libm-test-out-narrow-div: New generated file.
10515 * math/libm-test-narrow-div.inc: New file.
10516 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10519 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10520 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10521 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10522 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10523 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10524 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10525 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10526 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10527 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10528 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10529 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10530 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10531 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10532 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10533 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10535 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10536 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10537 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10538 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10539 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10540 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10541 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10542 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10543 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10544 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10545 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10546 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10547 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10552 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10553 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10554 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10555 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10556 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10557 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10558 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10559 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10561 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10564 * nscd/nscd-client.h (sendfileall): Remove prototype.
10565 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10566 (handle_request): Use writeall instead of sendfileall.
10567 * nscd/aicache.c (addhstaiX): Likewise.
10568 * nscd/grpcache.c (cache_addgr): Likewise.
10569 * nscd/hstcache.c (cache_addhst): Likewise.
10570 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10571 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10572 * nscd/pwdcache.c (cache_addpw): Likewise.
10573 * nscd/servicescache.c (cache_addserv): Likewise.
10574 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10575 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10576 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10579 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10581 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10582 Include <string/strncat.c>.
10583 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10585 (__GI___strncat): New hidden alias.
10587 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10589 * sysdeps/mips/mips32/libm-test-ulps: Update.
10590 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10592 2018-05-16 Florian Weimer <fweimer@redhat.com>
10594 * support/Makefile (libsupport-routines): Add support_quote_blob,
10595 support_test_compare_blob.
10596 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10597 * support/check.h (TEST_COMPARE_BLOB): Define.
10598 (support_test_compare_blob): Declare.
10599 * support/support.h (support_quote_blob): Declare.
10600 * support/support_quote_blob.c: New file.
10601 * support/support_test_compare_blob.c: Likewise.
10602 * support/tst-support_quote_blob.c: Likewise.
10603 * support/tst-test_compare_blob.c: Likewise.
10605 2018-05-16 Florian Weimer <fweimer@redhat.com>
10607 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10608 of <strtod_nan_double.h>.
10609 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10610 instead of SET_MANTISSA.
10611 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10612 of include <strtod_nan_float.h>.
10613 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10614 instead of <strtod_nan_ldouble.h>.
10615 * stdlib/strtod_nan_double.h: Move to ...
10616 * sysdeps/generic/math-nan-payload-double.h: ... here.
10617 (FLOAT): Remove definition.
10618 (SET_MANTISSA): Rename to ...
10619 (SET_NAN_PAYLOAD): ... this.
10620 * stdlib/strtod_nan_float.h: Move to ...
10621 * sysdeps/generic/math-nan-payload-float.h: ... here.
10622 (FLOAT): Remove definition.
10623 (SET_MANTISSA): Rename to ...
10624 (SET_NAN_PAYLOAD): ... this.
10625 * sysdeps/generic/math-type-macros-double.h: Include
10626 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10627 instead of <math-svid-compat.h>.
10628 * sysdeps/generic/math-type-macros-float.h: Include
10629 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10630 instead of <math-svid-compat.h>.
10631 * sysdeps/generic/math-type-macros-float128.h: Include
10632 <math-nan-payload-float128.h>.
10633 * sysdeps/generic/math-type-macros-ldouble.h: Include
10634 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10635 instead of <math-svid-compat.h>.
10636 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10637 check for definition.
10638 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10639 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10640 Include <ieee754_float128.h>.
10641 (FLOAT): Remove definition.
10642 (SET_MANTISSA): Rename to ...
10643 (SET_NAN_PAYLOAD): ... this.
10644 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10645 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10646 Do not include <float128_private.h>.
10647 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10648 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10649 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10650 (FLOAT): Remove definition.
10651 (SET_MANTISSA): Rename to ...
10652 (SET_NAN_PAYLOAD): ... this.
10653 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10654 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10655 (FLOAT): Remove definition.
10656 (SET_MANTISSA): Rename to ...
10657 (SET_NAN_PAYLOAD): ... this.
10658 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10659 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10660 (FLOAT): Remove definition.
10661 (SET_MANTISSA): Rename to ...
10662 (SET_NAN_PAYLOAD): ... this.
10663 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10664 of "../stdlib/strtod_nan_double.h".
10665 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10666 of "../stdlib/strtod_nan_float.h".
10667 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10668 instead of "../stdlib/strtod_nan_ldouble.h".
10669 * manual/arith.texi (Parsing of Floats): Adjust comment.
10671 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10673 * math/Makefile (libm-narrow-fns): Add mul.
10674 (libm-test-funcs-narrow): Likewise.
10675 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10676 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10677 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10678 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10679 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10680 (NARROW_MUL_TRIVIAL): Likewise.
10681 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10682 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10684 (__dmull): Likewise.
10685 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10687 (CFLAGS-nldbl-dmul.c): New variable.
10688 (CFLAGS-nldbl-fmul.c): Likewise.
10689 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10691 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10693 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10694 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10695 * math/auto-libm-test-in: Add tests of mul.
10696 * math/auto-libm-test-out-narrow-mul: New generated file.
10697 * math/libm-test-narrow-mul.inc: New file.
10698 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10699 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10700 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10701 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10702 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10703 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10705 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10706 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10709 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10710 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10711 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10712 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10713 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10714 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10715 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10717 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10718 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10719 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10720 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10721 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10722 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10723 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10724 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10725 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10726 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10727 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10728 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10729 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10734 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10735 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10736 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10737 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10738 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10739 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10740 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10741 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10743 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10745 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10746 with *%eax in call.
10748 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10750 * sysdeps/i386/ldsodefs.h: Removed.
10751 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10752 * sysdeps/x86/ldsodefs.h: This.
10753 (La_i86_regs): New.
10754 (La_i86_retval): Likewise.
10755 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10756 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10758 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10760 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10763 2018-05-13 Alan Modra <amodra@gmail.com>
10765 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10766 R_PARISC_TLS_DTPOFF32 reloc addend.
10768 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10770 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10771 * math/math.h: Restrict the prototype definition for the functions
10772 issignaling(_Float128) and iszero(_Float128); and template
10773 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10774 __HAVE_FLOAT128_UNLIKE_LDBL.
10775 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10776 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10777 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10778 __f128() constants; define the type _Float128 as long double;
10779 and reuse long double in __CFLOAT128.
10781 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10783 * sysdeps/generic/math_private.h: Do not include
10785 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10787 * math/fromfp.h: Include <math-barriers.h>.
10788 * math/math-narrow.h: Likewise.
10789 * math/s_nextafter.c: Likewise.
10790 * math/s_nexttowardf.c: Likewise.
10791 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10792 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10793 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10794 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10795 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10796 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10797 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10802 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10803 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10804 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10805 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10806 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10807 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10808 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10809 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10810 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10811 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10812 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10813 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10814 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10815 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10816 * sysdeps/ieee754/k_standardl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10818 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10819 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10820 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10821 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10824 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10825 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10826 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10827 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10828 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10829 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10830 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10831 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10833 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10834 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10835 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10836 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10837 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10838 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10840 2018-05-11 Florian Weimer <fweimer@redhat.com>
10842 Use 64-bit epoch values in the time zone file parser.
10843 * include/time.h (internal_time_t): Define.
10844 (__tzfile_compute): Use it.
10845 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10847 (transitions): Switch to internal_time_t.
10848 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10850 (__tzfile_compute): Use internal_time_t for timer argument. Check
10851 for truncation before calling __offtime.
10853 2018-05-11 Florian Weimer <fweimer@redhat.com>
10856 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10857 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10859 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10860 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10861 export without --enable-obsolete-rpc.
10862 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10863 symbol. This should not have been exported, ever.
10865 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10868 * localedata/locales/gd_GB (abmon): Fix typo in May:
10869 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10871 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10873 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10874 Use multiple registers to copy data in loop tail.
10876 * sysdeps/aarch64/multiarch/memmove_falkor.S
10877 (__memmove_falkor): Use multiple registers to move data in
10880 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10882 * math/math-underflow.h: New file.
10883 * sysdeps/generic/math_private.h: Do not include <float.h>.
10884 (fabs_tg): Remove macro. Moved to math-underflow.h.
10885 (min_of_type_f): Likewise.
10886 (min_of_type_): Likewise.
10887 (min_of_type_l): Likewise.
10888 (min_of_type_f128): Likewise.
10889 (min_of_type): Likewise.
10890 (math_check_force_underflow): Likewise.
10891 (math_check_force_underflow_nonneg): Likewise.
10892 (math_check_force_underflow_complex): Likewise.
10893 * math/e_exp2_template.c: Include <math-underflow.h>.
10894 * math/k_casinh_template.c: Likewise.
10895 * math/s_catan_template.c: Likewise.
10896 * math/s_catanh_template.c: Likewise.
10897 * math/s_ccosh_template.c: Likewise.
10898 * math/s_cexp_template.c: Likewise.
10899 * math/s_clog10_template.c: Likewise.
10900 * math/s_clog_template.c: Likewise.
10901 * math/s_csin_template.c: Likewise.
10902 * math/s_csinh_template.c: Likewise.
10903 * math/s_csqrt_template.c: Likewise.
10904 * math/s_ctan_template.c: Likewise.
10905 * math/s_ctanh_template.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10924 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10925 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10926 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10927 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10928 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10929 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10930 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10931 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10932 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10933 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10934 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10935 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10936 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10937 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10938 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10939 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10940 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10941 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10942 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10943 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10945 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10946 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10947 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10949 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10950 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10951 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10952 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10953 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10954 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10955 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10956 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10957 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10958 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10959 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10960 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10962 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10963 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10964 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10965 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10966 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10967 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10968 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10969 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10970 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10971 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10972 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10973 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10974 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10975 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10976 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10977 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10978 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10979 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
10980 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10981 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10982 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10983 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10984 * sysdeps/x86/fpu/powl_helper.c: Likewise.
10985 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
10986 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
10987 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10988 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10991 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10993 * sysdeps/generic/math-barriers.h: New file.
10994 * sysdeps/generic/math_private.h [!math_opt_barrier]
10995 (math_opt_barrier): Move to math-barriers.h.
10996 [!math_opt_barrier] (math_force_eval): Likewise.
10997 * sysdeps/aarch64/fpu/math-barriers.h: New file.
10998 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11000 (math_force_eval): Likewise.
11001 * sysdeps/alpha/fpu/math-barriers.h: New file.
11002 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11004 (math_force_eval): Likewise.
11005 * sysdeps/x86/fpu/math-barriers.h: New file.
11006 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11008 (math_force_eval): Likewise.
11009 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11010 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11011 multiple-include guard for rename.
11012 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11013 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11015 (math_force_eval): Likewise.
11017 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11021 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11023 * stdlib/Makefile (test-bz22786): New test.
11024 * stdlib/test-bz22786.c: New test.
11026 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11028 * include/math-narrow-eval.h: New file. Contents moved from ....
11029 * sysdeps/generic/math_private.h: ... here.
11030 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11031 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11032 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11033 * stdlib/strtod_l.c: Likewise.
11034 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11035 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11036 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11037 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11038 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11039 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11040 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11041 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11045 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11046 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11047 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11049 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11050 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11051 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11052 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11053 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11054 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11055 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11056 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11057 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11058 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11059 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11060 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11061 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11062 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11064 2018-05-08 Andreas Schwab <schwab@suse.de>
11066 * sysdeps/nptl/internaltypes.h: Fix comment.
11068 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11070 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11071 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11074 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11076 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11077 of I into loop header.
11078 * benchtests/bench-memmove-walk.c
11079 (test_main): Likewise.
11081 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11084 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11085 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11087 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11090 * elf/dl-load.c (open_verify): Fix stack overflow.
11091 * elf/Makefile (tst-big-note): New test.
11092 * elf/tst-big-note-lib.S: New.
11093 * elf/tst-big-note.c: New.
11095 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11097 * scripts/abilist.awk: Ignore absolute symbols.
11098 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11099 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11100 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11101 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11102 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11103 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11104 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11105 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11106 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11107 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11108 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11109 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11110 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11111 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11112 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11113 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11114 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11115 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11116 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11117 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11118 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11119 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11120 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11121 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11122 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11123 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11124 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11125 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11126 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11127 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11128 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11129 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11130 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11131 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11132 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11133 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11134 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11135 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11136 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11137 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11138 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11139 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11140 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11141 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11142 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11143 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11144 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11145 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11146 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11147 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11148 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11149 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11150 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11151 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11152 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11153 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11154 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11155 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11156 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11157 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11158 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11159 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11160 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11161 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11162 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11163 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11164 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11165 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11166 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11167 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11168 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11169 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11170 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11171 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11172 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11173 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11174 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11175 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11176 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11177 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11178 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11179 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11180 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11181 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11182 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11183 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11184 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11185 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11186 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11187 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11188 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11189 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11191 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11192 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11193 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11194 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11195 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11196 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11197 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11198 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11199 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11200 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11201 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11202 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11203 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11205 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11206 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11207 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11208 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11209 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11210 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11211 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11212 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11213 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11214 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11215 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11216 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11217 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11218 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11219 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11220 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11221 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11222 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11223 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11224 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11225 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11226 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11227 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11228 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11229 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11230 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11231 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11233 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11234 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11235 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11236 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11237 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11240 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11241 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11242 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11243 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11244 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11245 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11246 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11247 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11248 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11249 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11250 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11251 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11252 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11254 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11255 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11256 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11257 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11258 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11259 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11260 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11261 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11262 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11263 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11264 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11265 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11268 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11269 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11270 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11271 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11272 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11273 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11274 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11275 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11276 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11277 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11278 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11279 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11280 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11281 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11341 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11342 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11344 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11345 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11346 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11347 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11348 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11349 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11350 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11351 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11352 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11353 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11354 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11355 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11359 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11360 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11365 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11366 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11367 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11370 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11372 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11373 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11387 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11388 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11398 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11399 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11404 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11405 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11406 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11408 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11409 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11412 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11413 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11414 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11415 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11416 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11417 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11418 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11419 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11420 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11421 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11422 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11423 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11424 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11425 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11426 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11427 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11430 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11431 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11432 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11433 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11434 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11435 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11436 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11437 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11438 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11439 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11440 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11441 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11442 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11443 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11444 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11445 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11446 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11447 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11448 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11449 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11451 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11454 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11455 Use atomic_load_acquire to load __tid.
11457 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11459 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11460 Restore the pointer into %rdx, after syscall and use %rdx,
11461 instead of %rsi, to restore context.
11463 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11465 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11466 Pop the pointer into %rdx after syscall and use %rdx, instead
11467 of %rsi, to restore context.
11469 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11471 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11472 handlers after setjmp.
11473 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11475 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11476 <libc-pointer-arith.h>.
11477 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11478 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11479 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11480 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11481 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11482 * sysdeps/x86/__longjmp_cancel.S: New file.
11483 * sysdeps/x86/longjmp.c: Likewise.
11484 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11486 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11488 * NEWS: Add ustat.h deprecation entry.
11489 * bits/ustat.h: Remove file.
11490 * misc/sys/ustat.h: Likewise.
11491 * misc/ustat.h: Likewise.
11492 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11493 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11494 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11495 compatibility mode.
11496 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11497 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11498 generic Linux implementation.
11500 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11502 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11503 * math/w_expl_compat.c: Likewise.
11504 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11506 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11508 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11510 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11512 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11513 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11514 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11516 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11518 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11519 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11520 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11523 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11525 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11527 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11528 * math/w_asin_template.c: Likewise.
11529 * math/w_atanh_template.c: Likewise.
11531 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11533 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11534 to powerpc/powerpc64/be for big-endian.
11535 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11538 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11539 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11540 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11541 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11542 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11543 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11544 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11545 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11546 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11547 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11548 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11549 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11550 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11551 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11552 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11553 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11554 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11555 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11556 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11557 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11558 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11559 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11560 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11561 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11562 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11563 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11564 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11565 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11566 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11567 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11568 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11569 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11571 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11572 adjusted to imply powerpc64 and older processors on powerpc64/be.
11573 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11574 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11575 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11576 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11577 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11578 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11579 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11580 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11581 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11582 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11583 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11584 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11585 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11586 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11587 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11588 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11589 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11590 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11591 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11592 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11593 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11594 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11595 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11596 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11597 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11598 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11599 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11600 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11601 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11602 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11603 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11605 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11606 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11607 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11608 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11610 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11611 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11612 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11613 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11615 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11616 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11617 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11618 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11619 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11620 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11621 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11622 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11623 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11624 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11625 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11627 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11628 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11629 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11630 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11631 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11632 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11633 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11634 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11635 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11636 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11637 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11639 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11640 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11641 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11642 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11643 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11644 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11645 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11646 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11647 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11648 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11649 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11650 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11652 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11653 and adjusted to imply olders processors.
11654 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11655 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11656 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11657 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11658 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11659 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11660 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11661 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11662 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11663 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11664 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11669 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11683 powerpc64 and adjusted.
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11689 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11691 * sysdeps/tile: Remove.
11692 * sysdeps/unix/sysv/linux/tile: Likewise.
11693 * README (tilegx-*-linux-gnu): Remove from list of supported
11695 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11696 contribution of support for generic Linux kernel syscall
11698 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11699 tilegx configurations.
11700 (Config.install_linux_headers): Do not handle tile.
11701 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11703 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11704 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11705 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11706 conditional undefine and redefine.
11707 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11709 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11710 conditional undefine and redefine.
11712 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11714 * signal/tst-sigaction.c: New file to test BZ #23069.
11715 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11717 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11720 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11721 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11722 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11723 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11725 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11727 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11728 _DIRENT_MATCHES_DIRENT64 is not defined.
11729 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11730 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11732 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11733 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11735 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11737 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11738 version to GCC 8 branch.
11740 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11742 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11743 (check_no_hidden): Use type of original function when declaring
11746 * sysdeps/unix/sysv/linux/sys/ptrace.h
11747 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11748 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11749 (struct __ptrace_seccomp_metadata): New type.
11750 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11751 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11752 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11753 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11754 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11755 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11756 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11757 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11758 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11759 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11760 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11761 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11762 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11763 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11764 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11765 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11767 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11769 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11771 * dirent/versionsort.c (versionsort): Likewise.
11772 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11773 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11774 * dirent/versionsort64.c (versionsort64): Likewise.
11775 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11776 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11777 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11778 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11779 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11780 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11781 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11782 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11783 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11784 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11787 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11788 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11790 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11792 * elf/elf.h (NT_PPC_PKEY): New macro.
11794 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11797 * localedata/locales/hr_HR: fix thousands_sep and
11800 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11802 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11803 (XTABS): Define to TAB3.
11805 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11807 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11809 * dirent/scandir-tail-common.c: New file.
11810 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11811 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11812 * dirent/scandir.c: Use scandir-tail-common.c.
11813 * dirent/scandirat.c: Likewise.
11814 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11815 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11816 if _DIRENT_MATCHES_DIRENT64 is defined.
11817 * dirent/scandirat64.c (scandirat64): Likewise.
11818 * include/dirent.h (__scandir_tail): Only define iff
11819 _DIRENT_MATCHES_DIRENT64 is not defined.
11820 (__scandir64_tail): Define regardless.
11821 (__scandirat, scandirat64): Remove libc_hidden_proto.
11822 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11823 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11825 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11826 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11827 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11828 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11830 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11832 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11834 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11836 (_dl_aarch64_cap_flags): Add asimdfhm.
11838 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11840 * sysdeps/nios2/libm-test-ulps: Update.
11842 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11844 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11845 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11847 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11849 (_DIRENT_MATCHES_DIRENT64): Undef
11850 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11851 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11852 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11853 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11854 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11855 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11856 use getdents64 syscalls as base.
11857 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11858 symbol if required.
11859 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11860 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11861 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11862 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11863 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11864 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11865 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11866 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11868 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11869 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11871 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11873 * scripts/test_printers_common.py (init_test): Disable lock elision.
11875 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11877 * math/test-tgmath.c (count_double, count_float,
11878 count_ldouble, count_cdouble, count_cfloat,
11879 count_cldouble): Use volatile int.
11881 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11883 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11884 (conformtest-xfail-conds): Add i386-gnu.
11885 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11887 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11888 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11889 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11890 msqid_ds.msg_lrpid): Likewise.
11891 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11893 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11894 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11895 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11896 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11898 (struct statvfs64): Likewise.
11899 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11901 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11902 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11903 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11904 instead of wait_queue.
11905 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11906 instead of vm_area_struct.
11907 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11908 struct sched_param definition to it.
11909 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11910 * bits/types/struct_sched_param.h: New file.
11911 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11912 <bits/types/struct_sched_param.h> instead of <sched.h>.
11913 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11914 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11915 generic version but include <bits/pthreadtypes.h> to make struct
11916 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11917 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11919 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11920 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11921 [__USE_XOPEN] (OFDEL): New macro.
11922 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11923 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11924 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11926 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11927 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11928 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11930 * sysdeps/i386/sys/ucontext.h: Likewise.
11931 * sysdeps/m68k/sys/ucontext.h: Likewise.
11932 * sysdeps/mips/sys/ucontext.h: Likewise.
11933 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11934 * sysdeps/mach/hurd/i386/Makefile
11935 (test-xfail-POSIX/fcntl.h/conform): Add.
11936 (test-xfail-POSIX/signal.h/conform): Add.
11937 (test-xfail-POSIX/semaphore.h/conform): Add.
11938 (test-xfail-POSIX/regex.h/conform): Add.
11939 (test-xfail-POSIX/aio.h/conform): Add.
11940 (test-xfail-POSIX/mqueue.h/conform): Add.
11941 (test-xfail-POSIX/sys/types.h/conform): Add.
11942 (test-xfail-UNIX98/fcntl.h/conform): Add.
11943 (test-xfail-UNIX98/netdb.h/conform): Add.
11944 (test-xfail-UNIX98/signal.h/conform): Add.
11945 (test-xfail-UNIX98/semaphore.h/conform): Add.
11946 (test-xfail-UNIX98/regex.h/conform): Add.
11947 (test-xfail-UNIX98/aio.h/conform): Add.
11948 (test-xfail-UNIX98/ftw.h/conform): Add.
11949 (test-xfail-UNIX98/mqueue.h/conform): Add.
11950 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11951 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11952 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11953 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11954 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11955 (test-xfail-UNIX98/sys/types.h/conform): Add.
11956 (test-xfail-UNIX98/stdlib.h/conform): Add.
11957 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11958 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11959 (test-xfail-POSIX2008/netdb.h/conform): Add.
11960 (test-xfail-POSIX2008/signal.h/conform): Add.
11961 (test-xfail-POSIX2008/semaphore.h/conform): Add.
11962 (test-xfail-POSIX2008/regex.h/conform): Add.
11963 (test-xfail-POSIX2008/aio.h/conform): Add.
11964 (test-xfail-POSIX2008/mqueue.h/conform): Add.
11965 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
11966 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
11967 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
11968 (test-xfail-POSIX2008/sys/types.h/conform): Add.
11969 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
11970 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
11971 (test-xfail-XOPEN2K/netdb.h/conform): Add.
11972 (test-xfail-XOPEN2K/signal.h/conform): Add.
11973 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
11974 (test-xfail-XOPEN2K/regex.h/conform): Add.
11975 (test-xfail-XOPEN2K/aio.h/conform): Add.
11976 (test-xfail-XOPEN2K/ftw.h/conform): Add.
11977 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
11978 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
11979 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
11980 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
11981 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
11982 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
11983 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
11984 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
11985 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
11986 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
11987 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
11988 (test-xfail-XOPEN2K8/signal.h/conform): Add.
11989 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
11990 (test-xfail-XOPEN2K8/regex.h/conform): Add.
11991 (test-xfail-XOPEN2K8/aio.h/conform): Add.
11992 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
11993 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
11994 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
11995 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
11996 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
11997 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
11998 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
11999 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12000 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12001 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12002 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12004 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12005 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12007 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12009 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12010 --enable-obsolete for powerpc-linux-gnuspe.
12012 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12014 * conform/data/sys/un.h-data: Allow sun_ prefix.
12015 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12017 * sysdeps/mach/include/mach.h: Likewise.
12018 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12019 * sysdeps/mach/include/mach_error.h: Likewise.
12021 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12023 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12024 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12025 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12026 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12028 2018-04-16 Andreas Schwab <schwab@suse.de>
12031 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12033 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12035 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12036 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12038 2018-04-12 DJ Delorie <dj@redhat.com>
12040 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12043 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12045 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12046 (struct kernel_sigaction): Use the same definition on 31bit as is used
12049 2018-04-09 Florian Weimer <fweimer@redhat.com>
12052 * resolv/res_send.c (send_dg): Use designated initializers instead
12053 of assignment to zero-initialize other fields of struct mmsghdr.
12055 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12057 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12058 __READDIR_ALIAS): Undefine after usage.
12059 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12060 __READDIR_R_ALIAS): Likewise.
12061 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12062 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12063 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12064 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12065 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12066 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12067 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12068 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12069 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12070 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12071 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12072 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12073 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12074 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12075 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12076 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12077 * sysdeps/unix/sysv/linux/readdir.c: New file.
12078 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12079 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12080 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12082 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12084 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12086 * manual/charset.texi (Converting a Character): Fix typo.
12088 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12092 * sysdeps/arm/libm-test-ulps: Update.
12094 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12095 as base implementation.
12096 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12097 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12098 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12099 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12100 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12101 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12102 remove unrequired definitions and update comments.
12103 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12104 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12105 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12106 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12107 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12108 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12109 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12110 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12111 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12112 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12113 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12114 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12115 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12116 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12117 and RESET_SA_RESTORER hooks.
12119 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12121 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12123 2018-04-05 Florian Weimer <fweimer@redhat.com>
12125 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12126 integer overflow, memory leak on error, and indeterminate errno
12127 value. Add a null wide character to terminate the result string.
12128 * manual/charset.texi (Converting a Character): Mention embedded
12129 null bytes in the mbrtowc input string. Explain what happens in
12130 the -2 result case. Do not claim that mbrtowc is simple or
12131 obvious to use. Adjust the description of the code example. Use
12132 @code, not @var, for concrete variables.
12134 2018-04-05 Florian Weimer <fweimer@redhat.com>
12136 * manual/examples/mbstouwcs.c: New file.
12137 * manual/charset.texi (Converting a Character): Include it.
12139 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12141 * include/dirent.h (dirfd): Add hidden proto.
12142 * dirent/dirfd.c (dirfd): Add hidden def.
12143 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12144 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12146 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12148 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12149 sin, cos and sincos to 1 ULP.
12151 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12154 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12156 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12157 * elf/tst-absolute-sym.c: New file.
12158 * elf/tst-absolute-sym-lib.c: New file.
12159 * elf/tst-absolute-sym-lib.lds: New file.
12160 * elf/Makefile (tests): Add `tst-absolute-sym'.
12161 (modules-names): Add `tst-absolute-sym-lib'.
12162 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12163 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12164 ($(objpfx)tst-absolute-sym): New dependency.
12167 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12169 (SYMBOL_ADDRESS): New macro.
12170 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12171 SYMBOL_ADDRESS for symbol address calculation.
12172 * elf/dl-runtime.c (_dl_fixup): Likewise.
12173 (_dl_profile_fixup): Likewise.
12174 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12175 * elf/rtld.c (dl_main): Likewise.
12176 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12177 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12178 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12179 (elf_machine_rela): Likewise.
12180 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12181 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12182 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12183 (elf_machine_rela): Likewise.
12184 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12185 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12186 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12187 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12189 (elf_machine_reloc): Likewise.
12190 (elf_machine_got_rel): Likewise.
12191 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12192 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12193 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12197 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12198 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12200 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12202 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12203 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12205 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12207 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12208 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12210 2018-04-04 Zack Weinberg <zackw@panix.com>
12212 * sysdeps/generic/internal-signals.h: Include signal.h,
12213 sigsetops.h, and stdbool.h.
12214 (__libc_signal_block_all): Actually block all signals.
12215 (__libc_signal_block_app): Likewise.
12216 (__libc_signal_restore_set): Actually restore the signal mask.
12218 2018-04-04 Florian Weimer <fweimer@redhat.com>
12220 inet: Actually build and run tst-deadline.
12221 * inet/Makefile (tests-internal): Add tst-deadline and do not
12222 overwrite the variable.
12223 (tests-static-internal): Remove variable.
12225 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12228 * bits/uio-ext.h (RWF_APPEND): New.
12229 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12230 * manual/llio.texi: Document RWF_APPEND.
12231 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12232 (RWF_SUPPORTED): Add RWF_APPEND.
12234 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12237 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12238 check for internal nptl signals.
12239 * nptl/sigaction.c (__sigaction): Likewise.
12240 * signal/sigaddset.c (sigaddset): Likewise.
12241 * signal/sigdelset.c (sigdelset): Likewise.
12242 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12243 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12245 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12246 to filter out internal nptl signals.
12247 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12248 also check realtime signals using standard macros.
12249 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12250 __is_internal_signal, __libc_signal_block_all,
12251 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12252 * sysdeps/nptl/sigfillset.c: Remove file.
12253 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12254 Change return to bool.
12255 (__clear_internal_signals): Remove SIGTIMER clean since it is
12256 equal to SIGCANEL on Linux.
12257 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12258 signal set was constructed using standard functions.
12260 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12262 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12263 ifname is too long.
12264 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12265 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12266 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12268 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12269 * signal/sigaddset.c: Include <sigsetopts.h>.
12270 * signal/sigdelset.c: Likewise.
12272 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12274 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12276 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12277 logic as sin and cos.
12279 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12281 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12282 inputs. Return correct sign.
12283 (do_sincos): Remove small input check before do_sin, let do_sin set
12288 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12290 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12291 (do_cos_slow): Likewise.
12292 (do_sin_slow): Likewise.
12293 (reduce_and_compute): Likewise.
12298 (sloww1): Likewise.
12299 (sloww2): Likewise.
12301 (bslow1): Likewise.
12302 (bslow2): Likewise.
12303 (cslow2): Likewise.
12305 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12307 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12308 (do_cos): Remove corp parameter and calculations.
12309 (do_sin): Likewise.
12310 (do_sincos): Remove cor variable.
12311 (__sin): Use do_sincos for huge inputs.
12313 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12314 (reduce_and_compute_sincos): Remove unused function.
12316 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12318 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12319 reduce_sincos, improve accuracy to 136 bits.
12320 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12321 (__sin): Use improved reduction and simplified do_sincos calculation.
12323 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12325 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12327 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12328 (do_sincos_2): Likewise.
12329 (__sin): Remove middle range reduction case.
12331 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12334 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12336 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12337 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12340 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12342 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12344 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12347 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12349 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12350 Remove definitions.
12351 (opendir_oflags): Use O_DIRECTORY regardless.
12352 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12353 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12355 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12357 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12358 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12360 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12361 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12362 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12363 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12364 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12365 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12367 * htl/Makefile: Bump licence to LGPL 2.1+.
12368 * htl/alloca_cutoff.c: Likewise.
12369 * htl/cthreads-compat.c: Likewise.
12370 * htl/lockfile.c: Likewise.
12371 * htl/pt-alloc.c: Likewise.
12372 * htl/pt-cancel.c: Likewise.
12373 * htl/pt-cleanup.c: Likewise.
12374 * htl/pt-create.c: Likewise.
12375 * htl/pt-dealloc.c: Likewise.
12376 * htl/pt-detach.c: Likewise.
12377 * htl/pt-exit.c: Likewise.
12378 * htl/pt-getattr.c: Likewise.
12379 * htl/pt-initialize.c: Likewise.
12380 * htl/pt-internal.h: Likewise.
12381 * htl/pt-join.c: Likewise.
12382 * htl/pt-self.c: Likewise.
12383 * htl/pt-setcancelstate.c: Likewise.
12384 * htl/pt-setcanceltype.c: Likewise.
12385 * htl/pt-sigmask.c: Likewise.
12386 * htl/pt-spin-inlines.c: Likewise.
12387 * htl/pt-testcancel.c: Likewise.
12388 * htl/pt-yield.c: Likewise.
12389 * htl/tests/test-1.c: Likewise.
12390 * htl/tests/test-10.c: Likewise.
12391 * htl/tests/test-11.c: Likewise.
12392 * htl/tests/test-12.c: Likewise.
12393 * htl/tests/test-13.c: Likewise.
12394 * htl/tests/test-14.c: Likewise.
12395 * htl/tests/test-15.c: Likewise.
12396 * htl/tests/test-16.c: Likewise.
12397 * htl/tests/test-17.c: Likewise.
12398 * htl/tests/test-2.c: Likewise.
12399 * htl/tests/test-3.c: Likewise.
12400 * htl/tests/test-4.c: Likewise.
12401 * htl/tests/test-5.c: Likewise.
12402 * htl/tests/test-6.c: Likewise.
12403 * htl/tests/test-7.c: Likewise.
12404 * htl/tests/test-8.c: Likewise.
12405 * htl/tests/test-9.c: Likewise.
12406 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12407 * sysdeps/htl/bits/cancelation.h: Likewise.
12408 * sysdeps/htl/bits/pthread-np.h: Likewise.
12409 * sysdeps/htl/bits/pthread.h: Likewise.
12410 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12411 * sysdeps/htl/bits/semaphore.h: Likewise.
12412 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12413 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12414 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12415 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12416 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12417 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12418 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12419 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12420 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12421 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12422 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12423 * sysdeps/htl/old_pt-atfork.c: Likewise.
12424 * sysdeps/htl/pt-atfork.c: Likewise.
12425 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12426 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12427 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12428 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12429 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12430 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12431 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12432 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12433 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12434 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12435 * sysdeps/htl/pt-attr-init.c: Likewise.
12436 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12437 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12438 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12439 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12440 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12441 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12442 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12443 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12444 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12445 * sysdeps/htl/pt-attr.c: Likewise.
12446 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12447 * sysdeps/htl/pt-barrier-init.c: Likewise.
12448 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12449 * sysdeps/htl/pt-barrier.c: Likewise.
12450 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12451 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12452 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12453 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12454 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12455 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12456 * sysdeps/htl/pt-cond-init.c: Likewise.
12457 * sysdeps/htl/pt-cond-signal.c: Likewise.
12458 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12459 * sysdeps/htl/pt-cond-wait.c: Likewise.
12460 * sysdeps/htl/pt-cond.c: Likewise.
12461 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12462 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12463 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12464 * sysdeps/htl/pt-condattr-init.c: Likewise.
12465 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12466 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12467 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12468 * sysdeps/htl/pt-equal.c: Likewise.
12469 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12470 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12471 * sysdeps/htl/pt-getschedparam.c: Likewise.
12472 * sysdeps/htl/pt-getspecific.c: Likewise.
12473 * sysdeps/htl/pt-init-specific.c: Likewise.
12474 * sysdeps/htl/pt-key-create.c: Likewise.
12475 * sysdeps/htl/pt-key-delete.c: Likewise.
12476 * sysdeps/htl/pt-key.h: Likewise.
12477 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12478 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12479 * sysdeps/htl/pt-mutex-init.c: Likewise.
12480 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12481 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12482 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12483 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12484 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12485 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12486 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12487 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12488 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12489 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12490 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12491 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12492 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12493 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12494 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12495 * sysdeps/htl/pt-mutexattr.c: Likewise.
12496 * sysdeps/htl/pt-once.c: Likewise.
12497 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12498 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12499 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12500 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12501 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12502 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12503 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12504 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12505 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12506 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12507 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12508 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12509 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12510 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12511 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12512 * sysdeps/htl/pt-setschedparam.c: Likewise.
12513 * sysdeps/htl/pt-setschedprio.c: Likewise.
12514 * sysdeps/htl/pt-setspecific.c: Likewise.
12515 * sysdeps/htl/pt-spin.c: Likewise.
12516 * sysdeps/htl/pt-startup.c: Likewise.
12517 * sysdeps/htl/pthread.h: Likewise.
12518 * sysdeps/htl/sem-close.c: Likewise.
12519 * sysdeps/htl/sem-destroy.c: Likewise.
12520 * sysdeps/htl/sem-getvalue.c: Likewise.
12521 * sysdeps/htl/sem-init.c: Likewise.
12522 * sysdeps/htl/sem-open.c: Likewise.
12523 * sysdeps/htl/sem-post.c: Likewise.
12524 * sysdeps/htl/sem-timedwait.c: Likewise.
12525 * sysdeps/htl/sem-trywait.c: Likewise.
12526 * sysdeps/htl/sem-unlink.c: Likewise.
12527 * sysdeps/htl/sem-wait.c: Likewise.
12528 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12529 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12530 * sysdeps/mach/htl/pt-block.c: Likewise.
12531 * sysdeps/mach/htl/pt-spin.c: Likewise.
12532 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12533 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12534 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12535 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12536 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12537 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12538 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12539 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12540 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12541 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12542 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12543 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12544 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12545 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12546 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12547 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12548 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12549 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12550 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12551 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12552 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12553 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12554 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12555 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12556 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12557 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12558 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12559 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12560 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12561 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12562 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12563 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12564 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12565 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12566 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12567 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12568 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12569 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12570 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12571 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12572 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12573 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12574 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12576 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12577 * README: Remove the mention of out-of-tree patches needed for
12580 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12581 (UTIME_NOW, UTIME_OMIT): Define macros.
12583 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12584 instead of pthread_detach.
12585 (__cthread_fork): Call __pthread_create instead of pthread_create.
12586 (__cthread_keycreate): Call __pthread_key_create instead of
12587 pthread_key_create.
12588 (__cthread_getspecific): Call __pthread_getspecific instead of
12589 pthread_getspecific.
12590 (__cthread_setspecific): Call __pthread_setspecific instead of
12591 pthread_setspecific.
12592 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12593 __pthread_mutex_unlock instead of pthread_mutex_lock and
12594 pthread_mutex_unlock.
12595 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12596 ___pthread_get_cleanup_stack.
12597 (__pthread_get_cleanup_stack): New strong alias.
12598 * htl/pt-create.c: Include <pthreadP.h>.
12599 (entry_point): Call __pthread_exit instead of pthread_exit.
12600 (pthread_create): Rename to __pthread_create.
12601 (pthread_create): New strong alias.
12602 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12603 (pthread_detach): New strong alias.
12604 (__pthread_detach): Call __pthread_cond_broadcast instead of
12605 pthread_cond_broadcast.
12606 * htl/pt-exit.c: Include <pthreadP.h>.
12607 (__pthread_exit): Call __pthread_setcancelstate and
12608 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12609 __pthread_get_cleanup_stack.
12610 * htl/pt-testcancel.c: Include <pthreadP.h>.
12611 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12612 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12613 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12614 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12615 pthread_attr_getstacksize.
12616 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12617 Rename to __pthread_attr_getstackaddr.
12618 (pthread_attr_getstackaddr): New strong alias.
12619 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12620 Rename to __pthread_attr_getstacksize.
12621 (pthread_attr_getstacksize): New strong alias.
12622 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12623 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12624 (pthread_attr_setstack): New strong alias.
12625 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12626 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12627 pthread_attr_getstacksize, pthread_attr_setstacksize and
12628 pthread_attr_setstackaddr.
12629 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12630 Rename to __pthread_attr_setstackaddr.
12631 (pthread_attr_setstackaddr): New strong alias.
12632 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12633 Rename to __pthread_attr_setstacksize.
12634 (pthread_attr_setstacksize): New strong alias.
12635 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12636 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12638 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12639 (__pthread_key_create): New hidden def.
12640 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12641 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12642 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12643 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12644 __pthread_setspecific, __pthread_setcancelstate,
12645 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12646 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12647 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12649 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12650 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12651 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12652 (pthread_attr_setstackaddr): New strong alias.
12653 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12654 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12655 (pthread_attr_setstacksize): New strong alias.
12656 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12657 (call_exit): Call __pthread_exit instead of pthread_exit.
12658 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12659 (_pthread_mutex_init): New hidden definition.
12660 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12661 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12662 instead of pthread_attr_init and pthread_attr_setstack.
12664 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12665 __vm_deallocate instead of vm_allocate and vm_deallocate.
12666 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12668 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12670 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12672 * hurd/siginfo.c: Include <libioP.h>.
12673 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12674 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12676 * mach/devstream.c: Include <libioP.h>.
12677 (dealloc_ref): Call __mach_port_deallocate instead of
12678 mach_port_deallocate.
12679 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12680 Call __mach_port_deallocate instead of mach_port_deallocate.
12681 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12683 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12685 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12686 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12687 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12689 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12691 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12692 instead of sysconf.
12693 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12694 __clock_gettime instead of clock_gettime.
12695 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12696 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12697 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12698 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12699 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12701 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12702 __clock_gettime and __nanosleep instead of clock_gettime and
12704 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12705 __hurd_catch_signal.
12706 (hurd_catch_signal): New strong alias.
12707 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12708 __hurd_catch_signal instead of hurd_catch_signal.
12709 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12710 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12711 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12712 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12713 (_hurd_thread_sigstate): Add hidden def.
12714 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12716 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12717 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12718 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12719 __hurd_file_name_path_lookup.
12720 (hurd_file_name_path_lookup): New strong alias.
12721 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12722 hurd_file_name_path_lookup.
12723 * mach/errstring.c (mach_error_type): Add hidden def.
12724 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12725 * mach/mutex-init.c (__mutex_init): Add hidden def.
12726 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12727 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12728 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12729 * sysdeps/mach/hurd/getcwd.c
12730 (_hurd_canonicalize_directory_name_internal): Rename to
12731 __hurd_canonicalize_directory_name_internal.
12732 (_hurd_canonicalize_directory_name_internal): New strong alias.
12733 (__canonicalize_directory_name_internal, __getcwd): Call
12734 __hurd_canonicalize_directory_name_internal instead of
12735 _hurd_canonicalize_directory_name_internal.
12736 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12737 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12739 * sysdeps/hurd/include/hurd.h: New file.
12740 * sysdeps/hurd/include/hurd/fd.h: New file.
12741 * sysdeps/hurd/include/hurd/signal.h: New file.
12742 * sysdeps/mach/include/lock-intern.h: New file.
12743 * sysdeps/mach/include/mach.h: New file.
12744 * sysdeps/mach/include/mach/mig_support.h: New file.
12745 * sysdeps/mach/include/mach_error.h: New file.
12746 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12748 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12749 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12750 _HEADER_H_HIDDEN_DEF macro.
12751 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12752 _hurd_fd_error_signal): Add hidden prototype.
12753 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12755 * libio/iolibio.h (_IO_puts): New hidden prototype.
12756 * libio/ioputs.c (_IO_puts): New hidden def.
12757 * sysdeps/mach/hurd/localplt.data: New file.
12759 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12760 Amos Jeffries <squid3@treenet.co.nz>
12761 David Michael <fedora.dm0@gmail.com>
12762 Marco Gerards <marco@gnu.org>
12763 Marcus Brinkmann <marcus@gnu.org>
12764 Neal H. Walfield <neal@gnu.org>
12765 Pino Toscano <toscano.pino@tiscali.it>
12766 Richard Braun <rbraun@sceen.net>
12767 Roland McGrath <roland@gnu.org>
12768 Samuel Thibault <samuel.thibault@ens-lyon.org>
12769 Thomas DiModica <ricinwich@yahoo.com>
12770 Thomas Schwinge <tschwinge@gnu.org>
12772 * htl: New directory.
12773 * sysdeps/htl: New directory.
12774 * sysdeps/hurd/htl: New directory.
12775 * sysdeps/i386/htl: New directory.
12776 * sysdeps/mach/htl: New directory.
12777 * sysdeps/mach/hurd/htl: New directory.
12778 * sysdeps/mach/hurd/i386/htl: New directory.
12779 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12780 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12781 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12783 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12785 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12786 signals in thread created for runing timers.
12788 2018-04-01 Florian Weimer <fweimer@redhat.com>
12790 * support/support_format_addrinfo.c (support_format_addrinfo):
12791 Include unknown error number in formatted result.
12793 2018-03-29 Florian Weimer <fweimer@redhat.com>
12795 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12798 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12800 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12801 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12802 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12803 (__ASSUME_CLONE_BACKWARDS): Define.
12805 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12808 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12809 early when linux sentinel value is set.
12811 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12813 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12815 2018-03-27 Andreas Schwab <schwab@suse.de>
12818 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12819 allocation of private copy of nsaddr_list fails.
12821 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12824 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12825 * sysdeps/unix/sysv/linux/umount.c: ... here.
12826 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12827 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12828 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12829 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12831 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12832 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12834 2018-03-26 Andreas Schwab <schwab@suse.de>
12836 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12837 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12838 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12839 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12840 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12841 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12842 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12843 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12844 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12845 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12846 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12847 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12848 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12849 (R_RISCV_NUM): Define.
12851 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12853 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12854 TLS declaration of errno.
12855 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12857 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12858 (ARCH_SETUP_TLS): Likewise.
12859 * sysdeps/mach/hurd/libc-start.h: New file copied from
12860 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12861 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12862 instead of __libc_setup_tls.
12863 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12864 __libc_setup_tls before initializing libpthread and running _hurd_init
12865 which starts the signal thread.
12866 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12868 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12870 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12873 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12874 after it is defined.
12876 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12877 Max Horn <max@quendi.de>
12881 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12883 * string/test-memmove.c (do_test2): New testcase.
12885 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12887 * sysdeps/generic/frame.h: Remove file.
12888 * sysdeps/arm/frame.h: Likewise.
12889 * sysdeps/hppa/frame.h: Likewise.
12890 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12892 (GET_FRAME): Likewise.
12893 (GET_STACK): Likewise.
12894 (CALL_SIGHANDLER): Likewise.
12895 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12897 (GET_FRAME): Likewise.
12898 (GET_STACK): Likewise.
12899 (CALL_SIGHANDLER): Likewise.
12900 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12901 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12902 (GET_FRAME): Likewise.
12903 (GET_STACK): Likewise.
12904 (CALL_SIGHANDLER): Likewise.
12905 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12906 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12907 (GET_FRAME): Likewise.
12908 (GET_STACK): Likewise.
12909 (ADVANCE_STACK_FRAME): Likewise.
12910 (CALL_SIGHANDLER): Likewise.
12911 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12912 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12913 (GET_FRAME): Likewise.
12914 (GET_STACK): Likewise.
12915 (CALL_SIGHANDLER): Likewise.
12916 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12917 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12918 (GET_FRAME): Likewise.
12919 (GET_STACK): Likewise.
12920 (CALL_SIGHANDLER): Likewise.
12921 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12922 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12923 (GET_FRAME): Likewise.
12924 (GET_STACK): Likewise.
12925 (CALL_SIGHANDLER): Likewise.
12926 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12927 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12928 (GET_FRAME): Likewise.
12929 (GET_STACK): Likewise.
12930 (CALL_SIGHANDLER): Likewise.
12931 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12932 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12933 (GET_FRAME): Likewise.
12934 (GET_STACK): Likewise.
12935 (CALL_SIGHANDLER): Likewise.
12936 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12937 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12938 (GET_FRAME): Likewise.
12939 (GET_STACK): Likewise.
12940 (CALL_SIGHANDLER): Likewise.
12941 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12942 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12943 (GET_FRAME): Likewise.
12944 (GET_STACK): Likewise.
12945 (CALL_SIGHANDLER): Likewise.
12946 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12947 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12948 (GET_FRAME): Likewise.
12949 (GET_STACK): Likewise.
12950 (CALL_SIGHANDLER): Likewise.
12951 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12952 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12953 (GET_FRAME): Likewise.
12954 (GET_STACK): Likewise.
12955 (CALL_SIGHANDLER): Likewise.
12956 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12957 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12958 (FIRST_FRAME_POINTER): Likewise.
12959 (ADVANCE_STACK_FRAME): Likewise.
12960 (GET_STACK): Likewise.
12961 (GET_FRAME): Likewise.
12962 (CALL_SIGHANDLER): Likewise.
12963 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
12964 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12965 (ADVANCE_STACK_FRAME): Likewise.
12966 (GET_STACK): Likewise.
12967 (GET_FRAME): Likewise.
12968 (CALL_SIGHANDLER): Likewise.
12969 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
12970 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12971 (GET_FRAME): Likewise.
12972 (GET_STACK): Likewise.
12973 (CALL_SIGHANDLER): Likewise.
12974 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
12975 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12976 (GET_FRAME): Likewise.
12977 (GET_STACK): Likewise.
12978 (CALL_SIGHANDLER): Likewise.
12980 2018-03-21 Joseph Myers <joseph@codesourcery.com>
12982 * sysdeps/x86_64/backtrace.c: Move to ....
12983 * debug/backtrace.c: ... here.
12984 * sysdeps/aarch64/backtrace.c: Remove file.
12985 * sysdeps/alpha/backtrace.c: Likewise.
12986 * sysdeps/hppa/backtrace.c: Likewise.
12987 * sysdeps/ia64/backtrace.c: Likewise.
12988 * sysdeps/mips/backtrace.c: Likewise.
12989 * sysdeps/nios2/backtrace.c: Likewise.
12990 * sysdeps/riscv/backtrace.c: Likewise.
12991 * sysdeps/sh/backtrace.c: Likewise.
12992 * sysdeps/tile/backtrace.c: Likewise.
12994 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12997 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13000 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13003 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13004 possibly overflowing computations.
13006 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13008 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13009 values from Linux-specific section now that it is in the GNU section.
13010 * sysdeps/gnu/errlist.c: Regenerate.
13012 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13014 * math/Makefile (libm-narrow-fns): Add sub.
13015 (libm-test-funcs-narrow): Likewise.
13016 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13017 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13018 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13019 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13020 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13021 (NARROW_SUB_TRIVIAL): Likewise.
13022 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13024 (__dsubl): Likewise.
13025 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13027 (CFLAGS-nldbl-dsub.c): New variable.
13028 (CFLAGS-nldbl-fsub.c): Likewise.
13029 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13031 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13033 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13034 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13035 * math/auto-libm-test-in: Add tests of sub.
13036 * math/auto-libm-test-out-narrow-sub: New generated file.
13037 * math/libm-test-narrow-sub.inc: New file.
13038 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13039 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13040 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13041 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13042 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13043 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13044 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13045 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13046 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13047 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13048 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13049 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13050 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13051 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13052 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13053 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13054 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13055 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13057 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13058 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13059 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13060 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13061 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13062 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13063 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13064 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13065 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13066 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13067 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13068 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13069 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13074 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13075 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13076 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13077 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13078 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13079 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13080 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13081 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13082 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13083 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13085 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13088 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13090 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13092 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13094 2018-03-18 Richard Braun <rbraun@sceen.net>
13096 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13099 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13101 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13102 (__libc_cleanup_fct): Define function.
13103 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13104 __libc_cleanup_end): Rewrite implementation using
13105 __attribute__ ((__cleanup__)).
13106 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13107 * hurd/Makefile (routines): Add hurdlock.
13108 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13110 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13111 * hurd/hurdpid.c: Include <lowlevellock.h>
13112 (_S_msg_proc_newids): Use lll_wait to synchronize.
13113 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13114 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13115 * mach/Makefile (lock-headers): Remove machine-lock.h.
13116 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13118 (__spin_lock_t): New type.
13119 (__SPIN_LOCK_INITIALIZER): New macro.
13120 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13121 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13122 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13123 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13124 (__mutex_init): Initialize with lll.
13125 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13126 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13128 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13129 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13130 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13131 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13132 (__setpgid): Use lll for synchronization.
13133 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13134 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13135 instead of <cthreads.h>.
13136 (_IO_lock_inexpensive): New macro
13137 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13138 (__libc_lock_self0): New declaration.
13139 (__libc_lock_owner_self): New macro.
13140 (__libc_key_t): Remove type.
13141 (_LIBC_LOCK_INITIALIZER): New macro.
13142 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13143 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13144 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13145 __libc_lock_define_initialized_recursive,
13146 __rtld_lock_define_initialized_recursive,
13147 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13148 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13149 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13150 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13151 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13152 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13153 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13155 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13156 * hurd/hurdlock.c: New file.
13157 * hurd/hurdlock.h: New file.
13158 * mach/lowlevellock.h: New file
13160 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13162 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13163 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13164 when opening a symlink with O_NOFOLLOW.
13165 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13166 path when flags contains O_NOFOLLOW.
13167 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13168 if flags contains O_DIRECTORY and the result is a directory.
13169 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13170 oneself when the pointer given in D is nul (as set by ext2fs).
13171 * sysdeps/mach/hurd/mlockall.c: New file.
13172 * sysdeps/mach/hurd/munlockall.c: New file.
13174 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13176 * hurd/hurdsig.c: Include <pthread.h>.
13177 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13178 get the signal thread stack layout.
13179 * hurd/Makefile (headers): Remove threadvar.h.
13180 (inline-headers): Remove threadvar.h.
13181 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13182 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13183 __hurd_threadvar_max, __hurd_errno_location.
13184 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13185 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13186 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13187 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13188 unless TLS is not initialized yet, in which case we do not need a
13189 critical section yet anyway.
13190 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13192 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13194 (__hurd_threadvar_index): Remove enum.
13195 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13196 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13198 (__hurd_reply_port0): New variable declaration.
13199 (__hurd_local_reply_port): New macro.
13200 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13201 (interrupted_reply_port_location): Add thread_t parameter. Use it
13202 with THREAD_TCB to access thread-local variables.
13203 (_hurdsig_abort_rpcs): Pass ss->thread to
13204 interrupted_reply_port_location.
13205 (_hurd_internal_post_signal): Likewise.
13206 (_hurdsig_init): Use presence of cthread_fork instead of
13207 __hurd_threadvar_stack_mask to start signal thread by hand.
13208 Remove signal thread threadvar initialization.
13209 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13210 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13211 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13213 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13215 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13216 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13217 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13218 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13219 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13220 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13221 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13223 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13224 <hurd/threadvar.h>.
13225 [IS_IN(rtld)] (rtld_errno): New variable.
13226 [IS_IN(rtld)] (__errno_location): New weak function.
13227 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13228 * sysdeps/mach/hurd/errno.c: Remove file.
13229 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13230 (__fork): Remove THREADVAR_SPACE macro and its use.
13231 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13233 (init): Do not initialize threadvar.
13234 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13236 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13237 __hurd_local_reply_port instead of threadvar.
13238 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13239 _hurd_sigstate fields.
13240 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13241 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13242 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13243 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13244 instead of threadvar.
13245 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13246 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13247 (use_threadvar, global_reply_port): Remove variables.
13248 (__hurd_reply_port0): New variable.
13249 (__mig_get_reply_port): Use __hurd_local_reply_port and
13250 __hurd_reply_port0 instead of threadvar.
13251 (__mig_dealloc_reply_port): Likewise.
13252 (__mig_init): Do not initialize threadvar.
13253 * sysdeps/mach/hurd/profil.c: Fix comment.
13254 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13255 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13256 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13257 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13258 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13259 __cthread_setspecific.
13260 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13261 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13262 __cthread_t instead of cthread_fork, cthread_detach,
13263 pthread_getattr_np, pthread_attr_getstack.
13264 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13265 __cthread_keycreate.
13266 (cthread_getspecific): Rename to __cthread_getspecific.
13267 (cthread_setspecific): Rename to __cthread_setspecific.
13268 (__libc_getspecific): Use __cthread_getspecific instead of
13269 cthread_getspecific.
13270 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13271 __cthread_keycreate instead of cthread_keycreate.
13272 (__libc_setspecific): Use __cthread_setspecific instead of
13273 cthread_setspecific.
13274 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13277 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13278 testing whether it is defined.
13280 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13282 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13284 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13285 * sysdeps/mach/i386/thread_state.h
13286 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13288 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13290 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13292 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13293 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13295 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13297 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13298 descriptor instead of creating a new one.
13299 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13301 * mach/setup-thread.c: Include <ldsodefs.h>.
13302 (__mach_setup_thread): Call _dl_allocate_tls, pass
13303 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13304 MACHINE_THREAD_STATE_FLAVOR, before getting
13305 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13306 MACHINE_THREAD_STATE_FLAVOR with the result.
13307 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13308 MACHINE_THREAD_STATE_FIX_NEW.
13309 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13310 too. Add original thread parameter.
13312 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13314 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13315 Remove inline function.
13317 * sysdeps/i386/fpu/libm-test-ulps: Update.
13318 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13320 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13322 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13325 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13327 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13328 (__sincos_code): Remove define and undefine.
13329 [__FAST_MATH__] (__sincos): Remove inline function.
13330 [__FAST_MATH__] (__sincosf): Remove inline function.
13331 [__FAST_MATH__] (__sincosl): Remove inline function.
13332 (__atan2l): Remove inline functions.
13333 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13334 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13336 (floor): Remove inline function.
13338 [__FAST_MATH__] (__ldexp_code): Remove macro.
13339 [__FAST_MATH__] (ldexp): Remove inline function.
13340 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13341 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13342 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13343 [__USE_ISOC99] (__lrint_code): Remove macro.
13344 [__USE_ISOC99] (__llrint_code): Likewise.
13345 [__USE_ISOC99] (lrintf): Remove inline function.
13346 [__USE_ISOC99] (lrint): Likewise.
13347 [__USE_ISOC99] (lrintl): Likewise.
13348 [__USE_ISOC99] (llrint): Likewise.
13349 [__USE_ISOC99] (llrintf): Likewise.
13350 [__USE_ISOC99] (llrintl): Likewise.
13352 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13354 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13355 (__ieee754_sqrtf): Remove.
13356 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13357 (__ieee754_sqrtf): Remove.
13358 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13359 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13360 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13361 (__ieee754_sqrtf): Remove.
13362 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13363 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13366 (__ieee754_sqrt): Remove.
13367 (__ieee754_sqrtf): Remove.
13368 (__ieee754_sqrtl): Remove.
13369 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13370 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13371 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13372 (__ieee754_sqrtf): Remove.
13373 (__ieee754_sqrtl): Remove.
13375 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13377 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13378 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13379 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13380 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13381 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13382 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13383 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13384 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13386 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13387 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13388 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13389 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13390 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13391 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13392 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13393 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13394 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13395 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13396 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13397 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13398 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13399 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13400 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13401 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13402 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13403 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13404 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13405 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13406 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13407 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13408 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13409 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13410 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13411 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13412 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13413 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13414 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13415 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13416 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13417 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13418 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13419 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13420 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13421 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13422 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13423 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13424 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13425 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13427 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13429 * include/math.h (sqrt): Declare with asm redirect.
13432 (sqrtf128): Likewise.
13433 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13434 nonlib and libnldbl with -fmath-errno.
13435 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13436 * math/w_sqrt_template.c: Likewise.
13437 * math/w_sqrtf_compat.c: Likewise.
13438 * math/w_sqrtl_compat.c: Likewise.
13439 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13440 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13441 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13444 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13446 * benchtests/Makefile: Define _ISOMAC.
13447 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13448 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13449 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13450 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13451 * benchtests/bench-timing.h: Define attribute_hidden.
13453 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13455 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13458 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13461 * localedata/locales/cs_CZ (mon): Rename to...
13463 (mon): Import from CLDR (genitive case).
13465 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13468 * localedata/locales/el_CY (abmon): Rename to...
13469 (ab_alt_mon): This.
13470 (abmon): Import from CLDR (abbreviated genitive case).
13471 * localedata/locales/el_GR (abmon): Rename to...
13472 (ab_alt_mon): This.
13473 (abmon): Import from CLDR (abbreviated genitive case).
13475 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13478 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13480 2018-03-15 Robert Buj <robert.buj@gmail.com>
13483 * localedata/locales/ca_ES (abmon): Rename to...
13484 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13485 (mon): Rename to...
13487 (abmon): Import from CLDR (genitive case, month names preceded by
13490 (abday): Synchronize with CLDR.
13491 (d_t_fmt): Likewise.
13495 (LC_TIME): Improve indentation.
13496 (LC_TELEPHONE): Likewise.
13497 (LC_NAME): Likewise.
13498 (LC_ADDRESS): Likewise.
13500 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13502 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13503 (lrintf): Remove definitions used only with old GCC.
13504 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13505 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13506 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13507 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13508 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13509 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13510 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13511 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13512 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13513 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13514 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13515 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13516 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13517 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13518 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13519 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13520 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13521 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13522 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13523 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13524 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13525 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13526 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13527 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13528 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13529 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13530 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13531 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13533 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13535 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13536 instruction to unbreak builds with binutils 2.26 and older.
13538 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13540 * sysdeps/aarch64/strncmp.S (count): New macro.
13541 (strncmp): Store misaligned length in SRC1 in COUNT.
13542 (mutual_align): Adjust.
13543 (misaligned8): Load dword at a time when it is safe.
13545 2018-03-12 Zack Weinberg <zackw@panix.com>
13549 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13550 if the _IO_EOF_SEEN bit is already set; update commentary.
13551 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13552 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13554 * support/support_openpty.c, support/tty.h: New files.
13555 * support/Makefile (libsupport-routines): Add support_openpty.
13557 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13559 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13560 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13562 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13564 * po/pt_BR.po: Update translations.
13566 2018-03-12 David Michael <fedora.dm0@gmail.com>
13568 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13569 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13570 get a port to the startup server.
13572 2018-03-11 Zack Weinberg <zackw@panix.com>
13574 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13575 before nldbl-compat.h.
13577 2018-03-10 Zack Weinberg <zackw@panix.com>
13579 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13580 math.h or math_private.h.
13582 * sysdeps/alpha/fpu/s_isnan.c
13583 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13584 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13585 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13586 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13587 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13588 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13589 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13590 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13591 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13594 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13595 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13596 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13597 Include math_private.h.
13599 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13600 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13601 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13602 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13603 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13604 * sysdeps/powerpc/power7/fpu/s_logb.c:
13605 Include math.h and math_private.h.
13607 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13608 uses of $at in .set noat / .set at.
13610 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13612 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13613 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13614 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13615 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13618 2018-03-09 Florian Weimer <fweimer@redhat.com>
13620 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13623 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13626 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13627 Add nop before __startcontext, add explaining comments.
13629 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13632 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13634 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13635 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13636 Do not build hardware transactional code for __SPE__.
13637 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13638 (__lll_trylock_elision): Likewise.
13639 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13640 (__lll_unlock_elision): Likewise.
13642 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13643 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13644 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13645 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13646 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13647 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13648 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13649 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13650 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13651 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13652 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13653 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13654 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13655 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13656 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13657 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13658 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13659 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13660 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13661 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13662 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13663 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13664 (__ASSUME_CLONE_BACKWARDS): Define.
13665 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13666 __clone2 if __NR_clone2 is defined.
13667 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13668 (__ASSUME_CLONE_BACKWARDS): Likewise.
13669 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13670 (__ASSUME_CLONE_BACKWARDS): Likewise.
13671 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13672 (__ASSUME_CLONE2): Likewise.
13673 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13674 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13675 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13676 variants and the define architecture can use.
13677 (__ASSUME_CLONE_DEFAULT): Define as default.
13678 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13679 (__ASSUME_CLONE_BACKWARDS): Likewise.
13680 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13681 (__ASSUME_CLONE_BACKWARDS): Likewise.
13682 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13683 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13685 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13687 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13689 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13692 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13693 (do_test_limit): Likewise.
13695 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13696 for every implementation.
13697 (do_test): Likewise.
13699 * benchtests/bench-strncmp.c: Convert output to json.
13701 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13703 * io/futimens.c: Add missing start-of-file descriptive comment.
13704 * io/utime.c: Likewise.
13705 * misc/futimesat.c: Likewise.
13706 * misc/utimes.c: Likewise.
13707 * sysdeps/mach/hurd/futimesat.c: Likewise.
13708 * sysdeps/mach/hurd/utimes.c: Likewise.
13709 * sysdeps/posix/utime.c: Likewise.
13710 * sysdeps/posix/utimes.c: Likewise.
13711 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13712 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13713 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13714 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13716 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13718 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13720 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13721 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13722 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13723 (__futimens): Move implementation to...
13724 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13725 utime_tvalue_from_tspec): ... new helper functions.
13726 (hurd_futimens): New function.
13727 * sysdeps/mach/hurd/futimesat.c: New file.
13728 * sysdeps/mach/hurd/utimensat.c: New file.
13730 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13732 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13733 UTIME_OMIT): New macros.
13734 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13735 before reverting to converting time spec to time value and calling
13737 * sysdeps/mach/hurd/utime-helper.c: New file.
13738 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13739 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13740 reverting to utime_tvalue_from_tval and __file_utimes.
13741 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13742 (__lutimes): Just call hurd_futimens after lookup.
13743 * sysdeps/mach/hurd/utimes.c: Likewise.
13745 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13747 * bits/sigaction.h: Add include guard.
13748 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13749 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13750 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13751 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13752 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13753 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13754 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13755 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13756 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13758 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13760 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13761 -Wmaybe-uninitialized for -Os.
13762 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13765 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13767 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13768 __INO_T_MATCHES_INO64_T is defined.
13769 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13770 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13772 * dirent/alphasort64.c: Likewise.
13773 * dirent/scandir.c: Likewise.
13774 * dirent/scandir64-tail.c: Likewise.
13775 * dirent/scandir64.c: Likewise.
13776 * dirent/scandirat.c: Likewise.
13777 * dirent/scandirat64.c: Likewise.
13778 * dirent/versionsort.c: Likewise.
13779 * dirent/versionsort64.c: Likewise.
13780 * include/dirent.h: Likewise.
13782 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13783 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13784 for socketpair endpoint.
13785 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13786 WRITE_BUFFER_SIZE as buffer size for sending socket.
13787 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13788 issue on system where send is implemented with sendto syscall.
13789 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13790 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13791 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13792 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13795 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13796 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13797 sa_restorer for vDSO case.
13798 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13800 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13802 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13803 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13804 * hurd/hurd/ioctl.h: Include <mach/port.h>
13805 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13806 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13807 <mach/mach_types.h> and <mach/message.h>.
13808 (headers): Move mach/param.h to bits/mach/param.h.
13809 * sysdeps/mach/i386/mach/param.h: Move file to ...
13810 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13811 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13813 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13814 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13815 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13816 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13817 trivial, for C++ conformity.
13818 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13819 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13820 Process mig output through $(migheadersed).
13821 * hurd/Makefile (migheadersed): Define variable.
13822 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13823 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13825 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13826 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13827 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13828 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13829 <bits/types/sigset_t.h>.
13830 [!defined __USE_GNU]: Do not #error out.
13831 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13832 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13833 Include <stddef.h> and <bits/types/sigset_t.h>
13834 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13835 instead of sighandler_t.
13836 * stdlib/errno.h (error_t): Move definition to...
13837 * bits/types/error_t.h: ... new header.
13838 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13839 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13840 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13841 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13842 * hurd/hurd.h: Include <bits/types/error_t.h>
13843 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13844 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13845 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13846 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13847 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13848 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13849 * sysdeps/mach/hurd/futimens.c: New file.
13851 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13854 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13855 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13856 * nscd/gai.c (__nss_hosts_database): Readd definition.
13857 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13858 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13859 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13861 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13863 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13864 (ifunc_one): Likewise.
13866 2018-03-01 DJ Delorie <dj@delorie.com>
13869 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13872 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13874 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13875 `match_pid' parameter.
13876 (td_ta_thr_iter): Update accordingly.
13878 2018-03-01 Florian Weimer <fweimer@redhat.com>
13880 * nptl/Makefile (install-lib-ldscripts): Remove.
13881 (install): Remove rule.
13882 ($(inst_libdir)/libpthread.so): Likewise.
13884 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13887 * localedata/locales/an_ES: update month and day names,
13888 improve d_fmt, improve postal_fmt, add country_post,
13891 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13893 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13894 Ukrainian instead of Bulgarian.
13896 2018-03-01 Florian Weimer <fweimer@redhat.com>
13898 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13901 2018-03-01 Florian Weimer <fweimer@redhat.com>
13903 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13904 * nptl/Makefile (routines): Add pthread_atfork.
13905 (static-only-routines): Set to pthread_atfork.
13906 (libpthread-routines): Remove pthread_atfork.
13907 (libpthread-static-only-routines): Remove.
13908 (install): Update comment.
13909 (libpthread.so): Do not install libpthread_nonshared.a.
13910 (tests): Do not link with libpthread_nonshared.a.
13911 (generated): Remove libpthread_nonshared.a.
13912 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13913 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13914 with libpthread_nonshared.a.
13916 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13919 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13920 (libc_feholdexcept_setroundf128): New macro.
13921 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13924 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13926 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13927 * include/inttypes.h: New file.
13929 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13931 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13932 -Os in two more places.
13934 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13936 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13937 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13938 be sorted correctly at the moment because of a bug.
13940 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13942 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13943 treat ñ as a primary different character, sync the collation
13944 for Spanish with CLDR.
13945 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13946 * localedata/Makefile: Add new test files.
13947 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13948 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13950 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13951 * localedata/am_ET.UTF-8.in: New test file.
13952 * localedata/az_AZ.UTF-8.in: Likewise.
13953 * localedata/be_BY.UTF-8.in: Likewise.
13954 * localedata/ber_DZ.UTF-8.in: Likewise.
13955 * localedata/ber_MA.UTF-8.in: Likewise.
13956 * localedata/bg_BG.UTF-8.in: Likewise.
13957 * localedata/br_FR.UTF-8.in: Likewise.
13958 * localedata/cmn_TW.UTF-8.in: Likewise.
13959 * localedata/crh_UA.UTF-8.in: Likewise.
13960 * localedata/csb_PL.UTF-8.in: Likewise.
13961 * localedata/cv_RU.UTF-8.in: Likewise.
13962 * localedata/cy_GB.UTF-8.in: Likewise.
13963 * localedata/dz_BT.UTF-8.in: Likewise.
13964 * localedata/eo.UTF-8.in: Likewise.
13965 * localedata/es_ES.UTF-8.in: Likewise.
13966 * localedata/fa_IR.UTF-8.in: Likewise.
13967 * localedata/fi_FI.UTF-8.in: Likewise.
13968 * localedata/fil_PH.UTF-8.in: Likewise.
13969 * localedata/fur_IT.UTF-8.in: Likewise.
13970 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
13971 * localedata/ha_NG.UTF-8.in: Likewise.
13972 * localedata/ig_NG.UTF-8.in: Likewise.
13973 * localedata/ik_CA.UTF-8.in: Likewise.
13974 * localedata/kk_KZ.UTF-8.in: Likewise.
13975 * localedata/ku_TR.UTF-8.in: Likewise.
13976 * localedata/ky_KG.UTF-8.in: Likewise.
13977 * localedata/ln_CD.UTF-8.in: Likewise.
13978 * localedata/mi_NZ.UTF-8.in: Likewise.
13979 * localedata/ml_IN.UTF-8.in: Likewise.
13980 * localedata/mn_MN.UTF-8.in: Likewise.
13981 * localedata/mr_IN.UTF-8.in: Likewise.
13982 * localedata/mt_MT.UTF-8.in: Likewise.
13983 * localedata/nb_NO.UTF-8.in: Likewise.
13984 * localedata/om_KE.UTF-8.in: Likewise.
13985 * localedata/os_RU.UTF-8.in: Likewise.
13986 * localedata/ps_AF.UTF-8.in: Likewise.
13987 * localedata/ro_RO.UTF-8.in: Likewise.
13988 * localedata/ru_RU.UTF-8.in: Likewise.
13989 * localedata/sc_IT.UTF-8.in: Likewise.
13990 * localedata/se_NO.UTF-8.in: Likewise.
13991 * localedata/sq_AL.UTF-8.in: Likewise.
13992 * localedata/sv_SE.UTF-8.in: Likewise.
13993 * localedata/szl_PL.UTF-8.in: Likewise.
13994 * localedata/tg_TJ.UTF-8.in: Likewise.
13995 * localedata/tk_TM.UTF-8.in: Likewise.
13996 * localedata/tt_RU.UTF-8.in: Likewise.
13997 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
13998 * localedata/ug_CN.UTF-8.in: Likewise.
13999 * localedata/uz_UZ.UTF-8.in: Likewise.
14000 * localedata/vi_VN.UTF-8.in: Likewise.
14001 * localedata/yi_US.UTF-8.in: Likewise.
14002 * localedata/yo_NG.UTF-8.in: Likewise.
14003 * localedata/zh_CN.UTF-8.in: Likewise.
14004 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14005 file and fix bugs in the collation.
14006 * localedata/locales/az_AZ: Likewise.
14007 * localedata/locales/be_BY: Likewise.
14008 * localedata/locales/ber_DZ: Likewise.
14009 * localedata/locales/ber_MA: Likewise.
14010 * localedata/locales/bg_BG: Likewise.
14011 * localedata/locales/br_FR: Likewise.
14012 * localedata/locales/br_FR@euro: Likewise.
14013 * localedata/locales/ca_ES: Likewise.
14014 * localedata/locales/cns11643_stroke: Likewise.
14015 * localedata/locales/crh_UA: Likewise.
14016 * localedata/locales/cs_CZ: Likewise.
14017 * localedata/locales/csb_PL: Likewise.
14018 * localedata/locales/cv_RU: Likewise.
14019 * localedata/locales/cy_GB: Likewise.
14020 * localedata/locales/da_DK: Likewise.
14021 * localedata/locales/dz_BT: Likewise.
14022 * localedata/locales/en_CA: Likewise.
14023 * localedata/locales/eo: Likewise.
14024 * localedata/locales/es_CU: Likewise.
14025 * localedata/locales/es_EC: Likewise.
14026 * localedata/locales/es_ES: Likewise.
14027 * localedata/locales/es_US: Likewise.
14028 * localedata/locales/et_EE: Likewise.
14029 * localedata/locales/fa_IR: Likewise.
14030 * localedata/locales/fi_FI: Likewise.
14031 * localedata/locales/fil_PH: Likewise.
14032 * localedata/locales/fur_IT: Likewise.
14033 * localedata/locales/gez_ER@abegede: Likewise.
14034 * localedata/locales/ha_NG: Likewise.
14035 * localedata/locales/hr_HR: Likewise.
14036 * localedata/locales/hsb_DE: Likewise.
14037 * localedata/locales/hu_HU: Likewise.
14038 * localedata/locales/ig_NG: Likewise.
14039 * localedata/locales/ik_CA: Likewise.
14040 * localedata/locales/is_IS: Likewise.
14041 * localedata/locales/iso14651_t1_pinyin: Likewise.
14042 * localedata/locales/kk_KZ: Likewise.
14043 * localedata/locales/ku_TR: Likewise.
14044 * localedata/locales/ky_KG: Likewise.
14045 * localedata/locales/ln_CD: Likewise.
14046 * localedata/locales/lt_LT: Likewise.
14047 * localedata/locales/lv_LV: Likewise.
14048 * localedata/locales/mi_NZ: Likewise.
14049 * localedata/locales/ml_IN: Likewise.
14050 * localedata/locales/mn_MN: Likewise.
14051 * localedata/locales/mr_IN: Likewise.
14052 * localedata/locales/mt_MT: Likewise.
14053 * localedata/locales/nb_NO: Likewise.
14054 * localedata/locales/om_KE: Likewise.
14055 * localedata/locales/os_RU: Likewise.
14056 * localedata/locales/pl_PL: Likewise.
14057 * localedata/locales/ps_AF: Likewise.
14058 * localedata/locales/ro_RO: Likewise.
14059 * localedata/locales/ru_RU: Likewise.
14060 * localedata/locales/ru_UA: Likewise.
14061 * localedata/locales/sc_IT: Likewise.
14062 * localedata/locales/se_NO: Likewise.
14063 * localedata/locales/si_LK: Likewise.
14064 * localedata/locales/sq_AL: Likewise.
14065 * localedata/locales/sv_FI: Likewise.
14066 * localedata/locales/sv_FI@euro: Likewise.
14067 * localedata/locales/sv_SE: Likewise.
14068 * localedata/locales/szl_PL: Likewise.
14069 * localedata/locales/tg_TJ: Likewise.
14070 * localedata/locales/ti_ER: Likewise.
14071 * localedata/locales/tk_TM: Likewise.
14072 * localedata/locales/tl_PH: Likewise.
14073 * localedata/locales/tr_TR: Likewise.
14074 * localedata/locales/tt_RU: Likewise.
14075 * localedata/locales/tt_RU@iqtelif: Likewise.
14076 * localedata/locales/ug_CN: Likewise.
14077 * localedata/locales/uk_UA: Likewise.
14078 * localedata/locales/uz_UZ: Likewise.
14079 * localedata/locales/uz_UZ@cyrillic: Likewise.
14080 * localedata/locales/vi_VN: Likewise.
14081 * localedata/locales/yi_US: Likewise.
14082 * localedata/locales/yo_NG: Likewise.
14084 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14086 * gen-locales.mk: Make test files which contain @ modifiers in their
14088 * localedata/gen-locale.sh: Likewise.
14090 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14092 * posix/tst-fnmatch.input: Fix results for range expressions
14094 * posix/tst-regexloc.c: Do not use a range expression for
14095 de_DE.ISO-8859-1 locale.
14097 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14099 * posix/bug-regex5.c: Fix test case because with the new
14100 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14101 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14104 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14106 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14107 downloaded from ISO, the collation order of @-. and space has changed.
14108 Therefore, this test file needed to be adapted.
14109 * localedata/fr_CA.UTF-8.in: Likewise.
14110 * localedata/fr_FR.UTF-8.in: Likewise.
14111 * localedata/uk_UA.UTF-8.in: Likewise.
14113 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14115 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14116 order of ȥ in the new iso14651_t1_common file.
14117 * localedata/pl_PL.UTF-8.in: Likewise.
14119 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14121 * localedata/locales/iso14651_t1_common: Add sections for various
14122 scripts to the iso14651_t1_common file.
14124 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14126 * localedata/locales/iso14651_t1_common: Use the code point of a
14127 character in the fourth collation level instead of IGNORE for all
14128 entries which have IGNORE on all 4 levels.
14130 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14132 * localedata/locales/iso14651_t1_common: Add some convenient collation
14133 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14134 rules similar to those in CLDR.
14136 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14138 * localedata/locales/iso14651_t1_common: The new version of this
14139 file downloaded from ISO contained several syntax errors which
14140 are fixed by this patch.
14142 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14144 * localedata/locales/iso14651_t1_common: replace all <U.....>
14145 with <U000.....> because glibc understands only 4 digit or 8 digit
14147 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14149 * localedata/locales/iso14651_t1_common: Necessary changes
14150 to make the file downloaded from ISO usable by glibc.
14152 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14155 * localedata/locales/iso14651_t1_common: Update file to
14156 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14158 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14160 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14161 of <nptl/pthreadP.h>
14162 (thread_attr_compare): Move function to...
14163 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14164 * sysdeps/nptl/timer_routines.h: ... new header.
14165 * sysdeps/mach/hurd/gai_misc.h: New file.
14167 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14169 * string/strcoll_l.c: Include <libc-diag.h>.
14170 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14171 declarations of seq1 and seq2.
14174 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14175 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14177 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14181 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14182 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14183 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14184 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14185 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14186 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14188 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14190 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14191 macros used in __ptrace_request.
14193 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14196 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14198 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14199 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14200 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14203 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14206 * ctype/ctype.c (tolower): Use libc_hidden_def.
14207 (toupper): Likewise.
14208 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14209 [!_ISOMAC] (toupper): Likewise.
14211 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14213 * localedata/Makefile: Remove --quiet argument when
14216 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14219 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14221 * localedata/locales/pt_PT (LC_TIME): likewise
14223 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14226 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14227 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14228 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14230 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14234 * nptl/Makefile (routines): Remove unregister-atfork.
14235 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14236 (fork_handler_alloc): Remove function.
14237 (fork_handlers, fork_handler_init): New variables.
14238 (__fork_lock): Rename to atfork_lock.
14239 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14240 to use a dynamic array to add/remove atfork handlers.
14241 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14242 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14243 Remove declaration.
14244 (fork_handler): Remove next, refcntr, and need_signal member.
14245 (__run_fork_handler_type): New enum.
14246 (__run_fork_handlers): New prototype.
14247 * nptl/register-atfork.c: Remove file.
14248 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14250 * sysdeps/nptl/nptl-signals.h: Move to ...
14251 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14253 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14254 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14255 unnecessary check for SIGTIMER.
14256 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14257 remove unnecessary removal of SIGTIMER.
14258 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14259 include-signals.h rename.
14260 * nptl/pthreadP.h: Likewise.
14261 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14262 __is_internal_signal instead of __nptl_is_internal_signal.
14264 2018-02-22 Andrew Waterman <andrew@sifive.com>
14267 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14268 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14269 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14270 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14272 2018-02-22 DJ Delorie <dj@delorie.com>
14274 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14276 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14278 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14279 do_misaligned, not misaligned8.
14281 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14283 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14284 Add memcpy_thunderx2.
14285 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14287 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14288 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14289 and IS_THUNDERX2PA checks.
14290 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14291 Use macro to set name appropriately.
14292 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14293 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14294 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14296 (IS_THUNDERX2): New macro.
14298 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14300 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14302 2018-02-21 Zack Weinberg <zackw@panix.com>
14304 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14305 Define here, unconditionally.
14306 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14307 * libio/libioP.h: Remove #if 0 blocks.
14308 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14309 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14310 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14312 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14313 Assume weak_alias is always defined.
14315 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14316 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14317 Remove #if 0 and #ifdef TODO blocks.
14318 Assume text_set_element is always defined.
14320 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14321 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14322 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14324 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14325 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14326 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14327 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14328 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14329 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14330 Reformat bit flags for _flags field to make occupancy clearer.
14332 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14333 Keep definitions consistent with those in libio/libio.h.
14335 * libio/libio.h (_IO_file_flags): Remove macro.
14336 All uses changed to _flags.
14338 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14339 (__HAVE_COLUMN, _IO_BE): Don't define.
14340 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14341 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14342 * libio/libioP.h (EOF): Don't define.
14343 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14344 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14345 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14346 testing _IO_UNIFIED_JUMPTABLES.
14348 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14349 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14350 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14351 (_IO_size_t): Delete; all uses changed to size_t.
14352 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14353 (_IO_off_t): Delete; all uses changed to off_t.
14354 (_IO_off64_t): Delete; all uses changed to off64_t.
14355 (_IO_pid_t): Delete; all uses changed to pid_t.
14356 (_IO_uid_t): Delete; all uses changed to uid_t.
14357 (_IO_wint_t): Delete; all uses changed to wint_t.
14358 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14359 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14360 (_IO_cookie_io_functions_t): Delete; all uses changed to
14361 cookie_io_functions_t.
14362 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14363 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14364 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14365 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14367 * libio/iofopncook.c: Remove unnecessary forward declarations.
14368 * libio/iolibio.h: Correct outdated commentary.
14369 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14370 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14371 Remove unnecessary casts.
14372 * stdio-common/getline.c: Use _IO_getdelim directly.
14373 Don't redefine ssize_t.
14374 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14375 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14376 Remove outdated comments.
14377 * stdio-common/vfscanf.c: Don't redefine va_list.
14379 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14380 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14381 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14382 which are always true, and __cplusplus, which is always false.
14384 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14388 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14389 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14390 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14391 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14393 [!_ISOMAC] (putc_unlocked): Likewise.
14394 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14395 define inline if [__USE_EXTERN_INLINES].
14396 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14401 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14402 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14403 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14404 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14405 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14407 * time/tzfile.c (__tzfile_read): Likewise.
14409 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14412 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14414 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14416 * io/fcntl.h: Fix a typo in a comment.
14418 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14421 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14422 define _DEFAULT_SOURCE.
14423 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14425 2018-02-21 Florian Weimer <fweimer@redhat.com>
14428 * elf/cache.c (save_cache): Call fsync on temporary file before
14430 (save_aux_cache): Call fdatasync on temporary file before renaming
14433 2018-02-21 Florian Weimer <fweimer@redhat.com>
14436 * include/caller.h: Remove file.
14437 * elf/dl-caller.c: Likewise.
14438 * elf/Makefile (dl-routines): Remove dl-caller.
14439 (shared-only-routines): Do not add dl-caller.
14440 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14442 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14444 (dl_open_worker): Do not call __check_caller.
14445 (_dl_open): Do not set caller_dl_open member.
14446 * elf/rtld.c (_rtld_global_ro): Do not initialize
14447 _dl_check_caller member.
14448 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14449 _dl_check_caller member.
14450 (_dl_check_caller): Remove declaration.
14451 * sysdeps/unix/sysv/linux/dl-execstack.c
14452 (_dl_make_stack_executable): Do not call __check_caller.
14454 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14456 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14457 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14459 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14461 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14464 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14467 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14468 of 199606L, 200112L, and 200809L.
14469 (_XOPEN_SOURCE): Document special values of 600 and 700.
14470 (_ISOC11_SOURCE): Document macro.
14471 (_ATFILE_SOURCE): Likewise.
14472 (_FORTIFY_SOURCE): Likewise.
14474 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14478 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14479 and define as weak alias of __ferror_unlocked. Use
14481 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14483 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14484 function if [__USE_EXTERN_INLINES].
14485 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14488 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14491 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14493 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14496 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14497 the GLIBC_2.1 version.
14499 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14502 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14503 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14504 intl/tst-gettext-de.po from po/de.po by removing the
14505 POT-Creation-Date line.
14506 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14508 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14511 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14513 * mach/Makefile (headers): Add mach/param.h.
14514 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14515 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14516 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14517 (__ptsname_r): Move implementation to...
14518 (__ptsname_internal): ... new function. Add filling the STP
14521 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14523 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14526 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14528 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14531 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14533 * nptl/Makefile (tst-mutex8-ENV): Delete.
14534 * nptl/tst-mutex8.c (check_type):
14535 Add runtime check if mutex will be elided.
14537 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14541 * manual/install.texi (Configuring and compiling): Describe
14542 passing CC and CFLAGS on configure command line, not as
14543 environment variables. Use @code markup on those variables.
14544 Specify what options go in CC and what go in CFLAGS. Note the
14545 requirement to compile with optimization.
14546 * INSTALL: Regenerated.
14549 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14550 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14551 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14552 __sigprocmask instead of sigprocmask.
14553 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14555 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14556 __sigsetjmp and sigprocmask.
14559 * include/argz.h (argz_next): Use libc_hidden_proto.
14560 (__argz_next): Likewise.
14561 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14562 (argz_next): Use libc_hidden_weak.
14565 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14567 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14571 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14573 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14577 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14578 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14579 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14580 (__feof_unlocked): New declaration, and inline function if
14581 [__USE_EXTERN_INLINES].
14582 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14583 instead of feof_unlocked.
14584 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14585 * nss/nsswitch.c (nss_parse_file): Likewise.
14586 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14588 * time/getdate.c (__getdate_r): Likewise.
14589 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14590 Define as macro to call __feof_unlocked.
14592 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14594 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14596 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14598 * math/Makefile: Remove mpexp.c and mplog.c
14599 * sysdeps/i386/fpu/mpexp.c: Delete file.
14600 * sysdeps/i386/fpu/mplog.c: Likewise.
14601 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14602 * sysdeps/ia64/fpu/mplog.c: Likewise.
14603 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14604 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14605 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14606 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14607 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14608 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14609 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14610 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14611 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14612 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14613 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14614 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14615 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14616 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14617 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14618 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14620 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14622 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14624 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14626 * sysdeps/sh/libm-test-ulps: Update.
14628 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14630 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14633 2018-02-12 Zack Weinberg <zackw@panix.com>
14636 * posix/sys/types.h: Don't include sys/sysmacros.h.
14637 * misc/sys/sysmacros.h: Remove the conditional deprecation
14638 warnings for the macros defined by this header.
14640 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14642 * manual/probes.texi: Remove slowexp probes.
14643 * math/Makefile: Remove slowexp.
14644 * sysdeps/generic/math_private.h (__slowexp): Remove.
14645 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14646 document error bounds.
14647 * sysdeps/i386/fpu/slowexp.c: Remove.
14648 * sysdeps/ia64/fpu/slowexp.c: Remove.
14649 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14650 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14651 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14652 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14653 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14654 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14655 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14656 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14657 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14658 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14659 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14661 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14664 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14665 * benchtests/pow-inputs: Update comment for slow path cases.
14666 * manual/probes.texi (slowpow_p10): Delete removed probe.
14667 (slowpow_p10): Likewise.
14668 * math/Makefile: Remove halfulp.c and slowpow.c.
14669 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14670 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14671 (__halfulp): Remove.
14672 (__slowpow): Remove.
14673 * sysdeps/i386/fpu/halfulp.c: Delete file.
14674 * sysdeps/i386/fpu/slowpow.c: Likewise.
14675 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14676 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14677 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14678 improve comments and add error analysis.
14679 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14680 (power1): Remove function:
14681 (log1): Remove error argument, add error analysis.
14682 (my_log2): Remove function.
14683 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14684 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14685 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14686 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14687 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14688 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14689 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14690 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14691 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14692 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14693 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14694 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14695 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14696 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14698 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14700 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14701 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14703 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14706 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14707 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14708 and PTRACE_SETHBPREGS.
14710 2018-02-10 Zack Weinberg <zackw@panix.com>
14713 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14715 * malloc/tst-malloc-stats-cancellation.c: New test case.
14716 * malloc/Makefile: Add new test case.
14718 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14720 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14722 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14724 * math/Makefile (libm-narrow-fns): Add add.
14725 (libm-test-funcs-narrow): Likewise.
14726 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14727 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14728 * math/gen-auto-libm-tests.c (test_functions): Add add.
14729 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14730 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14731 (NARROW_ADD_TRIVIAL): Likewise.
14732 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14734 (__daddl): Likewise.
14735 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14737 (CFLAGS-nldbl-dadd.c): New variable.
14738 (CFLAGS-nldbl-fadd.c): Likewise.
14739 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14741 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14743 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14744 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14745 * math/auto-libm-test-in: Add tests of add.
14746 * math/auto-libm-test-out-narrow-add: New generated file.
14747 * math/libm-test-narrow-add.inc: New file.
14748 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14749 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14750 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14751 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14752 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14753 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14754 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14755 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14756 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14757 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14758 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14759 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14760 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14761 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14762 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14763 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14764 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14765 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14767 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14768 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14769 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14770 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14771 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14772 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14773 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14774 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14775 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14776 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14777 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14778 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14779 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14784 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14785 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14786 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14787 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14788 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14789 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14790 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14791 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14792 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14793 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14795 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14796 (f128-pairs): New variable.
14797 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14798 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14800 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14801 Also make tests add $(f128-loader-link) to gnulib-tests.
14803 2018-02-09 DJ Delorie <dj@redhat.com>
14806 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14807 64-bit ELF type for 64-bit ELF objects.
14809 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14811 * math/libm-test-driver.c (snan_tests_arg): New variable.
14812 * math/libm-test-support.h (snan_tests_arg): New declaration.
14813 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14815 * math/Makefile (test-type-pairs): New variable.
14816 (test-type-pairs-f64xf128-yes): Likewise.
14817 (tests): Add test-narrow-macros.
14818 (libm-test-funcs-narrow): New variable.
14819 (libm-test-c-narrow): Likewise.
14820 (generated): Add $(libm-test-c-narrow).
14821 (libm-tests-base-narrow): New variable.
14822 (libm-tests-narrow): Likewise.
14823 (libm-tests): Add $(libm-tests-narrow).
14824 (libm-tests-for-type): Handle $(libm-tests-narrow).
14825 (libm-test-c-narrow-obj): New variable.
14826 ($(libm-test-c-narrow-obj)): New rule.
14827 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14828 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14829 $(o-iterator) to set dependencies and CFLAGS.
14830 * math/gen-auto-libm-tests.c: Document use for narrowing
14832 (output_for_one_input_case): Take argument NARROW.
14833 (generate_output): Likewise. Update call to
14834 output_for_one_input_case.
14835 (main): Take --narrow option. Update call to generate_output.
14836 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14837 (apply_lit): Update call to _apply_lit.
14838 (apply_arglit): New function.
14839 (parse_args): Handle "a" arguments.
14840 (parse_auto_input): Handle format names using ":".
14841 * math/README.libm-test: Document "a" parameter type.
14842 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14843 (ARG_TYPE_TRUE_MIN): Likewise.
14844 (ARG_TYPE_MAX): Likwise.
14845 (ARG_MIN_EXP): Likewise.
14846 (ARG_MAX_EXP): Likewise.
14847 (ARG_MANT_DIG): Likewise.
14848 (TEST_COND_arg_ibm128): Likewise.
14849 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14850 (TEST_COND_arg_fmt): New macro.
14851 (init_max_error): Update prototype.
14852 * math/libm-test-support.c (test_ibm128): New variable.
14853 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14854 instead of using [TEST_COND_ibm128] conditional.
14855 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14856 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14857 [TEST_NARROW] (TEST_MSG): New definition.
14858 (arg_plus_zero): New macro.
14859 (arg_minus_zero): Likewise.
14860 (arg_plus_infty): Likewise.
14861 (arg_minus_infty): Likewise.
14862 (arg_qnan_value_pl): Likewise.
14863 (arg_qnan_value): Likewise.
14864 (arg_snan_value_pl): Likewise.
14865 (arg_snan_value): Likewise.
14866 (arg_max_value): Likewise.
14867 (arg_min_value): Likewise.
14868 (arg_min_subnorm_value): Likewise.
14869 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14870 (RUN_TEST_LOOP_aa_f): New macro.
14871 (TEST_SUFF): New macro.
14872 (TEST_SUFF_STR): Likewise.
14873 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14874 (TEST_COND_any_ibm128): New macro.
14875 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14876 this_func. Update call to init_max_error.
14877 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14878 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14879 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14880 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14881 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14882 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14883 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14884 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14885 * math/test-math-vector.h (TEST_NARROW): Likewise.
14886 * math/test-arg-double.h: New file.
14887 * math/test-arg-float128.h: Likewise.
14888 * math/test-arg-float32x.h: Likewise.
14889 * math/test-arg-float64.h: Likewise.
14890 * math/test-arg-float64x.h: Likewise.
14891 * math/test-arg-ldouble.h: Likewise.
14892 * math/test-math-narrow.h: Likewise.
14893 * math/test-narrow-macros.c: Likewise.
14894 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14895 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14896 test-narrow-macros-ldbl-64.
14897 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14899 * math/bits/mathcalls-narrow.h: New file.
14900 * include/bits/mathcalls-narrow.h: Likewise.
14901 * math/math-narrow.h: Likewise.
14902 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14903 (__MATHCALL_NARROW_ARGS_2): Likewise.
14904 (__MATHCALL_NARROW_ARGS_3): Likewise.
14905 (__MATHCALL_NARROW_NORMAL): Likewise.
14906 (__MATHCALL_NARROW_REDIR): Likewise.
14907 (__MATHCALL_NARROW): Likewise.
14908 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14909 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14911 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14912 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14913 (libm-narrow-fns): New variable.
14914 (libm-narrow-types-basic): Likewise.
14915 (libm-narrow-types-ldouble-yes): Likewise.
14916 (libm-narrow-types-float128-yes): Likewise.
14917 (libm-narrow-types-float128-alias-yes): Likewise.
14918 (libm-narrow-types): Likewise.
14919 (libm-routines): Add narrowing functions.
14920 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14921 (libc_feholdexcept_setroundf128): New macro.
14922 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14923 * sysdeps/ieee754/float128/float128_private.h: Include
14924 <math/math-narrow.h>.
14925 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14926 Undefine and redefine.
14927 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14928 (libm_alias_float_ldouble): Undefine and redefine.
14929 (libm_alias_double_ldouble): Likewise.
14931 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14933 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14935 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14938 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14940 * manual/creature.texi: Convert references to gcc.info to gcc.
14941 * manual/stdio.texi: Likewise.
14942 * manual/string.texi: Likewise.
14944 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14947 * posix/bits/types.h (__int_least8_t): New typedef.
14948 (__uint_least8_t): Likewise.
14949 (__int_least16_t): Likewise.
14950 (__uint_least16_t): Likewise.
14951 (__int_least32_t): Likewise.
14952 (__uint_least32_t): Likewise.
14953 (__int_least64_t): Likewise.
14954 (__uint_least64_t): Likewise.
14955 * sysdeps/generic/stdint.h (int_least8_t): Define using
14957 (int_least16_t): Define using __int_least16_t.
14958 (int_least32_t): Define using __int_least32_t.
14959 (int_least64_t): Define using __int_least64_t.
14960 (uint_least8_t): Define using __uint_least8_t.
14961 (uint_least16_t): Define using __uint_least16_t.
14962 (uint_least32_t): Define using __uint_least32_t.
14963 (uint_least64_t): Define using __uint_least64_t.
14964 * wcsmbs/uchar.h: Include <bits/types.h>.
14965 (char16_t): Define using __uint_least16_t conditional only on
14967 (char32_t): Define using __uint_least32_t conditional only on
14969 * wcsmbs/test-char-types.c: New file.
14970 * wcsmbs/Makefile (tests): Add test-char-types.
14972 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14975 2018-02-07 Zack Weinberg <zackw@panix.com>
14977 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
14978 Delete all contents except for definitions of _G_HAVE_MMAP and
14979 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
14980 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
14981 sysdeps/unix/sysv/linux/_G_config.h. Make same content
14984 * libio/libio.h: Don't include bits/_G_config.h here.
14985 Include stddef.h with __need_wchar_t defined. Include
14986 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
14987 Define _IO_iconv_t here, directly.
14988 Don't define _IO_HAVE_ST_BLKSIZE.
14989 * libio/libioP.h: Include _G_config.h here. Move include of
14990 shlib-compat.h up with rest of includes. Simplify conditionals
14991 controlling definition of _IO_JUMPS_OFFSET.
14993 * csu/init.c: Remove always-true #if around entire file.
14994 Don't include stdio.h. Set _IO_stdin_used to hardwired
14995 constant 0x20001, and update commentary.
14996 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
14997 Replace all uses of _G_va_list with __gnuc_va_list.
14998 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
14999 instead of #if _IO_HAVE_ST_BLKSIZE.
15000 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15001 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15004 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15005 multiple-include guard to match.
15006 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15008 Remove preprocessor conditionals that are always true and/or
15009 redundant to other preprocessor conditionals in the same nest.
15010 Include shlib-compat.h unconditionally.
15011 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15012 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15013 defined after including stdio.h.
15014 Use __BEGIN_DECLS/__END_DECLS.
15016 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15017 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15018 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15020 2018-02-07 Zack Weinberg <zackw@panix.com>
15022 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15023 New single-type headers split from _G_config.h.
15024 * libio/bits/types/cookie_io_functions_t.h
15025 * libio/bits/types/struct_FILE.h
15026 New single-type headers split from libio.h.
15028 * libio/Makefile: Install the above new headers. Don't install
15029 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15031 * libio/_G_config.h, libio/libio.h: Delete file.
15033 * libio/bits/libio.h: Remove improper-inclusion guard.
15034 Include stdio.h and don't repeat anything that it does.
15035 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15036 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15037 __io_read_fn as cookie_read_function_t,
15038 __io_write_fn as cookie_write_function_t,
15039 __io_seek_fn as cookie_seek_function_t,
15040 __io_close_fn as cookie_close_function_t,
15041 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15042 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15043 here, in the "compatibility defines" section. Remove an #if 0
15044 block. Use the "body" macros from bits/types/struct_FILE.h to
15045 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15046 and _IO_ferror_unlocked.
15047 Move prototypes of __uflow and __overflow...
15049 * libio/stdio.h: ...here. Don't include bits/libio.h.
15050 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15051 directly from stdarg.h. Include bits/types/__fpos_t.h,
15052 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15053 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15054 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15055 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15056 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15057 __ssize_t, not _IO_ssize_t. Unconditionally define
15058 BUFSIZ as 8192 and EOF as (-1).
15060 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15061 macros from bits/types/struct_FILE.h instead of _IO_* macros
15062 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15063 instead of _IO_ssize_t.
15064 * libio/bits/stdio2.h: Similarly.
15066 * libio/iolibio.h: Add multiple-include guard.
15067 Include bits/libio.h after stdio.h.
15068 * libio/libioP.h: Add multiple-include guard.
15069 Include stdio.h and bits/libio.h before iolibio.h.
15071 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15072 * include/bits/types/cookie_io_functions_t.h
15073 * include/bits/types/struct_FILE.h: New wrappers.
15075 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15076 Get definitions of _G_fpos_t and _G_fpos64_t from
15077 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15078 respectively. Remove improper-inclusion guards.
15080 * conform/data/stdio.h-data: Update expectations of va_list.
15081 * scripts/check-installed-headers.sh: Remove special case for
15082 libio.h and _G_config.h.
15084 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15088 * include/sys/sysmacros.h [!_ISOMAC]
15089 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15090 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15091 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15092 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15094 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15095 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15097 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15098 Undefine and redefine to add use __gnu_dev_ prefix.
15099 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15101 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15102 and define as hidden inline function.
15103 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15105 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15107 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15108 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15109 (gnu_dev_minor): Likewise.
15110 (gnu_dev_makedev): Likewise.
15111 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15113 * posix/wordexp.c (exec_comm_child): Likewise.
15114 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15115 instead of minor and __gnu_dev_major instead of major.
15116 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15117 __gnu_dev_major instead of major.
15118 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15119 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15120 instead of gnu_dev_minor.
15121 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15122 (SLAVE_P): Likewise.
15123 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15124 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15128 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15130 * locale/weightwc.h (findidx): Likewise.
15132 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15134 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15135 (slowlog_inexact): Likewise
15136 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15137 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15139 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15142 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15143 missing second underscore to parameter name.
15145 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15151 * bits/byteswap.h: Update file comment. Do not include
15152 <bits/byteswap-16.h>.
15153 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15155 (__bswap_16): Define as inline function.
15156 (__bswap_constant_32): Reformat definition.
15157 (__bswap_32): Always define as inline function, not macro, using
15158 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15159 otherwise __bswap_constant_32.
15160 (__bswap_constant_64): Reformat definition. Do not use
15161 __extension__ here.
15162 (__bswap_64): Always define as inline function, not macro. Use
15163 __extension__ on function definition. Use __builtin_bswap64 if
15164 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15165 * string/test-endian-file-scope.c: New file.
15166 * string/test-endian-sign-conversion.c: Likewise.
15167 * string/Makefile (headers): Remove bits/byteswap-16.h.
15168 (tests): Add test-endian-file-scope and
15169 test-endian-sign-conversion.
15170 (CFLAGS-test-endian-sign-conversion.c): New variable.
15171 * bits/byteswap-16.h: Remove file.
15172 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15173 * sysdeps/ia64/bits/byteswap.h: Likewise.
15174 * sysdeps/m68k/bits/byteswap.h: Likewise.
15175 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15176 * sysdeps/s390/bits/byteswap.h: Likewise.
15177 * sysdeps/tile/bits/byteswap.h: Likewise.
15178 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15179 * sysdeps/x86/bits/byteswap.h: Likewise.
15182 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15183 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15184 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15185 199901L] (__restrict): Define to restrict.
15188 * string/testcopy.c: Include <support/support.h>. Do not include
15189 <malloc.h>. Use <support/test-driver.c>.
15190 (main): Rename to do_test. Make static. Use xmalloc instead of
15194 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15195 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15196 (SSIZE_MAX): Define to INT_MAX.
15197 * posix/test-ssize-max.c: New file.
15198 * posix/Makefile (tests): Add test-ssize-max.
15201 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15202 <support/support.h>. Do not include <malloc.h>.
15203 (query_auxv): Use xmalloc instead of malloc.
15206 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15207 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15210 2018-02-06 Florian Weimer <fweimer@redhat.com>
15213 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15214 Use scratch_buffer instead of extend_alloca.
15216 2018-02-06 Zack Weinberg <zackw@panix.com>
15218 * libio/stdio.h: Don't define getc or putc as macros.
15219 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15220 not _IO_getc and _IO_putc.
15222 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15223 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15225 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15227 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15228 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15230 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15233 * elf/elf.h (NT_PRFPREG): New macro.
15234 (NT_S390_VXRS_LOW): Likewise.
15235 (NT_S390_VXRS_HIGH): Likewise.
15236 (NT_S390_GS_CB): Likewise.
15237 (NT_S390_GS_BC): Likewise.
15238 (NT_S390_RI_CB): Likewise.
15240 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15241 (MAP_SYNC): New macro.
15242 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15244 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15245 (MAP_SYNC): Likewise.
15246 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15247 (MAP_SYNC): Likewise.
15248 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15249 (MAP_SYNC): Likewise.
15250 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15251 (MAP_SYNC): Likewise.
15252 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15253 (MAP_SYNC): Likewise.
15254 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15255 (MAP_SYNC): Likewise.
15256 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15258 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15261 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15262 (MAP_SHARED_VALIDATE): New macro.
15263 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15264 (MAP_SHARED_VALIDATE): Likewise.
15266 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15268 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15269 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15270 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15272 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15274 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15275 (DT_NUM): Updated to 35.
15277 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15279 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15280 __builtin_expect with __glibc_likely and __glibc_unlikely.
15281 (elf_machine_rela): Likewise.
15282 (elf_machine_lazy_rel): Likewise.
15284 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15286 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15287 __builtin_expect with __glibc_likely and __glibc_unlikely.
15288 (elf_machine_lazy_rel): Likewise.
15290 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15293 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15295 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15297 2018-02-05 Andreas Schwab <schwab@suse.de>
15300 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15303 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15305 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15306 not check against PTHREAD_STACK_MIN.
15308 2018-02-02 Sean McKean <smckean83@gmail.com>
15311 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15313 2018-02-02 Florian Weimer <fweimer@redhat.com>
15316 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15317 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15318 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15319 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15320 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15321 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15322 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15323 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15324 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15325 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15326 * misc/tst-preadvwritev2.c (do_test): Call it.
15327 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15329 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15331 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15333 * benchtests/bench-memcmp.c: Print json instead of plain text.
15335 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15338 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15340 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15342 (s390_sthyi): New syscall.
15344 * sysdeps/generic/ldbl-classify-compat.h: New file.
15345 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15346 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15347 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15348 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15349 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15350 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15351 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15352 <ldbl-classify-compat.h>.
15353 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15354 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15355 <ldbl-classify-compat.h>.
15356 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15357 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15358 <ldbl-classify-compat.h>.
15359 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15360 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15361 <ldbl-classify-compat.h>.
15362 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15363 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15364 <ldbl-classify-compat.h>.
15365 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15367 <ldbl-classify-compat.h>.
15368 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15369 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15370 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15371 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15372 * sysdeps/microblaze/math_private.h: Likewise.
15373 * sysdeps/nios2/math_private.h: Likewise.
15374 * sysdeps/sh/math_private.h: Likewise.
15376 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15377 * sysdeps/m68k/coldfire/math_private.h: ... here.
15378 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15379 * sysdeps/tile/math_private.h: Likewise.
15380 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15382 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15385 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15387 (libc_fetestexcept): Likewise.
15388 (libc_feupdateenv_test): Likewise.
15389 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15390 (libc_fetestexcept): Likewise.
15391 (libc_feupdateenv_test): Likewise.
15392 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15393 (libc_fetestexcept): Likewise.
15394 (libc_feupdateenv_test): Likewise.
15395 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15396 (libc_fetestexcept): Likewise.
15397 (libc_feupdateenv_test): Likewise.
15399 * sysdeps/generic/math_private.h
15400 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15401 New inline function.
15402 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15405 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15406 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15407 * sysdeps/generic/math_private.h
15408 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15410 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15412 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15414 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15416 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15418 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15420 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15421 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15422 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15423 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15424 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15425 (__fegetenv): Likewise.
15426 (fesetenv): Likewise.
15427 (__fesetenv): Likewise.
15428 (feupdateenv): Likewise.
15429 (__feupdateenv): Likewise.
15430 (fegetround): Likewise.
15431 (__fegetround): Likewise.
15432 (fesetround): Likewise.
15433 (__fesetround): Likewise.
15435 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15436 (feraiseexcept): New macro.
15437 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15438 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15440 (__feraiseexcept): Likewise.
15441 (feclearexcept): Likewise.
15442 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15443 (__feraiseexcept): Likewise.
15444 (feclearexcept): Likewise.
15445 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15446 (__feraiseexcept): Likewise.
15447 (feclearexcept): Likewise.
15448 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15449 (__feraiseexcept): Likewise.
15450 (feclearexcept): Likewise.
15451 (fetestexcept): Likewise.
15453 * sysdeps/m68k/coldfire/math-tests.h: New file.
15455 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15456 * sysdeps/m68k/bits/fenv.h: ... here.
15457 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15459 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15461 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15463 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15465 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15467 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15469 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15470 (__FE_UNDEFINED): New enum constant.
15471 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15473 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15475 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15477 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15478 to match generic bits/fenv.h.
15479 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15482 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15484 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15485 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15486 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15487 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15489 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15490 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15491 Joseph Myers <joseph@codesourcery.com>
15494 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15495 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15496 computation using c.
15497 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15498 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15499 computation using c.
15501 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15503 * version.h (RELEASE): Set to "development".
15504 (VERSION): Set to "2.27.9000".
15505 * NEWS (2.28): New section.
15507 * version.h (RELEASE): Set to "stable".
15508 (VERSION): Set to "2.27".
15509 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15511 * NEWS: Add the list of bugs fixed in 2.27.
15513 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15515 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15516 against PTHREAD_STACK_MIN.
15518 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15520 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15522 (Rafal Luzynski, Andreas Schwab): Update.
15524 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15527 * NEWS: List the languages which actually use the alternative
15528 months feature in this release. Also explain that "alt_mon" and
15529 "ab_alt_mon" are optional.
15531 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15534 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15536 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15538 * manual/install.texi (Tools for Compilation): Update the newest
15539 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15540 * INSTALL: Regenerated.
15542 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15544 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15545 instead of __builtin_expect.
15547 2018-01-30 Florian Weimer <fweimer@redhat.com>
15549 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15551 * nss/tst-nss-getpwent.c (do_test): Likewise.
15553 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15556 * localedata/locales/hr_HR (mon): Rename to...
15558 (mon): Import from CLDR (genitive case).
15559 (d_t_fmt): Update the comment.
15561 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15563 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15564 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15565 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15567 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15569 * mach/Versions: Fix version when __mach_host_self_ was added.
15570 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15571 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15572 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15573 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15574 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15575 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15576 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15577 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15578 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15579 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15580 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15581 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15582 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15583 || to respect codestyle.
15584 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15585 (do_test_bz20181): Rename accordingly.
15586 * malloc/malloc.c: Include <assert.h>.
15587 (assert): Do not define.
15588 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15589 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15590 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15591 * sysdeps/mach/hurd/hp-timing.h: New file.
15592 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15594 2018-01-29 Darius Rad <darius@bluespec.com>
15596 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15598 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15600 * sysdeps/init_array/crti.S (.section .init_array): Add
15601 PREINIT_FUNCTION when defined.
15602 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15603 * config.h.in: Regenerate.
15604 * manual/platform.texi: Add RISC-V documenation for
15605 __riscv_flush_icache.
15606 * sysdeps/riscv/__longjmp.S: New file.
15607 * sysdeps/riscv/backtrace.c: Likewise.
15608 * sysdeps/riscv/bits/endian.h: Likewise.
15609 * sysdeps/riscv/bits/setjmp.h: Likewise.
15610 * sysdeps/riscv/bits/wordsize.h: Likewise.
15611 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15612 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15613 * sysdeps/riscv/dl-trampoline.S: Likewise.
15614 * sysdeps/riscv/gccframe.h: Likewise.
15615 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15616 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15617 * sysdeps/riscv/machine-gmon.h: Likewise.
15618 * sysdeps/riscv/memusage.h: Likewise.
15619 * sysdeps/riscv/setjmp.S: Likewise.
15620 * sysdeps/riscv/sys/asm.h: Likewise.
15621 * sysdeps/riscv/tls-macros.h: Likewise.
15622 * sysdeps/riscv/dl-tls.h: New file.
15623 * sysdeps/riscv/libc-tls.c: Likewise.
15624 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15625 * sysdeps/riscv/nptl/tls.h: Likewise.
15626 * sysdeps/riscv/stackinfo.h: Likewise.
15627 * sysdeps/riscv/bits/fenv.h: New file.
15628 * sysdeps/riscv/e_sqrtl.c: Likewise.
15629 * sysdeps/riscv/fpu_control.h: Likewise.
15630 * sysdeps/riscv/math-tests.h: Likewise.
15631 * sysdeps/riscv/nofpu/Implies: Likewise.
15632 * sysdeps/riscv/sfp-machine.h: Likewise.
15633 * sysdeps/riscv/tininess.h: Likewise.
15634 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15635 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15636 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15637 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15638 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15639 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15640 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15641 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15642 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15643 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15644 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15645 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15646 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15647 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15648 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15649 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15650 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15651 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15652 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15653 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15654 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15655 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15656 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15657 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15658 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15659 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15660 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15661 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15662 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15663 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15664 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15665 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15666 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15667 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15668 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15669 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15670 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15671 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15672 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15673 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15674 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15675 * sysdeps/riscv/rvf/math_private.h: Likewise.
15676 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15677 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15678 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15679 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15680 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15681 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15682 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15683 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15684 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15685 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15686 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15687 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15688 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15689 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15690 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15691 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15692 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15693 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15694 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15695 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15696 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15697 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15698 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15699 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15700 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15701 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15702 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15703 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15704 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15705 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15706 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15707 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15708 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15709 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15710 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15711 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15712 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15713 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15714 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15715 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15716 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15717 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15718 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15719 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15720 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15721 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15722 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15723 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15724 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15725 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15726 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15727 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15728 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15729 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15730 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15731 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15732 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15733 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15734 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15735 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15736 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15737 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15738 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15739 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15740 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15741 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15742 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15743 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15744 * sysdeps/riscv/Implies: New file.
15745 * sysdeps/riscv/Makefile: Likewise.
15746 * sysdeps/riscv/configure: Likewise.
15747 * sysdeps/riscv/configure.ac: Likewise.
15748 * sysdeps/riscv/nptl/Makefile: Likewise.
15749 * sysdeps/riscv/preconfigure: Likewise.
15750 * sysdeps/riscv/rv64/Implies-after: Likewise.
15751 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15752 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15753 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15754 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15755 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15756 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15757 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15758 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15759 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15760 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15761 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15762 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15763 (Config): Likewise.
15765 2018-01-29 Florian Weimer <fweimer@redhat.com>
15768 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15769 libnsl_hidden_proto.
15770 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15771 libnsl_hidden_proto.
15772 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15773 * nis/Makefile (libnsl-routines): Add nss-default only for
15774 build-obsolete-nsl.
15775 * nis/nis_defaults.c (__nis_default_ttl): Add
15776 libnsl_hidden_nolink_def.
15777 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15779 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15780 * nis/ypclnt.c (yp_maplist): Likewise.
15782 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15784 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15785 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15787 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15789 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15790 clean -dxfq for git updates when replacing sources.
15792 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15793 --disable-libcilkrts unconditionally, not just for the final GCC
15796 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15799 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15802 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15805 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15808 * localedata/locales/be_BY (mon): Rename to...
15809 (alt_mon): This, then synchronize with CLDR (nominative case).
15810 (abmon): Rename to...
15811 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15812 (mon): Import from CLDR (genitive case).
15814 * localedata/locales/be_BY@latin (mon): Rename to...
15816 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15818 * localedata/locales/be_BY@latin (lang_name): Reworded to
15819 "biełaruskaja mova".
15821 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15824 * localedata/locales/el_CY (mon): Renamed to...
15826 (mon): Import from CLDR (genitive case).
15827 * localedata/locales/el_GR: Likewise.
15829 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15832 * localedata/locales/ru_RU (mon): Rename to...
15834 (abmon): Rename to...
15835 (ab_alt_mon): This.
15836 (mon): Import from CLDR (genitive case).
15837 (abmon): Copy from the old content except the 5th month which is
15838 now in the genitive case, even when abbreviated.
15839 * localedata/locales/ru_UA: Likewise.
15840 * time/tst-strptime.c (day_tests): Add an actual example of
15841 a difference between %b and %Ob in Russian.
15843 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15845 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15846 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15848 * resolv/res-close.c: Include <stdlib.h>.
15849 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15850 <sys/wait.h>, <time.h>, <sys/uio.h>.
15851 (NOT_CANCEL_H): Add inclusion guard.
15852 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15853 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15854 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15856 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15857 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15858 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15860 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15861 timer_ptr2id to cast struct timer_node * to void *.
15862 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15863 --disable-libcilkrts to gcc configure.
15864 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15865 and make them the default for now.
15866 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15867 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15868 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15869 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15870 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15872 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15873 __task_terminate would ever return successfully.
15874 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15876 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15877 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15878 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15879 critical section to make code simpler and avoid warning.
15880 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15881 critical section to make code simpler and avoid warning.
15882 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15883 const char * instead of char *.
15884 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15885 __hurd_file_name_split, hurd_file_name_split,
15886 __hurd_directory_name_split, hurd_directory_name_split,
15887 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15888 hurd_file_name_path_lookup): Make lookup function parameter take a
15889 const char *name instead of char *name.
15890 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15891 __hurd_directory_name_split): Likewise.
15892 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15893 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15894 * sysdeps/mach/hurd/check_native.c: New file.
15895 * sysdeps/mach/hurd/check_pf.c: New file.
15896 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15897 (__freeifaddrs): Define macro to freeifaddrs.
15898 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15899 * sysdeps/mach/libmachuser.abilist: New file.
15900 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15901 (do_test_bz20181): Rename accordingly.
15902 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15903 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15905 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15906 version only if __USE_EXTERN_INLINES is defined.
15907 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15908 __hurd_sockfail): Likewise.
15909 (_hurd_fd_get): Always declare functions, and provide inline versions
15910 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15911 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15912 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15913 _hurd_port_set): Always declare functions, and provide inline versions
15914 only if __USE_EXTERN_INLINES and _LIBC are defined and
15916 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15917 _hurd_critical_section_unlock): Likewise.
15918 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15919 * __hurd_threadvar_location): Likewise.
15920 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15921 _hurd_userlink_clear): Likewise.
15922 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15923 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15924 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15925 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15926 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15927 __spin_lock_locked): Likewise.
15928 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15929 __spin_lock_locked): Likewise.
15930 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15931 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15932 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15933 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15934 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15935 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15936 _POSIX_NO_TRUNC): Define to 0.
15937 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15938 check size against PTHREAD_STACK_MIN.
15939 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15940 IS_IN(libpthread)]: Include <sigsetops.h>.
15941 * mach/Makefile (user-interfaces): Add mach/gnumach.
15942 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15943 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15944 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15945 instead of invalid -1.
15946 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15947 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15948 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15951 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15953 * hurd/fcntl-internal.h: New file.
15955 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15957 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15959 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15961 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
15964 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
15965 Build only shared objects.
15967 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15969 * README: Update for hppa.
15971 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15973 * sysdeps/sparc/fpu/libm-test-ulps: Update
15974 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
15976 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15980 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15983 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15984 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15985 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15986 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15989 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15992 * bits/types/__cancel_jmp_buf_tag.h: New file.
15993 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15994 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15995 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15996 * nptl/Makefile (headers): Add
15997 bits/types/__cancel_jmp_buf_tag.h.
15998 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15999 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16000 * sysdeps/nptl/pthread.h: Include
16001 <bits/types/__cancel_jmp_buf_tag.h>.
16002 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16004 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16006 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16009 * localedata/locales/uk_UA (mon): Renamed to...
16011 (alt_digits): "0" removed and then renamed to...
16013 (date_fmt): Definition changed not to use the alternative
16016 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16018 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16019 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16020 * elf/elf.h (EF_RISCV_RVC): New define.
16021 (EF_RISCV_FLOAT_ABI): Likewise.
16022 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16023 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16024 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16025 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16026 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16028 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16030 2018-01-25 Andreas Schwab <schwab@suse.de>
16032 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16034 * sysdeps/gnu/configure: Regenerate.
16035 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16036 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16038 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16039 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16040 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16041 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16042 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16044 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16046 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16047 URL, and run autoconf, make it the default for now.
16049 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16051 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16052 soft-float ColdFire configuration.
16054 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16055 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16056 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16058 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16061 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16063 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16065 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16068 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16069 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16070 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16073 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16076 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16077 Rename to __reserved and add comment.
16078 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16079 Rename to __reserved.
16081 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16083 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16084 i686-gnu configurations.
16085 (Context.run_builds): Include mig, gnumach and hurd in components
16087 (Context.checkout): Add mig, gnumach and hurd to components.
16088 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16090 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16091 (Config.build): Install gnumach headers, build mig and install
16092 hurd headers for 'gnu' OS.
16093 (Config.install_gnumach_headers): New function.
16094 (Config.install_hurd_headers): Likewise.
16095 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16096 when building for 'gnu' OS.
16098 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16100 * manual/tunables.texi (Hardware Capability Tunables): Fix
16103 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16105 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16106 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16107 (ALTMON_11, ALTMON_12): Improve documentation.
16108 * manual/time.texi (strftime): Likewise.
16110 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16113 * localedata/locales/pl_PL: Alternative month names added,
16114 primary month names are genitive now.
16115 * time/tst-strptime.c (day_tests): Actually use a genitive case
16116 of a month name in Polish language.
16118 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16121 * manual/locale.texi: Document ALTMON_1..12 constants for
16122 nl_langinfo. Specify when to use ALTMON instead of MON.
16123 * manual/time.texi (strftime, strptime): Document GNU extension
16124 permitting O modifier with %B and %b. Specify when to use
16127 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16130 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16131 names, define them as the same as abbreviated month names explicitly.
16132 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16133 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16134 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16135 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16136 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16137 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16138 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16139 _NL_WABALTMON_12): New enum constants.
16140 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16141 wab_alt_mon, and ab_alt_mon_defined members.
16142 (time_output): Output ab_alt_mon and wab_alt_mon members.
16143 (time_read): Read them, initialize them as copies of abmon and wabmon
16144 respectively if they are missing, initialize ab_alt_mon_defined.
16145 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16146 * locale/programs/locfile-kw.h: Regenerate.
16147 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16148 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16150 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16151 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16152 (__strftime_internal): Handle %Ob and %Oh formats.
16153 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16154 (__strptime_internal): Handle %Ob and %Oh formats.
16155 * time/tst-strptime.c (day_tests): Add more tests to parse different
16156 forms of month names including the new %Ob format specifier.
16158 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16161 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16162 define them as the same as primary full month names explicitly.
16163 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16164 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16165 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16166 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16167 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16168 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16169 _NL_WALTMON_12): New enum constants.
16170 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16171 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16173 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16174 walt_mon, and alt_mon_defined members.
16175 (time_output): Output alt_mon and walt_mon members.
16176 (time_read): Read them, initialize them as copies of mon and wmon
16177 respectively if they are missing, initialize alt_mon_defined.
16178 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16179 * locale/programs/locfile-kw.h: Regenerate.
16180 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16181 * localedata/tst-langinfo.c (map): Add tests for the new constants
16182 ALTMON_1 .. ALTMON_12.
16183 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16185 * time/strftime_l.c (f_altmonth): New macro.
16186 (__strftime_internal): Handle %OB format.
16187 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16188 (__strptime_internal): Handle %OB format.
16189 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16190 of month names including the new %OB format specifier.
16192 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16195 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16196 from ABORT_TRANSACTION.
16197 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16198 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16199 ABORT_TRANSACTION_IMPL): Likewise.
16200 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16201 Linux code, but remove the code that aborts transactions.
16203 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16205 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16207 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16209 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16210 in date: "2004-14-09" should be "2004-09-14".
16211 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16212 "2003-15-09" should be "2003-09-15".
16214 2018-01-18 Arjun Shankar <arjun@redhat.com>
16220 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16222 (_int_memalign): check for integer overflow before calling
16224 * malloc/tst-malloc-too-large.c: New test.
16225 * malloc/Makefile: Add tst-malloc-too-large.
16227 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16229 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16230 in date: "2017-24-07" should be "2017-07-24".
16231 * localedata/locales/mai_IN: Likewise.
16232 * localedata/locales/mai_NP: Likewise.
16234 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16236 * po/ru.po: Update translations.
16238 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16241 * sysdeps/hppa/backtrace.c: New file.
16243 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16246 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16247 align La_x86_64_retval to VEC_SIZE.
16249 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16251 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16252 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16254 2018-01-16 Florian Weimer <fweimer@redhat.com>
16256 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16257 Move tst-thread-exit-clobber ...
16258 [$(CXX)] (tests-unsupported): ... to here.
16260 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16262 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16263 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16264 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16265 (_dl_aarch64_cap_flags): Update.
16266 (_DL_HWCAP_COUNT): Update.
16268 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16270 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16271 (_DL_HWCAP_LAST): Remove.
16272 (_DL_HWCAP_COUNT): Move to ...
16273 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16274 (_DL_HWCAP_COUNT): ... here.
16276 2018-01-16 Florian Weimer <fweimer@redhat.com>
16278 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16279 mode with GNU extensions.
16281 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16283 * elf/elf.h (NT_ARM_SVE): Define.
16285 2018-01-15 Florian Weimer <fweimer@redhat.com>
16288 * nptl/tst-minstack-throw.cc: New file.
16289 * nptl/Makefile (tests): Add tst-minstack-throw.
16290 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16291 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16293 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16295 * scripts/build-many-glibcs.py (Context.checkout): Default
16296 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16299 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16302 * elf/elf.h (DF_1_STUB): Define.
16303 (DF_1_PIE): Define.
16305 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16308 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16309 Do not add 0.5 to integer or out-of-range arguments.
16311 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16313 * po/bg.po: Update translations.
16314 * po/cs.po: Likewise.
16315 * po/de.po: Likewise.
16316 * po/ko.po: Likewise.
16317 * po/pl.po: Likewise.
16318 * po/sv.po: Likewise.
16319 * po/uk.po: Likewise.
16320 * po/vi.po: Likewise.
16322 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16324 * aarch64/start.S (_start): Use __wrap_main.
16325 (__wrap_main): New local symbol.
16327 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16331 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16332 generic_getcwd if the path returned by getcwd syscall is not absolute.
16333 * io/tst-getcwd-abspath.c: New test.
16334 * io/Makefile (tests): Add tst-getcwd-abspath.
16336 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16338 * malloc/malloc.c (malloc_consolidate): Add size check.
16340 2018-01-12 Florian Weimer <fweimer@redhat.com>
16342 * support/write_message.c (write_message): Preserve errno.
16343 * support/check.c (print_failure): Likewise.
16344 * support/support_test_verify_impl.c (support_test_verify_impl):
16346 * support/support_test_compare_failure.c
16347 (support_test_compare_failure): Likewise.
16349 2018-01-12 Florian Weimer <fweimer@redhat.com>
16352 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16353 Prevent installation of libnsl.so.
16354 (libnsl-inhibit-o): Do not build (or install) static libraries.
16356 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16359 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16360 before the day number which may produce a double space.
16361 (date_fmt): Likewise.
16363 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16365 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16366 instead of fegetenv.
16368 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16371 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16372 comment to say exceptions are discarded.
16373 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16375 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16378 2018-01-11 Florian Weimer <fweimer@redhat.com>
16380 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16383 2018-01-11 Florian Weimer <fweimer@redhat.com>
16386 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16387 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16389 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16392 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16393 negative arguments in test for NaN or infinity argument.
16395 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16397 * po/libc.pot: Regenerate.
16399 2018-01-10 Florian Weimer <fweimer@redhat.com>
16402 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16403 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16405 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16407 * hurd/hurd/fd.h: Include <fcntl.h>
16408 (__hurd_at_flags): New function.
16409 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16410 with call to __hurd_at_flags.
16411 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16412 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16414 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16415 (__access_noerrno): Use __faccessat_common instead of access_common.
16416 (__access): Likewise.
16417 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16418 with a call to __faccessat.
16419 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16420 (__faccessat_common): ... this. Move implementation of __access into it when
16421 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16422 reauthenticate_cwdir_at helper to implement AT mechanism.
16423 (__faccessat_noerrno): New function, just calls __faccessat_common.
16424 (__faccessat): New function, just calls __faccessat_common.
16425 (faccessat): Define weak alias.
16427 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16430 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16431 (CFLAGS-s_fmaxmagl.c): New variable.
16432 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16435 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16436 long int for arguments of possibly overflowing addition or
16438 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16440 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16443 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16444 (CFLAGS-e_remainderl.c): New variable.
16447 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16449 (CFLAGS-s_cacoshl.c): Likewise.
16450 (CFLAGS-s_casinhl.c): Likewise.
16451 (CFLAGS-s_catanl.c): Likewise.
16452 (CFLAGS-s_catanhl.c): Likewise.
16453 (CFLAGS-s_cexpl.c): Likewise.
16454 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16455 (CFLAGS-s_csinhl.c): Likewise.
16456 (CFLAGS-s_clogl.c): Likewise.
16457 (CFLAGS-s_clog10l.c): Likewise.
16458 (CFLAGS-s_csinl.c): Likewise.
16459 (CFLAGS-s_csqrtl.c): Likewise.
16461 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16462 2017-01-09 Svante Signell <svante.signell@gmail.com>
16464 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16465 (_hurd_exec_paths): New function.
16466 * hurd/hurd.h (_hurd_exec): Deprecate function.
16467 (_hurd_exec_paths): Declare function.
16468 * hurd/Versions: Export _hurd_exec_paths.
16469 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16470 (__execve): Use __getcwd to build absolute path, and use
16471 _hurd_exec_paths instead of _hurd_exec.
16472 * sysdeps/mach/hurd/spawni.c: Likewise.
16473 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16476 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16478 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16479 test instead of failing in case of ENOENT returned by posix_openpt.
16481 2018-01-08 Florian Weimer <fweimer@redhat.com>
16483 resolv: Support binary labels in test framework.
16484 * support/resolv_test.c (struct to_be_freed): Remove.
16485 (struct compressed_name): New.
16486 (allocate_compressed_name, ascii_tolower)
16487 (compare_compressed_name): New functions.
16488 (struct resolv_response_builder): Update type of
16489 compression_offsets for use with tsearch. Rempve to_be_freed.
16490 (response_push_pointer_to_free): Remove function.
16491 (resolv_response_add_name): Rewrite using struct compressed_name
16492 and tsearch instead of hsearch_r.
16493 (response_builder_allocate): Remove initialization of
16494 compression_offsets.
16495 (response_builder_free): Update for removal of to_be_freed. Use
16496 tdestroy instead of hdestroy_r.
16497 * resolv/Makefile (tests): Add tst-resolv-binary.
16498 (tst-resolv-binary): Link with -lresolv -lpthread.
16500 2018-01-08 Florian Weimer <fweimer@redhat.com>
16502 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16503 time. Pass positive flag instead of negative flag to
16504 support_test_compare_failure.
16505 (support_test_compare_failure): Change negative parameter to
16507 * support/support_test_compare_failure.c (report)
16508 (support_test_compare_failure): Likewise.
16509 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16510 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16512 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16515 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16516 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16517 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16519 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16521 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16523 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16524 Add s_sincosf-sse2 and s_sincosf-fma.
16525 (CFLAGS-s_sincosf-fma.c): New.
16526 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16527 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16528 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16529 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16530 __sincosf is defined.
16532 2018-01-08 Florian Weimer <fweimer@redhat.com>
16534 * nptl/tst-thread-exit-clobber.cc: New file.
16535 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16537 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16538 (tests): Add tst-thread-exit-clobber.
16539 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16541 2018-01-08 Florian Weimer <fweimer@redhat.com>
16543 * support/check.h (support_static_assert): Define.
16544 (TEST_COMPARE): Use it.
16546 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16548 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16549 [!__RLIM_T_MATCHES_RLIM64_T]
16550 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16551 __getrlimit64. Add libc_hidden_weak.
16553 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16555 * elf/elf.h (R_RISCV_NONE): New define.
16556 (R_RISCV_32): Likewise.
16557 (R_RISCV_64): Likewise.
16558 (R_RISCV_RELATIVE): Likewise.
16559 (R_RISCV_COPY): Likewise.
16560 (R_RISCV_JUMP_SLOT): Likewise.
16561 (R_RISCV_TLS_DTPMOD32): Likewise.
16562 (R_RISCV_TLS_DTPMOD64): Likewise.
16563 (R_RISCV_TLS_DTPREL32): Likewise.
16564 (R_RISCV_TLS_DTPREL64): Likewise.
16565 (R_RISCV_TLS_TPREL32): Likewise.
16566 (R_RISCV_TLS_TPREL64): Likewise.
16567 * Makerules (make-link-multidir): Make directories before linking into
16569 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16571 (VDSO_HASH_LINUX_4_15): Likewise.
16572 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16573 in subdirectories of lib.
16574 * nptl/Makefile (/librt.so): Always depend on
16575 "$(shared-thread-library)".
16577 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16579 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16580 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16581 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16583 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16584 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16586 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16587 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16588 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16589 * sysdeps/gnu/glob-lstat-compat.c: New file.
16590 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16591 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16593 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16595 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16596 Reserve 16 chars to reloc_addr before calling _itoa_word.
16598 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16601 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16602 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16604 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16605 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16607 * resource/tst-getrlimit.c: Add copyright header.
16609 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16610 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16612 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16613 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16614 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16615 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16617 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16618 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16619 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16620 RLIM64_INFINITY): Fix values to match the kernel ones.
16621 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16622 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16623 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16624 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16625 getrlimit64@@GLIBC_2_27.
16626 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16628 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16629 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16630 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16631 setrlimit, getrlimit64 and setrlimit64.
16633 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16636 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16637 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16639 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16641 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16642 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16643 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16645 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16649 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16650 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16654 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16655 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16656 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16657 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16659 2018-01-04 Florian Weimer <fweimer@redhat.com>
16662 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16663 Align the stack before calling exit.
16664 * stdlib/tst-makecontext-align.c: New file.
16665 * stdlib/Makefile (tests): Add tst-makecontext-align.
16667 2018-01-04 Florian Weimer <fweimer@redhat.com>
16669 Add support for calling dlvsym from libc.so.
16670 * include/dlfcn.h (__libc_dlvsym): Declare.
16671 * elf/Makefile (tests-static-internal): Add
16672 tst-libc_dlvsym-static.
16673 (tests-internal): Add tst-libc_dlvsym.
16674 (modules-names): Add tst-libc_dlvsym-dso.
16675 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16676 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16677 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16678 object tst-libc_dlvsym-dso.so needs to be built before running
16680 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16681 * elf/Versions: Export __libc_dlvsym.
16682 * elf/dl-libc.c (struct do_dlvsym_args): New.
16683 (do_dlvsym, __libc_dlvsym): New functions.
16684 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16685 (_dl_open_hook2): New variable.
16686 (__libc_register_dl_open_hook): Set it.
16687 * elf/tst-libc_dlvsym-dso.c: New file.
16688 * elf/tst-libc_dlvsym-static.c: Likewise.
16689 * elf/tst-libc_dlvsym.c: Likewise.
16690 * elf/tst-libc_dlvsym.h: Likewise.
16692 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16694 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16695 include <sys/mount.h>.
16697 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16699 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16700 Add __NO_MATH_ERRNO__ check.
16702 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16704 * sysdeps/mips/mips32/libm-test-ulps: Update.
16705 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16707 2018-01-02 Florian Weimer <fweimer@redhat.com>
16709 * misc/tst-pselect.c: Add copyright header.
16711 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16713 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16715 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16717 (settrlimit): Rename into setrlimit.
16718 (__sttrlimit): Rename into __setrlimit.
16720 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16721 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16722 never defined in that case.
16724 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16726 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16728 * sysdeps/arm/libm-test-ulps: Update.
16730 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16731 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16733 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16735 * NEWS: Add cosf and sincosf to list of optimized functions.
16737 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16740 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16741 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16742 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16743 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16745 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16748 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16750 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16751 making a copy of it.
16753 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16755 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16756 trailing whitespace removed.
16757 * scripts/config.guess: Update to version 2018-01-01.
16758 * scripts/config.sub: Update to version 2018-01-01.
16759 * scripts/move-if-change: Update from gnulib.
16761 * NEWS: Update copyright dates.
16762 * catgets/gencat.c (print_version): Likewise.
16763 * csu/version.c (banner): Likewise.
16764 * debug/catchsegv.sh: Likewise.
16765 * debug/pcprofiledump.c (print_version): Likewise.
16766 * debug/xtrace.sh (do_version): Likewise.
16767 * elf/ldconfig.c (print_version): Likewise.
16768 * elf/ldd.bash.in: Likewise.
16769 * elf/pldd.c (print_version): Likewise.
16770 * elf/sotruss.sh: Likewise.
16771 * elf/sprof.c (print_version): Likewise.
16772 * iconv/iconv_prog.c (print_version): Likewise.
16773 * iconv/iconvconfig.c (print_version): Likewise.
16774 * locale/programs/locale.c (print_version): Likewise.
16775 * locale/programs/localedef.c (print_version): Likewise.
16776 * login/programs/pt_chown.c (print_version): Likewise.
16777 * malloc/memusage.sh (do_version): Likewise.
16778 * malloc/memusagestat.c (print_version): Likewise.
16779 * malloc/mtrace.pl: Likewise.
16780 * manual/libc.texinfo: Likewise.
16781 * nptl/version.c (banner): Likewise.
16782 * nscd/nscd.c (print_version): Likewise.
16783 * nss/getent.c (print_version): Likewise.
16784 * nss/makedb.c (print_version): Likewise.
16785 * posix/getconf.c (main): Likewise.
16786 * scripts/test-installation.pl: Likewise.
16787 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16789 * All files with FSF copyright notices: Update copyright dates
16790 using scripts/update-copyrights.
16791 * locale/programs/charmap-kw.h: Regenerated.
16792 * locale/programs/locfile-kw.h: Likewise.
16794 2017-12-31 Zack Weinberg <zackw@panix.com>
16796 * libio/bits/libio-ldbl.h: Correct check for improper
16797 inclusion. Add own multiple include guard.
16799 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16800 Dmitry V. Levin <ldv@altlinux.org>
16804 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16805 string token expansion. Check for NULL pointer or empty string possibly
16806 returned by expand_dynamic_string_token.
16807 (decompose_rpath): Check for empty path after dynamic string
16810 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16813 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16815 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16816 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16817 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16818 and PTRACE_SYSCALL.
16819 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16820 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16821 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16822 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16823 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16824 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16826 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16827 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16828 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16829 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16831 bits/ptrace-shared.h.
16832 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16833 <bits/ptrace-shared.h>.
16834 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16835 __ptrace_peeksiginfo_flags, ptrace): Remove.
16836 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16837 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16838 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16839 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16840 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16842 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16845 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16846 end of the loop. Improve comments.
16848 2017-12-29 Zack Weinberg <zackw@panix.com>
16851 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16852 might be set on success.
16854 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16857 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16858 is unchanged on success.
16860 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16862 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16864 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16865 expand_dynamic_string_token): Likewise.
16866 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16869 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16872 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16873 is set and name contains ':', and all code depending on these checks.
16875 2017-12-24 Zack Weinberg <zackw@panix.com>
16877 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16878 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16880 * libio/libio.h: Rename the original version of this file to
16881 libio/bits/libio.h. Error out if not included by stdio.h or the
16883 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16884 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16885 if not included by bits/libio.h or the stub _G_config.h.
16886 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16887 sysdeps/unix/sysv/linux/bits. Error out if not included by
16888 bits/libio.h or the stub _G_config.h.
16889 * libio/stdio.h: Include bits/libio.h, not libio.h.
16890 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16891 well as libio.h and _G_config.h.
16893 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16894 * libio/strfile.h, stdio-common/vfscanf.c
16895 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16896 Include stdio.h, not _G_config.h nor libio.h.
16897 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16898 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16900 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16902 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16905 * stdlib/getrandom.c (getrandom): Fix comment.
16906 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16908 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16911 * manual/arith.texi (strtoul): Fix a typo.
16914 * manual/arith.texi (finite): Fix the description of the return
16917 2017-12-22 Eric Blake <ebb9@byu.net>
16919 Avoid gcc warnings on cygwin
16920 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16921 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16922 Avoid unused variable.
16924 2017-12-22 Florian Weimer <fweimer@redhat.com>
16926 * io/Makefile (routines): Add copy_file_range.
16927 (tests): Add tst-copy_file_range.
16928 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16929 * io/Versions (GLIBC_2.27): Export copy_file_range.
16930 * io/copy_file_range-compat.c: New file.
16931 * io/copy_file_range.c: Likewise.
16932 * io/tst-copy_file_range-compat.c: Likewise.
16933 * io/tst-copy_file_range.c: Likewise.
16934 * manual/llio.texi (Copying File Data): New section.
16935 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16936 * support/Makefile (libsupport-routines): Add support-xfstat,
16937 xftruncate, xlseek.
16938 * support/support-xfstat.c: New file.
16939 * support/xftruncate.c: Likewise.
16940 * support/xlseek.c: Likewise.
16941 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16942 * sysdeps/unix/sysv/linux/**.abilist: Update.
16943 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16945 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16947 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16948 disable-multi-arch variant to aarch64-linux-gnu.
16950 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16952 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16953 trailing whitespace removed.
16954 * scripts/config.guess: Update to version 2017-12-17.
16955 * scripts/config.sub: Update to version 2017-11-23.
16956 * scripts/install-sh: Update to version 2017-09-23.17.
16957 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16959 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16961 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
16962 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16963 * sysdeps/tile/_mcount.S (__mcount): Likewise.
16964 * sysdeps/tile/crti.S (_init, _fini): Likewise.
16965 * sysdeps/tile/crtn.S: Likewise.
16966 * sysdeps/tile/dl-start.S (_start): Likewise.
16967 * sysdeps/tile/dl-trampoline.S: Likewise.
16968 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
16969 * sysdeps/tile/start.S (_start): Likewise.
16970 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
16971 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
16972 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
16973 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
16974 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
16975 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
16976 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
16978 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
16980 * sysdeps/tile/preconfigure: Remove tilegx folder.
16981 * sysdeps/tile/tilegx/Implies: Move definitions to ...
16982 * sysdeps/tile/Implies: ... here.
16983 * sysdeps/tile/tilegx/Makefile: Move rules to ...
16984 * sysdeps/tile/Makefile: ... here.
16985 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
16986 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
16987 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
16988 * sysdeps/tile/bits/wordsize.h: ... here.
16989 * sysdeps/tile/tilegx/*: Move to ...
16990 * sysdeps/tile/*: ... here.
16991 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
16992 * sysdeps/tile/tilegx32/Implies: ... here.
16993 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
16994 * sysdeps/tile/tilegx64/Implies: ... here.
16995 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
16997 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16998 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
16999 * sysdeps/unix/sysv/linux/tile/*: ... here.
17000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17001 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17003 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17005 * README: Remove tilepro-*-linux-gnu from supported architecture.
17006 * scripts/build-many-glibcs.py: Likewise.
17007 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17008 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17009 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17010 elf_machine_matches_host, elf_machine_dynamic,
17011 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17012 howto, elf_machine_rela): Likewise.
17013 * sysdeps/tile/dl-start.S (_start): Likewise.
17014 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17015 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17016 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17017 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17018 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17019 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17021 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17022 * sysdeps/tile/preconfigure: Likewise.
17023 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17024 POINTER_CHK_GUARD): Likewise.
17025 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17026 * sysdeps/tile/start.S (_start): Likewise.
17027 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17029 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17030 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17032 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17033 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17034 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17036 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17037 * sysdeps/tile/tilepro/Implies: Remove file.
17038 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17039 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17040 * sysdeps/tile/tilepro/memchr.c: Likewise.
17041 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17042 * sysdeps/tile/tilepro/memset.c: Likewise.
17043 * sysdeps/tile/tilepro/memusage.h: Likewise.
17044 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17045 * sysdeps/tile/tilepro/strchr.c: Likewise.
17046 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17047 * sysdeps/tile/tilepro/strlen.c: Likewise.
17048 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17049 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17050 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17051 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17052 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17053 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17054 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17056 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17057 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17058 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17059 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17060 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17061 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17062 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17063 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17064 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17065 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17066 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17067 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17068 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17069 tilepro mention in comment.
17071 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17072 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17073 * nptl/pthread_join_common.c: New file: common function used on
17074 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17075 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17076 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17077 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17078 (cleanup): Move definition to pthread_join_common.c.
17079 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17080 Remove superflous checks.
17081 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17084 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17086 * sysdeps/aarch64/libm-test-ulps: Update.
17088 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17090 * sysdeps/aarch64/memset.S (MEMSET): Define.
17092 2017-12-20 Florian Weimer <fweimer@redhat.com>
17095 nptl: Provide full implementation of pthread_self in libc.so.
17096 * nptl/Makefile (routines): Add pthread_self.
17097 (libpthread-routines): Replace pthread_self with
17098 compat-pthread_self.
17099 * nptl/forward.c (pthread_self): Remove.
17100 * nptl/nptl-init.c (pthread_functions): Do not initialize
17102 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17103 * nptl/compat-pthread_self.c: New file.
17104 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17105 Remove ptr_pthread_self.
17107 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17109 * posix/regcomp.c: Fix spelling in comments.
17110 * posix/regex.h: Likewise.
17111 * posix/regex_internal.c: Likewise.
17112 * posix/regexec.c: Likewise.
17114 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17117 * math/Makefile [C++] (tests): Add test for iseqsig.
17118 * math/math.h [C++] (iseqsig): New implementation, which does
17119 not rely on __MATH_TG/__builtin_types_compatible_p.
17120 * math/test-math-iseqsig.cc: New file.
17121 * sysdeps/powerpc/powerpc64le/Makefile
17122 (CFLAGS-test-math-iseqsig.cc): New variable.
17124 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17126 * elf/dl-load.c (is_trusted_path): Remove.
17127 (fillin_rpath): Remove check_trusted argument and its use,
17128 all callers changed.
17130 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17133 * Makeconfig (link-pie-before-libc): Replace -pie with
17134 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17135 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17136 (tst-dlopen-aout-no-pie): New.
17137 (LDFLAGS-tst-prelink): Removed.
17138 (tst-prelink-no-pie): New.
17139 (LDFLAGS-tst-main1): Removed.
17140 (tst-main1-no-pie): New.
17141 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17142 (tst-gmon-no-pie): New.
17144 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17146 * manual/install.texi: Document that --enable-static-pie
17148 * INSTALL: Regenerated.
17150 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17153 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17156 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17160 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17164 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17166 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17167 <errno.h>. Include "eexp.tbl".
17168 (half): New constant.
17170 (__ieee754_exp): Rewrite.
17171 (__slowexp): Remove prototype.
17172 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17173 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17174 * sysdeps/i386/fpu/slowexp.c: Likewise.
17175 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17176 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17177 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17178 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17179 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17180 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17181 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17183 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17184 (CPPFLAGS-slowexp.c): Remove variable.
17185 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17186 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17187 (CFLAGS-slowexp-fma.c): Remove variable.
17188 (CFLAGS-slowexp-fma4.c): Likewise.
17189 (CFLAGS-slowexp-avx.c): Likewise.
17190 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17192 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17193 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17194 * math/Makefile (type-double-routines): Remove slowexp.
17195 * manual/probes.texi (slowexp_p6): Remove.
17196 (slowexp_p32): Likewise.
17198 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17200 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17203 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17205 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17209 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17211 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17212 <errno.h>. Include "eexp.tbl".
17213 (half): New constant.
17215 (__ieee754_exp): Rewrite.
17216 (__slowexp): Remove prototype.
17217 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17218 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17219 * sysdeps/i386/fpu/slowexp.c: Likewise.
17220 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17221 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17222 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17223 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17224 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17225 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17226 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17228 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17229 (CPPFLAGS-slowexp.c): Remove variable.
17230 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17231 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17232 (CFLAGS-slowexp-fma.c): Remove variable.
17233 (CFLAGS-slowexp-fma4.c): Likewise.
17234 (CFLAGS-slowexp-avx.c): Likewise.
17235 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17237 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17238 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17239 * math/Makefile (type-double-routines): Remove slowexp.
17240 * manual/probes.texi (slowexp_p6): Remove.
17241 (slowexp_p32): Likewise.
17243 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17244 James Clarke <jrtc27@jrtc27.com>
17247 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17250 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17253 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17256 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17259 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17260 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17261 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17262 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17265 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17268 * bits/types/__cancel_jmp_buf_tag.h: New file.
17269 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17270 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17271 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17272 * nptl/Makefile (headers): Add
17273 bits/types/__cancel_jmp_buf_tag.h.
17274 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17275 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17276 * sysdeps/nptl/pthread.h: Include
17277 <bits/types/__cancel_jmp_buf_tag.h>.
17278 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17280 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17282 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17284 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17285 --enable-static-pie variants to x86_64, x32 and i686.
17287 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17290 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17291 argument for attrubutes. All callers changed.
17292 (__inline_mathop1): Likewise. All callers changed.
17293 (__inline_mathop): Likewise. All callers changed.
17294 [__USE_MISC] (scalbn): Use __inline_forward instead of
17295 __inline_forward_c.
17296 [__USE_ISOC99] (scalbln): Likewise.
17297 [__USE_ISOC99] (nearbyint): Likewise.
17298 [__USE_ISOC99] (lrint): Likewise.
17299 [__USE_MISC] (scalbnf): Likewise.
17300 [__USE_ISOC99] (scalblnf): Likewise.
17301 [__USE_ISOC99] (nearbyintf): Likewise.
17302 [__USE_ISOC99] (lrintf): Likewise.
17303 [__USE_MISC] (scalbnl): Likewise.
17304 [__USE_ISOC99] (scalblnl): Likewise.
17305 [__USE_ISOC99] (nearbyintl): Likewise.
17306 [__USE_ISOC99] (lrintl): Likewise.
17307 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17308 __inline_mathop and __m81_defun changed.
17310 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17311 CPU or FPU for ARM hard-float configurations.
17313 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17315 * nptl/tst-attr3.c: Include <libc-diag.h>.
17316 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17318 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17320 * string/tester.c (test_strncat): Also disable -Warray-bounds
17321 warnings for two tests.
17323 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17326 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17327 $(cc-pie-default) == yes.
17328 * config.make.in (cc-pie-default): New.
17329 * configure.ac (libc_cv_pie_default): Renamed to ...
17330 (libc_cv_cc_pie_default): This.
17331 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17332 * configure: Regenerated.
17334 2017-12-18 Florian Weimer <fweimer@redhat.com>
17337 ld.so: Harden dl-libc/libdl hooks.
17338 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17339 (rtld_active): New function.
17340 * dlfcn/dladdr.c (__dladdr): Call it.
17341 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17342 * dlfcn/dlclose.c (__dlcose): Likewise.
17343 * dlfcn/dlerror.c (__dlerror): Likewise.
17344 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17345 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17346 * dlfcn/dlopen.c (__dlopen): Likewise.
17347 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17348 * dlfcn/dlsym.c (__dlsym): Likewise.
17349 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17350 * libio/vtables.c (_IO_vtable_check): Likewise.
17351 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17352 (__libc_dlclose): Likewise.
17353 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17356 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17359 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17360 buffers for readlink input and output.
17362 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17365 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17366 inhibit_stack_protector.
17369 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17370 inhibit_stack_protector.
17372 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17375 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17376 code and invocation.
17378 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17380 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17382 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17385 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17387 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17389 * sysdeps/s390/fpu/libm-test-ulps: Update.
17391 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17395 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17397 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17398 constants to s_sincosf.h file.
17399 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17400 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17402 * sysdeps/ieee754/flt-32/s_sincosf.h:
17405 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17408 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17411 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17414 * INSTALL: Regenerated.
17415 * Makeconfig (real-static-start-installed-name): New.
17416 (pic-default): Updated for --enable-static-pie.
17417 (pie-default): New for --enable-static-pie.
17418 (default-pie-ldflag): Likewise.
17419 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17420 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17421 Replace $(static-start-installed-name) with
17422 $(real-static-start-installed-name).
17423 (+prectorT): Updated for --enable-static-pie.
17424 (+postctorT): Likewise.
17425 (CFLAGS-.o): Add $(pie-default).
17426 (CFLAGS-.op): Likewise.
17427 * NEWS: Mention --enable-static-pie.
17428 * config.h.in (ENABLE_STATIC_PIE): New.
17429 * configure.ac (--enable-static-pie): New configure option.
17430 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17431 (have-static-pie): Likewise.
17432 Enable static PIE if linker supports --no-dynamic-linker.
17433 (ENABLE_STATIC_PIE): New AC_DEFINE.
17434 (enable-static-pie): New LIBC_CONFIG_VAR.
17435 * configure: Regenerated.
17436 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17437 gr$(start-installed-name) for --enable-static-pie.
17438 (extra-objs): Likewise.
17439 (install-lib): Likewise.
17440 (extra-objs): Add static-reloc.o and static-reloc.os
17441 ($(objpfx)$(start-installed-name)): Also depend on
17442 $(objpfx)static-reloc.o.
17443 ($(objpfx)r$(start-installed-name)): New.
17444 ($(objpfx)g$(start-installed-name)): Also depend on
17445 $(objpfx)static-reloc.os.
17446 ($(objpfx)gr$(start-installed-name)): New.
17447 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17449 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17451 * csu/static-reloc.c: New file.
17452 * elf/Makefile (routines): Add dl-reloc-static-pie.
17453 (elide-routines.os): Likewise.
17454 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17455 (tst-tls1-static-non-pie-no-pie): New.
17456 * elf/dl-reloc-static-pie.c: New file.
17457 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17458 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17459 STATIC_PIE_BOOTSTRAP.
17460 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17461 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17462 (tests-static): Likewise.
17463 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17464 (tst-gmon-static-no-pie): New.
17465 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17466 (CRT-tst-gmon-static-pie): Likewise.
17467 (tst-gmon-static-pie-ENV): Likewise.
17468 (tests-special): Likewise.
17469 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17470 (clean-tst-gmon-static-pie-data): Likewise.
17471 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17472 * gmon/tst-gmon-static-pie.c: New file.
17473 * manual/install.texi: Document --enable-static-pie.
17474 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17475 (_dl_get_dl_main_map): Likewise.
17476 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17477 * sysdeps/x86_64/configure.ac: Likewise.
17478 * sysdeps/i386/configure: Regenerated.
17479 * sysdeps/x86_64/configure: Likewise.
17480 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17481 (ASFLAGS-.op): Likewise.
17483 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17485 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17486 * posix/tst-mmap-offset.c (fname): Use /tmp.
17487 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17489 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17491 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17493 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17495 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17498 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17500 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17501 --with-float=hard for arm-linux-gnueabihf configurations.
17504 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17505 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17506 ($(mo-installed)): Use $(objpfx)%.mo.
17507 (realclean): Remove rule.
17509 * po/Makefile (linguas): Remove rule and dependencies.
17510 (linguas.mo): Likewise.
17511 (.PHONY): Do not depend on linguas and linguas.mo.
17512 (podir): Remove variable.
17513 (pofiles): Likewise.
17514 [$(pofiles)] (%.po): Remove rule.
17516 * sysdeps/sparc/sparc32/Makefile
17517 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17518 start-of-line whitespace in argument of echo.
17519 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17520 with whitespace. Generate __wrap_.udiv alias.
17521 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17522 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17523 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17524 * sysdeps/sparc/sparc32/urem.S: Likewise.
17526 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17528 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17529 for aligned inputs.
17531 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17533 * benchtests/bench-strcmp.c: Print output in JSON format.
17535 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17537 2017-12-14 Florian Weimer <fweimer@redhat.com>
17541 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17542 the expanded path string.
17544 2017-12-14 Florian Weimer <fweimer@redhat.com>
17548 * elf/dl-load.c (system_dirs): Update comment.
17549 (nsystem_dirs_len): Use array_length.
17550 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17552 2017-12-14 Florian Weimer <fweimer@redhat.com>
17554 Simplify compiling most of support/ outside of glibc.
17555 * support/check_addrinfo.c: Include <string.h>.
17556 * support/check_dns_packet.c: Likewise.
17557 * support/check_hostent.c: Likewise.
17558 * support/support_can_chroot.c: Include <support/xunistd.h>.
17559 * support/support_format_addrinfo.c: Include <stdlib.h>
17560 * support/support_format_dns_packet.c: Include <stdbool.h>.
17561 * support/support_format_hostent.c: Include <stdlib.h>.
17562 * support/support_format_netent.c: Likewise.
17563 * support/support_write_string.c: Include <support/xunistd.h>.
17564 * support/xdlfcn.c: Include <stddef.h>.
17566 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17568 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17570 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17571 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17573 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17574 (sysdeps_routines): Add memset-niagara7.
17575 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17577 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17579 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17580 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17581 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17582 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17583 Add niagara7 option.
17584 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17587 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17588 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17589 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17591 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17593 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17594 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17595 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17596 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17597 and __memmove_niagara7.
17598 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17599 Add niagara7 option.
17600 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17601 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17602 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17603 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17604 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17606 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17608 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17609 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17610 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17611 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17613 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17614 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17615 _dl_sparc_cap_flags array.
17616 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17618 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17620 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17621 time whenever possible.
17623 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17625 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17626 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17628 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17630 * soft-fp/fmadf4.c: Move to ....
17631 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17632 * soft-fp/fmasf4.c: Move to ....
17633 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17634 * soft-fp/fmatf4.c: Move to ....
17635 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17636 * sysdeps/ieee754/soft-fp/Makefile: New file.
17637 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17638 * sysdeps/arm/preconfigure: Regenerated.
17639 * sysdeps/arm/nofpu/Implies: New file.
17640 * sysdeps/arm/s_fma.c: Remove file.
17641 * sysdeps/arm/s_fmaf.c: Likewise.
17642 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17643 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17644 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17645 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17646 * sysdeps/microblaze/s_fma.c: Remove file.
17647 * sysdeps/microblaze/s_fmaf.c: Likewise.
17648 * sysdeps/mips/mips32/nofpu/Implies: New file.
17649 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17650 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17651 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17652 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17653 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17654 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17655 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17657 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17658 * sysdeps/nios2/s_fma.c: Remove file.
17659 * sysdeps/nios2/s_fmaf.c: Likewise.
17660 * sysdeps/sh/nofpu/Implies: New file.
17661 * sysdeps/sh/s_fma.c: Remove file.
17662 * sysdeps/sh/s_fmaf.c: Likewise.
17663 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17664 * sysdeps/tile/s_fma.c: Remove file.
17665 * sysdeps/tile/s_fmaf.c: Likewise.
17667 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17669 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17670 Add s_cosf-sse2 and s_cosf-fma.
17671 (CFLAGS-s_cosf-fma.c): New.
17672 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17673 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17674 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17676 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17678 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17680 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17682 * libio/Makefile (tests): Add tst-bz22415.
17683 (tst-bz22415-ENV): New rule.
17684 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17685 (tests-special): Add tst-bz22415-mem.out.
17686 ($(objpfx)tst-bz22415-mem.out): New rule.
17687 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17688 in case of a successful seek operation.
17689 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17690 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17691 buffer is required.
17692 * libio/tst-bz22415.c: New test.
17694 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17696 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17698 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17699 __IPC_64 to 0 to avoid IPC_64 being set.
17701 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17704 * math/bits/mathcalls.h (nextafter): Remove const.
17705 (nexttoward): Likewise.
17707 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17709 * configure.ac (--with-fp): Remove configure option.
17710 (with_fp_cond): New variable.
17711 (libc_cv_with_fp): New configure test. Use this variable instead
17713 * configure: Regenerated.
17714 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17715 * manual/install.texi (Configuring and compiling): Remove
17717 * INSTALL: Regenerated.
17718 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17719 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17720 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17721 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17722 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17723 use --without-fp to configure glibc.
17725 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17727 * manual/locale.texi (nl_langinfo): Fix a typo.
17729 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17732 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17734 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17736 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17737 (CFLAGS-argp-parse.c): Likewise.
17738 (CFLAGS-argp-fmtstream.c): Likewise.
17739 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17740 (CPPFLAGS-sha512-crypt.c): Likewise.
17741 (CPPFLAGS-md5-crypt.c): Likewise.
17742 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17743 (CFLAGS-stack_chk_fail_local.c): Likewise.
17744 (CFLAGS-backtrace.c): Likewise.
17745 (CFLAGS-sprintf_chk.c): Likewise.
17746 (CFLAGS-snprintf_chk.c): Likewise.
17747 (CFLAGS-vsprintf_chk.c): Likewise.
17748 (CFLAGS-vsnprintf_chk.c): Likewise.
17749 (CFLAGS-asprintf_chk.c): Likewise.
17750 (CFLAGS-vasprintf_chk.c): Likewise.
17751 (CFLAGS-obprintf_chk.c): Likewise.
17752 (CFLAGS-dprintf_chk.c): Likewise.
17753 (CFLAGS-vdprintf_chk.c): Likewise.
17754 (CFLAGS-printf_chk.c): Likewise.
17755 (CFLAGS-fprintf_chk.c): Likewise.
17756 (CFLAGS-vprintf_chk.c): Likewise.
17757 (CFLAGS-vfprintf_chk.c): Likewise.
17758 (CFLAGS-gets_chk.c): Likewise.
17759 (CFLAGS-fgets_chk.c): Likewise.
17760 (CFLAGS-fgets_u_chk.c): Likewise.
17761 (CFLAGS-fread_chk.c): Likewise.
17762 (CFLAGS-fread_u_chk.c): Likewise.
17763 (CFLAGS-swprintf_chk.c): Likewise.
17764 (CFLAGS-vswprintf_chk.c): Likewise.
17765 (CFLAGS-wprintf_chk.c): Likewise.
17766 (CFLAGS-fwprintf_chk.c): Likewise.
17767 (CFLAGS-vwprintf_chk.c): Likewise.
17768 (CFLAGS-vfwprintf_chk.c): Likewise.
17769 (CFLAGS-fgetws_chk.c): Likewise.
17770 (CFLAGS-fgetws_u_chk.c): Likewise.
17771 (CFLAGS-read_chk.c): Likewise.
17772 (CFLAGS-pread_chk.c): Likewise.
17773 (CFLAGS-pread64_chk.c): Likewise.
17774 (CFLAGS-recv_chk.c): Likewise.
17775 (CFLAGS-recvfrom_chk.c): Likewise.
17776 (CFLAGS-tst-longjmp_chk.c): Likewise.
17777 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17778 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17779 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17780 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17781 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17782 (CFLAGS-tst-chk1.c): Likewise.
17783 (CFLAGS-tst-chk2.c): Likewise.
17784 (CFLAGS-tst-chk3.c): Likewise.
17785 (CFLAGS-tst-chk4.cc): Likewise.
17786 (CFLAGS-tst-chk5.cc): Likewise.
17787 (CFLAGS-tst-chk6.cc): Likewise.
17788 (CFLAGS-tst-lfschk1.c): Likewise.
17789 (CFLAGS-tst-lfschk2.c): Likewise.
17790 (CFLAGS-tst-lfschk3.c): Likewise.
17791 (CFLAGS-tst-lfschk4.cc): Likewise.
17792 (CFLAGS-tst-lfschk5.cc): Likewise.
17793 (CFLAGS-tst-lfschk6.cc): Likewise.
17794 (CFLAGS-tst-ssp-1.c): Likewise.
17795 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17796 (CFLAGS-scandir64.c): Likewise.
17797 (CFLAGS-scandir-tail.c): Likewise.
17798 (CFLAGS-scandir64-tail.c): Likewise.
17799 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17800 (CFLAGS-dl-tunables.c): Likewise.
17801 (CFLAGS-dl-runtime.c): Likewise.
17802 (CFLAGS-dl-lookup.c): Likewise.
17803 (CFLAGS-dl-iterate-phdr.c): Likewise.
17804 (CFLAGS-vismain.c): Likewise.
17805 (CFLAGS-tst-linkall-static.c): Likewise.
17806 (CFLAGS-tst-linkall-static.c): Likewise.
17807 (CPPFLAGS-dl-load.c): Likewise.
17808 (CFLAGS-ldconfig.c): Likewise.
17809 (CFLAGS-dl-cache.c): Likewise.
17810 (CFLAGS-cache.c): Likewise.
17811 (CFLAGS-rtld.c): Likewise.
17812 (CFLAGS-multiload.c): Likewise.
17813 (CFLAGS-filtmod1.c): Likewise.
17814 (CFLAGS-tst-align.c): Likewise.
17815 (CFLAGS-tst-align2.c): Likewise.
17816 (CFLAGS-tst-alignmod.c): Likewise.
17817 (CFLAGS-tst-alignmod2.c): Likewise.
17818 (CPPFLAGS-tst-execstack.c): Likewise.
17819 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17820 (CFLAGS-tst-latepthreadmod.c): Likewise.
17821 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17822 (CFLAGS-getgrnam_r.c): Likewise.
17823 (CFLAGS-getgrent_r.c): Likewise.
17824 (CFLAGS-getgrent.c): Likewise.
17825 (CFLAGS-fgetgrent.c): Likewise.
17826 (CFLAGS-fgetgrent_r.c): Likewise.
17827 (CFLAGS-putgrent.c): Likewise.
17828 (CFLAGS-initgroups.c): Likewise.
17829 (CFLAGS-getgrgid.c): Likewise.
17830 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17831 (CFLAGS-getsgent.c): Likewise.
17832 (CFLAGS-fgetsgent.c): Likewise.
17833 (CFLAGS-fgetsgent_r.c): Likewise.
17834 (CFLAGS-putsgent.c): Likewise.
17835 (CFLAGS-getsgnam.c): Likewise.
17836 (CFLAGS-getsgnam_r.c): Likewise.
17837 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17838 (CFLAGS-iconv_charmap.c): Likewise.
17839 (CFLAGS-dummy-repertoire.c): Likewise.
17840 (CFLAGS-charmap.c): Likewise.
17841 (CFLAGS-linereader.c): Likewise.
17842 (CFLAGS-simple-hash.c): Likewise.
17843 (CFLAGS-gconv_conf.c): Likewise.
17844 (CFLAGS-iconvconfig.c): Likewise.
17845 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17846 (CFLAGS-gethstbyad.c): Likewise.
17847 (CFLAGS-gethstbynm_r.c): Likewise.
17848 (CFLAGS-gethstbynm.c): Likewise.
17849 (CFLAGS-gethstbynm2_r.c): Likewise.
17850 (CFLAGS-gethstbynm2.c): Likewise.
17851 (CFLAGS-gethstent_r.c): Likewise.
17852 (CFLAGS-gethstent.c): Likewise.
17853 (CFLAGS-rcmd.c): Likewise.
17854 (CFLAGS-getnetbynm_r.c): Likewise.
17855 (CFLAGS-getnetbynm.c): Likewise.
17856 (CFLAGS-getnetbyad_r.c): Likewise.
17857 (CFLAGS-getnetbyad.c): Likewise.
17858 (CFLAGS-getnetent_r.c): Likewise.
17859 (CFLAGS-getnetent.c): Likewise.
17860 (CFLAGS-getaliasent_r.c): Likewise.
17861 (CFLAGS-getaliasent.c): Likewise.
17862 (CFLAGS-getrpcent_r.c): Likewise.
17863 (CFLAGS-getrpcent.c): Likewise.
17864 (CFLAGS-getservent_r.c): Likewise.
17865 (CFLAGS-getservent.c): Likewise.
17866 (CFLAGS-getprtent_r.c): Likewise.
17867 (CFLAGS-getprtent.c): Likewise.
17868 (CFLAGS-either_ntoh.c): Likewise.
17869 (CFLAGS-either_hton.c): Likewise.
17870 (CFLAGS-getnetgrent.c): Likewise.
17871 (CFLAGS-getnetgrent_r.c): Likewise.
17872 (CFLAGS-tst-checks-posix.c): Likewise.
17873 (CFLAGS-tst-sockaddr.c): Likewise.
17874 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17875 (CFLAGS-tst-translit.c): Likewise.
17876 (CFLAGS-tst-gettext2.c): Likewise.
17877 (CFLAGS-tst-codeset.c): Likewise.
17878 (CFLAGS-tst-gettext3.c): Likewise.
17879 (CFLAGS-tst-gettext4.c): Likewise.
17880 (CFLAGS-tst-gettext5.c): Likewise.
17881 (CFLAGS-tst-gettext6.c): Likewise.
17882 * io/Makefile (CFLAGS-open.c): Likewise.
17883 (CFLAGS-open64.c): Likewise.
17884 (CFLAGS-creat.c): Likewise.
17885 (CFLAGS-creat64.c): Likewise.
17886 (CFLAGS-fcntl.c): Likewise.
17887 (CFLAGS-poll.c): Likewise.
17888 (CFLAGS-ppoll.c): Likewise.
17889 (CFLAGS-lockf.c): Likewise.
17890 (CFLAGS-statfs.c): Likewise.
17891 (CFLAGS-fstatfs.c): Likewise.
17892 (CFLAGS-statvfs.c): Likewise.
17893 (CFLAGS-fstatvfs.c): Likewise.
17894 (CFLAGS-fts.c): Likewise.
17895 (CFLAGS-fts64.c): Likewise.
17896 (CFLAGS-ftw.c): Likewise.
17897 (CFLAGS-ftw64.c): Likewise.
17898 (CFLAGS-lockf.c): Likewise.
17899 (CFLAGS-posix_fallocate.c): Likewise.
17900 (CFLAGS-posix_fallocate64.c): Likewise.
17901 (CFLAGS-fallocate.c): Likewise.
17902 (CFLAGS-fallocate64.c): Likewise.
17903 (CFLAGS-read.c): Likewise.
17904 (CFLAGS-write.c): Likewise.
17905 (CFLAGS-test-stat.c): Likewise.
17906 (CFLAGS-test-lfs.c): Likewise.
17907 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17908 (CFLAGS-fputc.c): Likewise.
17909 (CFLAGS-fputwc.c): Likewise.
17910 (CFLAGS-freopen64.c): Likewise.
17911 (CFLAGS-freopen.c): Likewise.
17912 (CFLAGS-fseek.c): Likewise.
17913 (CFLAGS-fseeko64.c): Likewise.
17914 (CFLAGS-fseeko.c): Likewise.
17915 (CFLAGS-ftello64.c): Likewise.
17916 (CFLAGS-ftello.c): Likewise.
17917 (CFLAGS-fwide.c): Likewise.
17918 (CFLAGS-genops.c): Likewise.
17919 (CFLAGS-getc.c): Likewise.
17920 (CFLAGS-getchar.c): Likewise.
17921 (CFLAGS-getwc.c): Likewise.
17922 (CFLAGS-getwchar.c): Likewise.
17923 (CFLAGS-iofclose.c): Likewise.
17924 (CFLAGS-iofflush.c): Likewise.
17925 (CFLAGS-iofgetpos64.c): Likewise.
17926 (CFLAGS-iofgetpos.c): Likewise.
17927 (CFLAGS-iofgets.c): Likewise.
17928 (CFLAGS-iofgetws.c): Likewise.
17929 (CFLAGS-iofputs.c): Likewise.
17930 (CFLAGS-iofputws.c): Likewise.
17931 (CFLAGS-iofread.c): Likewise.
17932 (CFLAGS-iofsetpos64.c): Likewise.
17933 (CFLAGS-iofsetpos.c): Likewise.
17934 (CFLAGS-ioftell.c): Likewise.
17935 (CFLAGS-iofwrite.c): Likewise.
17936 (CFLAGS-iogetdelim.c): Likewise.
17937 (CFLAGS-iogetline.c): Likewise.
17938 (CFLAGS-iogets.c): Likewise.
17939 (CFLAGS-iogetwline.c): Likewise.
17940 (CFLAGS-ioputs.c): Likewise.
17941 (CFLAGS-ioseekoff.c): Likewise.
17942 (CFLAGS-ioseekpos.c): Likewise.
17943 (CFLAGS-iosetbuffer.c): Likewise.
17944 (CFLAGS-iosetvbuf.c): Likewise.
17945 (CFLAGS-ioungetc.c): Likewise.
17946 (CFLAGS-ioungetwc.c): Likewise.
17947 (CFLAGS-oldfileops.c): Likewise.
17948 (CFLAGS-oldiofclose.c): Likewise.
17949 (CFLAGS-oldiofgetpos64.c): Likewise.
17950 (CFLAGS-oldiofgetpos.c): Likewise.
17951 (CFLAGS-oldiofsetpos64.c): Likewise.
17952 (CFLAGS-oldiofsetpos.c): Likewise.
17953 (CFLAGS-peekc.c): Likewise.
17954 (CFLAGS-putc.c): Likewise.
17955 (CFLAGS-putchar.c): Likewise.
17956 (CFLAGS-putwc.c): Likewise.
17957 (CFLAGS-putwchar.c): Likewise.
17958 (CFLAGS-rewind.c): Likewise.
17959 (CFLAGS-wfileops.c): Likewise.
17960 (CFLAGS-wgenops.c): Likewise.
17961 (CFLAGS-oldiofopen.c): Likewise.
17962 (CFLAGS-iofopen.c): Likewise.
17963 (CFLAGS-iofopen64.c): Likewise.
17964 (CFLAGS-oldtmpfile.c): Likewise.
17965 (CFLAGS-tst_putwc.c): Likewise.
17966 * locale/Makefile (CFLAGS-md5.c): Likewise.
17967 (CFLAGS-charmap.c): Likewise.
17968 (CFLAGS-locfile.c): Likewise.
17969 (CFLAGS-charmap-dir.c): Likewise.
17970 * login/Makefile (CFLAGS-grantpt.c): Likewise.
17971 (CFLAGS-getpt.c): Likewise.
17972 (CFLAGS-pt_chown.c): Likewise.
17973 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
17974 (CFLAGS-obstack.c): Likewise.
17975 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
17976 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
17977 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
17978 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
17979 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
17980 (CFLAGS-test-tgmath.c): Likewise.
17981 (CFLAGS-test-tgmath2.c): Likewise.
17982 (CFLAGS-test-tgmath-ret.c): Likewise.
17983 (CFLAGS-test-powl.c): Likewise.
17984 (CFLAGS-test-snan.c): Likewise.
17985 (CFLAGS-test-signgam-finite.c): Likewise.
17986 (CFLAGS-test-signgam-finite-c99.c): Likewise.
17987 (CFLAGS-test-signgam-finite-c11.c): Likewise.
17988 (CFLAGS-test-signgam-uchar.c): Likewise.
17989 (CFLAGS-test-signgam-uchar-init.c): Likewise.
17990 (CFLAGS-test-signgam-uchar-static.c): Likewise.
17991 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17992 (CFLAGS-test-signgam-uint.c): Likewise.
17993 (CFLAGS-test-signgam-uint-init.c): Likewise.
17994 (CFLAGS-test-signgam-uint-static.c): Likewise.
17995 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17996 (CFLAGS-test-signgam-ullong.c): Likewise.
17997 (CFLAGS-test-signgam-ullong-init.c): Likewise.
17998 (CFLAGS-test-signgam-ullong-static.c): Likewise.
17999 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18000 (CFLAGS-test-math-cxx11.cc): Likewise.
18001 (CFLAGS-test-math-isinff.cc): Likewise.
18002 (CFLAGS-test-math-iszero.cc): Likewise.
18003 (CFLAGS-test-math-issignaling.cc): Likewise.
18004 (CFLAGS-test-math-iscanonical.cc): Likewise.
18005 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18006 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18007 (CFLAGS-test-flt-eval-method.c): Likewise.
18008 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18009 (CFLAGS-test-finite-macros.c): Likewise.
18010 * misc/Makefile (CFLAGS-select.c): Likewise.
18011 (CFLAGS-tsearch.c): Likewise.
18012 (CFLAGS-lsearch.c): Likewise.
18013 (CFLAGS-pselect.c): Likewise.
18014 (CFLAGS-readv.c): Likewise.
18015 (CFLAGS-writev.c): Likewise.
18016 (CFLAGS-preadv.c): Likewise.
18017 (CFLAGS-preadv64.c): Likewise.
18018 (CFLAGS-pwritev.c): Likewise.
18019 (CFLAGS-pwritev64.c): Likewise.
18020 (CFLAGS-preadv2.c): Likewise.
18021 (CFLAGS-preadv64v2.c): Likewise.
18022 (CFLAGS-pwritev2.c): Likewise.
18023 (CFLAGS-pwritev64v2.c): Likewise.
18024 (CFLAGS-usleep.c): Likewise.
18025 (CFLAGS-syslog.c): Likewise.
18026 (CFLAGS-error.c): Likewise.
18027 (CFLAGS-getpass.c): Likewise.
18028 (CFLAGS-mkstemp.c): Likewise.
18029 (CFLAGS-mkstemp64.c): Likewise.
18030 (CFLAGS-getsysstats.c): Likewise.
18031 (CFLAGS-getusershell.c): Likewise.
18032 (CFLAGS-err.c): Likewise.
18033 (CFLAGS-tst-tsearch.c): Likewise.
18034 (CFLAGS-msync.c): Likewise.
18035 (CFLAGS-fdatasync.c): Likewise.
18036 (CFLAGS-fsync.c): Likewise.
18037 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18038 (CFLAGS-unwind.c): Likewise.
18039 (CFLAGS-unwind-forcedunwind.c): Likewise.
18040 (CFLAGS-pthread_cancel.c): Likewise.
18041 (CFLAGS-pthread_setcancelstate.c): Likewise.
18042 (CFLAGS-pthread_setcanceltype.c): Likewise.
18043 (CFLAGS-cancellation.c): Likewise.
18044 (CFLAGS-libc-cancellation.c): Likewise.
18045 (CFLAGS-pthread_exit.c): Likewise.
18046 (CFLAGS-forward.c): Likewise.
18047 (CFLAGS-pthread_testcancel.c): Likewise.
18048 (CFLAGS-pthread_join.c): Likewise.
18049 (CFLAGS-pthread_timedjoin.c): Likewise.
18050 (CFLAGS-pthread_once.c): Likewise.
18051 (CFLAGS-pthread_cond_wait.c): Likewise.
18052 (CFLAGS-sem_wait.c): Likewise.
18053 (CFLAGS-sem_timedwait.c): Likewise.
18054 (CFLAGS-fcntl.c): Likewise.
18055 (CFLAGS-lockf.c): Likewise.
18056 (CFLAGS-pread.c): Likewise.
18057 (CFLAGS-pread64.c): Likewise.
18058 (CFLAGS-pwrite.c): Likewise.
18059 (CFLAGS-pwrite64.c): Likewise.
18060 (CFLAGS-wait.c): Likewise.
18061 (CFLAGS-waitpid.c): Likewise.
18062 (CFLAGS-sigwait.c): Likewise.
18063 (CFLAGS-msgrcv.c): Likewise.
18064 (CFLAGS-msgsnd.c): Likewise.
18065 (CFLAGS-tcdrain.c): Likewise.
18066 (CFLAGS-open.c): Likewise.
18067 (CFLAGS-open64.c): Likewise.
18068 (CFLAGS-pause.c): Likewise.
18069 (CFLAGS-recv.c): Likewise.
18070 (CFLAGS-send.c): Likewise.
18071 (CFLAGS-accept.c): Likewise.
18072 (CFLAGS-sendto.c): Likewise.
18073 (CFLAGS-connect.c): Likewise.
18074 (CFLAGS-recvfrom.c): Likewise.
18075 (CFLAGS-recvmsg.c): Likewise.
18076 (CFLAGS-sendmsg.c): Likewise.
18077 (CFLAGS-close.c): Likewise.
18078 (CFLAGS-read.c): Likewise.
18079 (CFLAGS-write.c): Likewise.
18080 (CFLAGS-nanosleep.c): Likewise.
18081 (CFLAGS-sigsuspend.c): Likewise.
18082 (CFLAGS-msync.c): Likewise.
18083 (CFLAGS-fdatasync.c): Likewise.
18084 (CFLAGS-fsync.c): Likewise.
18085 (CFLAGS-pt-system.c): Likewise.
18086 (CFLAGS-tst-cleanup2.c): Likewise.
18087 (CFLAGS-tst-cleanupx2.c): Likewise.
18088 (CFLAGS-flockfile.c): Likewise.
18089 (CFLAGS-ftrylockfile.c): Likewise.
18090 (CFLAGS-funlockfile.c): Likewise.
18091 (CFLAGS-tst-initializers1.c): Likewise.
18092 (CFLAGS-tst-initializers1-c89.c): Likewise.
18093 (CFLAGS-tst-initializers1-c99.c): Likewise.
18094 (CFLAGS-tst-initializers1-c11.c): Likewise.
18095 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18096 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18097 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18098 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18099 (CFLAGS-nscd_getgr_r.c): Likewise.
18100 (CFLAGS-nscd_gethst_r.c): Likewise.
18101 (CFLAGS-nscd_getai.c): Likewise.
18102 (CFLAGS-nscd_initgroups.c): Likewise.
18103 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18104 (CFLAGS-pause.c): Likewise.
18105 (CFLAGS-pread.c): Likewise.
18106 (CFLAGS-pread64.c): Likewise.
18107 (CFLAGS-pwrite.c): Likewise.
18108 (CFLAGS-pwrite64.c): Likewise.
18109 (CFLAGS-sleep.c): Likewise.
18110 (CFLAGS-wait.c): Likewise.
18111 (CFLAGS-waitid.c): Likewise.
18112 (CFLAGS-waitpid.c): Likewise.
18113 (CFLAGS-getopt.c): Likewise.
18114 (CFLAGS-wordexp.c): Likewise.
18115 (CFLAGS-sysconf.c): Likewise.
18116 (CFLAGS-pathconf.c): Likewise.
18117 (CFLAGS-fpathconf.c): Likewise.
18118 (CFLAGS-spawn.c): Likewise.
18119 (CFLAGS-spawnp.c): Likewise.
18120 (CFLAGS-spawni.c): Likewise.
18121 (CFLAGS-glob.c): Likewise.
18122 (CFLAGS-glob64.c): Likewise.
18123 (CFLAGS-getconf.c): Likewise.
18124 (CFLAGS-nanosleep.c): Likewise.
18125 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18126 (CFLAGS-getpwent.c): Likewise.
18127 (CFLAGS-getpw.c): Likewise.
18128 (CFLAGS-fgetpwent_r.c): Likewise.
18129 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18130 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18131 (CFLAGS-mq_timedreceive.c): Likewise.
18132 (CFLAGS-mq_timedsend.c): Likewise.
18133 (CFLAGS-clock_nanosleep.c): Likewise.
18134 (CFLAGS-librt-cancellation.c): Likewise.
18135 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18136 (CFLAGS-getspent.c): Likewise.
18137 (CFLAGS-fgetspent.c): Likewise.
18138 (CFLAGS-fgetspent_r.c): Likewise.
18139 (CFLAGS-putspent.c): Likewise.
18140 (CFLAGS-getspnam.c): Likewise.
18141 (CFLAGS-getspnam_r.c): Likewise.
18142 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18143 (CFLAGS-sigsuspend.c): Likewise.
18144 (CFLAGS-sigtimedwait.c): Likewise.
18145 (CFLAGS-sigwait.c): Likewise.
18146 (CFLAGS-sigwaitinfo.c): Likewise.
18147 (CFLAGS-sigreturn.c): Likewise.
18148 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18149 (CFLAGS-vfwprintf.c): Likewise.
18150 (CFLAGS-tmpfile.c): Likewise.
18151 (CFLAGS-tmpfile64.c): Likewise.
18152 (CFLAGS-tempname.c): Likewise.
18153 (CFLAGS-psignal.c): Likewise.
18154 (CFLAGS-vprintf.c): Likewise.
18155 (CFLAGS-cuserid.c): Likewise.
18156 (CFLAGS-errlist.c): Likewise.
18157 (CFLAGS-siglist.c): Likewise.
18158 (CFLAGS-scanf15.c): Likewise.
18159 (CFLAGS-scanf17.c): Likewise.
18160 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18161 (CFLAGS-msort.c): Likewise.
18162 (CFLAGS-qsort.c): Likewise.
18163 (CFLAGS-system.c): Likewise.
18164 (CFLAGS-fmtmsg.c): Likewise.
18165 (CFLAGS-strfmon.c): Likewise.
18166 (CFLAGS-strfmon_l.c): Likewise.
18167 (CFLAGS-strfromd.c): Likewise.
18168 (CFLAGS-strfromf.c): Likewise.
18169 (CFLAGS-strfroml.c): Likewise.
18170 (CFLAGS-tst-bsearch.c): Likewise.
18171 (CFLAGS-tst-qsort.c): Likewise.
18172 (CFLAGS-tst-makecontext2.c): Likewise.
18173 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18174 (CFLAGS-xnlm_prot.c): Likewise.
18175 (CFLAGS-xrstat.c): Likewise.
18176 (CFLAGS-xyppasswd.c): Likewise.
18177 (CFLAGS-xklm_prot.c): Likewise.
18178 (CFLAGS-xrex.c): Likewise.
18179 (CFLAGS-xsm_inter.c): Likewise.
18180 (CFLAGS-xmount.c): Likewise.
18181 (CFLAGS-xrusers.c): Likewise.
18182 (CFLAGS-xspray.c): Likewise.
18183 (CFLAGS-xnfs_prot.c): Likewise.
18184 (CFLAGS-xrquota.c): Likewise.
18185 (CFLAGS-xkey_prot.c): Likewise.
18186 (CFLAGS-auth_unix.c): Likewise.
18187 (CFLAGS-key_call.c): Likewise.
18188 (CFLAGS-pmap_rmt.c): Likewise.
18189 (CFLAGS-clnt_perr.c): Likewise.
18190 (CFLAGS-openchild.c): Likewise.
18191 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18192 (CFLAGS-msgsnd.c): Likewise.
18193 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18194 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18195 (CFLAGS-tzset.c): Likewise.
18196 (CFLAGS-getdate.c): Likewise.
18197 (CFLAGS-test_time.c): Likewise.
18198 (CPPFLAGS-tst-tzname.c): Likewise.
18199 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18200 (CFLAGS-zic.c): Likewise.
18201 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18202 (CFLAGS-wcswidth.c): Likewise.
18203 (CFLAGS-wcstol.c): Likewise.
18204 (CFLAGS-wcstoul.c): Likewise.
18205 (CFLAGS-wcstoll.c): Likewise.
18206 (CFLAGS-wcstoull.c): Likewise.
18207 (CFLAGS-wcstod.c): Likewise.
18208 (CFLAGS-wcstold.c): Likewise.
18209 (CFLAGS-wcstof128.c): Likewise.
18210 (CFLAGS-wcstof.c): Likewise.
18211 (CFLAGS-wcstol_l.c): Likewise.
18212 (CFLAGS-wcstoul_l.c): Likewise.
18213 (CFLAGS-wcstoll_l.c): Likewise.
18214 (CFLAGS-wcstoull_l.c): Likewise.
18215 (CFLAGS-wcstod_l.c): Likewise.
18216 (CFLAGS-wcstold_l.c): Likewise.
18217 (CFLAGS-wcstof128_l.c): Likewise.
18218 (CFLAGS-wcstof_l.c): Likewise.
18219 (CPPFLAGS-tst-wchar-h.c): Likewise.
18220 (CPPFLAGS-wcstold_l.c): Likewise.
18222 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18224 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18226 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18227 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18229 * manual/tunables.texi (Hardware Capability Tunables): Document
18230 glibc.tune.cached_memopt.
18231 * sysdeps/powerpc/cpu-features.c: New file.
18232 * sysdeps/powerpc/cpu-features.h: New file.
18233 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18234 _dl_powerpc_cpu_features.
18235 * sysdeps/powerpc/dl-tunables.list: New file.
18236 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18237 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18238 (INIT_ARCH): Initialize use_aligned_memopt.
18239 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18240 IS_IN(rtld))]: Restrict dl_platform_init availability and
18241 initialize CPU features used by tunables.
18242 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18243 Add memcpy-power8-cached.
18244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18245 __memcpy_power8_cached.
18246 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18247 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18250 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18252 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18253 (CFLAGS-noinl-tester.c): Likewise.
18254 (CFLAGS-tst-strlen.c): Likewise.
18255 (CFLAGS-stratcliff.c): Likewise.
18256 (CFLAGS-test-ffs.c): Likewise.
18257 (CFLAGS-tst-inlcall.c): Likewise.
18258 (CFLAGS-tst-xbzero-opt.c): Likewise.
18259 (CFLAGS-memcpy.c): Likewise.
18260 (CFLAGS-wordcopy.c): Likewise.
18262 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18264 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18265 Store r15 on stack and add cfi rule.
18266 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18269 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18272 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18275 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18277 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18278 Add s_sinf-sse2 and s_sinf-fma.
18279 (CFLAGS-s_sinf-fma.c): New.
18280 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18281 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18282 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18284 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18286 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18288 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18291 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18292 part of result to imaginary part of argument if it is zero and the
18293 real part of the argument is not finite.
18294 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18295 of result to real part of argument if it is zero and the imaginary
18296 part of the argument is not finite.
18298 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18301 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18302 and to the list of locales to be built for testing.
18303 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18304 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18305 and build the collation rules upon that.
18307 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18309 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18310 * manual/math.texi (Mathematics): Document support for _Float32.
18311 * math/Makefile (test-types): Add float32.
18312 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18313 * stdlib/Versions (GLIBC_2.27): Likewise.
18314 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18315 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18316 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18317 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18318 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18319 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18320 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18321 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18322 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18323 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18324 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18325 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18326 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18327 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18328 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18329 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18330 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18331 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18332 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18333 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18334 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18335 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18337 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18338 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18339 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18340 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18341 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18359 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18360 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18361 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18362 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18363 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18364 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18365 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18366 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18367 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18368 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18377 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18378 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18379 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18380 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18381 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18382 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18383 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18384 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18386 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18388 * stdlib/strtof.c: Include <bits/floatn.h>
18389 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18390 and later undefine as macro. Define as weak alias if
18392 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18393 and later undefine as macro. Define as weak alias if
18395 * stdlib/strtof_l.c: Include <bits/floatn.h>
18396 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18397 and later undefine as macro. Define as weak alias if
18399 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18400 and later undefine as macro. Define as weak alias if
18403 * stdlib/strfromf.c: Include <bits/floatn.h>.
18404 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18405 and later undefine as macro and define as weak alias.
18407 * math/test-float32.h: New file.
18409 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18410 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18411 (libm_alias_float_other_r): Create f32 alias.
18412 (libm_alias_float_r): Use semicolon before call to
18413 libm_alias_float_other_r.
18415 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18416 second argument to libm_alias_float_other.
18417 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18418 second argument to libm_alias_float_other.
18419 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18420 argument to libm_alias_float_other.
18423 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18424 real part of result for argument 0 + i * NaN.
18425 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18426 results for tests of 0 + i * NaN.
18428 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18430 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18432 2017-12-06 David S. Miller <davem@davemloft.net>
18434 * sysdeps/sparc/fpu/libm-test-ulps: Update
18435 exp_{downward,towardzero,upward} ulps.
18437 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18439 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18442 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18444 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18446 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18448 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18451 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18454 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18455 and to the list of locales to be built for testing.
18456 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18457 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18458 and build the collation rules upon that.
18460 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18462 * NEWS: Add sinf to list of optimized functions.
18464 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18466 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18467 (__HAVE_FLOAT32X): Likewise.
18468 * manual/math.texi (Mathematics): Document support for _Float64
18470 * math/Makefile (test-types): Add float64 and float32x.
18471 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18473 * stdlib/Versions (GLIBC_2.27): Likewise.
18474 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18475 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18476 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18477 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18478 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18479 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18480 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18481 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18482 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18483 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18484 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18485 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18486 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18487 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18488 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18489 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18490 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18491 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18492 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18493 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18494 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18495 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18497 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18498 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18499 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18500 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18501 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18518 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18519 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18520 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18523 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18524 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18525 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18526 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18527 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18536 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18537 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18538 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18539 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18540 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18541 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18542 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18543 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18545 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18547 * bits/floatn-common.h: Include <bits/long-double.h>.
18548 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18549 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18550 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18551 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18552 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18553 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18554 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18555 (__builtin_huge_valf64): Use __builtin_huge_vall.
18556 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18557 (__builtin_inff64): Use __builtin_infl.
18558 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18559 (__builtin_nanf64): Use __builtin_nanl.
18560 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18561 (__builtin_nansf64): Use __builtin_nansl.
18563 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18564 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18565 Carlos O'Donnell <carlos@redhat.com>
18567 * elf/dl-tunables.list: Add elision parameters.
18568 * manual/tunables.texi: Add entries about elision tunable.
18569 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18570 Add callback functions to dynamically enable/disable elision.
18571 Add multiple callbacks functions to set elision parameters.
18572 Deleted __libc_enable_secure check.
18573 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18574 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18575 * configure: Regenerated.
18576 * configure.ac: Option enable_lock_elision was deleted.
18577 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18578 * config.make.in: Remove references to enable_lock_elision.
18579 * manual/install.texi: Elision configure option was removed.
18580 * INSTALL: Regenerated to remove enable_lock_elision.
18582 Disable elision so it can verify error case for destroying a mutex.
18583 * sysdeps/powerpc/nptl/elide.h:
18584 Cleanup ENABLE_LOCK_ELISION check.
18585 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18586 * sysdeps/s390/configure: Regenerated.
18587 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18588 * nptl/tst-mutex8.c:
18589 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18590 * sysdeps/powerpc/powerpc32/sysdep.h:
18591 Deleted all ENABLE_LOCK_ELISION checks.
18592 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18593 * sysdeps/powerpc/sysdep.h: Likewise.
18594 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18595 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18596 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18597 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18598 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18599 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18600 enable-lock-elision.
18602 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18604 * stdlib/strtod.c: Include <bits/floatn.h>.
18605 (BUILD_DOUBLE): New macro.
18606 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18607 (strtof64): Define and later undefine as macro. Define as weak
18608 alias if [!USE_WIDE_CHAR].
18609 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18610 (wcstof64): Define and later undefine as macro. Define as weak
18611 alias if [USE_WIDE_CHAR].
18612 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18613 (strtof32x): Define and later undefine as macro. Define as weak
18614 alias if [!USE_WIDE_CHAR].
18615 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18616 (wcstof32x): Define and later undefine as macro. Define as weak
18617 alias if [USE_WIDE_CHAR].
18618 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18619 (BUILD_DOUBLE): New macro.
18620 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18621 (strtof64_l): Define and later undefine as macro. Define as weak
18622 alias if [!USE_WIDE_CHAR].
18623 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18624 (wcstof64_l): Define and later undefine as macro. Define as weak
18625 alias if [USE_WIDE_CHAR].
18626 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18627 (strtof32x_l): Define and later undefine as macro. Define as weak
18628 alias if [!USE_WIDE_CHAR].
18629 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18630 (wcstof32x_l): Define and later undefine as macro. Define as weak
18631 alias if [USE_WIDE_CHAR].
18633 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18635 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18636 (reduced): Use ones as double instead of integer.
18638 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18640 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18642 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18644 * stdlib/strfromd.c: Include <bits/floatn.h>.
18645 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18646 and later undefine as macro and define as weak alias.
18647 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18650 * math/test-float32x.h: New file.
18651 * math/test-float64.h: Likewise.
18653 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18654 (libm_alias_double_other_r_f64): New macro.
18655 (libm_alias_double_other_r_f32x): Likewise.
18656 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18657 libm_alias_double_other_r_f32x.
18658 (libm_alias_double_r): Use semicolon before call to
18659 libm_alias_double_other_r.
18660 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18662 (libm_alias_double_other_r_f64): New macro.
18663 (libm_alias_double_other_r_f32x): Likewise.
18664 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18665 libm_alias_double_other_r_f32x.
18667 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18669 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18671 (SINF_FUNC): Likewise. Replace floor with simple casts.
18673 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18676 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18677 and to the list of locales to be built for testing.
18678 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18679 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18680 and build the collation rules upon that.
18682 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18684 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18685 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18686 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18687 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18688 instead of __insn__xxx.
18689 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18690 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18691 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18692 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18693 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18694 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18696 2017-12-05 Florian Weimer <fweimer@redhat.com>
18698 Linux: Implement interfaces for memory protection keys
18699 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18701 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18702 * support/xunistd.h (xsysconf): Declare.
18703 * support/xraise.c: New file.
18704 * support/xsigaction.c: Likewise.
18705 * support/xsignal.c: Likewise.
18706 * support/xsysconf.c: Likewise.
18707 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18708 pkey_set, pkey_get, pkey_mprotect.
18709 [misc] (tests): Add tst-pkey.
18710 (tst-pkey): Link with -lpthread.
18711 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18712 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18713 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18714 (PKEY_DISABLE_WRITE): Define.
18715 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18717 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18718 (SEGV_PKUERR): Add.
18719 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18720 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18721 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18722 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18724 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18725 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18726 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18727 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18728 * sysdeps/unix/sysv/linux/**.abilist: Update.
18730 2017-12-05 Florian Weimer <fweimer@redhat.com>
18732 * support/tst-test_compare.c (subprocess): Use long long instead
18733 of long argument for consistent type width across 32-bit and
18734 64-bit architectures.
18735 (do_test): Adjust expected output.
18737 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18739 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18740 (cosf): Define using libm_alias_float.
18741 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18742 (fabsf): Define using libm_alias_float.
18743 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18744 (fmaf): Define using libm_alias_float.
18745 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18746 (rintf): Define using libm_alias_float.
18747 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18748 (sinf): Define using libm_alias_float.
18749 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18750 <libm-alias-float.h>.
18751 (modff): Define using libm_alias_float.
18752 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18753 <libm-alias-float.h>.
18754 (logbf): Define using libm_alias_float.
18755 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18756 <libm-alias-float.h>.
18757 (ceilf): Define using libm_alias_float.
18758 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18759 <libm-alias-float.h>.
18760 (copysignf): Define using libm_alias_float.
18761 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18762 <libm-alias-float.h>.
18763 (floorf): Define using libm_alias_float.
18764 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18765 <libm-alias-float.h>.
18766 (llrintf): Define using libm_alias_float.
18767 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18768 <libm-alias-float.h>.
18769 (llroundf): Define using libm_alias_float.
18770 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18771 <libm-alias-float.h>.
18772 (lrintf): Define using libm_alias_float.
18773 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18774 <libm-alias-float.h>.
18775 (lroundf): Define using libm_alias_float.
18776 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18777 <libm-alias-float.h>.
18778 (nearbyintf): Define using libm_alias_float.
18779 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18780 <libm-alias-float.h>.
18781 (rintf): Define using libm_alias_float.
18782 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18783 <libm-alias-float.h>.
18784 (roundf): Define using libm_alias_float.
18785 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18786 <libm-alias-float.h>.
18787 (truncf): Define using libm_alias_float.
18788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18789 Include <libm-alias-float.h>.
18790 (ceilf): Define using libm_alias_float.
18791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18792 Include <libm-alias-float.h>.
18793 (copysignf): Define using libm_alias_float.
18794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18795 Include <libm-alias-float.h>.
18796 (floorf): Define using libm_alias_float.
18797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18798 Include <libm-alias-float.h>.
18799 (llrintf): Define using libm_alias_float.
18800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18801 Include <libm-alias-float.h>.
18802 (llroundf): Define using libm_alias_float.
18803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18804 Include <libm-alias-float.h>.
18805 (logbf): Define using libm_alias_float.
18806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18807 Include <libm-alias-float.h>.
18808 (lrintf): Define using libm_alias_float.
18809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18810 Include <libm-alias-float.h>.
18811 (lroundf): Define using libm_alias_float.
18812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18813 Include <libm-alias-float.h>.
18814 (modff): Define using libm_alias_float.
18815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18816 Include <libm-alias-float.h>.
18817 (roundf): Define using libm_alias_float.
18818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18819 Include <libm-alias-float.h>.
18820 (truncf): Define using libm_alias_float.
18821 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18822 <libm-alias-float.h>.
18823 (llrintf): Define using libm_alias_float.
18824 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18825 <libm-alias-float.h>.
18826 (llroundf): Define using libm_alias_float.
18827 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18828 <libm-alias-float.h>.
18829 (ceilf): Define using libm_alias_float.
18830 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18831 <libm-alias-float.h>.
18832 (floorf): Define using libm_alias_float.
18833 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18834 <libm-alias-float.h>.
18835 (llroundf): Define using libm_alias_float.
18836 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18837 <libm-alias-float.h>.
18838 (lroundf): Define using libm_alias_float.
18839 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18840 <libm-alias-float.h>.
18841 (roundf): Define using libm_alias_float.
18842 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18843 <libm-alias-float.h>.
18844 (truncf): Define using libm_alias_float.
18845 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18846 <libm-alias-float.h>.
18847 (copysignf): Define using libm_alias_float.
18848 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18849 <libm-alias-float.h>.
18850 (llrintf): Define using libm_alias_float.
18851 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18852 <libm-alias-float.h>.
18853 (llroundf): Define using libm_alias_float.
18854 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18855 <libm-alias-float.h>.
18856 (lrintf): Define using libm_alias_float.
18857 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18858 <libm-alias-float.h>.
18859 (lroundf): Define using libm_alias_float.
18860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18861 <libm-alias-float.h>.
18862 (ceilf): Define using libm_alias_float.
18863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18864 <libm-alias-float.h>.
18865 (copysignf): Define using libm_alias_float.
18866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18867 <libm-alias-float.h>.
18868 (cosf): Define using libm_alias_float.
18869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18870 <libm-alias-float.h>.
18871 (floorf): Define using libm_alias_float.
18872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18873 <libm-alias-float.h>.
18874 (llrintf): Define using libm_alias_float.
18875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18876 <libm-alias-float.h>.
18877 (llroundf): Define using libm_alias_float.
18878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18879 <libm-alias-float.h>.
18880 (logbf): Define using libm_alias_float.
18881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18882 <libm-alias-float.h>.
18883 (modff): Define using libm_alias_float.
18884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18885 <libm-alias-float.h>.
18886 (roundf): Define using libm_alias_float.
18887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18888 <libm-alias-float.h>.
18889 (sinf): Define using libm_alias_float.
18890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18891 <libm-alias-float.h>.
18892 (truncf): Define using libm_alias_float.
18893 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18894 <libm-alias-float.h>.
18895 (ceilf): Define using libm_alias_float.
18896 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18897 <libm-alias-float.h>.
18898 (copysignf): Define using libm_alias_float.
18899 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18900 <libm-alias-float.h>.
18901 (floorf): Define using libm_alias_float.
18902 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18903 <libm-alias-float.h>.
18904 (llrintf): Define using libm_alias_float.
18905 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18906 <libm-alias-float.h>.
18907 (llroundf): Define using libm_alias_float.
18908 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18909 <libm-alias-float.h>.
18910 (nearbyintf): Define using libm_alias_float.
18911 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18912 <libm-alias-float.h>.
18913 (rintf): Define using libm_alias_float.
18914 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18915 <libm-alias-float.h>.
18916 (roundf): Define using libm_alias_float.
18917 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18918 <libm-alias-float.h>.
18919 (truncf): Define using libm_alias_float.
18920 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18921 <libm-alias-float.h>.
18922 (ceilf): Define using libm_alias_float.
18923 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18924 <libm-alias-float.h>.
18925 (floorf): Define using libm_alias_float.
18926 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18927 <libm-alias-float.h>.
18928 (llroundf): Define using libm_alias_float.
18929 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18930 <libm-alias-float.h>.
18931 (roundf): Define using libm_alias_float.
18932 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18933 <libm-alias-float.h>.
18934 (truncf): Define using libm_alias_float.
18935 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18936 <libm-alias-float.h>.
18937 (copysignf): Define using libm_alias_float.
18938 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18939 <libm-alias-float.h>.
18940 (llrintf): Define using libm_alias_float.
18941 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18942 <libm-alias-float.h>.
18943 (llroundf): Define using libm_alias_float.
18944 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18945 <libm-alias-float.h>.
18946 (cosf): Define using libm_alias_float.
18947 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18948 <libm-alias-float.h>.
18949 (llrintf): Define using libm_alias_float.
18950 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18951 <libm-alias-float.h>.
18952 (llroundf): Define using libm_alias_float.
18953 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18954 <libm-alias-float.h>.
18955 (sinf): Define using libm_alias_float.
18957 2017-12-04 Florian Weimer <fweimer@redhat.com>
18959 * support/check.h (TEST_COMPARE): Define.
18960 (support_test_compare_failure): Declare.
18961 * support/Makefile (libsupport-routines): Add
18962 support_test_compare_failure.
18963 (tests): Add tst-test_compare.
18964 * support /support_test_compare_failure.c: New file.
18965 * support/tst-test_compare.c: Likewise.
18967 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18970 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
18971 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
18972 available, this rewrite of the collation rules does reproduce
18973 the test file in the same order.
18975 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18978 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
18979 digraphs in the month and day names. Using single code points for
18980 digraphs is deprecated. While there are dedicated Unicode
18981 codepoints, for the digraphs, these are included for backwards
18982 compatibility and modern texts use a sequence of Basic Latin
18983 characters. See: https://www.unicode.org/faq/ligature_digraph.html
18984 This makes the month and day names agree exactly with CLDR now,
18985 CLDR does not use the single code points for the digraphs either.
18987 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
18989 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
18991 2017-12-04 Joseph Myers <joseph@codesourcery.com>
18993 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
18996 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
18998 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
18999 Define only for libc.so.
19001 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19003 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19004 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19005 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19006 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19007 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19009 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19012 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19014 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19017 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19018 PREINIT_FUNCTION_WEAK is nonzero.
19019 (gmon_initializer): New function. Put procedure label for it in
19020 .init_array section.
19021 (_init): Don't call PREINIT_FUNCTION.
19022 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19023 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19024 value when map argument is null.
19026 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19027 depi instruction from PIC pc-relative sequence.
19028 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19029 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19030 (elf_machine_load_address): Likewise.
19031 (elf_machine_runtime_setup): Likewise.
19033 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19035 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19036 <libm-alias-double.h>.
19037 (logb): Define using libm_alias_double.
19038 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19039 <libm-alias-double.h>.
19040 (copysign): Define using libm_alias_double.
19041 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19042 <libm-alias-double.h>.
19043 (llrint): Define using libm_alias_double.
19044 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19045 <libm-alias-double.h>.
19046 (llround): Define using libm_alias_double.
19047 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19048 <libm-alias-double.h>.
19049 (lrint): Define using libm_alias_double.
19050 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19051 <libm-alias-double.h>.
19052 (lround): Define using libm_alias_double.
19053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19054 Include <libm-alias-double.h>.
19055 (copysign): Define using libm_alias_double.
19056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19057 Include <libm-alias-double.h>.
19058 (llrint): Define using libm_alias_double.
19059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19060 Include <libm-alias-double.h>.
19061 (llround): Define using libm_alias_double.
19062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19063 <libm-alias-double.h>.
19064 (logb): Define using libm_alias_double.
19065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19066 Include <libm-alias-double.h>.
19067 (lrint): Define using libm_alias_double.
19068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19069 Include <libm-alias-double.h>.
19070 (lround): Define using libm_alias_double.
19071 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19072 <libm-alias-double.h>.
19073 (llrint): Define using libm_alias_double.
19074 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19075 <libm-alias-double.h>.
19076 (llround): Define using libm_alias_double.
19077 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19078 <libm-alias-double.h>.
19079 (llround): Define using libm_alias_double.
19080 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19081 <libm-alias-double.h>.
19082 (lround): Define using libm_alias_double.
19083 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19084 <libm-alias-double.h>.
19085 (copysign): Define using libm_alias_double.
19086 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19087 <libm-alias-double.h>.
19088 (llrint): Define using libm_alias_double.
19089 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19090 <libm-alias-double.h>.
19091 (llround): Define using libm_alias_double.
19092 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19093 <libm-alias-double.h>.
19094 (lrint): Define using libm_alias_double.
19095 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19096 <libm-alias-double.h>.
19097 (lround): Define using libm_alias_double.
19098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19099 <libm-alias-double.h>.
19100 (copysign): Define using libm_alias_double.
19101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19102 <libm-alias-double.h>.
19103 (llrint): Define using libm_alias_double.
19105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19106 <libm-alias-double.h>.
19107 (llround): Define using libm_alias_double.
19108 (lround): Likewise.
19109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19110 <libm-alias-double.h>.
19111 (logb): Define using libm_alias_double.
19112 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19113 <libm-alias-double.h>.
19114 (copysign): Define using libm_alias_double.
19115 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19116 <libm-alias-double.h>.
19117 (llrint): Define using libm_alias_double.
19119 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19120 <libm-alias-double.h>.
19121 (llround): Define using libm_alias_double.
19122 (lround): Likewise.
19123 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19124 <libm-alias-double.h>.
19125 (llround): Define using libm_alias_double.
19126 (lround): Likewise.
19127 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19128 <libm-alias-double.h>.
19129 (copysign): Define using libm_alias_double.
19130 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19131 <libm-alias-double.h>.
19132 (llrint): Define using libm_alias_double.
19134 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19135 <libm-alias-double.h>.
19136 (llround): Define using libm_alias_double.
19137 (lround): Likewise.
19138 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19139 <libm-alias-double.h>.
19140 (llrint): Define using libm_alias_double.
19142 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19143 <libm-alias-double.h>.
19144 (llround): Define using libm_alias_double.
19145 (lround): Likewise.
19147 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19150 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19151 compat symbol based on llround.
19153 * sysdeps/powerpc/power7/fpu/s_logb.c
19154 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19155 symbol based on __logb, not on logb.
19156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19157 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19159 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19161 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19162 (rint): Define using libm_alias_double.
19163 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19164 <libm-alias-double.h>.
19165 (modf): Define using libm_alias_double.
19166 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19167 <libm-alias-double.h>.
19168 (ceil): Define using libm_alias_double.
19169 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19170 <libm-alias-double.h>.
19171 (floor): Define using libm_alias_double.
19172 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19173 <libm-alias-double.h>.
19174 (nearbyint): Define using libm_alias_double.
19175 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19176 <libm-alias-double.h>.
19177 (rint): Define using libm_alias_double.
19178 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19179 <libm-alias-double.h>.
19180 (round): Define using libm_alias_double.
19181 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19182 <libm-alias-double.h>.
19183 (trunc): Define using libm_alias_double.
19184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19185 <libm-alias-double.h>.
19186 (ceil): Define using libm_alias_double.
19187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19188 Include <libm-alias-double.h>.
19189 (floor): Define using libm_alias_double.
19190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19191 <libm-alias-double.h>.
19192 (modf): Define using libm_alias_double.
19193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19194 Include <libm-alias-double.h>.
19195 (round): Define using libm_alias_double.
19196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19197 Include <libm-alias-double.h>.
19198 (trunc): Define using libm_alias_double.
19199 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19200 <libm-alias-double.h>.
19201 (ceil): Define using libm_alias_double.
19202 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19203 <libm-alias-double.h>.
19204 (floor): Define using libm_alias_double.
19205 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19206 <libm-alias-double.h>.
19207 (round): Define using libm_alias_double.
19208 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19209 <libm-alias-double.h>.
19210 (trunc): Define using libm_alias_double.
19211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19212 <libm-alias-double.h>.
19213 (ceil): Define using libm_alias_double.
19214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19215 <libm-alias-double.h>.
19216 (floor): Define using libm_alias_double.
19217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19218 <libm-alias-double.h>.
19219 (modf): Define using libm_alias_double.
19220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19221 <libm-alias-double.h>.
19222 (round): Define using libm_alias_double.
19223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19224 <libm-alias-double.h>.
19225 (trunc): Define using libm_alias_double.
19226 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19227 <libm-alias-double.h>.
19228 (ceil): Define using libm_alias_double.
19229 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19230 <libm-alias-double.h>.
19231 (floor): Define using libm_alias_double.
19232 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19233 <libm-alias-double.h>.
19234 (nearbyint): Define using libm_alias_double.
19235 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19236 <libm-alias-double.h>.
19237 (rint): Define using libm_alias_double.
19238 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19239 <libm-alias-double.h>.
19240 (round): Define using libm_alias_double.
19241 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19242 <libm-alias-double.h>.
19243 (trunc): Define using libm_alias_double.
19244 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19245 <libm-alias-double.h>.
19246 (ceil): Define using libm_alias_double.
19247 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19248 <libm-alias-double.h>.
19249 (floor): Define using libm_alias_double.
19250 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19251 <libm-alias-double.h>.
19252 (round): Define using libm_alias_double.
19253 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19254 <libm-alias-double.h>.
19255 (trunc): Define using libm_alias_double.
19257 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19258 (fabs): Define using libm_alias_double.
19259 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19260 (fma): Define using libm_alias_double.
19261 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19262 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19263 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19264 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19266 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19268 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19270 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19271 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19272 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19275 due redirect macro.
19277 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19279 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19281 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19283 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19284 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19285 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19286 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19289 (libm-sysdep_routines): Add s_nearbyintf-generic and
19290 s_nearbyint-generic.
19291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19304 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19315 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19326 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19337 (sysdep_calls): New rule.
19338 (sysdep_routines): Use sysdep_calls as base.
19339 (libm-sysdep_routines): Add generic rule for symbols shared with
19340 libc. Add s_copysign-generic and s_copysign-generic objects.
19341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19350 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19353 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19354 the list of locales to be built for testing.
19355 * localedata/is_IS.UTF-8.in: New file.
19356 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19359 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19361 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19362 <libm-alias-float.h>.
19363 (fabsf): Define using libm_alias_float.
19365 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19367 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19369 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19371 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19372 <libm-alias-float.h>.
19373 (fabsf): Define using libm_alias_float.
19374 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19375 <libm-alias-float.h>.
19376 (lrintf): Define using libm_alias_float.
19377 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19378 <libm-alias-float.h>.
19379 (rintf): Define using libm_alias_float.
19381 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19382 <libm-alias-double.h>.
19383 (fabs): Define using libm_alias_double.
19384 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19385 <libm-alias-double.h>.
19386 (lrint): Define using libm_alias_double.
19387 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19388 <libm-alias-double.h>.
19389 (rint): Define using libm_alias_double.
19391 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19392 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19393 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19394 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19395 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19396 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19397 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19398 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19399 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19400 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19401 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19402 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19403 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19404 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19405 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19406 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19407 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19408 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19410 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19411 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19412 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19414 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19415 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19416 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19418 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19419 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19420 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19421 s_expm1_template.c.
19422 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19423 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19424 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19426 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19427 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19428 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19429 s_floor_template.c.
19430 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19431 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19432 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19433 s_frexp_template.c.
19434 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19435 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19436 s_lrint_template.c.
19437 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19438 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19439 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19441 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19442 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19443 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19444 s_nearbyint_template.c.
19445 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19446 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19447 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19448 s_remquo_template.c.
19449 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19450 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19451 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19453 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19454 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19455 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19457 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19458 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19459 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19460 s_sincos_template.c.
19461 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19462 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19463 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19465 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19466 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19467 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19469 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19470 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19471 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19472 s_trunc_template.c.
19473 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19474 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19475 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19476 s_atan.c instead of including s_atan.c.
19477 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19478 s_atanf.c instead of including s_atanf.c.
19479 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19480 s_atanl.c instead of including s_atanl.c.
19481 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19482 instead of s_atan.c.
19483 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19484 instead of s_atanf.c.
19485 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19486 instead of s_atanl.c.
19488 * scripts/update-copyrights: Do not handle intl/plural.c
19491 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19494 * configure.ac (BISON): Require to be present.
19495 * configure: Regenerated.
19496 * intl/Makefile (generated): Add plural.c.
19497 [$(BISON) != no]: Make code unconditional.
19498 (plural.c): Change rule to $(objpfx)plural.c.
19499 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19500 * intl/plural.c: Remove.
19501 * manual/install.texi (Tools for Compilation): Document bison as
19503 * INSTALL: Regenerated.
19505 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19507 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19508 <libm-alias-double.h>.
19509 (llrint): Define using libm_alias_double.
19510 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19511 <libm-alias-float.h>.
19512 (llrintf): Define using libm_alias_float.
19513 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19514 <libm-alias-ldouble.h>.
19515 (llrintl): Define using libm_alias_ldouble.
19517 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19518 declare_mgen_alias instead of weak_alias.
19519 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19520 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19521 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19523 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19525 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19527 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19528 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19529 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19531 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19532 Add submul_1-generic.
19533 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19534 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19535 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19537 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19538 Add addmul_1-generic.
19539 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19540 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19541 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19543 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19545 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19546 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19547 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19549 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19551 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19552 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19553 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19555 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19557 According to CLDR, collation rules for Serbian and Bosnian
19558 should be the same as for Croatian.
19561 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19562 and to the list of locales to be built for testing.
19563 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19564 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19565 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19566 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19568 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19570 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19571 to make test case pass.
19572 * localedata/hr_HR.UTF-8.in: Add more test strings.
19574 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19576 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19578 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19580 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19581 the list of locales to built for testing.
19582 * localedata/hr_HR.UTF-8.in: New file.
19584 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19587 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19589 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19590 CLDR (except use ligatures for the digraphs, CLDR does not use
19591 the ligatures), add first_workday, some fixes in the date and time
19593 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19595 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19596 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19597 Add int_p_cs_precedes and int_n_cs_precedes.
19598 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19599 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19601 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19602 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19604 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19605 and lang_lib. Change postal_fmt.
19607 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19609 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19611 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19612 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19613 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19614 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19615 * sysdeps/generic/setjmpP.h: New file.
19616 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19617 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19618 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19619 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19620 Add jmp_buf-ssp.sym.
19621 (tests): Add tst-saved_mask-1.
19623 2017-11-30 Arjun Shankar <arjun@redhat.com>
19627 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19628 instead of request2size.
19630 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19633 (__lllrint): Remove alias.
19634 (lllrint): Likewise.
19635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19636 (__lllrintf): Likewise.
19637 (lllrintf): Likewise.
19639 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19640 <libm-alias-float.h>.
19641 (copysignf): Define using libm_alias_float.
19642 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19643 <libm-alias-float.h>.
19644 (fabsf): Define using libm_alias_float.
19645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19646 Include <libm-alias-float.h>.
19647 (copysignf): Define using libm_alias_float.
19648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19649 <libm-alias-float.h>.
19650 (fabsf): Define using libm_alias_float.
19651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19652 <libm-alias-float.h>.
19653 (fdimf): Define using libm_alias_float.
19654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19655 <libm-alias-float.h>.
19656 (fmaf): Define using libm_alias_float.
19657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19658 <libm-alias-float.h>.
19659 (llrintf): Define using libm_alias_float.
19660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19661 Include <libm-alias-float.h>.
19662 (nearbyintf): Define using libm_alias_float.
19663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19664 <libm-alias-float.h>.
19665 (rintf): Define using libm_alias_float.
19666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19667 <libm-alias-float.h>.
19668 (llrintf): Define using libm_alias_float.
19669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19670 <libm-alias-float.h>.
19671 (lrintf): Define using libm_alias_float.
19672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19673 <libm-alias-float.h>.
19674 (nearbyintf): Define using libm_alias_float.
19675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19676 <libm-alias-float.h>.
19677 (rintf): Define using libm_alias_float.
19678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19679 <libm-alias-float.h>.
19680 (ceilf): Define using libm_alias_float.
19681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19682 <libm-alias-float.h>.
19683 (floorf): Define using libm_alias_float.
19684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19685 <libm-alias-float.h>.
19686 (fmaf): Define using libm_alias_float.
19687 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19688 <libm-alias-float.h>.
19689 (lrintf): Define using libm_alias_float.
19690 (llrintf): Likewise.
19691 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19692 <libm-alias-float.h>.
19693 (nearbyintf): Define using libm_alias_float.
19694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19695 <libm-alias-float.h>.
19696 (rintf): Define using libm_alias_float.
19697 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19698 <libm-alias-float.h>.
19699 (truncf): Define using libm_alias_float.
19700 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19701 <libm-alias-float.h>.
19702 (copysignf): Define using libm_alias_float.
19703 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19704 <libm-alias-float.h>.
19705 (fabsf): Define using libm_alias_float.
19706 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19707 <libm-alias-float.h>.
19708 (lrintf): Define using libm_alias_float.
19709 (llrintf): Likewise.
19710 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19711 <libm-alias-float.h>.
19712 (nearbyintf): Define using libm_alias_float.
19713 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19714 <libm-alias-float.h>.
19715 (rintf): Define using libm_alias_float.
19717 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19719 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19720 <libm-alias-double.h>.
19721 (copysign): Define using libm_alias_double.
19722 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19723 <libm-alias-double.h>.
19724 (fabs): Define using libm_alias_double.
19725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19726 Include <libm-alias-double.h>.
19727 (copysign): Define using libm_alias_double.
19728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19729 <libm-alias-double.h>.
19730 (fabs): Define using libm_alias_double.
19731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19732 <libm-alias-double.h>.
19733 (fdim): Define using libm_alias_double.
19734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19735 <libm-alias-double.h>.
19736 (fma): Define using libm_alias_double.
19737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19738 <libm-alias-double.h>.
19739 (llrint): Define using libm_alias_double.
19740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19741 Include <libm-alias-double.h>.
19742 (nearbyint): Define using libm_alias_double.
19743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19744 <libm-alias-double.h>.
19745 (rint): Define using libm_alias_double.
19746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19747 <libm-alias-double.h>.
19748 (fabs): Define using libm_alias_double.
19749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19750 <libm-alias-double.h>.
19751 (llrint): Define using libm_alias_double.
19752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19753 <libm-alias-double.h>.
19754 (nearbyint): Define using libm_alias_double.
19755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19756 <libm-alias-double.h>.
19757 (rint): Define using libm_alias_double.
19758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19759 <libm-alias-double.h>.
19760 (ceil): Define using libm_alias_double.
19761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19762 <libm-alias-double.h>.
19763 (floor): Define using libm_alias_double.
19764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19765 <libm-alias-double.h>.
19766 (fma): Define using libm_alias_double.
19767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19768 <libm-alias-double.h>.
19769 (lrint): Define using libm_alias_double.
19770 (llrint): Likewise.
19771 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19772 <libm-alias-double.h>.
19773 (nearbyint): Define using libm_alias_double.
19774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19775 <libm-alias-double.h>.
19776 (rint): Define using libm_alias_double.
19777 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19778 <libm-alias-double.h>.
19779 (trunc): Define using libm_alias_double.
19780 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19781 <libm-alias-double.h>.
19782 (copysign): Define using libm_alias_double.
19783 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19784 <libm-alias-double.h>.
19785 (fabs): Define using libm_alias_double.
19786 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19787 <libm-alias-double.h>.
19788 (lrint): Define using libm_alias_double.
19789 (llrint): Likewise.
19790 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19791 <libm-alias-double.h>.
19792 (nearbyint): Define using libm_alias_double.
19793 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19794 <libm-alias-double.h>.
19795 (rint): Define using libm_alias_double.
19798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19800 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19802 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19803 SPARC --disable-multi-arch glibc variants.
19805 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19806 <libm-alias-float.h>.
19807 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19809 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19810 <libm-alias-float.h>.
19811 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19813 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19814 <libm-alias-float.h>.
19815 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19817 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19818 <libm-alias-float.h>.
19819 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19821 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19822 <libm-alias-float.h>.
19823 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19825 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19826 <libm-alias-float.h>.
19827 (ceilf): Define using libm_alias_float.
19828 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19829 <libm-alias-float.h>.
19830 (floorf): Define using libm_alias_float.
19831 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19832 <libm-alias-float.h>.
19833 (fmaf): Define using libm_alias_float.
19834 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19835 <libm-alias-float.h>.
19836 (nearbyintf): Define using libm_alias_float.
19837 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19838 <libm-alias-float.h>.
19839 (rintf): Define using libm_alias_float.
19840 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19841 <libm-alias-float.h>.
19842 (truncf): Define using libm_alias_float.
19843 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19844 (copysignf): Define using libm_alias_float.
19845 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19846 (cosf): Define using libm_alias_float.
19847 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19848 (fabsf): Define using libm_alias_float.
19849 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19850 (fmaxf): Define using libm_alias_float.
19851 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19852 (fminf): Define using libm_alias_float.
19853 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19854 (llrintf): Define using libm_alias_float.
19855 [!__ILP32__] (lrintf): Likewise.
19856 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19857 (sincosf): Define using libm_alias_float.
19858 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19859 (sinf): Define using libm_alias_float.
19860 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19861 (lrintf): Define using libm_alias_float.
19863 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19864 <libm-alias-double.h>.
19865 (atan): Define using libm_alias_double.
19866 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19867 <libm-alias-double.h>.
19868 (ceil): Define using libm_alias_double.
19869 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19870 <libm-alias-double.h>.
19871 (floor): Define using libm_alias_double.
19872 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19873 <libm-alias-double.h>.
19874 (fma): Define using libm_alias_double.
19875 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19876 <libm-alias-double.h>.
19877 (nearbyint): Define using libm_alias_double.
19878 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19879 <libm-alias-double.h>.
19880 (rint): Define using libm_alias_double.
19881 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19882 <libm-alias-double.h>.
19883 (sin): Define using libm_alias_double.
19885 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19886 <libm-alias-double.h>.
19887 (tan): Define using libm_alias_double.
19888 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19889 <libm-alias-double.h>.
19890 (trunc): Define using libm_alias_double.
19891 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19892 (copysign): Define using libm_alias_double.
19893 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19894 (fabs): Define using libm_alias_double.
19895 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19896 (fmax): Define using libm_alias_double.
19897 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19898 (fmin): Define using libm_alias_double.
19899 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19900 (llrint): Define using libm_alias_double.
19901 [!__ILP32__] (lrint): Likewise.
19902 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19903 (lrint): Define using libm_alias_double.
19905 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19907 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19908 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19910 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19911 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19912 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19913 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19918 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19920 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19921 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19922 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19923 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19924 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19928 (libm-sysdep_routines): Add s_nearbyint-generic and
19929 s_nearbyintf-generic objects.
19930 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19931 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19932 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19933 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19934 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19935 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19937 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19938 Add s_finitef-generic and s_finite-generic objects.
19939 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19940 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19943 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19947 Add s_isinff-generic and s_isinf-generic objects.
19948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19956 Add s_isnanf-generic and s_isnan-generic objects.
19957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
19962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19964 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
19966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
19968 (sysdep_routines): Use sysdep_calls as base.
19969 (libm-sysdep_routines): Add generic rule for symbols shared with
19970 libc. Add s_signbit-generic and s_signbitf-generic objects.
19971 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
19972 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
19973 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
19974 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
19975 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
19976 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19978 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19980 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
19981 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
19982 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
19983 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
19984 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
19985 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
19986 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
19987 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
19988 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
19989 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
19990 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
19991 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
19992 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
19993 libm_alias_float_r.
19994 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
19995 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
19997 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
19998 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
19999 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20000 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20001 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20002 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20003 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20004 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20005 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20006 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20008 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20010 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20011 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20012 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20013 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20014 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20015 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20016 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20017 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20018 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20019 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20020 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20021 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20022 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20023 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20024 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20025 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20026 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20027 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20028 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20030 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20031 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20032 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20033 * sysdeps/ia64/fpu/w_lgammaf_main.c
20034 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20035 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20037 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20038 Alexandre Oliva <aoliva@redhat.com>
20041 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20042 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20044 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20046 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20047 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20048 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20049 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20050 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20051 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20052 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20053 instead of “ifdef DIACRIT_BACKWARD”.
20055 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20057 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20058 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20059 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20060 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20061 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20062 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20069 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20070 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20071 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20072 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20073 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20074 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20076 ($(have-as-vis3) == yes): Remove conditional.
20077 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20093 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20094 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20096 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20098 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20099 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20100 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20101 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20102 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20103 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20104 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20105 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20106 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20107 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20108 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20109 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20110 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20111 libm_alias_double_r.
20112 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20114 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20115 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20116 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20117 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20118 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20119 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20120 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20121 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20122 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20123 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20124 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20126 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20128 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20129 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20130 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20131 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20132 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20133 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20134 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20135 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20136 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20137 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20138 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20139 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20140 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20141 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20142 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20143 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20144 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20145 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20147 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20148 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20149 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20150 * sysdeps/ia64/fpu/w_lgamma_main.c
20151 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20152 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20154 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20156 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20157 address of $global$ into %dp register earlier. Use pc-relative
20158 instruction sequence for PIC case.
20160 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20162 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20163 (asinhf): Define using libm_alias_float.
20164 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20165 (atanf): Define using libm_alias_float.
20166 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20167 (cbrtf): Define using libm_alias_float.
20168 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20169 (ceilf): Define using libm_alias_float.
20170 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20171 (copysignf): Define using libm_alias_float.
20172 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20173 (expm1f): Define using libm_alias_float.
20174 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20175 (fabsf): Define using libm_alias_float.
20176 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20177 (floorf): Define using libm_alias_float.
20178 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20179 (fmaxf): Define using libm_alias_float.
20180 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20181 (fminf): Define using libm_alias_float.
20182 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20183 (frexpf): Define using libm_alias_float.
20184 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20185 (llrintf): Define using libm_alias_float.
20186 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20187 (logbf): Define using libm_alias_float.
20188 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20189 (lrintf): Define using libm_alias_float.
20190 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20191 (nearbyintf): Define using libm_alias_float.
20192 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20193 (remquof): Define using libm_alias_float.
20194 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20195 (rintf): Define using libm_alias_float.
20196 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20197 (truncf): Define using libm_alias_float.
20198 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20199 <libm-alias-float.h>.
20200 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20202 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20203 <libm-alias-float.h>.
20204 (expf): Define using libm_alias_float, or libm_alias_float_other
20206 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20207 <libm-alias-float.h>.
20208 (log2f): Define using libm_alias_float, or libm_alias_float_other
20210 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20211 <libm-alias-float.h>.
20212 (logf): Define using libm_alias_float, or libm_alias_float_other
20214 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20215 <libm-alias-float.h>.
20216 (powf): Define using libm_alias_float, or libm_alias_float_other
20218 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20219 <libm-alias-float.h>.
20220 (cosf): Define using libm_alias_float.
20221 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20222 <libm-alias-float.h>.
20223 (sincosf): Define using libm_alias_float.
20224 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20225 <libm-alias-float.h>.
20226 (sinf): Define using libm_alias_float.
20227 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20228 (fmaxf): Define using libm_alias_float.
20229 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20230 (fminf): Define using libm_alias_float.
20231 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20232 <libm-alias-float.h>.
20233 (fmaf): Define using libm_alias_float.
20235 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20236 (asinh): Define using libm_alias_double.
20237 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20238 (atan): Define using libm_alias_double.
20239 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20240 (cbrt): Define using libm_alias_double.
20241 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20242 (ceil): Define using libm_alias_double.
20243 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20244 (copysign): Define using libm_alias_double.
20245 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20246 (expm1): Define using libm_alias_double.
20247 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20248 (fabs): Define using libm_alias_double.
20249 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20250 (fdim): Define using libm_alias_double.
20251 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20252 (floor): Define using libm_alias_double.
20253 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20254 (fmax): Define using libm_alias_double.
20255 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20256 (fmin): Define using libm_alias_double.
20257 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20258 (frexp): Define using libm_alias_double.
20259 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20260 (llrint): Define using libm_alias_double.
20261 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20262 (logb): Define using libm_alias_double.
20263 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20264 (lrint): Define using libm_alias_double.
20265 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20266 (nearbyint): Define using libm_alias_double.
20267 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20268 (remquo): Define using libm_alias_double.
20269 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20270 (rint): Define using libm_alias_double.
20271 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20272 (trunc): Define using libm_alias_double.
20273 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20274 (fmax): Define using libm_alias_double.
20275 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20276 (fmin): Define using libm_alias_double.
20277 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20278 (fma): Define using libm_alias_double.
20280 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20283 * elf/dl-hwcaps.c (ROUND): Removed.
20284 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20285 and ELF_NOTE_NEXT_OFFSET.
20286 * elf/dl-load.c (ROUND): Removed.
20287 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20288 * elf/readelflib.c (ROUND): Removed.
20289 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20290 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20291 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20292 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20294 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20296 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20297 [!__fmaf] (fmaf): Define using libm_alias_float.
20299 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20300 [!__fma] (fma): Define using libm_alias_double.
20301 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20303 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20306 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20307 and implement the collation rules for cs from CLDR on top of that.
20308 * Makefile: Add cs_CZ.UTF-8 to test-input.
20309 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20311 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20313 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20315 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20316 Icarus Sparry <icarus.w.sparry@intel.com>
20318 * benchtests/Makefile:Add BENCHSET to allow subsets of
20319 benchmarks to be run.
20320 * benchtests/README: Add documentation for: Running subsets of
20323 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20325 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20326 range of tests names.
20328 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20329 result from property and remove "max", min" and "mean" from
20330 required properties based on benchtests/bench-skeleton.c.
20332 2017-11-28 Florian Weimer <fweimer@redhat.com>
20335 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20336 due to Internet requirement.
20337 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20339 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20341 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20343 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20344 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20345 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20346 (sysdep_routines): Add memset-ultra1.
20347 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20349 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20350 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20351 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20352 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20353 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20354 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20355 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20356 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20358 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20360 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20361 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20362 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20363 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20364 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20365 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20366 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20368 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20369 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20370 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20371 (sysdep_routines): Add memcpy-ultra1.
20372 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20373 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20375 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20377 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20378 (cfloat_versions): Take function argument without trailing 'f'.
20379 Call libm_alias_float_other.
20380 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20381 * sysdeps/alpha/fpu/cargf.c: Likewise.
20382 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20383 * sysdeps/alpha/fpu/conjf.c: Likewise.
20384 * sysdeps/alpha/fpu/crealf.c: Likewise.
20385 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20386 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20387 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20388 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20389 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20390 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20391 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20392 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20393 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20394 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20395 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20396 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20397 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20398 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20399 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20400 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20401 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20402 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20403 (clog10f): Use libm_alias_float_other.
20404 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20405 (ceilf): Define using libm_alias_float.
20406 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20407 (copysignf): Define using libm_alias_float.
20408 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20409 (fabsf): Define using libm_alias_float.
20410 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20411 (floorf): Define using libm_alias_float.
20412 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20413 (fmaxf): Define using libm_alias_float.
20414 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20415 (fminf): Define using libm_alias_float.
20416 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20417 (lrintf): Define using libm_alias_float.
20418 (llrintf): Likewise.
20419 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20420 (lroundf): Define using libm_alias_float.
20421 (llroundf): Likewise.
20422 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20423 (rintf): Define using libm_alias_float.
20424 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20425 (truncf): Define using libm_alias_float.
20427 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20428 (ceilf): Define using libm_alias_float.
20429 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20430 (floorf): Define using libm_alias_float.
20431 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20432 (fmaf): Define using libm_alias_float.
20433 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20434 (fmaxf): Define using libm_alias_float.
20435 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20436 (fminf): Define using libm_alias_float.
20437 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20438 (llrintf): Define using libm_alias_float.
20439 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20440 (llroundf): Define using libm_alias_float.
20441 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20442 (lrintf): Define using libm_alias_float.
20443 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20444 (lroundf): Define using libm_alias_float.
20445 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20446 <libm-alias-float.h>.
20447 (nearbyintf): Define using libm_alias_float.
20448 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20449 (rintf): Define using libm_alias_float.
20450 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20451 (roundf): Define using libm_alias_float.
20452 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20453 (truncf): Define using libm_alias_float.
20455 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20456 (ceil): Define using libm_alias_double.
20457 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20458 (copysign): Define using libm_alias_double.
20459 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20460 (fabs): Define using libm_alias_double.
20461 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20462 (floor): Define using libm_alias_double.
20463 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20464 (fmax): Define using libm_alias_double.
20465 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20466 (fmin): Define using libm_alias_double.
20467 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20468 (lrint): Define using libm_alias_double.
20469 (llrint): Likewise.
20470 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20471 (lround): Define using libm_alias_double.
20472 (llround): Likewise.
20473 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20474 (rint): Define using libm_alias_double.
20475 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20476 (trunc): Define using libm_alias_double.
20478 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20479 (libm_alias_double_r): Add semicolon after weak_alias call.
20481 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20483 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20484 (ceil): Define using libm_alias_double.
20485 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20486 (floor): Define using libm_alias_double.
20487 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20488 (fma): Define using libm_alias_double.
20489 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20490 (fmax): Define using libm_alias_double.
20491 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20492 (fmin): Define using libm_alias_double.
20493 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20494 (llrint): Define using libm_alias_double.
20495 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20496 (llround): Define using libm_alias_double.
20497 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20498 (lrint): Define using libm_alias_double.
20499 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20500 (lround): Define using libm_alias_double.
20501 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20502 (nearbyint): Define using libm_alias_double.
20503 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20504 (rint): Define using libm_alias_double.
20505 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20506 (round): Define using libm_alias_double.
20507 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20508 (trunc): Define using libm_alias_double.
20510 2017-11-27 Florian Weimer <fweimer@redhat.com>
20512 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20513 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20514 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20515 (tests): Add tst-mlock2.
20516 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20518 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20519 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20520 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20521 for mlock. Document mlock2.
20523 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20525 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20526 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20528 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20530 * sysdeps/x86/Makeconfig: New file.
20531 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20532 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20533 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20534 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20535 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20536 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20537 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20539 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20540 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20541 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20542 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20543 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20544 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20545 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20546 * manual/math.texi (Mathematics): Document support for _Float64x.
20547 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20548 * stdlib/Versions (GLIBC_2.27): Likewise.
20549 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20550 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20551 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20552 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20553 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20554 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20555 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20556 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20557 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20558 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20559 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20560 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20565 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20566 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20567 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20568 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20569 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20570 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20571 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20572 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20573 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20574 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20575 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20576 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20577 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20578 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20580 2017-11-27 Andreas Schwab <schwab@suse.de>
20582 * elf/Makefile (dl-routines): Add dl-sort-maps.
20583 * elf/dl-sort-maps.c: New file.
20584 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20585 (_dl_sort_maps): Declare.
20586 * elf/dl-fini.c (_dl_sort_fini): Remove.
20587 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20588 * elf/dl-close.c (_dl_close_worker): Likewise.
20589 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20591 * elf/dl-open.c (dl_open_worker): Likewise.
20593 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20595 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20596 using libm_alias_float128.
20597 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20599 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20601 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20602 (setpayloadsigf128): Likewise.
20603 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20605 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20608 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20609 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20610 -mfloat128 to CFLAGS.
20612 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20614 (CFLAGS-libm-test-support-float64x.c): New variable.
20615 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20616 $(f128-loader-link) to gnulib-tests.
20618 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20619 (libm_alias_float128_other_r): If
20620 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20622 (libm_alias_float128_r): Add semicolon after weak_alias call.
20623 * sysdeps/generic/libm-alias-ldouble.h
20624 (libm_alias_ldouble_other_r_f128): New macro.
20625 (libm_alias_ldouble_other_r_f64x): Likewise.
20626 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20627 and libm_alias_ldouble_other_r_f64x.
20628 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20629 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20630 (libm_alias_ldouble_other_r_f128): New macro.
20631 (libm_alias_ldouble_other_r_f64x): Likewise.
20632 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20633 and libm_alias_ldouble_other_r_f64x.
20635 * stdlib/strfroml.c: Always include <stdlib.h>.
20636 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20637 undefine as macro and define as weak alias.
20638 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20639 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20641 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20642 Define and later undefine as macro and define as weak alias.
20644 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20645 Define and later undefine as macro. Define as weak alias if
20647 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20648 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20649 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20650 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20651 Define and later undefine as macro. Define as weak alias if
20653 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20654 Define and later undefine as macro. Define as weak alias if
20656 * sysdeps/ieee754/float128/strtof128_l.c
20657 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20658 Define and later undefine as macro. Define as weak alias if
20660 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20661 Define and later undefine as macro. Define as weak alias if
20663 * sysdeps/ieee754/ldbl-128/strtold_l.c
20664 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20665 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20666 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20667 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20668 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20669 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20670 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20671 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20672 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20673 * sysdeps/ieee754/ldbl-96/strtold_l.c
20674 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20675 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20676 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20677 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20679 * math/test-float64x.h: New file.
20680 * math/Makefile (type-float64x-yes): New variable.
20681 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20683 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20684 function-like macro.
20685 (min_of_type_): Likewise.
20686 (min_of_type_l): Likewise.
20687 (min_of_type_f128): Likewise.
20688 (min_of_type): Pass () as last argument of __MATH_TG.
20690 * stdlib/tst-strtod-round-skeleton.c
20691 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20694 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20695 for combinations of long double with _Float64 and _Float64x.
20697 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20698 (__DECL_SIMD_cosf32): Likewise.
20699 (__DECL_SIMD_cosf64): Likewise.
20700 (__DECL_SIMD_cosf32x): Likewise.
20701 (__DECL_SIMD_cosf64x): Likewise.
20702 (__DECL_SIMD_cosf128x): Likewise.
20703 (__DECL_SIMD_sinf16): Likewise.
20704 (__DECL_SIMD_sinf32): Likewise.
20705 (__DECL_SIMD_sinf64): Likewise.
20706 (__DECL_SIMD_sinf32x): Likewise.
20707 (__DECL_SIMD_sinf64x): Likewise.
20708 (__DECL_SIMD_sinf128x): Likewise.
20709 (__DECL_SIMD_sincosf16): Likewise.
20710 (__DECL_SIMD_sincosf32): Likewise.
20711 (__DECL_SIMD_sincosf64): Likewise.
20712 (__DECL_SIMD_sincosf32x): Likewise.
20713 (__DECL_SIMD_sincosf64x): Likewise.
20714 (__DECL_SIMD_sincosf128x): Likewise.
20715 (__DECL_SIMD_logf16): Likewise.
20716 (__DECL_SIMD_logf32): Likewise.
20717 (__DECL_SIMD_logf64): Likewise.
20718 (__DECL_SIMD_logf32x): Likewise.
20719 (__DECL_SIMD_logf64x): Likewise.
20720 (__DECL_SIMD_logf128x): Likewise.
20721 (__DECL_SIMD_expf16): Likewise.
20722 (__DECL_SIMD_expf32): Likewise.
20723 (__DECL_SIMD_expf64): Likewise.
20724 (__DECL_SIMD_expf32x): Likewise.
20725 (__DECL_SIMD_expf64x): Likewise.
20726 (__DECL_SIMD_expf128x): Likewise.
20727 (__DECL_SIMD_powf16): Likewise.
20728 (__DECL_SIMD_powf32): Likewise.
20729 (__DECL_SIMD_powf64): Likewise.
20730 (__DECL_SIMD_powf32x): Likewise.
20731 (__DECL_SIMD_powf64x): Likewise.
20732 (__DECL_SIMD_powf128x): Likewise.
20734 * stdlib/Versions (libc): Move entries for wcstof128 and
20735 wcstof128_l to ....
20736 * wcsmbs/Versions (libc): ... here.
20737 Include <float128-abi.h>.
20739 2017-11-24 Florian Weimer <fweimer@redhat.com>
20741 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20742 bits/mman-shared.h.
20743 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20744 <bits/mman-shared.h>.
20745 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20747 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20748 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20749 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20750 <bits/mman-shared.h>.
20752 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20755 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20756 posix_memalign/free.
20757 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20759 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20762 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20763 and implement the collation rules for pl from CLDR on top of that.
20764 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20765 of locales to be built for testing.
20766 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20768 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20770 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20771 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20772 libm_alias_ldouble_other.
20773 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20774 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20775 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20776 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20777 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20778 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20779 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20780 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20781 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20782 libm_alias_ldouble_r.
20783 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20784 libm_alias_ldouble_other.
20785 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20786 (log10l): Likewise.
20787 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20788 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20789 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20790 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20791 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20792 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20793 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20794 (atan2l): Likewise.
20795 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20796 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20797 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20798 libm_alias_ldouble.
20799 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20801 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20802 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20803 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20805 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20806 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20807 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20808 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20809 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20810 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20811 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20812 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20813 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20814 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20815 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20816 libm_alias_ldouble.
20817 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20818 libm_alias_ldouble_other.
20819 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20820 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20821 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20822 libm_alias_ldouble.
20823 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20824 libm_alias_ldouble_other.
20825 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20826 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20827 * sysdeps/ia64/fpu/w_lgammal_main.c
20828 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20829 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20831 2017-11-23 Florian Weimer <fweimer@redhat.com>
20833 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20834 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20835 alike. Remove freeres marker.
20836 * malloc/arena.c (arena_thread_freeres): Call
20837 tcache_thread_shutdown.
20839 2017-11-23 Florian Weimer <fweimer@redhat.com>
20842 Export nscd hash function as __nss_hash.
20843 * include/nss.h (__nss_hash): Declare.
20844 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20846 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20847 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20849 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20850 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20851 * nss/Makefiles (routines): Add nss_hash.
20852 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20853 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20854 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20855 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20857 2017-11-23 Florian Weimer <fweimer@redhat.com>
20860 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20861 Return error code, not -1.
20862 * signal/tst-sigwait-eintr.c: New file.
20863 * signal/Makefile (tests): Add tst-sigwait-eintr.
20865 2017-11-23 Florian Weimer <fweimer@redhat.com>
20867 Linux: Add memfd_create system call wrapper
20868 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20870 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20871 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20872 [__USE_GNU] (memfd_create): Declare.
20873 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20874 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20875 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20876 * sysdeps/unix/sysv/linux/**.abilist: Update.
20877 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20879 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20881 * localedata/gen-locale.sh: Fix typo in variable name.
20883 * resolv/res_debug.c (p_secstodate): Condition definition on
20884 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20885 directly as __p_secstodate, and as a compat symbol. Do not use
20886 libresolv_hidden_def.
20887 * resolv/resolv.h (p_secstodate): Remove macro and function
20889 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20890 using p_secstodate.
20891 * include/resolv.h (__p_secstodate): Do not use
20892 libresolv_hidden_proto.
20893 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20894 (tests-internal): ... here.
20895 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20896 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20897 and declare and use __p_secstodate and use compat_symbol_reference
20899 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20900 implementation returning 77.
20903 * resolv/res_debug.c: Include <libc-diag.h>.
20904 (p_secstodate): Assert time_t at least as wide as u_long. On
20905 overflow, use integer seconds since the epoch as output, or use
20906 "<overflow>" as output and set errno to EOVERFLOW if integer
20907 seconds since the epoch would be 14 or more characters.
20908 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20910 * resolv/tst-p_secstodate.c: New file.
20911 * resolv/Makefile (tests): Add tst-p_secstodate.
20912 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20914 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20915 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20916 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20918 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20920 * posix/regcomp.c (init_word_char): Add comments.
20922 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20925 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20926 strlen to compute length of ut_user and set trailing NUL byte of
20929 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20932 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20933 using “copy "iso14651_t1"” and then implementing the
20934 collation rules for lv from CLDR on top of that.
20935 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20936 of locales to be built for testing.
20937 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20940 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20942 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20943 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20944 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20945 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20946 [__USE_MISC] (MADV_HWPOISON): New macro.
20947 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20949 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20951 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20952 -Wmissing-braces on GCC 4.9.
20954 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20956 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20957 * sysdeps/s390/s390-32/start.S (_start): Likewise
20958 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20959 (thread_start): Likewise.
20960 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20961 (thread_start): Likewise.
20962 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
20963 (__makecontext_ret): Likewise.
20964 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
20965 (__makecontext_ret): Likewise.
20967 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20969 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
20970 __wcschrnul): Remove attribute_hidden.
20972 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
20974 regex: don't assume uint64_t or uint32_t
20975 This avoids -Werror=overflow errors for 32-bit systems in
20976 the 64-bit case. Problem reported by Joseph Myers in:
20977 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
20978 Also, when this code is used in Gnulib it ports to platforms
20979 that lack uint64_t and uint32_t. The C standard doesn't guarantee
20980 them, and on some 32-bit compilers there is no uint64_t.
20981 Problem reported by Gianluigi Tiesi in:
20982 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
20983 * posix/regcomp.c (init_word_char): Don't assume that the types
20984 uint64_t and uint32_t exist. Adapted from Gnulib patch
20985 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
20986 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
20988 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
20990 * sysdeps/aarch64/memset-reg.h: New file.
20991 * sysdeps/aarch64/memset.S: Use it.
20992 (__memset): Rename to MEMSET macro.
20993 [ZVA_MACRO]: Use zva_macro.
20994 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20995 Add memset_generic and memset_falkor.
20996 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
20997 (__libc_ifunc_impl_list): Add memset ifuncs.
20998 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
20999 local variable zva_size.
21000 * sysdeps/aarch64/multiarch/memset.c: New file.
21001 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21002 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21003 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21004 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21005 (DCZID_DZP_MASK): New macro.
21006 (DCZID_BS_MASK): Likewise.
21007 (init_cpu_features): Read and set zva_size.
21008 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21009 (struct cpu_features): New member zva_size.
21011 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21012 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21013 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21015 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21016 backwards. Fix timing computation.
21017 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21018 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21019 on memset by N at a time. Fix timing computation.
21021 2017-11-20 Florian Weimer <fweimer@redhat.com>
21023 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21024 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21026 2017-11-19 Florian Weimer <fweimer@redhat.com>
21028 manual: Document mprotect
21029 * manual/memory.texi (Memory Protection): New section.
21030 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21031 documentation of PROT_* flags and reference the Memory Protection
21034 2017-11-19 Florian Weimer <fweimer@redhat.com>
21036 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21037 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21038 (Scatter-Gather): ... to here. Remove misleading comment.
21040 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21042 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21045 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21046 when /proc/<pid>/setgroups does not exist.
21048 2017-11-18 Florian Weimer <fweimer@redhat.com>
21050 * sysdeps/unix/sysv/linux/tst-ttyname.c
21051 (become_root_in_mount_ns): Remove.
21052 (do_in_chroot_1): Call support_enter_mount_namespace.
21053 (do_in_chroot_2): Likewise.
21054 (do_test): Call support_become_root early.
21056 2017-11-18 Florian Weimer <fweimer@redhat.com>
21058 * support/namespace.h (support_enter_mount_namespace): Declare.
21059 * support/support_enter_mount_namespace.c: New file.
21060 * support/Makefile (libsupport-routines): Add
21061 support_enter_mount_namespace.
21063 2017-11-18 Florian Weimer <fweimer@redhat.com>
21065 * support/temp_file.c (support_create_temp_directory): Use
21066 test_dir and do not rely on the presence of the XXXXXX suffix.
21067 * support/temp_file.h (support_create_temp_directory): Update
21069 * support/tst-xreadlink.c (do_test): Adjust.
21070 * support/support_chroot.c (support_chroot_create): Likewise.
21072 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21074 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21076 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21079 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21081 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21082 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21083 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21084 (ceill): Define using libm_alias_ldouble.
21085 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21086 <libm-alias-ldouble.h>.
21087 (copysignl): Define using libm_alias_ldouble.
21088 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21089 (fabsl): Define using libm_alias_ldouble.
21090 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21091 (floorl): Define using libm_alias_ldouble.
21092 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21093 (fmaxl): Define using libm_alias_ldouble.
21094 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21095 (fminl): Define using libm_alias_ldouble.
21096 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21097 (llrintl): Define using libm_alias_ldouble.
21098 (lrintl): Likewise.
21099 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21100 <libm-alias-ldouble.h>.
21101 (nearbyintl): Define using libm_alias_ldouble.
21102 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21103 (truncl): Define using libm_alias_ldouble.
21104 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21105 <libm-alias-ldouble.h>.
21106 (lrintl): Define using libm_alias_ldouble.
21108 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21109 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21110 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21111 (asinhl): Define using libm_alias_ldouble.
21112 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21113 (atanl): Define using libm_alias_ldouble.
21114 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21115 (cbrtl): Define using libm_alias_ldouble.
21116 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21117 (ceill): Define using libm_alias_ldouble.
21118 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21119 (copysignl): Define using libm_alias_ldouble.
21120 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21121 (fabsl): Define using libm_alias_ldouble.
21122 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21123 (floorl): Define using libm_alias_ldouble.
21124 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21125 (fmaxl): Define using libm_alias_ldouble.
21126 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21127 (fminl): Define using libm_alias_ldouble.
21128 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21129 (frexpl): Define using libm_alias_ldouble.
21130 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21131 (llrintl): Define using libm_alias_ldouble.
21132 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21133 (logbl): Define using libm_alias_ldouble.
21134 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21135 (lrintl): Define using libm_alias_ldouble.
21136 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21137 (nearbyintl): Define using libm_alias_ldouble.
21138 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21139 (nextafterl): Define using libm_alias_ldouble.
21140 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21141 (remquol): Define using libm_alias_ldouble.
21142 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21143 (rintl): Define using libm_alias_ldouble.
21144 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21145 (truncl): Define using libm_alias_ldouble.
21146 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21147 (fmaxl): Define using libm_alias_ldouble.
21148 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21149 (fminl): Define using libm_alias_ldouble.
21151 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21152 to C syntax instead of availability and properties of types.
21153 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21154 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21155 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21156 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21157 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21158 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21160 2017-11-17 Florian Weimer <fweimer@redhat.com>
21162 support_become_root: Enable file creation in namespaces.
21163 * support/support_become_root.c (setup_mapping): New function.
21164 (support_become_root): Call it.
21166 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21168 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21171 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21173 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21174 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21176 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21178 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21180 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21183 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21185 * INSTALL: Fix botched up regeneration.
21187 * NEWS: Update sourceare link to https.
21188 * configure.ac: Likewise.
21189 * crypt/md5test-giant.c: Likewise.
21190 * dlfcn/bug-atexit1.c: Likewise.
21191 * dlfcn/bug-atexit2.c: Likewise.
21192 * localedata/README: Likewise.
21193 * malloc/tst-mallocfork.c: Likewise.
21194 * manual/install.texi: Likewise.
21195 * nptl/tst-pthread-getattr.c: Likewise.
21196 * stdio-common/tst-fgets.c: Likewise.
21197 * stdio-common/tst-fwrite.c: Likewise.
21198 * sunrpc/Makefile: Likewise.
21199 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21200 * wcsmbs/tst-mbrtowc2.c: Likewise.
21201 * configure: Regenerate.
21202 * INSTALL: Regenerate.
21204 2017-11-15 Martin Sebor <msebor@redhat.com>
21206 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21207 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21208 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21210 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21213 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21214 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21217 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21218 Defer is_pty check until end of the function.
21219 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21222 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21223 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21224 (ttyname): Likewise.
21225 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21226 (__ttyname_r): Likewise.
21228 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21231 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21233 * manual/terminal.texi (Is It a Terminal):
21234 Mention ENODEV for ttyname and ttyname_r.
21236 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21238 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21239 constant and macro.
21241 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21242 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21243 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21244 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21245 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21246 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21248 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21250 * signal/sigrelse.c (sigrelse): Optimize implementation.
21252 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21253 (__sigpause): Rely on __sigsuspend to implement single thread
21254 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21256 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21258 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21259 kernel version to 4.14.
21261 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21264 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21265 Check if ifname is too long.
21267 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21269 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21271 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21273 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21274 was accidentally lost.
21276 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21278 * localedata/locales/az_IR: Add standard copyright header.
21280 2017-11-15 Florian Weimer <fweimer@redhat.com>
21283 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21284 not just the top one. Output a new "subheaps" statistic.
21286 2017-11-15 Florian Weimer <fweimer@redhat.com>
21289 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21290 under the per-arena lock.
21291 * malloc/Makefile (tests): Add tst-malloc_info.
21292 (tst-malloc_info): Link with libpthread.
21293 * malloc/tst-malloc_info.c: New file.
21295 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21298 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21299 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21300 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21301 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21302 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21303 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21304 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21305 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21306 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21307 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21308 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21309 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21310 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21311 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21312 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21313 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21314 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21315 (__floating_type): Likewise.
21316 (__real_integer_type): Likewise.
21317 (__complex_integer_type): Likewise.
21318 (__expr_is_real): Likewise.
21319 (__tgmath_real_type_sub): Likewise.
21320 (__tgmath_real_type): Likewise.
21321 (__tgmath_complex_type_sub): Likewise.
21322 (__tgmath_complex_type): Likewise.
21323 (__TGMATH_F128): Likewise.
21324 (__TGMATH_CF128): Likewise.
21325 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21327 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21328 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21330 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21332 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21333 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21334 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21335 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21337 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21338 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21340 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21341 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21342 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21344 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21345 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21346 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21350 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21352 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21353 for stpncpy calls for GCC 8.
21354 (test_strncat): Disable -Wstringop-truncation warning for strncat
21355 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21356 strncat call for GCC 7.
21357 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21359 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21362 * string/bug-strncat1.c: Include <libc-diag.h>.
21363 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21365 2017-11-13 Claude Paroz <claude@2xlibre.net>
21368 * localedata/locales/aa_DJ: Improved readibility by replacing
21369 <Uxxxx> sequences in the ASCII printable range by their ASCII
21370 character equivalents.
21371 * localedata/locales/aa_ER: Likewise.
21372 * localedata/locales/aa_ER@saaho: Likewise.
21373 * localedata/locales/aa_ET: Likewise.
21374 * localedata/locales/af_ZA: Likewise.
21375 * localedata/locales/agr_PE: Likewise.
21376 * localedata/locales/ak_GH: Likewise.
21377 * localedata/locales/am_ET: Likewise.
21378 * localedata/locales/anp_IN: Likewise.
21379 * localedata/locales/ar_AE: Likewise.
21380 * localedata/locales/ar_BH: Likewise.
21381 * localedata/locales/ar_DZ: Likewise.
21382 * localedata/locales/ar_EG: Likewise.
21383 * localedata/locales/ar_IN: Likewise.
21384 * localedata/locales/ar_IQ: Likewise.
21385 * localedata/locales/ar_JO: Likewise.
21386 * localedata/locales/ar_KW: Likewise.
21387 * localedata/locales/ar_LB: Likewise.
21388 * localedata/locales/ar_LY: Likewise.
21389 * localedata/locales/ar_MA: Likewise.
21390 * localedata/locales/ar_OM: Likewise.
21391 * localedata/locales/ar_QA: Likewise.
21392 * localedata/locales/ar_SA: Likewise.
21393 * localedata/locales/ar_SD: Likewise.
21394 * localedata/locales/ar_SS: Likewise.
21395 * localedata/locales/ar_SY: Likewise.
21396 * localedata/locales/ar_TN: Likewise.
21397 * localedata/locales/ar_YE: Likewise.
21398 * localedata/locales/as_IN: Likewise.
21399 * localedata/locales/ast_ES: Likewise.
21400 * localedata/locales/ayc_PE: Likewise.
21401 * localedata/locales/az_AZ: Likewise.
21402 * localedata/locales/az_IR: Likewise.
21403 * localedata/locales/be_BY: Likewise.
21404 * localedata/locales/be_BY@latin: Likewise.
21405 * localedata/locales/bem_ZM: Likewise.
21406 * localedata/locales/ber_DZ: Likewise.
21407 * localedata/locales/ber_MA: Likewise.
21408 * localedata/locales/bg_BG: Likewise.
21409 * localedata/locales/bhb_IN: Likewise.
21410 * localedata/locales/bho_IN: Likewise.
21411 * localedata/locales/bi_VU: Likewise.
21412 * localedata/locales/bn_BD: Likewise.
21413 * localedata/locales/bn_IN: Likewise.
21414 * localedata/locales/bo_CN: Likewise.
21415 * localedata/locales/bo_IN: Likewise.
21416 * localedata/locales/br_FR: Likewise.
21417 * localedata/locales/brx_IN: Likewise.
21418 * localedata/locales/bs_BA: Likewise.
21419 * localedata/locales/byn_ER: Likewise.
21420 * localedata/locales/ca_AD: Likewise.
21421 * localedata/locales/ca_ES: Likewise.
21422 * localedata/locales/ca_FR: Likewise.
21423 * localedata/locales/ca_IT: Likewise.
21424 * localedata/locales/ce_RU: Likewise.
21425 * localedata/locales/chr_US: Likewise.
21426 * localedata/locales/cmn_TW: Likewise.
21427 * localedata/locales/crh_UA: Likewise.
21428 * localedata/locales/cs_CZ: Likewise.
21429 * localedata/locales/csb_PL: Likewise.
21430 * localedata/locales/cv_RU: Likewise.
21431 * localedata/locales/cy_GB: Likewise.
21432 * localedata/locales/da_DK: Likewise.
21433 * localedata/locales/de_AT: Likewise.
21434 * localedata/locales/de_BE: Likewise.
21435 * localedata/locales/de_CH: Likewise.
21436 * localedata/locales/de_DE: Likewise.
21437 * localedata/locales/de_IT: Likewise.
21438 * localedata/locales/de_LI: Likewise.
21439 * localedata/locales/de_LU: Likewise.
21440 * localedata/locales/doi_IN: Likewise.
21441 * localedata/locales/dv_MV: Likewise.
21442 * localedata/locales/dz_BT: Likewise.
21443 * localedata/locales/el_CY: Likewise.
21444 * localedata/locales/el_GR: Likewise.
21445 * localedata/locales/en_AG: Likewise.
21446 * localedata/locales/en_AU: Likewise.
21447 * localedata/locales/en_BW: Likewise.
21448 * localedata/locales/en_CA: Likewise.
21449 * localedata/locales/en_DK: Likewise.
21450 * localedata/locales/en_GB: Likewise.
21451 * localedata/locales/en_HK: Likewise.
21452 * localedata/locales/en_IE: Likewise.
21453 * localedata/locales/en_IL: Likewise.
21454 * localedata/locales/en_IN: Likewise.
21455 * localedata/locales/en_NG: Likewise.
21456 * localedata/locales/en_NZ: Likewise.
21457 * localedata/locales/en_PH: Likewise.
21458 * localedata/locales/en_SG: Likewise.
21459 * localedata/locales/en_US: Likewise.
21460 * localedata/locales/en_ZA: Likewise.
21461 * localedata/locales/en_ZM: Likewise.
21462 * localedata/locales/en_ZW: Likewise.
21463 * localedata/locales/eo: Likewise.
21464 * localedata/locales/es_AR: Likewise.
21465 * localedata/locales/es_BO: Likewise.
21466 * localedata/locales/es_CL: Likewise.
21467 * localedata/locales/es_CO: Likewise.
21468 * localedata/locales/es_CR: Likewise.
21469 * localedata/locales/es_CU: Likewise.
21470 * localedata/locales/es_DO: Likewise.
21471 * localedata/locales/es_EC: Likewise.
21472 * localedata/locales/es_ES: Likewise.
21473 * localedata/locales/es_GT: Likewise.
21474 * localedata/locales/es_HN: Likewise.
21475 * localedata/locales/es_MX: Likewise.
21476 * localedata/locales/es_NI: Likewise.
21477 * localedata/locales/es_PA: Likewise.
21478 * localedata/locales/es_PE: Likewise.
21479 * localedata/locales/es_PR: Likewise.
21480 * localedata/locales/es_PY: Likewise.
21481 * localedata/locales/es_SV: Likewise.
21482 * localedata/locales/es_US: Likewise.
21483 * localedata/locales/es_UY: Likewise.
21484 * localedata/locales/es_VE: Likewise.
21485 * localedata/locales/et_EE: Likewise.
21486 * localedata/locales/eu_ES: Likewise.
21487 * localedata/locales/eu_ES@euro: Likewise.
21488 * localedata/locales/fa_IR: Likewise.
21489 * localedata/locales/ff_SN: Likewise.
21490 * localedata/locales/fi_FI: Likewise.
21491 * localedata/locales/fil_PH: Likewise.
21492 * localedata/locales/fo_FO: Likewise.
21493 * localedata/locales/fr_BE: Likewise.
21494 * localedata/locales/fr_CA: Likewise.
21495 * localedata/locales/fr_CH: Likewise.
21496 * localedata/locales/fr_FR: Likewise.
21497 * localedata/locales/fr_LU: Likewise.
21498 * localedata/locales/fur_IT: Likewise.
21499 * localedata/locales/fy_DE: Likewise.
21500 * localedata/locales/fy_NL: Likewise.
21501 * localedata/locales/ga_IE: Likewise.
21502 * localedata/locales/gd_GB: Likewise.
21503 * localedata/locales/gez_ER: Likewise.
21504 * localedata/locales/gez_ET: Likewise.
21505 * localedata/locales/gl_ES: Likewise.
21506 * localedata/locales/gu_IN: Likewise.
21507 * localedata/locales/gv_GB: Likewise.
21508 * localedata/locales/ha_NG: Likewise.
21509 * localedata/locales/hak_TW: Likewise.
21510 * localedata/locales/he_IL: Likewise.
21511 * localedata/locales/hi_IN: Likewise.
21512 * localedata/locales/hif_FJ: Likewise.
21513 * localedata/locales/hne_IN: Likewise.
21514 * localedata/locales/hr_HR: Likewise.
21515 * localedata/locales/hsb_DE: Likewise.
21516 * localedata/locales/ht_HT: Likewise.
21517 * localedata/locales/hu_HU: Likewise.
21518 * localedata/locales/hy_AM: Likewise.
21519 * localedata/locales/i18n: Likewise.
21520 * localedata/locales/ia_FR: Likewise.
21521 * localedata/locales/id_ID: Likewise.
21522 * localedata/locales/ig_NG: Likewise.
21523 * localedata/locales/ik_CA: Likewise.
21524 * localedata/locales/is_IS: Likewise.
21525 * localedata/locales/it_CH: Likewise.
21526 * localedata/locales/it_IT: Likewise.
21527 * localedata/locales/iu_CA: Likewise.
21528 * localedata/locales/ja_JP: Likewise.
21529 * localedata/locales/ka_GE: Likewise.
21530 * localedata/locales/kk_KZ: Likewise.
21531 * localedata/locales/kl_GL: Likewise.
21532 * localedata/locales/kn_IN: Likewise.
21533 * localedata/locales/ko_KR: Likewise.
21534 * localedata/locales/kok_IN: Likewise.
21535 * localedata/locales/ks_IN: Likewise.
21536 * localedata/locales/ks_IN@devanagari: Likewise.
21537 * localedata/locales/ku_TR: Likewise.
21538 * localedata/locales/kw_GB: Likewise.
21539 * localedata/locales/ky_KG: Likewise.
21540 * localedata/locales/lb_LU: Likewise.
21541 * localedata/locales/lg_UG: Likewise.
21542 * localedata/locales/li_BE: Likewise.
21543 * localedata/locales/li_NL: Likewise.
21544 * localedata/locales/lij_IT: Likewise.
21545 * localedata/locales/ln_CD: Likewise.
21546 * localedata/locales/lo_LA: Likewise.
21547 * localedata/locales/lt_LT: Likewise.
21548 * localedata/locales/lv_LV: Likewise.
21549 * localedata/locales/lzh_TW: Likewise.
21550 * localedata/locales/mag_IN: Likewise.
21551 * localedata/locales/mai_IN: Likewise.
21552 * localedata/locales/mg_MG: Likewise.
21553 * localedata/locales/mhr_RU: Likewise.
21554 * localedata/locales/mi_NZ: Likewise.
21555 * localedata/locales/mk_MK: Likewise.
21556 * localedata/locales/ml_IN: Likewise.
21557 * localedata/locales/mn_MN: Likewise.
21558 * localedata/locales/mni_IN: Likewise.
21559 * localedata/locales/mr_IN: Likewise.
21560 * localedata/locales/ms_MY: Likewise.
21561 * localedata/locales/mt_MT: Likewise.
21562 * localedata/locales/my_MM: Likewise.
21563 * localedata/locales/nan_TW: Likewise.
21564 * localedata/locales/nan_TW@latin: Likewise.
21565 * localedata/locales/nb_NO: Likewise.
21566 * localedata/locales/nds_DE: Likewise.
21567 * localedata/locales/nds_NL: Likewise.
21568 * localedata/locales/ne_NP: Likewise.
21569 * localedata/locales/nhn_MX: Likewise.
21570 * localedata/locales/niu_NU: Likewise.
21571 * localedata/locales/niu_NZ: Likewise.
21572 * localedata/locales/nl_AW: Likewise.
21573 * localedata/locales/nl_BE: Likewise.
21574 * localedata/locales/nl_NL: Likewise.
21575 * localedata/locales/nn_NO: Likewise.
21576 * localedata/locales/nr_ZA: Likewise.
21577 * localedata/locales/nso_ZA: Likewise.
21578 * localedata/locales/oc_FR: Likewise.
21579 * localedata/locales/om_ET: Likewise.
21580 * localedata/locales/om_KE: Likewise.
21581 * localedata/locales/or_IN: Likewise.
21582 * localedata/locales/os_RU: Likewise.
21583 * localedata/locales/pa_IN: Likewise.
21584 * localedata/locales/pa_PK: Likewise.
21585 * localedata/locales/pap_AW: Likewise.
21586 * localedata/locales/pap_CW: Likewise.
21587 * localedata/locales/pl_PL: Likewise.
21588 * localedata/locales/ps_AF: Likewise.
21589 * localedata/locales/pt_BR: Likewise.
21590 * localedata/locales/pt_PT: Likewise.
21591 * localedata/locales/quz_PE: Likewise.
21592 * localedata/locales/raj_IN: Likewise.
21593 * localedata/locales/ro_RO: Likewise.
21594 * localedata/locales/ru_RU: Likewise.
21595 * localedata/locales/ru_UA: Likewise.
21596 * localedata/locales/rw_RW: Likewise.
21597 * localedata/locales/sa_IN: Likewise.
21598 * localedata/locales/sat_IN: Likewise.
21599 * localedata/locales/sc_IT: Likewise.
21600 * localedata/locales/sd_IN: Likewise.
21601 * localedata/locales/sd_IN@devanagari: Likewise.
21602 * localedata/locales/se_NO: Likewise.
21603 * localedata/locales/sgs_LT: Likewise.
21604 * localedata/locales/shs_CA: Likewise.
21605 * localedata/locales/si_LK: Likewise.
21606 * localedata/locales/sid_ET: Likewise.
21607 * localedata/locales/sk_SK: Likewise.
21608 * localedata/locales/sl_SI: Likewise.
21609 * localedata/locales/sm_WS: Likewise.
21610 * localedata/locales/so_DJ: Likewise.
21611 * localedata/locales/so_ET: Likewise.
21612 * localedata/locales/so_KE: Likewise.
21613 * localedata/locales/so_SO: Likewise.
21614 * localedata/locales/sq_AL: Likewise.
21615 * localedata/locales/sq_MK: Likewise.
21616 * localedata/locales/sr_ME: Likewise.
21617 * localedata/locales/sr_RS: Likewise.
21618 * localedata/locales/sr_RS@latin: Likewise.
21619 * localedata/locales/ss_ZA: Likewise.
21620 * localedata/locales/st_ZA: Likewise.
21621 * localedata/locales/sv_FI: Likewise.
21622 * localedata/locales/sv_SE: Likewise.
21623 * localedata/locales/sw_KE: Likewise.
21624 * localedata/locales/sw_TZ: Likewise.
21625 * localedata/locales/szl_PL: Likewise.
21626 * localedata/locales/ta_IN: Likewise.
21627 * localedata/locales/ta_LK: Likewise.
21628 * localedata/locales/tcy_IN: Likewise.
21629 * localedata/locales/te_IN: Likewise.
21630 * localedata/locales/tg_TJ: Likewise.
21631 * localedata/locales/th_TH: Likewise.
21632 * localedata/locales/the_NP: Likewise.
21633 * localedata/locales/ti_ER: Likewise.
21634 * localedata/locales/ti_ET: Likewise.
21635 * localedata/locales/tig_ER: Likewise.
21636 * localedata/locales/tk_TM: Likewise.
21637 * localedata/locales/tl_PH: Likewise.
21638 * localedata/locales/tn_ZA: Likewise.
21639 * localedata/locales/to_TO: Likewise.
21640 * localedata/locales/tpi_PG: Likewise.
21641 * localedata/locales/tr_CY: Likewise.
21642 * localedata/locales/tr_TR: Likewise.
21643 * localedata/locales/ts_ZA: Likewise.
21644 * localedata/locales/tt_RU: Likewise.
21645 * localedata/locales/tt_RU@iqtelif: Likewise.
21646 * localedata/locales/ug_CN: Likewise.
21647 * localedata/locales/uk_UA: Likewise.
21648 * localedata/locales/unm_US: Likewise.
21649 * localedata/locales/ur_IN: Likewise.
21650 * localedata/locales/ur_PK: Likewise.
21651 * localedata/locales/uz_UZ: Likewise.
21652 * localedata/locales/uz_UZ@cyrillic: Likewise.
21653 * localedata/locales/ve_ZA: Likewise.
21654 * localedata/locales/vi_VN: Likewise.
21655 * localedata/locales/wa_BE: Likewise.
21656 * localedata/locales/wae_CH: Likewise.
21657 * localedata/locales/wal_ET: Likewise.
21658 * localedata/locales/wo_SN: Likewise.
21659 * localedata/locales/xh_ZA: Likewise.
21660 * localedata/locales/yi_US: Likewise.
21661 * localedata/locales/yo_NG: Likewise.
21662 * localedata/locales/yue_HK: Likewise.
21663 * localedata/locales/yuw_PG: Likewise.
21664 * localedata/locales/zh_CN: Likewise.
21665 * localedata/locales/zh_HK: Likewise.
21666 * localedata/locales/zh_SG: Likewise.
21667 * localedata/locales/zh_TW: Likewise.
21668 * localedata/locales/zu_ZA: Likewise.
21670 2017-11-13 Florian Weimer <fweimer@redhat.com>
21672 * support/next_to_fault.h, support/next_to_fault.c: New files.
21673 * support/Makefile (libsupport-routines): Add next_to_fault.
21674 * resolv/tst-inet_pton.c (struct next_to_fault)
21675 (next_to_fault_allocate, next_to_fault_free): Remove.
21676 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21678 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21680 * elf/dl-support.c: Include <dl-procruntime.c>.
21681 * include/link.h: Include <link_map.h>.
21682 * sysdeps/generic/dl-procruntime.c: New file.
21683 * sysdeps/generic/link_map.h: Likewise.
21684 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21685 the writable ld.so namespace.
21687 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21689 timezone: pacify GCC -Wstringop-truncation
21690 Problem reported by Martin Sebor in:
21691 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21692 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21694 2017-11-12 Florian Weimer <fweimer@redhat.com>
21696 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21698 (tests): Add tst-xreadlink.
21699 * support/support.h (xstrndup): Declare.
21700 * support/xunistd.h (xunlink, xreadlink): Declare.
21701 * support/temp_file.h (support_create_temp_directory): Declare.
21702 * support/temp_file.c (support_create_temp_directory): New function.
21703 * support/support_chroot.c (support_chroot_create): Use it.
21704 * support/xreadlink.c: New file.
21705 * support/xstrndup.c: Likewise.
21706 * support/xunlink.c: Likewise.
21707 * support/tst-xreadlink.c: Likewise.
21709 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21711 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21713 2017-11-11 Florian Weimer <fweimer@redhat.com>
21717 * resolv/res_comp.c (printable_string, binary_hnok)
21718 (binary_leading_dash): New functions.
21719 (res_hnok): Reimplement using these functions and ns_name_pton.
21720 (res_ownok): Likewise.
21721 (res_mailok): Reimplement using printable_string, ns_name_pton and
21723 (res_dnok): Reimplement using printable_string and ns_name_pton.
21724 * resolv/tst-res_hnok.c (tests): Add additional tests.
21725 (LETTERDIGITS, PRINTABLE): Define.
21726 (do_test): Adjust one_char results.
21728 2017-11-11 Florian Weimer <fweimer@redhat.com>
21731 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21732 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21734 2017-11-11 Florian Weimer <fweimer@redhat.com>
21736 * resolv/tst-ns_name_pton.c: New file.
21737 * resolv/Makefile (tests): Add tst-ns_name_pton.
21738 (tst-ns_name_pton): Link against libresolv.
21740 2017-11-11 Florian Weimer <fweimer@redhat.com>
21742 * resolv/tst-res_hnok.c: New file.
21743 * resolv/Makefile (tests): Add tst-res_hnok.
21744 (tst-res_hnok): Link against libresolv.
21746 2017-11-11 Florian Weimer <fweimer@redhat.com>
21748 * resolv/tst-resolv-network.c: Use test framework instead explicit
21751 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21753 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21754 <jmp_buf-macros.h>.
21755 [!_ISOMAC] (STR_HELPER): New.
21756 [!_ISOMAC] (STR): Likewise.
21757 [!_ISOMAC] (TEST_SIZE): Likewise.
21758 [!_ISOMAC] (TEST_ALIGN): Likewise.
21759 [!_ISOMAC] (TEST_OFFSET): Likewise.
21760 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21761 field offsets of jmp_buf as well as sigjmp_buf.
21762 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21763 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21764 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21765 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21766 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21767 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21768 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21769 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21770 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21771 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21773 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21775 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21780 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21781 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21782 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21783 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21784 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21789 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21790 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21791 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21793 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21796 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21797 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21798 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21799 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21800 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21801 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21802 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21803 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21804 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21805 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21807 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21809 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21810 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21811 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21812 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21813 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21814 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21815 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21816 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21817 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21819 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21821 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21823 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21825 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21827 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21829 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21831 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21833 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21835 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21837 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21838 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21839 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21840 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21841 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21842 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21843 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21844 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21845 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21846 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21847 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21848 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21849 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21850 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21851 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21852 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21853 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21854 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21855 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21856 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21857 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21858 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21859 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21860 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21861 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21862 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21863 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21864 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21865 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21866 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21867 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21868 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21869 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21870 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21871 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21872 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21873 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21874 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21875 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21876 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21877 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21878 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21879 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21880 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21881 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21882 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21883 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21885 * stdlib/tst-strtod.h (F16): New macro.
21891 (IF_FLOAT16): Likewise.
21892 (IF_FLOAT32): Likewise.
21893 (IF_FLOAT64): Likewise.
21894 (IF_FLOAT32X): Likewise.
21895 (IF_FLOAT64X): Likewise.
21896 (IF_FLOAT128X): Likewise.
21897 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21898 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21899 (STRTOD_TEST_FOREACH): Likewise.
21900 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21901 (CHOOSE_f64): Likewise.
21902 (CHOOSE_f32x): Likewise.
21903 (CHOOSE_f64x): Likewise.
21905 2017-11-07 Andreas Schwab <schwab@suse.de>
21907 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21909 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21912 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21914 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21917 2017-11-07 Claude Paroz <claude@2xlibre.net>
21920 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21922 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21924 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21927 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21930 * nptl/allocatestack.c (allocate_stack): Check if
21931 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21932 __PTHREAD_MUTEX_HAVE_PREV is defined.
21933 * nptl/descr.h (pthread): Likewise.
21934 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21936 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21937 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21938 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21939 * sysdeps/nptl/bits/thread-shared-types.h
21940 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21942 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21943 of __WORDSIZE for internal layout.
21944 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21945 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21946 instead of __WORDSIZE whether to use an union for __spins and __list
21948 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21950 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21951 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21953 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21954 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21956 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21957 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21959 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21960 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21962 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
21963 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21965 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
21966 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21968 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
21969 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21971 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
21972 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21974 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
21975 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21977 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
21978 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21980 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
21981 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21983 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
21984 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21986 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
21987 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21989 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
21990 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21992 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
21993 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21996 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
21998 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
21999 checks for expected input type size.
22000 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22001 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22003 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22004 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22005 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22006 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22007 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22008 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22009 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22010 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22011 superflous runtime assert check.
22012 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22014 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22016 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22018 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22020 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22022 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22024 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22025 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22026 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22028 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22030 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22032 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22034 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22036 * nptl/pthread_attr_setinheritsched.c
22037 (__pthread_attr_setinheritsched): Likewise.
22038 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22040 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22042 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22043 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22044 __old_pthread_attr_setstack): Likewise.
22045 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22047 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22049 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22051 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22052 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22054 * nptl/tst-typesizes.c: Remove file.
22056 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22057 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22058 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22059 checks for internal pthread_mutex_t offsets.
22060 * sysdeps/aarch64/nptl/pthread-offsets.h
22061 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22062 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22063 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22064 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22065 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22066 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22067 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22068 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22069 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22070 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22071 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22072 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22073 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22074 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22075 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22076 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22077 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22078 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22080 2017-11-07 Florian Weimer <fweimer@redhat.com>
22082 * bits/mman-linux.h: Move ...
22083 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22085 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22088 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22090 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22091 Redefine STRNLEN as __strnlen_power8.
22093 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22095 * signal/sighold.c (sighold): Optimize implementation.
22097 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22098 __NR_rt_sigqueueinfo.
22100 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22102 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22103 assume __NR_rt_sigtimedwait.
22104 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22105 and add LIBC_CANCEL_HANDLED for cancellation marking.
22106 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22108 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22109 (sysdeps_routines): Add memchr_noneon.
22110 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22111 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22112 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22113 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22114 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22115 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22116 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22118 * sysdeps/arm/arm-ifunc.h: New file.
22119 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22120 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22121 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22122 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22123 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22124 (__memcpy_neon): Avoid create hidden alias.
22125 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22126 (__memcpy_vfp): Likewise.
22127 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22128 (sysdep_routines): Add memcpy_arm.
22129 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22131 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22134 * Makerules (make-link-multidir): New.
22135 * config.make.in (multidir): New.
22136 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22137 * configure: Regenerated.
22138 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22139 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22140 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22143 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22146 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22147 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22149 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22151 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22154 2017-11-04 Florian Weimer <fweimer@redhat.com>
22156 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22158 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22160 * math/math.h [__HAVE_DISTINCT_FLOAT16
22161 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22162 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22163 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22164 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22165 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22166 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22167 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22168 (__MATH_TG_F32): New macro.
22169 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22170 (__MATH_TG_F64X): Likewise.
22171 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22172 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22174 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22176 * po/de.po: Update translations.
22177 * po/ru.po: Likewise.
22179 2017-11-03 Florian Weimer <fweimer@redhat.com>
22181 * manual/filesys.texi (Hard Links): Document linkat.
22183 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22185 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22186 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22187 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22188 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22189 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22190 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22191 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22192 the same as _Float128.
22193 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22194 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22195 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22198 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22200 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22202 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22204 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22205 (strtof32x): Likewise.
22206 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22207 (strtof64x): Likewise.
22208 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22209 (strtof128x): Likewise.
22210 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22211 (strfromf16): Likewise.
22212 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22213 (strfromf32): Likewise.
22214 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22215 (strfromf64): Likewise.
22216 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22217 (strfromf32x): Likewise.
22218 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22219 (strfromf64x): Likewise.
22220 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22221 (strfromf128x): Likewise.
22222 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22223 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22224 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22225 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22226 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22227 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22229 2017-11-03 Richard Henderson <rth@twiddle.net>
22231 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22233 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22235 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22237 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22239 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22240 DT_TLSDESC_GOT initialization.
22241 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22242 (_dl_tlsdesc_resolve_hold): Likewise.
22243 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22244 (_dl_tlsdesc_resolve_hold): Likewise.
22245 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22246 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22248 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22250 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22252 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22255 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22256 non-lazily for R_ARM_TLS_DESC.
22258 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22261 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22262 R_ARM_TLS_DESC case.
22263 (elf_machine_lazy_rel): Remove the prelink check.
22265 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22267 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22268 DT_TLSDESC_GOT initialization.
22269 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22270 (_dl_tlsdesc_resolve_rela): Likewise.
22271 (_dl_tlsdesc_resolve_hold): Likewise.
22272 (_dl_tlsdesc_undefweak): Remove ldar.
22273 (_dl_tlsdesc_dynamic): Likewise.
22274 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22275 (_dl_tlsdesc_resolve_rela): Likewise.
22276 (_dl_tlsdesc_resolve_hold): Likewise.
22277 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22278 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22279 (_dl_tlsdesc_resolve_rela): Likewise.
22280 (_dl_tlsdesc_resolve_hold): Likewise.
22282 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22284 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22285 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22287 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22289 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22290 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22292 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22294 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22296 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22297 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22298 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22299 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22300 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22301 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22302 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22303 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22304 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22305 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22306 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22308 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22311 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22312 * localedata/locales/tpi_PG: Add standard header.
22314 2017-11-02 Florian Weimer <fweimer@redhat.com>
22316 test-errno-linux: quotactl can fail with EPERM in containers.
22317 * sysdeps/unix/sysv/linux/test-errno-linux.c
22318 (LIST, LIST_FORWARD): New macros.
22319 (check_error_in_list): New function.
22320 (test_wrp_rv): Accept list of permitted error codes.
22321 (test_wrp_rv2): Remove.
22322 (test_wrp): Call test_wrp_rv with list of error codes.
22323 (test_wrp2): Accept list of error codes.
22324 (do_test): Adjust. Allow EPERM for quotactl.
22326 2017-11-02 Florian Weimer <fweimer@redhat.com>
22328 * stdio-common/bug16.c (do_test): Use array_length.
22329 * stdio-common/errlist.c (_sys_nerr): Likewise.
22330 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22331 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22332 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22333 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22334 (do_test): Use array_length.
22335 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22336 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22337 * stdio-common/tst-printf-round.c (do_test): Likewise.
22338 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22339 (CHECK): Use array_length.
22340 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22341 * stdio-common/tstscanf.c (main): Likewise.
22342 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22344 2017-11-02 Florian Weimer <fweimer@redhat.com>
22346 Add array_length and array_end macros.
22347 * include/array_length.h: New file.
22349 2017-11-02 Florian Weimer <fweimer@redhat.com>
22352 * posix/tst-glob-tilde.c (do_noescape): New variable.
22353 (one_test): Process it.
22354 (do_test): Set do_noescape. Add unescaping test case.
22356 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22359 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22360 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22361 with appropriate macros defined and undefined.
22362 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22363 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22364 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22365 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22366 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22367 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22368 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22369 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22370 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22371 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22374 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22375 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22376 that for long double. Do not condition define and undefine of
22377 _Mdouble_complex_ on [__CFLOAT128].
22379 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22381 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22382 of <sysdeps/generic/sysdep.h>.
22383 (ALIGNARG): Removed.
22384 (ASM_SIZE_DIRECTIVE): Likewise.
22387 (ENTRY_CHK): Likewise.
22388 (END_CHK): Likewise.
22389 (syscall_error): Likewise.
22390 (mcount): Likewise.
22391 (PSEUDO_END): Likewise.
22393 (atom_text_section): Likewise.
22394 * sysdeps/x86/sysdep.h: New file.
22395 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22396 of <sysdeps/generic/sysdep.h>.
22397 (ALIGNARG): Removed.
22398 (ASM_SIZE_DIRECTIVE): Likewise.
22401 (ENTRY_CHK): Likewise.
22402 (END_CHK): Likewise.
22403 (syscall_error): Likewise.
22404 (mcount): Likewise.
22405 (PSEUDO_END): Likewise.
22407 (atom_text_section): Likewise.
22409 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22411 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22412 category of LC_CTYPE set to "i18n:2012".
22413 * localedata/locales/i18n_ctype: Regenerate.
22415 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22417 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22418 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22419 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22420 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22422 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22423 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22424 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22425 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22427 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22430 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22432 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22434 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22436 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22437 (CMPLXF32X): Likewise.
22438 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22439 (CMPLXF64X): Likewise.
22440 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22441 (CMPLXF128X): Likewise.
22444 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22445 (__MATH_EVAL_FMT2): Define to add 0.0f.
22447 2017-10-31 Alan Modra <amodra@gmail.com>
22449 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22465 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22466 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22467 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22468 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22469 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22470 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22471 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22472 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22473 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22474 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22475 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22476 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22477 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22478 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22479 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22480 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22481 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22482 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22483 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22484 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22485 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22486 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22487 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22488 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22489 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22490 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22491 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22492 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22493 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22494 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22495 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22496 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22497 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22498 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22499 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22500 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22501 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22502 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22503 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22504 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22505 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22506 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22507 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22508 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22509 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22510 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22511 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22512 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22513 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22514 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22515 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22516 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22517 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22518 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22519 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22522 include sysdep.h and math_ldbl_opt.h.
22524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22525 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22551 2017-10-31 Alan Modra <amodra@gmail.com>
22553 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22554 string/strncase_l.c, not string/strncase.c.
22555 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22556 (libc_hidden_def): Redefine.
22558 2017-10-31 Alan Modra <amodra@gmail.com>
22560 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22561 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22562 (__strcasecmp): Don't define.
22564 2017-10-31 Alan Modra <amodra@gmail.com>
22566 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22568 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22569 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22570 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22572 2017-10-31 Alan Modra <amodra@gmail.com>
22574 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22577 2017-10-31 Alan Modra <amodra@gmail.com>
22579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22580 Redefine only when SHARED.
22582 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22584 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22585 Include <bits/math-finite.h> with appropriate macros defined and
22587 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22588 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22589 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22590 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22591 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22593 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22594 [!_Mlong_double_] (_Mlong_double_): Likewise.
22595 [!_Mfloat16_] (_Mfloat16_): Likewise.
22596 [!_Mfloat32_] (_Mfloat32_): Likewise.
22597 [!_Mfloat64_] (_Mfloat64_): Likewise.
22598 [!_Mfloat128_] (_Mfloat128_): Likewise.
22599 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22600 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22601 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22602 (_Mdouble_): Define without indirection through those macros.
22603 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22604 [!_Mfloat128_] (_Mfloat128_): Likewise.
22605 [_Mlong_double_] (_Mlong_double_): Likewise.
22606 (_Mdouble_): Define without indirection through those macros.
22607 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22608 not add -D_Mlong_double_=double.
22609 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22610 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22612 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22614 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22616 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22618 * sysdeps/x86/libc-start.c: Reformat.
22620 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22623 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22624 (1): Renamed to ...
22627 (L(Src2)): Likewise.
22628 (L(1)): Renamed to ...
22631 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22633 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22634 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22635 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22636 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22637 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22638 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22639 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22640 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22641 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22642 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22643 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22644 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22645 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22646 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22647 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22648 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22649 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22650 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22651 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22652 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22653 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22654 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22655 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22656 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22657 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22658 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22659 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22660 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22661 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22662 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22663 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22664 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22665 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22666 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22667 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22668 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22669 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22670 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22671 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22672 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22673 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22674 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22675 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22676 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22677 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22678 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22679 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22680 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22681 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22682 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22683 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22684 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22685 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22686 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22687 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22688 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22689 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22690 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22691 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22692 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22693 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22694 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22695 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22696 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22697 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22698 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22700 2017-10-30 Florian Weimer <fweimer@redhat.com>
22702 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22704 * io/tst-mkdirat.c (do_test): Likewise.
22705 * io/tst-mkfifoat.c (do_test): Likewise.
22706 * io/tst-mknodat.c (do_test): Likewise.
22707 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22708 * locale/programs/locale.c (select_dirs): Likewise.
22709 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22710 * posix/bug-glob2.c (my_readdir): Likewise.
22711 * posix/tst-dir.c (main): Likewise.
22712 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22713 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22715 2017-10-30 Florian Weimer <fweimer@redhat.com>
22717 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22720 2017-10-30 Florian Weimer <fweimer@redhat.com>
22722 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22723 Convert to support/test-driver.c.
22724 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22725 New macro parameters.
22726 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22727 * posix/tst-gnuglob.c: New file.
22728 * posix/tst-gnuglob64.c: Likewise.
22729 * posix/Makefile (tests): Add tst-gnuglob64.
22731 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22734 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22735 and use a better translation for March in “mon”.
22736 * localedata/locales/csb_PL: Use more ASCII to improve the
22737 readability of the source.
22739 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22742 * localedata/locales/km_KH: Use ASCII as much
22743 as possible for better readability of the source and
22744 remove useless comments.
22745 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22746 was commented out and apparently wrong anyway because it was
22747 using Lao characters. If Buddhist era should be used
22748 for km_KH, a native speaker should write the correct formaat
22750 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22751 (According to CLDR, the first weekday for Cambodia is Sunday).
22752 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22753 (These were using Lao characters which must be wrong. If we get
22754 the correct data from a native speaker, we could add it back, until
22755 then it is better not to have name_mr and name_mrs at all than
22758 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22760 * locale/loadlocale.c: Correct size of
22761 _nl_value_type_LC_<category> arrays.
22763 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22765 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22766 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22767 with appropriate macros defined and undefined.
22768 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22769 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22770 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22771 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22772 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22774 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22776 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22779 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22781 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22782 with lowercase letters to make it agree with CLDR.
22784 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22787 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22788 first letters of yesstr and nostr in yesexpr and noexpr,
22789 not for the full words.
22790 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22791 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22792 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22793 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22794 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22795 first letters of yesstr and nostr in yesexpr and noexpr,
22796 until now only English was matched in yesexpr and noexpr.
22797 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22798 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22799 fil but not for tl. As tl and fil are very similar, using fil
22800 is probably better than using English.
22802 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22805 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22806 in yesstr and nostr.
22808 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22810 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22811 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22812 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22814 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22816 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22818 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22820 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22821 (SNANF128X): Likewise.
22823 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22824 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22825 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22826 (HUGE_VAL_F32): Likewise.
22827 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22828 (HUGE_VAL_F64): Likewise.
22829 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22830 (HUGE_VAL_F32X): Likewise.
22831 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22832 (HUGE_VAL_F64X): Likewise.
22833 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22834 (HUGE_VAL_F128X): Likewise.
22836 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22838 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22839 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22840 for the br_FR locale.
22842 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22845 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22847 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22849 * locale/programs/record-status.h: Define globals, and function
22850 prototypes. Move function bodies...
22851 * locale/programs/record-status.c: ... to here. New file.
22852 * iconv/Makefile (iconv_prog-modules): Add record-status.
22853 * locale/Makefile (lib-modules): Likewise.
22854 * iconv/iconv_prog.c: Remove verbose.
22855 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22856 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22857 record a warning about ASCII compatibility.
22858 * locale/programs/ld-monetary.c (monetary_finish): If
22859 warn_int_curr_symbol is true then record a warning about the symbol
22860 not being in our ISO 4217 list.
22861 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22862 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22863 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22864 (OPT_NO_WARN): Define.
22865 (OPT_WARN): Define.
22866 (options): Add entry for --no-warnings, and --warnings.
22867 (set_warnings): New function to enable/disable warnings.
22868 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22869 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22870 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22871 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22872 Pass flags to generate_locale.
22873 (generate_locale): Accept new flag argument and pass it to localedef
22875 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22876 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22878 * localedata/Makefile (test-input-data): Use full file name.
22879 * localedata/da_DK.in: Rename to...
22880 * localedata/da_DK.ISO-8859-1.in: ...this.
22881 * localedata/de_DE.in: Rename to...
22882 * localedata/de_DE.ISO-8859-1.in: ...this.
22883 * localedata/en_US.in: Rename to...
22884 * localedata/en_US.ISO-8859-1.in: ...this.
22885 * localedata/fr_FR.in: Rename to...
22886 * localedata/fr_FR.UTF-8.in: ... this.
22887 * localedata/hr_HR.in: Rename to...
22888 * localedata/hr_HR.ISO-8859-2.in: ...this.
22889 * localedata/hu_HU.in: Rename to...
22890 * localedata/hu_HU.UTF-8.in: ...this.
22891 * localedata/si_LK.in: Rename to...
22892 * localedata/si_LK.UTF-8.in: ...this.
22893 * localedata/sv_SE.in: Rename to...
22894 * localedata/sv_SE.ISO-8859-1.in: ...this.
22895 * localedata/tr_TR.in: Rename to...
22896 * localedata/tr_TR.UTF-8.in: ...this.
22897 * localedata/uk_UA.in: Rename to...
22898 * localedata/uk_UA.UTF-8.in: ...this.
22899 * localedata/sort-test.sh: Test file is locale name with the
22902 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22903 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22905 * localedata/locales/i18n_ctype: Regenerate.
22906 * localedata/locales/tr_TR: Likewise.
22907 * localedata/locales/translit_circle: Likewise.
22908 * localedata/locales/translit_cjk_compat: Likewise.
22909 * localedata/locales/translit_combining: Likewise.
22910 * localedata/locales/translit_compat: Likewise.
22911 * localedata/locales/translit_font: Likewise.
22912 * localedata/locales/translit_fraction: Likewise.
22914 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22916 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22917 lxvd2x/stxvd2x with lvx/stvx.
22918 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22920 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22922 * include/alloc_buffer.h: Replace "if if " with "if " in
22924 * sysdeps/mips/memcpy.S: Likkewise.
22925 * sysdeps/mips/memset.S: Likewise.
22926 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22928 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22930 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22933 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22936 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22937 yesexpr and noexpr.
22938 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22939 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22940 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22941 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22942 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22943 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22944 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22946 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22948 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22949 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22950 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22951 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22952 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22953 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22954 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22955 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22956 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22957 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22958 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22959 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22961 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22963 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
22964 as possible for better readability of the source.
22965 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
22966 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
22967 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
22968 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
22969 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
22970 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
22971 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
22972 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
22973 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22974 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
22975 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
22976 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
22977 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
22978 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
22979 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
22980 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
22981 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
22982 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
22983 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
22984 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
22985 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
22986 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
22987 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
22988 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
22989 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
22990 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
22991 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
22992 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
22993 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
22994 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
22995 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
22996 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22997 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
22998 * localedata/locales/en_US (LC_MESSAGES): Likewise.
22999 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23000 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23001 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23002 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23003 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23004 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23005 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23006 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23007 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23008 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23009 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23010 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23011 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23012 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23013 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23014 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23015 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23016 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23017 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23018 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23019 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23020 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23021 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23022 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23023 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23024 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23025 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23026 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23027 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23028 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23029 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23030 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23031 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23032 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23033 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23034 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23035 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23036 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23037 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23038 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23039 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23040 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23041 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23042 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23043 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23044 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23045 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23046 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23047 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23048 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23049 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23050 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23051 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23052 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23053 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23054 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23055 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23056 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23057 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23058 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23059 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23060 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23061 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23062 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23063 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23064 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23065 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23066 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23067 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23068 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23069 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23070 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23071 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23072 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23073 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23074 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23075 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23076 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23077 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23078 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23079 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23080 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23081 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23082 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23083 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23084 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23085 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23086 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23087 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23088 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23089 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23090 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23091 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23092 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23093 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23094 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23095 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23096 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23097 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23098 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23099 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23100 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23101 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23102 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23103 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23104 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23105 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23106 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23107 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23108 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23109 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23110 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23111 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23112 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23113 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23114 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23115 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23116 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23117 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23118 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23119 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23120 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23121 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23122 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23123 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23124 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23125 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23126 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23127 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23128 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23129 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23130 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23131 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23132 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23133 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23134 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23135 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23136 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23137 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23138 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23140 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23142 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23143 (Use first letters of yesstr and nostr correctly instead of using
23146 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23148 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23149 (Use first letters of yesstr and nostr correctly).
23151 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23153 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23154 also check for the first characters of yesstr and nostr.
23155 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23156 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23158 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23160 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23161 also check for Chinese characters.
23163 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23165 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23166 match also for the contents of yesstr and nostr. As the first letter
23167 of yesstr and nostr is equal, checking only for the first letter
23170 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23172 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23173 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23175 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23177 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23178 of main contributor.
23180 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23182 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23183 instead of using English.
23185 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23187 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23188 by including the first letters of nostr and yesexpr in the regexp.
23189 Also make it more readable by using ASCII where possible.
23191 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23193 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23194 the first letter of nostr in the regexp. It agrees with CLDR now.
23195 Also make it more readable by using ASCII where possible.
23197 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23199 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23200 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23201 these strings contain a U+17D6 (which somewhat looks like a colon)
23202 instead of a real colon to separate the full words for “yes”
23203 and “no” from the single letter responses.
23205 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23207 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23208 it agree with CLDR (include the first letter of yesstr).
23209 Also make it more readable by using ASCII where possible.
23211 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23213 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23214 and improve yesexpr and noexpr. The yesstr and nostr apparently
23215 came from CLDR. And CLDR has a bug there: these strings contain
23216 a U+0903 (which looks like a colon) instead of a real colon
23217 to separate the full words for “yes” and “no” from the single
23220 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23222 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23223 letters of the full yesstr and nostr in yesexpr and noexpr.
23225 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23227 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23228 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23229 * localedata/locales/an_ES: Make source more readable by using ASCII
23232 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23235 * localedata/locales/yuw_PG: New file.
23236 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23237 * locale/iso-639.def: Add Yau (Uruwa).
23239 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23241 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23243 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23245 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23246 (__libc_realloc): Likewise.
23247 (_mid_memalign): Likewise.
23248 (__libc_calloc): Likewise.
23250 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23252 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23253 by adding the generic +1 and -0 as in all other locales.
23254 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23255 day names and make it more readable by using ASCII where possible.
23257 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23259 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23260 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23262 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23264 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23265 WNOHANG in waitpid call.
23267 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23269 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23270 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23272 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23273 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23274 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23275 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23276 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23277 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23278 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23279 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23282 2017-10-23 Michael Collison <michael.collison@arm.com>
23284 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23285 with __builtin_sqrt.
23286 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23287 with __builtin_sqrtf.
23288 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23289 with __builtin_ceil.
23290 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23291 with __builtin_ceilf.
23292 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23293 with __builtin_floor.
23294 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23295 with __builtin_floorf.
23296 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23297 with __builtin_fma.
23298 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23299 with __builtin_fmaf.
23300 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23301 with __builtin_fmax.
23302 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23303 with __builtin_fmaxf.
23304 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23305 with __builtin_fmin.
23306 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23307 with __builtin_fminf.
23308 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23309 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23310 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23311 with builtin_rint and conversion to int.
23312 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23313 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23314 with builtin_llround.
23315 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23316 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23317 with builtin_rint and conversion to long int.
23318 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23319 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23320 with builtin_lround.
23321 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23322 with builtin_lroundf.
23323 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23324 statements with __builtin_nearbyint.
23325 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23326 statements with __builtin_nearbyintf.
23327 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23328 with __builtin_rint.
23329 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23330 with __builtin_rintf.
23331 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23332 with __builtin_round.
23333 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23334 with __builtin_roundf.
23335 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23336 with __builtin_trunc.
23337 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23338 with __builtin_truncf.
23339 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23340 and s_l[l]round[f].c too.
23342 2017-10-23 Alan Modra <amodra@gmail.com>
23344 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23345 Adjust stack after restoring regs. Add missing LR cfi_restore.
23347 2017-10-23 Alan Modra <amodra@gmail.com>
23349 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23350 Move LR save and frame setup/teardown and LR restore to
23351 immediately around memset call. Provide cfi.
23353 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23355 * sysdeps/i386/fpu/e_powf.S: Removed.
23356 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23357 * sysdeps/i386/fpu/w_powf.c: Likewise.
23358 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23359 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23360 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23362 (CFLAGS-e_powf-sse2.c): New.
23363 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23364 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23366 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23368 * sysdeps/i386/fpu/e_log2f.S: Removed.
23369 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23370 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23371 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23372 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23373 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23375 (CFLAGS-e_log2f-sse2.c): New.
23376 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23377 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23379 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23381 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23383 (CFLAGS-e_powf-fma.c): New.
23384 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23385 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23387 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23389 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23391 (CFLAGS-e_log2f-fma.c): New.
23392 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23393 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23395 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23397 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23399 (CFLAGS-e_logf-fma.c): New.
23400 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23401 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23403 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23405 * sysdeps/i386/fpu/e_logf.S: Removed.
23406 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23407 * sysdeps/i386/fpu/w_logf.c: Likewise.
23408 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23409 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23410 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23411 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23413 (CFLAGS-e_logf-sse2.c): New.
23414 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23415 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23417 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23419 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23420 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23421 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23422 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23423 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23425 (CFLAGS-e_exp2f-sse2.c): New.
23426 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23427 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23429 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23431 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23433 (CFLAGS-e_exp2f-fma.c): New.
23434 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23435 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23437 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23439 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23440 * sysdeps/i386/fpu/e_expf.S: Likewise.
23441 * sysdeps/i386/fpu/math_errf.c: Likewise.
23442 * sysdeps/i386/fpu/w_expf.c: Likewise.
23443 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23444 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23445 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23446 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23447 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23448 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23449 Remove e_expf-ia32.
23450 (CFLAGS-e_expf-sse2.c): New.
23451 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23452 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23454 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23456 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23457 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23458 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23459 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23461 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23463 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23464 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23466 (__redirect_expf): This.
23467 (SYMBOL_NAME): Changed to expf.
23468 (__ieee754_expf): Renamed to ...
23470 (__GI___expf): This.
23471 (__ieee754_expf): Add strong_alias.
23472 (__expf_finite): Likewise.
23474 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23476 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23479 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23482 2017-10-21 Florian Weimer <fweimer@redhat.com>
23484 * posix/Makefile (tests): Add tst-glob-tilde.
23485 (tests-special): Add tst-glob-tilde-mem.out
23486 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23487 (tst-glob-tilde-mem.out): Add mtrace check.
23488 * posix/tst-glob-tilde.c: New file.
23490 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23492 * bits/floatn-common.h: New file.
23493 * math/Makefile (headers): Add bits/floatn-common.h.
23494 * bits/floatn.h: Include <bits/floatn-common.h>.
23495 * sysdeps/ia64/bits/floatn.h: Likewise.
23496 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23497 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23498 * sysdeps/powerpc/bits/floatn.h: Likewise.
23499 * sysdeps/x86/bits/floatn.h: Likewise.
23501 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23503 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23504 indicates whether compiler emits an warning for alias for
23505 functions with incompatible types.
23508 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23509 the auxiliary process is terminated by a signal before calling _exit
23512 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23515 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23517 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23518 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23519 and bit_arch_XSAVEC_Usable if needed.
23520 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23521 and bit_arch_Use_dl_runtime_resolve_opt.
23522 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23524 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23525 (bit_arch_Prefer_No_AVX512): Updated.
23526 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23527 (bit_arch_XSAVEC_Usable): New.
23528 (STATE_SAVE_OFFSET): Likewise.
23529 (STATE_SAVE_MASK): Likewise.
23530 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23531 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23532 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23533 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23534 (index_arch_XSAVEC_Usable): New.
23535 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23536 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23537 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23539 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23540 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23541 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23542 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23543 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23544 _dl_runtime_resolve_xsavec.
23545 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23547 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23548 instead of VEC_SIZE.
23549 (REGISTER_SAVE_BND0): Removed.
23550 (REGISTER_SAVE_BND1): Likewise.
23551 (REGISTER_SAVE_BND3): Likewise.
23552 (REGISTER_SAVE_RAX): Always defined to 0.
23554 (_dl_runtime_resolve_avx): Likewise.
23555 (_dl_runtime_resolve_avx_slow): Likewise.
23556 (_dl_runtime_resolve_avx_opt): Likewise.
23557 (_dl_runtime_resolve_avx512): Likewise.
23558 (_dl_runtime_resolve_avx512_opt): Likewise.
23559 (_dl_runtime_resolve_sse): Likewise.
23560 (_dl_runtime_resolve_sse_vex): Likewise.
23562 (_dl_runtime_resolve_fxsave): Likewise.
23563 (USE_XSAVE): Likewise.
23564 (_dl_runtime_resolve_xsave): Likewise.
23565 (USE_XSAVEC): Likewise.
23566 (_dl_runtime_resolve_xsavec): Likewise.
23567 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23569 (_dl_runtime_resolve_avx512_opt): Likewise.
23570 (_dl_runtime_resolve_avx): Likewise.
23571 (_dl_runtime_resolve_avx_opt): Likewise.
23572 (_dl_runtime_resolve_sse): Likewise.
23573 (_dl_runtime_resolve_sse_vex): Likewise.
23574 (_dl_runtime_resolve_fxsave): New.
23575 (_dl_runtime_resolve_xsave): Likewise.
23576 (_dl_runtime_resolve_xsavec): Likewise.
23578 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23582 * posix/glob.c (__glob): Fix one-byte overflow.
23584 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23586 * malloc/malloc.c (sysdep-cancel.h): Add include.
23588 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23590 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23592 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23594 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23595 (tests): Remove $(objpfx)ga_test depdendency.
23596 * resolv/ga_test.c: Remove file.
23598 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23601 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23602 * localedata/locales/kab_DZ: New file.
23604 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23606 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23607 _dl_relocate_static_pie instead of _dl_start to compute load
23608 address in static PIE.
23610 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23612 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23614 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23617 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23618 * localedata/locales/shn_MM: New file.
23620 2017-10-20 Florian Weimer <fweimer@redhat.com>
23623 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23624 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23625 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23626 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23627 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23628 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23630 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23632 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23634 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23636 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23639 * sysdeps/mips/bits/long-double.h: Move to ....
23640 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23642 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23644 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23646 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23647 H.J. Lu <hongjiu.lu@intel.com>
23650 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23651 GLRO(dl_platform) to NULL.
23652 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23653 (modules-names): Add tst-platformmod-1 and
23654 x86_64/tst-platformmod-2.
23655 (CFLAGS-tst-platform-1.c): New.
23656 (CFLAGS-tst-platformmod-1.c): Likewise.
23657 (CFLAGS-tst-platformmod-2.c): Likewise.
23658 (LDFLAGS-tst-platformmod-2.so): Likewise.
23659 ($(objpfx)tst-platform-1): Likewise.
23660 ($(objpfx)tst-platform-1.out): Likewise.
23661 (tst-platform-1-ENV): Likewise.
23662 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23663 * sysdeps/x86_64/tst-platform-1.c: New file.
23664 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23665 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23667 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23670 * locale/iso-639.def: Add Karbi.
23671 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23672 * localedata/locales/mjw_IN: New file.
23674 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23676 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23677 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23678 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23679 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23680 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23681 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23682 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23684 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23685 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23686 * manual/math.texi (Mathematics): Document additional architecture
23687 support for _Float128.
23688 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23689 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23690 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23691 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23692 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23693 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23694 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23695 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23696 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23697 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23698 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23699 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23700 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23701 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23702 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23704 2017-10-18 Renlin Li <renlin.li@arm.com>
23706 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23707 _DYNAMIC symbol to calculate load address.
23709 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23711 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23712 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23714 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23715 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23717 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23720 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23721 and improve readability by using more ASCII.
23722 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23723 and improve readability by using more ASCII.
23725 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23727 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23728 not all targets support atomics on bool.
23730 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23732 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23733 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23735 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23736 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23737 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23738 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23739 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23740 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23742 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23744 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23747 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23750 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23751 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23752 (do_check_remalloced_chunk): Fix build bug.
23753 (do_check_malloc_state): Add assert that checks arena->top.
23754 (malloc_consolidate): Remove initialization.
23755 (int_mallinfo): Remove call to malloc_consolidate.
23756 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23758 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23760 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23761 (have_fastchunks): Remove.
23762 (clear_fastchunks): Remove.
23763 (set_fastchunks): Remove.
23764 (malloc_state): Add have_fastchunks.
23765 (malloc_init_state): Use have_fastchunks.
23766 (do_check_malloc_state): Remove incorrect invariant checks.
23767 (_int_malloc): Use have_fastchunks.
23768 (_int_free): Likewise.
23769 (malloc_consolidate): Likewise.
23771 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23773 * malloc/malloc.c (tcache_put): Inline.
23774 (tcache_get): Inline.
23776 2017-10-17 Jordi Mallach <jordi@gnu.org>
23778 Aurelien Jarno <aurelien@aurel32.net>
23780 * localedata/locales/ca_ES@valencia: New file.
23781 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23783 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23786 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23789 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23791 * scripts/build-many-glibcs.py (Context.add_all_configs):
23792 Add arm-linux-gnueabihf multiarch extra_glibcs.
23794 * sysdeps/generic/ifunc-init.h: New file.
23795 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23797 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23800 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23801 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23802 * stdlib/tst-strfmon_l.c: adapt test case.
23804 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23806 * sysdeps/generic/float128-abi.h: New file.
23807 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23808 non-__prefixed symbols to ....
23809 * math/Versions: ... here. Include <float128-abi.h>.
23810 * stdlib/Versions ... and here. Include <float128-abi.h>
23812 2017-10-16 Florian Weimer <fweimer@redhat.com>
23814 * version.h (VERSION): Switch to ".9000" as the development
23817 2017-10-16 Florian Weimer <fweimer@redhat.com>
23820 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23821 compat_symbol_reference to access non-default version.
23823 2017-10-16 Florian Weimer <fweimer@redhat.com>
23825 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23827 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23829 * include/shlib-compat.h (compat_symbol_reference): Update
23832 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23834 * math/Makefile (test-types): Add
23835 $(type-float128-$(float128-alias-fcts)).
23836 * math/test-float128.h (TYPE_STR): Define conditional on
23837 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23838 (ULP_IDX): Likewise.
23839 (ULP_I_IDX): Likewise.
23841 * stdlib/strtold.c: Include <bits/floatn.h>
23842 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23843 and later undefine as macro. Define as weak alias if
23845 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23846 and later undefine as macro. Define as weak alias if
23848 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23849 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23850 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23851 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23852 Define and later undefine as macro. Define as weak alias if
23854 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23856 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23857 Define and later undefine as macro. Define as weak alias if
23859 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23860 Define and later undefine as macro. Define as weak alias if
23863 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23865 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23866 record_verbose messages.
23868 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23871 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23872 to silence -O3 -Wall warning with GCC 7.
23874 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23876 * Makeconfig (+link-static-before-libc): Use the first of
23877 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23878 * gmon/Makefile (tests): Add tst-gmon-static.
23879 (tests-static): Likewise.
23880 (CFLAGS-tst-gmon-static.c): New.
23881 (CRT-tst-gmon-static): Likewise.
23882 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23883 (tst-gmon-static-ENV): Likewise.
23884 (tests-special): Likewise.
23885 ($(objpfx)tst-gmon-static.out): Likewise.
23886 (clean-tst-gmon-static-data): Likewise.
23887 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23888 * gmon/tst-gmon-static-gprof.sh: New file.
23889 * gmon/tst-gmon-static.c: Likewise.
23891 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23894 * locale/programs/linereader.c (get_string): Don't warn on
23895 non-symbolic character.
23898 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23902 * locale/programs/record-status.h: New file
23903 * locale/programs/locale.c: Add comment.
23904 * locale/programs/charmap-dir.c: Don't include error.h.
23905 (charmap_opendir): Use record_error.
23906 * locale/programs/charmap.c: Don't include error.h.
23907 (charmap_read): Use record_error, and record_warning.
23908 (parse_charmap): Likewise.
23909 * locale/programs/ld-address.c: Don't include error.h.
23910 (address_finish): Use record_error, and record_warning.
23911 * locale/programs/ld-collate.c: Don't include error.h.
23912 (collate_finish): Use record_error, and record_error_at_line.
23913 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23914 (ctype_class_new): Likewise.
23915 (ctype_map_new): Likewise.
23916 (set_one_default): Likewise.
23917 (set_class_defaults): Likewise.
23918 (translit_flatten): Likewise.
23919 (allocate_arrays): Use record_error, and record_verbose.
23920 * locale/programs/ld-identification.c: Don't include error.h.
23921 (indentation_finish): Use record_error and record_warning.
23922 * locale/programs/ld-measurement.c: Don't include error.h.
23923 (measurement_finish): Use record_error.
23924 * locale/programs/ld-messages.c
23925 (message_finish): Likewise.
23926 * locale/programs/ld-monetary.c
23927 (monetary_finish): Likewise.
23928 * locale/programs/ld-name.c (name_finish): Use record_error
23929 and record_warning.
23930 * locale/programs/ld-numeric.c
23931 (numeric_finish): Use record_error.
23932 * locale/programs/ld-paper.c: Don't include error.h.
23933 (paper_finish): Use record_error.
23934 * locale/programs/ld-telephone.c: Don't include error.h.
23935 (telephone_finish): Use record_error.
23936 * locale/programs/ld-time.c (time_finish): Likewise.
23937 * locale/programs/linereader.h (lr_error): Make inline func.
23938 * locale/programs/localedef.c: Define recorded_warning_count,
23939 and recorded_error_count.
23940 (main): Use record_error. Use recorded_error_count and
23941 recorded_warning_count to issue correct error returns.
23942 (add_to_readlist): Use record_error.
23943 (find_locale): Likewise.
23944 (load_locale): Likewise.
23945 * locale/programs/localedef.h: Remove be_quiet
23946 and WITH_CUR_LOCALE.
23947 * locale/programs/locarchive.c (compare_from_file): Use
23949 * locale/programs/locfile.c (write_locale_data): Use
23951 * locale/programs/repertoire.c: Dont include error.h.
23952 (repertoire_complain): Use record_error.
23953 * localedata/tst-fmon.sh: Expect failures from localedef.
23954 * localedata/tst-locale.sh: Likewise.
23955 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23957 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23958 (REPORTS): Likewise.
23960 (i18n): Rename to...
23961 (i18n_ctype): ...this.
23962 (i18n-report): Rename to...
23963 (i18n_ctype-report): ...this.
23964 * localedata/locales/i18n_ctype: Regenerate.
23965 * localedata/locales/i18n: copy i18n_ctype.
23967 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23969 * stdlib/strfroml.c: Include <bits/floatn.h>.
23970 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
23971 Define before include of <stdlib.h> and undefine afterwards, then
23972 define as weak alias.
23974 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
23975 Undefine and restore default definition. Use
23976 libm_alias_ldouble_other.
23978 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
23981 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
23984 2017-10-13 James Clarke <jrtc27@jrtc27.com>
23986 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23987 Assign sym_map to be map for local symbols, as TLS relocations
23988 use sym_map to determine whether the symbol is defined and to
23989 extract the TLS information.
23990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23991 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23993 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23996 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
23997 (math_force_eval): Add powerpc version.
24000 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24002 (do_test): Likewise.
24003 * stdio-common/tst-printf.sh: Likewise.
24004 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24005 ifdef clause in order to set the carry bit right. Replace r0 by
24006 0 without changing the behavior.
24008 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24010 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24011 <libm-alias-ldouble.h>.
24012 (fabsl): Define using libm_alias_ldouble.
24013 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24014 <libm-alias-ldouble.h>.
24015 (fabsl): Define using libm_alias_ldouble.
24017 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24018 Remove conditional code.
24020 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24021 Rename to __clog10_internal_l.
24022 (__clog10_internal_l): Define aliases using
24023 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24026 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24028 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24029 * benchtests/sincosf-inputs: New file.
24030 * benchtests/cosf-inputs: New file.
24031 * benchtests/sinf-inputs: New file.
24033 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24035 * posix/tst-spawn.c (do_test): Wait for both children.
24037 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24040 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24041 tests-pie): Add tst-gmon-pie.
24042 (CFLAGS-tst-gmon-pie.c): New.
24043 (CRT-tst-gmon-pie): Likewise.
24044 (tst-gmon-pie-ENV): Likewise.
24045 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24046 ($(objpfx)tst-gmon-pie.out): Likewise.
24047 (clean-tst-gmon-pie-data): Likewise.
24048 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24049 * gmon/gmon.c [PIC]: Include <link.h>.
24050 [PIC] (callback): New function.
24051 (write_hist): Add an argument for load address. Subtract load
24053 (write_call_graph): Likewise.
24054 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24055 it to write_hist and write_call_graph.
24056 * gmon/tst-gmon-pie.c: New file.
24058 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24060 * math/Makefile (test-types-basic): New variable.
24061 (test-types): Likewise.
24062 (libm-test-support): Use $(test-types) instead of $(types).
24063 (libm-tests-base-normal): Likewise.
24064 (libm-tests-base-finite): Likewise.
24065 (libm-tests-base-inline): Likewise.
24066 (generated): Likewise.
24067 ($(objpfx)libm-test-support-$(t).c): Likewise.
24068 (libm-tests-for-type iterator): Likewise.
24069 (libm-test-support iterator): Likewise.
24070 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24071 (ulp_idx): Use ULP_IDX.
24072 * math/test-ldouble.h: Include <float.h>.
24073 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24074 (ULP_IDX): New macro.
24075 (ULP_I_IDX): Likewise.
24076 * math/test-double.h (ULP_IDX): Likewise.
24077 (ULP_I_IDX): Likewise.
24078 * math/test-float.h (ULP_IDX): Likewise.
24079 (ULP_I_IDX): Likewise.
24080 * math/test-float128.h (ULP_IDX): Likewise.
24081 (ULP_I_IDX): Likewise.
24083 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24085 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24086 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24087 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24088 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24089 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24090 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24091 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24092 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24093 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24094 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24095 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24096 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24097 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24099 (SINGLE_THREAD_BY_GLOBAL): Define.
24100 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24102 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24104 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24106 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24108 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24109 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24113 2017-10-11 Andreas Schwab <schwab@suse.de>
24115 * nis/Makefile (aux): Remove.
24116 * nscd/Makefile (aux): Add nscd_hash.
24117 (nscd-modules): Likewise.
24118 ($(objpfx)nscd): Don't depend on libnsl.
24119 * nscd/nscd_hash.c: New file.
24120 * nscd/nscd_hash.h: Likewise.
24121 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24122 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24123 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24124 instead of <nis/rpcsvc/nis.h>.
24125 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24127 2017-10-11 Florian Weimer <fweimer@redhat.com>
24130 Avoid large NSS buffers with many addresses, aliases.
24131 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24132 using dynarrays and struct alloc_buffer.
24133 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24134 (tst-nss-files-hosts-multi): Link with -ldl.
24135 * nss/tst-nss-files-hosts-multi.c: New file.
24137 2017-10-11 Florian Weimer <fweimer@redhat.com>
24140 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24141 scratch_buffer. Eliminate gotos.
24143 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24145 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24146 libm_alias_ldouble_other.
24147 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24148 undefine and redefine.
24149 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24150 (exp10l): Do not define here.
24151 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24152 (weak_alias): Undefine and redefine.
24153 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24154 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24155 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24156 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24158 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24159 [!__fma] (fma): Define using libm_alias_double.
24160 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24161 [!__fmaf] (fmaf): Define using libm_alias_float.
24162 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24163 (fmal): Define using libm_alias_ldouble.
24165 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24167 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24169 (libm_alias_double_other): Likewise.
24170 (libm_alias_double_r): Use libm_alias_double_other_r.
24171 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24173 (libm_alias_float_other): Likewise.
24174 (libm_alias_float_r): Use libm_alias_float_other_r.
24175 * sysdeps/generic/libm-alias-float128.h
24176 (libm_alias_float128_other_r): New macro.
24177 (libm_alias_float128_other): Likewise.
24178 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24179 * sysdeps/generic/libm-alias-ldouble.h
24180 (libm_alias_ldouble_other_r): New macro.
24181 (libm_alias_ldouble_other): Likewise.
24182 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24183 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24184 (libm_alias_double_other_r): New macro.
24185 (libm_alias_double_other): Likewise.
24186 (libm_alias_double_r): Use libm_alias_double_other_r.
24187 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24188 (libm_alias_ldouble_other_r): New macro.
24189 (libm_alias_ldouble_other): Likewise.
24190 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24191 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24192 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24193 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24194 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24195 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24196 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24197 * math/w_exp2f.c: Use libm_alias_float_other.
24198 * math/w_expf.c: Likewise.
24199 * math/w_log2f.c: Likewise.
24200 * math/w_logf.c: Likewise.
24201 * math/w_powf.c: Likewise.
24202 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24203 [!__exp2f]: Use libm_alias_float_other.
24204 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24205 [!__expf]: Use libm_alias_float_other.
24206 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24207 [!__log2f]: Use libm_alias_float_other.
24208 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24209 [!__logf]: Use libm_alias_float_other.
24210 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24211 [!__powf]: Use libm_alias_float_other.
24213 2017-10-10 Florian Weimer <fweimer@redhat.com>
24215 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24217 (_nss_files_gethostbyname3_r): Call it.
24219 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24221 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24222 error. Remove default definition of declare_mgen_alias.
24223 [!declare_mgen_alias_r]: Likewise.
24224 * sysdeps/generic/math-type-macros-double.h
24225 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24226 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24227 (declare_mgen_alias_r): Likewise.
24228 * sysdeps/generic/math-type-macros-float128.h
24229 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24230 * sysdeps/generic/math-type-macros-ldouble.h
24231 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24232 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24234 (declare_mgen_alias_r_s): Likewise.
24235 (declare_mgen_alias_r): Likewise.
24236 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24237 (lgamma_r): Define using libm_alias_double_r.
24238 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24239 (lgammaf_r): Define using libm_alias_float_r.
24240 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24241 (lgammal_r): Define using libm_alias_ldouble_r.
24242 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24243 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24245 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24247 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24248 extern declaration.
24250 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24252 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24254 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24257 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24258 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24259 * math/Makefile (test-math-cxx11): New test.
24260 * math/test-math-cxx11.cc: New file.
24262 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24264 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24266 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24267 call to allocate the slave pty file descriptor.
24269 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24271 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24272 [!__fma] (fma): Define using libm_alias_double.
24273 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24274 [!__fma] (fma): Define using libm_alias_double.
24276 * sysdeps/ieee754/float128/float128_private.h: Include
24277 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24278 (libm_alias_ldouble_r): Undefine and redefine.
24279 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24280 <libm-alias-ldouble.h>.
24281 (asinhl): Define using libm_alias_ldouble.
24282 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24283 <libm-alias-ldouble.h>.
24284 (atanl): Define using libm_alias_ldouble.
24285 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24286 <libm-alias-ldouble.h>.
24287 (cbrtl): Define using libm_alias_ldouble.
24288 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24289 <libm-alias-ldouble.h>.
24290 (ceill): Define using libm_alias_ldouble.
24291 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24292 <libm-alias-ldouble.h>.
24293 (copysignl): Define using libm_alias_ldouble.
24294 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24295 <libm-alias-ldouble.h>.
24296 (cosl): Define using libm_alias_ldouble.
24297 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24298 <libm-alias-ldouble.h>.
24299 (erfl): Define using libm_alias_ldouble.
24301 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24302 <libm-alias-ldouble.h>.
24303 (expm1l): Define using libm_alias_ldouble.
24304 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24305 <libm-alias-ldouble.h>.
24306 (fabsl): Define using libm_alias_ldouble.
24307 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24308 <libm-alias-ldouble.h>.
24309 (floorl): Define using libm_alias_ldouble.
24310 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24311 <libm-alias-ldouble.h>.
24312 (fmal): Define using libm_alias_ldouble.
24313 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24314 <libm-alias-ldouble.h>.
24315 (frexpl): Define using libm_alias_ldouble.
24316 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24317 libm_alias_ldouble.
24318 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24319 <libm-alias-ldouble.h>.
24320 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24321 libm_alias_ldouble.
24322 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24323 <libm-alias-ldouble.h>.
24324 (getpayloadl): Define using libm_alias_ldouble.
24325 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24326 <libm-alias-ldouble.h>.
24327 (llrintl): Define using libm_alias_ldouble.
24328 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24329 <libm-alias-ldouble.h>.
24330 (llroundl): Define using libm_alias_ldouble.
24331 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24332 <libm-alias-ldouble.h>.
24333 (logbl): Define using libm_alias_ldouble.
24334 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24335 <libm-alias-ldouble.h>.
24336 (lrintl): Define using libm_alias_ldouble.
24337 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24338 <libm-alias-ldouble.h>.
24339 (lroundl): Define using libm_alias_ldouble.
24340 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24341 <libm-alias-ldouble.h>.
24342 (modfl): Define using libm_alias_ldouble.
24343 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24344 <libm-alias-ldouble.h>.
24345 (nearbyintl): Define using libm_alias_ldouble.
24346 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24347 <libm-alias-ldouble.h>.
24348 (nextafterl): Define using libm_alias_ldouble.
24349 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24350 <libm-alias-ldouble.h>.
24351 (nextupl): Define using libm_alias_ldouble.
24352 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24353 <libm-alias-ldouble.h>.
24354 (remquol): Define using libm_alias_ldouble.
24355 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24356 <libm-alias-ldouble.h>.
24357 (rintl): Define using libm_alias_ldouble.
24358 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24359 <libm-alias-ldouble.h>.
24360 (roundevenl): Define using libm_alias_ldouble.
24361 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24362 <libm-alias-ldouble.h>.
24363 (roundl): Define using libm_alias_ldouble.
24364 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24365 using libm_alias_ldouble.
24366 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24367 <libm-alias-ldouble.h>.
24368 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24369 Define using libm_alias_ldouble.
24370 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24371 <libm-alias-ldouble.h>.
24372 (sincosl): Define using libm_alias_ldouble.
24373 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24374 <libm-alias-ldouble.h>.
24375 (sinl): Define using libm_alias_ldouble.
24376 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24377 <libm-alias-ldouble.h>.
24378 (tanhl): Define using libm_alias_ldouble.
24379 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24380 <libm-alias-ldouble.h>.
24381 (tanl): Define using libm_alias_ldouble.
24382 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24383 <libm-alias-ldouble.h>.
24384 (totalorderl): Define using libm_alias_ldouble.
24385 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24386 <libm-alias-ldouble.h>.
24387 (totalordermagl): Define using libm_alias_ldouble.
24388 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24389 <libm-alias-ldouble.h>.
24390 (truncl): Define using libm_alias_ldouble.
24391 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24392 libm_alias_ldouble.
24393 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24394 libm_alias_ldouble.
24395 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24396 <libm-alias-ldouble.h>.
24397 (weak_alias): Do not undefine and redefine.
24398 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24399 (copysignl): Define with long_double_symbol only if [IS_IN
24401 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24402 <libm-alias-ldouble.h>.
24403 (weak_alias): Do not undefine and redefine.
24404 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24405 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24406 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24407 <libm-alias-ldouble.h>.
24408 (weak_alias): Do not undefine and redefine.
24409 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24410 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24411 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24412 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24413 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24414 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24415 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24416 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24417 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24418 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24419 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24420 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24421 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24422 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24423 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24424 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24425 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24426 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24427 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24428 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24429 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24430 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24431 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24432 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24433 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24434 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24436 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24439 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24440 (tcache_thread_freeres): Set tcache_shutting_down before
24441 freeing the tcache.
24442 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24443 * malloc/tst-malloc-tcache-leak.c: New file.
24445 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24447 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24448 back to powerpc32 file.
24449 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24450 (memrchr): Add __memrchr_power8 to ifunc list.
24451 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24452 extra bytes for unaligned inputs.
24454 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24456 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24457 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24458 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24459 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24460 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24462 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24464 * sysdeps/arm/libm-test-ulps: Update.
24466 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24467 <libm-alias-ldouble.h>.
24468 (asinhl): Define using libm_alias_ldouble.
24469 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24470 <libm-alias-ldouble.h>.
24471 (cbrtl): Define using libm_alias_ldouble.
24472 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24473 <libm-alias-ldouble.h>.
24474 (copysignl): Define using libm_alias_ldouble.
24475 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24476 <libm-alias-ldouble.h>.
24477 (cosl): Define using libm_alias_ldouble.
24478 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24479 <libm-alias-ldouble.h>.
24480 (erfl): Define using libm_alias_ldouble.
24482 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24483 <libm-alias-ldouble.h>.
24484 (fmal): Define using libm_alias_ldouble.
24485 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24486 <libm-alias-ldouble.h>.
24487 (frexpl): Define using libm_alias_ldouble.
24488 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24489 libm_alias_ldouble.
24490 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24491 <libm-alias-ldouble.h>.
24492 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24493 libm_alias_ldouble.
24494 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24495 <libm-alias-ldouble.h>.
24496 (getpayloadl): Define using libm_alias_ldouble.
24497 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24498 <libm-alias-ldouble.h>.
24499 (llrintl): Define using libm_alias_ldouble.
24500 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24501 <libm-alias-ldouble.h>.
24502 (llroundl): Define using libm_alias_ldouble.
24503 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24504 <libm-alias-ldouble.h>.
24505 (lrintl): Define using libm_alias_ldouble.
24506 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24507 <libm-alias-ldouble.h>.
24508 (lroundl): Define using libm_alias_ldouble.
24509 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24510 <libm-alias-ldouble.h>.
24511 (modfl): Define using libm_alias_ldouble.
24512 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24513 <libm-alias-ldouble.h>.
24514 (nextupl): Define using libm_alias_ldouble.
24515 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24516 <libm-alias-ldouble.h>.
24517 (remquol): Define using libm_alias_ldouble.
24518 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24519 <libm-alias-ldouble.h>.
24520 (roundevenl): Define using libm_alias_ldouble.
24521 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24522 <libm-alias-ldouble.h>.
24523 (roundl): Define using libm_alias_ldouble.
24524 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24525 using libm_alias_ldouble.
24526 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24527 <libm-alias-ldouble.h>.
24528 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24529 <libm-alias-ldouble.h>.
24530 (setpayloadsigl): Define using libm_alias_ldouble.
24531 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24532 <libm-alias-ldouble.h>.
24533 (sincosl): Define using libm_alias_ldouble.
24534 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24535 <libm-alias-ldouble.h>.
24536 (sinl): Define using libm_alias_ldouble.
24537 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24538 <libm-alias-ldouble.h>.
24539 (tanhl): Define using libm_alias_ldouble.
24540 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24541 <libm-alias-ldouble.h>.
24542 (tanl): Define using libm_alias_ldouble.
24543 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24544 <libm-alias-ldouble.h>.
24545 (totalorderl): Define using libm_alias_ldouble.
24546 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24547 <libm-alias-ldouble.h>.
24548 (totalordermagl): Define using libm_alias_ldouble.
24549 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24550 libm_alias_ldouble.
24551 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24552 libm_alias_ldouble.
24554 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24556 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24558 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24559 (__libc_ifunc_impl_list): Likewise.
24560 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24561 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24563 * benchtests/bench-memmove-walk.c: New file.
24564 * benchtests/Makefile (string-benchset): Add it.
24566 * benchtests/bench-memset-walk.c: New file.
24567 * benchtests/Makefile (string-benchset): Add it.
24569 * benchtests/bench-memcpy-walk.c: New file.
24570 * benchtests/Makefile (string-benchset): Add it.
24572 2017-10-05 Florian Weimer <fweimer@redhat.com>
24574 nscd: Eliminate compilation time dependency in the build output.
24575 * nscd/nscd_stat.c (STATDATA_VERSION)
24576 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24577 (STATDATA_VERSION_FULL): New macro definitions.
24578 (compilation): Remove.
24579 (struct statdata): Adjust version member.
24580 (send_stats): Set version from STATDATA_VERSION_FULL.
24581 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24583 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24585 * configure.ac (--enable-add-ons): Remove option.
24586 (machine): Do not mention add-ons in comment.
24587 (LIBC_PRECONFIGURE): Likewise.
24588 (add_ons): Remove variable and sanity checks and logic to locate
24590 (add_ons_automatic): Remove variable.
24591 (configured_add_ons): Likewise.
24592 (add_ons_sfx): Likewise.
24593 (add_ons_pfx): Likewise.
24594 (add_on_subdirs): Likewise.
24595 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24596 consideration of add-ons in Implies handling.
24597 (sysdeps_add_ons): Likewise.
24598 * configure: Regenerated.
24599 * libidn/configure.ac: Remove.
24600 * libidn/configure: Likewise.
24601 * sysdeps/unix/inet/configure.ac: New file.
24602 * sysdeps/unix/inet/configure: New generated file.
24603 * sysdeps/unix/inet/Subdirs: Add libidn.
24604 * Makeconfig (sysdeps-srcdirs): Remove variable.
24605 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24606 ($(common-objpfx)config.status): Do not depend on add-on files.
24607 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24609 (all-subdirs): Do not include $(add-on-subdirs).
24610 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24611 * config.make.in (add-ons): Remove variable.
24612 (add-on-subdirs): Likewise.
24613 (sysdeps-add-ons): Likewise.
24614 * manual/Makefile (add-chapters): Remove.
24615 ($(objpfx)texis): Do not depend on $(add-chapters).
24616 (nonexamples): Do not handle $(add-chapters).
24617 (examples): Do not handle $(add-ons).
24618 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24620 * manual/install.texi (Installation): Do not mention add-ons.
24621 (--enable-add-ons): Do not document configure option.
24622 * INSTALL: Regenerated.
24623 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24624 * manual/maint.texi (Hierarchy Conventions): Do not mention
24626 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24628 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24630 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24631 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24633 2017-10-05 Andreas Schwab <schwab@suse.de>
24636 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24637 (_IO_flush_all_lockp): Always lock list_all_lock.
24638 (_IO_flush_all_linebuffered): Likewise.
24639 (_IO_unbuffer_all): Likewise.
24641 2017-10-05 Florian Weimer <fweimer@redhat.com>
24644 Do not flush stdio streams on abort.
24645 * stdlib/abort.c (fflush): Remove macro definition.
24646 (abort): Remove stages related to stdio flushing.
24648 2017-10-05 Florian Weimer <fweimer@redhat.com>
24650 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24652 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24654 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24656 2017-10-05 Florian Weimer <fweimer@redhat.com>
24658 * support/support_format_hostent.c (support_format_hostent): Add
24659 more error information for NETDB_INTERNAL.
24661 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24663 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24664 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24665 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24666 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24667 AC_DEFINE if multi-arch is enabled.
24668 * sysdeps/i386/configure: Regenerated.
24670 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24672 * Makeconfig (+link-static-before-libc): Use
24673 $(DEFAULT-LDFLAGS-$(@F)).
24674 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24675 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24676 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24678 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24680 * elf/Makefile (tests): Add tst-main1.
24681 (modules-names): Add tst-main1mod.
24682 ($(objpfx)tst-main1): New.
24683 (CRT-tst-main1): Likewise.
24684 (LDFLAGS-tst-main1): Likewise.
24685 (LDLIBS-tst-main1): Likewise.
24686 (tst-main1mod.so-no-z-defs): Likewise.
24687 * elf/tst-main1.c: New file.
24688 * elf/tst-main1mod.c: Likewise.
24690 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24692 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24694 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24696 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24697 (fma): Define using libm_alias_double.
24698 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24699 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24701 (fmal): Do not define as compat symbol here.
24702 * sysdeps/alpha/fpu/s_fma.c: New file.
24704 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24706 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24708 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24711 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24713 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24715 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24716 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24717 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24718 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24720 Include <math_ldbl_opt.h>
24721 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24723 (compat_symbol): Undefine and redefine.
24724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24726 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24727 (compat_symbol): Undefine and redefine.
24728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24729 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24730 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24731 GLIBC_2_1 for libm.
24732 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24733 GLIBC_2.0 copysignl symbol.
24734 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24735 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24737 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24739 2017-10-04 Florian Weimer <fweimer@redhat.com>
24741 * scripts/check-local-headers.sh: Ignore nspr4 header file
24742 directory in addition to nspr.
24744 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24747 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24748 * configure: Regenerate.
24749 * crypt/Makefile (nss-cpp-flags): New variable.
24750 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24751 (CPPFLAGS-md5-crypt.c): Use it.
24752 * scripts/check-local-headers.sh: Ignore nspr header file
24755 2017-10-04 Andreas Schwab <schwab@suse.de>
24757 * nis/Makefile (services): Remove compat.
24758 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24759 ($(objpfx)libnss_compat.so): Remove rule.
24760 * nis/Versions (libnss_compat): Remove.
24761 * nss/Makefile (services): Add compat.
24762 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24763 * nss/Versions (libnss_compat): Define.
24764 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24765 Don't include <rpc/types.h>. Replace bool_t by bool.
24766 * nss/nss_compat/compat-initgroups.c: Likewise.
24767 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24768 instead of <rpcsrv/ypclnt.h>.
24769 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24770 yp_get_default_domain.
24771 * nss/nss_compat/compat-pwd.c: Likewise.
24772 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24773 yp_get_default_domain.
24774 * nss/nss_compat/nisdomain.c: New file.
24775 * nss/nss_compat/nisdomain.h: Likewise.
24777 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24780 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24781 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24783 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24786 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24787 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24789 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24791 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24792 "movl main@GOTOFF(%ebx), %eax".
24794 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24796 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24797 allow undefined _DYNAMIC in PIE libc.a.
24798 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24801 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24803 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24806 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24808 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24811 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24813 * math/test-math-iscanonical.cc (error): Replace bool with int.
24815 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24817 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24818 (modf): Define using libm_alias_double, only if [!__modf].
24819 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24820 <libm-alias-double.h>.
24821 (modf): Define using libm_alias_double, only if [!__modf].
24822 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24823 compat symbol here.
24824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24825 (weak_alias): Do not undefine and redefine.
24826 (strong_alias): Likewise.
24827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24828 (weak_alias): Likewise.
24829 (strong_alias): Likewise.
24831 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24832 (logb): Define using libm_alias_double, only if [!__logb].
24833 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24834 <libm-alias-double.h>.
24835 (logb): Define using libm_alias_double, only if [!__logb].
24836 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24838 (weak_alias): Do not undefine and redefine.
24839 (strong_alias): Likewise.
24840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24841 (weak_alias): Likewise.
24842 (strong_alias): Likewise.
24844 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24846 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24847 Check SHARED instead PIC.
24849 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24851 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24852 [!__fmaf] (fmaf): Define using libm_alias_float.
24854 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24855 (frexp): Define using libm_alias_double.
24856 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24857 <libm-alias-double.h>.
24858 (frexp): Define using libm_alias_double.
24859 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24860 compat symbol here.
24862 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24865 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24866 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24867 (CFLAGS-test-math-iscanonical.cc): New variable.
24868 * math/test-math-iscanonical.cc: New file.
24869 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24870 Provide a C++ implementation based on function overloading,
24871 rather than using __MATH_TG, which uses C-only builtins.
24872 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24874 * sysdeps/powerpc/powerpc64le/Makefile
24875 (CFLAGS-test-math-iscanonical.cc): New variable.
24877 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24879 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24880 (ceil): Define using libm_alias_double.
24881 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24882 (floor): Define using libm_alias_double.
24883 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24884 <libm-alias-double.h>.
24885 (llround): Define using libm_alias_double.
24886 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24887 <libm-alias-double.h>.
24888 (lround): Define using libm_alias_double.
24889 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24890 <libm-alias-double.h>.
24891 (nearbyint): Define using libm_alias_double.
24892 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24893 <libm-alias-double.h>.
24894 (remquo): Define using libm_alias_double.
24895 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24896 (rint): Define using libm_alias_double.
24897 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24898 (round): Define using libm_alias_double.
24899 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24900 (trunc): Define using libm_alias_double.
24901 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24902 <libm-alias-double.h>.
24903 (ceil): Define using libm_alias_double.
24904 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24905 <libm-alias-double.h>.
24906 (floor): Define using libm_alias_double.
24907 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24908 <libm-alias-double.h>.
24909 (llround): Define using libm_alias_double.
24910 [_LP64] (lround): Likewise.
24911 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24912 <libm-alias-double.h>.
24913 [!_LP64] (lround): Define using libm_alias_double.
24914 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24915 <libm-alias-double.h>.
24916 (nearbyint): Define using libm_alias_double.
24917 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24918 <libm-alias-double.h>.
24919 (remquo): Define using libm_alias_double.
24920 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24921 <libm-alias-double.h>.
24922 (rint): Define using libm_alias_double.
24923 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24924 <libm-alias-double.h>.
24925 (round): Define using libm_alias_double.
24926 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24927 <libm-alias-double.h>.
24928 (trunc): Define using libm_alias_double.
24929 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24930 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24931 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24932 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24933 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24934 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24935 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24936 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24937 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24939 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24941 * math/w_remainder.c: New file.
24942 * math/w_remainderf.c: New file.
24943 * math/w_remainderl.c: New file.
24945 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24947 * elf/rtld.c (BOOTSTRAP_MAP): New.
24948 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24949 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24951 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24953 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24956 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24958 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24959 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24960 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24961 rtld_hidden_data_ver): Define to empty.
24962 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
24963 __assert_perror_fail): Likewise.
24964 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24965 (__rewinddir): Likewise.
24966 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24967 (__profile_frequency): Likewise.
24968 * include/setjmp.h (__sigsetjmp): Likewise.
24969 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
24970 __libc_sigaction): Likewise.
24971 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
24972 not set hidden attribute.
24973 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
24974 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
24975 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
24976 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
24977 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
24978 __fxstatat64): Likewise.
24979 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24980 (__uname): Likewise.
24981 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24982 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
24983 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
24984 (NO_RTLD_HIDDEN): Set.
24985 * sysdeps/mach/hurd/configure: Refresh.
24986 * config.h.in: Refresh.
24988 2017-10-02 Joseph Myers <joseph@codesourcery.com>
24990 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
24991 (atan): Define using libm_alias_double.
24992 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
24993 (tan): Define using libm_alias_double.
24994 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
24995 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
24997 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
24998 define as weak alias of __atan. Do not define any aliases if
25000 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25001 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25002 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25003 as weak alias of __tan. Do not define any aliases if [__tan].
25004 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25005 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25006 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25008 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25009 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25010 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25011 and define as weak alias of __atan.
25012 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25014 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25015 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25016 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25017 define as weak alias of __tan.
25019 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25021 * math/w_lgamma.c: New file.
25022 * math/w_lgammaf.c: New file.
25023 * math/w_lgammal.c: New file.
25025 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25027 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25028 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25029 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25030 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25031 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25032 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25033 * sysdeps/i386/fpu/w_log2f.c: New file.
25034 * sysdeps/i386/fpu/w_logf.c: New file.
25035 * sysdeps/i386/fpu/w_powf.c: New file.
25036 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25037 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25038 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25040 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25041 H.J. Lu <hongjiu.lu@intel.com>
25043 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25044 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25045 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25046 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25049 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25050 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25051 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25052 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25053 * sysdeps/i386/fpu/w_exp2f.c: New file.
25054 * sysdeps/i386/fpu/w_expf.c: New file.
25055 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25056 * sysdeps/x86_64/fpu/w_expf.c: New file.
25058 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25060 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25063 * math/w_log2f.c: New file.
25064 * math/w_logf.c: New file.
25065 * math/w_powf.c: New file.
25066 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25067 * math/w_logf_compat.c (__logf_compat): Likewise.
25068 * math/w_powf_compat.c (__powf_compat): Likewise.
25069 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25070 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25071 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25072 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25073 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25074 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25075 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25076 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25077 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25078 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25079 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25080 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25081 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25082 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25083 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25092 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25093 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25094 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25095 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25096 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25101 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25102 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25103 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25105 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25107 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25108 (sysdep_routines): Add memrchr_power8.
25109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25110 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25111 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25113 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25114 (memrchr): Add __memrchr_power8 to ifunc list.
25115 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25117 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25120 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25121 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25123 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25124 (__posix_fallocate64_l64): Likewise.
25126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25129 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25130 (__sched_setaffinity_new): Add libc_hidden_proto and
25133 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25136 * include/glob.h (__glob64): Add libc_hidden_proto.
25137 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25143 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25146 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25149 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25154 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25157 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25160 * csu/version.c (__libc_print_version): Add attribute_hidden.
25162 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25165 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25170 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25172 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25175 * nscd/nscd_helper.c (__nis_hash): New prototype.
25177 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25180 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25181 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25183 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25184 * termios/tcgetattr.c (__tcgetattr): Likewise.
25186 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25189 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25190 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25191 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25192 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25193 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25195 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25198 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25200 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25203 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25204 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25206 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25209 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25211 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25214 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25215 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25217 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25220 * include/ifreq.h: New file.
25221 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25222 (__ifreq): Likewise.
25223 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25224 (__ifreq): Likewise.
25226 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25229 * include/idna.h: New file.
25230 * inet/getnameinfo.c: Include <idna.h> instead of
25232 (__idna_to_unicode_lzlz): Removed.
25233 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25235 (__idna_to_ascii_lz): Removed.
25236 (__idna_to_unicode_lzlz): Likewise.
25238 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25241 * include/plural-exp.h: New file.
25242 * intl/plural-exp.c: Include <plural-exp.h> instead of
25245 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25248 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25249 "getsourcefilter.h".
25250 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25251 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25252 "getsourcefilter.h".
25253 (__get_sol): Removed.
25255 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25258 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25260 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25262 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25265 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25268 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25271 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25273 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25276 * include/search.h (__tdestroy): Add libc_hidden_proto.
25277 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25279 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25282 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25284 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25287 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25290 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25293 * include/signal.h (__kill): Add libc_hidden_proto.
25294 (__sigblock): Likewise.
25295 (__sigprocmask): Likewise.
25296 (__sigaltstack): Likewise.
25297 * signal/kill.c (__kill): Add libc_hidden_def.
25298 * signal/sigblock.c (__sigblock): Likewise.
25299 * signal/sigprocmask.c (__sigprocmask): Likewise.
25300 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25301 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25302 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25303 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25304 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25306 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25308 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25309 (__sigprocmask): Likewise.
25310 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25312 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25313 (__sigprocmask): Likewise.
25314 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25320 * include/string.h (__strsep): Add libc_hidden_proto.
25321 * string/strsep.c (__strsep): Add libc_hidden_def.
25323 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25326 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25328 (__spawni): Likewise.
25330 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25333 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25334 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25337 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25340 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25342 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25345 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25346 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25347 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25348 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25349 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25351 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25352 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25354 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25357 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25358 (__dcigettext): Likewise.
25360 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25363 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25365 (__get_nprocs): Likewise.
25366 (__get_phys_pages): Likewise.
25367 (__get_avphys_pages): Likewise.
25368 (__get_child_max): Add attribute_hidden.
25369 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25370 (__get_nprocs): Likewise.
25371 (__get_phys_pages): Likewise.
25372 (__get_avphys_pages): Likewise.
25373 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25375 (__get_nprocs): Likewise.
25376 (__get_phys_pages): Likewise.
25377 (__get_avphys_pages): Likewise.
25378 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25380 (__get_nprocs_conf): Likewise.
25381 (__get_phys_pages): Likewise.
25382 (__get_avphys_pages): Likewise.
25384 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25387 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25389 (__netlink_close): Likewise.
25390 (__netlink_free_handle): Likewise.
25391 (__netlink_request): Likewise.
25393 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25396 * include/rpc/rpc.h (__rpc_thread_variables): Add
25398 (__rpc_thread_svc_cleanup): Likewise.
25399 (__rpc_thread_clnt_cleanup): Likewise.
25400 (__rpc_thread_key_cleanup): Likewise.
25402 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25405 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25406 (__writev): Likewise.
25407 * misc/readv.c (__readv): Add libc_hidden_def.
25408 * misc/writev.c (__writev): Likewise.
25409 * sysdeps/posix/readv.c (__readv): Likewise.
25410 * sysdeps/posix/writev.c (__writev): Likewise.
25411 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25412 (__readv): Likewise.
25413 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25414 (__writev): Likewise.
25416 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25419 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25420 (__regcomp): Add libc_hidden_proto.
25421 (__regexec): Likewise.
25422 (__regfree): Likewise.
25423 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25424 (__regfree): Likewise.
25425 * posix/regexec.c (__regexec): Likewise.
25427 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25430 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25431 (__getutent): Likewise.
25432 (__getutid): Likewise.
25433 (__getutline): Likewise.
25434 (__pututline): Likewise.
25435 (__getutent_r): Likewise.
25436 (__getutid_r): Likewise.
25437 (__getutline_r): Likewise.
25438 (__utmpname): Add attribute_hidden.
25439 (__setutent): Likewise.
25440 (__endutent): Likewise.
25441 * login/getutent.c (__getutent): Add libc_hidden_def.
25442 * login/getutent_r.c (__getutent_r): Likewise.
25443 (__pututline): Likewise.
25444 * login/getutid.c (__getutid): Likewise.
25445 * login/getutid_r.c (__getutid_r): Likewise.
25446 * login/getutline.c (__getutline): Likewise.
25447 * login/getutline_r.c (__getutline_r): Likewise.
25448 * login/updwtmp.c (__updwtmp): Likewise.
25450 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25453 * include/dirent.h (__opendir): Always add attribute_hidden.
25454 (__fdopendir): Likewise.
25455 (__closedir): Likewise.
25456 (__readdir): Likewise.
25457 (__readdir64): Add libc_hidden_proto.
25458 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25459 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25460 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25461 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25464 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25467 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25468 * include/netdb.h (__gethostbyaddr_r): Likewise.
25469 (__gethostbyname_r): Likewise.
25470 (__gethostbyname2_r): Likewise.
25471 (__getnetbyaddr_r): Likewise.
25472 (__getnetbyname_r): Likewise.
25473 (__getservbyname_r): Likewise.
25474 (__getservbyport_r): Likewise.
25475 (__getprotobyname_r): Likewise.
25476 (__getprotobynumber_r): Likewise.
25477 (__getnetgrent_r): Likewise.
25478 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25479 (__getrpcbynumber_r): Likewise.
25480 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25482 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25485 * include/stdio.h (__fcloseall): Add attribute_hidden.
25486 (__getline): Likewise.
25487 (__path_search): Likewise.
25488 (__gen_tempname): Likewise.
25489 (__libc_message): Likewise.
25490 (__flockfile): Likewise.
25491 (__funlockfile): Likewise.
25492 (__fxprintf): Likewise.
25493 (__fxprintf_nocancel): Likewise.
25495 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25498 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25499 (__sgetsgent_r): Likewise.
25501 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25504 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25505 (__statfs64): Likewise.
25506 (__fstatfs64): Likewise.
25507 * include/sys/statvfs.h (__statvfs64): Likewise.
25508 (__fstatvfs64): Likewise.
25509 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25510 (__statfs_filesize_max): Likewise.
25511 (__statfs_symlinks): Likewise.
25512 (__statfs_chown_restricted): Likewise.
25514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25517 * include/time.h (__tzstring): Add attribute_hidden.
25518 (__tzfile_read): Likewise.
25519 (__tzfile_compute): Likewise.
25520 (__tzfile_default): Likewise.
25521 (__tzset_parse_tz): Likewise.
25522 (__offtime): Likewise.
25523 (__asctime_r): Likewise.
25524 (__tzset): Likewise.
25525 (__tz_convert): Likewise.
25526 (__getdate_r): Likewise.
25527 (__getclktck): Likewise.
25529 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25532 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25533 (__nscd_unmap): Likewise.
25534 (__nscd_cache_search): Likewise.
25535 (__nscd_get_nl_timestamp): Likewise.
25536 (__nscd_getpwnam_r): Likewise.
25537 (__nscd_getpwuid_r): Likewise.
25538 (__nscd_getgrnam_r): Likewise.
25539 (__nscd_getgrgid_r): Likewise.
25540 (__nscd_gethostbyname_r): Likewise.
25541 (__nscd_gethostbyname2_r): Likewise.
25542 (__nscd_gethostbyaddr_r): Likewise.
25543 (__nscd_getai): Likewise.
25544 (__nscd_getgrouplist): Likewise.
25545 (__nscd_getservbyname_r): Likewise.
25546 (__nscd_getservbyport_r): Likewise.
25547 (__nscd_innetgr): Likewise.
25548 (__nscd_setnetgrent): Likewise.
25550 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25553 * include/gmp.h: Declare internal functions only if _ISOMAC is
25555 (__mpn_extract_double): Add attribute_hidden.
25556 (__mpn_extract_long_double): Likewise.
25557 (__mpn_extract_float128): Likewise.
25558 (__mpn_construct_float): Likewise.
25559 (__mpn_construct_double): Likewise.
25560 (__mpn_construct_long_double): Likewise.
25561 (__mpn_construct_float128): Likewise.
25562 (mpn_add_1): Likewise.
25563 (mpn_addmul_1): Likewise.
25564 (mpn_add_n): Likewise.
25565 (mpn_cmp): Likewise.
25566 (mpn_divrem): Likewise.
25567 (mpn_lshift): Likewise.
25568 (mpn_mul): Likewise.
25569 (mpn_mul_1): Likewise.
25570 (mpn_rshift): Likewise.
25571 (mpn_sub_1): Likewise.
25572 (mpn_submul_1): Likewise.
25573 (mpn_sub_n): Likewise.
25575 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25578 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25579 (__wcscat): Likewise.
25580 (__btowc): Likewise.
25581 (__wcrtomb): Likewise.
25582 (__mbsrtowcs): Likewise.
25583 (__wcsrtombs): Likewise.
25584 (__mbsnrtowcs): Likewise.
25585 (__wcsnrtombs): Likewise.
25586 (__wcsncpy): Likewise.
25587 (__wcpncpy): Likewise.
25588 (__wmemcpy): Likewise.
25589 (__wmempcpy): Likewise.
25590 (__wmemmove): Likewise.
25591 (__wcschrnul): Likewise.
25592 (__vfwscanf): Likewise.
25593 (__vswprintf): Likewise.
25594 (__fwprintf): Likewise.
25595 (__vfwprintf): Likewise.
25597 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25600 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25601 (__getgrgid_r): Likewise.
25602 (__getgrnam_r): Likewise.
25603 * include/pwd.h (__getpwuid_r): Likewise.
25604 (__getpwnam_r): Likewise.
25605 (__fgetpwent_r): Likewise.
25606 * include/shadow.h (__getspnam_r): Likewise.
25607 (__sgetspent_r): Likewise.
25608 (__fgetspent_r): Likewise.
25610 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25613 * include/unistd.h (__access): Add attribute_hidden.
25614 (__lseek64): Likewise.
25615 (__libc_pread64): Likewise.
25616 (__pipe2): Likewise.
25617 (__sleep): Likewise.
25618 (__chdir): Likewise.
25619 (__fchdir): Likewise.
25620 (__getcwd): Likewise.
25621 (__rmdir): Likewise.
25622 (__execvpe): Likewise.
25623 (__execve): Likewise.
25624 (__setsid): Likewise.
25625 (__getuid): Likewise.
25626 (__geteuid): Likewise.
25627 (__getgid): Likewise.
25628 (__getegid): Likewise.
25629 (__getgroups): Likewise.
25630 (__group_member): Likewise.
25631 (__ttyname_r): Likewise.
25632 (__isatty): Likewise.
25633 (__readlink): Likewise.
25634 (__unlink): Likewise.
25635 (__gethostname): Likewise.
25636 (__profil): Likewise.
25637 (__getdtablesize): Likewise.
25639 (__ftruncate): Likewise.
25640 (__ftruncate64): Likewise.
25642 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25645 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25646 * argp/argp-fs-xinl.c: Likewise.
25647 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25648 * argp/argp-parse.c: Include <argp.h>.
25649 * argp/argp-xinl.c: Likewise.
25650 * include/argp-fmtstream.h: New file.
25651 * include/argp.h (__argp_error): Add attribute_hidden.
25652 (__argp_failure): Likewise.
25653 (__argp_input): Likewise.
25654 (__argp_state_help): Likewise.
25656 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25659 * include/wchar.h (____wcstof_l_internal): New prototype.
25660 (____wcstod_l_internal): Likewise.
25661 (____wcstold_l_internal): Likewise.
25662 (____wcstol_l_internal): Likewise.
25663 (____wcstoul_l_internal): Likewise.
25664 (____wcstoll_l_internal): Likewise.
25665 (____wcstoull_l_internal): Likewise.
25666 (____wcstof128_l_internal): Likewise.
25667 * sysdeps/ieee754/float128/wcstof128.c
25668 (____wcstof128_l_internal): Removed.
25669 * sysdeps/ieee754/float128/wcstof128_l.c
25670 (____wcstof128_l_internal): Likewise.
25671 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25672 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25673 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25674 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25675 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25676 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25677 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25678 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25679 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25680 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25682 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25685 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25686 instead of <sys/statvfs.h>.
25687 (__internal_statvfs): Removed.
25688 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25689 instead of <sys/statvfs.h>.
25690 (__internal_statvfs64): Removed.
25691 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25692 "internal_statvfs.h" instead of <sys/statvfs.h>.
25693 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25694 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25695 instead of <sys/statvfs.h>.
25696 (__internal_statvfs): Removed.
25697 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25698 instead of <sys/statvfs.h>.
25699 (__internal_statvfs64): Removed.
25701 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25704 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25705 (__gconv_close): Likewise.
25706 (__gconv): Likewise.
25707 (__gconv_find_transform): Likewise.
25708 (__gconv_lookup_cache): Likewise.
25709 (__gconv_compare_alias_cache): Likewise.
25710 (__gconv_load_cache): Likewise.
25711 (__gconv_get_path): Likewise.
25712 (__gconv_close_transform): Likewise.
25713 (__gconv_release_cache): Likewise.
25714 (__gconv_find_shlib): Likewise.
25715 (__gconv_release_shlib): Likewise.
25716 (__gconv_get_builtin_trans): Likewise.
25717 (__gconv_compare_alias): Likewise.
25718 * include/dlfcn.h (_dlerror_run): Likewise.
25719 * include/stdio.h (__fortify_fail_abort): Likewise.
25720 * include/time.h (__tz_compute): Likewise.
25721 (__strptime_internal): Likewise.
25722 * intl/gettextP.h (_nl_find_domain): Likewise.
25723 (_nl_load_domain): Likewise.
25724 (_nl_find_msg): Likewise.
25725 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25726 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25727 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25728 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25729 (__gai_find_request): Likewise.
25730 (__gai_remove_request): Likewise.
25731 (__gai_notify): Likewise.
25732 (__gai_notify_only): Likewise.
25733 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25734 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25735 (_dl_non_dynamic_init): Likewise.
25736 (_dl_aux_init): Likewise.
25737 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25738 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25740 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25741 (__wcsmbs_clone_conv): Likewise.
25742 (__wcsmbs_named_conv): Likewise.
25744 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25747 * include/stdlib.h (__random): Add attribute_hidden.
25748 (__random_r): Likewise.
25749 (__srandom_r): Likewise.
25750 (__initstate_r): Likewise.
25751 (__setstate_r): Likewise.
25752 (__erand48_r): Likewise.
25753 (__nrand48_r): Likewise.
25754 (__jrand48_r): Likewise.
25755 (__srand48_r): Likewise.
25756 (__seed48_r): Likewise.
25757 (__lcong48_r): Likewise.
25758 (__drand48_iterate): Likewise.
25759 (__setenv): Likewise.
25760 (__unsetenv): Likewise.
25761 (__clearenv): Likewise.
25762 (__ptsname_r): Likewise.
25763 (__posix_openpt): Likewise.
25764 (__add_to_environ): Likewise.
25765 (__realpath): Add libc_hidden_proto.
25766 (__ecvt_r): Likewise.
25767 (__fcvt_r): Likewise.
25768 (__qecvt_r): Likewise.
25769 (__qfcvt_r): Likewise.
25770 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25771 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25773 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25776 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25777 * include/time.h (__mktime_internal): Likewise.
25778 * libio/iolibio.h (__fopen_internal): Likewise.
25780 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25782 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25784 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25785 Correct offset used to restore PIC register.
25787 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25790 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25791 code to load address of __getcontext_ret when generating PIC code.
25793 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25795 * elf/Makefile (tests-static-internal): Add
25796 tst-tls1-static-non-pie.
25797 (LDFLAGS-tst-tls1-static-non-pie): New.
25798 * elf/tst-tls1-static-non-pie.c: New file.
25800 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25802 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25803 (asinh): Define using libm_alias_double.
25804 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25805 (cbrt): Define using libm_alias_double.
25806 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25807 <libm-alias-double.h>.
25808 (copysign): Define using libm_alias_double.
25809 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25810 (erf): Define using libm_alias_double.
25812 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25813 (expm1): Define using libm_alias_double.
25814 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25815 (fabs): Define using libm_alias_double.
25816 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25818 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25819 <libm-alias-double.h>.
25820 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25822 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25823 <libm-alias-double.h>.
25824 (getpayload): Define using libm_alias_double.
25825 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25826 <libm-alias-double.h>.
25827 (llrint): Define using libm_alias_double.
25828 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25829 (lrint): Define using libm_alias_double.
25830 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25831 <libm-alias-double.h>.
25832 (nextup): Define using libm_alias_double.
25833 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25834 <libm-alias-double.h>.
25835 (roundeven): Define using libm_alias_double.
25836 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25838 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25839 <libm-alias-double.h>.
25840 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25841 using libm_alias_double.
25842 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25843 (cos): Define using libm_alias_double.
25845 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25846 <libm-alias-double.h>.
25847 (sincos): Define using libm_alias_double.
25848 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25849 (tanh): Define using libm_alias_double.
25850 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25851 <libm-alias-double.h>.
25852 (totalorder): Define using libm_alias_double.
25853 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25854 <libm-alias-double.h>.
25855 (totalordermag): Define using libm_alias_double.
25856 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25858 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25860 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25861 <libm-alias-double.h>.
25862 (getpayload): Define using libm_alias_double.
25863 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25864 <libm-alias-double.h>.
25865 (roundeven): Define using libm_alias_double.
25866 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25867 <libm-alias-double.h>.
25868 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25869 <libm-alias-double.h>.
25870 (totalorder): Define using libm_alias_double.
25871 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25872 <libm-alias-double.h>.
25873 (totalordermag): Define using libm_alias_double.
25874 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25875 libc compat symbol here.
25876 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25877 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25878 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25879 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25880 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25881 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25882 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25883 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25884 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25885 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25887 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25889 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25890 _dl_relocate_static_pie instead of _dl_start to compute load
25891 address in static PIE. Return 0 if _DYNAMIC is undefined for
25894 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25896 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25897 _DYNAMIC is undefined for static executable.
25899 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25901 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25903 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25907 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25909 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25910 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25911 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25912 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25913 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25914 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25915 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25916 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25917 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25918 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25919 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25920 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25921 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25922 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25923 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25924 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25925 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25927 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25929 * math/bits/cmathcalls.h (cimag): Remove inline.
25930 (creal): Remove inline.
25931 (conj): Remove inline.
25933 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25935 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25936 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25937 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25938 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25939 (issignalingf_inline): Likewise.
25940 (POWF_LOG2_TABLE_BITS): Likewise.
25941 (POWF_LOG2_POLY_ORDER): Likewise.
25942 (POWF_SCALE_BITS): Likewise.
25943 (POWF_SCALE): Likewise.
25944 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25945 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25946 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25948 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25950 * math/Makefile (type-float-routines): Add e_log2f_data.
25951 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25952 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25953 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25954 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25955 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25956 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25957 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25959 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25961 * math/Makefile (type-float-routines): Add e_logf_data.
25962 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
25963 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
25964 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
25965 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
25966 * sysdeps/i386/fpu/e_logf_data.c: New file.
25967 * sysdeps/ia64/fpu/e_logf_data.c: New file.
25968 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
25970 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
25972 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
25973 undefined _DYNAMIC in PIE libc.a.
25974 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25977 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25979 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
25980 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
25981 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
25982 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
25983 (__signbit): Remove.
25984 (__signbitl): Remove.
25985 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
25986 (__signbit): Remove.
25987 (__signbitl): Remove.
25988 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
25989 (__signbit): Remove.
25990 (__signbitl): Remove.
25991 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
25992 (__signbit): Remove.
25993 (__signbitl): Remove.
25994 * sysdeps/tile/bits/mathinline.h: Delete file.
25995 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
25996 (__signbit): Remove.
25997 (__signbitl): Remove.
25999 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26001 * math/math.h: Improve handling of C99 isgreater macros.
26002 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26003 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26004 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26005 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26006 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26008 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26010 * sysdeps/aarch64/libm-test-ulps: Update.
26012 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26015 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26016 math_opt_barrier on argument when doing arithmetic on it.
26017 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26018 Likewise. Use math_force_eval not math_opt_barrier after
26020 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26021 math_opt_barrier on argument when doing arithmetic on it.
26022 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26025 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26027 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26029 (__freeifaddrs): Likewise.
26031 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26033 * include/dirent.h (__dirfd): New declaration.
26034 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26036 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26037 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26038 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26039 * include/unistd.h (__revoke): New declaration.
26040 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26042 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26043 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26045 * include/dirent.h (__seekdir): New declaration.
26046 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26047 redefine as weak alias.
26048 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26050 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26051 and use libc_hidden_def on them.
26052 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26054 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26055 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26056 instead of getifaddrs and freeifaddrs.
26058 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26061 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26062 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26063 (__dso_handle): Remove declaration.
26064 * dlfcn/tstatexit.c (__dso_handle): Removed.
26065 (main): Don't check __dso_handle.
26066 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26067 (main): Don't check __dso_handle.
26068 * include/dso_handle.h: New file.
26069 * malloc/mtrace.c: Include <dso_handle.h>.
26070 (mtrace): Pass __dso_handle directly.
26071 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26072 (__dso_handle): Remove declaration.
26073 (__pthread_atfork): Pass __dso_handle directly.
26074 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26075 (__dso_handle): Removed.
26076 * posix/wordexp-test.c: Include <dso_handle.h>.
26077 (__dso_handle): Remove declaration.
26078 (__app_register_atfork): Pass __dso_handle directly.
26079 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26080 (__dso_handle): Remove declaration.
26081 (at_quick_exit): Pass __dso_handle directly.
26082 * stdlib/atexit.c: Include <dso_handle.h>.
26083 (__dso_handle): Remove declaration.
26084 (atexit): Pass __dso_handle directly.
26085 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26086 (__dso_handle): Removed.
26088 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26090 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26093 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26095 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26096 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26097 values to correct default value for given type.
26099 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26102 * elf/Makefile (tests): Add tst-debug1.
26103 ($(objpfx)tst-debug1): New.
26104 ($(objpfx)tst-debug1.out): Likewise.
26105 ($(objpfx)tst-debug1mod1.so): Likewise.
26106 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26107 with p_filesz == 0.
26108 * elf/tst-debug1.c: New file.
26110 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26112 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26113 Define using __ifunc.
26115 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26117 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26120 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26123 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26125 2017-09-26 Florian Weimer <fweimer@redhat.com>
26127 * resolv/Makefile (tests-internal): Fix typo in comment.
26129 2017-09-26 Florian Weimer <fweimer@redhat.com>
26131 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26133 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26135 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26136 Use an union instead of a max_align_t array for __space,
26137 so that __space is the same size on all platforms.
26138 * malloc/scratch_buffer_grow_preserve.c
26139 (__libc_scratch_buffer_grow_preserve): Likewise.
26142 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26144 * posix/Makefile (routines): Add glob-lstat-compat and
26145 glob64-lstat-compat.
26146 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26147 * posix/glob-lstat-compat.c: New file.
26148 * posix/glob64-lstat-compat.c: Likewise.
26149 * posix/tst-glob_lstat_compat.c: Likewise.
26150 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26151 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26152 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26153 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26155 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26156 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26157 * posix/glob.c (glob_lstat): New function.
26158 (glob): Rename to __glob and add versioned symbol to 2.27.
26159 (glob_in_dir): Use glob_lstat.
26160 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26161 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26162 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26164 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26165 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26166 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26167 gl_lstat on glob call.
26168 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26169 and glob64 symbols.
26170 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26171 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26172 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26173 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26174 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26175 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26176 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26177 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26178 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26179 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26180 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26181 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26184 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26186 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26187 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26188 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26189 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26190 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26193 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26194 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26195 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26197 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26199 * configure.ac (AS): Require binutils 2.25 or later.
26200 * configure: Regenerated.
26202 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26205 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26208 2017-09-25 DJ Delorie <dj@redhat.com>
26211 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26214 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26216 * sysdeps/ieee754/dbl-64/sincos32.h
26217 [SINCCOS32_H]: Remove define.
26218 [SINCOS32_H]: Define.
26220 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26222 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26224 * math/w_exp2f.c: New file.
26225 * math/w_expf.c: New file.
26226 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26227 * math/w_expf_compat.c (__expf_compat): Likewise.
26228 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26229 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26230 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26231 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26232 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26233 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26234 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26235 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26236 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26237 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26238 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26239 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26240 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26241 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26250 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26251 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26252 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26253 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26254 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26259 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26260 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26261 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26263 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26265 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26266 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26267 (roundtoint, converttoint): Likewise.
26268 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26269 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26270 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26271 * sysdeps/ieee754/flt-32/math_config.h: New file.
26272 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26273 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26274 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26275 * sysdeps/i386/fpu/math_errf.c: New file.
26276 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26277 * sysdeps/ia64/fpu/math_errf.c: New file.
26278 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26279 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26281 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26283 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26284 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26285 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26286 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26287 to make sure that these symbols are defined.
26288 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26290 (__need_NULL): Do not define.
26291 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26293 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26294 CMGROUP_MAX, cmsgcred): Do not define.
26295 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26297 * bits/socket.h: Likewise.
26298 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26299 __gettimeofday instead of gettimeofday.
26300 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26301 instead of settimeofday.
26303 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26305 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26306 (asinhf): Define using libm_alias_float.
26307 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26308 (atanf): Define using libm_alias_float.
26309 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26310 (cbrtf): Define using libm_alias_float.
26311 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26312 (ceilf): Define using libm_alias_float.
26313 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26314 <libm-alias-float.h>.
26315 (copysignf): Define using libm_alias_float.
26316 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26317 (cosf): Define using libm_alias_float.
26318 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26319 (erff): Define using libm_alias_float.
26321 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26322 (expm1f): Define using libm_alias_float.
26323 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26324 (fabsf): Define using libm_alias_float.
26325 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26326 (floorf): Define using libm_alias_float.
26327 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26328 (frexpf): Define using libm_alias_float.
26329 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26331 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26332 <libm-alias-float.h>.
26333 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26335 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26336 <libm-alias-float.h>.
26337 (getpayloadf): Define using libm_alias_float.
26338 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26339 <libm-alias-float.h>.
26340 (llrintf): Define using libm_alias_float.
26341 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26342 <libm-alias-float.h>.
26343 (llroundf): Define using libm_alias_float.
26344 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26345 (logbf): Define using libm_alias_float.
26346 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26347 (lrintf): Define using libm_alias_float.
26348 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26349 (lroundf): Define using libm_alias_float.
26350 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26351 (modff): Define using libm_alias_float.
26352 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26353 <libm-alias-float.h>.
26354 (nearbyintf): Define using libm_alias_float.
26355 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26356 <libm-alias-float.h>.
26357 (nextafterf): Define using libm_alias_float.
26358 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26359 <libm-alias-float.h>.
26360 (nextupf): Define using libm_alias_float.
26361 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26362 <libm-alias-float.h>.
26363 (remquof): Define using libm_alias_float.
26364 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26365 (rintf): Define using libm_alias_float.
26366 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26367 <libm-alias-float.h>.
26368 (roundevenf): Define using libm_alias_float.
26369 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26370 (roundf): Define using libm_alias_float.
26371 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26372 using libm_alias_float.
26373 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26374 <libm-alias-float.h>.
26375 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26376 Define using libm_alias_float.
26377 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26378 <libm-alias-float.h>.
26379 (sincosf): Define using libm_alias_float.
26380 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26381 (sinf): Define using libm_alias_float.
26382 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26383 (tanf): Define using libm_alias_float.
26384 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26385 (tanhf): Define using libm_alias_float.
26386 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26387 <libm-alias-float.h>.
26388 (totalorderf): Define using libm_alias_float.
26389 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26390 <libm-alias-float.h>.
26391 (totalordermagf): Define using libm_alias_float.
26392 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26393 (truncf): Define using libm_alias_float.
26394 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26396 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26399 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26402 math/math.h: Let fpclassify use the builtin in C++ mode, even
26403 when optimazing for size.
26405 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26407 * csu/Makefile (generated): Do not add version-info.h.
26408 (before-compile): Likewise.
26409 (all-Banner-files): Remove variable.
26410 ($(objpfx)version-info.h): Remove rule.
26411 * csu/version.c (banner): Do not include "version-info.h".
26412 * libidn/Banner: Remove.
26413 * manual/contrib.texi (Simon Josefsson): New entry.
26415 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26417 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26418 Remove conditionals on LDBL_MANT_DIG.
26419 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26420 (__ieee754_lgammal_r): Likewise.
26422 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26424 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26426 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26427 _Float128 and L(). Replace _Float128 with long double and L(x)
26428 with xL, throughout the file.
26429 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26430 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26431 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26432 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26434 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26436 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26437 sysdeps/ieee754/ldbl-128ibm.
26438 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26439 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26440 of including it. Keep _Float128 and L() intact. These will be
26441 reviewed by a separate patch.
26442 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26443 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26444 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26445 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26447 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26450 (__finitef128): Define to __redirect___finitef128.
26451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26452 (__isinff128): Define to __redirect___isinff128.
26453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26454 (__isnanf128): Define to __redirect___isnanf128.
26456 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26458 * sysdeps/powerpc/powerpc64le/Makefile
26459 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26460 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26462 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26463 Carlos O'Donell <carlos@redhat.com>
26466 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26467 * stdlib/test-dlclose-exit-race.c: New file.
26468 * stdlib/test-dlclose-exit-race-helper.c: New file.
26469 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26471 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26473 * crypt/Banner: Remove file.
26474 * nptl/Banner: Likewise.
26475 * resolv/Banner: Likewise.
26476 * soft-fp/Banner: Likewise.
26477 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26478 ($(objpfx)version.d): Remove dependency on banner.h.
26479 ($(objpfx)version.os): Likewise.
26480 * nptl/version.c (banner): Do not include banner.h.
26481 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26482 Jelinek and BIND code.
26484 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26485 Carlos O'Donell <carlos@redhat.com>
26487 * support/xdlfcn.h: New file.
26488 * support/xdlfcn.c: New file.
26489 * support/Makefile (libsupport-routines): Add xdlfcn.
26490 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26492 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26495 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26496 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26497 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26498 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26499 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26500 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26501 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26502 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26504 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26505 Ricky Zhou <rickyz@google.com>
26506 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26509 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26511 (__new_exitfn): Fail registration when we finished at_exit processing.
26512 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26513 * stdlib/on_exit.c (__on_exit): Likewise.
26514 * stdlib/exit.c (__exit_funcs_done): New variable.
26515 (__run_exit_handlers): Use __exit_funcs_lock.
26516 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26518 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26519 (test-cxa_atexit-race, test-on_exit-race): New tests.
26520 * stdlib/test-atexit-race-common.c: New file.
26521 * stdlib/test-atexit-race.c: New file.
26522 * stdlib/test-at_quick_exit-race.c: New file.
26523 * stdlib/test-cxa_atexit-race.c: New file.
26524 * stdlib/test-on_exit-race.c: New file.
26526 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26528 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26529 * benchtests/exp2f-inputs: Copy of expf-inputs.
26530 * benchtests/log2f-inputs: Copy of logf-inputs.
26532 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26534 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26535 Explicitly take address of first element of array arguments in
26536 call to INLINE_SYSCALL.
26538 2017-09-19 Andreas Schwab <schwab@suse.de>
26541 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26543 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26545 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26546 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26547 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26548 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26549 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26550 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26551 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26552 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26553 * posix/Makefile (tests): Add tst-fexecve.
26554 * posix/tst-fexecve.c: New file.
26556 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26558 * benchtests/Makefile: Add logf benchmark.
26559 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26561 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26563 * benchtests/Makefile: Add expf benchmark.
26564 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26566 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26568 * csu/Makefile: Add -funwind-tables to libc-start.c.
26569 * debug/Makefile: Add -funwind-tables to backtrace.c.
26570 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26571 * sysdeps/arm/Makefile: Likewise.
26572 * sysdeps/i386/Makefile: Likewise.
26573 * sysdeps/m68k/Makefile: Likewise.
26574 * sysdeps/mips/Makefile: Likewise.
26575 * sysdeps/nios2/Makefile: Likewise.
26576 * sysdeps/sh/Makefile: Likewise.
26577 * sysdeps/sparc/Makefile: Likewise.
26579 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26581 * benchtests/Makefile (bench-math): Add trunc and truncf.
26582 (CFLAGS-bench-trunc.c): New variable.
26583 (CFLAGS-bench-truncf.c): Likewise.
26584 * benchtests/trunc-inputs: New file.
26585 * benchtests/truncf-inputs: Likewise.
26587 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26589 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26591 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26593 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26594 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26596 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26597 (exp10l): Define as weak alias.
26598 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26599 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26601 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26602 (remainderl): Define as weak alias.
26604 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26605 (fmal): Define using libm_alias_ldouble.
26606 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26607 (acoshl): Define using libm_alias_ldouble.
26608 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26609 (acosl): Define using libm_alias_ldouble.
26610 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26611 (asinl): Define using libm_alias_ldouble.
26612 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26613 (atan2l): Define using libm_alias_ldouble.
26614 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26615 (atanhl): Define using libm_alias_ldouble.
26616 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26617 (coshl): Define using libm_alias_ldouble.
26618 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26619 (exp10l): Define using libm_alias_ldouble.
26620 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26621 (exp2l): Define using libm_alias_ldouble.
26622 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26623 (expl): Define using libm_alias_ldouble.
26624 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26625 (fmodl): Define using libm_alias_ldouble.
26626 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26627 (hypotl): Define using libm_alias_ldouble.
26628 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26629 (j0l): Define using libm_alias_ldouble.
26631 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26632 (j1l): Define using libm_alias_ldouble.
26634 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26635 (jnl): Define using libm_alias_ldouble.
26637 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26638 (log10l): Define using libm_alias_ldouble.
26639 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26640 (log2l): Define using libm_alias_ldouble.
26641 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26642 (logl): Define using libm_alias_ldouble.
26643 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26644 (powl): Define using libm_alias_ldouble.
26645 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26646 (remainderl): Define using libm_alias_ldouble.
26647 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26648 (sinhl): Define using libm_alias_ldouble.
26649 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26650 (sqrtl): Define using libm_alias_ldouble.
26651 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26652 (tgammal): Define using libm_alias_ldouble.
26653 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26654 (exp10l): Do not use long_double_symbol here.
26655 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26656 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26657 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26658 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26659 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26660 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26661 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26662 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26663 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26664 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26665 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26666 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26667 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26668 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26669 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26670 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26671 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26672 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26673 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26674 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26675 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26676 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26678 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26680 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26681 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26683 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26685 * io/read.c (read): Add libc_hidden_weak.
26686 * sysdeps/mach/hurd/read.c (read): Likewise.
26687 * io/write.c (write): Likewise.
26688 * sysdeps/mach/hurd/write.c (write): Likewise.
26689 * io/pread64.c (__pread64): Likewise.
26690 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26691 * posix/pread64.c (__pread64): Add libc_hidden_def.
26693 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26695 * benchtests/scripts/compare_strings.py: New option -g.
26696 (draw_graph): Print a message that a graph is being generated.
26697 (process_results): Generate graph only if -g is passed.
26698 (main): Process option -g.
26700 * benchtests/scripts/compare_strings.py (process_results):
26701 Better spacing for output.
26703 * benchtests/scripts/compare_strings.py: Use argparse.
26704 * benchtests/README: Document existence of compare_strings.py.
26706 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26708 * math/s_fma.c: Include <libm-alias-double.h>.
26709 (fma): Define using libm_alias_double.
26710 * math/s_nextafter.c: Include <libm-alias-double.h>.
26711 (nextafter): Define using libm_alias_double.
26712 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26713 (acos): Define using libm_alias_double.
26714 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26715 (aocsh): Define using libm_alias_double.
26716 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26717 (asin): Define using libm_alias_double.
26718 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26719 (atan2): Define using libm_alias_double.
26720 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26721 (atanh): Define using libm_alias_double.
26722 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26723 (cosh): Define using libm_alias_double.
26724 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26725 (exp10): Define using libm_alias_double.
26726 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26727 (exp2): Define using libm_alias_double.
26728 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26729 (exp): Define using libm_alias_double.
26730 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26731 (fmod): Define using libm_alias_double.
26732 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26733 (hypot): Define using libm_alias_double.
26734 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26735 (j0): Define using libm_alias_double.
26737 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26738 (j1): Define using libm_alias_double.
26740 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26741 (jn): Define using libm_alias_double.
26743 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26744 (log10): Define using libm_alias_double.
26745 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26746 (log2): Define using libm_alias_double.
26747 * math/w_log_compat.c: Include <libm-alias-double.h>.
26748 (log): Define using libm_alias_double.
26749 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26750 (pow): Define using libm_alias_double.
26751 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26752 (remainder): Define using libm_alias_double.
26753 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26754 (sinh): Define using libm_alias_double.
26755 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26756 (sqrt): Define using libm_alias_double.
26757 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26758 (tgamma): Define using libm_alias_double.
26759 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26760 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26761 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26762 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26763 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26764 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26765 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26766 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26767 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26768 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26769 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26770 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26771 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26772 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26773 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26774 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26775 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26776 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26777 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26778 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26779 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26780 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26781 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26782 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26783 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26785 * math/e_acoshl.c: Remove.
26786 * math/e_acosl.c: Likewise.
26787 * math/e_asinl.c: Likewise.
26788 * math/e_atan2l.c: Likewise.
26789 * math/e_atanhl.c: Likewise.
26790 * math/e_coshl.c: Likewise.
26791 * math/e_expl.c: Likewise.
26792 * math/e_fmodl.c: Likewise.
26793 * math/e_gammal_r.c: Likewise.
26794 * math/e_hypotl.c: Likewise.
26795 * math/e_j0l.c: Likewise.
26796 * math/e_j1l.c: Likewise.
26797 * math/e_jnl.c: Likewise.
26798 * math/e_lgammal_r.c: Likewise.
26799 * math/e_log10l.c: Likewise.
26800 * math/e_log2l.c: Likewise.
26801 * math/e_logl.c: Likewise.
26802 * math/e_powl.c: Likewise.
26803 * math/e_rem_pio2l.c: Likewise.
26804 * math/e_sinhl.c: Likewise.
26805 * math/e_sqrtf128.c: Likewise.
26806 * math/e_sqrtl.c: Likewise.
26807 * math/k_cosl.c: Likewise.
26808 * math/k_sinl.c: Likewise.
26809 * math/k_tanl.c: Likewise.
26810 * math/s_asinhl.c: Likewise.
26811 * math/s_atanl.c: Likewise.
26812 * math/s_cbrtl.c: Likewise.
26813 * math/s_erfl.c: Likewise.
26814 * math/s_expm1l.c: Likewise.
26815 * math/s_log1pl.c: Likewise.
26816 * math/s_tanhl.c: Likewise.
26818 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26822 [$(subdir) = math] (sysdep_calls): New variable. Has the
26823 previous contents of sysdep_routines, but re-sorted..
26824 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26826 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26827 defined in sysdep_calls and replace by the respective m_* names.
26828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26829 (compat_symbol): Undefine to avoid duplicated compat symbols in
26832 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26834 * math/s_fmaf.c: Include <libm-alias-float.h>.
26835 (fmaf): Define using libm_alias_float.
26836 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26837 (acosf): Define using libm_alias_float.
26838 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26839 (acoshf): Define using libm_alias_float.
26840 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26841 (asinf): Define using libm_alias_float.
26842 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26843 (atan2f): Define using libm_alias_float.
26844 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26845 (atanhf): Define using libm_alias_float.
26846 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26847 (coshf): Define using libm_alias_float.
26848 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26849 (exp10f): Define using libm_alias_float.
26850 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26851 (fmodf): Define using libm_alias_float.
26852 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26853 (hypotf): Define using libm_alias_float.
26854 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26855 (j0f): Define using libm_alias_float.
26857 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26858 (j1f): Define using libm_alias_float.
26860 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26861 (jnf): Define using libm_alias_float.
26863 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26864 (log10f): Define using libm_alias_float.
26865 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26866 (log2f): Define using libm_alias_float.
26867 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26868 (logf): Define using libm_alias_float.
26869 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26870 (powf): Define using libm_alias_float.
26871 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26872 (remainderf): Define using libm_alias_float.
26873 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26874 (sinhf): Define using libm_alias_float.
26875 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26876 (sqrtf): Define using libm_alias_float.
26877 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26878 (tgammaf): Define using libm_alias_float.
26880 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26882 * include/math.h (roundeven): Change hidden_proto call to
26884 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26886 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26887 (y0): Rename to __y0 and define as weak alias.
26888 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26889 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26891 (y0f): Rename to __y0f and define as weak alias.
26892 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26894 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26895 (y1): Rename to __y1 and define as weak alias.
26896 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26897 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26899 (y1f): Rename to __y1f and define as weak alias.
26900 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26902 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26903 (yn): Rename to __yn and define as weak alias.
26904 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26905 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26907 (ynf): Rename to __ynf and define as weak alias.
26908 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26909 (fromfp): Define as weak alias.
26910 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26911 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26912 (fromfpx): Define as weak alias.
26913 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26914 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26915 __getpayload and define as weak alias.
26916 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26917 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26918 __roundeven and define as weak alias.
26919 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26920 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26922 (setpayload): Define as weak alias.
26923 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26924 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26926 (setpayloadsig): Define as weak alias.
26927 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26928 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26929 __totalorder and define as weak alias.
26930 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26931 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26932 to __totalordermag and define as weak alias.
26933 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26934 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26935 (ufromfp): Define as weak alias.
26936 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26937 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26939 (ufromfpx): Define as weak alias.
26940 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26941 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26942 Rename to __getpayload and define as weak alias.
26943 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26944 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26945 Rename to __roundeven and define as weak alias.
26946 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26947 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26948 Rename to __totalorder and define as weak alias.
26949 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26950 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26951 (totalordermag): Rename to __totalordermag and define as weak
26953 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26954 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26956 (__roundevenl): Likewise.
26957 (__totalorderl): Likewise.
26958 (__totalordermagl): Likewise
26959 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26961 (fromfpf128): Define as weak alias.
26962 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
26964 (fromfpxf128): Define as weak alias.
26965 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
26967 (setpayloadf128): Define as weak alias.
26968 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
26969 __setpayloadsigf128.
26970 (setpayloadsigf128): Define as weak alias.
26971 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
26973 (ufromfpf128): Define as weak alias.
26974 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
26976 (ufromfpxf128): Define as weak alias.
26977 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
26978 (fromfpf): Define as weak alias.
26979 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
26981 (fromfpxf): Define as weak alias.
26982 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
26983 __getpayloadf and define as weak alias.
26984 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
26985 __roundevenf and define as weak alias.
26986 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
26988 (setpayloadf): Define as weak alias.
26989 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
26991 (setpayloadsigf): Define as weak alias.
26992 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
26993 __totalorderf and define as weak alias.
26994 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
26995 Rename to __totalordermagf and define as weak alias.
26996 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
26998 (ufromfpf): Define as weak alias.
26999 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27001 (ufromfpxf): Define as weak alias.
27002 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27004 (fromfpl): Define as weak alias.
27005 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27007 (fromfpxl): Define as weak alias.
27008 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27009 to __getpayloadl and define as weak alias.
27010 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27011 __roundevenl and define as weak alias.
27012 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27014 (setpayloadl): Define as weak alias.
27015 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27017 (setpayloadsigl): Define as weak alias.
27018 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27019 to __totalorderl and define as weak alias.
27020 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27021 Rename to __totalordermagl and define as weak alias.
27022 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27024 (ufromfpl): Define as weak alias.
27025 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27027 (ufromfpxl): Define as weak alias.
27028 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27030 (fromfpl): Define as weak alias.
27031 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27033 (fromfpxl): Define as weak alias.
27034 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27035 Rename to __getpayloadl and define as weak alias.
27036 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27037 to __roundevenl and define as weak alias. Call __roundeven
27038 instead of roundeven.
27039 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27041 (setpayloadl): Define as weak alias.
27042 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27044 (setpayloadsigl): Define as weak alias.
27045 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27046 Rename to __totalorderl and define as weak alias.
27047 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27048 Rename to __totalordermagl and define as weak alias.
27049 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27051 (ufromfpl): Define as weak alias.
27052 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27054 (ufromfpxl): Define as weak alias.
27055 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27057 (fromfpl): Define as weak alias.
27058 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27060 (fromfpxl): Define as weak alias.
27061 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27062 __getpayloadl and define as weak alias.
27063 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27064 __roundevenl and define as weak alias.
27065 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27067 (setpayloadl): Define as weak alias.
27068 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27070 (setpayloadsigl): Define as weak alias.
27071 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27072 __totalorderl and define as weak alias.
27073 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27074 Rename to __totalordermagl and define as weak alias.
27075 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27077 (ufromfpl): Define as weak alias.
27078 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27080 (ufromfpxl): Define as weak alias.
27082 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27084 * benchtests/bench-string.h (realloc_bufs): New function.
27085 (test_init): Call it.
27086 * benchtests/bench-memset-large.c (do_test): Likewise.
27087 * benchtests/bench-memset.c (do_test): Likewise.
27089 * benchtests/bench-memset-large.c: Print output in JSON
27091 * benchtests/bench-memset.c: Likewise.
27093 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27096 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27097 * iconvdata/Makefile: Add IBM858.
27098 * iconvdata/gconv-modules: Likewise.
27099 * iconvdata/tst-tables.sh: Likewise.
27100 * iconvdata/ibm858.c: New file.
27101 * localedata/charmaps/IBM858: Likewise.
27103 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27106 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27107 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27109 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27112 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27113 and add tel_int_fmt.
27115 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27117 * sysdeps/generic/libm-alias-float128.h: New file.
27118 * sysdeps/generic/math-type-macros-float128.h: Include
27119 <libm-alias-float128.h>.
27120 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27122 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27124 * sysdeps/generic/libm-alias-ldouble.h: New file.
27125 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27126 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27127 * sysdeps/generic/math-type-macros-ldouble.h: Include
27128 <libm-alias-ldouble.h>.
27129 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27130 libm_alias_ldouble.
27132 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27134 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27135 * math/w_exp_compat.c: ... here.
27136 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27137 * math/w_expf_compat.c: ... here.
27138 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27139 * math/w_expl_compat.c: ... here.
27140 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27141 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27142 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27143 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27145 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27147 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27149 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27151 (ldexpl): Only define as compat symbol for libc, not libm.
27152 (scalbnl): Define as compat symbol for libc here.
27153 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27154 define for [IS_IN (libc)].
27155 (__ldexpl_2): Remove alias.
27156 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27157 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27158 name in long_double_symbol call.
27159 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27160 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27161 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27162 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27163 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27165 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27166 Define as compat symbol.
27168 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27170 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27171 * sysdeps/unix/sysv/linux/alpha/Makefile
27172 [$(subdir) = csu] (sysdep_routines): Remove rule.
27174 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27176 * sysdeps/generic/libm-alias-double.h: New file.
27177 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27178 * sysdeps/generic/math-type-macros-double.h: Include
27179 <libm-alias-double.h>.
27180 [declare_mgen_alias] (declare_mgen_alias): Define to use
27182 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27183 (M_LIBM_NEED_COMPAT): Remove macro.
27184 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27185 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27186 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27188 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27189 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27190 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27191 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27192 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27193 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27194 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27195 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27196 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27197 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27198 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27199 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27200 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27201 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27202 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27203 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27204 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27205 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27206 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27207 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27208 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27209 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27210 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27211 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27212 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27213 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27214 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27215 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27216 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27218 (declare_mgen_alias): New macro.
27219 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27220 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27222 (M_LIBM_NEED_COMPAT): Remove macro.
27223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27224 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27225 <first-versions.h>.
27226 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27227 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27229 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27231 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27232 (declare_mgen_alias_2): Remove.
27233 * sysdeps/generic/math-type-macros-double.h
27234 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27236 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27238 (ldexp): Define with declare_mgen_alias.
27239 (scalbn): Likewise.
27241 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27243 * grp/initgroups.c: Include config.h.
27244 (DEFAULT_CONFIG): New macro.
27245 (internal_getgrouplist): Use DEFAULT_CONFIG.
27246 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27247 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27248 (DEFAULT_DEFCONFIG): New macro.
27249 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27250 * nss/grp-lookup.c: Include config.h
27251 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27252 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27253 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27254 * manual/nss.texi: Update default values section.
27256 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27259 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27261 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27262 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27263 Handle MathVec_Prefer_No_AVX512.
27264 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27265 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27268 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27270 * posix/sched_primax.c (__sched_get_priority_max): Add
27272 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27273 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27274 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27275 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27276 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27277 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27278 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27279 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27282 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27284 * sysdeps/generic/libm-alias-float.h: New file.
27285 * sysdeps/generic/math-type-macros-float.h: Include
27286 <libm-alias-float.h>.
27287 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27289 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27292 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27293 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27294 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27295 (HWCAP_IMPORTANT): Likewise.
27296 (HWCAP_X86_64): New enum.
27297 (HWCAP_X86_AVX512_1): Updated.
27298 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27299 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27300 (modules-names): Add x86_64/tst-x86_64mod-1.
27301 (LDFLAGS-tst-x86_64mod-1.so): New.
27302 ($(objpfx)tst-x86_64-1): Likewise.
27303 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27304 (tst-x86_64-1-clean): Likewise.
27305 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27306 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27308 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27310 * po/sv.po: Update translations.
27311 * po/fr.po: Likewise.
27313 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27315 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27317 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27319 * elf/rtld-Rules: Fix $(error) use.
27321 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27324 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27325 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27326 * localedata/locales/bn_BD: “Bengali” was still used in some
27327 comments. Change it to “Bangla”.
27329 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27331 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27333 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27335 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27336 thunderx2t99p1 to list of cpu names.
27337 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27338 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27340 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27342 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27343 Use strcmp instead of tunable_is_name.
27345 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27347 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27348 (F_GET_RW_HINT): New macro.
27349 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27350 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27351 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27352 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27353 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27354 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27355 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27356 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27357 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27359 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27360 (F_ADD_SEALS): New macro.
27361 [__USE_GNU] (F_GET_SEALS): Likewise.
27362 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27363 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27364 [__USE_GNU] (F_SEAL_GROW): Likewise.
27365 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27367 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27369 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27370 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27371 * posix/glob_internal.h (__glob_pattern_type):
27372 * posix/glob.c (glob):
27373 * posix/glob_pattern_p.c (__glob_pattern_p):
27376 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27377 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27378 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27379 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27380 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27382 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27383 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27384 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27385 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27386 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27387 * sysdeps/wordsize-64/glob.c: Likewise.
27388 * sysdeps/wordsize-64/glob64.c: Likewise.
27389 * sysdeps/wordsize-64/globfree.c: Likewise.
27390 * sysdeps/wordsize-64/globfree64.c: Likewise.
27391 * sysdeps/unix/sysv/linux/glob.c: New file.
27392 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27393 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27394 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27395 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27396 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27397 adds !GLOB_NO_OLD_VERSION as an extra condition.
27398 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27399 using relative path instead of absolute one.
27400 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27401 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27402 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27403 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27404 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27405 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27408 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27409 (glob): Use the same scratch buffer for both getlogin_r and
27410 getpwnam_r. Don’t require preallocation of the login name. This
27411 simplifies storage allocation, and corrects the handling of
27415 * posix/glob.c (glob): Port recent patches to platforms
27416 lacking getpwnam_r.
27417 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27418 returns an error number rather than setting errno.
27420 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27421 instead of GCC extension.
27422 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27423 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27424 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27428 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27429 * posix/bug-glob1.c: Remove file.
27430 * posix/tst-glob_symlinks.c: New file.
27431 * posix/glob.c (__lstat64): New macro.
27432 (is_dir): New function.
27433 (glob, glob_in_dir): Match symlinks even if they are dangling.
27434 (link_stat, link_exists_p): Remove. All uses removed.
27438 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27439 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27444 * posix/Makefile (routines): Add globfree, globfree64, and
27446 * posix/flexmember.h: New file.
27447 * posix/glob_internal.h: Likewise.
27448 * posix/glob_pattern_p.c: Likewise.
27449 * posix/globfree.c: Likewise.
27450 * posix/globfree64.c: Likewise.
27451 * sysdeps/gnu/globfree64.c: Likewise.
27452 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27453 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27454 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27455 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27456 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27457 * sysdeps/wordsize-64/globfree.c: Likewise.
27458 * sysdeps/wordsize-64/globfree64.c: Likewise.
27459 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27460 [NDEBUG): Remove comments.
27461 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27462 (dirent_type): New type. Use uint_fast8_t not
27463 uint8_t, as C99 does not require uint8_t.
27464 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27465 (struct readdir_result): Use dirent_type. Do not define skip_entry
27466 unless it is needed; this saves a byte on platforms lacking d_ino.
27467 (readdir_result_type, readdir_result_skip_entry):
27468 New functions, replacing ...
27469 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27470 these functions, which were removed. This makes the callers
27471 easier to read. All callers changed.
27472 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27473 (size_add_wrapv, glob_use_alloca): New static functions.
27474 (glob, glob_in_dir): Check for size_t overflow in several places,
27475 and fix some size_t checks that were not quite right.
27476 Remove old code using SHELL since Bash no longer
27478 (glob, prefix_array): Separate MS code better.
27479 (glob_in_dir): Remove old Amiga and VMS code.
27480 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27482 (glob_in_dir): Do not rely on undefined behavior in accessing
27483 struct members beyond their bounds. Use a flexible array member
27485 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27486 0/1. Caller changed.
27487 (glob): Fix memory leaks.
27488 * posix/glob64 (globfree64): Move to separate file.
27489 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27490 (globfree64): Remove hidden alias.
27491 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27493 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27495 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27497 Move compat code to separate file.
27498 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27501 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27503 * resolv/tst-resolv-qtypes.c (domain): Changed to
27504 "const char domain[] =".
27506 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27508 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27511 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27512 (TCP_MD5SIG_EXT): Likewise.
27513 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27514 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27515 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27517 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27519 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27521 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27523 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27526 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27528 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27530 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27531 before assuming that the file is empty. Avoid testing buffer content
27534 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27537 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27539 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27541 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27543 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27545 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27547 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27549 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27552 2017-09-06 Florian Weimer <fweimer@redhat.com>
27554 * malloc/dynarray_emplace_enlarge.c
27555 (__libc_dynarray_emplace_enlarge): Add missing else.
27557 2017-09-06 Florian Weimer <fweimer@redhat.com>
27560 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27561 case of failure to obtain the global conf object.
27563 2017-09-06 Florian Weimer <fweimer@redhat.com>
27566 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27567 dynarray allocation failure.
27569 2017-09-06 Florian Weimer <fweimer@redhat.com>
27571 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27572 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27573 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27575 (response): Call them. Add 'p', '6' flag processing.
27576 (test_reverse): New function.
27577 (test_get2_any): Call it.
27578 (test_no_inet6): Add 'p' test.
27579 (test_inet6): Likewise.
27581 2017-09-06 Florian Weimer <fweimer@redhat.com>
27583 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27584 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27586 (test_gai): Adjust query names. Add additional tests.
27587 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27588 test_get2. Adjust query names. Add additional tests.
27589 (test_no_inet6): New function, extracted from threadfunc.
27590 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27591 Add additional tests.
27593 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27596 * localedata/unicode-gen/utf8_gen.py: Set the width for
27597 characters with Prepended_Concatenation_Mark property to 1
27598 * localedata/charmaps/UTF-8: Updated using the improved script.
27600 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27603 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27604 use the range notation for all ranges of neighbouring characters
27605 with the same width.
27607 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27609 * sysdeps/generic/math-type-macros-double.h: Include
27610 <math-svid-compat.h>.
27611 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27612 * sysdeps/generic/math-type-macros-float.h: Include
27613 <math-svid-compat.h>.
27614 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27615 * sysdeps/generic/math-type-macros-ldouble.h: Include
27616 <math-svid-compat.h>.
27617 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27618 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27620 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27621 * math/w_acosf_compat.c: Likewise.
27622 * math/w_acosh_compat.c: Likewise.
27623 * math/w_acoshf_compat.c: Likewise.
27624 * math/w_acoshl_compat.c: Likewise.
27625 * math/w_acosl_compat.c: Likewise.
27626 * math/w_asin_compat.c: Likewise.
27627 * math/w_asinf_compat.c: Likewise.
27628 * math/w_asinl_compat.c: Likewise.
27629 * math/w_atan2_compat.c: Likewise.
27630 * math/w_atan2f_compat.c: Likewise.
27631 * math/w_atan2l_compat.c: Likewise.
27632 * math/w_atanh_compat.c: Likewise.
27633 * math/w_atanhf_compat.c: Likewise.
27634 * math/w_atanhl_compat.c: Likewise.
27635 * math/w_cosh_compat.c: Likewise.
27636 * math/w_coshf_compat.c: Likewise.
27637 * math/w_coshl_compat.c: Likewise.
27638 * math/w_exp10_compat.c: Likewise.
27639 * math/w_exp10f_compat.c: Likewise.
27640 * math/w_exp10l_compat.c: Likewise.
27641 * math/w_exp2_compat.c: Likewise.
27642 * math/w_exp2f_compat.c: Likewise.
27643 * math/w_exp2l_compat.c: Likewise.
27644 * math/w_fmod_compat.c: Likewise.
27645 * math/w_fmodf_compat.c: Likewise.
27646 * math/w_fmodl_compat.c: Likewise.
27647 * math/w_hypot_compat.c: Likewise.
27648 * math/w_hypotf_compat.c: Likewise.
27649 * math/w_hypotl_compat.c: Likewise.
27650 * math/w_j0_compat.c: Likewise.
27651 * math/w_j0f_compat.c: Likewise.
27652 * math/w_j0l_compat.c: Likewise.
27653 * math/w_j1_compat.c: Likewise.
27654 * math/w_j1f_compat.c: Likewise.
27655 * math/w_j1l_compat.c: Likewise.
27656 * math/w_jn_compat.c: Likewise.
27657 * math/w_jnf_compat.c: Likewise.
27658 * math/w_jnl_compat.c: Likewise.
27659 * math/w_lgamma_r_compat.c: Likewise.
27660 * math/w_lgammaf_r_compat.c: Likewise.
27661 * math/w_lgammal_r_compat.c: Likewise.
27662 * math/w_log10_compat.c: Likewise.
27663 * math/w_log10f_compat.c: Likewise.
27664 * math/w_log10l_compat.c: Likewise.
27665 * math/w_log2_compat.c: Likewise.
27666 * math/w_log2f_compat.c: Likewise.
27667 * math/w_log2l_compat.c: Likewise.
27668 * math/w_log_compat.c: Likewise.
27669 * math/w_logf_compat.c: Likewise.
27670 * math/w_logl_compat.c: Likewise.
27671 * math/w_pow_compat.c: Likewise.
27672 * math/w_powf_compat.c: Likewise.
27673 * math/w_powl_compat.c: Likewise.
27674 * math/w_remainder_compat.c: Likewise.
27675 * math/w_remainderf_compat.c: Likewise.
27676 * math/w_remainderl_compat.c: Likewise.
27677 * math/w_sinh_compat.c: Likewise.
27678 * math/w_sinhf_compat.c: Likewise.
27679 * math/w_sinhl_compat.c: Likewise.
27680 * math/w_sqrt_compat.c: Likewise.
27681 * math/w_sqrtf_compat.c: Likewise.
27682 * math/w_sqrtl_compat.c: Likewise.
27683 * math/w_tgamma_compat.c: Likewise.
27684 * math/w_tgammaf_compat.c: Likewise.
27685 * math/w_tgammal_compat.c: Likewise.
27686 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27687 [LIBM_SVID_COMPAT].
27688 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27689 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27690 [LIBM_SVID_COMPAT].
27691 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27692 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27693 [LIBM_SVID_COMPAT].
27694 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27695 * sysdeps/i386/fpu/w_sqrt.c: New file.
27696 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27697 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27698 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27699 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27700 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27701 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27702 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27703 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27704 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27705 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27706 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27707 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27708 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27709 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27710 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27711 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27712 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27713 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27714 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27715 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27716 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27717 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27718 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27719 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27720 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27721 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27722 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27723 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27724 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27725 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27726 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27727 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27728 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27729 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27730 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27731 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27732 * sysdeps/ia64/fpu/w_log.c: Likewise.
27733 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27734 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27735 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27736 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27737 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27738 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27739 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27740 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27741 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27742 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27743 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27744 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27745 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27746 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27747 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27748 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27749 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27750 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27751 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27752 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27753 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27754 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27755 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27756 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27757 [LIBM_SVID_COMPAT].
27758 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27759 * sysdeps/ieee754/k_standard.c: Likewise.
27760 * sysdeps/ieee754/k_standardf.c: Likewise.
27761 * sysdeps/ieee754/k_standardl.c: Likewise.
27762 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27763 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27764 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27765 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27766 long_double_symbol call on [LIBM_SVID_COMPAT].
27767 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27768 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27769 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27770 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27771 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27772 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27773 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27774 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27775 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27776 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27777 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27778 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27779 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27780 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27781 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27782 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27783 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27784 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27785 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27786 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27787 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27788 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27790 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27792 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27793 * malloc/tst-mallocstate.c: Convert from test-skeleton
27794 to test-driver. Ifdef code using TEST_COMPAT macro.
27795 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27796 * math/test-matherr.c: Likewise.
27798 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27801 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27802 comparing word with byte-swapped constant.
27804 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27807 * locale/iso-639.def: add Miskito.
27808 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27809 * localedata/locales/miq_NI: New file.
27811 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27814 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27815 (__mkdir): Likewise.
27816 * io/chmod.c (__chmod): Add libc_hidden_def.
27817 * io/mkdir.c (__mkdir): Likewise.
27818 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27819 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27820 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27821 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27823 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27825 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27829 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27830 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27832 2017-09-04 Florian Weimer <fweimer@redhat.com>
27834 * math/math.h: Issue warning if log is defined.
27836 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27838 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27839 kernel version to 4.13.
27841 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27843 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27844 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27846 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27847 just <bits/types.h>.
27848 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27849 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27850 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27851 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27852 * misc/preadv2.c: Include <errno.h>.
27853 * misc/preadv64v2.c: Include <errno.h>.
27854 * misc/pwritev2.c: Include <errno.h>.
27855 * misc/pwritev64v2.c: Include <errno.h>.
27856 * sysdeps/posix/preadv2.c: Include <errno.h>.
27857 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27858 Fix <unistd.h> inclusion.
27859 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27860 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27861 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27862 __strtoul_internal): New functions.
27863 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27864 * sysdeps/posix/system.c: Include <sigsetops.h>.
27865 * sysdeps/mach/hurd/i386/Makefile
27866 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27867 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27868 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27869 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27870 __feraiseexcept_renamed to feraiseexcept instead of
27871 __GI_feraiseexcept.
27872 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27873 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27874 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27875 RWF_NOWAIT): Define to 0 if undefined already.
27876 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27878 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27879 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27881 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27883 * manual/math.texi (pow10): Do not document.
27884 (pow10f): Likewise.
27885 (pow10l): Likewise.
27886 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27887 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27888 * math/libm-test-exp10.inc (pow10_test): Remove.
27889 (do_test): Do not call pow10.
27890 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27891 [NO_LONG_DOUBLE] (pow10l): Likewise.
27892 * math/w_exp10f_compat.c (pow10f): Likewise.
27893 * math/w_exp10l_compat.c (pow10l): Likewise.
27894 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27895 (pow10): Make into compat symbol.
27896 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27897 (pow10f): Make into compat symbol.
27898 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27899 (pow10l): Make into compat symbol.
27900 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27902 (CFLAGS-nldbl-pow10.c): Remove variable..
27903 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27904 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27905 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27906 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27907 Undefine and redefine.
27908 (pow10l): Make into compat symbol.
27909 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27910 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27911 * sysdeps/arm/libm-test-ulps: Likewise.
27912 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27913 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27914 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27915 * sysdeps/microblaze/libm-test-ulps: Likewise.
27916 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27917 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27918 * sysdeps/nios2/libm-test-ulps: Likewise.
27919 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27920 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27921 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27922 * sysdeps/sh/libm-test-ulps: Likewise.
27923 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27924 * sysdeps/tile/libm-test-ulps: Likewise.
27925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27927 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27929 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27931 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27933 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27934 "../ChangeLog.old/ChangeLog.8".
27935 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27936 "../ChangeLog.old/ChangeLog.14".
27938 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27940 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27943 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27945 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27947 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27949 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27950 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27952 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27954 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27955 32 atexit handlers.
27957 2017-09-01 Zack Weinberg <zackw@panix.com>
27959 * math/math.h (HUGE_VAL): Improve commentary.
27961 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27962 Andreas Schwab <schwab@suse.de>
27965 * include/stdio.h (__gen_tempfd): New function.
27966 * stdio-common/Makefile (routines): Add gentempfd.
27967 * stdio-common/gentempfd.c: New file.
27968 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
27969 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
27970 unnamed file first.
27972 2017-09-01 Florian Weimer <fweimer@redhat.com>
27976 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
27977 result to determine success or failure, not the errno value.
27978 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
27979 (tst-nss-files-hosts-erange): Link with -ldl.
27980 * nss/tst-nss-files-hosts-erange.c: New file.
27981 * nss/tst-resolv-basic.c (response): Handle nodata.example.
27982 (do_test): Add NO_DATA tests.
27983 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
27984 (do_test): Call it.
27986 2017-09-01 Florian Weimer <fweimer@redhat.com>
27989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
27990 coming from gethostbyname2_r.
27992 2017-09-01 Florian Weimer <fweimer@redhat.com>
27994 * support/namespace.h (struct support_chroot_configuration): Add
27996 (struct support_chroot): Add path_hosts, path_host_conf.
27997 * support/support_chroot.c (write_file): New function.
27998 (support_chroot_create): Call it to process /etc/resolv.conf,
27999 /etc/hosts, /etc/host.conf.
28000 (support_chroot_free): Update.
28002 2017-09-01 Florian Weimer <fweimer@redhat.com>
28004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28005 status indicates it is set.
28007 2017-09-01 Florian Weimer <fweimer@redhat.com>
28010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28011 function lookup failures more reliable.
28013 2017-09-01 Florian Weimer <fweimer@redhat.com>
28015 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28016 (getcanonname): Likewise.
28017 (gaih_inet): Likewise.
28019 2017-09-01 Florian Weimer <fweimer@redhat.com>
28021 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28022 (getcanonname): Likewise.
28023 (gaih_inet): Likewise.
28025 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28026 Richard Henderson <rth@twiddle.net>
28028 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28029 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28030 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28031 (IREG_SIZE, OREG_SIZE): New macros.
28032 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28033 (IREG_SIZE, OREG_SIZE): New macros.
28034 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28035 (IREG_SIZE): New macro.
28036 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28037 (IREG_SIZE): New macro.
28038 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28040 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28041 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28042 (__CONCATX): Handle exceptions correctly on large values that may
28044 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28045 Initialize if not already set.
28046 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28048 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28050 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28051 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28053 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28055 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28057 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28059 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28061 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28063 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28065 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28066 (NO_CANCELLATION): Likewise.
28067 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28069 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28071 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28073 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28074 (NO_CANCELLATION): Likewise.
28075 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28076 (NO_CANCELLATION): Likewise.
28077 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28079 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28081 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28083 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28085 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28087 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28088 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28090 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28092 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28095 2017-08-31 Florian Weimer <fweimer@redhat.com>
28097 * include/libc-symbols.h (internal_function): Remove.
28099 2017-08-31 Florian Weimer <fweimer@redhat.com>
28101 * stdlib/fmtmsg.c (internal_addseverity): Remove
28104 2017-08-31 Florian Weimer <fweimer@redhat.com>
28106 * stdio-common/printf_fp.c (group_number): Remove
28108 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28110 2017-08-31 Florian Weimer <fweimer@redhat.com>
28112 * posix/fnmatch.c (internal_function): Remove definition.
28113 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28114 * posix/regcomp.c (peek_token, init_word_char)
28115 (duplicate_node_closure, fetch_token, peek_token)
28116 (peek_token_bracket, build_range_exp, build_collating_symbol):
28118 * posix/regex_internal.c (re_string_construct_common)
28119 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28120 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28121 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28122 (re_string_translate_buffer, re_string_reconstruct)
28123 (re_string_peek_byte_case, re_string_fetch_byte_case)
28124 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28125 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28126 (re_node_set_add_intersect, re_node_set_init_union)
28127 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28128 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28129 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28130 (re_acquire_state_context): Likewise.
28131 * posix/regex_internal.h (internal_function): Remove definition.
28132 (re_string_realloc_buffers, build_wcs_buffer)
28133 (build_wcs_upper_buffer, build_upper_buffer)
28134 (re_string_translate_buffer, re_string_context_at)
28135 (re_string_char_size_at, re_string_wchar_at)
28136 (re_string_elem_size_at): Likewise.
28137 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28138 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28139 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28140 (re_search_internal, re_search_2_stub, re_search_stub)
28141 (re_copy_regs, prune_impossible_nodes, check_matching)
28142 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28143 (free_fail_stack_return, sift_states_iter_mb)
28144 (sift_states_backward, build_sifted_states)
28145 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28146 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28147 (check_subexp_limits, sift_states_bkref, merge_state_array)
28148 (find_recover_state, transit_state, merge_state_with_log)
28149 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28150 (transit_state_mb, transit_state_bkref, get_subexp)
28151 (get_subexp_sub, find_subexp_node, check_arrival)
28152 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28153 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28154 (check_node_accept_bytes, find_collation_sequence_value)
28155 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28156 (acquire_init_state_context, check_halt_node_context)
28157 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28158 (sub_epsilon_src_nodes): Likewise.
28159 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28160 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28161 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28162 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28163 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28164 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28165 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28166 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28167 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28168 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28169 (PREADV): Likewise.
28170 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28171 (PREADV): Likewise.
28172 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28173 (PWRITEV): Likewise.
28174 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28175 (PWRITEV): Likewise.
28176 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28177 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28179 2017-08-31 Florian Weimer <fweimer@redhat.com>
28181 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28182 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28183 Remove internal_function.
28184 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28185 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28186 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28187 (__deallocate_stack, __libc_pthread_init)
28188 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28189 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28190 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28192 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28193 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28194 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28196 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28197 (__pthread_mutex_unlock_usercnt): Likewise.
28199 2017-08-31 Florian Weimer <fweimer@redhat.com>
28201 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28202 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28203 (fts_safe_changedir): Remove internal_function.
28204 * io/ftw.c (internal_function): Remove definition.
28205 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28207 2017-08-31 Florian Weimer <fweimer@redhat.com>
28209 * inet/deadline.c (__deadline_current_time)
28210 (__deadline_from_timeval, __deadline_to_ms): Remove
28212 * inet/getnameinfo.c (nrl_domainname): Likewise.
28213 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28214 * inet/inet6_option.c (add_pad): Likewise.
28215 * inet/net-internal.h (__deadline_current_time)
28216 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28217 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28218 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28219 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28221 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28223 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28224 include <bits/nan.h>.
28225 * math/Makefile (headers): Remove bits/nan.h.
28226 * bits/nan.h: Remove.
28227 * sysdeps/ieee754/bits/nan.h: Likewise.
28228 * sysdeps/mips/bits/nan.h: Likewise.
28230 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28231 not include <bits/inf.h>.
28232 * math/Makefile (headers): Remove bits/inf.h.
28233 * bits/inf.h: Remove.
28234 * sysdeps/ieee754/bits/inf.h: Likewise.
28236 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28237 bits/huge_vall.h or bits/huge_val_flt128.h.
28238 (HUGE_VAL): Define directly here.
28239 [__USE_ISOC99] (HUGE_VALF): Likewise.
28240 [__USE_ISOC99] (HUGE_VALL): Likewise.
28241 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28242 (HUGE_VAL_F128): Likewise.
28243 * math/Makefile (headers): Remove bits/huge_val.h,
28244 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28245 * bits/huge_val.h: Remove.
28246 * bits/huge_val_flt128.h: Likewise.
28247 * bits/huge_valf.h: Likewise.
28248 * bits/huge_vall.h: Likewise.
28249 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28250 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28251 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28252 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28253 * sysdeps/sh/bits/huge_val.h: Likewise.
28254 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28255 * sysdeps/x86/bits/huge_vall.h: Likewise.
28257 2017-08-31 Florian Weimer <fweimer@redhat.com>
28259 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28261 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28263 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28264 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28265 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28266 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28267 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28268 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28269 * elf/dl-libc.c (dlerror_run): Likewise.
28270 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28271 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28272 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28273 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28275 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28276 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28277 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28278 * elf/dl-profile.c (_dl_start_profile): Likewise.
28279 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28280 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28282 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28283 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28284 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28285 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28286 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28287 (_dl_allocate_tls_storage): Likewise.
28288 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28289 (_dl_check_all_versions): Likewise.
28290 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28291 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28292 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28293 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28294 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28295 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28296 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28297 internal_function from __dl_start.
28298 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28299 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28300 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28301 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28302 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28303 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28304 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28305 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28306 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28307 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28308 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28309 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28310 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28311 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28312 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28314 (struct rtld_global_ro): Remove internal_function from the
28315 _dl_lookup_symbol_x member.
28316 (_dl_symbol_value): Remove. No longer defined anywhere.
28317 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28319 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28320 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28321 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28322 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28323 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28324 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28325 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28326 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28327 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28328 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28329 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28330 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28332 2017-08-31 Florian Weimer <fweimer@redhat.com>
28334 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28335 Remove internal_function.
28336 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28338 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28341 2017-08-31 Florian Weimer <fweimer@redhat.com>
28343 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28344 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28345 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28347 2017-08-31 Florian Weimer <fweimer@redhat.com>
28349 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28350 (__gai_enqueue_request): Remove internal_function.
28351 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28352 (__gai_remove_request, __gai_notify, __gai_notify_only)
28353 (__gai_sigqueue): Likewise.
28354 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28355 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28356 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28357 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28360 2017-08-31 Florian Weimer <fweimer@redhat.com>
28362 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28363 * include/dirent.h (__opendirat, __getdents, __getdents64)
28364 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28365 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28366 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28367 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28369 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28371 2017-08-31 Florian Weimer <fweimer@redhat.com>
28373 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28375 (GETCWD_RETURN_TYPE): Likewise.
28377 2017-08-31 Florian Weimer <fweimer@redhat.com>
28379 * include/time.h (__tz_compute, __strptime_internal): Remove
28381 * time/strptime_l.c (__strptime_internal): Likewise.
28382 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28384 2017-08-31 Florian Weimer <fweimer@redhat.com>
28386 * iconv/gconv.c (__gconv): Remove internal_function.
28387 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28388 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28389 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28390 (__gconv_release_cache): Likewise.
28391 * iconv/gconv_close.c (__gconv_close): Likewise.
28392 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28393 (read_conf_file, __gconv_get_path): Likewise.
28394 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28395 (__gconv_release_step, gen_steps, increment_counter)
28396 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28397 (__gconv_close_transform, free_modules_db): Likewise.
28398 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28400 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28401 (__gconv_find_transform, __gconv_lookup_cache)
28402 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28403 (__gconv_close_transform, __gconv_release_cache)
28404 (__gconv_loaded_object, __gconv_release_shlib)
28405 (__gconv_compare_alias): Likewise.
28406 * iconv/gconv_open.c (__gconv_open): Likewise.
28407 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28408 * iconv/iconvconfig.c (add_module): Likewise.
28409 * intl/dcigettext.c (plural_lookup, guess_category_value)
28410 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28411 * intl/eval-plural.h (plural_eval): Likewise.
28412 * intl/finddomain.c (_nl_find_domain): Likewise.
28413 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28414 (_nl_load_domain, _nl_find_msg): Likewise.
28415 (internal_function): Remove definition.
28416 * intl/loadinfo.h (internal_function): Likewise.
28417 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28419 * intl/localealias.c (internal_function): Remove definition.
28420 (read_alias_file): Remove internal_function.
28421 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28422 * intl/plural-exp.h (internal_function): Remove definition.
28423 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28425 * intl/plural.c: Regenerate.
28426 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28427 * locale/coll-lookup.c (__collidx_table_lookup)
28428 (__collseq_table_lookup): Likewise.
28429 * locale/coll-lookup.h (__collidx_table_lookup)
28430 (__collseq_table_lookup): Likewise.
28431 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28432 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28433 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28434 (_nl_unload_locale): Likewise.
28435 * locale/localeinfo.h (struct __locale_data): Remove
28436 internal_function from cleanup member.
28437 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28438 (_nl_remove_locale, _nl_load_locale_from_archive)
28439 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28440 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28441 (_nl_cleanup_time): Remove internal_function.
28442 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28443 (_nl_parse_alt_digit): Likewise.
28444 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28445 (_nl_select_era_entry): Likewise.
28446 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28447 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28448 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28449 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28450 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28452 2017-08-31 Florian Weimer <fweimer@redhat.com>
28454 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28455 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28456 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28457 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28459 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28460 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28461 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28462 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28464 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28466 2017-08-31 Florian Weimer <fweimer@redhat.com>
28468 * misc/getttyent.c (skip, value): Remove internal_function.
28469 * misc/syslog.c (openlog_internal): Likewise.
28470 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28472 2017-08-31 Florian Weimer <fweimer@redhat.com>
28474 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28475 (__nss_rewrite_field): Remove internal_function.
28476 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28477 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28478 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28479 * nss/nsswitch.c (nss_parse_file, nss_getline)
28480 (nss_parse_service_list, nss_new_service): Likewise.
28481 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28482 * nss/valid_field.c (__nss_valid_field): Likewise.
28483 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28485 2017-08-31 Florian Weimer <fweimer@redhat.com>
28487 * malloc/arena.c (__malloc_fork_lock_parent)
28488 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28489 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28490 internal_function from defintions.
28491 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28492 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28493 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28494 internal_function from declarations.
28495 * malloc/malloc.c (internal_function): Do not define.
28496 (mem2mem_check): Remove internal_function from declaration.
28497 (munmap_chunk, mremap_chunk): Remove internal_function.
28498 * malloc/mtrace.c (tr_where): Likewise.
28500 2017-08-31 Florian Weimer <fweimer@redhat.com>
28502 * include/rpc/pmap_clnt.h (__get_socket): Remove
28504 * sunrpc/auth_des.c (synchronize): Likewise.
28505 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28506 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28507 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28508 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28509 (key_call): Likewise.
28510 * sunrpc/pm_getport.c (__get_socket): Likewise.
28511 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28512 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28513 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28514 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28515 (invalidate): Likewise.
28516 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28517 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28518 (set_input_fragment, get_input_bytes): Likewise.
28520 2017-08-31 Florian Weimer <fweimer@redhat.com>
28522 * malloc/malloc.c (_int_free): Remove locked variable and related
28525 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28528 * Makerules (build-module-helper-objlist): Filter out
28529 $(elf-objpfx)sofini.os.
28530 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28533 2017-08-31 Florian Weimer <fweimer@redhat.com>
28535 * libio/fcloseall.c: Assume weak_alias is defined.
28536 * libio/feof.c: Likewise.
28537 * libio/fileno.c: Likewise.
28538 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28539 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28541 (_IO_file_open): Call __open directly.
28542 (_IO_new_file_sync): Assume ESPIPE is defined.
28543 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28544 (_IO_new_file_write): Call __write directly.
28545 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28546 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28547 * libio/genops.c: Assume _LIBC is defined.
28548 (save_for_backup): Remove internal_function.
28549 * libio/getc.c: Assume weak_alias is defined.
28550 * libio/getwc.c: Likewise.
28551 * libio/iofclose.c: Assume _LIBC is defined.
28552 * libio/iofdopen.c: Likewise.
28553 (_IO_fcntl): Remove macro definition.
28554 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28555 Call __fcntl directly.
28556 * libio/iofflush.c: Assume weak_alias is defined.
28557 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28559 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28560 * libio/iofgets.c: Likewise.
28561 * libio/iofopen.c: Assume _LIBC is defined.
28562 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28563 * libio/iofputs.c: Assume weak_alias is defined.
28564 * libio/iofread.c: Likewise.
28565 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28566 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28567 * libio/ioftell.c: Assume weak_alias is defined.
28568 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28569 * libio/iofwide.c: Assume _LIBC is defined.
28570 (_IO_fwide): Drop SHARED conditional because it is implied by
28572 * libio/iofwrite.c: Assume weak_alias is defined.
28573 * libio/iogetdelim.c: Likewise.
28574 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28575 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28576 (_IO_getwline): Call __wmemcpy directly.
28577 * libio/iopopen.c: Assume _LIBC is defined.
28578 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28579 (_IO_close): Remove macro definitions.
28580 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28582 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28584 * libio/ioputs.c: Assume weak_alias is defined.
28585 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28586 * libio/iosetbuffer.c: Assume weak_alias is defined.
28587 * libio/iosetvbuf.c: Likewise.
28588 * libio/ioungetc.c: Likewise.
28589 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28590 libc_hidden_def, libc_hidden_weak, NULL are defined.
28591 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28592 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28594 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28596 (_IO_old_file_init_internal): Drop SHARED conditional because it
28597 is implied by SHLIB_COMPAT.
28598 (_IO_old_file_fopen): Call __open directly.
28599 (_IO_old_file_sync): Assume ESPIPE is defined.
28600 (_IO_old_file_write): Call __write directly.
28601 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28602 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28603 Call __fcntl directly.
28604 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28605 (_IO_old_fgetpos): Assume EIO is defined.
28606 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28607 (_IO_old_fgetpos64): Assume EIO is defined.
28608 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28609 (_IO_old_fsetpos): Assume EIO is defined.
28610 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28611 (_IO_old_fsetpos64): Assume EIO is defined.
28612 * libio/oldiopopen.c: Assume _LIBC is defined.
28613 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28614 (_IO_close): Remove macro definitions.
28615 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28617 (_IO_old_proc_close): Call __close, __waitpid directly.
28618 * libio/put.c: Assume weak_alias is defined.
28619 * libio/stdfiles.c: Assume _LIBC is defined.
28620 * libio/stdio.c: Likewise.
28621 * libio/wfileops.c: Likewise.
28622 (_IO_wfile_sync): Assume ESPIPE is defined.
28623 * libio/wgenops.c: Assume _LIBC is defined.
28624 (save_for_wbackup): Remove internal_function.
28626 2017-08-31 Florian Weimer <fweimer@redhat.com>
28628 * malloc/malloc.c (top_check): Change return type to void. Remove
28630 * malloc/hooks.c (top_check): Likewise.
28631 (malloc_check, realloc_check, memalign_check): Adjust.
28633 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28636 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28637 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28638 sigcontext and namespace requirements.
28639 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28640 * sysdeps/m68k/sys/ucontext.h: Likewise.
28641 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28642 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28643 <bits/sigcontext.h>.
28644 (__ctx): Define earlier.
28645 (mcontext_t): Define structure contents rather than using struct
28647 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28648 __glibc_reserved1 instead of __reserved.
28649 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28650 <bits/sigcontext.h>.
28651 (__ctx): Define earlier.
28652 (mcontext_t): Define structure contents rather than using struct
28654 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28655 mcontext_t instead of struct sigcontext.
28656 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28657 <bits/sigcontext.h>.
28658 (__ctx): Define earlier.
28659 (mcontext_t): Define structure contents rather than using struct
28661 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28662 <bits/sigcontext.h>.
28663 (__ctx): Define earlier.
28664 (mcontext_t): Define structure contents rather than using struct
28666 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28667 mcontext_t instead of struct sigcontext.
28668 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28669 mcontext_t instead of struct sigcontext.
28670 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28671 <bits/sigcontext.h>.
28672 (__ctx): New macro.
28673 (struct __ia64_fpreg_mcontext): New type.
28674 (mcontext_t): Define structure contents rather than using struct
28676 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28677 (uc_sigmask): Define using __ctx.
28678 (uc_stack): Likewise.
28679 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28680 <bits/sigcontext.h>.
28681 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28682 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28683 <bits/sigcontext.h>.
28684 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28685 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28686 <bits/sigcontext.h>.
28687 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28688 <bits/sigcontext.h>.
28689 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28690 <bits/sigcontext.h>.
28691 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28692 <bits/sigcontext.h>.
28693 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28694 <bits/sigcontext.h>.
28695 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28696 <bits/sigcontext.h>.
28697 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28698 <bits/sigcontext.h>.
28699 (__ctx): Define earlier.
28700 (mcontext_t): Define structure contents rather than using struct
28702 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28703 <bits/sigcontext.h>. Include <bits/types.h>.
28704 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28705 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28706 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28707 (test-xfail-UNIX98/signal.h/conform): Likewise.
28708 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28709 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28710 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28711 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28712 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28713 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28714 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28715 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28716 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28718 2017-08-30 Florian Weimer <fweimer@redhat.com>
28720 * malloc/dynarray_emplace_enlarge.c
28721 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28722 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28723 * malloc/tst-dynarray.c (test_long_overflow): New function.
28724 (do_test): Call it.
28726 2017-08-30 Florian Weimer <fweimer@redhat.com>
28728 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28729 (set_arena_corrupt): Remove definitions.
28730 (mtrim): Do not check for corrupt arena.
28731 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28734 2017-08-30 Florian Weimer <fweimer@redhat.com>
28737 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28739 (ptmalloc_init): Do not set or use check_action.
28740 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28741 call to malloc_printerr. Remove return statement.
28742 (free_check): Likewise. Remove arena unlock.
28743 (top_check): Update comment. Adjust call to malloc_printerr.
28744 Remove heap repair code.
28745 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28746 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28747 (sysmalloc): Adjust call to malloc_printerr.
28748 (munmap_chunk, __libc_realloc): Likewise. Remove return
28750 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28751 Remove errout label and corresponding gotos.
28752 (_int_free): Likewise. Remove arena unlock.
28753 (do_set_mallopt_check): Do not set check_action.
28754 (malloc_printerr): Adjust parameter list. Do not mark arena as
28756 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28758 * manual/probes.texi (Memory Allocation Probes): Remove
28759 memory_mallopt_check_action.
28761 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28763 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28764 Use pointer to uint64_t instead of long int for sp.
28766 2017-08-30 Florian Weimer <fweimer@redhat.com>
28769 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28770 without printing a backtrace. Do not leak any information in the
28772 * manual/memory.texi (Heap Consistency Checking): Update.
28773 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28775 2017-08-30 Florian Weimer <fweimer@redhat.com>
28777 Do not scale NPTL tests with available number of CPUs.
28778 * nptl/tst-cond16.c (count): Set to constant value of 8.
28779 * nptl/tst-cond18.c (count): Likewise.
28781 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28784 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28785 Define to take a second argument that is a macro that
28786 concatentates a suffix, not the suffix itself.
28787 (__CONCAT_d): New macro.
28788 (__CONCAT_f): Likewise.
28789 (__CONCAT_l): Likewise.
28791 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28793 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28796 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28797 Aurelien Jarno <aurelien@aurel32.net>
28798 Maciej W. Rozycki <macro@imgtec.com>
28801 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28802 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28803 `mips16-syscall6' and `mips16-syscall7'.
28804 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28805 (CFLAGS-mips16-syscall7.c): Remove.
28806 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28807 Remove `__mips16_syscall5', `__mips16_syscall6' and
28808 `__mips16_syscall7'.
28809 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28810 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28811 `__mips_syscall_return'.
28812 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28813 (__mips16_syscall1): Likewise.
28814 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28815 (__mips16_syscall2): Likewise.
28816 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28817 (__mips16_syscall3): Likewise.
28818 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28819 (__mips16_syscall4): Likewise.
28820 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28822 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28824 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28826 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28827 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28828 `__mips16_syscall5'. Remove prototype.
28829 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28830 `__mips16_syscall6'. Remove prototype.
28831 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28832 `__mips16_syscall7'. Remove prototype.
28833 (__nomips16, __mips16_syscall_return): Move to...
28834 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28835 (__nomips16, __mips_syscall_return): ... here.
28836 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28837 `__mips16_syscall_return' to `__mips_syscall_return'.
28838 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28839 `internal_syscall##nr'.
28840 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28841 `internal_syscall##nr'.
28842 (FORCE_FRAME_POINTER): Remove.
28843 (__mips_syscall5): New prototype.
28844 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28845 (__mips_syscall6): New prototype.
28846 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28847 (__mips_syscall7): New prototype.
28848 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28849 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28850 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28851 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28852 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28853 (sysdep_routines): Add libc-do-syscall.
28854 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28855 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28857 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28860 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28861 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28862 (advise_stack_range): New function.
28863 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28864 stack non required to advise_stack_range at allocatestack.c
28866 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28868 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28870 2017-08-29 Florian Weimer <fweimer@redhat.com>
28873 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28874 __end_fct. Mangle __end_fct after setting it to NULL.
28875 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28876 (modules-names, modules-names-tests): Add
28877 tst-gconv-init-failure-mod.
28878 (gconv-modules): New target.
28879 (tst-gconv-init-failure-mod.so): Link against libsupport.
28880 (tst-gconv-init-failure): Depend on gconv-modules,
28881 tst-gconv-init-failure-mod.so.
28882 * iconv/tst-gconv-init-failure-mod.c: New file.
28883 * iconv/tst-gconv-init-failure.c: Likewise.
28884 * iconv/test-gconv-modules: Likewise.
28886 2017-08-29 Florian Weimer <fweimer@redhat.com>
28889 * iconv/gconv_db.c (free_derivation): Remove redundant
28891 (gen_steps): Unconditionally mangle __btowc_fct after
28893 (increment_counter): Likewise. Do not call init_fct for internal
28896 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28899 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28900 (_MSUF_): Remove macro.
28901 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28903 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28904 (__REDIRFROM_X): New macro.
28905 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28907 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28908 (__REDIRTO_X): Likewise.
28909 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28911 (__MATH_REDIRCALL_2): Likewise.
28912 (__MATH_REDIRCALL_INTERNAL): Likewise.
28913 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28914 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28915 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28916 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28917 * math/test-finite-macros.c: New file.
28918 * math/Makefile (tests): Add test-finite-macros.
28919 (CFLAGS-test-finite-macros.c): New variable.
28921 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28922 Jeff Law <law@redhat.com>
28925 Mangle NULL pointers in iconv/gconv.
28926 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28927 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28928 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28929 is non-NULL before demangling the end_fct. Check for NULL
28930 end_fct after demangling.
28931 (__gconv_release_step): Demangle the end_fct before checking
28932 it for NULL. Remove assert on __shlibc_handle != NULL.
28933 (gen_steps): Don't check btowc_fct for NULL before mangling.
28934 Demangle init_fct before checking for NULL.
28935 (increment_counter): Likewise.
28936 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28937 end_fct for NULL before mangling.
28938 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28941 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28944 * locale/iso-639.def: add Morisyen.
28946 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28949 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28950 (iszero): New C++ implementation that does not use
28951 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28952 signaling nans are enabled, since __builtin_types_compatible_p
28953 is a C-only feature.
28954 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28955 defined, include ieee754_float128.h for access to the union and
28956 member ieee854_float128.ieee.
28957 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28958 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28959 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28960 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28961 options of test-math-zero on powerpc64le.
28963 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
28965 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28966 Change double to float.
28968 2017-08-28 Joseph Myers <joseph@codesourcery.com>
28970 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
28972 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
28973 conditional code; define contents only for [LIBM_SVID_COMPAT].
28975 2017-08-28 Florian Weimer <fweimer@redhat.com>
28977 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
28978 (abi-lp64_be-options): Remove.
28979 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
28980 (abi-hard-options): Likewise.
28981 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
28982 (abi-o32_hard-options, abi-o32_soft_2008-options)
28983 (abi-o32_hard_2008-options, abi-n32_soft-options)
28984 (abi-n32_hard-options, abi-n32_soft_2008-options)
28985 (abi-n32_hard_2008-options, abi-n64_soft-options)
28986 (abi-n64_hard-options, abi-n64_soft_2008-options)
28987 (abi-n64_hard_2008-options): Likewise.
28988 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
28989 (abi-64-v1-options, abi-64-v2-options): Likewise.
28990 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
28991 (abi-64-options): Likewise.
28992 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
28993 (abi-64-options): Likewise.
28994 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
28995 (abi-64-options): Likewise.
28996 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
28997 (abi-64-options, abi-x32-options): Likewise.
28999 2017-08-28 Florian Weimer <fweimer@redhat.com>
29001 Store supported list of SYS_* system calls in the source tree.
29002 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29003 (bits/syscall.h): Generate from list file.
29004 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29005 [$(subdir) = misc] (tests): Add tst-syscall-list.
29006 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29007 [$(subdir) = misc] (tst-syscall-list-macros.list)
29008 [$(subdir) = misc] (tst-syscall-list-nr.list)
29009 (tst-syscall-list-sys.list): Helper targets for new
29010 tst-syscall-list test.
29011 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29012 tst-syscall-list.sh.
29013 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29014 target. Do not include bits/syscall.d.
29015 [$(subdir) = misc] (generated): Do not update.
29016 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29017 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29018 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29019 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29021 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29023 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29024 (tst-cxa_atexit, tst-on_exit): Likewise.
29025 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29026 tst-cxa_atexit, and tst-on_exit.
29027 * stdlib/tst-atexit-common.c: New file.
29028 * stdlib/tst-atexit.c: New file.
29029 * stdlib/tst-at_quick_exit.c: New file.
29030 * stdlib/tst-cxa_atexit.c: New file.
29031 * stdlib/tst-on_exit.c: New file.
29033 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29035 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29036 * mach/stack_chk_fail_local.c: New file.
29037 * hurd/stack_chk_fail_local.c: New file.
29038 * mach/Machrules ($(interface-library)-routines): Add
29039 stack_chk_fail_local.
29040 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29041 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29042 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29043 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29044 * hurd/Makefile (CFLAGS-hurdstartup.o,
29045 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29047 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29049 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29050 (index_cpu_*, index_arch_*): Removed.
29052 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29054 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29055 Use uint64_t instead of unsigned long.
29057 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29059 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29060 [__HAVE_DISTINCT_FLOAT128].
29062 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29063 of <bits/math-finite.h>.
29064 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29065 inclusion of <bits/math-finite.h>.
29066 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29067 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29068 __NO_LONG_DOUBLE_MATH].
29069 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29070 (__MATH_REDIRCALL_2): Likewise.
29071 (__MATH_REDIRCALL_INTERNAL): Likewise.
29072 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29073 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29074 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29088 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29089 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29090 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29091 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29093 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29094 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29095 w_sqrtf_compat-ppc32.
29097 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29099 * math/math.h [defined __cplusplus] (issignaling): In the long
29100 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29101 is not defined. Call __issignaling, otherwise.
29103 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29105 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29106 syscall definitions and replace __builtin_expect with __glibc_likely.
29107 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29109 (SYSCALL_CANCELLABLE): Removedefinition
29110 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29112 (PSEUDO_END): Likewise.
29113 [IS_IN (libpthread)] (CENABLE): Likewise.
29114 [IS_IN (libpthread)] (CDISABLE): Likewise.
29115 [IS_IN (libc)] (CENABLE): Likewise.
29116 [IS_IN (libc)] (CENABLE): Likewise.
29117 [IS_IN (librt)] (CDISABLE): Likewise.
29118 [IS_IN (librt)] (CDISABLE): Likewise.
29119 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29120 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29122 (PSEUDO_END): Likewise.
29123 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29124 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29125 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29126 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29127 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29128 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29129 (CENABLE): Likewise.
29130 (CDISABLE): Likewise.
29131 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29132 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29134 (PSEUDO_END): Likewise.
29135 [IS_IN (libpthread)] (CENABLE): Likewise.
29136 [IS_IN (libpthread)] (CDISABLE): Likewise.
29137 [IS_IN (libc)] (CENABLE): Likewise.
29138 [IS_IN (libc)] (CENABLE): Likewise.
29139 [IS_IN (librt)] (CDISABLE): Likewise.
29140 [IS_IN (librt)] (CDISABLE): Likewise.
29141 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29142 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29144 (PSEUDO_END): Likewise.
29145 [IS_IN (libpthread)] (CENABLE): Likewise.
29146 [IS_IN (libpthread)] (CDISABLE): Likewise.
29147 [IS_IN (libc)] (CENABLE): Likewise.
29148 [IS_IN (libc)] (CENABLE): Likewise.
29149 [IS_IN (librt)] (CDISABLE): Likewise.
29150 [IS_IN (librt)] (CDISABLE): Likewise.
29151 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29152 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29154 (PSEUDO_END): Likewise.
29155 [IS_IN (libpthread)] (CENABLE): Likewise.
29156 [IS_IN (libpthread)] (CDISABLE): Likewise.
29157 [IS_IN (libc)] (CENABLE): Likewise.
29158 [IS_IN (libc)] (CENABLE): Likewise.
29159 [IS_IN (librt)] (CDISABLE): Likewise.
29160 [IS_IN (librt)] (CDISABLE): Likewise.
29161 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29162 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29164 (PSEUDO_END): Likewise.
29165 [IS_IN (libpthread)] (CENABLE): Likewise.
29166 [IS_IN (libpthread)] (CDISABLE): Likewise.
29167 [IS_IN (libc)] (CENABLE): Likewise.
29168 [IS_IN (libc)] (CENABLE): Likewise.
29169 [IS_IN (librt)] (CDISABLE): Likewise.
29170 [IS_IN (librt)] (CDISABLE): Likewise.
29171 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29172 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29174 (PSEUDO_END): Likewise.
29175 [IS_IN (libpthread)] (CENABLE): Likewise.
29176 [IS_IN (libpthread)] (CDISABLE): Likewise.
29177 [IS_IN (libc)] (CENABLE): Likewise.
29178 [IS_IN (libc)] (CENABLE): Likewise.
29179 [IS_IN (librt)] (CDISABLE): Likewise.
29180 [IS_IN (librt)] (CDISABLE): Likewise.
29181 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29182 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29184 (PSEUDO_END): Likewise.
29185 [IS_IN (libpthread)] (CENABLE): Likewise.
29186 [IS_IN (libpthread)] (CDISABLE): Likewise.
29187 [IS_IN (libc)] (CENABLE): Likewise.
29188 [IS_IN (libc)] (CENABLE): Likewise.
29189 [IS_IN (librt)] (CDISABLE): Likewise.
29190 [IS_IN (librt)] (CDISABLE): Likewise.
29191 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29192 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29194 (PSEUDO_END): Likewise.
29195 [IS_IN (libpthread)] (CENABLE): Likewise.
29196 [IS_IN (libpthread)] (CDISABLE): Likewise.
29197 [IS_IN (libc)] (CENABLE): Likewise.
29198 [IS_IN (libc)] (CENABLE): Likewise.
29199 [IS_IN (librt)] (CDISABLE): Likewise.
29200 [IS_IN (librt)] (CDISABLE): Likewise.
29201 (SINGLE_THREAD_P): Likewise.
29202 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29204 (PSEUDO_END): Likewise.
29205 [IS_IN (libpthread)] (CENABLE): Likewise.
29206 [IS_IN (libpthread)] (CDISABLE): Likewise.
29207 [IS_IN (libc)] (CENABLE): Likewise.
29208 [IS_IN (libc)] (CENABLE): Likewise.
29209 [IS_IN (librt)] (CDISABLE): Likewise.
29210 [IS_IN (librt)] (CDISABLE): Likewise.
29211 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29212 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29214 (PSEUDO_END): Likewise.
29215 [IS_IN (libpthread)] (CENABLE): Likewise.
29216 [IS_IN (libpthread)] (CDISABLE): Likewise.
29217 [IS_IN (libc)] (CENABLE): Likewise.
29218 [IS_IN (libc)] (CENABLE): Likewise.
29219 [IS_IN (librt)] (CDISABLE): Likewise.
29220 [IS_IN (librt)] (CDISABLE): Likewise.
29221 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29222 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29223 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29224 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29225 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29227 (PSEUDO_END): Likewise.
29228 [IS_IN (libpthread)] (CENABLE): Likewise.
29229 [IS_IN (libpthread)] (CDISABLE): Likewise.
29230 [IS_IN (libc)] (CENABLE): Likewise.
29231 [IS_IN (libc)] (CENABLE): Likewise.
29232 [IS_IN (librt)] (CDISABLE): Likewise.
29233 [IS_IN (librt)] (CDISABLE): Likewise.
29234 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29237 (PSEUDO_END): Likewise.
29238 [IS_IN (libpthread)] (CENABLE): Likewise.
29239 [IS_IN (libpthread)] (CDISABLE): Likewise.
29240 [IS_IN (libc)] (CENABLE): Likewise.
29241 [IS_IN (libc)] (CENABLE): Likewise.
29242 [IS_IN (librt)] (CDISABLE): Likewise.
29243 [IS_IN (librt)] (CDISABLE): Likewise.
29244 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29245 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29247 (PSEUDO_END): Likewise.
29248 [IS_IN (libpthread)] (CENABLE): Likewise.
29249 [IS_IN (libpthread)] (CDISABLE): Likewise.
29250 [IS_IN (libc)] (CENABLE): Likewise.
29251 [IS_IN (libc)] (CENABLE): Likewise.
29252 [IS_IN (librt)] (CDISABLE): Likewise.
29253 [IS_IN (librt)] (CDISABLE): Likewise.
29254 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29256 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29257 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29258 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29260 (PSEUDO_END): Likewise.
29261 [IS_IN (libpthread)] (CENABLE): Likewise.
29262 [IS_IN (libpthread)] (CDISABLE): Likewise.
29263 [IS_IN (libc)] (CENABLE): Likewise.
29264 [IS_IN (libc)] (CENABLE): Likewise.
29265 [IS_IN (librt)] (CDISABLE): Likewise.
29266 [IS_IN (librt)] (CDISABLE): Likewise.
29267 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29268 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29270 (PSEUDO_END): Likewise.
29271 [IS_IN (libpthread)] (CENABLE): Likewise.
29272 [IS_IN (libpthread)] (CDISABLE): Likewise.
29273 [IS_IN (libc)] (CENABLE): Likewise.
29274 [IS_IN (libc)] (CENABLE): Likewise.
29275 [IS_IN (librt)] (CDISABLE): Likewise.
29276 [IS_IN (librt)] (CDISABLE): Likewise.
29277 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29279 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29281 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29283 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29285 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29287 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29290 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29291 middle and outer with size_t instead of int. Repleace %d and
29292 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29293 "MAX (outer, nchars - 64)" to support unsigned outer and
29294 nchars. Also exit loop when outer == 0.
29296 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29298 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29299 * include/signal.h (__sigsuspend_nocancel): Likewise.
29300 * include/time.h (__nanosleep_nocancel): Likewise.
29301 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29302 * login/utmp_file.c: Include non cancellable syscall header.
29303 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29306 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29308 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29309 .byte sequences with AVX512F instructions.
29310 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29311 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29312 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29313 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29315 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29318 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29319 Steve Ellcey <sellcey@cavium.com>
29321 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29322 Use PTR_REG macro in cmp instruction.
29324 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29326 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29327 Change the return type of the ifunc resolver to match the return
29328 type of the target function.
29330 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29332 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29333 (preadv64): Likewise.
29334 (pwrite64(: Likewise.
29335 (pwritev64): Likewise.
29337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29338 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29339 (LOAD_ARGS_0): Likewise.
29340 (LOAD_ARGS_1): Likewise.
29341 (LOAD_ARGS_2): Likewise.
29342 (LOAD_ARGS_3): Likewise.
29343 (LOAD_ARGS_4): Likewise.
29344 (LOAD_ARGS_5): Likewise.
29345 (LOAD_ARGS_6): Likewise.
29346 (LOAD_REGS_0): Likewise.
29347 (LOAD_REGS_1): Likewise.
29348 (LOAD_REGS_2): Likewise.
29349 (LOAD_REGS_3): Likewise.
29350 (LOAD_REGS_4): Likewise.
29351 (LOAD_REGS_5): Likewise.
29352 (LOAD_REGS_6): Likewise.
29353 (ASM_ARGS_0): Likewise.
29354 (ASM_ARGS_1): Likewise.
29355 (ASM_ARGS_2): Likewise.
29356 (ASM_ARGS_3): Likewise.
29357 (ASM_ARGS_4): Likewise.
29358 (ASM_ARGS_5): Likewise.
29359 (ASM_ARGS_6): Likewise.
29360 (LOAD_ARGS_TYPES_1): Likewise.
29361 (LOAD_ARGS_TYPES_2): Likewise.
29362 (LOAD_ARGS_TYPES_3): Likewise.
29363 (LOAD_ARGS_TYPES_4): Likewise.
29364 (LOAD_ARGS_TYPES_5): Likewise.
29365 (LOAD_ARGS_TYPES_6): Likewise.
29366 (LOAD_REGS_TYPES_1): Likewise.
29367 (LOAD_REGS_TYPES_2): Likewise.
29368 (LOAD_REGS_TYPES_3): Likewise.
29369 (LOAD_REGS_TYPES_4): Likewise.
29370 (LOAD_REGS_TYPES_5): Likewise.
29371 (LOAD_REGS_TYPES_6): Likewise.
29372 (TYPEFY): New define.
29373 (ARGIFY): Likewise.
29374 (internal_syscall0): Likewise.
29375 (internal_syscall1): Likewise.
29376 (internal_syscall2): Likewise.
29377 (internal_syscall3): Likewise.
29378 (internal_syscall4): Likewise.
29379 (internal_syscall5): Likewise.
29380 (internal_syscall6): Likewise.
29381 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29382 (INTERNAL_SYSCALL_NCS): Remove define.
29383 (internal_syscall1): Add define.
29385 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29387 * math/w_remainder_compat.c: Remove duplicate inclusion of
29388 math-svid-compat.h.
29389 * math/w_remainderf_compat.c: Likewise.
29390 * math/w_remainderl_compat.c: Likewise.
29392 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29396 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29399 * math/tgmath.h (__floating_type): Simplify definitions.
29400 (__real_integer_type): New macro.
29401 (__complex_integer_type): Likewise.
29402 (__expr_is_real): Likewise.
29403 (__tgmath_real_type_sub): Update comment to describe handling of
29405 (__tgmath_complex_type_sub): New macro.
29406 (__tgmath_complex_type): Likewise.
29407 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29408 (__TGMATH_CF128): Use __expr_is_real.
29409 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29411 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29412 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29413 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29416 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29418 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29420 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29422 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29425 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29426 nanosleep_not_cancel with __nanosleep_nocancel.
29427 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29428 (__nanosleep_nocancel): New macro.
29429 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29431 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29433 (__nanosleep_nocancel): New prototype.
29435 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29436 pause_not_cancel with __pause_nocancel.
29437 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29438 (__pause_nocancel): New macro.
29439 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29441 (__pause_nocancel): New prototype.
29442 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29444 2017-08-22 Martin Sebor <msebor@redhat.com>
29446 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29447 to return a pointer to the same type as the target function.
29449 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29453 * include/printf.h (__printf_fphex): Add attribute_hidden.
29454 (__guess_grouping): New prototype.
29455 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29456 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29457 libc_hidden_proto and libc_hidden_def.
29458 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29459 (__vstrfmon_l): Remove the third argument passed to
29462 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29464 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29465 definition for issignaling that does not rely on __MATH_TG,
29466 since __MATH_TG uses __builtin_types_compatible_p, which is only
29467 available in C mode.
29468 (CFLAGS-test-math-issignaling.cc): New variable.
29469 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29470 * math/test-math-issignaling.cc: New test for C++ implementation
29471 of type-generic issignaling.
29472 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29473 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29474 options of test-math-issignaling on powerpc64le.
29476 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29478 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29480 (hidden_proto): Likewise.
29481 (hidden_tls_proto): Likewise.
29482 (__hidden_proto): Likewise.
29484 2017-08-22 Florian Weimer <fweimer@redhat.com>
29486 math: Statically link tests of internal functionality.
29487 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29489 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29490 (gmp-objs): Remove assignment.
29491 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29493 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29496 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29498 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29500 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29503 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29504 variable definitions above inclusion of ../Rules.
29506 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29508 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29509 case calling __builtin_unreachable.
29511 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29513 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29514 __waitpid_nocancel.
29515 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29516 (__waitpid_nocancel): New macro.
29517 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29519 (__waitpid_nocancel): Replace macro with a function.
29520 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29523 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29525 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29526 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29528 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29529 __writev_nocancel_nostatus.
29530 (write_call_graph): Likewise.
29531 (write_bb_counts): Likewise.
29532 * resolv/herror.c (herror): Likewise.
29533 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29535 (__writev_nocancel_nostatus): New macro.
29536 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29538 (__writev_nocancel_nostatus): New function.
29540 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29543 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29545 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29547 (hidden_proto): Likewise.
29548 (hidden_tls_proto): Likewise.
29549 (__hidden_proto): Likewise.
29552 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29553 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29563 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29564 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29565 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29566 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29567 GLIBC_2.0 sqrtl symbol.
29569 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29570 [__USE_MISC] (_LIB_VERSION): Likewise.
29571 [__USE_MISC] (struct exception): Likewise.
29572 [__USE_MISC] (matherr): Likewise.
29573 [__USE_MISC] (DOMAIN): Likewise.
29574 [__USE_MISC] (SING): Likewise.
29575 [__USE_MISC] (OVERFLOW): Likewise.
29576 [__USE_MISC] (UNDERFLOW): Likewise.
29577 [__USE_MISC] (TLOSS): Likewise.
29578 [__USE_MISC] (PLOSS): Likewise.
29579 [__USE_MISC] (HUGE): Likewise.
29580 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29581 * math/math-svid-compat.h: New file.
29582 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29584 * include/math.h [!_ISOMAC] (__matherr): Remove.
29585 * manual/arith.texi (FP Exceptions): Do not document matherr.
29586 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29587 (tests-internal): New variable.
29588 (install-lib): Do not add libieee.a.
29589 (non-lib.a): Likewise.
29590 (extra-objs): Do not add libieee.a and ieee-math.o.
29591 (CPPFLAGS-s_lib_version.c): Remove variable.
29592 ($(objpfx)libieee.a): Remove rule.
29593 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29594 * math/ieee-math.c: Remove.
29595 * math/libm-test-support.c (matherr): Remove.
29596 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29597 and license notices. Include <math-svid-compat.h> and
29599 (matherr): Undefine as macro. Use compat_symbol_reference.
29600 (_LIB_VERSION): Likewise.
29601 * math/test-matherr-2.c: New file.
29602 * math/test-matherr-3.c: Likewise.
29603 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29605 (__kernel_standard_f): Likewise.
29606 (__kernel_standard_l): Likewise.
29607 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29608 <math_private.h>. Include <math-svid-compat.h>.
29609 (_LIB_VERSION): Undefine as macro.
29610 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29611 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29612 [LIBM_SVID_COMPAT], use compat_symbol.
29613 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29614 <math_private.h>. Include <math-svid-compat.h>.
29615 (matherr): Undefine as macro.
29616 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29618 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29619 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29620 compat_symbol_reference.
29621 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29622 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29623 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29624 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29625 (MATHERR_D): Remove declaration.
29626 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29627 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29628 [LIBM_BUILD] (pmatherrf): Likewise.
29629 [LIBM_BUILD] (pmatherr): Likewise.
29630 [LIBM_BUILD] (pmatherrl): Likewise.
29631 (DOMAIN): Likewise.
29633 (OVERFLOW): Likewise.
29634 (UNDERFLOW): Likewise.
29637 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29638 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29640 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29641 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29643 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29644 * math/w_acos_compat.c: Likewise.
29645 * math/w_acosf_compat.c: Likewise.
29646 * math/w_acosh_compat.c: Likewise.
29647 * math/w_acoshf_compat.c: Likewise.
29648 * math/w_acoshl_compat.c: Likewise.
29649 * math/w_acosl_compat.c: Likewise.
29650 * math/w_asin_compat.c: Likewise.
29651 * math/w_asinf_compat.c: Likewise.
29652 * math/w_asinl_compat.c: Likewise.
29653 * math/w_atan2_compat.c: Likewise.
29654 * math/w_atan2f_compat.c: Likewise.
29655 * math/w_atan2l_compat.c: Likewise.
29656 * math/w_atanh_compat.c: Likewise.
29657 * math/w_atanhf_compat.c: Likewise.
29658 * math/w_atanhl_compat.c: Likewise.
29659 * math/w_cosh_compat.c: Likewise.
29660 * math/w_coshf_compat.c: Likewise.
29661 * math/w_coshl_compat.c: Likewise.
29662 * math/w_exp10_compat.c: Likewise.
29663 * math/w_exp10f_compat.c: Likewise.
29664 * math/w_exp10l_compat.c: Likewise.
29665 * math/w_exp2_compat.c: Likewise.
29666 * math/w_exp2f_compat.c: Likewise.
29667 * math/w_exp2l_compat.c: Likewise.
29668 * math/w_fmod_compat.c: Likewise.
29669 * math/w_fmodf_compat.c: Likewise.
29670 * math/w_fmodl_compat.c: Likewise.
29671 * math/w_hypot_compat.c: Likewise.
29672 * math/w_hypotf_compat.c: Likewise.
29673 * math/w_hypotl_compat.c: Likewise.
29674 * math/w_j0_compat.c: Likewise.
29675 * math/w_j0f_compat.c: Likewise.
29676 * math/w_j0l_compat.c: Likewise.
29677 * math/w_j1_compat.c: Likewise.
29678 * math/w_j1f_compat.c: Likewise.
29679 * math/w_j1l_compat.c: Likewise.
29680 * math/w_jn_compat.c: Likewise.
29681 * math/w_jnf_compat.c: Likewise.
29682 * math/w_jnl_compat.c: Likewise.
29683 * math/w_lgamma_main.c: Likewise.
29684 * math/w_lgamma_r_compat.c: Likewise.
29685 * math/w_lgammaf_main.c: Likewise.
29686 * math/w_lgammaf_r_compat.c: Likewise.
29687 * math/w_lgammal_main.c: Likewise.
29688 * math/w_lgammal_r_compat.c: Likewise.
29689 * math/w_log10_compat.c: Likewise.
29690 * math/w_log10f_compat.c: Likewise.
29691 * math/w_log10l_compat.c: Likewise.
29692 * math/w_log2_compat.c: Likewise.
29693 * math/w_log2f_compat.c: Likewise.
29694 * math/w_log2l_compat.c: Likewise.
29695 * math/w_log_compat.c: Likewise.
29696 * math/w_logf_compat.c: Likewise.
29697 * math/w_logl_compat.c: Likewise.
29698 * math/w_pow_compat.c: Likewise.
29699 * math/w_powf_compat.c: Likewise.
29700 * math/w_powl_compat.c: Likewise.
29701 * math/w_remainder_compat.c: Likewise.
29702 * math/w_remainderf_compat.c: Likewise.
29703 * math/w_remainderl_compat.c: Likewise.
29704 * math/w_scalb_compat.c: Likewise.
29705 * math/w_scalbf_compat.c: Likewise.
29706 * math/w_scalbl_compat.c: Likewise.
29707 * math/w_sinh_compat.c: Likewise.
29708 * math/w_sinhf_compat.c: Likewise.
29709 * math/w_sinhl_compat.c: Likewise.
29710 * math/w_sqrt_compat.c: Likewise.
29711 * math/w_sqrtf_compat.c: Likewise.
29712 * math/w_sqrtl_compat.c: Likewise.
29713 * math/w_tgamma_compat.c: Likewise.
29714 * math/w_tgammaf_compat.c: Likewise.
29715 * math/w_tgammal_compat.c: Likewise.
29716 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29717 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29718 * sysdeps/ieee754/k_standard.c: Likewise.
29719 * sysdeps/ieee754/k_standardf.c: Likewise.
29720 * sysdeps/ieee754/k_standardl.c: Likewise.
29721 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29722 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29723 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29724 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29725 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29726 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29727 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29728 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29729 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29734 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29735 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29736 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29737 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29739 2017-08-21 Florian Weimer <fweimer@redhat.com>
29742 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29743 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29744 Move before inclusion of ../Rules.
29746 2017-08-21 Florian Weimer <fweimer@redhat.com>
29749 * assert/assert.h (assert): Use static_cast (bool) for C++.
29750 Use the ternary operator in the warning branch for GNU C.
29751 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29752 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29753 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29754 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29755 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29757 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29760 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29761 (__syscall_clock_gettime): Add attribute_hidden.
29762 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29763 (__start_context): Likewise.
29765 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29767 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29769 (hidden_proto): Likewise.
29770 (hidden_tls_proto): Likewise.
29771 (__hidden_proto): Likewise.
29773 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29775 * include/libc-symbols.h (attribute_hidden): Enable hidden
29776 visibility in libc.a compiled with PIE.
29778 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29781 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29782 Add attribute_hidden.
29784 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29787 * Makerules (all-nonlib): Add $(others-extras).
29788 * catgets/Makefile (others-extras): New.
29789 * elf/Makefile (others-extras): Likewise.
29790 * nss/Makefile (others-extras): Likewise.
29792 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29795 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29796 * elf/dl-open.c: Include <libc-internal.h>.
29797 (__libc_multiple_libcs): Removed.
29798 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29800 * include/libc-internal.h (__libc_multiple_libcs): New.
29801 * misc/sbrk.c: Include <libc-internal.h>.
29802 (__libc_multiple_libcs): Removed.
29804 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29807 * grp/initgroups.c (__nss_group_database): Removed.
29808 (__nss_initgroups_database): Likewise.
29809 * nscd/gai.c (__nss_hosts_database): Likewise.
29810 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29811 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29812 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29813 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29814 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29815 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29817 * nss/nsswitch.c (__nss_database_custom): Define only if
29818 USE_NSCD is defined.
29819 (__nss_configure_lookup): Use __nss_database_custom only if
29820 USE_NSCD is defined.
29821 * nss/nsswitch.h (__nss_database_custom): Declare only if
29822 USE_NSCD is defined. Add attribute_hidden.
29823 (__nss_setent): Add attribute_hidden.
29824 (__nss_endent): Likewise.
29825 (__nss_getent_r): Likewise.
29826 (__nss_getent): Likewise.
29827 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29829 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29832 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29833 libc_hidden_proto and libc_hidden_def.
29835 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29838 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29839 Add libc_hidden_proto.
29840 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29841 Add libc_hidden_def.
29843 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29846 * gmon/Makefile (routines): Remove bb_init_func and
29848 (elide-routines.os): Removed.
29849 * gmon/bb_exit_func.c: Likewise.
29850 * gmon/bb_init_func.c: Likewise.
29851 * include/sys/gmon.h (__bb): Likewise.
29852 (__bb_init_func): Likewise.
29853 (__bb_exit_func): Likewise.
29854 * sysdeps/alpha/bb_init_func.S: Likewise.
29856 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29858 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29859 * include/setjmp.h (____longjmp_chk): Here. Add
29862 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29865 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29867 (__strspn_sse2): Likewise.
29869 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29871 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29872 (close_not_cancel_no_status): Likewise.
29873 (__close_nocancel): New macro.
29874 (__close_nocancel_nostatus): Likewise.
29875 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29877 (close_not_cancel): Likewise.
29878 (close_not_cancel_no_status): Likewise.
29879 (__close_nocancel): New prototype.
29880 (__close_nocancel_nostatus): New function.
29881 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29882 * catgets/open_catalog.c (__open_catalog): Replace
29883 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29884 * gmon/gmon.c (write_gmon): Likewise.
29885 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29886 * intl/loadmsgcat.c (close): Likewise.
29887 * io/ftw.c (open_dir_stream): Likewise.
29888 (ftw_startup): Likewise.
29889 * libio/fileops.c (_IO_file_open): Likewise.
29890 (_IO_file_close_mmap): Likewise.
29891 (_IO_file_close): Likewise.
29892 * libio/iopopen.c (_IO_dup2): Likewise.
29893 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29894 * locale/loadlocale.c (_nl_load_locale): Likewise.
29895 * login/utmp_file.c (pututline_file): Likewise.
29896 (endutent_file): Likewise.
29897 * misc/daemon.c (daemon): Likewise.
29898 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29899 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29900 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29901 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29902 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29903 * nscd/nscd_helper.c (open_socket): Likewise.
29904 (__nscd_open_socket): Likewise.
29905 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29906 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29907 (__nscd_innetgr): Likewise.
29908 * nss/nss_db/db-open.c (internal_setent): Likewise.
29909 * resolv/res-close.c (__res_iclose): Likewise.
29910 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29911 * sysdeps/posix/closedir.c (__closedir): Likewise.
29912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29913 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29914 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29915 (opendir_tail): Likewise.
29916 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29917 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29918 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29919 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29920 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29921 (gethostid): Likewise.
29922 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29923 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29925 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29926 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29927 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29928 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29930 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29931 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29932 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29934 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29935 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29937 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29939 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29940 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29941 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29944 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29945 (openat_not_cancel_3): Likewise.
29946 (openat64_not_cancel_3): Likewise).
29947 (openat_not_cancel_3): Likewise).
29948 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29950 (openat_not_cancel_3): Likewise.
29951 (openat64_not_cancel): Likewise.
29952 (openat64_not_cancel_3): Likewise.
29953 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29954 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29955 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29956 __open{64}_nocancel.
29957 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29958 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29959 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29961 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29964 * include/argz.h (__argz_create_sep): New function prototype.
29965 (__argz_append): Likewise.
29966 (__argz_add): Likewise.
29967 (__argz_add_sep): Likewise.
29968 (__argz_delete): Likewise.
29969 (__argz_insert): Likewise.
29970 (__argz_replace): Likewise.
29971 * string/argz.h (__argz_create_sep): Removed.
29972 (__argz_append): Likewise.
29973 (__argz_add): Likewise.
29974 (__argz_add_sep): Likewise.
29975 (__argz_delete): Likewise.
29976 (__argz_insert): Likewise.
29977 (__argz_replace): Likewise.
29979 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29981 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
29982 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
29983 (GNU_PROPERTY_STACK_SIZE): Likewie.
29984 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
29985 (GNU_PROPERTY_LOPROC): Likewise.
29986 (GNU_PROPERTY_HIPROC): Likewise.
29987 (GNU_PROPERTY_LOUSER): Likewise.
29988 (GNU_PROPERTY_HIUSER): Likewise.
29989 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
29990 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
29991 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
29992 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
29993 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
29994 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
29995 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
29996 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
29997 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
29998 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
29999 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30000 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30001 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30002 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30003 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30004 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30005 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30006 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30007 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30008 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30009 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30010 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30011 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30013 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30015 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30018 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30021 * math/math.h (isinf): Check if in C or C++ mode before using
30022 __builtin_types_compatible_p, since this is a C mode feature.
30024 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30026 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30027 (__write_nocancel): New macro.
30028 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30029 Rewrite as a function prototype.
30030 (write_not_cancel): Remove macro.
30031 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30032 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30033 (write_gmon): Likewise.
30034 * libio/fileops.c (_IO_new_file_write): Likewise.
30035 * login/utmp_file.c (pututline_file): Likewise.
30036 (updwtmp_file): Likewise.
30037 * stdio-common/psiginfo.c (psiginfo): Likewise.
30038 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30039 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30040 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30042 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30045 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30046 (__read_nocancel): New macro.
30047 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30049 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30051 (__read_nocancel): New prototype.
30052 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30053 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30054 with __read_nocancel.
30055 * intl/loadmsgcat.c (read): Likewise.
30056 * libio/fileops.c (_IO_file_read): Likewise.
30057 * locale/loadlocale.c (_nl_load_locale): Likewise.
30058 * login/utmp_file.c (getutent_r_file): Likewise.
30059 (internal_getut_r): Likewise.
30060 (getutline_r_file): Likewise.
30061 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30062 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30063 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30064 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30066 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30067 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30068 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30070 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30072 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30074 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30076 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30078 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30081 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30082 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30085 2017-08-17 DJ Delorie <dj@redhat.com>
30087 * bug17079.c: Update to new test harness.
30088 * test-digits-dots.c: Likewise.
30089 * test-netdb.c: Likewise.
30090 * tst-field.c: Likewise.
30091 * tst-nss-getpwent.c: Likewise.
30092 * tst-nss-static.c: Likewise.
30093 * tst-nss-test1.c: Likewise.
30094 * tst-nss-test2.c: Likewise.
30095 * tst-nss-test3.c: Likewise.
30096 * tst-nss-test4.c: Likewise.
30097 * tst-nss-test5.c: Likewise.
30099 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30101 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30102 (open_not_cancel_2): Likewise.
30103 (open_nocancel): New macro.
30104 (open64_nocancel): Likewise.
30105 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30106 (open_not_cancel_2): Likewise.
30107 (__open_nocancel): New prototype.
30108 (__open64_nocancel): Likewise.
30109 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30111 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30112 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30113 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30114 with __open_nocancel.
30115 * csu/check_fds.c (check_one_fd): Likewise.
30116 * gmon/gmon.c (write_gmon): Likewise.
30117 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30118 * intl/loadmsgcat.c (open): Likewise.
30119 * libio/fileops.c (_IO_file_open): Likewise.
30120 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30121 * locale/loadlocale.c (_nl_load_locale): Likewise.
30122 * login/utmp_file.c (setutent_file): Likewise.
30123 * misc/daemon.c (daemon): Likewise.
30124 * nss/nss_db/db-open.c (internal_setent): Likewise.
30125 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30126 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30127 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30128 (__opendir): Likewise.
30129 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30130 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30131 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30132 (gethostid): Likewise.
30133 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30134 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30137 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30138 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30139 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30141 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30143 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30145 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30147 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30149 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30151 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30152 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30154 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30156 * benchtests/bench-skeleton.c (main): Add support for
30157 latency benchmarking.
30158 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30160 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30162 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30163 the startup object.
30165 2017-08-17 Florian Weimer <fweimer@redhat.com>
30167 * include/sys/socket.h (__opensock): Remove internal_function.
30168 * socket/opensock.c (__opensock): Likewise.
30169 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30171 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30174 * signal/bits/types/__sigval_t.h: New file.
30175 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30176 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30177 and define sigval_t using __sigval_t.
30178 * include/bits/types/__sigval_t.h: New file.
30179 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30180 instead of <bits/types/__sigval_t.h>.
30181 (struct sigevent): Use __sigval_t instead of sigval_t.
30182 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30183 instead of <bits/types/__sigval_t.h>.
30184 (siginfo_t): Use __sigval_t instead of sigval_t.
30185 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30186 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30187 (struct sigevent): Use __sigval_t instead of sigval_t.
30188 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30189 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30190 (siginfo_t): Use __sigval_t instead of sigval_t.
30191 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30193 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30195 * NEWS: Remove "[Add new features here]" for 2.27.
30197 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30199 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30202 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30204 * NEWS: Mention x86-64 FMA optimization.
30206 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30209 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30211 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30212 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30213 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30215 2017-08-16 Andreas Schwab <schwab@suse.de>
30219 * elf/ldd.bash.in: Never run file directly.
30221 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30224 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30225 (L(SP_INF_0)): Likewise.
30227 2017-08-15 Florian Weimer <fweimer@redhat.com>
30229 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30232 2017-08-15 Florian Weimer <fweimer@redhat.com>
30234 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30235 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30236 BROKEN_THREAD_SIGNALS code.
30237 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30238 request_list): Remove caller_pid member used for
30239 BROKEN_THREAD_SIGNALS.
30240 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30241 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30242 Remove BROKEN_THREAD_SIGNALS support.
30243 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30244 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30246 2017-08-15 Florian Weimer <fweimer@redhat.com>
30248 * gmon/Makefile (tests): Add tst-gmon.
30249 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30251 (tests-special): Add tst-gmon-prof.out.
30252 (tst-gmon.out): Depend on clean-tst-gmon-data.
30253 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30254 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30255 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30257 * aclocal.m4 (GPROF): Set and substitute.
30258 * config.amke.in (GPROF): Set.
30259 * configure: Regenerate.
30261 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30263 * elf/elf.h A (NT_PPC_TAR): New macro.
30264 (NT_PPC_PPR): Likewise.
30265 (NT_PPC_DSCR): Likewise.
30266 (NT_PPC_EBB): Likewise.
30267 (NT_PPC_PMU): Likewise.
30268 (NT_PPC_TM_CGPR): Likewise.
30269 (NT_PPC_TM_CFPR): Likewise.
30270 (NT_PPC_TM_CVMX): Likewise.
30271 (NT_PPC_TM_CVSX): Likewise.
30272 (NT_PPC_TM_SPR): Likewise.
30273 (NT_PPC_TM_CTAR): Likewise.
30274 (NT_PPC_TM_CPPR): Likewise.
30275 (NT_PPC_TM_CDSCR): Likewise.
30277 2017-08-15 Florian Weimer <fweimer@redhat.com>
30279 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30280 regparm (2) instead of internal_function.
30281 (_MCOUNT_DECL): Adjust.
30283 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30285 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30286 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30288 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30290 * conform/data/sys/wait.h-data (si_value): Do not expect for
30293 2017-08-14 Florian Weimer <fweimer@redhat.com>
30296 NSS: Create stubs for accidentally exported lookup functions.
30297 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30298 Remove declaration.
30299 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30300 (ether_hostton): Call __nss_ethers_lookup2 instead.
30301 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30302 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30303 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30304 (setup): Call __nss_netgroup_lookup2 instead.
30305 * nss/Makefile (routines): Add compat-lookup.
30306 * nss/Versions (GLIBC_2.27): Add symbol version.
30307 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30308 (DB_COMPAT_FCT): Remove.
30309 * nss/compat-lookup.c: New file.
30310 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30311 from databases.def.
30312 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30313 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30314 (netname2user): Call __nss_publickey_lookup2 instead.
30315 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30316 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30319 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30320 Sergei Trofimovich <slyfox@inbox.ru>
30323 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30324 Rename to MMAP2_PAGE_UNIT.
30325 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30326 __OFF_T_MATCHES_OFF64_T is not defined.
30327 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30329 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30330 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30332 2017-08-14 Florian Weimer <fweimer@redhat.com>
30334 i386: Do not set internal_function.
30335 * config.h.in (USE_REGPARMS, internal_function): Remove.
30336 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30337 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30339 2017-08-14 Florian Weimer <fweimer@redhat.com>
30341 * elf/dl-init.c (_dl_init): Remove internal_function.
30342 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30343 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30345 2017-08-14 Florian Weimer <fweimer@redhat.com>
30347 * elf/rtld.c (_dl_start): Remove internal_function.
30348 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30351 2017-08-14 Florian Weimer <fweimer@redhat.com>
30353 * elf/dl-fini.c (_dl_fini): Remove internal_function
30354 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30356 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30358 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30359 (bit_cpu_SHSTK): Likewise.
30360 (index_cpu_IBT): Likewise.
30361 (index_cpu_SHSTK): Likewise.
30362 (reg_IBT): Likewise.
30363 (reg_SHSTK): Likewise.
30364 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30365 Handle index_cpu_IBT and index_cpu_SHSTK.
30367 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30370 * po/fr.po: Fix spelling mistake.
30372 2017-08-13 Florian Weimer <fweimer@redhat.com>
30374 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30375 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30376 (_dl_catch_error, _dl_receive_error): Likewise.
30377 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30378 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30379 (_dl_deallocate_tls): Likewise.
30380 * include/dlfcn.h (_dl_addr): Likewise.
30381 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30382 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30383 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30386 2017-08-13 Florian Weimer <fweimer@redhat.com>
30388 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30389 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30391 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30393 2017-08-13 Florian Weimer <fweimer@redhat.com>
30395 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30397 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30398 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30399 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30400 internal_function from _dl_make_stack_executable_hook member.
30401 (_dl_make_stack_executable): Remove internal_function.
30402 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30404 * sysdeps/unix/sysv/linux/dl-execstack.c
30405 (_dl_make_stack_executable): Likewise.
30407 2017-08-13 Florian Weimer <fweimer@redhat.com>
30409 * sysdeps/unix/sysv/linux/netlinkaccess.h
30410 (__netlink_assert_response): Remove internal_function.
30411 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30412 (__netlink_assert_response): Likewise.
30414 2017-08-13 Florian Weimer <fweimer@redhat.com>
30416 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30418 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30420 2017-08-13 Florian Weimer <fweimer@redhat.com>
30422 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30424 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30425 * inet/netgroup.h (__internal_setnetgrent)
30426 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30427 * inet/getnetgrent_r.c (__internal_setnetgrent)
30428 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30429 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30430 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30431 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30432 * nss/nsswitch.h (db_lookup_function): Likewise.
30434 2017-08-13 Florian Weimer <fweimer@redhat.com>
30436 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30437 Remove internal_function.
30438 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30439 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30440 message argument on the stack.
30441 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30444 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30446 Adapt test case data to the changes in the thousands
30450 * localedata/tst-langinfo.sh: Adapt test case data.
30451 * stdlib/tst-strfmon_l.c: Likewise.
30452 * stdlib/tst-strtod4.c: Likewise.
30453 * stdlib/tst-strtod5i.c: Likewise.
30455 2017-08-11 Florian Weimer <fweimer@redhat.com>
30458 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30459 Suppress pedantic warning resulting from statement expression.
30460 (__ASSERT_FUNCTION): Add missing __extension__.
30462 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30464 * benchtests/bench-memmove-large.c: Print output in JSON
30466 * benchtests/bench-memmove.c: Likewise.
30468 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30469 * benchtests/bench-memchr.c (do_one_test): Likewise.
30470 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30471 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30472 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30473 * benchtests/bench-memmove.c (do_one_test): Likewise.
30474 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30475 * benchtests/bench-memset.c (do_one_test): Likewise.
30476 * benchtests/bench-string.h (test_init): Remove memsets.
30478 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30481 (Computing the Width of an Integer Data Type): Rename section to
30482 "Width of an Integer Type". Remove inaccurate statement regarding
30483 lack of C language facilities for determining width of integer
30484 types, and reorder content to improve flow and context of
30487 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30489 * lang.texi (va_copy): Change standard from ISO to C99.
30490 (__va_copy): Add standard and header annotation.
30491 Update description for clarity of origins and current use.
30493 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30496 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30497 xssqrtqp requires operands to be in Vector Registers
30498 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30499 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30500 (__ieee754_sqrtf128): Likewise.
30502 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30504 * sysdeps/aarch64/memcmp.S (memcmp):
30505 Rewrite of optimized memcmp.
30507 2017-08-10 Florian Weimer <fweimer@redhat.com>
30509 Introduce ld.so exceptions.
30510 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30511 (_dl_exception_create, _dl_exception_create_format)
30512 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30513 (_dl_catch_exception): Declare.
30514 (_dl_catch_error): Update comment.
30515 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30516 errstring, malloced members with exception member.
30517 (_dl_out_of_memory): Remove.
30518 (fatal_error): New function, extracted from _dl_signal_error.
30519 (_dl_signal_exception, _dl_signal_cexception): New functions.
30520 (_dl_signal_error): Call _dl_exception_create to allocate an
30522 (_dl_catch_exception): New function, based on _dl_catch_error.
30523 (_dl_catch_error): Implement using _dl_catch_exception.
30524 * elf/dl-exception.c: New file.
30525 * elf/Makefile (dl-routines): Add dl-exception.
30526 (elide-routines.os): Likewise.
30527 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30528 _dl_exception_create_format, _dl_exception_free.
30529 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30530 _dl_signal_exception.
30531 * elf/dl-lookup.c (make_string): Remove.
30532 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30533 _dl_signal_cexception, _dl_exception_free.
30534 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30535 _dl_signal_exception.
30536 * elf/dl-sym.c (do_sym): Likewise.
30537 * elf/dl-version.c (make_string): Remove.
30538 (match_symbol): Use _dl_exception_create_format,
30539 _dl_signal_cexception, _dl_exception_free.
30540 (_dl_check_map_versions): Likewise.
30541 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30542 _dl_catch_exception.
30543 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30544 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30545 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30546 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30547 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30548 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30549 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30550 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30552 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30559 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30560 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30561 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30563 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30565 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30567 2017-08-10 Florian Weimer <fweimer@redhat.com>
30569 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30570 attribute_hidden, internal_function.
30571 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30574 2017-08-10 Florian Weimer <fweimer@redhat.com>
30576 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30577 function which calls __builtin_unreachable.
30579 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30581 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30582 Indian monetary formatting
30583 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30586 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30588 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30589 Fix typo in comment.
30592 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30593 PTRACE_SEIZE_DEVEL): Remove.
30594 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30595 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30596 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30597 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30598 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30600 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30602 * posix/bits/types.h (__qaddr_t): Remove.
30605 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30606 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30608 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30609 (ucontext_t): Use __ctx with uc_flags.
30610 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30611 (__ctxt): Likewise.
30612 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30614 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30615 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30617 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30618 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30620 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30622 (ucontext_t): Use __ctx with uc_flags.
30623 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30624 (ucontext_t): Use __ctx with uc_flags.
30625 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30626 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30627 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30628 (ucontext_t): Use __ctx with uc_flags.
30629 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30630 undefine further down.
30631 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30633 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30634 undefine further down.
30635 (ucontext_t): Use __ctx with uc_flags.
30636 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30637 undefine further down.
30638 (ucontext_t): Use __ctx with uc_flags.
30639 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30640 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30641 Rename uc_pad to __glibc_reserved1.
30642 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30643 undefine further down.
30644 (ucontext_t): Use __ctx with uc_flags.
30645 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30647 (ucontext_t): Use __ctx with uc_flags.
30648 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30649 __ctx with uc_flags.
30650 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30651 (ucontext_t): Use __ctx with uc_flags.
30652 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30653 __ctx with uc_flags.
30655 2017-08-09 Florian Weimer <fweimer@redhat.com>
30658 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30659 before early return.
30661 2017-08-09 Andreas Schwab <schwab@suse.de>
30664 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30668 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30669 tst-compat-forwarder.
30670 (modules-names): Add tst-compat-forwarder-mod.
30671 ($(objpfx)tst-compat-forwarder): Depend on
30672 $(objpfx)tst-compat-forwarder-mod.so.
30673 * nptl/tst-compat-forwarder.c: New file.
30674 * nptl/tst-compat-forwarder-mod.c: New file.
30676 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30678 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30681 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30682 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30684 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30686 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30687 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30688 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30689 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30691 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30694 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30697 * manual/setjmp.texi (getcontex): Document uc_stack value
30698 compatibility differences.
30700 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30702 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30703 (old_malloc_hook): Likewise.
30704 (old_memalign_hook): Likewise.
30705 (old_realloc_hook): Likewise.
30706 (struct hdr): Likewise.
30708 (freehook): Likewise.
30709 (mallochook): Likewise.
30710 (memalignhook): Likewise.
30711 (reallochook): Likewise.
30712 (mprobe): Likewise.
30713 * malloc/mtrace.c (mallwatch): Likewise.
30714 (tr_old_free_hook): Likewise.
30715 (tr_old_malloc_hook): Likewise.
30716 (tr_old_realloc_hook): Likewise.
30717 (tr_old_memalign_hook): Likewise.
30718 (tr_where): Likewise.
30719 (lock_and_info): Likewise.
30720 (tr_freehook): Likewise.
30721 (tr_mallochook): Likewise.
30722 (tr_reallochook): Likewise.
30723 (tr_memalignhook): Likewise.
30724 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30725 * misc/mmap.c (__mmap): Likewise.
30726 * misc/mmap64.c (__mmap64): Likewise.
30727 * misc/mprotect.c (__mprotect): Likewise.
30728 * misc/msync.c (msync): Likewise.
30729 * misc/munmap.c (__munmap): Likewise.
30730 * posix/posix_madvise.c (posix_madvise): Likewise.
30731 * socket/send.c (__send): Likewise.
30732 * socket/sendto.c (__sendto): Likewise.
30733 * socket/setsockopt.c (__setsockopt): Likewise.
30734 * string/memcmp.c (__ptr_t): Remove macro.
30735 (MEMCMP): Use void * instead of ptr_t.
30736 * string/memrchr.c (__ptr_t): Remove macro.
30737 (__memrchr): Use void * instead of ptr_t.
30738 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30739 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30740 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30741 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30742 * sysdeps/mach/msync.c (msync): Likewise.
30743 * sysdeps/mach/munmap.c (__munmap): Likewise.
30744 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30746 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30747 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30748 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30749 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30750 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30751 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30752 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30753 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30755 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30756 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30757 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30758 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30759 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30760 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30761 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30762 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30763 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30765 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30766 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30767 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30768 (MEMCMP): Use void * instead of ptr_t.
30769 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30770 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30772 2017-08-08 Florian Weimer <fweimer@redhat.com>
30774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30777 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30780 * csu/libc-tls.c: Include <startup.h> first.
30781 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30782 * elf/dl-tunables.c: Include <startup.h> first.
30783 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30784 * sysdeps/generic/startup.h: New file.
30785 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30786 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30787 (I386_USE_SYSENTER): New. Defined to 0.
30789 2017-08-08 Andreas Schwab <schwab@suse.de>
30792 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30793 * nptl/pt-system.c (system): Likewise.
30795 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30798 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30800 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30801 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30802 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30803 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30804 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30805 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30806 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30808 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30811 * bits/sigaction.h (struct sigaction): Define sa_handler and
30812 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30813 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30814 [__USE_XOPEN_EXTENDED].
30815 (SA_RESTART): Likewise.
30816 (SA_NODEFER): Likewise.
30817 (SA_RESETHAND): Likewise.
30818 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30819 (struct sigaction): Define sa_handler and sa_sigaction using union
30820 also for [__USE_XOPEN_EXTENDED].
30821 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30822 [__USE_XOPEN_EXTENDED].
30823 (SA_RESTART): Likewise.
30824 (SA_NODEFER): Likewise.
30825 (SA_RESETHAND): Likewise.
30826 * sysdeps/unix/sysv/linux/bits/sigaction.h
30827 (struct sigaction): Define sa_handler and sa_sigaction using union
30828 also for [__USE_XOPEN_EXTENDED].
30829 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30830 [__USE_XOPEN_EXTENDED].
30831 (SA_RESTART): Likewise.
30832 (SA_NODEFER): Likewise.
30833 (SA_RESETHAND): Likewise.
30834 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30835 (struct sigaction): Define sa_handler and sa_sigaction using union
30836 also for [__USE_XOPEN_EXTENDED].
30837 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30838 [__USE_XOPEN_EXTENDED].
30839 (SA_RESTART): Likewise.
30840 (SA_NODEFER): Likewise.
30841 (SA_RESETHAND): Likewise.
30842 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30843 (struct sigaction): Define sa_handler and sa_sigaction using union
30844 also for [__USE_XOPEN_EXTENDED].
30845 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30846 [__USE_XOPEN_EXTENDED].
30847 (SA_RESTART): Likewise.
30848 (SA_NODEFER): Likewise.
30849 (SA_RESETHAND): Likewise.
30850 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30851 (struct sigaction): Define sa_handler and sa_sigaction using union
30852 also for [__USE_XOPEN_EXTENDED].
30853 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30854 [__USE_XOPEN_EXTENDED].
30855 (SA_RESTART): Likewise.
30856 (SA_NODEFER): Likewise.
30857 (SA_RESETHAND): Likewise.
30858 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30859 (struct sigaction): Define sa_handler and sa_sigaction using union
30860 also for [__USE_XOPEN_EXTENDED].
30861 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30862 [__USE_XOPEN_EXTENDED].
30863 (SA_RESTART): Likewise.
30864 (SA_NODEFER): Likewise.
30865 (SA_RESETHAND): Likewise.
30866 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30867 (struct sigaction): Define sa_handler and sa_sigaction using union
30868 also for [__USE_XOPEN_EXTENDED].
30869 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30870 [__USE_XOPEN_EXTENDED].
30871 (SA_RESTART): Likewise.
30872 (SA_NODEFER): Likewise. Define directly rather than as alias.
30873 (SA_RESETHAND): Likewise.
30874 (SA_INTERRUPT): Define only for [__USE_MISC].
30875 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30876 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30878 (SA_STACK): Define only for [__USE_MISC].
30879 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30880 (struct sigaction): Define sa_handler and sa_sigaction using union
30881 also for [__USE_XOPEN_EXTENDED].
30882 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30883 [__USE_XOPEN_EXTENDED].
30884 (SA_RESTART): Likewise.
30885 (SA_NODEFER): Likewise.
30886 (SA_RESETHAND): Likewise.
30887 (SA_NOPTRACE): Define only for [__USE_MISC].
30889 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30890 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30891 (struct catalog_info): Likewise.
30892 * inet/htontest.c (lo): Likewise.
30894 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30895 * inet/inet_net.c (inet_network): Likewise.
30896 * inet/inet_netof.c (inet_netof): Likewise.
30897 * inet/rcmd.c (__ivaliduser): Likewise.
30898 (iruserok): Likewise.
30899 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30900 * locale/programs/locale-spec.c (locale_special): Likewise.
30901 * nis/nis_findserv.c (struct findserv_req): Likewise.
30902 (__nis_findfastest_with_timeout): Likewise.
30903 * nss/test-netdb.c (test_network): Likewise.
30904 * resolv/inet_neta.c (inet_neta): Likewise.
30905 * resolv/ns_date.c (ns_datetosecs): Likewise.
30906 (SECS_PER_DAY): Likewise.
30907 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30909 * resolv/res_comp.c (__putlong): Likewise.
30910 (__putshort): Likewise.
30911 (_getlong): Likewise.
30912 (_getshort): Likewise.
30913 * resolv/res_debug.c (p_time): Likewise.
30914 (precsize_ntoa): Likewise.
30915 (precsize_aton): Likewise.
30916 (latlon2ul): Likewise.
30917 (loc_aton): Likewise.
30918 (loc_ntoa): Likewise.
30919 * resolv/res_hconf.c (struct netaddr): Likewise.
30920 (_res_hconf_reorder_addrs): Likewise.
30921 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30922 (clnttcp_control): Likewise.
30923 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30924 (clntudp_control): Likewise.
30925 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30926 (clntunix_control): Likewise.
30927 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30928 * sunrpc/rpc/auth.h (union des_block): Likewise.
30929 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30930 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30931 (xdrrec_create): Likewise.
30932 (xdrrec_endofrecord): Likewise.
30933 (flush_out): Likewise.
30934 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30935 (xdrstdio_putlong): Likewise.
30936 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30939 * misc/sys/cdefs.h (__long_double_t): Remove.
30940 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30941 instead of __long_double_t,
30942 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30944 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30946 * benchtests/scripts/compare_strings.py: Avoid display error when
30947 running on a text terminal.
30949 * benchtests/scripts/compare_strings.py (main): Add an
30950 optional -base option.
30951 (process_results): New argument base_func.
30953 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30955 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30956 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30958 2017-08-07 Andreas Schwab <schwab@suse.de>
30960 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30961 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30962 * intl/Makefile ($(objpfx)tst-gettext.out)
30963 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
30964 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
30965 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30966 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30967 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
30968 * posix/Makefile ($(objpfx)globtest.out)
30969 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
30970 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
30971 ($(objpfx)tst-printf.out): Likewise.
30972 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
30973 ($(objpfx)tst-setcontext3.out): Likewise.
30975 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
30977 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30978 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
30979 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
30980 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
30981 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
30983 (CFLAGS-doasin-fma.c): New.
30984 (CFLAGS-dosincos-fma.c): Likewise.
30985 (CFLAGS-e_asin-fma.c): Likewise.
30986 (CFLAGS-e_atan2-fma.c): Likewise.
30987 (CFLAGS-e_exp-fma.c): Likewise.
30988 (CFLAGS-e_log-fma.c): Likewise.
30989 (CFLAGS-e_pow-fma.c): Likewise.
30990 (CFLAGS-halfulp-fma.c): Likewise.
30991 (CFLAGS-mpa-fma.c): Likewise.
30992 (CFLAGS-mpatan-fma.c): Likewise.
30993 (CFLAGS-mpatan2-fma.c): Likewise.
30994 (CFLAGS-mpexp-fma.c): Likewise.
30995 (CFLAGS-mplog-fma.c): Likewise.
30996 (CFLAGS-mpsqrt-fma.c): Likewise.
30997 (CFLAGS-mptan-fma.c): Likewise.
30998 (CFLAGS-s_atan-fma.c): Likewise.
30999 (CFLAGS-sincos32-fma.c): Likewise.
31000 (CFLAGS-slowexp-fma.c): Likewise.
31001 (CFLAGS-slowpow-fma.c): Likewise.
31002 (CFLAGS-s_sin-fma.c): Likewise.
31003 (CFLAGS-s_tan-fma.c): Likewise.
31004 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31005 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31006 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31007 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31008 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31009 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31010 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31011 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31012 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31013 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31014 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31015 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31016 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31017 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31018 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31019 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31020 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31021 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31022 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31023 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31024 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31025 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31026 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31027 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31028 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31029 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31030 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31031 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31032 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31034 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31036 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31038 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31039 (min_of_type_f): New macro.
31040 (min_of_type_): Likewise.
31041 (min_of_type_l): Likewise.
31042 (min_of_type_f128): Likewise.
31043 (min_of_type): Define using __MATH_TG and taking an expression
31045 (math_check_force_underflow): Pass expression instead of type to
31047 (math_check_force_underflow_nonneg): Likewise.
31049 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31051 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31052 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31053 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31055 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31058 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31059 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31060 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31061 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31062 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31063 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31064 memmove_chk-nonshared and memset_chk-nonshared
31065 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31066 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31067 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31068 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31069 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31070 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31071 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31072 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31073 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31074 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31075 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31076 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31077 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31078 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31079 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31080 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31081 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31082 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31083 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31084 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31085 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31086 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31087 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31088 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31089 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31090 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31091 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31092 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31093 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31094 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31095 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31096 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31097 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31098 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31099 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31100 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31101 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31102 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31103 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31104 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31105 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31106 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31107 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31108 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31109 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31110 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31111 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31112 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31113 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31114 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31115 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31116 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31117 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31118 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31119 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31120 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31121 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31122 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31123 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31124 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31125 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31126 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31127 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31128 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31129 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31130 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31131 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31132 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31133 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31134 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31135 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31136 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31137 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31138 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31139 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31140 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31141 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31142 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31143 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31144 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31145 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31146 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31147 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31148 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31149 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31150 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31151 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31152 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31153 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31154 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31155 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31156 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31157 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31158 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31159 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31160 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31161 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31162 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31163 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31164 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31165 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31166 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31167 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31168 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31169 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31170 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31171 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31172 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31174 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31176 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31177 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31178 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31179 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31180 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31181 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31182 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31183 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31184 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31185 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31186 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31187 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31188 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31189 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31190 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31191 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31192 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31193 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31194 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31195 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31196 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31197 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31198 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31199 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31200 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31201 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31202 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31203 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31204 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31205 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31206 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31207 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31208 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31209 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31210 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31211 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31212 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31213 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31214 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31215 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31216 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31217 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31218 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31219 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31220 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31221 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31222 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31223 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31224 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31225 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31226 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31227 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31228 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31229 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31230 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31231 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31232 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31233 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31234 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31236 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31237 Don't include <sysdep.h> nor <init-arch.h>.
31238 (_ZGVbN2v_cos): Removed.
31239 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31241 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31242 Don't include <sysdep.h> nor <init-arch.h>.
31243 (_ZGVdN4v_cos): Removed.
31244 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31246 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31247 Don't include <sysdep.h> nor <init-arch.h>.
31248 (_ZGVeN8v_cos): Removed.
31249 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31251 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31252 Don't include <sysdep.h> nor <init-arch.h>.
31253 (_ZGVbN2v_exp): Removed.
31254 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31256 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31257 Don't include <sysdep.h> nor <init-arch.h>.
31258 (_ZGVdN4v_exp): Removed.
31259 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31261 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31262 Don't include <sysdep.h> nor <init-arch.h>.
31263 (_ZGVeN8v_exp): Removed.
31264 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31266 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31267 Don't include <sysdep.h> nor <init-arch.h>.
31268 (_ZGVbN2v_log): Removed.
31269 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31271 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31272 Don't include <sysdep.h> nor <init-arch.h>.
31273 (_ZGVdN4v_log): Removed.
31274 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31276 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31277 Don't include <sysdep.h> nor <init-arch.h>.
31278 (_ZGVeN8v_log): Removed.
31279 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31281 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31282 Don't include <sysdep.h> nor <init-arch.h>.
31283 (_ZGVbN2vv_pow): Removed.
31284 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31286 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31287 Don't include <sysdep.h> nor <init-arch.h>.
31288 (_ZGVdN4vv_pow): Removed.
31289 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31291 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31292 Don't include <sysdep.h> nor <init-arch.h>.
31293 (_ZGVeN8vv_pow): Removed.
31294 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31296 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31297 Don't include <sysdep.h> nor <init-arch.h>.
31298 (_ZGVbN2v_sin): Removed.
31299 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31301 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31302 Don't include <sysdep.h> nor <init-arch.h>.
31303 (_ZGVbN4v_sin): Removed.
31304 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31306 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31307 Don't include <sysdep.h> nor <init-arch.h>.
31308 (_ZGVbN8v_sin): Removed.
31309 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31311 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31312 Don't include <sysdep.h> nor <init-arch.h>.
31313 (_ZGVbN2vvv_sincos): Removed.
31314 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31316 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31317 Don't include <sysdep.h> nor <init-arch.h>.
31318 (_ZGVdN4vvv_sincos): Removed.
31319 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31321 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31322 Don't include <sysdep.h> nor <init-arch.h>.
31323 (_ZGVeN8vvv_sincos): Removed.
31324 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31326 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31327 Don't include <sysdep.h> nor <init-arch.h>.
31328 (_ZGVeN16v_cosf): Removed.
31329 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31331 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31332 Don't include <sysdep.h> nor <init-arch.h>.
31333 (_ZGVbN4v_cosf): Removed.
31334 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31336 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31337 Don't include <sysdep.h> nor <init-arch.h>.
31338 (_ZGVdN8v_cosf): Removed.
31339 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31341 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31342 Don't include <sysdep.h> nor <init-arch.h>.
31343 (_ZGVeN16v_expf): Removed.
31344 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31346 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31347 Don't include <sysdep.h> nor <init-arch.h>.
31348 (_ZGVbN4v_expf): Removed.
31349 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31351 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31352 Don't include <sysdep.h> nor <init-arch.h>.
31353 (_ZGVdN8v_expf): Removed.
31354 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31356 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31357 Don't include <sysdep.h> nor <init-arch.h>.
31358 (_ZGVeN16v_logf): Removed.
31359 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31361 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31362 Don't include <sysdep.h> nor <init-arch.h>.
31363 (_ZGVbN4v_logf): Removed.
31364 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31366 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31367 Don't include <sysdep.h> nor <init-arch.h>.
31368 (_ZGVdN8v_logf): Removed.
31369 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31371 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31372 Don't include <sysdep.h> nor <init-arch.h>.
31373 (_ZGVeN16vv_powf): Removed.
31374 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31376 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31377 Don't include <sysdep.h> nor <init-arch.h>.
31378 (_ZGVbN4vv_powf): Removed.
31379 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31381 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31382 Don't include <sysdep.h> nor <init-arch.h>.
31383 (_ZGVdN8vv_powf): Removed.
31384 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31386 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31387 Don't include <sysdep.h> nor <init-arch.h>.
31388 (_ZGVeN16vvv_sincosf): Removed.
31389 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31391 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31392 Don't include <sysdep.h> nor <init-arch.h>.
31393 (_ZGVbN4vvv_sincosf): Removed.
31394 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31396 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31397 Don't include <sysdep.h> nor <init-arch.h>.
31398 (_ZGVdN8vvv_sincosf): Removed.
31399 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31401 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31402 Don't include <sysdep.h> nor <init-arch.h>.
31403 (_ZGVeN16v_sinf): Removed.
31404 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31406 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31407 Don't include <sysdep.h> nor <init-arch.h>.
31408 (_ZGVbN4v_sinf): Removed.
31409 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31411 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31412 Don't include <sysdep.h> nor <init-arch.h>.
31413 (_ZGVdN8v_sinf): Removed.
31415 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31417 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31418 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31419 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31420 s_rint-sse4_1 and s_rintf-sse4_1.
31421 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31422 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31423 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31424 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31425 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31426 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31427 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31428 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31429 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31430 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31431 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31432 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31434 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31435 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31436 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31437 (__ceilf): Removed.
31438 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31439 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31440 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31441 (__floor): Removed.
31442 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31443 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31444 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31445 (__floorf): Removed.
31446 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31447 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31448 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31449 (__nearbyint): Removed.
31450 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31451 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31452 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31453 (__nearbyintf): Removed.
31454 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31455 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31456 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31458 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31459 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31460 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31461 (__rintf): Removed.
31463 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31465 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31466 SHARED. Avoid dynamic relocation against main in static PIE.
31468 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31471 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31472 (LDFLAGS-tst-prelink): Likewise.
31474 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31476 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31477 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31478 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31479 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31480 (INTERNAL_SYSCALL_NCS): Likewise.
31481 (LOADARGS_1): Likewise.
31482 (LOADARGS_5): Likewise.
31483 (RESTOREARGS_1): Likewise.
31484 (RESTOREARGS_5): Likewise.
31486 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31488 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31489 (MEMPCPY_SYMBOL): Likewise.
31490 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31491 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31492 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31494 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31495 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31497 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31498 (__hidden_ver1): Don't use in libc.a.
31499 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31500 (__mempcpy): Don't create a weak alias in libc.a.
31501 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31503 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31504 (__hidden_ver1): Don't use in libc.a.
31506 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31508 * config.make.in (have-insert): New.
31509 * configure.ac (libc_cv_insert): New. Set to yes if linker
31510 supports INSERT in linker script.
31511 (AC_SUBST(libc_cv_insert): New.
31512 * configure: Regenerated.
31513 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31514 if $(have-insert) == yes.
31516 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31518 * elf/Makefile (tests): Add vismain only if
31519 $(have-protected-data) == yes.
31520 (tests-pie): Likewise.
31522 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31525 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31526 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31528 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31531 * sysdeps/i386/i586/memset.S
31532 (__memset_zero_constant_len_parameter): Removed.
31533 * sysdeps/i386/i686/memset.S
31534 (__memset_zero_constant_len_parameter): Likewise.
31535 * sysdeps/i386/i686/multiarch/memset_chk.S
31536 (__memset_zero_constant_len_parameter): Likewise.
31537 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31540 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31542 * stdlib/getentropy.c (getentropy): Change return type to int.
31544 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31546 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31548 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31550 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31552 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31553 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31555 (ieee_float_shape_type): Likewise.
31556 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31557 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31558 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31559 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31560 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31561 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31562 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31563 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31564 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31566 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31567 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31568 (__ieee754_yn): Likewise.
31569 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31570 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31571 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31573 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31574 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31575 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31576 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31577 (__erfc): Likewise.
31578 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31579 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31580 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31581 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31582 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31583 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31585 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31586 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31587 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31588 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31589 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31590 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31591 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31592 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31593 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31594 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31595 (__issignaling): Likewise.
31596 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31597 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31598 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31600 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31601 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31602 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31603 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31605 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31607 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31608 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31609 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31610 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31611 (__erfcf): Likewise.
31612 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31613 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31614 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31615 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31617 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31618 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31620 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31621 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31622 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31623 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31624 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31625 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31626 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31627 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31629 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31631 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31633 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31634 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31636 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31638 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31639 (__ieee754_ynl): Likewise.
31640 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31641 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31643 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31645 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31646 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31647 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31649 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31650 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31651 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31652 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31653 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31654 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31655 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31656 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31658 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31659 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31660 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31662 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31663 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31664 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31665 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31666 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31667 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31669 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31671 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31673 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31675 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31676 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31677 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31678 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31679 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31680 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31681 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31683 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31685 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31686 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31688 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31689 (__ieee754_remainderl): Likewise.
31690 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31691 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31692 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31693 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31695 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31696 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31698 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31699 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31700 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31701 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31702 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31703 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31705 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31706 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31707 (__ieee754_y0l): Likewise.
31710 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31711 (__ieee754_y1l): Likewise.
31714 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31715 (__ieee754_ynl): Likewise.
31716 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31717 (__ieee754_lgammal_r): Likewise.
31718 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31720 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31721 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31722 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31723 (__erfcl): Likewise.
31724 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31725 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31727 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31728 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31729 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31730 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31731 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31732 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31733 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31735 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31736 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31737 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31738 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31739 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31741 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31742 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31744 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31745 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31746 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31747 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31748 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31750 2017-08-03 Florian Weimer <fweimer@redhat.com>
31753 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31754 on memory allocation failure.
31756 2017-08-03 Alan Modra <amodra@gmail.com>
31758 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31759 tst-tlsopt-powerpc.c with function name change and no test harness.
31760 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31761 Call tls_get_addr_opt_test.
31762 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31763 (modules-names): Add mod-tlsopt-powerpc.
31764 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31765 (tst-tlsopt-powerpc): Depend on .so.
31766 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31767 define. Expand use in TLS_GD and TLS_LD.
31769 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31771 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31773 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31775 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31778 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31779 comparing size with that of double.
31780 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31781 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31782 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31783 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31784 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31785 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31786 unsigned __int128 types.
31788 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31790 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31791 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31792 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31793 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31794 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31796 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31798 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31800 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31802 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31804 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31805 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31806 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31807 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31808 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31809 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31810 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31812 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31815 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31816 bit-field expressions passed to sizeof or typeof.
31817 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31818 (__TGMATH_F128): Likewise.
31819 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31820 (__TGMATH_CF128): Likewise.
31821 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31822 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31823 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31824 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31825 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31826 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31827 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31828 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31829 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31830 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31831 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31832 (__TGMATH_UNARY_IMAG): Likewise.
31833 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31834 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31835 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31837 (define_vars_for_type): Handle bit_field type specially.
31838 (Tests.__init__): Declare structure with bit-field element.
31840 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31843 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31844 (MEMCPY_CHK): Define only if SHARED is defined.
31845 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31847 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31850 See ChangeLog.18 for earlier changes.