1 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3 * Makefile (testrun.sh): Exit in case of incorrect argument.
5 2019-02-04 Florian Weimer <fweimer@redhat.com>
7 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
10 2019-02-03 Florian Weimer <fweimer@redhat.com>
12 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
13 implicit overflow checks.
15 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
17 * stdlib/isomac.c: Include <unistd.h>.
19 2019-02-03 Florian Weimer <fweimer@redhat.com>
21 * include/time.h (__tzfile_default): Use int, not long int, for
23 * time/tzfile.c (struct ttinfo): Change type of the offset member
25 (__tzfile_read): Remove useless cast.
26 (__tzfile_default): Adjust prototype.
27 * time/tzset.c (tz_rule): Change type of the offset member to int.
28 (parse_offset): Change the type of the sign variable to int.
30 2019-02-03 Florian Weimer <fweimer@redhat.com>
33 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
34 * libio/getchar.c (getchar): Likewise.
35 * libio/getchar_u.c (getchar_unlocked): Likewise.
36 * libio/getwchar.c (getwchar): Likewise.
37 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
38 * libio/iogets.c (_IO_gets): Likewise.
39 * libio/vscanf.c (_IO_vscanf): Likewise.
40 * libio/vwscanf.c (__vwscanf): Likewise.
41 * libio/tst-bz24153.c: New file.
42 * libio/Makefile (tests): Add it.
44 2019-02-02 Florian Weimer <fweimer@redhat.com>
47 * manual/resource.texi (Basic Scheduling Functions): Add
48 portability note. Change process to task throughout the section.
49 Remove incorrect comment about sched_yield as it affects
50 tasks/threads, not entire processes.
51 * sysdeps/unix/sysv/linux/bits/posix_opt.h
52 (_POSIX_PRIORITY_SCHEDULING): Update comment.
54 2019-02-01 Joseph Myers <joseph@codesourcery.com>
56 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
57 * configure: Regenerated.
58 * manual/install.texi (Tools for Compilation): Update minimum GCC
60 * INSTALL: Regenerated.
62 2019-02-01 Florian Weimer <fweimer@redhat.com>
64 * support/support_test_compare_string.c
65 (support_test_compare_string): Use "string" in error message.
66 * support/tst-test_compare_string.c (do_test): Adjust.
68 2019-02-01 Florian Weimer <fweimer@redhat.com>
70 * support/support_format_address_family.c
71 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
73 2019-02-01 Florian Weimer <fweimer@redhat.com>
75 * manual/socket.texi (Internet Address Formats): Clarify the byte
76 order of struct sockaddr_in, struct sockaddr_in6. Document
77 sin6_flowinfo and sin6_scope_id.
79 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
81 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
82 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
83 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
84 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
85 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
86 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
88 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
90 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
91 [!MEMCHR](MEMCHR): Set to __memchr.
92 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
93 Add memchr_generic and memchr_nosimd.
94 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
95 (__libc_ifunc_impl_list): Add memchr ifuncs.
96 * sysdeps/aarch64/multiarch/memchr.c: New file.
97 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
98 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
100 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
102 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
104 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
105 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
106 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
107 Add IS_EMAG check for ifunc dispatch.
108 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
109 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
111 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
113 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
114 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
116 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
119 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
121 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
123 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
125 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
126 syscall-template file.
128 2019-01-31 Carlos O'Donell <carlos@redhat.com>
129 Torvald Riegel <triegel@redhat.com>
130 Rik Prohaska <prohaska7@gmail.com>
133 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
134 tst-rwlock-trywrlock-stall.
135 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
136 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
137 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
138 Set __wrphase_fute to 1 only if we started the write phase.
139 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
140 * nptl/tst-rwlock-trywrlock-stall.c: New file.
141 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
142 * support/xpthread_rwlock_destroy.c: New file.
143 * support/xthread.h: Declare xpthread_rwlock_destroy.
145 2019-02-01 Joseph Myers <joseph@codesourcery.com>
147 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
150 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
153 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
154 * libio/fileops.c (_IO_new_file_underflow): Likewise
155 * libio/wfileops.c (_IO_wfile_underflow): Likewise
156 * libio/putchar.c (putchar): Likewise.
157 * libio/putchar_u.c (putchar_unlocked): Likewise.
158 * libio/putwchar.c (putchar): Likewise.
159 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
160 * libio/tst-bz24051.c: New test.
161 * libio/Makefile (tests): Add tst-bz24051
163 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
165 regex: fix read overrun [BZ #24114]
166 Problem found by AddressSanitizer, reported by Hongxu Chen in:
167 https://debbugs.gnu.org/34140
168 * posix/regexec.c (proceed_next_node):
169 Do not read past end of input buffer.
171 2019-01-31 Florian Weimer <fweimer@redhat.com>
174 * nss/nss_files/files-alias.c (get_next_alias): Handle
175 continuation line without newline at the end.
176 * nss/tst-nss-files-alias-truncated.c: New file.
177 * nss/Makefile [$(build-shared)] (tests): Add
178 tst-nss-files-alias-truncated.
179 (tst-nss-files-alias-truncated): Link with libnss_files.so.
180 * support/namespace.h (struct support_chroot_configuration): Add
182 (struct support_chroot): Add path_aliases member.
183 * support/support_chroot.c (support_chroot_create): Handle
185 (support_chroot_free): Free path_aliases.
187 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
189 * version.h (RELEASE): Set to "development".
190 (VERSION): Set to "2.29.9000".
191 * NEWS: Add section for 2.30.
193 * version.h (RELEASE): Set to "stable".
194 (VERSION): Set to "2.29".
195 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
197 * NEWS: Add the list of bugs fixed in 2.29.
198 * manual/contrib.texi: Update contributors list with some more
200 * manual/install.texi: Update latest versions of packages
202 * INSTALL: Regenerated.
204 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
206 * po/be.po: Update translations.
207 * po/bg.po: Likewise.
208 * po/ca.po: Likewise.
209 * po/cs.po: Likewise.
210 * po/da.po: Likewise.
211 * po/de.po: Likewise.
212 * po/el.po: Likewise.
213 * po/eo.po: Likewise.
214 * po/es.po: Likewise.
215 * po/fi.po: Likewise.
216 * po/fr.po: Likewise.
217 * po/gl.po: Likewise.
218 * po/hr.po: Likewise.
219 * po/hu.po: Likewise.
220 * po/ia.po: Likewise.
221 * po/id.po: Likewise.
222 * po/it.po: Likewise.
223 * po/ja.po: Likewise.
224 * po/ko.po: Likewise.
225 * po/lt.po: Likewise.
226 * po/nb.po: Likewise.
227 * po/nl.po: Likewise.
228 * po/pl.po: Likewise.
229 * po/pt_BR.po: Likewise.
230 * po/ru.po: Likewise.
231 * po/rw.po: Likewise.
232 * po/sk.po: Likewise.
233 * po/sl.po: Likewise.
234 * po/sv.po: Likewise.
235 * po/tr.po: Likewise.
236 * po/uk.po: Likewise.
237 * po/vi.po: Likewise.
238 * po/zh_CN.po: Likewise.
239 * po/zh_TW.po: Likewise.
241 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
244 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
245 of $f3 register on $y_is_neg path.
247 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
250 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
251 sigaltstack.ss_flags.
253 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
256 * manual/time.texi (strftime): Document "%Ey".
257 * time/strftime_l.c (__strftime_internal): Set the default width
258 padding with zero of "%Ey" to 2.
261 * manual/time.texi (strftime): Document "%EC" and "%EY".
262 * time/Makefile (tests): Add tst-strftime2.
263 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
264 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
265 override padding for "%Ey".
266 If an optional flag ('_' or '-') is specified to "%EY", interpret the
267 "%Ey" in the subformat as if decorated with that flag.
268 * time/tst-strftime2.c: New file.
270 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
272 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
276 * elf/Makefile (tests): Add tst-audit13.
277 (modules-names): Add tst-audit13mod1.
278 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
280 * elf/rtld.c (dl_main): Handle invalid audit module version.
281 * elf/tst-audit13.c: New file.
282 * elf/tst-audit13mod1.c: Likewise.
284 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
286 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
287 returned by __hurd_at_flags.
288 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
289 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
290 directly instead of __hurd_file_name_lookup.
292 2019-01-21 Joseph Myers <joseph@codesourcery.com>
294 * scripts/build-many-glibcs.py (Context.checkout): Default
295 binutils version to 2.32 branch.
297 2019-01-21 Florian Weimer <fweimer@redhat.com>
301 resolv: Reject trailing characters in host names
302 * include/arpa/inet.h (__inet_aton_exact): Declare.
303 (inet_aton): Remove hidden prototype. No longer used internally.
304 * nscd/gai.c (__inet_aton): Do not define.
305 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
306 * nss/digits_dots.c (__inet_aton): Likewise.
307 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
308 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
309 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
310 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
311 (tst-resolv-trailing): Likewise.
312 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
314 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
315 Make static. Add endp parameter.
316 (__inet_aton_exact): New function.
317 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
318 (__inet_addr): Call inet_aton_end.
319 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
320 not just IPv6. Call __inet_aton_exact.
321 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
322 (tests): Make const. Add additional test cases with trailing
324 (do_test): Use array_length.
325 * resolv/tst-inet_aton_exact.c: New file.
326 * resolv/tst-resolv-trailing.c: Likewise.
327 * resolv/tst-resolv-nondecimal.c: Likewise.
328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
330 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
334 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
335 Clear the upper 32 bits of RSI register.
336 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
337 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
338 and tst-size_t-wcsnlen.
339 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
340 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
342 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
346 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
347 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
348 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
349 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
350 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
352 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
356 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
357 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
358 * sysdeps/x86_64/strcmp.S: Likewise.
359 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
360 tst-size_t-strncmp and tst-size_t-wcsncmp.
361 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
362 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
363 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
365 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
369 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
370 RDX_LP for length. Clear the upper 32 bits of RDX register.
371 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
372 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
373 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
374 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
376 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
380 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
381 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
382 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
383 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
385 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
389 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
390 length. Clear the upper 32 bits of RDX register.
391 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
392 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
394 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
396 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
398 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
400 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
404 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
405 length. Clear the upper 32 bits of RDX register.
406 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
407 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
408 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
410 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
411 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
413 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
417 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
418 upper 32 bits of RDX register.
419 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
420 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
422 * sysdeps/x86_64/x32/test-size_t.h: New file.
423 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
424 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
426 2019-01-18 Florian Weimer <fweimer@redhat.com>
429 resolv: Do not send queries for non-host-names in nss_dns.
430 * resolv/nss_dns/dns-host.c (check_name): New function.
431 (_nss_dns_gethostbyname2_r): Use it.
432 (_nss_dns_gethostbyname_r): Likewise.
433 (_nss_dns_gethostbyname4_r): Likewise.
435 2019-01-21 Florian Weimer <fweimer@redhat.com>
437 * resolv/inet_addr.c: Reformat to GNU style.
438 (__inet_addr, __inet_aton): Update comment.
440 2019-01-18 Florian Weimer <fweimer@redhat.com>
442 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
443 ("malloc: Use current (C11-style) atomics for fastbin access").
444 This commit introduces a substantial performance regression on
446 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
448 (_int_malloc): Use it and reindent.
449 (_int_free): Use CAS loop with
450 catomic_compare_and_exchange_val_rel.
451 (malloc_consolidate): Use atomic_exchange_acq.
454 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
456 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
458 (LDFLAGS-tst-minsigstksz-2): Likewise.
459 (LDFLAGS-tst-minsigstksz-3): Likewise.
460 (LDFLAGS-tst-minsigstksz-3a): Likewise.
461 (LDFLAGS-tst-minsigstksz-4): Likewise.
463 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
465 * manual/time.texi (strftime): Fix the wording to "alternative" rather
468 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
470 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
472 2019-01-16 Zack Weinberg <zackw@panix.com>
474 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
475 (xget_sigstack_location): New test support functions.
476 * support/xsigstack.c: New file, implementing them.
477 * support/tst-xsigstack.c: New test for them.
478 * support/Makefile: Update.
480 * signal/tst-minsigstksz-1.c
481 * signal/tst-minsigstksz-2.c
482 * signal/tst-minsigstksz-3.c
483 * signal/tst-minsigstksz-3a.c
484 * signal/tst-minsigstksz-4.c: New tests.
485 * signal/Makefile: Run them.
487 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
489 * po/libc.pot: Regenerate.
491 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
493 * math/libm-test-fma.inc (fma_test_data): Set
494 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
496 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
498 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
499 (do_test): Changed __vector __int128_t to __vector unsigned int.
501 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
504 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
505 stpcpy-avx2 and stpncpy-avx2.
506 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
507 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
508 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
510 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
511 ifunc-strcpy.h}: rename header for a more generic name.
512 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
513 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
514 AVX unaligned load is fast and vzeroupper is preferred.
515 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
516 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
517 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
518 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
519 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
520 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
522 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
524 * argp/argp-help.c: Fix typo in comment.
525 * misc/sys/cdefs.h: Likewise.
526 * posix/regexec.c (sift_states_iter_mb): Likewise.
527 * socket/sockatmark.c: Likewise.
528 * socket/sys/socket.h: Likewise.
529 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
530 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
531 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
532 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
533 * sysdeps/unix/sockatmark.c: Likewise.
534 * time/strptime_l.c: Likewise.
536 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
538 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
539 missing space after the cast of "_NL_CURRENT".
541 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
543 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
544 ifdef to fix read of VSCR.
545 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
546 tst-ucontext-ppc64-vscr.c to test list.
547 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
549 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
551 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
554 2019-01-09 Jim Wilson <jimw@sifive.com>
556 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
558 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
560 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
561 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
562 __memcpy_falkor for ares.
563 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
565 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
568 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
571 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
572 4_FP_W_TYPEs are used for IEEE quad precision.
573 * soft-fp/extendhftf2.c: Likewise.
574 * soft-fp/extendsftf2.c: Likewise.
575 * soft-fp/extendxftf2.c: Likewise.
576 * soft-fp/trunctfdf2.c: Likewise.
577 * soft-fp/trunctfhf2.c: Likewise.
578 * soft-fp/trunctfsf2.c: Likewise.
579 * soft-fp/trunctfxf2.c: Likewise.
580 * sysdeps/alpha/ots_cvttx.c: Likewise.
581 * sysdeps/alpha/ots_cvtxt.c: Likewise.
582 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
583 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
584 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
585 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
586 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
587 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
588 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
589 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
590 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
591 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
592 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
593 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
594 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
595 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
596 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
597 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
599 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
602 * Makeconfig: Build libm with -fno-math-errno but build the remaining
603 code with -fmath-errno.
604 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
605 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
606 * string/test-strerror-errno.c: New file.
608 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
611 * localedata/locales/en_US (date_fmt): Add, set to
614 2019-01-07 Florian Weimer <fweimer@redhat.com>
617 * manual/arith.texi (Math Error Reporting): Use @code{errno}
618 instead of @var{errno}.
619 (Parsing of Integers): Likewise.
620 (Parsing of Floats): Likewise.
621 * manual/filesys.texi (Working with Directory Trees): Likewise.
622 (Temporary Files): Likewise.
623 * manual/job.texi (Terminal Access Functions): Likewise.
624 * manual/llio.texi (Synchronizing I/O): Likewise.
625 * manual/math.texi (SVID Random): Likewise.
626 * manual/message.texi (The catgets Functions): Likewise.
627 (Translation with gettext): Likewise.
628 (Locating gettext catalog): Likewise.
629 (Charset conversion in gettext): Likewise.
630 * manual/nss.texi (NSS Module Function Internals): Likewise.
631 * manual/search.texi (Hash Search Function): Likewise.
632 * manual/setjmp.texi (System V contexts): Likewise.
633 * manual/time.texi (Sleeping): Likewise.
634 * manual/users.texi (Lookup User): Likewise.
635 (Lookup Group): Likewise.
637 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
639 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
642 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
645 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
646 __builtin_unreachable for default case in switch.
647 (__ieee754_yn): Likewise.
648 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
649 (__ieee754_ynl): Likewise.
650 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
651 (__ieee754_ynl): Likewise.
652 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
653 (__ieee754_ynl): Likewise.
655 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
657 * manual/maint.texi: Use @{ and @}.
659 2019-01-04 Florian Weimer <fweimer@redhat.com>
661 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
663 (do_in_chroot_1): Call it.
665 Improve error reporting in case it is not possible to create a
666 collision for the PTY name required by the test.
668 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
670 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
671 lll_wait_tid with timeout.
672 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
673 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
674 futex_reltimed_wait_cancelable for cancelabla mode.
675 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
676 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
678 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
679 * sysdeps/posix/waitid.c (__sigwait): Likewise.
680 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
681 SYSCALL_CANCEL_NCS): New macro.
682 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
683 (lll_timedwait_tid): Remove macro.
684 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
686 (lll_timedwait_tid): Likewise.
687 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
689 (lll_timedwait_tid): Likewise.
690 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
692 (lll_timedwait_tid): Likewise.
693 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
694 Use INTERNAL_SYSCALL_CANCEL.
695 * sysdeps/unix/sysv/linux/futex-internal.h
696 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
697 instead of __pthread_{enable,disable}_asynccancel.
698 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
699 (lll_futex_wait_cancel): New macro.
701 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
702 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
704 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
705 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
707 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
708 in backtrace analysis.
709 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
713 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
714 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
715 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
716 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
717 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
718 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
719 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
720 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
721 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
722 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
723 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
724 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
726 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
727 tst-cancel-wrappers.sh.
728 (generated): Remove tst-cancel-wrappers.out.
729 (tst-cancel-wrappers.out): Remove rule.
730 * nptl/tst-cancel-wrappers.sh: Remove file.
732 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
734 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
735 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
738 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
741 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
742 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
743 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
744 close-on-exec reset for adddup2 file action.
745 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
747 2019-01-03 Zack Weinberg <zackw@panix.com>
749 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
750 parameter. Only use deprecated scanf when __USE_GNU is defined
751 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
752 than 201103L, whichever is relevant for the language being compiled.
754 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
755 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
756 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
757 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
758 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
767 * stdio-common/fscanf.c
768 * stdio-common/scanf.c
769 * stdio-common/vfscanf.c
770 * stdio-common/vfwscanf.c
771 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
772 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
773 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
774 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
775 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
776 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
777 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
778 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
779 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
780 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
781 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
782 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
783 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
784 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
785 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
787 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
788 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
789 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
791 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
792 with a preprocessor macro.
794 * stdio-common/bug21.c, stdio-common/scanf14.c:
795 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
796 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
797 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
798 to xscanf, xfscanf, xsscanf.
800 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
801 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
802 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
803 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
805 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
806 override feature selection macros or provide definitions of u_char etc.
807 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
808 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
809 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
812 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
816 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
817 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
818 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
819 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
820 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
821 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
823 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
824 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
825 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
826 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
827 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
828 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
830 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
831 (sysdep_headers): Add termios-misc.h.
833 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
834 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
835 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
839 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
840 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
841 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
842 TCSAFLUSH): Move to termios-tcflow.h.
843 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
844 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
845 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
846 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
850 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
851 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
852 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
853 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
854 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
855 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
856 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
857 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
859 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
860 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
861 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
862 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
866 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
867 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
868 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
869 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
870 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
872 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
873 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
874 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
875 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
880 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
881 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
882 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
883 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
884 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
885 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
886 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
887 __MAX_BAUD): Move to termios-baud.h.
888 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
889 * sysdeps/unix/sysv/linux/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_routines): Add
896 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
897 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
898 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
899 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
900 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
901 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
903 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
904 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
906 [USE_MISC] (XTABS): Likewise.
907 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
908 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
909 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
910 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
912 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
914 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
915 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
916 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
917 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
918 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
919 IUTF8): Move to termios-c_iflag.h.
920 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
921 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
922 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
923 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
925 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
927 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
928 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
929 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
930 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
931 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
932 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
933 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
934 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
935 * sysdeps/unix/sysv/linux/alpha/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/alpha/bits/termios-struct.h: New file.
941 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
942 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
943 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
946 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
948 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
950 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
952 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
954 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
956 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
957 _HAVE_C_OSPEED): Define.
958 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
959 _HAVE_C_OSPEED): Likewise.
960 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
961 _HAVE_C_OSPEED): Likewise.
962 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
963 (cfsetospeed): Check for define value instead of existence.
964 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
965 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
966 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
967 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
968 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
971 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
973 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
974 (TIOCSER_TEMT): Likewise.
975 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
976 (TEOCSER_TEMT): Likewise.
978 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
981 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
983 2019-01-02 Joseph Myers <joseph@codesourcery.com>
985 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
987 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
989 * sysdeps/htl/pt-barrierattr-setpshared.c
990 (pthread_barrierattr_setpshared): Add stub warning.
991 * sysdeps/htl/pt-condattr-setpshared.c
992 (pthread_condattr_setpshared): Likewise.
993 * sysdeps/htl/pt-mutexattr-setpshared.c
994 (pthread_mutexattr_setpshared): Likewise.
995 * sysdeps/htl/pt-rwlockattr-setpshared.c
996 (pthread_rwlockattr_setpshared): Likewise.
997 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
998 (pthread_mutexattr_setpshared): Likewise.
1000 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1002 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1003 constants to match with Linux 4.20.
1005 * sysdeps/mips/mips32/libm-test-ulps: Update.
1006 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1008 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1011 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1012 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1013 than __typeof (...) for the a_ptr variable.
1015 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1017 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1018 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1019 * libio/Makefile (tests): Add tst-sprintf-ub and
1021 (CFLAGS-tst-sprintf-ub.c): New variable.
1022 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1023 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1024 destination buffer and check for overflows in fortified mode.
1025 * libio/libioP.h (PRINTF_CHK): New macro.
1026 * libio/tst-sprintf-chk-ub.c: New file.
1027 * libio/tst-sprintf-ub.c: Likewise.
1029 2019-01-02 Florian Weimer <fweimer@redhat.com>
1032 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1035 2019-01-02 Florian Weimer <fweimer@redhat.com>
1037 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1039 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1041 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1044 * sysdeps/unix/sysv/linux/netpacket/packet.h
1045 (PACKET_IGNORE_OUTGOING): New macro.
1047 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1050 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1052 (riscv_flush_icache): New syscall.
1054 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1055 trailing whitespace removed.
1056 * scripts/config.guess: Update to version 2019-01-01.
1057 * scripts/config.sub: Update to version 2019-01-01.
1058 * scripts/move-if-change: Update from gnulib.
1060 * NEWS: Update copyright dates.
1061 * catgets/gencat.c (print_version): Likewise.
1062 * csu/version.c (banner): Likewise.
1063 * debug/catchsegv.sh: Likewise.
1064 * debug/pcprofiledump.c (print_version): Likewise.
1065 * debug/xtrace.sh (do_version): Likewise.
1066 * elf/ldconfig.c (print_version): Likewise.
1067 * elf/ldd.bash.in: Likewise.
1068 * elf/pldd.c (print_version): Likewise.
1069 * elf/sotruss.sh: Likewise.
1070 * elf/sprof.c (print_version): Likewise.
1071 * iconv/iconv_prog.c (print_version): Likewise.
1072 * iconv/iconvconfig.c (print_version): Likewise.
1073 * locale/programs/locale.c (print_version): Likewise.
1074 * locale/programs/localedef.c (print_version): Likewise.
1075 * login/programs/pt_chown.c (print_version): Likewise.
1076 * malloc/memusage.sh (do_version): Likewise.
1077 * malloc/memusagestat.c (print_version): Likewise.
1078 * malloc/mtrace.pl: Likewise.
1079 * manual/libc.texinfo: Likewise.
1080 * nptl/version.c (banner): Likewise.
1081 * nscd/nscd.c (print_version): Likewise.
1082 * nss/getent.c (print_version): Likewise.
1083 * nss/makedb.c (print_version): Likewise.
1084 * posix/getconf.c (main): Likewise.
1085 * scripts/test-installation.pl: Likewise.
1086 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1088 * All files with FSF copyright notices: Update copyright dates
1089 using scripts/update-copyrights.
1090 * locale/programs/charmap-kw.h: Regenerated.
1091 * locale/programs/locfile-kw.h: Likewise.
1093 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1095 * timezone/zdump.c: Update from tzcode 2018i.
1096 * timezone/zic.c: Likewise.
1098 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1100 regex: improve Gnulib port to AIX
1101 From the glibc point of view, this removes duplicate macro
1102 definitions and is obviously safe.
1103 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1104 * posix/regex_internal.h:
1105 (__attribute__, __attribute_warn_unused_result__):
1106 Remove; already defined elsewhere.
1108 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1111 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1112 copying operation. (ncopies had the wrong type, resulting in an
1113 integer wraparound and too few elements being copied.)
1115 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1118 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1119 <asm/syscalls.h> exists with __has_include__ before including it.
1121 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1123 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1126 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1128 * hurd/lookup-retry: Include <unistd.h>.
1129 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1130 Release it on return. Handle "pid" magical lookup retry.
1132 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1135 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1136 (t_fmt_ampm): Likewise.
1137 * localedata/locales/aa_ER (t_fmt): Likewise.
1138 (t_fmt_ampm): Likewise.
1139 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1140 (t_fmt_ampm): Likewise.
1141 * localedata/locales/aa_ET (t_fmt): Likewise.
1142 (t_fmt_ampm): Likewise.
1143 * localedata/locales/am_ET (t_fmt): Likewise.
1144 (t_fmt_ampm): Likewise.
1145 * localedata/locales/byn_ER (t_fmt): Likewise.
1146 (t_fmt_ampm): Likewise.
1147 * localedata/locales/om_ET (t_fmt): Likewise.
1148 (t_fmt_ampm): Likewise.
1149 * localedata/locales/sid_ET (t_fmt): Likewise.
1150 (t_fmt_ampm): Likewise.
1151 * localedata/locales/so_DJ (t_fmt): Likewise.
1152 (t_fmt_ampm): Likewise.
1153 * localedata/locales/so_ET (t_fmt): Likewise.
1154 (t_fmt_ampm): Likewise.
1155 * localedata/locales/so_SO (t_fmt): Likewise.
1156 (t_fmt_ampm): Likewise.
1157 * localedata/locales/ti_ER (t_fmt): Likewise.
1158 (t_fmt_ampm): Likewise.
1159 * localedata/locales/ti_ET (t_fmt): Likewise.
1160 (t_fmt_ampm): Likewise.
1161 * localedata/locales/tig_ER (t_fmt): Likewise.
1162 (t_fmt_ampm): Likewise.
1163 * localedata/locales/wal_ET (t_fmt): Likewise.
1164 (t_fmt_ampm): Likewise.
1166 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1167 * localedata/locales/ar_IN (t_fmt): Likewise.
1168 * localedata/locales/bhb_IN (t_fmt): Likewise.
1169 * localedata/locales/bho_IN (t_fmt): Likewise.
1170 * localedata/locales/bi_VU (t_fmt): Likewise.
1171 * localedata/locales/bn_BD (t_fmt): Likewise.
1172 * localedata/locales/bn_IN (t_fmt): Likewise.
1173 * localedata/locales/brx_IN (t_fmt): Likewise.
1174 * localedata/locales/doi_IN (t_fmt): Likewise.
1175 * localedata/locales/en_HK (t_fmt): Likewise.
1176 (t_fmt_ampm): Likewise.
1177 * localedata/locales/en_IN (t_fmt): Likewise.
1178 * localedata/locales/en_PH (t_fmt): Likewise.
1179 * localedata/locales/gu_IN (t_fmt): Likewise.
1180 * localedata/locales/hi_IN (t_fmt): Likewise.
1181 * localedata/locales/hif_FJ (t_fmt): Likewise.
1182 * localedata/locales/hne_IN (t_fmt): Likewise.
1183 * localedata/locales/kn_IN (t_fmt): Likewise.
1184 * localedata/locales/kok_IN (t_fmt): Likewise.
1185 * localedata/locales/ks_IN (t_fmt): Likewise.
1186 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1187 * localedata/locales/mag_IN (t_fmt): Likewise.
1188 * localedata/locales/mai_IN (t_fmt): Likewise.
1189 * localedata/locales/mjw_IN (t_fmt): Likewise.
1190 * localedata/locales/ml_IN (t_fmt): Likewise.
1191 * localedata/locales/mni_IN (t_fmt): Likewise.
1192 * localedata/locales/mr_IN (t_fmt): Likewise.
1193 * localedata/locales/ms_MY (t_fmt): Likewise.
1194 * localedata/locales/pa_IN (t_fmt): Likewise.
1195 * localedata/locales/raj_IN (t_fmt): Likewise.
1196 * localedata/locales/sa_IN (t_fmt): Likewise.
1197 * localedata/locales/sat_IN (t_fmt): Likewise.
1198 * localedata/locales/sd_IN (t_fmt): Likewise.
1199 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1200 * localedata/locales/tcy_IN (t_fmt): Likewise.
1201 * localedata/locales/the_NP (t_fmt): Likewise.
1202 * localedata/locales/to_TO (t_fmt): Likewise.
1203 * localedata/locales/ur_IN (t_fmt): Likewise.
1205 * localedata/locales/hif_FJ (d_t_fmt): Set to
1206 "%A %d %b %Y %I:%M:%S %p".
1207 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1209 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1210 * localedata/locales/ar_BH (t_fmt): Likewise.
1211 * localedata/locales/ar_DZ (t_fmt): Likewise.
1212 * localedata/locales/ar_EG (t_fmt): Likewise.
1213 * localedata/locales/ar_IQ (t_fmt): Likewise.
1214 * localedata/locales/ar_JO (t_fmt): Likewise.
1215 * localedata/locales/ar_KW (t_fmt): Likewise.
1216 * localedata/locales/ar_LB (t_fmt): Likewise.
1217 * localedata/locales/ar_LY (t_fmt): Likewise.
1218 * localedata/locales/ar_OM (t_fmt): Likewise.
1219 * localedata/locales/ar_QA (t_fmt): Likewise.
1220 * localedata/locales/ar_SD (t_fmt): Likewise.
1221 * localedata/locales/ar_SS (t_fmt): Likewise.
1222 * localedata/locales/ar_SY (t_fmt): Likewise.
1223 * localedata/locales/ar_TN (t_fmt): Likewise.
1224 * localedata/locales/ar_YE (t_fmt): Likewise.
1226 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1227 (t_fmt_ampm): Likewise.
1228 * localedata/locales/gez_ET (t_fmt): Likewise.
1229 (t_fmt_ampm): Likewise.
1231 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1232 (t_fmt_ampm): Likewise.
1233 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1235 * localedata/locales/zh_HK (t_fmt):
1236 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1238 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1239 because this locale does not use the 12-hour clock.
1240 (t_fmt): Set to "%Z %H:%M:%S".
1241 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1243 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1244 because this locale does not use the 12-hour clock.
1245 (t_fmt): Set to "%H:%M:%S %Z".
1246 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1248 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1249 because this locale does not use the 12-hour clock.
1250 (t_fmt): Set to "%T".
1251 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1252 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1254 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1255 because this locale does not use the 12-hour clock.
1256 (t_fmt): Set to "%H:%M:%S %Z".
1257 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1259 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1260 because this locale does not use the 12-hour clock.
1261 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1262 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1264 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1268 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1269 (t_fmt_ampm): Likewise.
1270 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1271 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1272 (d_fmt): Set to "%-d.%-m.%y".
1274 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1276 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1277 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1278 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1280 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1281 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1282 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1284 * support/blob_repeat.c (check_mul_overflow_size_t,
1285 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1287 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1289 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1291 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1293 regex: simplify Gnulib port
1294 This simplifies the code, by removing stuff intended for porting
1295 to Gnulib but no longer needed there.
1296 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1297 uses of libc_hidden_def, weak_alias.
1298 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1299 _Restrict_ except for public-facing headers.
1300 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1301 Remove; already defined elsewhere.
1302 * posix/regex.c, posix/regex_internal.h:
1303 Use __GNUC_PREREQ instead of rolling our own.
1304 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1306 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1308 * benchtests/bench-strlen.c (generic_strlen): New function.
1309 (memchr_strlen): New function.
1311 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1313 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1314 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1315 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1317 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1319 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1321 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1323 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1324 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1325 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1326 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1327 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1328 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1329 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1331 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1334 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1335 PLT reference in libc.so.
1336 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1337 _Q_lltoq and _Q_qtod PLT references in libc.so.
1339 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1341 * benchtests/bench-memchr.c: Cleanup defines.
1342 * benchtests/bench-memcmp.c: Likewise.
1343 * benchtests/bench-memset.c: Likewise.
1344 * benchtests/bench-memset-large.c: Likewise.
1345 * benchtests/bench-memset-walk.c: Likewise.
1346 * benchtests/bench-stpcpy.c: Likewise.
1347 * benchtests/bench-stpncpy.c: Likewise.
1348 * benchtests/bench-strcat.c: Likewise.
1349 * benchtests/bench-strchr.c: Likewise.
1350 * benchtests/bench-strcmp.c: Likewise.
1351 * benchtests/bench-strcpy.c: Likewise.
1352 * benchtests/bench-strcspn.c: Likewise.
1353 * benchtests/bench-string.h: Likewise.
1354 * benchtests/bench-strlen.c: Likewise.
1355 * benchtests/bench-strncat.c: Likewise.
1356 * benchtests/bench-strncmp.c: Likewise.
1357 * benchtests/bench-strncpy.c: Likewise.
1358 * benchtests/bench-strnlen.c: Likewise.
1359 * benchtests/bench-strpbrk.c: Likewise.
1360 * benchtests/bench-strrchr.c: Likewise.
1361 * benchtests/bench-strspn.c: Likewise.
1363 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1365 * stdlib/longlong.h: Update from GCC.
1368 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1369 * configure: Regenerated.
1370 * manual/install.texi (Tools for Compilation): Update minimum GCC
1372 * INSTALL: Regenerated.
1374 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1376 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1378 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1380 * malloc/malloc.c (mremap_chunk): Additional checks.
1382 2018-12-21 Mao Han <han_mao@c-sky.com>
1384 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1385 * scripts/build-many-glibcs.py: Add C-SKY targets.
1386 * sysdeps/csky/Implies: New file.
1387 * sysdeps/csky/Makefile: Likewise.
1388 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1389 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1390 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1391 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1392 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1393 * sysdeps/csky/abiv2/memmove.S: Likewise.
1394 * sysdeps/csky/abiv2/memset.S: Likewise.
1395 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1396 * sysdeps/csky/abiv2/start.S: Likewise.
1397 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1398 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1399 * sysdeps/csky/abiv2/strlen.S: Likewise.
1400 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1401 * sysdeps/csky/abort-instr.h: Likewise.
1402 * sysdeps/csky/atomic-machine.h: Likewise.
1403 * sysdeps/csky/bits/endian.h: Likewise.
1404 * sysdeps/csky/bits/fenv.h: Likewise.
1405 * sysdeps/csky/bits/link.h: Likewise.
1406 * sysdeps/csky/bits/setjmp.h: Likewise.
1407 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1408 * sysdeps/csky/bsd-setjmp.S: Likewise.
1409 * sysdeps/csky/configure: Likewise.
1410 * sysdeps/csky/configure.ac: Likewise.
1411 * sysdeps/csky/dl-machine.h: Likewise.
1412 * sysdeps/csky/dl-procinfo.c: Likewise.
1413 * sysdeps/csky/dl-procinfo.h: Likewise.
1414 * sysdeps/csky/dl-sysdep.h: Likewise.
1415 * sysdeps/csky/dl-tls.h: Likewise.
1416 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1417 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1418 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1419 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1420 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1421 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1422 * sysdeps/csky/fpu/fegetround.c: Likewise.
1423 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1424 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1425 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1426 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1427 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1428 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1429 * sysdeps/csky/fpu/fesetround.c: Likewise.
1430 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1431 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1432 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1433 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1434 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1435 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1436 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1437 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1438 * sysdeps/csky/fpu_control.h: Likewise.
1439 * sysdeps/csky/gccframe.h: Likewise.
1440 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1441 * sysdeps/csky/ldsodefs.h: Likewise.
1442 * sysdeps/csky/libc-tls.c: Likewise.
1443 * sysdeps/csky/linkmap.h: Likewise.
1444 * sysdeps/csky/machine-gmon.h: Likewise.
1445 * sysdeps/csky/memusage.h: Likewise.
1446 * sysdeps/csky/nofpu/Implies: Likewise.
1447 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1448 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1449 * sysdeps/csky/nptl/Makefile: Likewise.
1450 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1451 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1452 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1453 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1454 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1455 * sysdeps/csky/nptl/tls.h: Likewise.
1456 * sysdeps/csky/preconfigure: Likewise.
1457 * sysdeps/csky/sfp-machine.h: Likewise.
1458 * sysdeps/csky/sotruss-lib.c: Likewise.
1459 * sysdeps/csky/stackinfo.h: Likewise.
1460 * sysdeps/csky/sysdep.h: Likewise.
1461 * sysdeps/csky/tininess.h: Likewise.
1462 * sysdeps/csky/tst-audit.h: Likewise.
1463 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1464 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1465 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1466 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1467 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1468 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1469 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1470 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1471 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1472 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1473 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1474 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1475 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1476 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1477 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1478 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1479 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1480 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1481 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1482 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1483 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1484 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1485 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1486 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1487 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1488 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1489 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1490 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1491 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1492 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1493 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1494 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1495 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1496 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1497 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1498 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1499 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1500 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1501 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1502 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1503 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1504 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1505 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1506 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1508 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1510 * include/time.h (__difftime64): Add.
1511 * time/difftime.c (subtract): convert to 64-bit time.
1512 * time/difftime.c (__difftime64): Add.
1513 * time/difftime.c (__difftime): Wrap around __difftime64.
1515 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1517 * manual/examples/add.c: Remove redundant "if not".
1518 * manual/examples/argp-ex1.c: Likewise.
1519 * manual/examples/argp-ex2.c: Likewise.
1520 * manual/examples/argp-ex3.c: Likewise.
1521 * manual/examples/argp-ex4.c: Likewise.
1522 * manual/examples/atexit.c: Likewise.
1523 * manual/examples/db.c: Likewise.
1524 * manual/examples/dir.c: Likewise.
1525 * manual/examples/dir2.c: Likewise.
1526 * manual/examples/execinfo.c: Likewise.
1527 * manual/examples/filecli.c: Likewise.
1528 * manual/examples/filesrv.c: Likewise.
1529 * manual/examples/fmtmsgexpl.c: Likewise.
1530 * manual/examples/genpass.c: Likewise.
1531 * manual/examples/inetcli.c: Likewise.
1532 * manual/examples/inetsrv.c: Likewise.
1533 * manual/examples/isockad.c: Likewise.
1534 * manual/examples/longopt.c: Likewise.
1535 * manual/examples/memopen.c: Likewise.
1536 * manual/examples/memstrm.c: Likewise.
1537 * manual/examples/mkdirent.c: Likewise.
1538 * manual/examples/mkfsock.c: Likewise.
1539 * manual/examples/mkisock.c: Likewise.
1540 * manual/examples/mygetpass.c: Likewise.
1541 * manual/examples/pipe.c: Likewise.
1542 * manual/examples/popen.c: Likewise.
1543 * manual/examples/rprintf.c: Likewise.
1544 * manual/examples/search.c: Likewise.
1545 * manual/examples/select.c: Likewise.
1546 * manual/examples/setjmp.c: Likewise.
1547 * manual/examples/sigh1.c: Likewise.
1548 * manual/examples/sigusr.c: Likewise.
1549 * manual/examples/stpcpy.c: Likewise.
1550 * manual/examples/strdupa.c: Likewise.
1551 * manual/examples/strftim.c: Likewise.
1552 * manual/examples/subopt.c: Likewise.
1553 * manual/examples/swapcontext.c: Likewise.
1554 * manual/examples/termios.c: Likewise.
1555 * manual/examples/testopt.c: Likewise.
1556 * manual/examples/testpass.c: Likewise.
1557 * manual/examples/timeval_subtract.c: Likewise.
1559 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1561 * sysdeps/x86/fpu/math_private.h: New file.
1562 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1564 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1569 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1571 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1572 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1573 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1574 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1576 (_dl_show_auxv): Give a special treatment to
1577 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1578 and AT_L3_CACHEGEOMETRY.
1579 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1580 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1581 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1582 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1584 2018-12-19 Andreas Schwab <schwab@suse.de>
1586 * nscd/connections.c (check_use): Don't abort on invalid len.
1588 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1590 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1591 values in the 64bit value cases.
1593 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1599 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1605 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1608 (__gmtime64_r): Add.
1610 (__gmtime64_r): Add.
1611 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1617 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1620 (__localtime64_r): Add.
1622 (__localtime64_r): Add.
1623 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1625 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1627 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1628 kernel_sigction definition.
1630 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1632 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1634 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1635 __syscall_rt_sigaction.
1636 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1637 (kernel_sigaction): Use Linux generic defintion.
1639 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1640 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1641 (__syscall_rt_sigaction): Remove implementation.
1642 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1644 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1645 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1646 INTERNAL_SYSCALL): Remove definitions.
1647 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1648 action and signal set size.
1649 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1650 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1652 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1653 James Clarke <jrtc27@jrtc27.com>
1656 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1657 Define if SA_RESTORER is defined.
1658 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1659 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1661 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1662 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1664 (HAS_SA_RESTORER): Define.
1665 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1666 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1667 (HAS_SA_RESTORER): Define.
1668 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1669 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1670 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1671 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1672 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1674 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1676 * sysdeps/unix/sysv/linux/kernel-features.h
1677 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1678 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1679 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1680 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1681 (__ASSUME_ST_INO_64_BIT): Likewise.
1682 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1683 <kernel-features.h>.
1684 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1685 Remove conditional code.
1686 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1687 <kernel-features.h>.
1688 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1689 Remove conditional code.
1690 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1691 <kernel-features.h>.
1692 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1693 Remove conditional code.
1694 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1695 <kernel-features.h>.
1696 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1697 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1699 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1701 * sysdeps/s390/multiarch/ifunc-resolve.h
1702 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1703 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1704 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1705 Delete macro definition.
1706 (s390_libc_ifunc_init): Rename to
1707 s390_libc_ifunc_expr_stfle_init.
1708 * sysdeps/s390/bzero: Use
1709 s390_libc_ifunc_expr_stfle_init instead of
1710 s390_libc_ifunc_init.
1711 * sysdeps/s390/memcmp.c: Likewise.
1712 * sysdeps/s390/memcpy.c: Likewise.
1713 * sysdeps/s390/mempcpy.c: Likewise.
1714 * sysdeps/s390/memset.c: Likewise.
1716 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1718 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1719 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1721 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1723 * sysdeps/s390/multiarch/Makefile
1724 (sysdep_routines): Remove wmemcmp variants.
1725 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1726 * sysdeps/s390/multiarch/ifunc-impl-list.c
1727 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1728 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1729 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1730 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1731 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1732 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1733 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1734 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1736 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1738 * sysdeps/s390/multiarch/Makefile
1739 (sysdep_routines): Remove wmemset variants.
1740 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1741 * sysdeps/s390/multiarch/ifunc-impl-list.c
1742 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1743 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1744 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1745 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1746 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1747 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1748 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1749 * sysdeps/s390/ifunc-wmemset.h: New file.
1751 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1753 * sysdeps/s390/multiarch/Makefile
1754 (sysdep_routines): Remove wmemchr variants.
1755 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1756 * sysdeps/s390/multiarch/ifunc-impl-list.c
1757 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1758 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1759 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1760 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1761 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1762 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1763 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1764 * sysdeps/s390/ifunc-wmemchr.h: New file.
1766 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1768 * sysdeps/s390/multiarch/Makefile
1769 (sysdep_routines): Remove wcscspn variants.
1770 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1771 * sysdeps/s390/multiarch/ifunc-impl-list.c
1772 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1773 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1774 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1775 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1776 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1777 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1778 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1779 * sysdeps/s390/ifunc-wcscspn.h: New file.
1781 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1783 * sysdeps/s390/multiarch/Makefile
1784 (sysdep_routines): Remove wcspbrk variants.
1785 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1786 * sysdeps/s390/multiarch/ifunc-impl-list.c
1787 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1788 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1789 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1790 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1791 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1792 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1793 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1794 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1796 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1798 * sysdeps/s390/multiarch/Makefile
1799 (sysdep_routines): Remove wcsspn variants.
1800 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1801 * sysdeps/s390/multiarch/ifunc-impl-list.c
1802 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1803 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1804 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1805 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1806 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1807 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1808 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1809 * sysdeps/s390/ifunc-wcsspn.h: New file.
1811 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1813 * sysdeps/s390/multiarch/Makefile
1814 (sysdep_routines): Remove wcsrchr variants.
1815 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1816 * sysdeps/s390/multiarch/ifunc-impl-list.c
1817 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1818 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1819 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1820 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1821 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1822 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1823 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1824 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1826 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1828 * sysdeps/s390/multiarch/Makefile
1829 (sysdep_routines): Remove wcschrnul variants.
1830 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1831 * sysdeps/s390/multiarch/ifunc-impl-list.c
1832 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1833 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1834 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1835 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1836 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1837 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1838 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1839 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1841 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1843 * sysdeps/s390/multiarch/Makefile
1844 (sysdep_routines): Remove wcschr variants.
1845 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
1846 * sysdeps/s390/multiarch/ifunc-impl-list.c
1847 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
1848 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
1849 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
1850 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
1851 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
1852 * sysdeps/s390/multiarch/wcschr.c: Move to ...
1853 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
1854 * sysdeps/s390/ifunc-wcschr.h: New file.
1856 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1858 * sysdeps/s390/multiarch/Makefile
1859 (sysdep_routines): Remove wcsncmp variants.
1860 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
1861 * sysdeps/s390/multiarch/ifunc-impl-list.c
1862 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
1863 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
1864 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
1865 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
1866 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
1867 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
1868 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
1869 * sysdeps/s390/ifunc-wcsncmp.h: New file.
1871 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1873 * sysdeps/s390/multiarch/Makefile
1874 (sysdep_routines): Remove wcscmp variants.
1875 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
1876 * sysdeps/s390/multiarch/ifunc-impl-list.c
1877 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
1878 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
1879 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
1880 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
1881 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
1882 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
1883 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
1884 * sysdeps/s390/ifunc-wcscmp.h: New file.
1886 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1888 * sysdeps/s390/multiarch/Makefile
1889 (sysdep_routines): Remove wcsncat variants.
1890 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
1891 * sysdeps/s390/multiarch/ifunc-impl-list.c
1892 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
1893 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
1894 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
1895 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
1896 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
1897 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
1898 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
1899 * sysdeps/s390/ifunc-wcsncat.h: New file.
1901 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1903 * sysdeps/s390/multiarch/Makefile
1904 (sysdep_routines): Remove wcscat variants.
1905 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
1906 * sysdeps/s390/multiarch/ifunc-impl-list.c
1907 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
1908 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
1909 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
1910 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
1911 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
1912 * sysdeps/s390/multiarch/wcscat.c: Move to ...
1913 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
1914 * sysdeps/s390/ifunc-wcscat.h: New file.
1916 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1918 * sysdeps/s390/multiarch/Makefile
1919 (sysdep_routines): Remove wcpncpy variants.
1920 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
1921 * sysdeps/s390/multiarch/ifunc-impl-list.c
1922 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
1923 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
1924 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
1925 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
1926 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
1927 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
1928 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
1929 * sysdeps/s390/ifunc-wcpncpy.h: New file.
1931 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1933 * sysdeps/s390/multiarch/Makefile
1934 (sysdep_routines): Remove wcsncpy variants.
1935 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
1936 * sysdeps/s390/multiarch/ifunc-impl-list.c
1937 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
1938 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
1939 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
1940 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
1941 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
1942 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
1943 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
1944 * sysdeps/s390/ifunc-wcsncpy.h: New file.
1946 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1948 * sysdeps/s390/multiarch/Makefile
1949 (sysdep_routines): Remove wcpcpy variants.
1950 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
1951 * sysdeps/s390/multiarch/ifunc-impl-list.c
1952 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
1953 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
1954 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
1955 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
1956 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
1957 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
1958 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
1959 * sysdeps/s390/ifunc-wcpcpy.h: New file.
1961 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1963 * sysdeps/s390/multiarch/Makefile
1964 (sysdep_routines): Remove wcscpy variants.
1965 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
1966 * sysdeps/s390/multiarch/ifunc-impl-list.c
1967 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
1968 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
1969 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
1970 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
1971 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
1972 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
1973 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
1974 * sysdeps/s390/ifunc-wcscpy.h: New file.
1976 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1978 * sysdeps/s390/multiarch/Makefile
1979 (sysdep_routines): Remove wcsnlen variants.
1980 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
1981 * sysdeps/s390/multiarch/ifunc-impl-list.c
1982 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
1983 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
1984 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
1985 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
1986 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
1987 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
1988 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
1989 * sysdeps/s390/ifunc-wcsnlen.h: New file.
1991 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1993 * sysdeps/s390/multiarch/Makefile
1994 (sysdep_routines): Remove wcslen variants.
1995 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
1996 * sysdeps/s390/multiarch/ifunc-impl-list.c
1997 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
1998 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
1999 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2000 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2001 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2002 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2003 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2004 * sysdeps/s390/ifunc-wcslen.h: New file.
2006 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2008 * sysdeps/s390/multiarch/Makefile
2009 (sysdep_routines): Remove memrchr variants.
2010 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2011 * sysdeps/s390/multiarch/ifunc-impl-list.c
2012 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2013 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2014 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2015 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2016 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2017 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2018 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2019 * sysdeps/s390/ifunc-memrchr.h: New file.
2021 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2023 * sysdeps/s390/multiarch/Makefile
2024 (sysdep_routines): Remove memccpy variants.
2025 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2026 * sysdeps/s390/multiarch/ifunc-impl-list.c
2027 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2028 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2029 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2030 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2031 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2032 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2033 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2034 * sysdeps/s390/ifunc-memccpy.h: New file.
2036 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2038 * sysdeps/s390/multiarch/Makefile
2039 (sysdep_routines): Remove rawmemchr variants.
2040 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2041 * sysdeps/s390/multiarch/ifunc-impl-list.c
2042 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2043 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2044 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2045 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2046 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2047 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2048 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2049 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2051 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2053 * sysdeps/s390/multiarch/Makefile
2054 (sysdep_routines): Remove memchr variants.
2055 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2056 * sysdeps/s390/multiarch/ifunc-impl-list.c
2057 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2058 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2059 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2060 * sysdeps/s390/multiarch/memchr.c: Move to ...
2061 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2062 * sysdeps/s390/ifunc-memchr.h: New file.
2063 * sysdeps/s390/s390-64/memchr.S: Move to ...
2064 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2065 for 31/64bit and ifunc handling.
2066 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2067 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2068 * sysdeps/s390/s390-32/memchr.S: Likewise.
2070 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2072 * sysdeps/s390/multiarch/Makefile
2073 (sysdep_routines): Remove strcspn variants.
2074 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2075 * sysdeps/s390/multiarch/ifunc-impl-list.c
2076 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2077 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2078 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2079 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2080 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2081 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2082 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2083 * sysdeps/s390/ifunc-strcspn.h: New file.
2085 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2087 * sysdeps/s390/multiarch/Makefile
2088 (sysdep_routines): Remove strpbrk variants.
2089 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2090 * sysdeps/s390/multiarch/ifunc-impl-list.c
2091 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2092 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2093 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2094 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2095 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2096 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2097 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2098 * sysdeps/s390/ifunc-strpbrk.h: New file.
2100 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2102 * sysdeps/s390/multiarch/Makefile
2103 (sysdep_routines): Remove strspn variants.
2104 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2105 * sysdeps/s390/multiarch/ifunc-impl-list.c
2106 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2107 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2108 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2109 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2110 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2111 * sysdeps/s390/multiarch/strspn.c: Move to ...
2112 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2113 * sysdeps/s390/ifunc-strspn.h: New file.
2115 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2117 * sysdeps/s390/multiarch/Makefile
2118 (sysdep_routines): Remove strrchr variants.
2119 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2120 * sysdeps/s390/multiarch/ifunc-impl-list.c
2121 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2122 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2123 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2124 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2125 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2126 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2127 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2128 * sysdeps/s390/ifunc-strrchr.h: New file.
2130 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2132 * sysdeps/s390/multiarch/Makefile
2133 (sysdep_routines): Remove strchrnul variants.
2134 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2135 * sysdeps/s390/multiarch/ifunc-impl-list.c
2136 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2137 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2138 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2139 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2140 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2141 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2142 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2143 * sysdeps/s390/ifunc-strchrnul.h: New file.
2145 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2147 * sysdeps/s390/multiarch/Makefile
2148 (sysdep_routines): Remove strchr variants.
2149 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2150 * sysdeps/s390/multiarch/ifunc-impl-list.c
2151 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2152 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2153 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2154 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2155 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2156 * sysdeps/s390/multiarch/strchr.c: Move to ...
2157 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2158 * sysdeps/s390/ifunc-strchr.h: New file.
2160 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2162 * sysdeps/s390/multiarch/Makefile
2163 (sysdep_routines): Remove strncmp variants.
2164 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2165 * sysdeps/s390/multiarch/ifunc-impl-list.c
2166 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2167 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2168 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2169 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2170 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2171 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2172 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2173 * sysdeps/s390/ifunc-strncmp.h: New file.
2175 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2177 * sysdeps/s390/multiarch/Makefile
2178 (sysdep_routines): Remove strcmp variants.
2179 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2180 * sysdeps/s390/multiarch/ifunc-impl-list.c
2181 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2182 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2183 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2184 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2185 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2186 * sysdeps/s390/ifunc-strcmp.h: New file.
2187 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2188 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2189 for 31/64bit and ifunc handling.
2190 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2191 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2192 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2194 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2196 * sysdeps/s390/multiarch/Makefile
2197 (sysdep_routines): Remove strncat variants.
2198 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2199 * sysdeps/s390/multiarch/ifunc-impl-list.c
2200 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2201 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2202 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2203 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2204 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2205 * sysdeps/s390/multiarch/strncat.c: Move to ...
2206 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2207 * sysdeps/s390/ifunc-strncat.h: New file.
2209 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2211 * sysdeps/s390/multiarch/Makefile
2212 (sysdep_routines): Remove strcat variants.
2213 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2214 * sysdeps/s390/multiarch/ifunc-impl-list.c
2215 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2216 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2217 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2218 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2219 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2220 * sysdeps/s390/multiarch/strcat.c: Move to ...
2221 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2222 * sysdeps/s390/ifunc-strcat.h: New file.
2224 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2226 * sysdeps/s390/multiarch/Makefile
2227 (sysdep_routines): Remove stpncpy variants.
2228 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2229 * sysdeps/s390/multiarch/ifunc-impl-list.c
2230 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2231 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2232 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2233 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2234 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2235 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2236 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2237 * sysdeps/s390/ifunc-stpncpy.h: New file.
2239 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2241 * sysdeps/s390/multiarch/Makefile
2242 (sysdep_routines): Remove strncpy variants.
2243 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2244 * sysdeps/s390/multiarch/ifunc-impl-list.c
2245 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2246 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2247 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2248 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2249 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2250 * sysdeps/s390/ifunc-strncpy.h: New file.
2251 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2252 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2253 and adjust ifunc handling.
2254 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2255 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2256 and adjust ifunc handling.
2257 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2258 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2260 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2262 * sysdeps/s390/multiarch/Makefile
2263 (sysdep_routines): Remove stpcpy variants.
2264 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2265 * sysdeps/s390/multiarch/ifunc-impl-list.c
2266 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2267 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2268 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2269 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2270 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2271 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2272 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2273 * sysdeps/s390/ifunc-stpcpy.h: New file.
2275 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2277 * sysdeps/s390/multiarch/Makefile
2278 (sysdep_routines): Remove strcpy variants.
2279 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2280 * sysdeps/s390/multiarch/ifunc-impl-list.c
2281 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2282 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2283 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2284 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2285 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2286 * sysdeps/s390/ifunc-strcpy.h: New file.
2287 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2288 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2289 for 31/64bit and ifunc handling.
2290 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2291 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2292 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2294 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2296 * sysdeps/s390/multiarch/Makefile
2297 (sysdep_routines): Remove strnlen variants.
2298 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2299 * sysdeps/s390/multiarch/ifunc-impl-list.c
2300 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2301 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2302 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2303 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2304 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2305 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2306 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2307 * sysdeps/s390/ifunc-strnlen.h: New file.
2309 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2311 * sysdeps/s390/multiarch/Makefile
2312 (sysdep_routines): Remove strlen variants.
2313 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2314 * sysdeps/s390/multiarch/ifunc-impl-list.c
2315 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2316 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2317 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2318 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2319 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2320 * sysdeps/s390/multiarch/strlen.c: Move to ...
2321 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2322 * sysdeps/s390/ifunc-strlen.h: New file.
2324 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2326 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2327 * sysdeps/s390/multiarch/ifunc-impl-list.c
2328 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2329 * sysdeps/s390/ifunc-memmem.h: New file.
2330 * sysdeps/s390/memmem.c: Likewise.
2331 * sysdeps/s390/memmem-c.c: Likewise.
2332 * sysdeps/s390/memmem-vx.c: Likewise.
2334 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2336 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2337 * sysdeps/s390/multiarch/ifunc-impl-list.c
2338 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2339 * sysdeps/s390/ifunc-strstr.h: New file.
2340 * sysdeps/s390/strstr.c: Likewise.
2341 * sysdeps/s390/strstr-c.c: Likewise.
2342 * sysdeps/s390/strstr-vx.c: Likewise.
2344 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2346 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2347 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2348 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2349 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2351 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2352 * sysdeps/s390/memmove-c.c: New file.
2353 * sysdeps/s390/memmove.c: Likewise.
2354 * sysdeps/s390/multiarch/ifunc-impl-list.c
2355 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2357 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2359 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2360 * sysdeps/s390/configure.ac: Add check for z13 support.
2361 * sysdeps/s390/configure: Regenerated.
2363 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2365 * sysdeps/s390/memcopy.h: New file.
2367 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2369 * sysdeps/s390/s390-32/bcopy.S: Remove.
2370 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2372 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2374 * sysdeps/s390/ifunc-memcpy.h: New File.
2375 * sysdeps/s390/memcpy.S: Move to ...
2376 * sysdeps/s390/memcpy-z900.S ... here.
2377 Move implementations from memcpy-s390x.s to here.
2378 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2379 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2380 Remove memcpy/mempcpy variants.
2381 * sysdeps/s390/Makefile (sysdep_routines):
2382 Add memcpy/mempcpy variants.
2383 * sysdeps/s390/multiarch/ifunc-impl-list.c
2384 (__libc_ifunc_impl_list): Adjust ifunc variants for
2386 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2388 * sysdeps/s390/memcpy.c: ... here.
2389 Adjust ifunc variants for memcpy.
2390 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2391 * sysdeps/s390/mempcpy.c: ... here.
2392 Adjust ifunc variants for mempcpy.
2393 * sysdeps/s390/mempcpy.S: Delete file.
2395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2397 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2398 * sysdeps/s390/memcpy.S: ... here.
2399 Adjust to be usable for 31/64bit.
2400 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2401 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2402 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2403 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2404 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2405 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2406 Adjust to be usable for 31/64bit.
2407 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2408 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2409 * sysdeps/s390/multiarch/memcpy.c: ... here.
2410 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2412 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2414 * sysdeps/s390/ifunc-memcmp.h: New File.
2415 * sysdeps/s390/memcmp.S: Move to ...
2416 * sysdeps/s390/memcmp-z900.S ... here.
2417 Move implementations from memcmp-s390x.s to here.
2418 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2419 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2420 Remove memcmp variants.
2421 * sysdeps/s390/Makefile (sysdep_routines):
2422 Add memcmp variants.
2423 * sysdeps/s390/multiarch/ifunc-impl-list.c
2424 (__libc_ifunc_impl_list): Adjust ifunc variants for
2426 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2428 * sysdeps/s390/memcmp.c: ... here.
2429 Adjust ifunc variants for memcmp.
2431 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2433 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2434 * sysdeps/s390/memcmp.S: ... here.
2435 Adjust to be usable for 31/64bit.
2436 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2437 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2438 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2440 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2441 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2442 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2443 Adjust to be usable for 31/64bit.
2444 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2445 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2446 * sysdeps/s390/multiarch/memcmp.c: ... here.
2447 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2449 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2451 * sysdeps/s390/s390-32/bzero.S: Delete file.
2452 * sysdeps/s390/s390-64/bzero.S: Likewise.
2453 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2454 * sysdeps/s390/bzero.c: New file.
2455 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2456 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2457 * sysdeps/s390/multiarch/ifunc-impl-list.c
2458 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2460 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2462 * sysdeps/s390/ifunc-memset.h: New File.
2463 * sysdeps/s390/memset.S: Move to ...
2464 * sysdeps/s390/memset-z900.S ... here.
2465 Move implementations from memset-s390x.s to here.
2466 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2467 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2468 Remove memset variants.
2469 * sysdeps/s390/Makefile (sysdep_routines):
2470 Add memset variants.
2471 * sysdeps/s390/multiarch/ifunc-impl-list.c
2472 (__libc_ifunc_impl_list): Adjust ifunc variants for
2474 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2476 * sysdeps/s390/memset.c: ... here.
2477 Adjust ifunc variants for memset.
2479 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2481 * sysdeps/s390/s390-64/memset.S: Move to ...
2482 * sysdeps/s390/memset.S: ... here.
2483 Adjust to be usable for 31/64bit.
2484 * sysdeps/s390/s390-32/memset.S: Delete File.
2485 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2486 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2488 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2489 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2490 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2491 Adjust to be usable for 31/64bit.
2492 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2493 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2494 * sysdeps/s390/multiarch/memset.c: ... here.
2495 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2497 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2499 * sysdeps/s390/multiarch/ifunc-resolve.h
2500 (s390_libc_ifunc_init, s390_libc_ifunc,
2501 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2503 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2505 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2506 * sysdeps/s390/configure.ac: Add check for z10 support.
2507 * sysdeps/s390/configure: Regenerated.
2509 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2511 * sysdeps/i386/atomic-machine.h: Merged with ...
2512 * sysdeps/x86_64/atomic-machine.h: To ...
2513 * sysdeps/x86/atomic-machine.h: This. New file.
2515 2018-12-18 Florian Weimer <fweimer@redhat.com>
2517 Rewrite locale/gen-translit.pl in Python.
2518 * locale/Makefile (generated): Add C-translit.h.
2519 (before-compile): Add $(objpfx)C-translit.h.
2520 (C-translit.h): Move to $(objpfx). Create target directory.
2521 Build using Python script.
2522 * locale/gen-translit.py: New file.
2523 * locale/gen-translit.pl: Remove file.
2524 * locale/C-translit.h.in: Change comment character to '#' for
2525 easier parsing without a C preprocessor.
2526 * locale/C-translit.h: Remove generated file.
2527 * manual/install.texi (Tools for Compilation): Do not mention
2529 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2530 Remove locale/C-translit.h.
2531 * scripts/update-copyrights: Likewise.
2532 * INSTALL: Regenerate.
2534 2018-12-18 Florian Weimer <fweimer@redhat.com>
2537 * localedata/locales/bi_VU: Remove executable bit from file.
2539 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2542 (__localtime64): Add.
2543 * manual/maint.texi: Document Y2038 symbol handling.
2545 (__localtime64): Add.
2546 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2548 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2550 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2553 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2554 to allow extra macros from first or second sources.
2555 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2556 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2557 (tests-special): Add $(objpfx)tst-mman-consts.out.
2558 ($(objpfx)tst-mman-consts.out): New makefile target.
2560 2018-12-17 Mao Han <han_mao@c-sky.com>
2562 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2563 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2564 without stat64 system call support.
2565 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2566 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2567 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2568 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2569 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2570 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2571 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2572 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2573 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2574 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2575 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2577 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2579 regex: fix storage-exhaustion error
2581 * posix/regexec.c (get_subexp):
2582 Do not continue if storage is exhausted.
2584 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2586 regex: fix heap-use-after-free error
2588 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2589 https://debbugs.gnu.org/32592
2590 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2591 call extend_buffers which reallocates the re_string_t internal buffer.
2592 Local variable 'buf' was not updated in such case, resulting in
2594 * posix/regexec.c (get_subexp): Update 'buf' after call to
2597 2018-12-15 Florian Weimer <fweimer@redhat.com>
2599 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2600 (minimum_stride_size): Use it.
2601 (support_blob_repeat_allocate): Likewise.
2603 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2605 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2610 2018-12-14 Florian Weimer <fweimer@redhat.com>
2612 * manual/process.texi (Process Creation Concepts): Remove
2613 documentation of process (ID) lifetime. List more process
2614 creation functions. Reference Process Identification section.
2615 (Process Identification): Add information about process ID
2616 lifetime. Describe Linux thread/task IDs.
2617 * manual/signal.texi (Signaling Another Process): Mention that the
2618 signal is always sent to the process.
2620 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2622 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2623 and tst-ldbl-efgcvt.
2624 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2625 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2626 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2627 (fcvt_tests, output_error, output_r_error, do_test): Use the
2628 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2629 select the type of floating-point variables and arguments; to
2630 produce extra tests for double and conversion specifiers for
2631 printf; and to set the names of called functions.
2632 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2633 in tst-efgcvt-template.c.
2634 * misc/tst-ldbl-efgcvt.c: Likewise.
2636 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2638 * nss/Makefile (tst-nss-test3.out): New rule.
2640 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2642 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2645 2018-12-13 fanjinke <fanjinke@hygon.cn>
2647 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2650 2018-12-13 Andreas Schwab <schwab@suse.de>
2653 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2654 (__pthread_rwlock_rdlock_full): Update expected value for
2655 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2656 * nptl/tst-rwlock-pwn.c: New file.
2657 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2659 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2661 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2664 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2666 * benchtests/scripts/compare_bench.py (do_compare): write to
2667 stderr in casestat is not present.
2668 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2669 stderr in case timings field is not present. Also string showing
2670 the output filename goes into the stderr.
2672 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2674 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2675 and ZeroDivisorError exceptions.
2676 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2677 argument to loop through user provided statistics.
2678 * benchtests/scripts/compare_bench.py (main): Include the --stats
2681 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2683 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2686 2018-12-12 Florian Weimer <fweimer@redhat.com>
2688 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2689 clause to copyright header.
2691 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2694 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2695 registers saved in the stack frame.
2696 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2697 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2699 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2701 * include/bits/monetary-ldbl.h: New file.
2702 * include/bits/printf-ldbl.h: Likewise.
2703 * include/bits/stdio-ldbl.h: Likewise.
2704 * include/bits/stdlib-ldbl.h: Likewise.
2705 * include/bits/syslog-ldbl.h: Likewise.
2706 * include/bits/wchar-ldbl.h: Likewise.
2708 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2710 * libio/libio.h: Remove redirection for _IO_vfprintf.
2712 2018-12-11 Andreas Schwab <schwab@suse.de>
2714 * Makerules: Remove all references to abilist-pattern.
2715 (update-all-abi): Simplify find expression.
2717 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2720 * math/auto-libm-test-in: Add new test case.
2721 * math/auto-libm-test-out-pow: Regenerated.
2722 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2724 2018-12-10 DJ Delorie <dj@redhat.com>
2727 * support/test-container.c: Move postclean step to before we
2730 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2732 * scripts/gen-as-const.py (main): Handle --python option.
2733 * scripts/gen-py-const.awk: Remove.
2734 * Makerules (py-const-script): Use gen-as-const.py.
2735 ($(py-const)): Likewise.
2736 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2737 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2738 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2739 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2740 ~PTHREAD_MUTEX_NO_ELISION_NP.
2741 * manual/README.pretty-printers: Update reference to
2744 * scripts/glibcextract.py: New file.
2745 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2746 or tempfile. Import glibcexctract.
2747 (compute_c_consts): Remove. Moved to glibcextract.py.
2748 (gen_test): Update reference to compute_c_consts.
2750 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2751 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2752 * sysdeps/unix/sysv/linux/Makefile
2753 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2754 Redirect stderr as well as stdout.
2756 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2759 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2760 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2761 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2762 ALWAYS_USE_VSYSCALL.
2763 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2764 ALWAYS_USE_VSYSCALL.
2765 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2766 ALWAYS_USE_VSYSCALL.
2768 2018-12-10 Florian Weimer <fweimer@redhat.com>
2771 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2772 offset instead of count for clarity. Fix typo in comment.
2773 (__old_getdents64): Keep track of previous offset. Use it to call
2775 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2776 that d_off is never zero.
2778 2018-12-10 Andreas Schwab <schwab@suse.de>
2780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2781 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2783 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2784 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2786 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2788 * timezone/private.h: Update from tzcode 2018g.
2789 * timezone/tzfile.h: Likewise.
2790 * timezone/tzselect.ksh: Likewise.
2791 * timezone/zdump.c: Likewise.
2792 * timezone/zic.c: Likewise.
2794 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2797 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2798 (do_test): Adjust buffer size and fix format.
2800 2018-12-07 DJ Delorie <dj@redhat.com>
2803 * malloc/tst-tcfree3.c: New.
2804 * malloc/Makefile: Add it.
2806 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2808 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2810 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2812 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2813 used as a mask for the mode argument of __vfscanf_internal and
2814 __vfwscanf_internal.
2815 * stdio-common/vfscanf-internal.c
2816 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2817 (__strtof128_internal): Define to __wcstof128_internal.
2818 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2819 __strtof128_internal or __wcstof128_internal when the format of
2820 long double is the same as _Float128.
2822 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2824 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2825 * posix/confstr.c (confstr): Rename to __confstr.
2826 (__confstr): Add hidden def.
2827 (confstr): Add weak alias for __confstr.
2828 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2831 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2833 * NEWS: Mention getcpu.
2834 * include/sched.h (__getcpu): New libc_hidden_proto.
2835 * manual/resource.texi: Document getcpu.
2836 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2837 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2838 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2839 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2840 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2841 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2842 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2843 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2844 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2845 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2846 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2847 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2848 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2850 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2851 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2852 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2861 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
2862 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2863 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2864 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2865 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2866 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2867 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2868 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2869 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
2870 * sysdeps/unix/sysv/linux/getcpu.c: New file.
2871 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
2874 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2876 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
2878 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
2880 2018-12-07 Florian Weimer <fweimer@redhat.com>
2883 * posix/Makefile (routines): Add spawn_faction_addfchdir.
2884 * posix/Versions (GLIBC_2.29): Export
2885 posix_spawn_file_actions_addfchdir_np.
2886 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
2887 * posix/spawn_faction_destroy.c
2888 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
2889 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
2890 and the field action.fchdir_action.
2891 * posix/tst-spawn-chdir.c (add_chdir): New function.
2892 (do_test): Add do_fchdir loop. Call add_chdir.
2893 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
2894 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2895 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2896 posix_spawn_file_actions_addfchdir_np.
2897 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2899 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2901 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2902 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2904 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2906 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2908 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2910 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2912 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2914 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2915 (GLIBC_2.29): Likewise.
2916 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2917 (GLIBC_2.29): Likewise.
2918 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2919 (GLIBC_2.29): Likewise.
2920 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2921 (GLIBC_2.29): Likewise.
2922 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2925 (GLIBC_2.29): Likewise.
2926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2927 (GLIBC_2.29): Likewise.
2928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2929 (GLIBC_2.29): Likewise.
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2931 (GLIBC_2.29): Likewise.
2932 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2934 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2936 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2938 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2939 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2941 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2943 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2945 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2948 2018-12-06 Joseph Myers <joseph@codesourcery.com>
2950 * manual/texinfo.tex: Update to version 2018-09-21.20 with
2951 trailing whitespace removed.
2952 * scripts/config.guess: Update to version 2018-11-28.
2953 * scripts/config.sub: Update to version 2018-11-28.
2954 * scripts/install-sh: Update to version 2018-03-11.20.
2955 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
2956 * scripts/move-if-change: Update to version 2018-03-07 03:47.
2958 2018-12-07 Florian Weimer <fweimer@redhat.com>
2962 * inet/tst-if_index-long.c: New file.
2963 * inet/Makefile (tests): Add tst-if_index-long.
2965 2018-12-07 Florian Weimer <fweimer@redhat.com>
2967 * support/check.h (support_record_failure_is_failed): Declare.
2968 * support/descriptors.h: New file.
2969 * support/support_descriptors.c: Likewise.
2970 * support/tst-support_descriptors.c: Likewise.
2971 * support/support_record_failure.c
2972 (support_record_failure_is_failed): New function.
2973 * support/Makefile (libsupport-routines): Add support_descriptors.
2974 (tests): Add tst-support_descriptors.
2976 2018-12-05 Zack Weinberg <zackw@panix.com>
2977 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2979 * stdio-common/vfprintf-internal.c
2980 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
2981 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
2982 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
2983 and __no_long_double.
2984 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
2985 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
2986 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
2987 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
2988 and __nldbl_*syslog* functions.
2989 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
2990 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
2991 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
2992 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
2993 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
2994 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
2995 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
2996 (__nldbl_vwprintf, __nldbl_wprintf):
2997 Directly call the appropriate __v*printf_internal routine, passing
2998 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3000 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3001 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3002 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3003 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3004 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3005 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3006 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3007 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3008 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3009 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3010 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3011 (__nldbl_syslog, __nldbl_vsyslog):
3012 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3013 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3015 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3018 2018-12-05 Zack Weinberg <zackw@panix.com>
3019 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3022 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3023 Moved here from debug/vsprintf_chk.c.
3024 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3025 and completion logic for the strfile to match exactly what
3026 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3027 _IO_str_init_static_internal instead of maxlen-1.
3028 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3029 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3030 __vsprintf_internal.
3032 * debug/vsprintf_chk.c (__vsprintf_chk)
3033 * debug/sprintf_chk.c (__sprintf_chk):
3034 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3035 'flags' argument is positive, and slen as maxlen. No need to lock
3036 the FILE and/or construct a temporary FILE. Minimize and normalize
3037 header inclusions and variable names. Do not libc_hidden_def anything.
3039 * debug/asprintf_chk.c (__asprintf_chk)
3040 * debug/dprintf_chk.c (__dprintf_chk)
3041 * debug/fprintf_chk.c (__fprintf_chk)
3042 * debug/fwprintf_chk.c (__fwprintf_chk)
3043 * debug/printf_chk.c (__printf_chk)
3044 * debug/snprintf_chk.c (__snprintf_chk)
3045 * debug/swprintf_chk.c (__swprintf_chk)
3046 * debug/vasprintf_chk.c (__vasprintf_chk)
3047 * debug/vdprintf_chk.c (__vdprintf_chk)
3048 * debug/vfprintf_chk.c (__vfprintf_chk)
3049 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3050 * debug/vprintf_chk.c (__vprintf_chk)
3051 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3052 * debug/vswprintf_chk.c (__vswprintf_chk)
3053 * debug/vwprintf_chk.c (__vwprintf_chk)
3054 * debug/wprintf_chk.c (__wprintf_chk):
3055 Directly call the corresponding vxxprintf_internal function, passing
3056 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3057 the FILE and/or construct a temporary FILE. Minimize and normalize
3058 header inclusions and variable names. Do not libc_hidden_def anything.
3060 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3061 __obstack_vprintf_internal.
3062 (__obstack_vprintf_chk): Convert into a wrapper that calls
3063 __obstack_vprintf_internal (these two functions already had the
3064 same code) and move to new file...
3065 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3067 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3068 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3069 * debug/Makefile (routines): Add vobprintf_chk.
3071 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3072 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3073 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3074 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3075 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3076 (__nldbl___obstack_vfprintf_chk):
3077 Directly call the corresponding vxxprintf_internal function,
3078 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3079 duplicate comparison of slen with 0 or maxlen from the corresponding
3080 non-__nldbl function.
3082 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3083 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3084 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3085 Remove libc_hidden_proto.
3087 * stdio-common/vfprintf-internal.c
3088 (__vfprintf_internal, __vfwprintf_internal):
3089 Do not check _IO_FLAGS2_FORTIFY.
3090 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3091 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3092 a comment explaining why it has the maxlen argument.
3093 (_IO_acquire_lock_clear_flags2_fct): Remove.
3094 (_IO_acquire_lock_clear_flags2): Remove.
3095 (_IO_release_lock): Remove conditional statement which will
3097 (_IO_acquire_lock): Remove variable which is now unused.
3098 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3099 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3101 * stdio-common/Makefile (tests): Add tst-bz11319 and
3102 tst-bz11319-fortify2.
3103 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3104 * stdio-common/tst-bz11319-fortify2.c: New file.
3105 * stdio-common/tst-bz11319.c: Likewise.
3107 2018-12-05 Zack Weinberg <zackw@panix.com>
3108 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3110 * misc/syslog.c: Include libioP.h, not iolibio.h.
3111 (__vsyslog_internal): New function with the former body of
3112 __vsyslog_chk; takes mode_flags argument same as
3113 __v*printf_internal. Call __vfprintf_internal directly.
3115 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3116 Remove libc_hidden_def.
3117 (__syslog, __syslog_chk): Use __vsyslog_internal.
3118 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3120 * include/sys/syslog.h: Add multiple inclusion guard.
3121 Add prototype for __vsyslog_internal.
3122 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3124 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3125 Use __vsyslog_internal.
3127 2018-12-05 Zack Weinberg <zackw@panix.com>
3128 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3130 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3131 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3132 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3134 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3135 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3137 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3138 Include wctype.h here if COMPILE_WPRINTF is defined.
3139 Define __vfprintf_internal or __vfwprintf_internal, depending
3141 Temporarily, on entry to this function, update mode_flags
3142 according to the environmental settings corresponding to
3143 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3144 Throughout, check mode_flags instead of __ldbl_is_dbl and
3145 _IO_FLAGS2_FORTIFY on the destination FILE.
3146 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3147 Include vfprintf-internal.c. Don't include wctype.h.
3148 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3149 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3151 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3152 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3154 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3156 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3157 and add mode_flags argument; use __vfprintf_internal.
3158 (__vdprintf): New function. Alias vdprintf to this.
3159 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3160 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3161 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3162 (__obstack_printf): Use __obstack_printf_internal.
3163 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3164 public aliases __vsnprintf and vsnprintf.
3165 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3167 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3168 public aliases _IO_vsprintf and vsprintf.
3169 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3170 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3171 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3172 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3173 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3175 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3176 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3177 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3178 * stdio-common/printf.c: Use __vfprintf_internal.
3180 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3181 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3182 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3184 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3185 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3186 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3187 __vfwprintf_internal.
3189 * libio/libio.h: Remove libc_hidden_proto and declaration for
3191 Remove declaration of _IO_vfwprintf.
3192 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3194 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3196 * include/stdio.h: Add prototype for __vasprintf.
3197 (__vsnprintf): Remove declaration, because there are no more
3199 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3200 declaration, because there are no more internal calls.
3202 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3203 __vsnprintf_internal, instead of _IO_vsnprintf.
3204 * argp/argp-help.c (__argp_error, __argp_failure): Use
3205 __vasprintf_internal, instead of _IO_vasprintf.
3206 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3207 redefine, because there are no more internal calls.
3209 2018-12-05 Zack Weinberg <zackw@panix.com>
3210 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3212 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3213 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3214 Include libio/strfile.h instead of libioP.h.
3215 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3216 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3217 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3218 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3219 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3220 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3221 necessary. Do not set __no_long_double. Normalize variable names.
3222 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3223 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3224 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3225 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3226 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3227 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3228 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3229 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3230 Do not set __no_long_double. Normalize variable names.
3232 2018-12-05 Zack Weinberg <zackw@panix.com>
3233 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3235 * stdio-common/isoc99_scanf.c
3236 * stdio-common/isoc99_fscanf.c
3237 * stdio-common/isoc99_sscanf.c
3238 * stdio-common/isoc99_vscanf.c
3239 * stdio-common/isoc99_vfscanf.c
3240 * stdio-common/isoc99_vsscanf.c
3241 * wcsmbs/isoc99_wscanf.c
3242 * wcsmbs/isoc99_fwscanf.c
3243 * wcsmbs/isoc99_swscanf.c
3244 * wcsmbs/isoc99_vwscanf.c
3245 * wcsmbs/isoc99_vfwscanf.c
3246 * wcsmbs/isoc99_vswscanf.c:
3247 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3248 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3249 No need to lock and unlock the FILE passed to that function.
3251 * stdio-common/vfscanf-internal.c
3252 (__vfscanf_internal, __vfwscanf_internal):
3253 Don't look at _IO_FLAGS2_SCANF_STD.
3254 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3255 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3256 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3258 2018-12-05 Zack Weinberg <zackw@panix.com>
3259 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3261 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3262 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3263 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3264 * libio/strfile.h: Add multiple inclusion guard.
3265 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3267 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3268 consistency with the other version of this file.
3269 (ldbl_compat_symbol): New macro.
3270 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3273 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3274 Define __vfscanf_internal or __vfwscanf_internal, depending on
3275 COMPILE_WSCANF; don't define any other public symbols.
3276 Remove errval and code to set errp.
3277 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3278 as the mode_flags argument.
3279 (encode_error, conv_error, input_error): Don't set errval.
3280 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3281 Include vfscanf-internal.c.
3282 * stdio-common/vfscanf.c: New file defining the public entry
3283 point vfscanf, which calls __vfscanf_internal.
3284 * stdio-common/vfwscanf.c: New file defining the public entry
3285 point vfwscanf, which calls __vfwscanf_internal.
3287 * stdio-common/iovfscanf.c: New file.
3288 * stdio-common/iovfwscanf.c: Likewise.
3290 * stdio-common/Makefile (routines): Add vfscanf-internal,
3291 vfwscanf-internal, iovfscanf, iovfwscanf.
3292 * stdio-common/Versions: Mention GLIBC_2.29, so that
3293 it can be used in SHLIB_COMPAT expressions.
3294 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3295 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3296 Call __vfscanf_internal, instead of _IO_vfscanf.
3297 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3299 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3302 * libio/iovsscanf.c: Clean up includes, when possible. Use
3303 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3304 __vfscanf_internal or __vfwscanf_internal directly.
3305 * libio/iovswscanf.c: Likewise.
3306 * libio/swscanf.c: Likewise.
3307 * libio/vscanf.c: Likewise.
3308 * libio/vwscanf.c: Likewise.
3309 * libio/wscanf.c: Likewise.
3310 * stdio-common/isoc99_fscanf.c: Likewise.
3311 * stdio-common/isoc99_scanf.c: Likewise.
3312 * stdio-common/isoc99_sscanf.c: Likewise.
3313 * stdio-common/isoc99_vfscanf.c: Likewise.
3314 * stdio-common/isoc99_vscanf.c: Likewise.
3315 * stdio-common/isoc99_vsscanf.c: Likewise.
3316 * stdio-common/scanf.c: Likewise.
3317 * stdio-common/sscanf.c: Likewise.
3318 * wcsmbs/isoc99_fwscanf.c: Likewise.
3319 * wcsmbs/isoc99_swscanf.c: Likewise.
3320 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3321 * wcsmbs/isoc99_vswscanf.c: Likewise.
3322 * wcsmbs/isoc99_vwscanf.c: Likewise.
3323 * wcsmbs/isoc99_wscanf.c: Likewise.
3325 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3328 (__tz_compute): Replace time_t with __time64_t.
3329 (__tz_convert): Replace time_t* with __time64_t.
3330 (__offtime): Replace time_t* with __time64_t.
3332 (__gmtime_r): Adjust call to __tz_convert.
3335 (__localtime_r): Likewise.
3336 (localtime): Likewise.
3337 * time/offtime.c: Replace time_t with __time64_t.
3338 * time/tzset.c: Likewise.
3340 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3342 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3343 dynamic linker unless [$(run-built-tests) = yes].
3345 2018-12-03 DJ Delorie <dj@delorie.com>
3347 * support/test-container.c (check_for_unshare_hints): New.
3348 (main): Call it if unshare fails. Add support for "su" scriptlet
3351 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3353 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3354 'START' to indicate that start text should be output.
3355 (gen_test): Likewise.
3356 (main): Generate 'START' for first symbol or '--' line, or at end
3357 of input if not previously generated.
3359 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3362 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3363 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3364 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3365 ALWAYS_USE_VSYSCALL.
3367 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3370 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3373 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3376 * locale/programs/localedef.c: Declare boolean hard_links default true.
3377 (options): Add --no-hard-links option.
3378 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3379 * locale/programs/localedef.h: Declare prototype for hard_links.
3380 * locale/programs/locfile.c (write_locale_data): Don't use hard
3381 links if hard_links is false.
3383 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3385 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3387 (__cache_sysconf): Likewise.
3388 (init_cacheinfo): Likewise.
3389 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3390 populate COMMON_CPUID_INDEX_80000007 and
3391 COMMON_CPUID_INDEX_80000008.
3392 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3393 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3394 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3395 (init_cpu_features): Use _Static_assert on
3396 index_arch_Fast_Unaligned_Load.
3397 __get_cpuid_registers and __get_arch_feature. Updated for
3398 cpu_features_basic. Set stepping in cpu_features.
3399 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3400 (FEATURE_INDEX_2): New.
3401 (FEATURE_INDEX_MAX): Changed to enum.
3402 (COMMON_CPUID_INDEX_D_ECX_1): New.
3403 (COMMON_CPUID_INDEX_80000007): Likewise.
3404 (COMMON_CPUID_INDEX_80000008): Likewise.
3405 (cpuid_registers): Likewise.
3406 (cpu_features_basic): Likewise.
3407 (CPU_FEATURE_USABLE): Likewise.
3408 (bit_arch_XXX_Usable): Likewise.
3409 (cpu_features): Use cpuid_registers and cpu_features_basic.
3410 (bit_arch_XXX): Reweritten.
3411 (bit_cpu_XXX): Likewise.
3412 (index_cpu_XXX): Likewise.
3413 (reg_XXX): Likewise.
3414 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3416 (CHECK_CPU_FEATURE): New.
3417 (CHECK_CPU_FEATURE_USABLE): Likewise.
3418 (cpu_kinds): Likewise.
3419 (do_test): Print vendor, family, model and stepping. Check
3420 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3421 (TEST_FUNCTION): Removed.
3422 Include <support/test-driver.c> instead of
3423 "../../test-skeleton.c".
3424 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3425 Check POPCNT instead of POPCOUNT.
3426 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3428 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3430 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3431 there is no element in `consts'.
3433 2018-12-01 Florian Weimer <fweimer@redhat.com>
3435 * support/support_capture_subprocess.c
3436 (support_capture_subprocess): Check that pipe descriptors have
3437 expected values. Close original pipe descriptors in subprocess.
3439 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3442 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3443 attr with __pthread_default_barrierattr.
3444 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3445 attr with __pthread_default_condattr.
3446 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3447 attr with __pthread_default_mutexattr.
3448 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3449 attr with __pthread_default_rwlockattr.
3451 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3453 * manual/tunables.texi (POSIX Thread Tunables): New node.
3454 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3455 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3456 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3457 __pthread_tunables_init.
3458 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3459 (max_adaptive_count): Define.
3460 * nptl/pthread_mutex_conf.c: New file.
3461 * nptl/pthread_mutex_conf.h: New file.
3462 * sysdeps/generic/adaptive_spin_count.h: New file.
3463 * sysdeps/nptl/dl-tunables.list: New file.
3464 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3465 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3466 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3469 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3472 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3473 * stdlib/on_exit.c (__on_exit): Likewise.
3474 * stdlib/Makefile (tests): Add tst-bz20544.
3475 * stdlib/tst-bz20544.c: New test.
3477 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3480 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3481 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3484 2018-11-30 Florian Weimer <fweimer@redhat.com>
3486 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3487 Extend error logging.
3488 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3491 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3493 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3494 __sigismember instead of sigismember.
3495 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3496 cancel_handler): New definitions.
3497 (do_system): Use posix_spawn instead of fork and execl and remove
3499 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3500 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3501 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3502 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3503 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3504 * sysdeps/unix/sysv/linux/system.c: Likewise.
3508 * NEWS: Add new semantic for atfork with popen and system.
3509 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3512 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3515 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3516 modification order when accessing reloc_result->addr.
3517 * include/link.h (reloc_result): Add field init.
3518 * nptl/Makefile (tests): Add tst-audit-threads.
3519 (modules-names): Add tst-audit-threads-mod1 and
3520 tst-audit-threads-mod2.
3521 Add rules to build tst-audit-threads.
3522 * nptl/tst-audit-threads-mod1.c: New file.
3523 * nptl/tst-audit-threads-mod2.c: Likewise.
3524 * nptl/tst-audit-threads.c: Likewise.
3525 * nptl/tst-audit-threads.h: Likewise.
3527 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3529 * scripts/gen-as-const.py: New file.
3530 * scripts/gen-as-const.awk: Remove.
3531 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3533 ($(objpfx)test-as-const-%.c): Likewise.
3535 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3537 * elf/dl-exception.c: Include <_itoa.h>.
3539 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3541 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3542 returned by __f_setlk.
3544 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3545 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3547 * elf/Makefile (tests-internal): Add tst-create_format1.
3548 * elf/dl-exception.c (_dl_exception_create_format): Support
3550 * elf/tst-create_format1.c: New file.
3552 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3554 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3555 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3557 * argp/argp-help.c (__argp_failure): Likewise.
3559 2018-11-29 Mao Han <han_mao@c-sky.com>
3561 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3562 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3563 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3564 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3565 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3566 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3567 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3568 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3569 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3570 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3571 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3572 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3573 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3574 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3575 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3576 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3577 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3578 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3579 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3580 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3581 (R_CKCORE_TLS_TPOFF32): New defines.
3583 2018-11-29 Florian Weimer <fweimer@redhat.com>
3585 * posix/Makefile (before-compile): Remove testcases.h and
3587 (generated): Add testcases.h and ptestcases.h.
3588 (testcases.h, ptestcases.h): Move to $(objpfx).
3589 (runtests.o): Add dependency on testcases.h.
3590 (runptests.o): Add dependency on ptestcases.h.
3591 * posix/testcases.h, posix/ptestcases.h: Remove files.
3592 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3593 not touch posix/testcases.h and posix/ptestcases.h.
3595 2018-11-28 Florian Weimer <fweimer@redhat.com>
3597 support: Add signal support to support_capture_subprocess_check.
3598 * support/capture_subprocess.h (support_capture_subprocess_check):
3599 Adjust comment and rename parameter.
3600 * support/support_capture_subprocess_check.c
3601 (print_actual_status): New function.
3602 (support_capture_subprocess_check): Support negative
3603 status_or_signal. Call print_actual_status.
3604 * support/tst-support_capture_subprocess.c (do_test): Call
3605 support_capture_subprocess_check.
3606 * libio/tst-vtables-common.c (termination_status)
3607 (init_termination_status): Remove.
3608 (check_for_termination): Adjust support_capture_subprocess_check
3610 (do_test): Remove call to init_termination_status.
3612 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3614 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3615 source directory instead of a copy.
3616 (CommandList.create_copy_dir): Remove.
3618 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3620 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3622 2018-11-28 Florian Weimer <fweimer@redhat.com>
3624 * support/support.h (support_quote_string): Do not use str
3627 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3629 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3630 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3632 2018-11-27 Florian Weimer <fweimer@redhat.com>
3634 * support/support.h (support_quote_string): Declare.
3635 * support/support_quote_string.c: New file.
3636 * support/tst-support_quote_string.c: Likewise.
3637 * support/Makefile (libsupport-routines): Add
3638 support_quote_string.
3639 (tests): Add tst-support_quote_string.
3641 2018-11-27 Florian Weimer <fweimer@redhat.com>
3645 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3646 descriptor leak in case of ENODEV error.
3648 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3651 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3652 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3653 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3655 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3657 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3658 Error for unknown lines.
3660 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3662 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3663 Touch additional files.
3665 2018-11-26 Florian Weimer <fweimer@redhat.com>
3668 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3671 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3674 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3675 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3676 SHARED. Include sysdep.h.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3678 ALWAYS_USE_VSYSCALL.
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3680 ALWAYS_USE_VSYSCALL.
3682 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3685 * nptl/Makefile (tests-static): Add tst-cond11-static.
3687 * nptl/tst-cond11-static.c: New File.
3688 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3689 tst-affinity-static.
3691 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3693 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3694 (USE_VSYSCALL): Likewise.
3695 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3696 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3698 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3700 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3703 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3706 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3707 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3710 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3712 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3713 (tst-cet-legacy-1a-ARGS): New.
3714 ($(objpfx)tst-cet-legacy-1a): New target.
3715 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3717 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3719 * conform/conformtest.py (CompileSubTest.__init__): Set
3720 self.run_early to False.
3721 (ExecuteSubTest.__init__): Likewise.
3722 (HeaderTests.run): Try running all non-optional, non-XFAILed
3723 compilation tests in a single execution of the compiler.
3725 * conform/conformtest.py (CompileSubTest): New class.
3726 (ExecuteSubTest): Likewise.
3727 (ElementTest.run): Rename to gen_subtests. Append tests to
3728 self.subtests instead of running them.
3729 (ConstantTest.run): Likewise.
3730 (SymbolTest.run): Likewise.
3731 (TypeTest.run): Likewise.
3732 (TagTest.run): Likewise.
3733 (FunctionTest.run): Likewise.
3734 (VariableTest.run): Likewise.
3735 (MacroFunctionTest.run): Likewise.
3736 (MacroStrTest.run): Likewise.
3737 (HeaderTests.handle_test_line): Generate subtests for tests.
3738 (HeaderTests.run): Run subtests for tests.
3740 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3742 * math/Versions (GLIBC_2.29): Add pow.
3743 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3745 * math/w_pow.c: New file.
3746 * sysdeps/i386/fpu/w_pow.c: New file.
3747 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3748 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3749 and add necessary aliases.
3750 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3751 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3752 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3753 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3754 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3755 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3756 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3757 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3758 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3759 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3760 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3761 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3762 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3763 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3764 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3769 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3770 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3771 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3772 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3773 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3774 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3775 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3776 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3778 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3779 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3780 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3782 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3784 * math/Versions (GLIBC_2.29): Add log2.
3785 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3787 * math/w_log2.c: New file.
3788 * sysdeps/i386/fpu/w_log2.c: New file.
3789 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3790 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3791 and add necessary aliases.
3792 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3793 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3794 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3795 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3796 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3797 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3798 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3799 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3800 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3801 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3802 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3803 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3804 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3805 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3806 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3811 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3812 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3813 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3814 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3815 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3816 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3817 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3819 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3821 * math/Versions (GLIBC_2.29): Add log.
3822 * math/w_log_compat.c (__log_compat): Change to versioned compat
3824 * math/w_log.c: New file.
3825 * sysdeps/i386/fpu/w_log.c: New file.
3826 * sysdeps/ia64/fpu/e_log.S: Update.
3827 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3828 and add necessary aliases.
3829 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3830 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3831 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3832 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3833 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3834 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3835 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3836 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3837 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3838 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3839 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3840 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3841 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3842 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3843 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3848 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3849 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3850 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3851 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3852 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3853 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3854 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3855 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
3857 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
3858 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
3859 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
3860 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
3862 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3864 * math/Versions (GLIBC_2.29): Add exp and exp2.
3865 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
3866 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
3867 * math/w_exp_compat.c (__exp_compat): Likewise.
3868 * math/w_exp.c: New file.
3869 * math/w_exp2.c: New file.
3870 * sysdeps/i386/fpu/w_exp.c: New file.
3871 * sysdeps/i386/fpu/w_exp2.c: New file.
3872 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
3873 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3874 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
3875 and add necessary aliases.
3876 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
3877 and add necessary aliases.
3878 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
3879 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
3880 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
3881 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
3882 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3883 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3884 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3885 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3886 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3887 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3888 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3889 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3890 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3891 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3892 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3893 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3894 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3899 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3900 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3901 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3902 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3903 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3904 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3905 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3906 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
3907 (__ieee754_exp): Rename to __exp.
3908 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
3909 (__ieee754_exp): Rename to __exp.
3910 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
3911 (__ieee754_exp): Rename to __exp.
3912 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
3914 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
3916 2018-11-20 DJ Delorie <dj@redhat.com>
3918 * malloc/malloc.c (tcache_entry): Add key field.
3919 (tcache_put): Set it.
3920 (tcache_get): Likewise.
3921 (_int_free): Check for double free in tcache.
3922 * malloc/tst-tcfree1.c: New.
3923 * malloc/tst-tcfree2.c: New.
3924 * malloc/Makefile: Run the new tests.
3925 * manual/probes.texi: Document memory_tcache_double_free probe.
3927 * dlfcn/dlerror.c (check_free): Prevent double frees.
3929 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
3931 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
3933 2018-11-20 Joseph Myers <joseph@codesourcery.com>
3935 * conform/conformtest.py (ElementTest.run): Use unique identifiers
3936 in tests. Use names for format arguments.
3937 (ConstantTest.run): Likewise.
3938 (SymbolTest.run): Likewise.
3939 (TypeTest.run): Likewise.
3940 (TagTest.run): Likewise.
3941 (FunctionTest.run): Likewise.
3942 (VariableTest.run): Likewise.
3943 (MacroFunctionTest.run): Likewise.
3944 (MacroStrTest.run): Likewise.
3945 (HeaderTests.__init__): Set self.num_tests.
3946 (HeaderTests.handle_test_line): Set test.num. Increment
3949 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
3951 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
3952 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
3955 2018-11-19 Mao Han <han_mao@c-sky.com>
3957 * scripts/config.guess: Update to version 2018-08-29.
3958 * scripts/config.sub: Update to version 2018-08-29.
3960 2018-11-19 Florian Weimer <fweimer@redhat.com>
3962 support: Print timestamps in timeout handler.
3963 * support/support_test_main.c (print_timestamp): New function.
3964 (signal_handler): Use it to print the termination time and the
3965 time of the last write to standard output.
3967 2018-11-16 Zack Weinberg <zackw@panix.com>
3968 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3970 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
3971 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
3973 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
3974 and add flags argument. Check flags instead of __ldbl_is_dbl when
3975 deciding whether to set is_long_double.
3976 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
3977 passing zero for flags argument.
3978 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
3980 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3981 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
3982 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
3983 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
3984 variable names. Remove libc_hidden_def/libc_hidden_proto from
3985 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
3986 longer called from within the library.
3987 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
3988 for __nldbl___vstrfmon_l, declare it explicitly.
3990 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
3992 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
3994 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
3996 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
3997 F_SETLK64, F_SETLKW64, respectively.
3998 * sysdeps/mach/hurd/f_setlk.c: New file.
3999 * sysdeps/mach/hurd/f_setlk.h: New file.
4000 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4002 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4003 (__libc_fcntl): Move non-flock operations to...
4004 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4005 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4007 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4009 mktime: DEBUG_MKTIME cleanup
4010 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4011 And it’s no longer needed now that glibc and Gnulib both have
4012 their own testing mechanisms for mktime.
4013 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4015 mktime: fix non-EOVERFLOW errno handling
4017 mktime was not properly reporting failures when the underlying
4018 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4019 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4020 The problem could happen on non-glibc platforms, with Gnulib.
4021 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4022 (tm_diff): ... this simpler function, which does not change errno.
4023 All callers changed to deal with errno themselves.
4024 (ranged_convert, __mktime_internal): Return failure immediately if
4025 the underlying function reports any failure other than EOVERFLOW.
4026 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4029 mktime: fix bug with Y2038 DST transition
4031 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4032 mishandle a DST transition that jumps over the Y2038 boundary.
4033 No such DST transitions are known so this is only a theoretical
4034 bug, but we might as well do things right.
4036 mktime: make more room for overflow
4038 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4039 This is so that we can add tm_diff results to a previous guess,
4040 which will be useful in a later patch.
4042 mktime: simplify offset guess
4044 * time/mktime.c (__mktime_internal): Omit excess precision.
4046 mktime: new test for mktime failure
4048 Based on a test suggested by Albert Aribaud in:
4049 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4050 * time/Makefile (tests): Add bug-mktime4.
4051 * time/bug-mktime4.c: New file.
4053 mktime: fix EOVERFLOW bug
4055 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4056 Include libc-config.h, not config.h, for __set_errno.
4057 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4059 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4061 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4062 __attribute_copy__ to copy attributes from name. Drop static qualifier
4063 to avoid warnings about leaf attribute not having effect on static
4066 2018-11-13 Florian Weimer <fweimer@redhat.com>
4068 * malloc/malloc.c (fastbin_push_entry): New function.
4069 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4070 (REMOVE_FB): Remove macro.
4071 (_int_malloc): Use fastbin_pop_entry and reindent.
4072 (_int_free): Use fastbin_push_entry.
4073 (malloc_consolidate): Use atomic_exchange_acquire.
4075 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4077 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4078 alias attribute, not with strong_alias.
4080 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4081 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4082 with additional parameter thread.
4083 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4084 in terms of __hidden_ver2.
4085 (hidden_tls_def): New macro.
4086 (libc_hidden_tls_def): Likewise.
4087 (rtld_hidden_tls_def): Likewise.
4088 (libm_hidden_tls_def): Likewise.
4089 (libmvec_hidden_tls_def): Likewise.
4090 (libresolv_hidden_tls_def): Likewise.
4091 (librt_hidden_tls_def): Likewise.
4092 (libdl_hidden_tls_def): Likewise.
4093 (libnss_files_hidden_tls_def): Likewise.
4094 (libnsl_hidden_tls_def): Likewise.
4095 (libnss_nisplus_hidden_tls_def): Likewise.
4096 (libutil_hidden_tls_def): Likewise.
4097 (libutil_hidden_tls_def): Likweise.
4098 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4099 libc_hidden_tls_def.
4100 (__sim_disabled_exceptions_thread): Likewise.
4101 (__sim_round_mode_thread): Likewise.
4103 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4104 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4105 copy attributes from name.
4107 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4109 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4110 Use __attribute_copy__ to copy attributes from name.
4112 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4113 with __hidden_ver1 call.
4114 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4115 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4116 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4117 (__cosf): Do not declare here.
4118 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4119 (__sincosf): Do not declare here.
4120 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4121 (__sinf): Do not declare here.
4123 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4124 (__BIG_ENDIAN): Likewise.
4125 (__BYTE_ORDER): Likewise.
4126 (strong_alias): Likewise.
4127 (_strong_alias): Likewise.
4129 2018-11-12 Florian Weimer <fweimer@redhat.com>
4131 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4132 function. Move after the definition of in_smallbin_range. Do not
4133 use __builtin_expect for paths that lead to a noreturn function.
4134 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4135 because it is unclear whether this is in fact an unlikely
4137 (_int_malloc, _int_free): Adjust.
4138 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4140 * malloc/arena.c (heap_trim): Likewise.
4142 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4144 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4145 it, free it if needed.
4146 (reauthenticate): Test and use ccwdir.
4147 (child_init_port): In non-resetids case, test and use ccwdir.
4148 (child_chdir): New nested function to set ccwdir.
4149 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4150 * hurd/hurd/port.h (_hurd_port_move): New function.
4151 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4152 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4153 * hurd/Versions (_hurd_port_move): Export function.
4154 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4156 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4157 of dtablesize for allocating dtable_cloexec.
4159 2018-11-09 Martin Sebor <msebor@redhat.com>
4161 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4162 it's already defined.
4163 (_strong_alias): Use __attribute_copy__.
4164 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4165 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4166 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4167 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4168 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4169 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4170 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4171 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4172 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4173 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4174 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4175 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4176 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4177 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4178 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4179 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4180 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4181 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4182 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4184 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4186 * misc/tst-efgcvt.c: Include support/check.h and
4187 support/test-driver.c. Do not include test-skeleton.c.
4188 (error_count): Remove.
4189 (output_error): Replace increments to error_count with calls to
4190 support_record_failure.
4191 (output_r_error): Likewise.
4192 (special): Likewise.
4193 (do_test): Unconditionally return zero.
4194 (TEST_FUNCTION): Remove.
4196 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4198 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4200 ($(linknamespace-header-tests)): Likewise.
4202 * conform/conformtest.py: New file.
4203 * conform/conformtest.pl: Remove.
4204 * conform/GlibcConform.pm: Likewise.
4205 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4206 (KEYWORDS_C99): Likewise.
4207 (KEYWORDS): Likewise.
4208 * conform/Makefile ($(conformtest-header-tests)): Use
4209 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4210 option. Use --header instead of --headers.
4211 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4213 * conform/data/spawn.h-data: Likewise.
4214 * conform/data/fcntl.h-data (openat): Add space after function
4216 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4217 (wcscasecmp_l): Likewise.
4218 * conform/data/termios.h-data (c_cc): Add space after element
4221 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4223 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4224 instead of manually comparing and reporting mismatching strings.
4225 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4226 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4228 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4230 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4231 __ASSUME_SOCKETCALL.
4232 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4233 (__ASSUME_SOCKETCALL): Remove.
4234 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4235 (__ASSUME_SOCKETCALL): Likewise.
4236 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4237 (__ASSUME_SOCKETCALL): Likewise.
4238 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4239 (__ASSUME_SOCKETCALL): Likewise.
4240 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4241 (__ASSUME_SOCKETCALL): Likewise.
4242 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4243 (__ASSUME_SOCKETCALL): Likewise.
4244 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4245 (__ASSUME_SOCKETCALL): Likewise.
4247 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4250 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4251 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4252 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4253 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4254 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4257 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4260 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4262 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4265 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4266 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4267 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4268 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4270 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4272 * support/support_test_compare_string.c
4273 (support_test_compare_string): Fix printf format.
4275 2018-11-07 Florian Weimer <fweimer@redhat.com>
4277 Implement TEST_COMPARE_STRING.
4278 * support/check.h (TEST_COMPARE_STRING): Define.
4279 (support_test_compare_string): Declare.
4280 * support/Makefile (libsupport-routines): Add
4281 support_test_compare_string.
4282 (tests): Add tst-test_compare_string.
4283 * support/support_test_compare_string.c: New file.
4284 * support/tst-test_compare_string.c: Likewise.
4286 2018-11-07 Andreas Schwab <schwab@suse.de>
4289 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4290 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4293 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4296 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4297 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4298 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4299 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4302 2018-11-06 Florian Weimer <fweimer@redhat.com>
4305 * posix/Makefile (routines): Add spawn_faction_addchdir.
4306 (tests): Add tst-spawn-chdir.
4307 * posix/Versions (GLIBC_2.29): Add
4308 posix_spawn_file_actions_addchdir_np.
4309 * posix/spawn_faction_addchdir.c: New file.
4310 * posix/spawn_faction_destroy.c
4311 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4312 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4313 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4315 * posix/tst-spawn-chdir.c: New file.
4316 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4317 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4318 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4319 posix_spawn_file_actions_addchdir_np.
4320 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4322 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4324 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4325 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4327 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4329 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4331 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4333 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4335 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4337 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4338 (GLIBC_2.29): Likewise.
4339 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4340 (GLIBC_2.29): Likewise.
4341 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4342 (GLIBC_2.29): Likewise.
4343 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4344 (GLIBC_2.29): Likewise.
4345 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4348 (GLIBC_2.29): Likewise.
4349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4350 (GLIBC_2.29): Likewise.
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4352 (GLIBC_2.29): Likewise.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4354 (GLIBC_2.29): Likewise.
4355 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4357 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4359 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4361 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4362 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4364 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4366 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4368 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4371 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4373 * misc/Makefile (tests): Add tst-ldbl-error.
4374 * misc/tst-ldbl-error.c: New file.
4376 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4378 * misc/Makefile (tests): Add tst-ldbl-warn.
4379 * misc/tst-ldbl-warn.c: New file.
4381 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4383 * argp/Makefile (tests): Add tst-ldbl-argp.
4384 * argp/tst-ldbl-argp.c: New file.
4386 2018-11-05 Arjun Shankar <arjun@redhat.com>
4388 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4389 __gconv_path_elem and call __gconv_get_path unconditionally.
4391 2018-11-05 Andreas Schwab <schwab@suse.de>
4394 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4395 creating the first helper thread failed.
4397 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4399 * sysdeps/mach/hurd/msync.c: New file.
4401 2018-11-02 Florian Weimer <fweimer@redhat.com>
4403 * support/shell-container.c (copy_func): Call
4404 support_copy_file_range instead of copy_file_range to support
4405 cross-device copies.
4407 2018-11-02 Florian Weimer <fweimer@redhat.com>
4409 * support/test-container.c: Include <libc-pointer-arith.h> for
4412 2018-11-01 Zong Li <zong@andestech.com>
4414 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4415 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4416 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4417 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4419 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4420 variable to avoid overlap arguments.
4422 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4424 * posix/bug-regex22.c (main): Use puts with distinct error
4425 messages for unexpected success of re_compile_pattern, not printf
4426 with NULL argument to %s.
4428 * stdio-common/bug22.c: Include <libc-diag.h>.
4429 (do_test): Disable -Wformat-overflow= warnings around fprintf
4430 calls outputting more than INT_MAX characters.
4431 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4432 around printf call with NULL %s argument.
4435 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4436 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4438 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4439 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4440 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4441 (__ASSUME_SENDTO_SYSCALL): Likewise.
4442 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4443 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4445 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4446 (__ASSUME_CONNECT_SYSCALL): Likewise.
4447 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4448 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4449 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4451 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4453 [__LINUX_KERNEL_VERSION >= 0x040400]
4454 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4455 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4458 (setsockopt): Likewise.
4460 2018-11-01 Fredrik Noring <noring@nocrew.org>
4462 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4463 with the ISA override.
4465 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4467 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4470 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4472 * manual/errno.texi (EIEIO): Document how translators should
4473 translate the error message.
4474 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4475 printing trailing whitespaces refused by git.
4476 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4477 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4478 * hurd/Makefile (user-interfaces): Add pci.
4480 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4482 * conform/linknamespace.py: New file.
4483 * conform/linknamespace.pl: Remove file.
4484 * conform/Makefile ($(linknamespace-header-tests)): Use
4485 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4488 2018-10-30 Florian Weimer <fweimer@redhat.com>
4490 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4493 2018-10-30 Florian Weimer <fweimer@redhat.com>
4495 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4497 2018-10-30 Florian Weimer <fweimer@redhat.com>
4499 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4500 support_blob_repeat.
4502 2018-10-30 Florian Weimer <fweimer@redhat.com>
4504 Avoid spurious test failures in stdlib/test-bz22786.
4505 * support/Makefile (libsupport-routines): Add blob_repeat.
4506 (tests): Add tst-support_blob_repeat.
4507 * support/blob_repeat.h: New file.
4508 * support/blob_repeat.c: Likewise.
4509 * support/tst-support_blob_repeat.c: Likewise.
4510 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4511 support_blob_repeat_allocate.
4513 2018-10-30 Andreas Schwab <schwab@suse.de>
4516 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4517 Don't use tail call.
4518 * elf/tst-unwind-main.c: New file.
4519 * elf/Makefile (tests): Add tst-unwind-main.
4520 (CFLAGS-tst-unwind-main.c): Define.
4522 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4525 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4527 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4529 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4531 * conform/glibcconform.py: Do not import shutil.
4532 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4535 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4536 critic_missing for versions before 3.4.
4537 * configure: Regenerated.
4538 * manual/install.texi (Tools for Compilation): Document
4539 requirement for Python to build glibc.
4540 * INSTALL: Regenerated.
4541 * Rules [PYTHON]: Make code unconditional.
4542 * benchtests/Makefile [PYTHON]: Likewise.
4543 * conform/Makefile [PYTHON]: Likewise.
4544 * manual/Makefile [PYTHON]: Likewise.
4545 * math/Makefile [PYTHON]: Likewise.
4547 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4549 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4550 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4551 answer to interrupt_operation, return EIEIO instead of EINTR.
4552 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4553 _hurd_intr_rpc_msg_about_to global point to start of controlled
4554 assembly snippet. Make it check canceled flag.
4555 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4556 the _hurd_intr_rpc_msg_about_to point.
4557 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4558 issue, remove cancel flag check.
4560 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4562 * scripts/build-many-glibcs.py: Remove compatibility for missing
4563 os.cpu_count and re.fullmatch.
4565 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4568 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4569 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4570 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4572 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4574 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4577 2018-10-25 Florian Weimer <fweimer@redhat.com>
4581 XFAIL siginfo_t si_band conform test on sparc64.
4582 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4583 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4584 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4585 (conformtest-xfail-conds): Add sparc64-linux.
4586 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4588 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4590 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4592 * elf/elf.h (NT_MIPS_DSP): New macro.
4593 (NT_MIPS_FP_MODE): Likewise.
4595 2018-10-25 Zong Li <zong@andestech.com>
4597 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4598 name by adding the file extension (.so).
4600 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4602 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4603 (test-xfail-ISO11/threads.h/linknamespace,
4604 test-xfail-ISO11/threads.h/conform): Add.
4606 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4608 * math/gen-libm-test.py: Import os.
4609 (ALL_FLOATS_MANUAL): New constant.
4610 (ALL_FLOATS_SUFFIX): Likewise.
4611 (Ulps.all_functions): New function.
4612 (real_all_ulps): Likewise.
4613 (generate_err_table_sub): Likewise.
4614 (generate_err_table): Likewise.
4615 (main): Handle -s and -m options.
4616 * manual/libm-err-tab.pl: Remove.
4617 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4618 instead of libm-err-tab.pl.
4619 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4621 * manual/install.texi (Tools for Compilation): Document
4622 requirement for Python to build manual.
4623 * INSTALL: Regenerated.
4625 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4627 * bits/time64.h: New file.
4628 * include/time.h: Replace internal_time_t with __time64_t.
4629 * posix/bits/types (__time64_t): Add.
4630 * stdlib/Makefile: Add bits/time64.h to includes.
4631 * time/tzfile.c: Replace internal_time_t with __time64_t.
4633 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4635 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4636 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4637 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4638 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4639 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4641 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4642 * posix/spawn_faction_addclose.c
4643 (__posix_spawn_file_actions_addclose): Add hidden definition.
4644 * posix/spawn_faction_adddup2.c
4645 (__posix_spawn_file_actions_adddup2): Likewise.
4646 * posix/spawn_faction_destroy.c
4647 (__posix_spawn_file_actions_destroy): Likewise.
4648 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4650 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4651 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4652 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4654 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4655 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4658 2018-10-24 Andreas Schwab <schwab@suse.de>
4661 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4663 * elf/cache.c (print_cache): Likewise.
4665 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4667 * bits/timesize.h: New file.
4668 * stdlib/Makefile (headers): Add bits/timesize.h.
4669 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4670 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4671 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4672 (__SEM_PAD_AFTER_TIME): Likewise.
4673 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4674 (__SHM_PAD_AFTER_TIME): Likewise.
4675 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4676 (__MSQ_PAD_BEFORE_TIME): Likewise.
4677 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4678 (__SEM_PAD_BEFORE_TIME): Likewise.
4679 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4680 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4681 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4682 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4683 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4684 (__MSQ_PAD_BEFORE_TIME): Likewise.
4685 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4686 (__SEM_PAD_BEFORE_TIME): Likewise.
4687 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4688 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4689 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4690 (__MSQ_PAD_BEFORE_TIME): Likewise.
4691 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4692 (__SEM_PAD_BEFORE_TIME): Likewise.
4693 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4694 (__SHM_PAD_BEFORE_TIME): Likewise.
4695 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4696 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4697 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4699 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4701 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4702 USE_RDTSCP is defined.
4703 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4704 USE_RDTSCP is defined.
4706 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4708 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4712 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4713 independently of other flags.
4715 2018-10-23 Florian Weimer <fweimer@redhat.com>
4717 * time/tst-mktime2.c (N_STRINGS): Remove.
4718 (set_timezone): New function.
4719 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4720 (mktime_test1): Report localtime failure and check errno value.
4722 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4723 (do_test): Remove alarm call. Use set_timezone and array_length.
4725 2018-10-23 Andreas Schwab <schwab@suse.de>
4727 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4728 (__start_context): Use END instead of PSEUDO_END.
4730 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4732 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4735 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4739 * wcsmbs/c32rtomb.c: New file.
4740 * wcsmbs/mbrtoc32.c: Likewise.
4741 * wcsmbs/tst-c32-state.c: Likewise.
4742 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4743 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4744 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4745 (tests): Add tst-c32-state.
4746 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4749 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4751 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4752 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4754 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4757 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4758 pair and return 0 in that case, and use saved character to
4759 interpret following character.
4760 * wcsmbs/tst-c16-surrogate.c: New file.
4761 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4762 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4763 Depend on $(gen-locales)
4765 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4768 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4769 (struct siginfo_t): Use correct type for si_band.
4771 2018-10-19 Florian Weimer <fweimer@redhat.com>
4774 * resource/bits/types/struct_rusage.h (struct rusage): Update
4775 comment on struct. Remove extraneous field comment.
4777 2018-10-18 David S. Miller <davem@davemloft.net>
4779 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4780 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4781 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4782 sysdep_routines in subdir elf.
4783 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4784 version for __vdso_clock_gettime.
4785 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4787 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4788 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4790 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4792 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4794 * sysdeps/i386/init-arch.h: Removed.
4795 * sysdeps/i386/i586/init-arch.h: Likewise.
4796 * sysdeps/i386/i686/init-arch.h: Likewise.
4797 * sysdeps/i386/i686/hp-timing.h: Likewise.
4798 * sysdeps/x86_64/hp-timing.h: Likewise.
4799 * sysdeps/i386/isa.h: New file.
4800 * sysdeps/i386/i586/isa.h: Likewise.
4801 * sysdeps/i386/i686/isa.h: Likewise.
4802 * sysdeps/x86_64/isa.h: Likewise.
4803 * sysdeps/x86/hp-timing.h: New file.
4804 * sysdeps/x86/init-arch.h: Include <isa.h>.
4806 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4808 * math/libm-test-pow.inc (pow_test_data): Do not allow
4809 divide-by-zero exception for pow(+/- 0, -Inf).
4811 2018-10-17 Zack Weinberg <zackw@panix.com>
4813 * manual/job.texi (Job Control is Optional): Remove node, as
4814 job control has not been optional in quite some time.
4815 (Job Control): Mention briefly that systems older than
4816 POSIX.1-2001 might not support job control.
4817 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4818 defined on systems conforming to POSIX.1-2001.
4820 2018-10-17 Arjun Shankar <arjun@redhat.com>
4823 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4825 * (__gconv_read_conf): Mark function static.
4826 * (once): New static variable.
4827 * (__gconv_load_conf): New function.
4828 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4829 * iconv/gconv_db.c (once): Remove static variable.
4830 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4832 * (__gconv_find_transform): Likewise.
4833 * iconv/tst-iconv-mt.c: New test.
4834 * iconv/Makefile: Add tst-iconv_mt.
4836 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4840 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4841 (shmatt_t): Define as __syscall_ulong_t.
4842 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
4843 and [__SHM_PAD_AFTER_TIME].
4844 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
4845 Define shm_segsz and associated padding based on
4846 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
4847 Use __syscall_ulong_t instead of unsigned long int.
4848 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
4850 [__USE_MISC] (struct shm_info): Likewise.
4851 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
4852 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
4853 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
4854 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
4855 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
4856 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4857 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
4858 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
4859 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4860 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4861 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4865 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
4866 (SHMLBA): Remove macro.
4867 (__getpagesize): Remove function declaration.
4868 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
4870 (SHMLBA): Remove macro.
4871 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
4873 (SHMLBA): Remove macro.
4874 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
4876 (SHMLBA): Remove macro.
4877 (__getpagesize): Remove function declaration.
4878 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
4880 (SHMLBA): Remove macro.
4881 (__getshmlba): Remove function declaration.
4882 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
4883 (SHMLBA): Remove macro.
4884 (__getpagesize): Remove function declaration.
4885 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
4886 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
4887 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4888 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
4889 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
4890 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
4891 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
4892 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
4893 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
4894 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
4896 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
4899 * nptl/tst-mutex10.c: New File.
4900 * nptl/Makefile (tests): Add tst-mutex10.
4901 (tst-mutex10-ENV): New variable.
4902 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
4903 Ensure that elision path is used if elision is available.
4904 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
4906 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
4908 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
4909 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
4910 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
4911 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
4913 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
4914 (__pthread_mutex_cond_lock_adjust): Likewise.
4915 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4917 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
4918 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4919 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4920 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
4922 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4923 Use atomic_load_relaxed and atomic_store_relaxed.
4924 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
4925 Use atomic_store_relaxed.
4927 2018-10-17 Andreas Schwab <schwab@suse.de>
4929 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
4930 * crypt/badsalttest.c (TIMEOUT): Likewise.
4931 * crypt/sha256c-test.c (TIMEOUT): Likewise.
4932 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
4933 * io/test-lfs.c (TIMEOUT): Likewise.
4934 * libio/tst-atime.c (TIMEOUT): Likewise.
4935 * localedata/tst-leaks.c (TIMEOUT): Likewise.
4936 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
4937 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
4938 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
4939 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
4940 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
4941 * nptl/tst-cond11.c (TIMEOUT): Likewise.
4942 * nptl/tst-cond14.c (TIMEOUT): Likewise.
4943 * nptl/tst-cond15.c (TIMEOUT): Likewise.
4944 * nptl/tst-cond24.c (TIMEOUT): Likewise.
4945 * nptl/tst-cond25.c (TIMEOUT): Likewise.
4946 * nptl/tst-kill2.c (TIMEOUT): Likewise.
4947 * nptl/tst-kill3.c (TIMEOUT): Likewise.
4948 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
4949 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
4950 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
4951 * nptl/tst-once2.c (TIMEOUT): Likewise.
4952 * nptl/tst-once3.c (TIMEOUT): Likewise.
4953 * nptl/tst-once4.c (TIMEOUT): Likewise.
4954 * nptl/tst-robust8.c (TIMEOUT): Likewise.
4955 * nptl/tst-robust9.c (TIMEOUT): Likewise.
4956 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
4957 * nptl/tst-sem14.c (TIMEOUT): Likewise.
4958 * nptl/tst-sem6.c (TIMEOUT): Likewise.
4959 * nptl/tst-signal3.c (TIMEOUT): Likewise.
4960 * nptl/tst-spin4.c (TIMEOUT): Likewise.
4961 * nptl/tst-tls3.c (TIMEOUT): Likewise.
4962 * nptl/tst-tls4.c (TIMEOUT): Likewise.
4963 * posix/tst-chmod.c (TIMEOUT): Likewise.
4964 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
4965 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
4966 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
4967 * posix/tst-regex2.c (TIMEOUT): Likewise.
4968 * posix/tst-waitid.c (TIMEOUT): Likewise.
4969 * rt/tst-aio.c (TIMEOUT): Likewise.
4970 * rt/tst-aio10.c (TIMEOUT): Likewise.
4971 * rt/tst-aio4.c (TIMEOUT): Likewise.
4972 * rt/tst-aio5.c (TIMEOUT): Likewise.
4973 * rt/tst-aio6.c (TIMEOUT): Likewise.
4974 * rt/tst-aio64.c (TIMEOUT): Likewise.
4975 * rt/tst-aio7.c (TIMEOUT): Likewise.
4976 * rt/tst-aio9.c (TIMEOUT): Likewise.
4977 * rt/tst-clock.c (TIMEOUT): Likewise.
4978 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
4979 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
4980 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
4981 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
4982 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
4983 * rt/tst-timer4.c (TIMEOUT): Likewise.
4984 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
4985 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
4986 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
4987 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
4988 * time/tst-ftime.c (TIMEOUT): Likewise.
4989 * timezone/tst-tzset.c (TIMEOUT): Likewise.
4991 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4993 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
4994 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
4997 2018-10-15 Joseph Myers <joseph@codesourcery.com>
4999 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5001 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5002 instead of <bits/wordsize.h>.
5003 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5004 and [__SEM_PAD_AFTER_TIME].
5005 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5006 __syscall_ulong_t instead of unsigned long int.
5007 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5008 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5009 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5010 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5011 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5012 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5013 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5014 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5015 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5016 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5017 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5019 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5021 regex: simplify by using intprops.h
5023 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5024 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5025 intprops.h defines them.
5027 regex: __builtin_expect → __glibc_unlikely
5029 This refactoring was prompted by a problem when the regex code is
5030 used as part of Gnulib and when the builder’s compiler does not grok
5031 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5032 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5033 Although this refactoring does not fix the problem directly,
5034 we might as well have Gawk use the now-preferred glibc style for when
5035 __builtin_expect is unavailable.
5036 * posix/regex_internal.h (BE): Remove.
5037 All uses replaced by __glibc_unlikely or __glibc_likely.
5039 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5043 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5044 instead of <bits/wordsize.h>.
5045 (msgqnum_t): Define as __syscall_ulong_t.
5046 (msglen_t): Likewise.
5047 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5048 and [__MSQ_PAD_AFTER_TIME].
5049 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5050 __syscall_ulong_t instead of unsigned long int.
5051 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5052 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5053 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5054 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5055 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5056 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5057 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5058 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5059 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5060 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5061 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5063 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5065 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5066 (struct shmid_ds): Condition padding after time fields on
5068 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5069 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5070 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5072 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5073 (struct semid_ds): Condition padding after time fields on
5075 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5076 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5077 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5078 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5080 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5081 (struct msqid_ds): Condition padding after time fields on
5083 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5084 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5085 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5086 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5088 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5090 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5092 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5094 * libio/tst-readline.c (TIMEOUT): Define.
5096 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5098 mktime fix for Gnulib + coreutils
5100 This fix affects only Gnulib. Problem discovered when
5101 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5103 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5104 Do not define since it is not used. Defining an unused static
5105 function prompts a warning from GCC when Coreutils is configured
5106 with --enable-gcc-warnings.
5108 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5110 * benchtests/scripts/compare_bench.py (main): set float type on
5113 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5116 * localedata/locales/kl_GL (mon): Update, the relative case.
5117 (alt_mon): Add, fill with month names in the nominative case.
5118 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5119 (d_fmt): Set to "%b %d %Y".
5121 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5123 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5124 <bits/mman-linux.h>.
5125 (PROT_READ): Don't define here.
5126 (PROT_WRITE): Likewise.
5127 (PROT_EXEC): Likewise.
5128 (PROT_NONE): Likewise.
5129 (PROT_GROWSDOWN): Likewise.
5130 (PROT_GROWSUP): Likewise.
5131 (MAP_SHARED): Likewise.
5132 (MAP_PRIVATE): Likewise.
5133 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5134 [__USE_MISC] (MAP_FILE): Likewise.
5135 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5136 [__USE_MISC] (MAP_ANON): Likewise.
5137 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5138 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5139 (MCL_CURRENT): Likewise.
5140 (MCL_FUTURE): Likewise.
5141 (MCL_ONFAULT): Likewise.
5142 [__USE_MISC] (MADV_NORMAL): Likewise.
5143 [__USE_MISC] (MADV_RANDOM): Likewise.
5144 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5145 [__USE_MISC] (MADV_WILLNEED): Likewise.
5146 [__USE_MISC] (MADV_DONTNEED): Likewise.
5147 [__USE_MISC] (MADV_FREE): Likewise.
5148 [__USE_MISC] (MADV_REMOVE): Likewise.
5149 [__USE_MISC] (MADV_DONTFORK): Likewise.
5150 [__USE_MISC] (MADV_DOFORK): Likewise.
5151 [__USE_MISC] (MADV_HWPOISON): Likewise.
5152 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5153 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5154 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5155 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5156 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5157 (__MAP_ANONYMOUS): New macro.
5158 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5159 <bits/mman-linux.h> inclusion.
5160 (MAP_FIXED): Likewise.
5161 (MS_SYNC): Likewise.
5162 (MS_ASYNC): Likewise.
5163 (MS_INVALIDATE): Likewise.
5164 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5165 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5166 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5167 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5168 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5169 [__USE_MISC] (MADV_DODUMP): Likewise.
5170 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5171 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5174 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5176 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5177 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5178 Add test-nldbl-redirect.
5179 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5180 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5181 $(objpfx)libnldbl_nonshared.a.
5183 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5185 * support/support.h (support_objdir_elf_ldso): New variable.
5186 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5187 * support/Makefile (CFLAGS-support_paths.c): Add definition
5188 for OBJDIR_ELF_LDSO_PATH.
5189 * support/test-container.c (main): Search for the ld.so
5190 which is also used by the testsuite.
5192 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5195 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5196 should be "sap" rather than "sab".
5197 (day): Fix spelling of Sunday, should be "sapaat" rather than
5200 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5202 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5204 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5207 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5208 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5209 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5211 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5213 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5215 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5217 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5219 (CFLAGS-elision-unlock.c): Likewise.
5220 (CFLAGS-elision-timed.c): Likewise.
5221 (CFLAGS-elision-trylock.c): Likewise.
5222 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5224 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5227 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5228 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5229 new fd_to_filename interface.
5230 * libio/freopen64.c (freopen64): Likewise.
5231 * libio/tst-memstream.h: New file.
5232 * libio/tst-memstream4.c: Likewise.
5233 * libio/tst-wmemstream4.c: Likewise.
5234 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5235 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5236 and remove internal dynamic allocation.
5238 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5240 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5241 (MREMAP_MAYMOVE): Do not define here.
5242 [__USE_GNU] (MREMAP_FIXED): Likewise.
5243 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5244 (MREMAP_MAYMOVE): Define here instead.
5245 [__USE_GNU] (MREMAP_FIXED): Likewise.
5246 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5247 (MREMAP_MAYMOVE): Remove.
5248 [__USE_GNU] (MREMAP_FIXED): Likewise.
5250 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5252 * math/fromfp.h: Do not include <math_private.h>.
5253 * math/s_cacosh_template.c: Likewise.
5254 * math/s_casin_template.c: Likewise.
5255 * math/s_casinh_template.c: Likewise.
5256 * math/s_ccos_template.c: Likewise.
5257 * math/s_cproj_template.c: Likewise.
5258 * math/s_fdim_template.c: Likewise.
5259 * math/s_fmaxmag_template.c: Likewise.
5260 * math/s_fminmag_template.c: Likewise.
5261 * math/s_iseqsig_template.c: Likewise.
5262 * math/s_ldexp_template.c: Likewise.
5263 * math/s_nextdown_template.c: Likewise.
5264 * math/w_log1p_template.c: Likewise.
5265 * math/w_scalbln_template.c: Likewise.
5266 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5267 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5268 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5269 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5270 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5271 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5272 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5273 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5274 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5275 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5276 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5277 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5278 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5279 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5280 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5281 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5282 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5284 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5286 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5287 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5288 * sysdeps/ieee754/k_standardf.c: Likewise.
5289 * sysdeps/ieee754/k_standardl.c: Likewise.
5290 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5291 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5292 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5293 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5294 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5295 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5296 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5297 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5298 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5299 * sysdeps/ieee754/s_signgam.c: Likewise.
5300 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5301 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5302 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5303 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5304 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5305 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5306 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5307 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5308 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5309 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5310 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5311 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5312 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5313 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5314 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5315 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5316 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5317 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5318 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5319 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5320 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5321 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5322 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5323 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5324 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5325 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5326 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5327 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5328 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5329 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5330 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5331 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5332 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5333 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5334 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5335 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5336 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5338 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5340 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5343 * sysdeps/i386/dl-cet.c: Removed.
5344 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5346 (_dl_runtime_profile_shstk): Likewise.
5347 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5348 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5350 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5353 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5354 do_test_with_invalid_iov): New tests.
5355 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5356 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5357 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5359 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5360 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5361 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5363 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5365 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5366 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5367 (MATH_REDIRECT_BINARY_ARGS): New macro.
5368 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5369 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5370 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5372 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5374 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5375 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5376 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5377 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5378 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5385 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5386 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5391 * sysdeps/generic/math_private_calls.h
5392 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5393 Do not declare and define as an inline function.
5394 * math/divtc3.c (__divtc3): Use copysign functions instead of
5395 __copysign variants.
5396 * math/multc3.c (__multc3): Likewise.
5397 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5398 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5399 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5400 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5402 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5403 (__ieee754_yn): Likewise.
5404 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5405 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5406 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5407 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5408 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5410 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5411 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5413 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5415 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5417 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5418 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5420 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5421 (__ieee754_ynf): Likewise.
5422 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5423 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5424 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5427 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5428 (__ieee754_ynl): Likewise.
5429 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5430 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5431 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5433 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5434 (__ieee754_ynl): Likewise.
5435 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5436 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5437 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5438 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5440 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5442 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5443 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5444 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5445 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5446 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5448 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5449 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5450 using MATH_REDIRECT.
5451 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5453 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5454 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5455 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5456 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5457 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5464 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5465 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5466 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5467 (round): Redirect to __round.
5468 (__roundl): Call round instead of __round.
5469 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5471 [_ARCH_PWR5X] (__roundf): Likewise.
5472 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5473 functions instead of __round variants.
5474 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5475 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5477 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5479 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5481 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5482 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5484 (__ieee754_expl): Call roundl instead of __roundl.
5486 2018-09-27 Andreas Schwab <schwab@suse.de>
5489 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5490 (do_test): Make st1 static.
5492 2018-09-26 Andreas Schwab <schwab@suse.de>
5495 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5496 * elf/Makefile (tests): Add tst-unwind-ctor.
5497 (modules-names): Add tst-unwind-ctor-lib.
5498 ($(objpfx)tst-unwind-ctor): Depend on
5499 $(objpfx)tst-unwind-ctor-lib.so.
5501 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5503 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5504 file. Most contents moved from ....
5505 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5506 and include <bits/mman-map-flags-generic.h>.
5507 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5508 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5509 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5510 <bits/mman-map-flags-generic.h>.
5511 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5512 macros defined in <bits/mman-map-flags-generic.h>.
5513 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5514 <bits/mman-map-flags-generic.h>.
5515 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5516 defined in <bits/mman-map-flags-generic.h>.
5518 2018-09-26 Andreas Schwab <schwab@suse.de>
5520 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5523 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5524 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5525 Fangrui Song <maskray@google.com>
5528 * config.make.in (have-textrel_ifunc): New define.
5529 * configure.ac: Add check if linker supports textrel relocation with
5531 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5533 (CFLAGS-tst-ifunc-textrel.c): New rule.
5534 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5535 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5536 * elf/tst-ifunc-textrel.c: New file.
5538 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5540 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5541 <bits/procfs-prregset.h>.
5542 (prgregset_t): Define using __prgregset_t.
5543 (prfpregset_t): Define using __prfpregset_t.
5544 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5545 (sysdep_headers): Add bits/procfs-prregset.h.
5546 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5547 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5548 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5549 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5551 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5552 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5553 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5555 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5556 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5557 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5558 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5559 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5560 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5561 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5562 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5563 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5564 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5565 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5566 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5567 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5568 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5569 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5570 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5571 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5572 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5573 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5574 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5575 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5576 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5577 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5578 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5580 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5581 AArch64 version. Include <bits/procfs.h>.
5582 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5583 (sysdep_headers): Add bits/procfs.h.
5584 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5585 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5586 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5587 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5588 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5589 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5590 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5591 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5592 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5593 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5594 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5595 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5596 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5597 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5598 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5599 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5600 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5602 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5604 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5607 2018-09-25 Arjun Shankar <arjun@redhat.com>
5609 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5610 (__gconv_max_path_elem_len): Likewise.
5611 (__gconv_nmodules): Likewise.
5612 (__gconv_get_path): Likewise.
5613 (path_elem): Move to ...
5614 * iconv/gconv_conf.c: ... here.
5615 (__gconv_get_path): Mark function static.
5616 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5617 * iconv/gconv_open.c: ... here.
5619 2018-09-24 Andreas Schwab <schwab@suse.de>
5621 * scripts/haveversions.awk: New file.
5622 * Makerules ($(common-objpfx)Versions.def)
5623 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5624 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5626 * Makeconfig ($(common-objpfx)Versions.def)
5627 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5628 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5630 ($(common-objpfx)Versions.mk): New rule. Include it.
5631 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5632 Emit error if build-obsolete-nsl = yes.
5633 * manual/install.texi (Configuring and compiling): Describe
5634 --enable-obsolete-nsl as unavaiable after version 2.28.
5635 * INSTALL: Regenerate.
5637 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5639 * NEWS: Add note about new TLE support on powerpc64le.
5640 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5641 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5643 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5644 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5645 * sysdeps/powerpc/powerpc32/sysdep.h,
5646 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5647 ABORT_TRANSACTION): Remove macros.
5648 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5649 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5650 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5652 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5653 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5655 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5657 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5660 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5661 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5662 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5663 which is the same as in it_IT.
5664 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5665 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5667 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5669 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5670 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5671 using MATH_REDIRECT.
5672 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5674 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5675 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5676 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5677 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5678 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5679 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5684 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5685 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5686 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5687 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5688 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5689 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5690 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5691 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5692 (ceil): Redirect to __ceil.
5693 (floor): Redirect to __floor.
5694 (trunc): Redirect to __trunc.
5695 (__truncl): Call trunc instead of __trunc.
5696 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5698 [_ARCH_PWR5X] (__truncf): Likewise.
5699 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5700 trunc functions instead of __trunc variants.
5701 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5703 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5705 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5707 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5710 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5711 [__i586__ || __pentium__].
5712 [__i486__]: Handle explicitly.
5713 (HAS_CPUID): Define to 1 if above macros are undefined.
5714 (HAS_I586): Likewise.
5715 (HAS_I686): Likewise.
5717 2018-09-20 Florian Weimer <fweimer@redhat.com>
5719 * misc/tst-gethostid.c: New file.
5720 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5721 (tst-gethostid): Link with -ldl.
5723 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5725 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5726 value from gethostbyname_r.
5728 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5730 * stdlib/tst-setcontext9.c (f1): Rename to...
5732 (f1b): New function implementing lower half of f1 in alternate stack.
5734 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5736 Fix mktime localtime offset confusion
5738 * include/time.h (__mktime_internal): The localtime offset is now
5739 of type long int instead of time_t. This is the longstanding type
5740 in glibc, and it is more than enough to represent difference
5741 between localtime and gmtime even if it is 32 bits and time_t is
5742 64. Changing it now will let us avoid an unnecessary change when
5743 time_t is widened to 64 bits on 32-bit platforms.
5744 * time/mktime-internal.h (mktime_offset_t): Now long int.
5746 Merge mktime, timegm from upstream Gnulib
5747 [BZ #23603][BZ #16346]
5748 This fixes some obscure problems with integer overflow.
5749 Although it looks scary, it is almost all a byte-for-byte copy
5750 from Gnulib, and the Gnulib code has been tested reasonably well.
5751 * include/intprops.h: New file, copied from Gnulib.
5752 * include/verify.h, time/mktime-internal.h:
5753 New tiny files, simplified from Gnulib.
5754 * time/mktime.c: Copy from Gnulib. This has the following changes:
5755 Do not include config.h if DEBUG_MKTIME is nonzero.
5756 Include stdbool.h, intprops.h, verify.h.
5757 Include string.h only if needed.
5758 Include stdlib.h on MS-Windows.
5759 Include mktime-internal.h.
5760 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5761 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5762 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5763 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5764 simplify later conditionals; default the others to zero. Use
5765 these conditionals to express only the code needed on the current
5766 platform. In uses of these conditionals, explicitly spell out how
5767 _LIBC affects things, so it’s easier to review from a glibc
5769 (WRAPV): Remove; no longer needed now that we have
5770 systematic overflow checking.
5771 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5772 compartmentalize tzset issues. Move system-dependent tzsettish
5773 code here from mktime.
5774 (verify): Remove; now done by verify.h. All uses changed.
5775 (long_int): Use a more-conservative definition, to avoid
5777 (SHR): Remove, replacing with ...
5778 (shr): New function, which means we needn’t worry about side
5779 effects in args, and conversion analysis is simpler.
5780 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5781 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5782 (time_t_avg, time_t_add_ok): Remove.
5783 (mktime_min, mktime_max): New constants.
5784 (leapyear, isdst_differ): Use bool for booleans.
5785 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5786 Use long_int, not time_t, for mktime differences.
5787 (long_int_avg): New function, replacing time_t_avg.
5788 INT_ADD_WRAPV replaces time_t_add_ok.
5789 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5791 (convert_time): New function.
5792 (ranged_convert): Use it.
5793 (__mktime_internal): Last arg now points to mktime_offset_t, not
5794 time_t. All uses changed. This is a no-op on glibc, where
5795 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5796 offset guess. Directly check for integer overflow instead of
5797 using a heuristic that works only 99.9...% of the time.
5798 Access *OFFSET only once, to avoid an unlikely race if the
5799 compiler delays a load and if this cascades into a signed integer
5801 (mktime): Move tzsettish code to my_tzset, and move
5802 localtime_offset to within mktime so that it doesn’t
5803 need a separate ifdef.
5804 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5805 instead of localtime.
5806 * time/timegm.c: Copy from Gnulib. This has the following changes:
5807 Include mktime-internal.h.
5808 [!_LIBC]: Include config.h and time.h. Do not include
5809 timegm.h or time_r.h. Make __mktime_internal a macro,
5810 and include mktime-internal.h to get its declaration.
5811 (timegm): Temporary is now mktime_offset_t, not time_t.
5812 This affects only Gnulib.
5814 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5817 * string/test-strstr.c (pr23637): New function.
5818 (test_main): Add tests with longer needles.
5819 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5820 * string/strstr.c (AVAILABLE): Likewise.
5822 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5824 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5826 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5828 * NEWS: Mention pow improvements.
5829 * math/Makefile (type-double-routines): Add e_pow_log_data.
5830 * sysdeps/generic/math_private.h (__exp1): Remove.
5831 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5832 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5833 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5835 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5836 (exp_inline): Remove.
5837 (__ieee754_exp): Only single double input is handled.
5838 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5839 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5840 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5841 (__pow_log_data): Define.
5842 * sysdeps/ieee754/dbl-64/upow.h: Remove.
5843 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
5844 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
5845 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
5847 (CFLAGS-e_pow-fma4.c): Likewise.
5849 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
5851 Simplify tzfile fstat failure code
5853 * time/tzfile.c (__tzfile_read): Simplify slightly.
5855 Fix tzfile low-memory assertion failure
5857 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
5858 when registering time zone abbreviations.
5860 2018-09-18 Joseph Myers <joseph@codesourcery.com>
5862 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
5863 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
5864 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
5865 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
5866 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
5867 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
5868 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
5869 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5870 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5872 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
5874 (__ceill): Call ceil instead of __ceil.
5875 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
5877 (__floorl): Call floor instead of __floor.
5879 2018-09-17 Joseph Myers <joseph@codesourcery.com>
5881 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5882 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
5883 using MATH_REDIRECT.
5884 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
5886 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5888 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5889 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
5890 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5891 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5892 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5893 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
5894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
5895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
5896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
5897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
5898 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5899 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5902 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
5903 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
5904 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
5906 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
5907 functions instead of __ceil variants.
5908 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5909 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5911 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5913 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5914 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5916 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5917 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5920 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
5922 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
5923 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
5924 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
5925 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
5926 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
5927 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
5928 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
5929 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
5930 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
5931 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
5932 (ILL_BADIADDR): Remove constant.
5933 (TRAP_BRANCH): Likewise.
5934 (TRAP_HWBKPT): Likewise.
5936 2018-09-14 Joseph Myers <joseph@codesourcery.com>
5939 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
5940 Remove [_MIPS_SIM = _ABIN32] conditional case.
5941 (struct elf_prpsinfo): Likewise.
5944 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
5945 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
5946 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
5948 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
5949 elf_prpsinfo): Likewise.
5950 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
5951 elf_prpsinfo): Likewise.
5952 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
5955 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5956 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
5957 using MATH_REDIRECT.
5958 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
5960 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
5961 * sysdeps/alpha/fpu/s_rint.c: Likewise.
5962 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
5963 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5964 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5965 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5966 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
5967 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5968 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5970 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
5971 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
5972 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
5973 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
5974 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
5975 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5976 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5977 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
5978 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
5980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
5981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
5982 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
5983 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
5984 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
5985 * sysdeps/x86_64/fpu/math_private.h: Remove file.
5986 * math/e_scalb.c (invalid_fn): Use rint functions instead of
5988 * math/e_scalbf.c (invalid_fn): Likewise.
5989 * math/e_scalbl.c (invalid_fn): Likewise.
5990 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5992 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5994 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5995 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
5996 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5998 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6000 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6002 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6003 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6005 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6006 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6008 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6009 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6010 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6011 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6012 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6013 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6014 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6015 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6016 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6017 && !NO_MATH_REDIRECT] (floor): Likewise.
6018 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6020 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6021 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6022 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6023 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6024 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6025 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6026 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6027 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6032 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6033 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6036 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6037 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6038 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6040 [_ARCH_PWR5X] (__floorf): Likewise.
6041 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6043 [__SSE4_1__] (__floorf): Likewise.
6044 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6045 instead of __floor variants.
6046 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6047 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6048 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6049 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6050 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6051 * math/w_tgamma_compat.c (__tgamma): Likewise.
6052 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6053 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6054 * math/w_tgammal_compat.c (__tgammal): Likewise.
6055 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6056 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6058 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6059 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6060 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6061 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6063 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6064 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6066 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6067 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6069 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6070 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6072 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6073 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6074 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6075 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6076 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6077 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6079 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6081 * elf/Makefile (modules-names-tests): New variable.
6083 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6085 * NEWS: Mention log2 improvements.
6086 * math/Makefile (type-double-routines): Add e_log2_data.
6087 * sysdeps/i386/fpu/e_log2_data.c: New file.
6088 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6089 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6090 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6091 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6092 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6093 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6095 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6097 * NEWS: Mention log improvement.
6098 * math/Makefile (type-double-routines): Add e_log_data.
6099 * sysdeps/i386/fpu/e_log_data.c: New file.
6100 * sysdeps/ia64/fpu/e_log_data.c: New file.
6101 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6102 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6103 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6104 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6105 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6106 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6108 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6109 Xuepeng Guo <xuepeng.guo@intel.com>
6112 * sysdeps/i386/start.S: Include <sysdep.h>
6113 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6114 enabled. Add cfi_undefined (eip).
6116 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6118 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6120 (EXTRACT_WORDS64): Likewise.
6121 (INSERT_WORDS64): Likewise.
6122 (GET_FLOAT_WORD): Likewise.
6123 (SET_FLOAT_WORD): Likewise.
6125 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6127 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6128 build, but not for second build if --full-gcc. Use
6129 --enable-languages=all for second build if --full-gcc.
6130 (get_parser): Add --full-gcc option.
6131 (main): Update call to Context.
6133 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6136 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6137 Single Quotation Mark).
6138 (thousands_sep): Likewise.
6139 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6140 * localedata/locales/it_IT (thousands_sep): Use ".".
6141 (grouping): Use "3;3".
6143 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6145 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6146 x86_64 and i686 configs using --enable-obsolete-rpc
6147 --enable-obsolete-nsl.
6149 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6151 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6153 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6155 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6156 Increment size of new_argv by one.
6158 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6161 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6162 * localedata/locales/ar_IN (d_fmt): Likewise.
6163 * localedata/locales/bhb_IN (d_fmt): Likewise.
6164 * localedata/locales/bho_IN (d_fmt): Likewise.
6165 * localedata/locales/bn_BD (d_fmt): Likewise.
6166 * localedata/locales/bn_IN (d_fmt): Likewise.
6167 * localedata/locales/doi_IN (d_fmt): Likewise.
6168 * localedata/locales/gu_IN (d_fmt): Likewise.
6169 * localedata/locales/hi_IN (d_fmt): Likewise.
6170 * localedata/locales/hne_IN (d_fmt): Likewise.
6171 * localedata/locales/kn_IN (d_fmt): Likewise.
6172 * localedata/locales/mag_IN (d_fmt): Likewise.
6173 * localedata/locales/mai_IN (d_fmt): Likewise.
6174 * localedata/locales/mjw_IN (d_fmt): Likewise.
6175 * localedata/locales/ml_IN (d_fmt): Likewise.
6176 * localedata/locales/mni_IN (d_fmt): Likewise.
6177 * localedata/locales/mr_IN (d_fmt): Likewise.
6178 * localedata/locales/pa_IN (d_fmt): Likewise.
6179 * localedata/locales/raj_IN (d_fmt): Likewise.
6180 * localedata/locales/sat_IN (d_fmt): Likewise.
6181 * localedata/locales/sd_IN (d_fmt): Likewise.
6182 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6183 * localedata/locales/ta_IN (d_fmt): Likewise.
6184 * localedata/locales/ta_LK (d_fmt): Likewise.
6185 * localedata/locales/tcy_IN (d_fmt): Likewise.
6186 * localedata/locales/ur_IN (d_fmt): Likewise.
6188 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6189 * localedata/locales/ks_IN (d_fmt): Likewise.
6190 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6192 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6193 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6194 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6195 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6197 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6199 * NEWS: Mention exp and exp2 improvements.
6200 * math/Makefile (libm-support): Remove t_exp.
6201 (type-double-routines): Add math_err and e_exp_data.
6202 * sysdeps/aarch64/libm-test-ulps: Update.
6203 * sysdeps/arm/libm-test-ulps: Update.
6204 * sysdeps/i386/fpu/e_exp_data.c: New file.
6205 * sysdeps/i386/fpu/math_err.c: New file.
6206 * sysdeps/i386/fpu/t_exp.c: Remove.
6207 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6208 * sysdeps/ia64/fpu/math_err.c: New file.
6209 * sysdeps/ia64/fpu/t_exp.c: Remove.
6210 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6211 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6212 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6213 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6214 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6215 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6216 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6217 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6218 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6219 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6220 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6221 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6222 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6223 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6227 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6229 * sysdeps/alpha/fpu/math_private.h: Remove.
6231 * sysdeps/generic/math_private.h
6232 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6233 Move this inline function ....
6234 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6235 * include/math.h [!_ISOMAC]: To here....
6237 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6239 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6241 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6242 * include/fenv.h [!_ISOMAC]: ... to here.
6243 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6244 (feraiseexcept): Likewise.
6245 * math/fromfp.h: Do not include <fenv_private.h>.
6246 * math/s_cexp_template.c: Likewise.
6247 * math/s_csin_template.c: Likewise.
6248 * math/s_csinh_template.c: Likewise.
6249 * math/s_ctan_template.c: Likewise.
6250 * math/s_ctanh_template.c: Likewise.
6251 * math/s_iseqsig_template.c: Likewise.
6252 * math/w_acos_compat.c: Likewise.
6253 * math/w_acosf_compat.c: Likewise.
6254 * math/w_acosl_compat.c: Likewise.
6255 * math/w_asin_compat.c: Likewise.
6256 * math/w_asinf_compat.c: Likewise.
6257 * math/w_asinl_compat.c: Likewise.
6258 * math/w_j0_compat.c: Likewise.
6259 * math/w_j0f_compat.c: Likewise.
6260 * math/w_j0l_compat.c: Likewise.
6261 * math/w_j1_compat.c: Likewise.
6262 * math/w_j1f_compat.c: Likewise.
6263 * math/w_j1l_compat.c: Likewise.
6264 * math/w_jn_compat.c: Likewise.
6265 * math/w_jnf_compat.c: Likewise.
6266 * math/w_log10_compat.c: Likewise.
6267 * math/w_log10f_compat.c: Likewise.
6268 * math/w_log10l_compat.c: Likewise.
6269 * math/w_log2_compat.c: Likewise.
6270 * math/w_log2f_compat.c: Likewise.
6271 * math/w_log2l_compat.c: Likewise.
6272 * math/w_log_compat.c: Likewise.
6273 * math/w_logf_compat.c: Likewise.
6274 * math/w_logl_compat.c: Likewise.
6275 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6276 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6277 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6278 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6279 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6280 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6281 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6282 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6283 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6284 * sysdeps/ieee754/k_standardl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6290 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6292 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6296 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6297 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6298 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6301 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6302 * math/w_ilogb_template.c: Include <fenv.h> instead of
6304 * math/w_llogb_template.c: Likewise.
6305 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6306 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6308 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6310 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6311 * math/fromfp.h: Include <fenv_private.h>.
6312 * math/math-narrow.h: Likewise.
6313 * math/s_cexp_template.c: Likewise.
6314 * math/s_csin_template.c: Likewise.
6315 * math/s_csinh_template.c: Likewise.
6316 * math/s_ctan_template.c: Likewise.
6317 * math/s_ctanh_template.c: Likewise.
6318 * math/s_iseqsig_template.c: Likewise.
6319 * math/w_acos_compat.c: Likewise.
6320 * math/w_acosf_compat.c: Likewise.
6321 * math/w_acosl_compat.c: Likewise.
6322 * math/w_asin_compat.c: Likewise.
6323 * math/w_asinf_compat.c: Likewise.
6324 * math/w_asinl_compat.c: Likewise.
6325 * math/w_ilogb_template.c: Likewise.
6326 * math/w_j0_compat.c: Likewise.
6327 * math/w_j0f_compat.c: Likewise.
6328 * math/w_j0l_compat.c: Likewise.
6329 * math/w_j1_compat.c: Likewise.
6330 * math/w_j1f_compat.c: Likewise.
6331 * math/w_j1l_compat.c: Likewise.
6332 * math/w_jn_compat.c: Likewise.
6333 * math/w_jnf_compat.c: Likewise.
6334 * math/w_llogb_template.c: Likewise.
6335 * math/w_log10_compat.c: Likewise.
6336 * math/w_log10f_compat.c: Likewise.
6337 * math/w_log10l_compat.c: Likewise.
6338 * math/w_log2_compat.c: Likewise.
6339 * math/w_log2f_compat.c: Likewise.
6340 * math/w_log2l_compat.c: Likewise.
6341 * math/w_log_compat.c: Likewise.
6342 * math/w_logf_compat.c: Likewise.
6343 * math/w_logl_compat.c: Likewise.
6344 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6345 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6346 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6347 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6348 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6349 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6350 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6351 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6352 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6353 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6354 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6355 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6356 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6357 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6363 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6364 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6366 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6367 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6368 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6369 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6370 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6371 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6372 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6373 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6374 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6375 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6376 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6377 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6378 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6379 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6380 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6381 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6382 * sysdeps/ieee754/k_standardl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6385 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6386 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6392 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6394 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6395 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6396 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6398 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6399 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6400 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6401 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6404 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6405 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6408 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6409 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6412 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6413 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6414 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6415 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6416 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6417 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6418 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6419 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6420 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6421 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6422 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6423 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6424 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6425 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6426 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6427 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6428 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6429 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6430 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6431 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6432 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6433 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6434 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6435 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6436 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6437 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6438 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6439 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6440 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6441 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6442 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6443 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6444 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6445 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6446 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6447 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6448 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6449 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6450 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6451 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6452 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6453 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6455 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6458 * include/stdio.h (__libc_fatal): Mention newline in comment.
6459 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6460 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6462 * nss/nsswitch.c (__nss_next2): Likewise.
6463 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6464 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6465 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6466 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6467 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6468 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6469 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6470 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6471 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6472 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6473 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6474 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6475 (__netlink_assert_response): Likewise.
6477 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6479 * conform/glibcconform.py: New file.
6480 * conform/list-header-symbols.py: Likewise.
6481 * conform/list-header-symbols.pl: Remove.
6482 * conform/Makefile (tests-special): Only add linknamespace tests
6484 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6486 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6489 * support/Makefile (libsupport-routines): Add
6490 support_copy_file_range and xcopy_file_range.
6491 * support/support.h: Include <sys/types.h>.
6492 (support_copy_file_range): New prototype.
6493 * support/support_copy_file_range.c: New file. Copied and
6494 modified from io/copy_file_range-compat.c.
6495 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6496 instead of copy_file_range.
6497 * support/xcopy_file_range.c: New file.
6498 * support/xunistd.h (xcopy_file_range): New prototype.
6500 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6502 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6503 xpthread_create and xpthread_join.
6505 2018-08-30 Florian Weimer <fweimer@redhat.com>
6507 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6509 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6511 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6514 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6516 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6517 and minus_oflow as non-finite.
6519 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6521 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6522 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6523 moved to fenv_private.h except for ...
6524 (TOINT_INTRINSICS): Kept in math_private.h.
6525 (roundtoint): Likewise.
6526 (converttoint): Likewise.
6527 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6528 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6529 * sysdeps/arm/math_private.h: Remove.
6530 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6532 * sysdeps/generic/math_private.h: ... this file. Include
6533 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6534 Include <fenv_private.h>. Remove functions and macros moved to
6536 * sysdeps/i386/fpu/math_private.h: Remove.
6537 * sysdeps/mips/math_private.h: Move to ....
6538 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6539 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6540 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6541 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6542 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6543 * sysdeps/powerpc/fpu/math_private.h: Do not include
6545 * sysdeps/riscv/rvf/math_private.h: Move to ....
6546 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6547 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6549 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6550 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6551 * sysdeps/sparc/fpu/math_private.h: Remove.
6552 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6553 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6554 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6556 * sysdeps/x86_64/fpu/math_private.h: Do not include
6557 <sysdeps/i386/fpu/fenv_private.h>.
6559 2018-08-28 Florian Weimer <fweimer@redhat.com>
6562 * posix/tst-regcomp-truncated.c: New file.
6563 * posix/Makefile (tests): Add it.
6564 (tst-regcomp-truncated.out): Depend on generated locales.
6566 2018-08-28 Florian Weimer <fweimer@redhat.com>
6568 * support/test-container.c (main): Treat unshare failure with
6569 EPERM as an unsupported test.
6571 2018-08-28 Florian Weimer <fweimer@redhat.com>
6574 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6575 * nscd/netgroupcache.c
6576 (addgetnetgrentX): Add tofreep parameter. Do not free
6577 heap-allocated buffer.
6578 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6579 (addgetnetgrentX_ignore): New function.
6580 (addgetnetgrent): Call it.
6581 (readdgetnetgrent): Likewise.
6583 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6585 * string/memmem.c: Use memcmp for first match.
6587 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6590 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6592 2018-08-27 DJ Delorie <dj@redhat.com>
6594 * support/Makefile (others): Don't list programs explicitly as a
6595 dependency of "others".
6597 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6599 * sysdeps/generic/math-tests-trap-force.h: New file.
6600 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6601 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6602 * sysdeps/powerpc/math-tests.h: Remove file.
6603 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6605 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6606 Torvald Riegel <triegel@redhat.com>
6609 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6610 Update r to include the set wake-request flag if waiters are
6611 remaining after spinning.
6613 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6615 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6617 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6620 regex: fix uninitialized memory access
6621 I introduced this bug into gnulib in commit
6622 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6623 eventually it was merged into glibc. The bug was found by
6624 project-repo <bugs@feusi.co> and reported here:
6625 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6626 Diagnosis and draft fix reported by Assaf Gordon here:
6627 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6628 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6629 * posix/regex_internal.c (build_wcs_upper_buffer):
6630 Fix bug when mbrtowc returns 0.
6632 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6634 * po/be.po: Update translation.
6636 2018-08-24 DJ Delorie <dj@delorie.com>
6638 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6641 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6644 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6645 create temporary files in source tree.
6647 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6649 * sysdeps/generic/math-tests-trap.h: New file.
6650 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6651 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6652 * sysdeps/aarch64/math-tests.h: Remove file.
6653 * sysdeps/arm/math-tests.h: Likewise.
6654 * sysdeps/riscv/math-tests.h: Likewise.
6655 * sysdeps/aarch64/math-tests-trap.h: New file.
6656 * sysdeps/arm/math-tests-trap.h: Likewise.
6657 * sysdeps/riscv/math-tests-trap.h: Likewise.
6659 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6661 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6662 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6663 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6664 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6665 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6666 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6669 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6670 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6671 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6672 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6673 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6674 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6675 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6676 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6677 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6678 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6680 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6682 * sysdeps/generic/math-tests-exceptions.h: New file.
6683 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6684 (EXCEPTION_TESTS_float): Do not define here.
6685 (EXCEPTION_TESTS_double): Likewise.
6686 (EXCEPTION_TESTS_long_double): Likewise.
6687 (EXCEPTION_TESTS_float128): Likewise.
6688 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6690 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6691 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6692 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6693 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6694 * sysdeps/mips/math-tests.h: Likewise.
6695 * sysdeps/nios2/math-tests.h: Likewise.
6696 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6697 (EXCEPTION_TESTS_float): Do not define here.
6698 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6699 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6700 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6702 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6704 * NEWS: Move optimized sinf entry to 2.29.
6706 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6708 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6710 2018-08-22 DJ Delorie <dj@redhat.com>
6712 * Makefile (testroot.pristine): New rules to initialize the
6713 test-in-container "testroot".
6714 * Makerules (all-testsuite): Add tests-container.
6715 * Rules (tests-expected): Add tests-container.
6716 (binaries-all-tests): Likewise.
6717 (tests-container): New, run these tests in the testroot container.
6718 * support/Makefile (others): Add *-container, support_paths.c,
6719 xmkdirp, and links-dso-program.
6720 * support/links-dso-program-c.c: New.
6721 * support/links-dso-program.cc: New.
6722 * support/test-container.c: New.
6723 * support/shell-container.c: New.
6724 * support/echo-container.c: New.
6725 * support/true-container.c: New.
6726 * support/xmkdirp.c: New.
6727 * support/xsymlink.c: New.
6728 * support/support_paths.c: New.
6729 * support/support.h: Add support paths prototypes.
6730 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6732 * nss/tst-nss-test3.c: Convert to test-in-container.
6733 * nss/tst-nss-test3.root/: New.
6735 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6737 regex: port Gnulib code to z/OS POSIX environment
6738 Problem reported by Arnold Robbins in:
6739 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6740 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6743 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6745 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6746 (ROUNDING_TESTS_double): Remove.
6747 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6748 (ROUNDING_TESTS_double): Remove.
6749 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6750 (ROUNDING_TESTS_double): Remove.
6751 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6752 (ROUNDING_TESTS_float): Remove.
6753 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6754 (ROUNDING_TESTS_float): Remove.
6755 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6756 (ROUNDING_TESTS_float): Remove.
6757 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6759 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6760 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6762 * sysdeps/generic/math-tests-rounding.h: New file.
6763 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6764 (ROUNDING_TESTS_float): Do not define here.
6765 (ROUNDING_TESTS_double): Likewise.
6766 (ROUNDING_TESTS_long_double): Likewise.
6767 (ROUNDING_TESTS_float128): Likewise.
6768 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6769 (ROUNDING_TESTS_double): Undefine before defining.
6770 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6771 (ROUNDING_TESTS_double): Undefine before defining.
6772 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6773 (ROUNDING_TESTS_double): Undefine before defining.
6774 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6775 (ROUNDING_TESTS_float): Undefine before defining.
6776 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6777 (ROUNDING_TESTS_float): Undefine before defining.
6778 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6779 (ROUNDING_TESTS_float): Undefine before defining.
6780 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6781 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6783 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6784 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6785 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6786 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6787 (ROUNDING_TESTS_float): Do not define here.
6788 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6789 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6790 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6791 (ROUNDING_TESTS_float): Likewise.
6792 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6793 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6794 * sysdeps/mips/math-tests.h [__mips_soft_float]
6795 (ROUNDING_TESTS_float): Likewise.
6796 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6797 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6798 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6799 (ROUNDING_TESTS_double): Likewise.
6800 (ROUNDING_TESTS_long_double): Likewise.
6802 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6804 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6805 (PF_XDP): New macro.
6806 (AF_XDP): New macro.
6807 (SOL_XDP): New macro.
6809 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6811 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6812 (TCP_INQ): Likewise.
6813 (TCP_CM_INQ): Likewise.
6814 (TCP_REPAIR_ON): Likewise.
6815 (TCP_REPAIR_OFF): Likewise.
6816 (TCP_REPAIR_OFF_NO_WP): Likewise.
6817 (struct tcp_zerocopy_receive): New type.
6819 2018-08-21 Florian Weimer <fweimer@redhat.com>
6821 * support/support.h (support_descriptor_supports_holes): Declare.
6822 * support/Makefile (libsupport-routines): Add
6823 support_descriptor_supports_holes.
6824 * support/support_descriptor_supports_holes.c: New file.
6825 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6826 and stop testing if holes are not supported.
6827 * io/test-lfs.c (do_prepare): Likewise.
6828 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6830 * timezone/tst-tzset.c (create_tz_file): Likewise.
6831 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6833 (do_prepare): Set it.
6834 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6836 2018-08-21 Florian Weimer <fweimer@redhat.com>
6839 * Makeconfig (+cflags): Do not sort (and deduplicate).
6841 2018-08-21 Florian Weimer <fweimer@redhat.com>
6843 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
6844 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
6846 2018-08-20 Florian Weimer <fweimer@redhat.com>
6848 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
6849 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
6851 2018-08-20 Joseph Myers <joseph@codesourcery.com>
6853 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
6854 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
6855 and ssi_arch members.
6857 * elf/elf.c (NT_VMCOREDD): New macro.
6858 (AT_MINSIGSTKSZ): Likewise.
6860 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6862 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6863 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
6864 s_cosf-ppc64 and s_cosf-power8.
6865 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
6866 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6867 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6868 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
6872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6875 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
6876 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6878 2018-08-17 Florian Weimer <fweimer@redhat.com>
6880 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6882 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
6884 * malloc/malloc.c (_int_malloc): Additional binning code checks.
6886 2018-08-16 Florian Weimer <fweimer@redhat.com>
6888 * configure.ac: Add --with-nonshared-cflags option.
6889 * config.make.in (extra-nonshared-cflags): Set variable.
6890 * Makeconfig (CFLAGS-.oS): Use it.
6891 * manual/install.texi (Configuring and compiling): Document
6892 --with-nonshared-cflags.
6893 * configure: Regenerate.
6894 * INSTALL: Likewise.
6896 2018-08-16 Florian Weimer <fweimer@redhat.com>
6898 * Makeconfig (ASFLAGS): Always append required assembler flags.
6900 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
6902 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
6903 (malloc_consolidate): Likewise.
6905 2018-08-16 Pochang Chen <johnchen902@gmail.com>
6907 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
6909 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6911 * benchtests/bench-strlen.c (do_test): Allocate buffers before
6914 * benchtests/bench-strlen.c: Print performance numbers in json.
6916 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6918 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6919 (sysdep_routines): Build strcmp-power9 and strncmp-power9
6920 only for little endian.
6921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6922 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
6923 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
6924 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
6925 Add check for little endian.
6926 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6927 (__strcmp_power9): Add check for little endian.
6928 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
6929 Add check for little endian.
6930 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6931 (__strncmp_power9): Add check for little endian.
6932 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
6933 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
6934 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6935 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
6936 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
6938 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
6940 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
6941 [!STRLEN](STRLEN): Set to __strlen.
6942 * sysdeps/aarch64/multiarch/strlen.c: New file.
6943 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
6944 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
6945 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6946 (__libc_ifunc_impl_list): Add strlen.
6947 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
6948 strlen_generic and strlen_asimd.
6950 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6952 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
6953 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
6954 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6956 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
6958 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
6960 2018-08-14 Florian Weimer <fweimer@redhat.com>
6963 * include/stdio.h (__vfxprintf): Declare.
6964 * stdio-common/fxprintf.c (__vfxprintf): New function.
6965 (__fxprintf): Call it.
6966 * misc/err.c (convert_and_print): Remove function.
6967 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
6968 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
6969 * misc/Makefile (tests): Add tst-warn-wide.
6970 * misc/tst-warn-wide.c: New file.
6972 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
6973 Szabolcs Nagy <szabolcs.nagy@arm.com>
6975 * NEWS: Mention sinf, cosf, sincosf.
6976 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
6977 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
6978 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
6979 constants rather than including generic sincosf.h.
6980 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
6981 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
6982 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
6983 (reduced_cos): Remove.
6984 (sinf_poly): New function.
6985 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
6987 2018-08-14 Florian Weimer <fweimer@redhat.com>
6991 * nss/nss_files/files-alias.c (get_next_alias): During :include:
6992 processing, bail out if no room, and close the stream before
6994 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
6995 (tst-nss-files-alias-leak): Link with libdl.
6996 (tst-nss-files-alias-leak.out): Depend on nss_files.
6998 * nss/tst-nss-files-alias-leak.c: New file.
7000 2018-08-14 Florian Weimer <fweimer@redhat.com>
7002 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7003 server_user, stat_user.
7005 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7007 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7009 (io_pgetevents): New syscall.
7012 * manual/install.texi (Configuring and compiling): Do not list
7013 tools used for testing pretty printers here.
7014 (Tools for Compilation): List Python, PExpect and GDB here.
7015 Update descriptions of uses of Perl and Python.
7016 * INSTALL: Regenerate.
7018 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7021 2018-08-13 Florian Weimer <fweimer@redhat.com>
7023 * misc/error.c (error): Add missing va_end call.
7024 (error_at_line): Likewise.
7026 2018-08-13 Florian Weimer <fweimer@redhat.com>
7028 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7030 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7032 * benchtests/scripts/benchout.schema.json (properties): Add
7035 * benchtests/bench-skeleton.c (main): Add duration and
7036 iterations attributes.
7038 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7040 regex: Gnulib unibyte RRI uses bytes not chars
7041 Adjust the non-glibc code to agree with what Gawk needs for
7042 rational range interpretation (RRI) for regular expression ranges.
7043 In unibyte locales, Gawk wants ranges to use the underlying byte
7044 rather than the character code point. This change does not affect
7046 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7047 In unibyte locales, use the byte value rather than
7048 running it through btowc.
7050 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7052 * sysdeps/generic/math-tests-snan.h: New file.
7053 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7054 (SNAN_TESTS_float): Do not define here.
7055 (SNAN_TESTS_double): Likewise.
7056 (SNAN_TESTS_long_double): Likewise.
7057 (SNAN_TESTS_float128): Likewise.
7058 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7059 * sysdeps/i386/fpu/math-tests.h: Remove file.
7060 * sysdeps/ia64/math-tests-snan.h: New file.
7061 * sysdeps/ia64/math-tests.h: Remove file.
7062 * sysdeps/x86/math-tests.h: Likewise.
7063 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7065 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7066 Szabolcs Nagy <szabolcs.nagy@arm.com>
7068 * math/Makefile: Add s_sincosf_data.c.
7069 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7070 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7071 (sincosf_poly): Likewise.
7072 (reduce_small): Likewise.
7073 (reduce_large): Likewise.
7074 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7075 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7076 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7077 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7079 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7080 Szabolcs Nagy <szabolcs.nagy@arm.com>
7082 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7083 (converttoint): Use lround.
7084 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7085 document the semantics when TOINT_INTRINSICS is set.
7086 (converttoint): Likewise.
7087 (TOINT_RINT): Remove.
7088 (TOINT_SHIFT): Remove.
7089 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7092 2018-08-10 Florian Weimer <fweimer@redhat.com>
7095 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7097 (__old_getdents64): Use getdents64. Convert entries without
7099 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7100 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7101 tst-readdir64-compat.
7103 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7105 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7108 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7110 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7111 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7112 code to s390x-mcount.h and #include it.
7113 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7114 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7117 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7119 * stdlib/Versions: Remove __fentry__.
7120 * sysdeps/i386/Versions: Add __fentry__.
7121 * sysdeps/x86_64/Versions: Add __fentry__.
7123 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7125 * sysdeps/s390/Makefile: Register the new tests.
7126 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7127 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7128 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7129 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7130 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7131 * sysdeps/s390/tst-dl-runtime.c: New file.
7133 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7135 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7138 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7140 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7143 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7145 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7148 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7150 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7153 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7155 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7156 Use symbolic offsets for stack variables.
7158 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7160 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7161 Use symbolic offsets for stack variables.
7163 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7165 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7166 Use symbolic offsets for stack variables.
7168 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7170 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7171 Use symbolic offsets for stack variables.
7173 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7175 * math/gen-libm-test.py: New file.
7176 * math/gen-libm-test.pl: Remove.
7177 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7178 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7180 ($(libm-test-c-noauto-obj)): Likewise.
7181 ($(libm-test-c-auto-obj)): Likewise.
7182 ($(libm-test-c-narrow-obj)): Likewise.
7183 (regen-ulps): Likewise.
7184 * math/README.libm-test: Update references to gen-libm-test.pl.
7185 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7186 referencing gen-libm-test.pl.
7187 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7188 * math/libm-test-support.c: Likewise.
7189 * math/libm-test-support.h: Likewise.
7190 * sysdeps/generic/libm-test-ulps: Likewise.
7192 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7194 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7197 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7199 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7200 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7202 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7204 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7206 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7207 __pthread_setspecific): Add hidden proto.
7208 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7209 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7211 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7213 * benchtests/bench-string.h (buf1_size, buf2_size): New
7215 (init_sizes): New function.
7216 (test_init): Use it.
7217 (alloc_buf, exit_error): New functions.
7218 (alloc_bufs): Use ALLOC_BUF.
7219 (realloc_bufs): Remove.
7220 * benchtests/bench-memcmp.c (do_test): Adjust.
7221 * benchtests/bench-memset-large.c (do_test): Likewise.
7222 * benchtests/bench-memset-walk.c (do_test): Likewise.
7223 * benchtests/bench-memset.c (do_test): Likewise.
7224 * benchtests/bench-strncmp.c (do_test): Likewise.
7226 2018-08-06 Andreas Schwab <schwab@suse.de>
7228 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7229 of CONST_THREAD_AREA.
7231 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7233 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7234 (STATE_SAVE_MASK): Likewise.
7235 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7236 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7237 (STATE_SAVE_MASK): Likewise.
7238 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7239 instead of <cpu-features.h>.
7241 2018-08-03 DJ Delorie <dj@redhat.com>
7243 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7244 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7246 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7248 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7250 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7252 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7253 * math/libm-test-logb.inc (logb_test_data): Likewise.
7255 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7257 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7258 * string/strstr.c (AVAILABLE): Likewise.
7260 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7262 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7264 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7265 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7266 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7268 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7270 * po/be.po: Update translation.
7272 * po/be.po: Update translation.
7274 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7276 * sysdeps/x86/cpu-features-offsets.sym
7277 (rtld_global_ro_offsetof): Removed.
7278 (CPU_FEATURES_SIZE): Likewise.
7279 (CPUID_OFFSET): Likewise.
7280 (CPUID_SIZE): Likewise.
7281 (CPUID_EAX_OFFSET): Likewise.
7282 (CPUID_EBX_OFFSET): Likewise.
7283 (CPUID_ECX_OFFSET): Likewise.
7284 (CPUID_EDX_OFFSET): Likewise.
7285 (FAMILY_OFFSET): Likewise.
7286 (MODEL_OFFSET): Likewise.
7287 (FEATURE_OFFSET): Likewise.
7288 (FEATURE_SIZ): Likewise.
7289 (COMMON_CPUID_INDEX_1): Likewise.
7290 (COMMON_CPUID_INDEX_7): Likewise.
7291 (FEATURE_INDEX_1): Likewise.
7292 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7294 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7296 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7297 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7298 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7299 (install-locales): Depend on install-locale-archive.
7300 (install-locale-archive): Define.
7301 (install-locale-files): Define.
7302 (build-one-locale): Define macro.
7303 * manual/install.texi (Running make install): Document.
7304 * manual/INSTALL: Regenerate.
7306 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7308 * benchtests/scripts/compare_strings.py: Import traceback.
7309 (parse_file): Pretty-print error.
7311 * NEWS: Mention the change.
7312 * elf/dl-tunables.list: Rename tune namespace to cpu.
7313 * sysdeps/powerpc/dl-tunables.list: Likewise.
7314 * sysdeps/x86/dl-tunables.list: Likewise.
7315 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7317 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7318 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7319 * manual/README.tunables: Likewise.
7320 * manual/tunables.texi: Likewise.
7321 * sysdeps/powerpc/cpu-features.c: Likewise.
7322 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7323 (init_cpu_features): Likewise.
7324 * sysdeps/x86/cpu-features.c: Likewise.
7325 * sysdeps/x86/cpu-features.h: Likewise.
7326 * sysdeps/x86/cpu-tunables.c: Likewise.
7327 * sysdeps/x86_64/Makefile: Likewise.
7328 * sysdeps/x86/dl-cet.c: Likewise.
7330 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7333 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7334 [__mips_hard_float].
7335 (FE_UNDERFLOW): Likewise.
7336 (FE_OVERFLOW): Likewise.
7337 (FE_DIVBYZERO): Likewise.
7338 (FE_INVALID): Likewise.
7339 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7340 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7341 (FE_UPWARD): Likewise.
7342 (FE_DOWNWARD): Likewise.
7343 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7344 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7345 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7346 [__mips_hard_float].
7347 (FP_ROUNDMODE): Likewise.
7348 (FP_RND_NEAREST): Likewise.
7349 (FP_RND_ZERO): Likewise.
7350 (FP_RND_PINF): Likewise.
7351 (FP_RND_MINF): Likewise.
7352 (FP_EX_INVALID): Likewise.
7353 (FP_EX_OVERFLOW): Likewise.
7354 (FP_EX_UNDERFLOW): Likewise.
7355 (FP_EX_DIVZERO): Likewise.
7356 (FP_EX_INEXACT): Likewise.
7357 (FP_INIT_ROUNDMODE): Likewise.
7358 * sysdeps/mips/nofpu/fesetenv.c: New file.
7359 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7361 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7363 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7364 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7365 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7366 conditional on [FE_UPWARD].
7368 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7370 regex: fix memory leak in Gnulib
7371 Problem and fix reported by Assaf Gordon in:
7372 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7373 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7374 range_ends members too, as they are defined in 'struct
7375 re_charset_t' even if not _LIBC. This affects only Gnulib.
7377 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7379 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7381 (get_common_indices): This.
7382 (init_cpu_features): Updated.
7384 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7386 * sysdeps/generic/math-tests-snan-payload.h: New file.
7387 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7388 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7389 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7390 * sysdeps/generic/math-tests.h: Include
7391 <math-tests-snan-payload.h>.
7392 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7393 * sysdeps/hppa/math-tests.h: Remove file.
7394 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7395 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7396 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7399 * sysdeps/generic/math-tests-snan-cast.h: New file.
7400 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7401 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7402 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7403 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7405 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7407 * version.h (RELEASE): Set to "development".
7408 (VERSION): Set to "2.28.9000".
7409 * NEWS (2.29): New section.
7411 * version.h (RELEASE): Set to "stable".
7412 (VERSION): Set to "2.28".
7413 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7414 * NEWS: Add the list of bugs fixed in 2.28.
7416 * po/ca.po: Update to latest version.
7417 * po/cs.po: Likewise
7418 * po/da.po: Likewise
7419 * po/el.po: Likewise
7420 * po/eo.po: Likewise
7421 * po/es.po: Likewise
7422 * po/fi.po: Likewise
7423 * po/fr.po: Likewise
7424 * po/gl.po: Likewise
7425 * po/hu.po: Likewise
7426 * po/ia.po: Likewise
7427 * po/id.po: Likewise
7428 * po/it.po: Likewise
7429 * po/ja.po: Likewise
7430 * po/ko.po: Likewise
7431 * po/lt.po: Likewise
7432 * po/nb.po: Likewise
7433 * po/nl.po: Likewise
7434 * po/pt_BR.po: Likewise
7435 * po/ru.po: Likewise
7436 * po/rw.po: Likewise
7437 * po/sk.po: Likewise
7438 * po/sl.po: Likewise
7439 * po/tr.po: Likewise
7440 * po/zh_CN.po: Likewise
7441 * po/zh_TW.po: Likewise
7443 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7445 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7447 (init): ... before initializing libpthread.
7449 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7450 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7451 (__mach_setup_tls): ... new function.
7452 (mach_setup_tls): New alias.
7453 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7454 __mach_setup_thread.
7455 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7456 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7457 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7458 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7460 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7462 * manual/install.texi: Update versions.
7463 * INSTALL: Regenerate.
7465 * manual/contrib.texi (Contributors): Update contributions.
7467 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7469 * po/be.po: Update translations.
7471 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7473 * sysdeps/sh/libm-test-ulps: Update.
7475 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7477 * po/bg.po: Update translations.
7478 * po/de.po: Likewise.
7479 * po/hr.po: Likewise.
7480 * po/pt_BR.po: Likewise.
7481 * po/sv.po: Likewise.
7482 * po/vi.po: Likewise.
7484 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7487 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7488 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7489 (CFLAGS-tst-cet-property-1.o): New.
7490 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7491 ($(objpfx)tst-cet-property-2): Likewise.
7492 ($(objpfx)tst-cet-property-2.out): Likewise.
7493 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7494 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7495 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7496 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7497 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7499 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7502 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7504 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7506 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7507 __sbrk): Do not set attribute_hidden.
7508 * sysdeps/mach/hurd/not-errno.h: New file.
7509 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7510 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7512 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7514 * po/uk.po: Update translations.
7515 * po/cs.po: Likewise.
7516 * po/pl.po: Likewise.
7518 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7520 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7521 parse beyond the note end.
7523 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7525 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7526 kernel does not support OFD locks.
7527 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7529 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7531 * sysdeps/mach/hurd/Versions (libc): Make __access and
7532 __access_noerrno external so they can override the ld symbols.
7533 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7534 __writev, __open64, __access_noerrno extern so they can be overrided.
7535 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7536 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7538 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7540 * po/libc.pot: Regenerate.
7542 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7544 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7546 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7549 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7551 (init_cpu_features): Call get_extended_indices for both Intel
7553 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7554 Remove "for AMD" comment.
7556 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7559 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7560 COMMON_CPUID_INDEX_80000001.
7562 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7564 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7565 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7567 2018-07-26 Florian Weimer <fweimer@redhat.com>
7569 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7570 aliases for symbols not in the implementation namespace.
7572 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7575 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7576 lowercase in LATIN script.
7577 * localedata/Makefile (test-input): Add en_US.UTF-8.
7578 * localedata/en_US.UTF-8.in: New file.
7579 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7580 and restore old tests.
7581 * posix/tst-regexloc.c (do_test): Add back range expression test.
7583 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7585 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7587 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7589 * nptl/threads.h: Move to ...
7590 * sysdeps/nptl/threads.h: ... here.
7591 * sysdeps/hurd/stdc-predef.h: New file.
7593 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7595 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7596 tst-cet-setcontext-1 if CET is enabled.
7597 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7598 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7600 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7602 * include/threads.h: Move to ...
7603 * sysdeps/nptl/threads.h: ... here.
7604 * sysdeps/htl/threads.h: New file.
7605 * conform/Makefile (linknamespace-libs-ISO11): Use
7606 static-thread-library instead of linking libpthread.
7607 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7609 2018-07-25 Florian Weimer <fweimer@redhat.com>
7611 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7612 nanoseconds into seconds.
7613 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7614 (do_test): Likewise.
7615 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7616 (do_test): Likewise. Avoid nanosecond overflow and spurious
7617 timeouts due to system load.
7618 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7619 (child_wait): Increment it.
7620 (do_test): Wait as long as necessary until all expected threads
7623 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7624 H.J. Lu <hongjiu.lu@intel.com>
7626 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7628 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7629 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7630 (__push___start_context): New.
7631 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7633 (__getcontext): Record the current shadow stack base. Save the
7634 caller's shadow stack pointer and base.
7635 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7636 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7637 (__push___start_context): New prototype.
7638 (__makecontext): Call __push___start_context to allocate a new
7639 shadow stack, push __start_context onto the new stack as well
7640 as the new shadow stack.
7641 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7643 (__setcontext): Restore the target shadow stack.
7644 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7646 (__swapcontext): Record the current shadow stack base. Save
7647 the caller's shadow stack pointer and base. Restore the target
7649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7650 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7651 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7653 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7655 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7656 tst-setcontext8 and tst-setcontext9.
7657 * stdlib/tst-setcontext6.c: New file.
7658 * stdlib/tst-setcontext7.c: Likewise.
7659 * stdlib/tst-setcontext8.c: Likewise.
7660 * stdlib/tst-setcontext9.c: Likewise.
7662 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7664 * stdlib/Makefile ((tests): Add tst-setcontext5.
7665 * stdlib/tst-setcontext5.c: New file.
7667 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7669 * stdlib/Makefile (tests): Add tst-setcontext4.
7670 * stdlib/tst-setcontext4.c: New file.
7672 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7674 * stdlib/Makefile (tests): Add tst-swapcontext1.
7675 * stdlib/tst-swapcontext1.c: New test.
7677 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7679 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7680 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7681 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7682 and tst-cet-legacy-4c.
7683 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7684 and tst-cet-legacy-mod-4.
7685 (CFLAGS-tst-cet-legacy-2.c): New.
7686 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7687 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7688 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7689 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7690 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7691 ($(objpfx)tst-cet-legacy-1): Likewise.
7692 ($(objpfx)tst-cet-legacy-2): Likewise.
7693 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7694 ($(objpfx)tst-cet-legacy-2a): Likewise.
7695 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7696 ($(objpfx)tst-cet-legacy-4): Likewise.
7697 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7698 ($(objpfx)tst-cet-legacy-4a): Likewise.
7699 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7700 (tst-cet-legacy-4a-ENV): Likewise.
7701 ($(objpfx)tst-cet-legacy-4b): Likewise.
7702 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7703 (tst-cet-legacy-4b-ENV): Likewise.
7704 ($(objpfx)tst-cet-legacy-4c): Likewise.
7705 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7706 (tst-cet-legacy-4c-ENV): Likewise.
7707 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7708 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7709 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7710 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7711 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7712 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7713 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7714 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7715 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7716 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7717 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7719 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7721 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7722 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7724 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7725 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7728 2018-07-25 Andreas Schwab <schwab@suse.de>
7731 * locale/weightwc.h (findidx): Handle the case where usrc is a
7732 prefix of cp but one character too short.
7734 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7736 * NEWS: Add ISO C threads addition.
7738 2018-07-24 Florian Weimer <fweimer@redhat.com>
7740 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7741 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7742 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7745 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7747 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7748 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7749 <sys/prctl.h> and <asm/prctl.h>.
7750 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7751 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7753 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7754 ARCH_CET_LEGACY_BITMAP.
7755 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7756 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7757 * sysdeps/x86/libc-start.c: Include <startup.h>.
7759 2018-07-24 Florian Weimer <fweimer@redhat.com>
7761 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7762 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7764 2018-07-24 Rical Jasan <rj@2c3t.io>
7765 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7766 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7769 * manual/debug.texi: Update adjacent chapter name.
7770 * manual/probes.texi: Likewise.
7771 * manual/threads.texi (ISO C Threads): New section.
7772 (POSIX Threads): Convert to a section.
7774 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7775 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7778 * nptl/Makefile (tests): Add new test files.
7779 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7780 * nptl/tst-cnd-basic.c: Likewise.
7781 * nptl/tst-cnd-broadcast.c: Likewise.
7782 * nptl/tst-cnd-timedwait.c: Likewise.
7783 * nptl/tst-mtx-basic.c: Likewise.
7784 * nptl/tst-mtx-recursive.c: Likewise.
7785 * nptl/tst-mtx-timedlock.c: Likewise.
7786 * nptl/tst-mtx-trylock.c: Likewise.
7787 * nptl/tst-thrd-basic.c: Likewise.
7788 * nptl/tst-thrd-detach.c: Likewise.
7789 * nptl/tst-thrd-sleep.c: Likewise.
7790 * nptl/tst-tss-basic.c: Likewise.
7792 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7795 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7796 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7798 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7799 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7800 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7801 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7802 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7803 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7804 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7805 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7806 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7807 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7808 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7809 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7817 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7818 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7819 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7820 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7821 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7822 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7823 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7824 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7825 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7826 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7827 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7828 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7829 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7831 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7832 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7833 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7834 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7835 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7836 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7837 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7838 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7839 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7840 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7841 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7842 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
7844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
7845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7849 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
7850 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
7851 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
7852 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
7853 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
7854 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
7855 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
7856 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
7859 * conform/data/threads.h-data (thread_local): New macro.
7860 (TSS_DTOR_ITERATIONS): Likewise.
7862 (tss_dtor_t): Likewise.
7863 (tss_create): New function.
7864 (tss_get): Likewise.
7865 (tss_set): Likewise.
7866 (tss_delete): Likewise.
7867 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
7868 tss_get, and tss_set objects.
7869 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7870 * nptl/tss_create.c: New file.
7871 * nptl/tss_delete.c: Likewise.
7872 * nptl/tss_get.c: Likewise.
7873 * nptl/tss_set.c: Likewise.
7874 * sysdeps/nptl/threads.h (thread_local): New define.
7875 (TSS_DTOR_ITERATIONS): Likewise.
7876 (tss_t): New typedef.
7877 (tss_dtor_t): Likewise.
7878 (tss_create): New prototype.
7879 (tss_get): Likewise.
7880 (tss_set): Likewise.
7881 (tss_delete): Likewise.
7884 * conform/data/threads.h-data (cnd_t): New type.
7885 (cnd_init): New function.
7886 (cnd_signal): Likewise.
7887 (cnd_broadcast): Likewise.
7888 (cnd_wait): Likewise.
7889 (cnd_timedwait): Likewise.
7890 (cnd_destroy): Likewise.
7891 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
7892 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
7894 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
7895 * nptl/cnd_broadcast.c: New file.
7896 * nptl/cnd_destroy.c: Likewise.
7897 * nptl/cnd_init.c: Likewise.
7898 * nptl/cnd_signal.c: Likewise.
7899 * nptl/cnd_timedwait.c: Likewise.
7900 * nptl/cnd_wait.c: Likewise.
7901 * sysdeps/nptl/threads.h (cnd_t): New type.
7902 (cnd_init): New prototype.
7903 (cnd_signa): Likewise.
7904 (cnd_broadcast): Likewise.
7905 (cnd_wait): Likewise.
7906 (cnd_timedwait): Likewise.
7907 (cnd_destroy): Likewise.
7910 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
7911 (once_flag): New type.
7912 (call_once): New function.
7913 * nptl/Makefile (libpthread-routines): Add call_once object.
7914 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
7915 * nptl/call_once.c: New file.
7916 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
7917 (once_flag): New type.
7918 (call_once): New prototype.
7921 * conform/data/threads.h-data (mtx_plain): New constant.
7922 (mtx_recursive): Likewise.
7923 (mtx_timed): Likewise.
7925 (mtx_init): New function.
7926 (mtx_lock): Likewise.
7927 (mtx_timedlock): Likewise.
7928 (mtx_trylock): Likewise.
7929 (mtx_unlock): Likewise.
7930 (mtx_destroy): Likewise.
7931 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
7932 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
7933 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
7934 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
7935 * nptl/mtx_destroy.c: New file.
7936 * nptl/mtx_init.c: Likewise.
7937 * nptl/mtx_lock.c: Likewise.
7938 * nptl/mtx_timedlock.c: Likewise.
7939 * nptl/mtx_trylock.c: Likewise.
7940 * nptl/mtx_unlock.c: Likewise.
7941 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
7942 (mtx_recursive): Likewise.
7943 (mtx_timed): Likewise.
7945 (mtx_init): New prototype.
7946 (mtx_lock): Likewise.
7947 (mtx_timedlock): Likewise.
7948 (mtx_trylock): Likewise.
7949 (mtx_unlock): Likewise.
7950 (mtx_destroy): Likewise.
7953 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
7954 (linknamespace-libs-ISO11): Add libpthread.a.
7955 * conform/data/threads.h-data: New file: add C11 thrd_* types and
7957 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
7958 * nptl/Makefile (headers): Add threads.h.
7959 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
7960 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
7962 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
7963 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
7964 thrd_join, thrd_sleep, and thrd_yield symbols.
7965 * nptl/descr.h (struct pthread): Add c11 field.
7966 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
7967 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
7968 routine with expected function prototype.
7969 (__pthread_create_2_1): Add C11 threads check based on attribute
7971 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
7972 * nptl/thrd_create.c: New file.
7973 * nptl/thrd_current.c: Likewise.
7974 * nptl/thrd_detach.c: Likewise.
7975 * nptl/thrd_equal.c: Likewise.
7976 * nptl/thrd_exit.c: Likewise.
7977 * nptl/thrd_join.c: Likewise.
7978 * nptl/thrd_priv.h: Likewise.
7979 * nptl/thrd_sleep.c: Likewise.
7980 * nptl/thrd_yield.c: Likewise.
7981 * include/threads.h: Likewise.
7983 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7985 * bits/indirect-return.h: New file.
7986 * misc/sys/cdefs.h (__glibc_has_attribute): New.
7987 * sysdeps/x86/bits/indirect-return.h: Likewise.
7988 * stdlib/Makefile (headers): Add bits/indirect-return.h.
7989 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
7990 (swapcontext): Add __INDIRECT_RETURN.
7991 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
7992 (prepare_test_buffer): Use it.
7994 2018-07-24 Andreas Schwab <schwab@suse.de>
7997 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
7998 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8000 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8002 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8003 Redefine if shadow stack is enabled.
8004 (SYSCALL_ERROR_LABEL): Likewise.
8005 (__vfork): Pop shadow stack and jump back to to caller directly
8006 when shadow stack is in use.
8007 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8008 Redefine if shadow stack is enabled.
8009 (SYSCALL_ERROR_LABEL): Likewise.
8010 (__vfork): Pop shadow stack and jump back to to caller directly
8011 when shadow stack is in use.
8013 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8015 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8018 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8021 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8023 * scripts/build-many-glibcs.py (Context.checkout): Default
8024 binutils version to 2.31 branch.
8026 2018-07-20 Zong Li <zong@andestech.com>
8028 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8029 URL of gcc's tarball.
8031 2018-07-20 Florian Weimer <fweimer@redhat.com>
8034 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8035 not compare an extra byte after the end of the weights.
8037 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8039 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8041 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8043 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8044 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8045 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8046 list of libraries whose stack executability is expected.
8047 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8048 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8050 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8051 libc.so libpthread.so.
8053 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8055 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8057 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8059 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8061 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8063 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8065 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8066 library to improve command line parsing.
8067 (__main__): make schema file as optional parameter (--schema),
8068 defaulting to benchtests/scripts/benchout.schema.json.
8069 (main): move out of the parsing stuff to __main_ and leave it
8070 only as caller of main comparison functions.
8072 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8074 * NEWS: Add a note for Intel CET status.
8075 * manual/install.texi: Likewise.
8076 * INSTALL: Regenerated.
8078 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8081 * localedata/locales/oc_FR (mon): Rename to...
8082 (alt_mon): This, then update October (typo fix).
8083 (mon): New content (genitive case, month names preceded by
8087 * localedata/locales/oc_FR (abday): Update all items.
8088 (day): Update Wednesday and Saturday (typo fixes).
8089 (abmon): Update all items, except May.
8090 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8091 (LC_IDENTIFICATION): Bump the revision number and date.
8092 Keep the "category" entries in alphabetic order.
8093 (LC_ADDRESS): Remove no longer needed comment.
8094 (LC_COLLATE): Use “copy "ca_ES"”.
8095 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8098 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8100 * grp/tst_fgetgrent.c: Include <unistd.h>.
8101 (main): Use mkstemp instead of tmpnam.
8102 * io/test-utime.c (main): Likewise.
8103 * posix/annexc.c (macrofile): Change to modifiable array.
8104 (main): Remove macrofile here.
8105 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8107 (check_header): Do not remove macrofile here.
8108 * posix/bug-getopt1.c: Include <stdlib.h>.
8109 (do_test): Use mkstemp instead of tmpnam.
8110 * posix/bug-getopt2.c: Include <stdlib.h>.
8111 (do_test): Use mkstemp instead of tmpnam.
8112 * posix/bug-getopt3.c: Include <stdlib.h>.
8113 (do_test): Use mkstemp instead of tmpnam.
8114 * posix/bug-getopt4.c: Include <stdlib.h>.
8115 (do_test): Use mkstemp instead of tmpnam.
8116 * posix/bug-getopt5.c: Include <stdlib.h>.
8117 (do_test): Use mkstemp instead of tmpnam.
8118 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8119 (main): Use mkstemp instead of tmpnam.
8120 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8121 (main): Use mkstemp instead of tmpnam.
8122 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8123 (main): use mkstemp instead of tmpnam.
8124 * stdlib/isomac.c (macrofile): Change to modifiable array.
8125 (main): Remove macrofile here.
8126 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8128 (check_header): Do not remove macrofile here.
8130 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8132 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8133 glibc.tune.x86_shstk.
8135 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8137 * NEWS: Mention --enable-cet.
8138 * manual/install.texi: Document --enable-cet.
8139 * INSTALL: Regenerated.
8141 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8143 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8144 Add _CET_NOTRACK before indirect jump to jump table.
8146 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8148 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8149 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8152 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8154 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8155 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8158 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8160 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8161 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8164 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8166 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8167 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8170 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8172 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8173 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8175 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8177 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8179 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8180 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8183 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8185 * sysdeps/i386/i686/multiarch/memset-sse2.S
8186 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8189 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8191 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8192 indirect jump to jump table.
8194 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8196 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8197 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8201 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8203 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8204 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8208 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8210 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8211 _CET_NOTRACK before indirect jump to jump table.
8213 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8216 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8219 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8221 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8222 indirect jump to jump table.
8224 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8227 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8228 (LOCALES): Likewise.
8229 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8230 * localedata/locales/sah_RU: New file.
8231 * localedata/sah_RU.UTF-8.in: New file.
8233 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8235 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8237 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8238 _CET_ENDBR to indirect jump targets and adjust jump destination
8240 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8242 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8243 _CET_ENDBR to indirect jump targets and adjust jump destination
8245 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8247 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8248 _CET_ENDBR to indirect jump targets and adjust jump destination
8251 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8253 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8256 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8258 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8260 (_dl_tlsdesc_undefweak): Likewise.
8261 (_dl_tlsdesc_dynamic): Likewise.
8262 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8263 (_dl_tlsdesc_resolve_rel): Likewise.
8264 (_dl_tlsdesc_resolve_rela): Likewise.
8265 (_dl_tlsdesc_resolve_hold): Likewise.
8266 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8267 (_dl_tlsdesc_undefweak): Likewise.
8268 (_dl_tlsdesc_dynamic): Likewise.
8269 (_dl_tlsdesc_resolve_rela): Likewise.
8270 (_dl_tlsdesc_resolve_hold): Likewise.
8272 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8274 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8276 * sysdeps/x86_64/crti.S (_init): Likewise.
8279 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8282 * localedata/locales/os_RU (mon): Rename to...
8284 (mon): Import from CLDR (genitive case).
8286 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8288 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8289 cet-tunables.h> when CET is enabled.
8291 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8294 * configure.ac: Add --enable-cet.
8295 * configure: Regenerated.
8296 * elf/Makefille (all-built-dso): Add a comment.
8297 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8298 Include <dl-prop.h>.
8299 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8301 * elf/dl-open.c: Include <dl-prop.h>.
8302 (dl_open_worker): Call _dl_open_check.
8303 * elf/rtld.c: Include <dl-prop.h>.
8304 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8306 * sysdeps/generic/dl-prop.h: New file.
8307 * sysdeps/i386/dl-cet.c: Likewise.
8308 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8309 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8310 * sysdeps/x86/cet-tunables.h: Likewise.
8311 * sysdeps/x86/check-cet.awk: Likewise.
8312 * sysdeps/x86/configure: Likewise.
8313 * sysdeps/x86/configure.ac: Likewise.
8314 * sysdeps/x86/dl-cet.c: Likewise.
8315 * sysdeps/x86/dl-procruntime.c: Likewise.
8316 * sysdeps/x86/dl-prop.h: Likewise.
8317 * sysdeps/x86/libc-start.h: Likewise.
8318 * sysdeps/x86/link_map.h: Likewise.
8319 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8321 (_dl_runtime_profile): Likewise.
8322 (_dl_runtime_resolve_shstk): New.
8323 (_dl_runtime_profile_shstk): Likewise.
8324 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8326 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8327 (CFLAGS-.os): Likewise.
8328 (CFLAGS-.op): Likewise.
8329 (CFLAGS-.oS): Likewise.
8330 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8332 (tests-special): Add $(objpfx)check-cet.out.
8333 (cet-built-dso): New.
8334 (+$(cet-built-dso:=.note)): Likewise.
8335 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8336 ($(objpfx)check-cet.out): New.
8337 (generated): Add check-cet.out.
8338 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8340 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8341 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8342 (init_cpu_features): Call get_cet_status to check CET status
8343 and update dl_x86_feature_1 with CET status. Call
8344 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8345 (set_x86_shstk). Disable and lock CET in libc.a.
8346 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8347 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8348 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8349 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8350 (_CET_ENDBR): Define if not defined.
8351 (ENTRY): Add _CET_ENDBR.
8352 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8354 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8356 (_dl_runtime_profile): Likewise.
8358 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8361 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8362 restore r2 on longjmp.
8363 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8365 Added rules to build test tst-setjmp-bug21895-static.
8366 Added module setjmp-bug21895 and rules to build a shared object from it.
8367 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8368 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8370 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8372 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8373 * benchtests/bench-strstr.c: Likewise.
8374 * string/memmem.c (FASTSEARCH): Define.
8375 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8376 Add support for FASTSEARCH.
8377 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8378 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8379 (FASTSEARCH): Define.
8380 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8381 * string/test-strstr.c: Likewise.
8383 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8385 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8386 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8388 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8389 H.J. Lu <hongjiu.lu@intel.com>
8391 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8392 (__longjmp): Restore shadow stack pointer if shadow stack is
8393 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8394 isn't defined for __longjmp_cancel.
8395 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8396 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8397 and SHADOW_STACK_POINTER_OFFSET is defined.
8398 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8399 (setjmp): Save shadow stack pointer if shadow stack is enabled
8400 and SHADOW_STACK_POINTER_OFFSET is defined.
8401 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8402 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8403 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8404 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8406 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8407 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8408 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8409 Remove jmp_buf-ssp.sym.
8410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8412 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8413 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8414 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8416 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8417 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8418 (__longjmp): Restore shadow stack pointer if shadow stack is
8419 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8420 isn't defined for __longjmp_cancel.
8421 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8422 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8423 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8425 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8428 * nptl/pthread_create.c: Include <tls-setup.h>.
8429 (__pthread_create_2_1): Call tls_setup_tcbhead.
8430 * sysdeps/generic/tls-setup.h: New file.
8431 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8432 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8433 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8435 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8437 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8438 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8439 (X86_FEATURE_1_SHSTK): Likewise.
8440 (CET_ENABLED): Likewise.
8441 (IBT_ENABLED): Likewise.
8442 (SHSTK_ENABLED): Likewise.
8444 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8447 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8448 (LOCALES): Likewise.
8449 * localedata/dsb_DE.UTF-8.in: New file.
8450 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8452 2018-07-12 Florian Weimer <fweimer@redhat.com>
8454 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8455 __mprotect, not mprotect.
8457 2018-07-11 Florian Weimer <fweimer@redhat.com>
8459 * io/Makefile (headers): Add bits/statx.h.
8461 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8463 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8464 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8466 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8467 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8470 2018-07-10 Florian Weimer <fweimer@redhat.com>
8472 * io/Makefile (routines): Add statx.
8473 (tests-internal): Add tst-statx.
8474 * io/Versions (GLIBC_2.28): Export statx.
8475 * io/bits/statx.h: New file.
8476 * io/sys/stat.h [__USE_GNU]: Include it.
8477 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8478 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8480 * io/statx.c: New file.
8481 * io/statx_generic.: Likewise.
8482 * io/tst-statx.: Likewise.
8483 * include/bits/statx.h: Likewise.
8484 * sysdeps/unix/sysv/linux/kernel-features.h
8485 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8486 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8487 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8488 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8490 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8491 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8492 * sysdeps/unix/sysv/linux/statx.c: New file.
8493 * manual/filesys.texi: Note that statx is undocumented.
8494 * sysdeps/**/libc*.abilist: Update.
8496 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8498 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8499 a kernel issue which lead to test failure in some cases.
8501 2018-07-10 Florian Weimer <fweimer@redhat.com>
8504 * posix/regexec.c (check_node_accept_bytes): When comparing
8505 weights, do not compare an extra byte after the end of the
8508 2018-07-10 Florian Weimer <fweimer@redhat.com>
8510 * libio/readline.c: Fix copyright year.
8511 * libio/tst-readline.c Likewise.
8512 * nss/tst-nss-files-hosts-getent.c: Likewise.
8514 2018-07-06 Florian Weimer <fweimer@redhat.com>
8517 * nss/nss_files/files-XXX.c (internal_getent): Use
8518 __libc_readline_unlocked. Seek back to the start of the line if
8519 parsing failes with ERANGE.
8520 (get_contents_ret, get_contents): Remove.
8521 * nss/tst-nss-files-hosts-getent.c: New file.
8522 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8523 (tst-nss-files-hosts-getent): Link with -ldl.
8525 2018-07-06 Florian Weimer <fweimer@redhat.com>
8527 * include/stdio.h (__libc_readline_unlocked): Declare.
8528 (__ftello64, __fseeko64): Declare aliases.
8529 * libio/readline.c: New file.
8530 * libio/tst-readline.c: Likewise.
8531 (routines): Add readline.
8532 (tests-internal): Add tst-readlime.
8533 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8534 __libc_readline_unlocked.
8535 * libio/fseeko.c (__fseeko): Rename from fseeko.
8536 (fseeko): Add alias.
8537 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8538 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8539 (fseeko64): Add alias.
8540 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8541 * libio/ftello64.c (__ftello64): Rename from ftello64.
8542 (ftello64): Add alias.
8544 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8546 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8549 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8551 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8552 Use dl_hwcap without masking.
8553 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8556 2018-07-06 Florian Weimer <fweimer@redhat.com>
8558 * conform/conformtest.pl (checknamespace): Escape literal braces
8559 in regular expressions.
8561 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8563 * sysdeps/x86/cpu-features.c (get_common_indeces):
8564 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8565 * sysdeps/x86/cpu-features.c (init_cpu_features):
8566 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8568 2018-07-05 Florian Weimer <fweimer@redhat.com>
8570 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8572 (CFLAGS-elf-init.oS): Likewise.
8574 2018-07-05 Florian Weimer <fweimer@redhat.com>
8575 Carlos O'Donell <carlos@redhat.com>
8577 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8578 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8579 with stack protector enabled because there is no risk of infinite
8582 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8586 * libc-abis (ABSOLUTE): New ABI.
8587 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8588 * NEWS: Mention the new ABI.
8590 2018-07-05 Florian Weimer <fweimer@redhat.com>
8593 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8594 (RENAME_WHITEOUT): Define.
8595 [__USE_GNU] (renameat2): Declare.
8596 * stdio-common/Makefile (routines): Add renameat2.
8597 (tests): Add tst-renameat2.
8598 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8599 * stdio-common/renameat2.c: New file.
8600 * stdio-common/tst-renameat2.c: Likewise.
8601 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8602 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8604 * sysdeps/unix/sysv/linux/kernel-features.h
8605 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8606 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8607 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8608 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8609 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8610 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8611 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8612 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8613 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8614 * include/stdio.h (__renameat): Add alias for renameat.
8615 * stdio-common/renameat.c (__renameat): Rename from renameat.
8616 Add hidden definition and alias.
8617 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8618 * sysdeps/mach/hurd/renameat.c: Likewise.
8619 * sysdeps/**/libc*.abilist: Add renameat2.
8621 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8623 * posix/bug-regex33.c: Fix build after regex sync.
8625 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8628 * localedata/tst-langinfo-setlocale.c: New file.
8629 * localedata/tst-langinfo-setlocale-static.c: New file.
8630 * localedata/tst-langinfo-newlocale.c: New file.
8631 * localedata/tst-langinfo-newlocale-static.c: New file.
8632 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8633 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8634 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8635 (tests-static): Remove tst-langinfo-static. Add
8636 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8637 (tests-special): Remove $(objpfx)tst-langinfo.out,
8638 $(objpfx)tst-langinfo-static.out. Add
8639 $(objpfx)tst-langinfo-setlocale.out,
8640 $(objpfx)tst-langinfo-newlocale.out,
8641 $(objpfx)tst-langinfo-setlocale-static.out,
8642 $(objpfx)tst-langinfo-newlocale-static.out.
8643 ($(objpfx)tst-langinfo.out): Remove.
8644 ($(objpfx)tst-langinfo-static.out): Remove.
8645 ($(objpfx)tst-langinfo-newlocale.out): New target.
8646 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8647 (test-xfail-tst-langinfo-newlocale-static): Add.
8648 ($(objpfx)tst-langinfo-setlocale.out): New target.
8649 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8650 * localedata/tst-langinfo.c: Call test_locale.
8651 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8654 2018-07-04 Florian Weimer <fweimer@redhat.com>
8656 testrun.sh: Implement --tool=strace, --tool=valgrind
8657 * Makefile (testrun-script): Define variable.
8658 (testrun.sh): Use variable.
8659 * manual/install.texi (Tools for Compilation): make 4.0 or later
8661 * configure.ac: Check for make 4.0 or later.
8662 * INSTALL: Regenerate.
8663 * configure: Likewise.
8665 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8671 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8672 * posix/PCRE.tests: Remove invalid test.
8673 * posix/bug-regex28.c: Fix expected values for used syntax.
8674 * posix/bug-regex37.c: New file.
8675 * posix/bug-regex38.c: Likewise.
8676 * posix/regcomp.c: Sync with gnulib.
8677 * posix/regex.c: Likewise.
8678 * posix/regex.h: Likewise.
8679 * posix/regex_internal.c: Likewise.
8680 * posix/regex_internal.h: Likewise.
8681 * posix/regexec.c: Likewise.
8683 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8686 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8687 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8688 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8689 * localedata/unicode-gen/PropList.txt: likewise.
8690 * localedata/unicode-gen/UnicodeData.txt: likewise.
8691 * localedata/charmaps/UTF-8: Regenerate.
8692 * localedata/locales/i18n_ctype: likewise.
8693 * localedata/locales/tr_TR: likewise.
8694 * localedata/locales/translit_circle: likewise.
8695 * localedata/locales/translit_cjk_compat: likewise.
8696 * localedata/locales/translit_combining: likewise.
8697 * localedata/locales/translit_compat: likewise.
8698 * localedata/locales/translit_font: likewise.
8699 * localedata/locales/translit_fraction: likewise.
8701 2018-07-03 Florian Weimer <fweimer@redhat.com>
8704 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8705 * stdio-common/tst-printf.sh: Adjust expected output.
8708 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8710 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8713 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8715 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8716 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8717 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8718 * stdio-common/tst-printfsz-islongdouble.c: New file.
8719 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8720 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8721 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8722 [subdir == stdio-common] (tests-internal): Add
8723 test-printf-size-ieee128, and test-printf-size-ibm128.
8724 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8725 (CFLAGS-test-printf-size-ibm128.c): New variables.
8726 [subdir == stdio-common] (tests-special): Add
8727 $(objpfx)test-printf-size-ieee128.out and
8728 $(objpfx)test-printf-size-ibm128.out.
8729 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8730 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8731 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8732 __printf_sizeieee128.
8733 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8735 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8737 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8740 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8742 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8743 (exp2f_inline): Likewise.
8744 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8745 (__math_uflowf): Likewise.
8746 (__math_may_uflowf): Likewise.
8747 (__math_divzerof): Likewise.
8748 (__math_invalidf): Likewise.
8749 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8750 (__math_oflowf): Likewise.
8751 (__math_uflowf): Likewise.
8752 (__math_may_uflowf): Likewise.
8753 (__math_divzerof): Likewise.
8754 (__math_invalidf): Likewise.
8756 2018-06-29 DJ Delorie <dj@redhat.com>
8757 Carlos O'Donell <carlos@redhat.com>
8760 * include/libc-symbols.h: Comment the freeres framework.
8761 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8762 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8763 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8764 * dlfcn/dlerror.c: Include libc-symbols.h
8765 (__dlerror_main_freeres): New function.
8766 * dlfcn/dlfreeres.c: New file.
8767 * dlfcn/sdlfreeres.c: New file.
8768 * include/dlfcn.h: Declare __dlerror_main_freeres.
8769 * malloc/set-freeres.c: Declare __libdl_freeres, and
8770 __libpthread_freeres.
8771 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8772 the releavant libraries are loaded.
8773 * malloc/thread-freeres.c: Add comments.
8774 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8775 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8776 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8777 (__free_stacks): Rename to...
8778 (free_stacks): ...this. Mark static.
8779 (queue_stack): Call free_stacks.
8780 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8781 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8782 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8783 ptr_freeres element from struct.
8784 (pthread_functions): Remove .ptr_freeres from struct initializer.
8785 [SHARED] (nptl_freeres): Remove.
8786 * nptl/nptlfreeres.c: New file.
8788 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8789 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8791 (__free_stacks): Rename to...
8792 (__nptl_stacks_freeres): ...this.
8793 (__shm_directory_freeres): Declare.
8794 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8795 (__nptl_unwind_freeres): ...this.
8796 * resolv/res-close.c: Add comment.
8797 * resolv/resolv_conf.c: Include libc-symbols.h.
8798 * string/strerror_l.c: Include libc-symbols.h.
8799 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8800 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8801 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8802 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8804 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8806 * stdlib/tst-strfmon_l.c: Add tests for long double.
8808 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8811 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8812 * localedata/locales/dsb_DE: New file.
8814 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8817 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8819 (alt_mon): New entry, import from CLDR (nominative case).
8821 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8824 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8826 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8828 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8829 Use vector registers.
8831 * sysdeps/aarch64/multiarch/memmove_falkor.S
8832 (__memcpy_falkor): Use vector registers.
8834 2018-06-29 Martin Sebor <msebor@redhat.com>
8836 * manual/stdio.texi (Customizing Printf): Mention interaction
8839 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8842 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
8843 `st_value' is 0 if `st_shndx' is SHN_ABS.
8844 * elf/tst-absolute-zero.c: New file.
8845 * elf/tst-absolute-zero-lib.c: New file.
8846 * elf/tst-absolute-zero-lib.lds: New file.
8847 * elf/Makefile (tests): Add `tst-absolute-zero'.
8848 (modules-names): Add `tst-absolute-zero-lib'.
8849 (LDLIBS-tst-absolute-zero-lib.so): New variable.
8850 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
8851 ($(objpfx)tst-absolute-zero: New dependency.
8853 2018-06-29 Zack Weinberg <zackw@panix.com>
8855 * configure.ac: New command-line option --disable-crypt.
8856 Force --disable-nss-crypt when --disable-crypt is given, with a
8857 warning if it was explicitly enabled.
8858 * configure: Regenerate.
8859 * config.make.in: New boolean substitution variable $(build-crypt).
8860 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
8861 when $(build-crypt).
8862 * manual/install.texi: Document --disable-crypt.
8863 * INSTALL: Regenerate.
8865 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
8867 * conform/Makefile: Only include libcrypt.a in
8868 linknamespace-libs-xsi and linknamespace-libs-XPG4
8869 when $(build-crypt).
8870 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
8871 USE_CRYPT to 1 when $(build-crypt).
8872 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
8873 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
8874 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
8876 2018-06-29 Zack Weinberg <zackw@panix.com>
8878 * crypt/crypt.h, posix/unistd.h: Update comments and
8879 prototypes for crypt and crypt_r.
8881 * manual/crypt.texi (Cryptographic Functions): New initial
8883 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
8884 (Unpredictable Bytes): Improve initial exposition. Clarify error
8885 behavior of getentropy and getrandom.
8886 * manual/examples/genpass.c: Generate a salt using getentropy
8887 instead of the current time. Use hash $5$ (SHA-2-256).
8888 * manual/examples/testpass.c: Demonstrate validation against
8889 hashes generated with three different one-way functions.
8891 * manual/intro.texi: crypt.texi does not need an overview
8894 * manual/nss.texi, manual/memory.texi, manual/socket.texi
8895 * manual/terminal.texi: Consistently refer to "passphrases"
8896 * instead of "passwords", and to the "user database" instead
8897 * of the "password database".
8898 * manual/users.texi: Similarly. Add notes about how actual
8899 passphrase hashes are now stored in the shadow database.
8900 Remove 20-year-old junk todo note.
8902 2018-06-29 Zack Weinberg <zackw@panix.com>
8904 * manual/crypt.texi: Use a normal top-level @node declaration.
8905 Move most of the introductory text to the 'crypt' section.
8906 Move the example programs below the @deftypefun for 'crypt_r'.
8907 Move the 'getpass' section...
8908 * manual/terminal.texi: ...here.
8910 2018-06-29 Zack Weinberg <zackw@panix.com>
8911 Florian Weimer <fweimer@redhat.com>
8913 * posix/unistd.h: Do not declare encrypt.
8914 (_XOPEN_CRYPT): Remove macro definition.
8915 (crypt): Declare only for _USE_MISC.
8916 * stdlib/stdlib.h: Do not declare setkey.
8917 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
8918 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
8920 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
8921 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
8922 into compat symbols. Don't define initial_perm if it's not
8924 * crypt/cert.c: Link explicitly with the expected versions for
8925 setkey and encrypt. If they are not available at all, mark
8926 the test as unsupported.
8928 * sunrpc/des_crypt.c: Unconditionally block linkage with
8929 cbc_crypt and ecb_crypt for new binaries.
8930 * sunrpc/des_soft.c: Unconditionally block linkage with
8931 des_setparity for new binaries.
8933 * manual/crypt.texi: Remove the entire "DES Encryption"
8934 section. Also remove the paragraph talking about FIPS 140-2
8935 from the introduction.
8936 * manual/string.texi (strfry, memfrob): Revise. Recommend use
8937 of libgcrypt for "real" encryption, not DES.
8938 * manual/conf.texi (Constants for Sysconf): Mention that
8939 _XOPEN_CRYPT is no longer impelemented.
8941 * conform/data/unistd.h-data: Remove crypt function declaration.
8943 2018-06-29 Florian Weimer <fweimer@redhat.com>
8946 * malloc/hooks.c: Update comments on restoring of dumped heaps.
8947 (disallow_malloc_check): Remove variable.
8948 (__malloc_check_init): Adjust.
8949 (malloc_set_state): Update comment.
8950 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
8953 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8956 * localedata/locales/ast_ES (mon): Rename to...
8958 (mon): Import from CLDR (genitive case).
8960 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
8961 Jakub Sitnicki <jkbs@redhat.com>
8964 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
8967 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
8969 * manual/llio.texi: Remove spurious space.
8971 2018-06-28 Florian Weimer <fweimer@redhat.com>
8974 * time/bits/types/struct_timespec.h: Change header inclusion guard to
8977 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8979 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
8980 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
8981 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
8982 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
8983 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
8984 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
8985 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
8987 2018-06-27 Maciej W. Rozycki <macro@mips.com>
8990 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
8991 Copy and null-terminate entries that are not terminated, in
8992 addition to empty ones.
8994 2018-06-27 Florian Weimer <fweimer@redhat.com>
8997 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
8998 (extend_alloca_account): Remove.
8999 * manual/stdio.texi (Variable Arguments Output): Update comment.
9001 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9003 * nptl/sockperf.c: Remove file.
9005 2018-06-27 Florian Weimer <fweimer@redhat.com>
9008 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9009 scratch_buffer instead of extend_alloca.
9011 2018-06-27 Florian Weimer <fweimer@redhat.com>
9014 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9015 scratch_buffer instead of extend_alloca. Update comments.
9017 2018-06-27 Florian Weimer <fweimer@redhat.com>
9020 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9021 instead of extend_alloca.
9023 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9026 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9027 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9029 * scripts/test-installation.pl: Put temporary files in build
9030 directory, not /tmp.
9031 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9032 (CFLAGS-bug4.c): Likewise.
9033 (CFLAGS-bug5.c): Likewise.
9034 (CFLAGS-test-fseek.c): Likewise.
9035 (CFLAGS-test-popen.c): Likewise.
9036 (CFLAGS-test_rdwr.c): Likewise.
9037 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9039 * stdio-common/bug4.c (main): Likewise.
9040 * stdio-common/bug5.c (main): Likewise.
9041 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9042 * stdio-common/test-popen.c (do_test): Likewise.
9043 * stdio-common/test_rdwr.c (main): Likewise.
9045 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9047 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9048 (sem_open): Set sem.newsem.pad to zero for valgrind.
9050 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9053 * NEWS: Mention fcntl64 addition.
9054 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9055 * login/utmp_file.c: Likewise.
9056 * sysdeps/posix/fdopendir.c: Likewise.
9057 * sysdeps/posix/opendir.c: Likewise.
9058 * sysdeps/unix/pt-fcntl.c: Likewise.
9059 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9060 __fcntl64_nocancel_adjusted): New prototype.
9061 (__fcntl_nocancel_adjusted): Remove prototype.
9062 * io/Makefile (routines): Add fcntl64.
9063 (CFLAGS-fcntl64.c): New rule.
9064 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9065 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9066 * io/fcntl.h (fcntl64): Add prototype and redirect if
9067 __USE_FILE_OFFSET64 is defined.
9068 * io/fcntl64.c: New file.
9069 * manual/llio.text: Add a note for which commands fcntl acts a
9071 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9072 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9073 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9075 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9076 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9078 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9079 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9080 to __fcntl64_nocancel.
9081 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9082 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9083 to __fcntl64_nocancel.
9084 * sysdeps/generic/not-cancel.h: Likewise.
9085 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9086 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9087 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9088 (fcntl64): New symbol.
9089 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9090 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9091 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9094 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9095 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9096 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9097 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9098 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9099 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9101 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9102 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9103 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9104 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9105 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9106 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9107 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9108 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9109 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9114 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9115 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9116 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9118 2018-06-26 Florian Weimer <fweimer@redhat.com>
9120 Run thread shutdown functions in an explicit order.
9121 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9123 (__libc_thread_freeres): Call thread shutdown functions
9125 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9126 * include/string.h (__strerror_thread_freeres): Declare.
9127 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9128 arena_thread_freeres. No longer static. Remove thread shutdown
9130 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9132 * resolv/res-close.c (__res_thread_freeres): Renamed from
9133 res_thread_freeres. No longer static. Remove thread shutdown
9135 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9136 * resolv/resolv_conf.c (freeres): Remove incorrect section
9137 attribute and use libc_freeres_fn.
9138 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9139 strerror_thread_freeres. No longer static. Remove thread
9140 shutdown hook registration.
9141 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9142 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9143 shutdown hook registration.
9144 * Makerules (shlib.lds): Do not provide section boundary symbols
9145 for __libc_thread_subfreeres.
9146 * manual/memory.texi (Basic Allocation): Update comment.
9148 2018-06-26 Florian Weimer <fweimer@redhat.com>
9150 Remove always-defined _RPC_THREAD_SAFE_ macro.
9151 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9152 Do not define _RPC_THREAD_SAFE_.
9153 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9155 * sunrpc/clnt_perr.c: Likewise.
9156 * sunrpc/clnt_raw.c: Likewise.
9157 * sunrpc/clnt_simp.c: Likewise.
9158 * sunrpc/key_call.c: Likewise.
9159 * sunrpc/rpc_common.c: Likewise.
9160 * sunrpc/rpc_main.c: Likewise.
9161 * sunrpc/rpc_thread.c: Likewise.
9162 * sunrpc/svc.c: Likewise.
9163 * sunrpc/svc_raw.c: Likewise.
9164 * sunrpc/svc_simple.c: Likewise.
9165 * sumrpc/svcauth_des.c: Likewise.
9167 2018-06-26 Florian Weimer <fweimer@redhat.com>
9169 * libio/Makefile (tests-internal): Add tst-vtables,
9170 tst-vtables-interposed.
9171 * libio/tst-vtables.c: New file.
9172 * libio/tst-vtables-common.c: Likewise.
9173 * libio/tst-vtables-interposed.c: Likewise.
9175 2018-06-26 Florian Weimer <fweimer@redhat.com>
9177 * support/support_test_main.c (support_test_main): Only call
9178 setvbuf if not disables.
9179 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9180 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9182 2018-06-26 Florian Weimer <fweimer@redhat.com>
9185 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9187 2018-06-25 Florian Weimer <fweimer@redhat.com>
9190 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9191 Use struct scratch_buffer instead of extend_alloca.
9193 2018-06-25 Florian Weimer <fweimer@redhat.com>
9196 * nss/getent.c (initgroups_keys): Use dynarray instead of
9199 2018-06-25 Florian Weimer <fweimer@redhat.com>
9202 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9203 Use struct scratch_buffer instead of extend_alloca.
9205 2018-06-25 Florian Weimer <fweimer@redhat.com>
9208 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9209 back to malloc directly, without stack allocations.
9211 2018-06-25 Florian Weimer <fweimer@redhat.com>
9214 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9217 2018-06-25 Florian Weimer <fweimer@redhat.com>
9220 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9222 * nscd/hstcache.c (addhstbyX): Likewise.
9223 * nscd/pwdcache.c (addpwbyX): Likewise.
9224 * nscd/servicescache.c (addservbyX): Likewise.
9226 2018-06-25 Florian Weimer <fweimer@redhat.com>
9229 * nscd/connections.c (read_cmdline): New function.
9230 (restart): Use it. Update comment.
9232 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9235 * localedata/locales/csb_PL (mon): Rename to...
9237 (abmon): Rename to...
9239 (mon): Add with proper genitive forms, copy from Wikipedia.
9242 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9245 * localedata/locales/csb_PL (mon): Fix typos:
9246 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9247 (yesstr): Add, value is "jo".
9248 (nostr): Add, value is "nié".
9250 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9252 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9253 all log1p and significand functions on m680x0.
9254 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9255 of s_significand.c..
9256 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9257 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9258 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9259 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9260 s_log1p.c and include it..
9262 2018-06-21 Vincent Chen <vincentc@andestech.com>
9264 * elf/elf.h (R_NDS32_NONE): New define.
9265 (R_NDS32_32_RELA): Likewise.
9266 (R_NDS32_COPY): Likewise.
9267 (R_NDS32_GLOB_DAT): Likewise.
9268 (R_NDS32_JUMP_SLOT): Likewise.
9269 (R_NDS32_RELATIVE): Likewise.
9270 (R_NDS32_TLS_TPOFF): Likewise.
9271 (R_NDS32_TLS_DESC): Likewise.
9273 2018-06-21 Mark Wielaard <mark@klomp.org>
9275 * elf/elf.h (R_BPF_MAP_FD): Removed.
9276 (R_BPF_64_64, R_BPF_64_32): New.
9278 2018-06-21 Florian Weimer <fweimer@redhat.com>
9281 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9282 Renamed from libc_feholdsetround_ctx.
9283 (default_libc_feresetround_ctx): Renamed from
9284 libc_feresetround_ctx.
9285 (default_libc_feholdsetround_noex_ctx): Renamed from
9286 libc_feholdsetround_noex_ctx.
9287 (default_libc_feresetround_noex_ctx): Renamed from
9288 libc_feresetround_noex_ctx.
9289 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9290 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9291 forwardning to the old implementations under the new names.
9292 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9293 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9294 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9295 (libc_feresetround_ctx): Forward to default implements for i386
9296 and MATH_SET_BOTH_ROUNDING_MODES.
9297 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9298 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9300 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9302 * string/tst-cmp.c: Include <libc-diag.h>.
9303 (strncmp_max): Disable -Wstringop-overflow= around call to
9305 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9308 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9309 (main): Disable -Wunused-value around call to strpbrk.
9310 * string/bug-strspn1.c: Include <libc-diag.h>.
9311 (main): Disable -Wunused-value around call to strspn.
9313 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9314 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9316 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9317 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9319 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9321 * math/Makefile (libm-calls): Move s_significandF to...
9322 (gen-libm-calls): ... here.
9323 * math/s_significand_template.c: New file.
9324 * math/s_significand.c: Removed.
9325 * math/s_significandf.c: Removed.
9326 * math/s_significandl.c: Removed.
9327 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9328 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9330 * math/e_exp2_template.c (declare_mgen_finite_alias,
9331 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9332 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9333 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9335 2018-06-20 Florian Weimer <fweimer@redhat.com>
9337 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9339 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9342 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9343 floating-point number to strtod functions rather than possibly
9344 negating result of those functions.
9345 * stdio-common/tst-scanf-round.c: New file.
9346 * stdio-common/Makefile (tests): Add tst-scanf-round.
9347 ($(objpfx)tst-scanf-round): Depend on $(libm).
9349 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9351 * sysdeps/mach/hurd/localplt.data: Move to...
9352 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9353 R_386_GLOB_DAT like on Linux i386.
9355 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9357 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9358 (SHM_STAT_ANY): New macro.
9359 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9360 (SHM_STAT_ANY): Likewise.
9361 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9362 (SHM_STAT_ANY): Likewise.
9363 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9364 (SHM_STAT_ANY): Likewise.
9365 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9366 (SHM_STAT_ANY): Likewise.
9367 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9368 (SHM_STAT_ANY): Likewise.
9369 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9370 (SHM_STAT_ANY): Likewise.
9371 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9372 (SHM_STAT_ANY): Likewise.
9373 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9374 (SHM_STAT_ANY): Likewise.
9375 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9376 (SHM_STAT_ANY): Likewise.
9377 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9378 (SHM_STAT_ANY): Likewise.
9379 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9380 (SHM_STAT_ANY): Likewise.
9382 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9383 (SEM_STAT_ANY): New macro.
9384 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9385 (SEM_STAT_ANY): Likewise.
9386 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9387 (SEM_STAT_ANY): Likewise.
9388 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9389 (SEM_STAT_ANY): Likewise.
9390 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9391 (SEM_STAT_ANY): Likewise.
9392 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9393 (SEM_STAT_ANY): Likewise.
9394 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9395 (SEM_STAT_ANY): Likewise.
9396 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9397 (SEM_STAT_ANY): Likewise.
9398 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9399 (SEM_STAT_ANY): Likewise.
9400 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9401 (SEM_STAT_ANY): Likewise.
9403 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9404 (MSG_STAT_ANY): New macro.
9405 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9406 (MSG_STAT_ANY): Likewise.
9407 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9408 (MSG_STAT_ANY): Likewise.
9409 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9410 (MSG_STAT_ANY): Likewise.
9411 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9412 (MSG_STAT_ANY): Likewise.
9413 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9414 (MSG_STAT_ANY): Likewise.
9415 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9416 (MSG_STAT_ANY): Likewise.
9417 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9418 (MSG_STAT_ANY): Likewise.
9419 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9420 (MSG_STAT_ANY): Likewise.
9421 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9422 (MSG_STAT_ANY): Likewise.
9424 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9425 (MAP_TYPE): Change value to 0x2b.
9427 2018-06-18 Florian Weimer <fweimer@redhat.com>
9430 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9431 socket with SOCK_CLOEXEC.
9433 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9436 * sysdeps/powerpc/powerpc64/le/Makefile
9437 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9438 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9439 (gnulib-tests): Also add $(f128-loader-link) for
9440 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9442 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9444 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9445 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9447 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9448 (sendfile64): New strong alias.
9449 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9450 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9451 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9452 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9454 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9455 ___pthread_get_cleanup_stack.
9456 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9457 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9458 * mach/shortcut.awk: Make syscall stubs include
9459 <mach-shortcuts-hidden.h> and add hidden definition.
9460 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9461 (__mach_msg): Add hidden prototype.
9462 * mach/msg.c: Include <mach.h>.
9463 (__mach_msg): Add hidden definition.
9464 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9465 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9466 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9467 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9468 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9469 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9470 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9471 prototype and definition.
9472 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9473 hidden target for _hurd_self_sigstate.
9475 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9478 * stdlib/tst-strtod-nan-sign-main.c: New file.
9479 * stdlib/tst-strtod-nan-sign.c: Likewise.
9480 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9481 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9482 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9483 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9484 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9486 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9489 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9492 2018-06-14 Florian Weimer <fweimer@redhat.com>
9495 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9496 that the result stays within the ISO-8859-1 range.
9497 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9498 characters are defined in IBM273.
9500 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9502 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9503 __mach_task_self): Remove attribute_hidden.
9505 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9507 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9508 ignore -Wrestrict for one test.
9510 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9511 Szabolcs Nagy <szabolcs.nagy@arm.com>
9513 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9515 2018-06-14 Florian Weimer <fweimer@redhat.com>
9517 * scripts/update-abilist.sh: Accept empty list of files to patch.
9519 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9521 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9522 test-xfail-check-abi-libmachuser): Add.
9523 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9524 __libc_read and __libc_write to __read and __write.
9525 * sysdeps/hurd/include/hurd/port.h: New file.
9526 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9527 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9528 __thread_switch, __evc_wait): Move declarations to...
9529 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9531 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9532 use PLT to call _hurd_self_sigstate.
9534 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9537 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9538 MAX_EXP as overflowing.
9539 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9541 (round_str): Output also whether result overflows in each rounding
9543 * stdlib/tst-strtod-round-data: Add more tests.
9544 * stdlib/tst-strtod-round-data.h: Regenerated.
9545 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9546 (TEST): Handle extra arguments for overflow flags.
9547 (struct test_overflow): New type.
9548 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9549 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9550 (test_in_one_mode): Take argument with overflow information.
9551 (do_test): Update calls to test_in_one_mode.
9553 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9555 * elf/dl-load (_dl_dst_substitute): Correct comment.
9556 (_dl_dst_count): Likewise.
9558 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9559 lll_futex_timed_wait.
9561 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9564 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9566 * math/test-nan-const.c: New file.
9567 * math/Makefile (tests): Add test-nan-const.
9568 (CFLAGS-test-nan-const.c): New variable.
9570 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9572 * benchtests/scripts/compare_strings.py (process_results): Add
9573 funcs argument. Compare only functions which are selected.
9574 (main): Check if base function is among selected functions.
9575 Pass selected functions to process_results.
9576 (__main__): Add -f/--functions argument.
9578 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9579 Hongbo Zhang <hongbo.zhang@linaro.org>
9581 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9582 __memcpy_falkor for phecda core.
9583 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9584 __memmove_falkor for phecda core.
9585 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9586 __memset_falkor for phecda core.
9587 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9589 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9590 macro to identify phecda core.
9592 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9593 Andreas Schwab <schwab@suse.de>
9594 Dmitry V. Levin <ldv@altlinux.org>
9595 Florian Weimer <fweimer@redhat.com>
9602 * elf/dl-dst.h: Remove DL_DST_COUNT.
9603 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9604 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9605 (is_dst): Comment. Support ELF gABI.
9606 (_dl_dst_count): Comment. Simplify and count DSTs.
9607 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9608 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9611 2018-06-12 Zack Weinberg <zackw@panix.com>
9613 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9614 * sysdeps/unix/sysv/linux/dl-sysdep.c
9615 Include not-cancel.h. Use __close_nocancel instead of __close,
9616 __open64_nocancel instead of __open, __read_nocancel instead of
9617 __libc_read, and __write_nocancel instead of __libc_write.
9619 * csu/check_fds.c (check_one_fd)
9620 * sysdeps/posix/fdopendir.c (__fdopendir)
9621 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9622 instead of __fcntl and/or __libc_fcntl.
9624 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9625 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9626 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9627 Use __open64_nocancel instead of __open_nocancel.
9629 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9630 hidden_proto declarations to the end and issue them if either
9631 IS_IN(libc) or IS_IN(rtld).
9632 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9633 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9634 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9635 read_nocancel, waitpid_nocancel, write_nocancel.
9637 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9638 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9639 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9641 * nptl/pt-fcntl.c: New file.
9642 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9643 (libpthread-routines): Add pt-fcntl.
9644 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9645 (__libc_fcntl): Remove attribute_hidden.
9646 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9647 __fcntl_nocancel_adjusted, not fcntl_common.
9648 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9649 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9650 to fcntl_nocancel.c.
9651 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9654 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9656 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9657 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9658 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9659 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9660 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9661 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9662 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9663 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9664 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9665 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9666 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9667 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9668 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9669 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9670 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9671 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9672 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9673 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9674 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9675 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9677 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9678 libpthread-routines.
9679 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9682 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9683 __libc_read, and __write instead of __libc_write. Define
9684 __open64 in addition to __open.
9686 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9690 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9691 to _private_tm[3] and add __glibc_reserved2.
9692 Add _Static_assert of offset of __private_ss == 0x30.
9693 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9694 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9696 2018-06-12 Florian Weimer <fweimer@redhat.com>
9698 x86: Make strncmp usable from rtld.
9699 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9700 __strncmp_ia32 if in libc (and not in rtld).
9701 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9702 strncmp if not in libc (and not to __strncmp_sse2).
9704 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9707 * localedata/locales/gd_GB (mon): Rename to...
9709 (mon): Import from CLDR (genitive case).
9710 * localedata/locales/hsb_DE (mon): Rename to...
9712 (mon): Import from CLDR (genitive case).
9713 * localedata/locales/wa_BE (mon): Rename to...
9715 (mon): Add, fill with the proper genitive forms, but CLDR data
9716 is incomplete; completed according to the comments in this file.
9717 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9719 * localedata/locales/wa_BE (country_name): Reword
9720 "Beljike" -> "Beldjike".
9722 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9725 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9726 cases of non-finite arguments.
9727 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9729 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9732 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9734 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9737 * include/unistd.h (__execvpex): New prototype.
9738 * posix/Makefile (tests): Add tst-spawn4.
9739 (tests-internal): Add tst-spawn4-compat.
9740 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9741 * posix/tst-spawn4-compat.c: New file.
9742 * posix/tst-spawn4.c: Likewise.
9743 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9744 binaries as shell scripts.
9745 * sysdeps/posix/spawni.c (__spawni): Likewise.
9747 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9750 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9751 ($(all-built-dso:=.dynsym): New target.
9752 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9753 ($(objpfx)check-initfini.out): New target.
9754 (generated): Add check-initfini.out.
9755 * scripts/check-initfini.awk: New file.
9756 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9758 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9760 * sysdeps/arm/crti.S (_init): Mark as hidden.
9762 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9764 * sysdeps/i386/crti.S (_init): Mark as hidden.
9766 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9768 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9770 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9772 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9774 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9776 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9778 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9780 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9782 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9784 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9786 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9788 * sysdeps/sh/crti.S (_init): Mark as hidden.
9790 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9792 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9795 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9797 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9798 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9799 and TF redirection to KFtype and KF only when the default
9800 long double type is not the IEEE 128-bit floating point type.
9802 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9804 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9806 (HWCAP_USCAT): Likewise.
9807 (HWCAP_ILRCPC): Likewise.
9808 (HWCAP_FLAGM): Likewise.
9809 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9811 (_dl_aarch64_cap_flags): Add new flag names.
9813 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9814 (MAP_FIXED_NOREPLACE): New macro.
9815 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9816 (MAP_FIXED_NOREPLACE): Likewise.
9817 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9818 (MAP_FIXED_NOREPLACE): Likewise.
9819 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9820 (MAP_FIXED_NOREPLACE): Likewise.
9821 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9822 (MAP_FIXED_NOREPLACE): Likewise.
9823 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9824 (MAP_FIXED_NOREPLACE): Likewise.
9825 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9826 (MAP_FIXED_NOREPLACE): Likewise.
9827 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9828 (MAP_FIXED_NOREPLACE): Likewise.
9829 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9830 (MAP_FIXED_NOREPLACE): Likewise.
9831 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9832 (MAP_FIXED_NOREPLACE): Likewise.
9833 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9834 (MAP_FIXED_NOREPLACE): Likewise.
9835 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9836 (MAP_FIXED_NOREPLACE): Likewise.
9837 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9838 (MAP_FIXED_NOREPLACE): Likewise.
9839 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9840 (MAP_FIXED_NOREPLACE): Likewise.
9841 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9842 (MAP_FIXED_NOREPLACE): Likewise.
9844 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
9847 2018-06-04 Joseph Myers <joseph@codesourcery.com>
9849 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9852 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9854 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
9856 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
9858 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9860 * benchtests/scripts/compare_string.py: (process_results) Catch
9861 exception in non-existent base_func and catch exception in
9862 non-existent attribute.
9863 (parse_file) Catch exception if input file does not exist.
9865 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9867 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
9868 options to avoid diff calculation and omit header, respectively.
9869 (main): process --no-diff and --no-header
9871 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9872 H.J. Lu <hongjiu.lu@intel.com>
9874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9875 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
9877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9878 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
9879 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
9881 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
9882 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
9883 AVX unaligned load is fast and vzeroupper is preferred.
9884 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
9885 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
9886 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
9887 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
9888 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
9889 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
9890 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
9891 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
9892 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
9893 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
9896 2018-06-01 Florian Weimer <fweimer@redhat.com>
9898 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
9899 configuring with --disable-multi-arch, building with
9900 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
9903 2018-06-01 Florian Weimer <fweimer@redhat.com>
9905 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
9906 results from building with “-march=x86-64 -mtune=generic
9907 -mfpmath=sse” and running on a Haswell-era CPU.
9909 2018-06-01 Joseph Myers <joseph@codesourcery.com>
9912 * soft-fp/sqrttf2.c: Remove file.
9913 * soft-fp/sqrtdf2.c: Move to ....
9914 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
9916 (__sqrtdf2): Make conditional on
9917 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9919 * soft-fp/sqrtsf2.c: Move to ....
9920 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
9922 (__sqrtsf2): Make conditional on
9923 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
9925 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
9926 (gcc-double-routines): Remove sqrtdf2.
9927 (gcc-quad-routines): Remove sqrttf2.
9928 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
9929 Do not filter out sqrtsf2 and sqrtdf2.
9930 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9931 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
9933 2018-06-01 Florian Weimer <fweimer@redhat.com>
9935 * sysdeps/generic/libcidn.abilist: Remove file.
9937 2018-06-01 Florian Weimer <fweimer@redhat.com>
9940 * libio/strfile.h (struct _IO_str_fields): Rename members to
9941 discourage their use and add comment.
9942 (_IO_STR_DYNAMIC): Remove unused macro.
9943 * libio/strops.c (_IO_str_init_static_internal): Do not use
9944 callback pointers. Call malloc and free.
9945 (_IO_str_overflow): Do not use callback pointers. Call malloc
9947 (enlarge_userbuf): Likewise.
9948 (_IO_str_finish): Call free.
9949 * libio/wstrops.c (_IO_wstr_init_static): Initialize
9950 _allocate_buffer_unused.
9951 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
9953 (enlarge_userbuf): Likewise.
9954 (_IO_wstr_finish): Call free.
9955 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
9956 _allocate_buffer_unused, _free_buffer_unused.
9957 * libio/memstream.c (__open_memstream): Likewise.
9958 * libio/vasprintf.c (_IO_vasprintf): Likewise.
9959 * libio/wmemstream.c (open_wmemstream): Likewise.
9961 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9963 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
9966 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9968 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
9969 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
9970 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
9972 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
9974 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
9976 2018-05-29 Florian Weimer <fweimer@redhat.com>
9978 * support/Makefile (libsupport-routines): Add
9979 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
9980 xpthread_barrierattr_setpshared.
9981 * support/xpthread_barrierattr_destroy.c: New file.
9982 * support/xpthread_barrierattr_init.c: Likewise.
9983 * support/xpthread_barrierattr_setpshared.c: Likewise.
9985 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
9988 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
9989 _r_debug and update DT_DEBUG for debugger.
9991 2018-05-29 Florian Weimer <fweimer@redhat.com>
9993 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
9994 (tst-strtod5i.out): Likewise.
9996 2018-05-25 Joseph Myers <joseph@codesourcery.com>
9998 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
9999 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10000 (sparc64-quad-routines): New variable. Moved from ....
10001 [$(subdir) = soft-fp] (sysdep_routines): Add
10002 $(sparc64-quad-routines). Moved from ....
10003 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10004 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10005 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10007 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10008 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10009 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10010 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10011 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10012 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10013 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10014 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10015 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10016 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10017 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10018 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10019 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10020 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10021 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10022 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10023 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10024 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10025 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10026 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10027 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10028 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10029 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10030 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10031 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10032 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10033 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10034 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10035 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10036 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10037 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10038 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10039 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10040 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10041 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10042 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10043 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10044 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10045 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10046 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10047 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10048 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10049 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10050 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10051 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10052 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10053 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10054 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10055 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10056 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10057 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10058 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10059 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10060 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10061 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10062 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10063 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10064 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10066 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10067 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10068 (sparc32-quad-routines): New variable. Moved from ....
10069 [$(subdir) = soft-fp] (sysdep_routines): Add
10070 $(sparc32-quad-routines). Moved from ....
10071 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10072 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10074 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10075 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10076 * sysdeps/sparc/sparc32/q_add.c: ... here.
10077 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10078 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10079 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10080 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10081 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10082 * sysdeps/sparc/sparc32/q_div.c: ... here.
10083 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10084 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10085 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10086 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10087 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10088 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10089 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10090 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10091 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10092 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10093 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10094 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10095 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10096 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10097 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10098 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10099 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10100 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10101 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10102 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10103 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10104 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10105 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10106 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10107 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10108 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10109 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10110 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10111 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10112 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10113 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10114 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10115 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10116 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10117 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10118 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10119 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10120 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10121 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10122 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10123 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10124 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10125 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10126 * sysdeps/sparc/sparc32/q_util.c: ... here.
10127 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10128 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10129 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10130 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10132 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10133 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10135 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10136 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10137 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10138 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10140 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10146 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10147 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10149 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10152 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10155 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10157 * sysdeps/sh/Implies: Remove sh/soft-fp.
10158 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10159 * sysdeps/sh/sfp-machine.h: ... here.
10161 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10163 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10164 (__mempcpy_erms): Skip zero length.
10165 (__memmove_erms): Likewise.
10166 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10167 (__memset_erms): Likewise.
10169 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10171 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10172 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10173 Add functions moved from ....
10174 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10175 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10176 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10178 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10179 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10180 * sysdeps/alpha/e_sqrtl.c: ... here.
10181 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10182 * sysdeps/alpha/local-soft-fp.h: ... here.
10183 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10184 * sysdeps/alpha/ots_add.c: ... here.
10185 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10186 * sysdeps/alpha/ots_cmp.c: ... here.
10187 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10188 * sysdeps/alpha/ots_cmpe.c: ... here.
10189 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10190 * sysdeps/alpha/ots_cvtqux.c: ... here.
10191 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10192 * sysdeps/alpha/ots_cvtqx.c: ... here.
10193 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10194 * sysdeps/alpha/ots_cvttx.c: ... here.
10195 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10196 * sysdeps/alpha/ots_cvtxq.c: ... here.
10197 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10198 * sysdeps/alpha/ots_cvtxt.c: ... here.
10199 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10200 * sysdeps/alpha/ots_div.c: ... here.
10201 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10202 * sysdeps/alpha/ots_mul.c: ... here.
10203 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10204 * sysdeps/alpha/ots_nintxq.c: ... here.
10205 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10206 * sysdeps/alpha/ots_sub.c: ... here.
10207 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10208 * sysdeps/alpha/sfp-machine.h: ... here.
10210 2018-05-23 Florian Weimer <fweimer@redhat.com>
10218 Switch to extern IDNA implementation (libidn2).
10219 * libidn: Remove subdirectory.
10220 * LICENSES: Do not mention licensing conditions for the removed
10222 * config.h.in (HAVE_LIBIDN): Remove.
10223 * include/dlfcn.h (__libc_dlopen): Update comment.
10224 * include/idna.h: Remove file.
10225 * inet/Makefile (routines): Add idna.
10226 (tests-static, tests-internal): Add tst-idna_name_classify.
10227 (LOCALES): Generate locales for tests.
10228 (tst-idna_name_classify.out): Depend on generated locales.
10229 * inet/idna_name_classify.c: New file.
10230 * inet/tst-idna_name_classify.c: Likewise.
10231 * inet/net-internal.h (__idna_to_dns_encoding)
10232 (__idna_from_dns_encoding): Declare.
10233 * inet/net-internal.h (enum idna_name_classification): Define.
10234 (__idna_name_classify): Declare.
10235 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10236 __idna_from_dns_encoding.
10237 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10238 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10239 name as a fallback in case of encoding errors.
10240 (getnameinfo): Use DEPRECATED_NI_IDN.
10241 * inet/idna.c: New file.
10242 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10243 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10244 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10245 (modules-names): Add tst-no-libidn2.
10246 (extra-test-objs): Add tst-no-libidn2.os.
10247 (LDFLAGS-tst-no-libidn2.so): Set soname.
10248 (LOCALES): Set, and generate locales.
10249 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10250 (tst-resolv-ai_idn-latin1): Likewise.
10251 (tst-resolv-ai_idn-nolibidn2): Likewise.
10252 (tst-resolv-ai_idn.out): Depend on locales.
10253 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10254 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10256 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10257 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10258 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10259 * resolv/tst-resolv-ai_idn.c: New file.
10260 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10261 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10262 * resolv/tst-no-libidn2.c: Likewise.
10263 * support/support_format_addrinfo.c (format_ai_flags): Do not
10264 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10265 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10266 (gaih_inet): Call __idna_to_dns_encoding and
10267 __idna_from_dns_encoding, and use the original (punycode) name if
10268 __idna_from_dns_encoding fails due to an encoding error.
10269 (getaddrinfo): Use DEPRECATED_AI_IDN.
10270 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10271 * sysdeps/unix/inet/configure: Remove file.
10272 * sysdeps/unix/inet/configure.ac: Likewise.
10274 2018-05-23 Florian Weimer <fweimer@redhat.com>
10276 Implement allocate_once.
10277 * include/allocate_once.h: New file.
10278 * misc/allocate_once.c: Likewise.
10279 * misc/tst-allocate_once.c: Likewise.
10280 * misc/Makefile (routines): Add allocate_once.
10281 (tests-internal): Add tst-allocate_once.
10282 (generated): Add tst-allocate_once.mtrace,
10283 tst-allocate_once-mem.out.
10284 (tests-special): Add tst-allocate_once-mem.out.
10285 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10286 (tst-allocate_once-mem.out): Call mtrace.
10287 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10289 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10292 * string/test-memcpy.c (do_test1): New function.
10293 (test_main): Call it.
10295 2018-05-23 Andreas Schwab <schwab@suse.de>
10299 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10300 (L(preloop_large)): Save initial destination pointer in %r11 and
10301 use it instead of %rax after the loop.
10302 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10304 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10306 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10307 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10308 -I../soft-fp. Moved from ....
10309 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10310 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10311 * sysdeps/aarch64/e_sqrtl.c: ... here.
10312 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10313 * sysdeps/aarch64/sfp-machine.h: ... here.
10315 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10316 -Wmaybe-uninitialized around access to fq[0].
10317 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10321 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10322 aliases for non-libc case of versioned symbols.
10323 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10324 (llseek): Define as compat symbol if
10325 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10327 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10328 Make into a compat symbol, disabled for minimum symbol version
10329 GLIBC_2.28 and later.
10330 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10332 2018-05-22 Florian Weimer <fweimer@redhat.com>
10334 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10335 not add -mpreferred-stack-boundary=4.
10336 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10337 (stack-align-test-flags): Likewise.
10338 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10340 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10341 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10342 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10343 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10344 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10345 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10346 (CFLAGS-tst-align2.c): Likewise.
10348 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10350 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10351 (index_arch_Prefer_FSRM): Likewise.
10352 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10353 Also check Prefer_FSRM.
10354 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10355 Also return OPTIMIZE (erms) for Prefer_FSRM.
10357 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10359 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10360 (index_cpu_FSRM): Likewise.
10361 (reg_FSRM): Likewise.
10363 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10365 * math/gen-tgmath-tests.py: Import sys.
10366 (Tests.__init__): Initialize macros_seen.
10367 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10368 if requested to do so for this macro.
10369 (Tests.add_all_tests): Take argument for macro for which to
10371 (Tests.check_macro_list): New function.
10372 (main): Handle check-list argument and argument specifying macro
10373 for which to generate tests.
10374 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10375 [PYTHON] (tgmath3-macro-tests): Likewise.
10376 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10377 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10378 not test-tgmath3.c.
10379 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10380 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10382 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10383 [PYTHON] ($(foreach
10384 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10386 [PYTHON] (tests-special): Add
10387 $(objpfx)test-tgmath3-macro-list.out.
10388 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10390 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10391 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10395 * time/tzset.c (SECSPERDAY): Cast to time_t.
10396 * time/tst-y2039.c: New file.
10397 * time/Makefile (tests): Add tst-y2039.
10399 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10401 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10402 (PREFETCH_ONE_SET): Remove duplicate line.
10404 2018-05-17 Florian Weimer <fweimer@redhat.com>
10406 * sysdeps/generic/math-type-macros-double.h: Include
10407 <math-nan-payload-double.h> after <libm-alias-double.h>.
10408 * sysdeps/generic/math-type-macros-float.h: Include
10409 <math-nan-payload-float.h> after <libm-alias-float.h>.
10410 * sysdeps/generic/math-type-macros-float128.h: Include
10411 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10412 * sysdeps/generic/math-type-macros-ldouble.h: Include
10413 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10415 2018-05-17 Andreas Schwab <schwab@suse.de>
10417 * resolv/res_send.c (__res_context_send): Don't set errno when
10418 returing error after malloc failure.
10420 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10422 * nptl/allocatestack.c (allocate_stack): Remove the
10423 !__ASSUME_PRIVATE_FUTEX paths.
10424 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10425 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10427 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10428 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10429 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10430 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10431 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10432 !__ASSUME_PRIVATE_FUTEX path.
10433 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10434 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10435 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10436 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10437 !__ASSUME_PRIVATE_FUTEX macros.
10438 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10439 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10440 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10441 * sysdeps/unix/sysv/linux/kernel-features.h
10442 (__ASSUME_PRIVATE_FUTEX): Removed.
10444 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10446 * math/Makefile (libm-narrow-fns): Add div.
10447 (libm-test-funcs-narrow): Likewise.
10448 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10449 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10450 * math/gen-auto-libm-tests.c (test_functions): Add div.
10451 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10452 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10453 (NARROW_DIV_TRIVIAL): Likewise.
10454 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10456 (__ddivl): Likewise.
10457 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10459 (CFLAGS-nldbl-ddiv.c): New variable.
10460 (CFLAGS-nldbl-fdiv.c): Likewise.
10461 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10463 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10465 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10466 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10467 * math/auto-libm-test-in: Add tests of div.
10468 * math/auto-libm-test-out-narrow-div: New generated file.
10469 * math/libm-test-narrow-div.inc: New file.
10470 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10471 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10472 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10473 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10474 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10475 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10476 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10478 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10481 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10482 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10483 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10484 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10485 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10486 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10487 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10489 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10490 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10491 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10492 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10493 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10494 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10495 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10496 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10497 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10498 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10499 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10500 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10501 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10506 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10507 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10508 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10509 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10510 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10511 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10512 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10513 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10515 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10518 * nscd/nscd-client.h (sendfileall): Remove prototype.
10519 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10520 (handle_request): Use writeall instead of sendfileall.
10521 * nscd/aicache.c (addhstaiX): Likewise.
10522 * nscd/grpcache.c (cache_addgr): Likewise.
10523 * nscd/hstcache.c (cache_addhst): Likewise.
10524 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10525 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10526 * nscd/pwdcache.c (cache_addpw): Likewise.
10527 * nscd/servicescache.c (cache_addserv): Likewise.
10528 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10529 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10530 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10533 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10535 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10536 Include <string/strncat.c>.
10537 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10539 (__GI___strncat): New hidden alias.
10541 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10543 * sysdeps/mips/mips32/libm-test-ulps: Update.
10544 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10546 2018-05-16 Florian Weimer <fweimer@redhat.com>
10548 * support/Makefile (libsupport-routines): Add support_quote_blob,
10549 support_test_compare_blob.
10550 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10551 * support/check.h (TEST_COMPARE_BLOB): Define.
10552 (support_test_compare_blob): Declare.
10553 * support/support.h (support_quote_blob): Declare.
10554 * support/support_quote_blob.c: New file.
10555 * support/support_test_compare_blob.c: Likewise.
10556 * support/tst-support_quote_blob.c: Likewise.
10557 * support/tst-test_compare_blob.c: Likewise.
10559 2018-05-16 Florian Weimer <fweimer@redhat.com>
10561 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10562 of <strtod_nan_double.h>.
10563 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10564 instead of SET_MANTISSA.
10565 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10566 of include <strtod_nan_float.h>.
10567 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10568 instead of <strtod_nan_ldouble.h>.
10569 * stdlib/strtod_nan_double.h: Move to ...
10570 * sysdeps/generic/math-nan-payload-double.h: ... here.
10571 (FLOAT): Remove definition.
10572 (SET_MANTISSA): Rename to ...
10573 (SET_NAN_PAYLOAD): ... this.
10574 * stdlib/strtod_nan_float.h: Move to ...
10575 * sysdeps/generic/math-nan-payload-float.h: ... here.
10576 (FLOAT): Remove definition.
10577 (SET_MANTISSA): Rename to ...
10578 (SET_NAN_PAYLOAD): ... this.
10579 * sysdeps/generic/math-type-macros-double.h: Include
10580 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10581 instead of <math-svid-compat.h>.
10582 * sysdeps/generic/math-type-macros-float.h: Include
10583 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10584 instead of <math-svid-compat.h>.
10585 * sysdeps/generic/math-type-macros-float128.h: Include
10586 <math-nan-payload-float128.h>.
10587 * sysdeps/generic/math-type-macros-ldouble.h: Include
10588 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10589 instead of <math-svid-compat.h>.
10590 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10591 check for definition.
10592 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10593 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10594 Include <ieee754_float128.h>.
10595 (FLOAT): Remove definition.
10596 (SET_MANTISSA): Rename to ...
10597 (SET_NAN_PAYLOAD): ... this.
10598 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10599 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10600 Do not include <float128_private.h>.
10601 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10602 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10603 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10604 (FLOAT): Remove definition.
10605 (SET_MANTISSA): Rename to ...
10606 (SET_NAN_PAYLOAD): ... this.
10607 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10608 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10609 (FLOAT): Remove definition.
10610 (SET_MANTISSA): Rename to ...
10611 (SET_NAN_PAYLOAD): ... this.
10612 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10613 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10614 (FLOAT): Remove definition.
10615 (SET_MANTISSA): Rename to ...
10616 (SET_NAN_PAYLOAD): ... this.
10617 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10618 of "../stdlib/strtod_nan_double.h".
10619 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10620 of "../stdlib/strtod_nan_float.h".
10621 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10622 instead of "../stdlib/strtod_nan_ldouble.h".
10623 * manual/arith.texi (Parsing of Floats): Adjust comment.
10625 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10627 * math/Makefile (libm-narrow-fns): Add mul.
10628 (libm-test-funcs-narrow): Likewise.
10629 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10630 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10631 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10632 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10633 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10634 (NARROW_MUL_TRIVIAL): Likewise.
10635 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10636 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10638 (__dmull): Likewise.
10639 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10641 (CFLAGS-nldbl-dmul.c): New variable.
10642 (CFLAGS-nldbl-fmul.c): Likewise.
10643 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10645 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10647 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10648 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10649 * math/auto-libm-test-in: Add tests of mul.
10650 * math/auto-libm-test-out-narrow-mul: New generated file.
10651 * math/libm-test-narrow-mul.inc: New file.
10652 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10653 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10654 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10655 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10656 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10657 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10658 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10659 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10660 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10661 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10662 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10663 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10664 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10665 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10666 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10667 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10668 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10669 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10671 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10672 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10673 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10674 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10675 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10676 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10677 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10678 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10679 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10680 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10681 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10682 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10683 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10688 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10689 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10690 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10691 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10692 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10693 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10694 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10695 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10697 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10699 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10700 with *%eax in call.
10702 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10704 * sysdeps/i386/ldsodefs.h: Removed.
10705 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10706 * sysdeps/x86/ldsodefs.h: This.
10707 (La_i86_regs): New.
10708 (La_i86_retval): Likewise.
10709 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10710 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10712 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10714 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10717 2018-05-13 Alan Modra <amodra@gmail.com>
10719 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10720 R_PARISC_TLS_DTPOFF32 reloc addend.
10722 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10724 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10725 * math/math.h: Restrict the prototype definition for the functions
10726 issignaling(_Float128) and iszero(_Float128); and template
10727 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10728 __HAVE_FLOAT128_UNLIKE_LDBL.
10729 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10730 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10731 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10732 __f128() constants; define the type _Float128 as long double;
10733 and reuse long double in __CFLOAT128.
10735 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10737 * sysdeps/generic/math_private.h: Do not include
10739 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10741 * math/fromfp.h: Include <math-barriers.h>.
10742 * math/math-narrow.h: Likewise.
10743 * math/s_nextafter.c: Likewise.
10744 * math/s_nexttowardf.c: Likewise.
10745 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10746 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10747 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10748 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10749 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10750 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10751 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10764 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10765 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10766 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10767 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10768 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10769 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10770 * sysdeps/ieee754/k_standardl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10776 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10778 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10784 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10787 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10788 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10789 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10790 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10791 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10792 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10794 2018-05-11 Florian Weimer <fweimer@redhat.com>
10796 Use 64-bit epoch values in the time zone file parser.
10797 * include/time.h (internal_time_t): Define.
10798 (__tzfile_compute): Use it.
10799 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10801 (transitions): Switch to internal_time_t.
10802 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10804 (__tzfile_compute): Use internal_time_t for timer argument. Check
10805 for truncation before calling __offtime.
10807 2018-05-11 Florian Weimer <fweimer@redhat.com>
10810 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10811 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10813 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10814 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10815 export without --enable-obsolete-rpc.
10816 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10817 symbol. This should not have been exported, ever.
10819 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10822 * localedata/locales/gd_GB (abmon): Fix typo in May:
10823 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10825 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10827 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10828 Use multiple registers to copy data in loop tail.
10830 * sysdeps/aarch64/multiarch/memmove_falkor.S
10831 (__memmove_falkor): Use multiple registers to move data in
10834 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10836 * math/math-underflow.h: New file.
10837 * sysdeps/generic/math_private.h: Do not include <float.h>.
10838 (fabs_tg): Remove macro. Moved to math-underflow.h.
10839 (min_of_type_f): Likewise.
10840 (min_of_type_): Likewise.
10841 (min_of_type_l): Likewise.
10842 (min_of_type_f128): Likewise.
10843 (min_of_type): Likewise.
10844 (math_check_force_underflow): Likewise.
10845 (math_check_force_underflow_nonneg): Likewise.
10846 (math_check_force_underflow_complex): Likewise.
10847 * math/e_exp2_template.c: Include <math-underflow.h>.
10848 * math/k_casinh_template.c: Likewise.
10849 * math/s_catan_template.c: Likewise.
10850 * math/s_catanh_template.c: Likewise.
10851 * math/s_ccosh_template.c: Likewise.
10852 * math/s_cexp_template.c: Likewise.
10853 * math/s_clog10_template.c: Likewise.
10854 * math/s_clog_template.c: Likewise.
10855 * math/s_csin_template.c: Likewise.
10856 * math/s_csinh_template.c: Likewise.
10857 * math/s_csqrt_template.c: Likewise.
10858 * math/s_ctan_template.c: Likewise.
10859 * math/s_ctanh_template.c: Likewise.
10860 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10861 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10862 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10863 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10864 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10865 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10866 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10868 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10869 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10870 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10871 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10872 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10873 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10876 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10877 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10878 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10879 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10880 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10881 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10882 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10883 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10884 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10885 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10886 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10887 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10888 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10889 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10890 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10891 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10892 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10893 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10894 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10895 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10896 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10897 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10898 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10899 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10900 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10901 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10902 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10903 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10904 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10905 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10906 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10907 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10908 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10910 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10911 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10912 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10913 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10914 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10915 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10916 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10917 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10918 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10919 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10921 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10922 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10923 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10924 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10925 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10926 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10927 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10928 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10929 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10930 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10932 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10933 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10935 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10936 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10937 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10938 * sysdeps/x86/fpu/powl_helper.c: Likewise.
10939 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
10940 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
10941 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10942 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
10943 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
10945 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10947 * sysdeps/generic/math-barriers.h: New file.
10948 * sysdeps/generic/math_private.h [!math_opt_barrier]
10949 (math_opt_barrier): Move to math-barriers.h.
10950 [!math_opt_barrier] (math_force_eval): Likewise.
10951 * sysdeps/aarch64/fpu/math-barriers.h: New file.
10952 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
10954 (math_force_eval): Likewise.
10955 * sysdeps/alpha/fpu/math-barriers.h: New file.
10956 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
10958 (math_force_eval): Likewise.
10959 * sysdeps/x86/fpu/math-barriers.h: New file.
10960 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
10962 (math_force_eval): Likewise.
10963 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
10964 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
10965 multiple-include guard for rename.
10966 * sysdeps/powerpc/fpu/math-barriers.h: New file.
10967 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
10969 (math_force_eval): Likewise.
10971 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10975 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
10977 * stdlib/Makefile (test-bz22786): New test.
10978 * stdlib/test-bz22786.c: New test.
10980 2018-05-09 Joseph Myers <joseph@codesourcery.com>
10982 * include/math-narrow-eval.h: New file. Contents moved from ....
10983 * sysdeps/generic/math_private.h: ... here.
10984 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
10985 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10986 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
10987 * stdlib/strtod_l.c: Likewise.
10988 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
10989 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
10990 * sysdeps/i386/fpu/s_fdim.c: Likewise.
10991 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10992 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10993 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10994 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10995 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10996 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10997 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11002 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11003 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11004 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11005 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11006 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11007 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11008 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11009 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11010 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11011 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11012 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11013 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11014 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11015 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11016 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11018 2018-05-08 Andreas Schwab <schwab@suse.de>
11020 * sysdeps/nptl/internaltypes.h: Fix comment.
11022 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11024 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11025 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11028 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11030 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11031 of I into loop header.
11032 * benchtests/bench-memmove-walk.c
11033 (test_main): Likewise.
11035 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11038 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11039 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11041 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11044 * elf/dl-load.c (open_verify): Fix stack overflow.
11045 * elf/Makefile (tst-big-note): New test.
11046 * elf/tst-big-note-lib.S: New.
11047 * elf/tst-big-note.c: New.
11049 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11051 * scripts/abilist.awk: Ignore absolute symbols.
11052 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11053 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11054 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11055 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11056 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11057 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11058 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11059 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11060 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11061 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11062 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11063 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11064 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11065 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11066 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11067 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11068 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11069 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11070 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11071 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11072 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11073 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11074 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11075 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11076 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11077 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11078 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11079 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11080 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11081 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11082 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11083 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11084 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11085 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11086 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11087 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11088 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11089 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11090 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11091 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11092 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11093 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11094 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11095 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11096 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11097 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11098 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11099 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11100 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11101 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11102 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11103 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11104 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11105 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11106 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11107 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11108 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11109 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11110 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11111 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11112 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11113 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11114 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11115 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11116 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11117 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11118 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11119 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11120 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11121 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11122 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11123 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11124 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11125 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11126 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11127 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11128 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11129 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11130 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11131 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11132 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11133 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11134 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11135 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11136 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11137 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11138 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11139 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11140 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11141 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11142 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11143 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11145 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11146 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11147 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11148 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11149 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11150 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11151 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11152 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11153 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11154 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11155 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11156 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11157 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11159 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11160 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11161 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11162 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11163 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11164 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11165 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11166 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11167 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11168 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11169 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11170 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11171 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11172 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11173 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11174 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11175 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11176 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11177 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11178 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11179 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11180 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11181 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11182 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11183 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11184 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11185 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11187 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11188 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11189 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11190 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11191 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11192 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11193 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11194 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11195 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11196 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11197 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11198 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11199 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11200 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11201 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11202 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11203 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11204 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11205 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11206 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11208 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11209 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11210 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11211 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11212 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11213 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11214 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11215 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11216 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11217 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11218 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11219 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11220 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11221 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11222 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11223 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11224 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11225 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11226 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11227 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11228 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11229 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11230 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11231 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11232 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11233 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11234 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11235 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11298 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11300 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11301 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11302 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11303 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11306 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11307 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11308 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11309 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11313 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11315 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11316 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11317 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11318 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11319 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11320 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11321 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11322 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11323 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11324 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11326 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11327 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11328 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11329 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11330 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11331 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11332 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11333 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11334 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11335 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11336 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11337 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11338 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11339 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11340 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11341 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11342 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11343 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11344 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11345 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11346 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11347 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11348 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11349 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11350 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11352 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11353 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11354 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11355 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11358 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11359 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11360 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11364 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11366 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11367 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11370 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11371 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11372 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11373 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11387 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11388 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11397 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11398 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11399 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11403 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11405 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11408 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11409 Use atomic_load_acquire to load __tid.
11411 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11413 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11414 Restore the pointer into %rdx, after syscall and use %rdx,
11415 instead of %rsi, to restore context.
11417 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11419 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11420 Pop the pointer into %rdx after syscall and use %rdx, instead
11421 of %rsi, to restore context.
11423 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11425 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11426 handlers after setjmp.
11427 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11429 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11430 <libc-pointer-arith.h>.
11431 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11432 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11433 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11434 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11435 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11436 * sysdeps/x86/__longjmp_cancel.S: New file.
11437 * sysdeps/x86/longjmp.c: Likewise.
11438 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11440 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11442 * NEWS: Add ustat.h deprecation entry.
11443 * bits/ustat.h: Remove file.
11444 * misc/sys/ustat.h: Likewise.
11445 * misc/ustat.h: Likewise.
11446 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11447 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11448 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11449 compatibility mode.
11450 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11451 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11452 generic Linux implementation.
11454 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11456 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11457 * math/w_expl_compat.c: Likewise.
11458 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11460 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11462 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11464 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11466 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11467 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11468 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11470 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11472 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11473 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11474 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11477 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11479 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11481 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11482 * math/w_asin_template.c: Likewise.
11483 * math/w_atanh_template.c: Likewise.
11485 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11487 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11488 to powerpc/powerpc64/be for big-endian.
11489 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11492 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11493 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11494 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11495 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11496 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11497 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11498 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11499 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11500 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11501 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11502 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11503 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11504 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11505 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11506 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11507 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11508 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11509 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11510 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11511 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11512 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11513 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11514 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11515 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11516 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11517 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11518 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11519 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11520 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11521 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11522 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11523 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11525 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11526 adjusted to imply powerpc64 and older processors on powerpc64/be.
11527 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11528 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11529 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11530 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11531 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11532 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11533 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11534 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11535 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11536 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11537 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11538 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11539 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11540 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11541 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11542 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11543 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11544 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11545 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11546 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11547 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11548 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11549 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11550 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11551 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11552 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11553 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11554 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11555 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11556 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11557 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11559 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11560 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11561 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11562 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11564 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11565 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11566 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11567 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11569 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11570 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11571 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11572 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11573 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11574 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11575 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11576 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11577 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11578 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11579 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11581 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11582 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11583 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11584 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11585 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11586 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11587 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11588 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11589 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11590 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11591 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11593 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11594 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11595 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11596 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11597 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11598 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11599 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11600 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11601 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11602 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11603 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11604 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11606 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11607 and adjusted to imply olders processors.
11608 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11609 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11610 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11611 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11612 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11613 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11614 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11615 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11616 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11617 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11618 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11637 powerpc64 and adjusted.
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11643 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11645 * sysdeps/tile: Remove.
11646 * sysdeps/unix/sysv/linux/tile: Likewise.
11647 * README (tilegx-*-linux-gnu): Remove from list of supported
11649 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11650 contribution of support for generic Linux kernel syscall
11652 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11653 tilegx configurations.
11654 (Config.install_linux_headers): Do not handle tile.
11655 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11657 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11658 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11659 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11660 conditional undefine and redefine.
11661 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11663 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11664 conditional undefine and redefine.
11666 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11668 * signal/tst-sigaction.c: New file to test BZ #23069.
11669 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11671 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11674 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11675 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11676 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11677 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11679 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11681 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11682 _DIRENT_MATCHES_DIRENT64 is not defined.
11683 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11684 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11686 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11687 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11689 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11691 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11692 version to GCC 8 branch.
11694 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11696 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11697 (check_no_hidden): Use type of original function when declaring
11700 * sysdeps/unix/sysv/linux/sys/ptrace.h
11701 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11702 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11703 (struct __ptrace_seccomp_metadata): New type.
11704 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11705 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11706 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11707 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11708 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11709 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11710 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11711 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11712 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11713 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11714 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11715 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11716 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11717 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11718 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11719 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11721 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11723 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11725 * dirent/versionsort.c (versionsort): Likewise.
11726 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11727 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11728 * dirent/versionsort64.c (versionsort64): Likewise.
11729 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11730 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11731 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11732 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11733 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11734 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11735 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11736 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11737 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11738 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11741 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11742 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11744 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11746 * elf/elf.h (NT_PPC_PKEY): New macro.
11748 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11751 * localedata/locales/hr_HR: fix thousands_sep and
11754 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11756 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11757 (XTABS): Define to TAB3.
11759 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11761 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11763 * dirent/scandir-tail-common.c: New file.
11764 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11765 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11766 * dirent/scandir.c: Use scandir-tail-common.c.
11767 * dirent/scandirat.c: Likewise.
11768 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11769 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11770 if _DIRENT_MATCHES_DIRENT64 is defined.
11771 * dirent/scandirat64.c (scandirat64): Likewise.
11772 * include/dirent.h (__scandir_tail): Only define iff
11773 _DIRENT_MATCHES_DIRENT64 is not defined.
11774 (__scandir64_tail): Define regardless.
11775 (__scandirat, scandirat64): Remove libc_hidden_proto.
11776 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11777 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11779 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11780 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11781 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11782 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11784 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11786 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11788 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11790 (_dl_aarch64_cap_flags): Add asimdfhm.
11792 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11794 * sysdeps/nios2/libm-test-ulps: Update.
11796 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11798 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11799 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11801 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11803 (_DIRENT_MATCHES_DIRENT64): Undef
11804 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11805 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11806 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11807 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11808 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11809 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11810 use getdents64 syscalls as base.
11811 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11812 symbol if required.
11813 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11814 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11815 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11816 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11817 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11818 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11819 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11820 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11822 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11823 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11825 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11827 * scripts/test_printers_common.py (init_test): Disable lock elision.
11829 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11831 * math/test-tgmath.c (count_double, count_float,
11832 count_ldouble, count_cdouble, count_cfloat,
11833 count_cldouble): Use volatile int.
11835 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11837 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11838 (conformtest-xfail-conds): Add i386-gnu.
11839 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11841 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11842 ipc_perm.cuid, ipc_perm.cgid): Likewise.
11843 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
11844 msqid_ds.msg_lrpid): Likewise.
11845 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
11847 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
11848 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
11849 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
11850 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
11852 (struct statvfs64): Likewise.
11853 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
11855 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
11856 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
11857 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
11858 instead of wait_queue.
11859 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
11860 instead of vm_area_struct.
11861 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
11862 struct sched_param definition to it.
11863 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
11864 * bits/types/struct_sched_param.h: New file.
11865 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
11866 <bits/types/struct_sched_param.h> instead of <sched.h>.
11867 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
11868 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
11869 generic version but include <bits/pthreadtypes.h> to make struct
11870 sigevent's sigev_notify_attributes field a pthread_attr_t*.
11871 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
11873 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
11874 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
11875 [__USE_XOPEN] (OFDEL): New macro.
11876 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
11877 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
11878 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
11880 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
11881 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
11882 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
11884 * sysdeps/i386/sys/ucontext.h: Likewise.
11885 * sysdeps/m68k/sys/ucontext.h: Likewise.
11886 * sysdeps/mips/sys/ucontext.h: Likewise.
11887 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
11888 * sysdeps/mach/hurd/i386/Makefile
11889 (test-xfail-POSIX/fcntl.h/conform): Add.
11890 (test-xfail-POSIX/signal.h/conform): Add.
11891 (test-xfail-POSIX/semaphore.h/conform): Add.
11892 (test-xfail-POSIX/regex.h/conform): Add.
11893 (test-xfail-POSIX/aio.h/conform): Add.
11894 (test-xfail-POSIX/mqueue.h/conform): Add.
11895 (test-xfail-POSIX/sys/types.h/conform): Add.
11896 (test-xfail-UNIX98/fcntl.h/conform): Add.
11897 (test-xfail-UNIX98/netdb.h/conform): Add.
11898 (test-xfail-UNIX98/signal.h/conform): Add.
11899 (test-xfail-UNIX98/semaphore.h/conform): Add.
11900 (test-xfail-UNIX98/regex.h/conform): Add.
11901 (test-xfail-UNIX98/aio.h/conform): Add.
11902 (test-xfail-UNIX98/ftw.h/conform): Add.
11903 (test-xfail-UNIX98/mqueue.h/conform): Add.
11904 (test-xfail-UNIX98/netinet/in.h/conform): Add.
11905 (test-xfail-UNIX98/sys/wait.h/conform): Add.
11906 (test-xfail-UNIX98/sys/sem.h/conform): Add.
11907 (test-xfail-UNIX98/sys/uio.h/conform): Add.
11908 (test-xfail-UNIX98/sys/socket.h/conform): Add.
11909 (test-xfail-UNIX98/sys/types.h/conform): Add.
11910 (test-xfail-UNIX98/stdlib.h/conform): Add.
11911 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
11912 (test-xfail-POSIX2008/fcntl.h/conform): Add.
11913 (test-xfail-POSIX2008/netdb.h/conform): Add.
11914 (test-xfail-POSIX2008/signal.h/conform): Add.
11915 (test-xfail-POSIX2008/semaphore.h/conform): Add.
11916 (test-xfail-POSIX2008/regex.h/conform): Add.
11917 (test-xfail-POSIX2008/aio.h/conform): Add.
11918 (test-xfail-POSIX2008/mqueue.h/conform): Add.
11919 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
11920 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
11921 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
11922 (test-xfail-POSIX2008/sys/types.h/conform): Add.
11923 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
11924 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
11925 (test-xfail-XOPEN2K/netdb.h/conform): Add.
11926 (test-xfail-XOPEN2K/signal.h/conform): Add.
11927 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
11928 (test-xfail-XOPEN2K/regex.h/conform): Add.
11929 (test-xfail-XOPEN2K/aio.h/conform): Add.
11930 (test-xfail-XOPEN2K/ftw.h/conform): Add.
11931 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
11932 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
11933 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
11934 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
11935 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
11936 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
11937 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
11938 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
11939 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
11940 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
11941 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
11942 (test-xfail-XOPEN2K8/signal.h/conform): Add.
11943 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
11944 (test-xfail-XOPEN2K8/regex.h/conform): Add.
11945 (test-xfail-XOPEN2K8/aio.h/conform): Add.
11946 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
11947 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
11948 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
11949 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
11950 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
11951 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
11952 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
11953 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
11954 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
11955 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
11956 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
11958 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
11959 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
11961 2018-04-18 Joseph Myers <joseph@codesourcery.com>
11963 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
11964 --enable-obsolete for powerpc-linux-gnuspe.
11966 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11968 * conform/data/sys/un.h-data: Allow sun_ prefix.
11969 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
11971 * sysdeps/mach/include/mach.h: Likewise.
11972 * sysdeps/mach/include/mach/mig_support.h: Likewise.
11973 * sysdeps/mach/include/mach_error.h: Likewise.
11975 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11977 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
11978 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
11979 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
11980 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
11982 2018-04-16 Andreas Schwab <schwab@suse.de>
11985 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
11987 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
11989 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
11990 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
11992 2018-04-12 DJ Delorie <dj@redhat.com>
11994 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11997 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11999 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12000 (struct kernel_sigaction): Use the same definition on 31bit as is used
12003 2018-04-09 Florian Weimer <fweimer@redhat.com>
12006 * resolv/res_send.c (send_dg): Use designated initializers instead
12007 of assignment to zero-initialize other fields of struct mmsghdr.
12009 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12011 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12012 __READDIR_ALIAS): Undefine after usage.
12013 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12014 __READDIR_R_ALIAS): Likewise.
12015 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12016 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12017 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12018 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12019 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12020 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12021 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12022 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12023 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12024 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12025 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12026 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12027 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12028 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12029 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12030 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12031 * sysdeps/unix/sysv/linux/readdir.c: New file.
12032 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12033 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12034 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12036 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12038 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12040 * manual/charset.texi (Converting a Character): Fix typo.
12042 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12046 * sysdeps/arm/libm-test-ulps: Update.
12048 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12049 as base implementation.
12050 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12051 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12052 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12053 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12054 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12055 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12056 remove unrequired definitions and update comments.
12057 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12058 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12059 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12060 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12061 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12062 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12063 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12064 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12065 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12066 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12067 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12068 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12069 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12070 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12071 and RESET_SA_RESTORER hooks.
12073 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12075 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12077 2018-04-05 Florian Weimer <fweimer@redhat.com>
12079 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12080 integer overflow, memory leak on error, and indeterminate errno
12081 value. Add a null wide character to terminate the result string.
12082 * manual/charset.texi (Converting a Character): Mention embedded
12083 null bytes in the mbrtowc input string. Explain what happens in
12084 the -2 result case. Do not claim that mbrtowc is simple or
12085 obvious to use. Adjust the description of the code example. Use
12086 @code, not @var, for concrete variables.
12088 2018-04-05 Florian Weimer <fweimer@redhat.com>
12090 * manual/examples/mbstouwcs.c: New file.
12091 * manual/charset.texi (Converting a Character): Include it.
12093 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12095 * include/dirent.h (dirfd): Add hidden proto.
12096 * dirent/dirfd.c (dirfd): Add hidden def.
12097 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12098 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12100 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12102 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12103 sin, cos and sincos to 1 ULP.
12105 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12108 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12110 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12111 * elf/tst-absolute-sym.c: New file.
12112 * elf/tst-absolute-sym-lib.c: New file.
12113 * elf/tst-absolute-sym-lib.lds: New file.
12114 * elf/Makefile (tests): Add `tst-absolute-sym'.
12115 (modules-names): Add `tst-absolute-sym-lib'.
12116 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12117 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12118 ($(objpfx)tst-absolute-sym): New dependency.
12121 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12123 (SYMBOL_ADDRESS): New macro.
12124 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12125 SYMBOL_ADDRESS for symbol address calculation.
12126 * elf/dl-runtime.c (_dl_fixup): Likewise.
12127 (_dl_profile_fixup): Likewise.
12128 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12129 * elf/rtld.c (dl_main): Likewise.
12130 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12131 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12132 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12133 (elf_machine_rela): Likewise.
12134 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12135 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12136 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12137 (elf_machine_rela): Likewise.
12138 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12139 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12140 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12141 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12143 (elf_machine_reloc): Likewise.
12144 (elf_machine_got_rel): Likewise.
12145 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12146 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12147 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12151 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12154 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12156 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12157 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12159 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12161 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12164 2018-04-04 Zack Weinberg <zackw@panix.com>
12166 * sysdeps/generic/internal-signals.h: Include signal.h,
12167 sigsetops.h, and stdbool.h.
12168 (__libc_signal_block_all): Actually block all signals.
12169 (__libc_signal_block_app): Likewise.
12170 (__libc_signal_restore_set): Actually restore the signal mask.
12172 2018-04-04 Florian Weimer <fweimer@redhat.com>
12174 inet: Actually build and run tst-deadline.
12175 * inet/Makefile (tests-internal): Add tst-deadline and do not
12176 overwrite the variable.
12177 (tests-static-internal): Remove variable.
12179 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12182 * bits/uio-ext.h (RWF_APPEND): New.
12183 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12184 * manual/llio.texi: Document RWF_APPEND.
12185 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12186 (RWF_SUPPORTED): Add RWF_APPEND.
12188 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12191 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12192 check for internal nptl signals.
12193 * nptl/sigaction.c (__sigaction): Likewise.
12194 * signal/sigaddset.c (sigaddset): Likewise.
12195 * signal/sigdelset.c (sigdelset): Likewise.
12196 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12197 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12199 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12200 to filter out internal nptl signals.
12201 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12202 also check realtime signals using standard macros.
12203 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12204 __is_internal_signal, __libc_signal_block_all,
12205 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12206 * sysdeps/nptl/sigfillset.c: Remove file.
12207 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12208 Change return to bool.
12209 (__clear_internal_signals): Remove SIGTIMER clean since it is
12210 equal to SIGCANEL on Linux.
12211 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12212 signal set was constructed using standard functions.
12214 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12216 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12217 ifname is too long.
12218 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12219 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12220 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12222 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12223 * signal/sigaddset.c: Include <sigsetopts.h>.
12224 * signal/sigdelset.c: Likewise.
12226 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12230 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12231 logic as sin and cos.
12233 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12235 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12236 inputs. Return correct sign.
12237 (do_sincos): Remove small input check before do_sin, let do_sin set
12242 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12244 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12245 (do_cos_slow): Likewise.
12246 (do_sin_slow): Likewise.
12247 (reduce_and_compute): Likewise.
12252 (sloww1): Likewise.
12253 (sloww2): Likewise.
12255 (bslow1): Likewise.
12256 (bslow2): Likewise.
12257 (cslow2): Likewise.
12259 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12261 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12262 (do_cos): Remove corp parameter and calculations.
12263 (do_sin): Likewise.
12264 (do_sincos): Remove cor variable.
12265 (__sin): Use do_sincos for huge inputs.
12267 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12268 (reduce_and_compute_sincos): Remove unused function.
12270 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12272 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12273 reduce_sincos, improve accuracy to 136 bits.
12274 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12275 (__sin): Use improved reduction and simplified do_sincos calculation.
12277 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12279 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12281 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12282 (do_sincos_2): Likewise.
12283 (__sin): Remove middle range reduction case.
12285 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12288 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12290 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12294 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12296 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12298 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12301 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12303 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12304 Remove definitions.
12305 (opendir_oflags): Use O_DIRECTORY regardless.
12306 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12307 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12309 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12311 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12312 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12314 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12315 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12316 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12317 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12318 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12319 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12321 * htl/Makefile: Bump licence to LGPL 2.1+.
12322 * htl/alloca_cutoff.c: Likewise.
12323 * htl/cthreads-compat.c: Likewise.
12324 * htl/lockfile.c: Likewise.
12325 * htl/pt-alloc.c: Likewise.
12326 * htl/pt-cancel.c: Likewise.
12327 * htl/pt-cleanup.c: Likewise.
12328 * htl/pt-create.c: Likewise.
12329 * htl/pt-dealloc.c: Likewise.
12330 * htl/pt-detach.c: Likewise.
12331 * htl/pt-exit.c: Likewise.
12332 * htl/pt-getattr.c: Likewise.
12333 * htl/pt-initialize.c: Likewise.
12334 * htl/pt-internal.h: Likewise.
12335 * htl/pt-join.c: Likewise.
12336 * htl/pt-self.c: Likewise.
12337 * htl/pt-setcancelstate.c: Likewise.
12338 * htl/pt-setcanceltype.c: Likewise.
12339 * htl/pt-sigmask.c: Likewise.
12340 * htl/pt-spin-inlines.c: Likewise.
12341 * htl/pt-testcancel.c: Likewise.
12342 * htl/pt-yield.c: Likewise.
12343 * htl/tests/test-1.c: Likewise.
12344 * htl/tests/test-10.c: Likewise.
12345 * htl/tests/test-11.c: Likewise.
12346 * htl/tests/test-12.c: Likewise.
12347 * htl/tests/test-13.c: Likewise.
12348 * htl/tests/test-14.c: Likewise.
12349 * htl/tests/test-15.c: Likewise.
12350 * htl/tests/test-16.c: Likewise.
12351 * htl/tests/test-17.c: Likewise.
12352 * htl/tests/test-2.c: Likewise.
12353 * htl/tests/test-3.c: Likewise.
12354 * htl/tests/test-4.c: Likewise.
12355 * htl/tests/test-5.c: Likewise.
12356 * htl/tests/test-6.c: Likewise.
12357 * htl/tests/test-7.c: Likewise.
12358 * htl/tests/test-8.c: Likewise.
12359 * htl/tests/test-9.c: Likewise.
12360 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12361 * sysdeps/htl/bits/cancelation.h: Likewise.
12362 * sysdeps/htl/bits/pthread-np.h: Likewise.
12363 * sysdeps/htl/bits/pthread.h: Likewise.
12364 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12365 * sysdeps/htl/bits/semaphore.h: Likewise.
12366 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12367 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12368 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12369 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12370 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12371 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12372 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12373 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12374 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12375 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12376 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12377 * sysdeps/htl/old_pt-atfork.c: Likewise.
12378 * sysdeps/htl/pt-atfork.c: Likewise.
12379 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12380 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12381 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12382 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12383 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12384 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12385 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12386 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12387 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12388 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12389 * sysdeps/htl/pt-attr-init.c: Likewise.
12390 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12391 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12392 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12393 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12394 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12395 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12396 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12397 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12398 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12399 * sysdeps/htl/pt-attr.c: Likewise.
12400 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12401 * sysdeps/htl/pt-barrier-init.c: Likewise.
12402 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12403 * sysdeps/htl/pt-barrier.c: Likewise.
12404 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12405 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12406 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12407 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12408 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12409 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12410 * sysdeps/htl/pt-cond-init.c: Likewise.
12411 * sysdeps/htl/pt-cond-signal.c: Likewise.
12412 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12413 * sysdeps/htl/pt-cond-wait.c: Likewise.
12414 * sysdeps/htl/pt-cond.c: Likewise.
12415 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12416 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12417 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12418 * sysdeps/htl/pt-condattr-init.c: Likewise.
12419 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12420 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12421 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12422 * sysdeps/htl/pt-equal.c: Likewise.
12423 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12424 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12425 * sysdeps/htl/pt-getschedparam.c: Likewise.
12426 * sysdeps/htl/pt-getspecific.c: Likewise.
12427 * sysdeps/htl/pt-init-specific.c: Likewise.
12428 * sysdeps/htl/pt-key-create.c: Likewise.
12429 * sysdeps/htl/pt-key-delete.c: Likewise.
12430 * sysdeps/htl/pt-key.h: Likewise.
12431 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12432 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12433 * sysdeps/htl/pt-mutex-init.c: Likewise.
12434 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12435 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12436 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12437 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12438 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12439 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12440 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12441 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12442 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12443 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12444 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12445 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12446 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12447 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12448 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12449 * sysdeps/htl/pt-mutexattr.c: Likewise.
12450 * sysdeps/htl/pt-once.c: Likewise.
12451 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12452 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12453 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12454 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12455 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12456 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12457 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12458 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12459 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12460 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12461 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12462 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12463 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12464 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12465 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12466 * sysdeps/htl/pt-setschedparam.c: Likewise.
12467 * sysdeps/htl/pt-setschedprio.c: Likewise.
12468 * sysdeps/htl/pt-setspecific.c: Likewise.
12469 * sysdeps/htl/pt-spin.c: Likewise.
12470 * sysdeps/htl/pt-startup.c: Likewise.
12471 * sysdeps/htl/pthread.h: Likewise.
12472 * sysdeps/htl/sem-close.c: Likewise.
12473 * sysdeps/htl/sem-destroy.c: Likewise.
12474 * sysdeps/htl/sem-getvalue.c: Likewise.
12475 * sysdeps/htl/sem-init.c: Likewise.
12476 * sysdeps/htl/sem-open.c: Likewise.
12477 * sysdeps/htl/sem-post.c: Likewise.
12478 * sysdeps/htl/sem-timedwait.c: Likewise.
12479 * sysdeps/htl/sem-trywait.c: Likewise.
12480 * sysdeps/htl/sem-unlink.c: Likewise.
12481 * sysdeps/htl/sem-wait.c: Likewise.
12482 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12483 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12484 * sysdeps/mach/htl/pt-block.c: Likewise.
12485 * sysdeps/mach/htl/pt-spin.c: Likewise.
12486 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12487 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12488 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12489 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12490 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12491 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12492 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12493 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12494 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12495 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12496 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12497 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12498 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12499 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12500 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12501 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12502 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12503 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12504 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12505 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12506 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12507 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12508 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12509 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12510 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12511 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12512 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12513 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12514 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12515 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12516 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12517 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12518 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12519 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12520 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12521 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12522 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12523 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12524 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12525 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12526 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12527 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12528 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12530 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12531 * README: Remove the mention of out-of-tree patches needed for
12534 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12535 (UTIME_NOW, UTIME_OMIT): Define macros.
12537 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12538 instead of pthread_detach.
12539 (__cthread_fork): Call __pthread_create instead of pthread_create.
12540 (__cthread_keycreate): Call __pthread_key_create instead of
12541 pthread_key_create.
12542 (__cthread_getspecific): Call __pthread_getspecific instead of
12543 pthread_getspecific.
12544 (__cthread_setspecific): Call __pthread_setspecific instead of
12545 pthread_setspecific.
12546 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12547 __pthread_mutex_unlock instead of pthread_mutex_lock and
12548 pthread_mutex_unlock.
12549 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12550 ___pthread_get_cleanup_stack.
12551 (__pthread_get_cleanup_stack): New strong alias.
12552 * htl/pt-create.c: Include <pthreadP.h>.
12553 (entry_point): Call __pthread_exit instead of pthread_exit.
12554 (pthread_create): Rename to __pthread_create.
12555 (pthread_create): New strong alias.
12556 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12557 (pthread_detach): New strong alias.
12558 (__pthread_detach): Call __pthread_cond_broadcast instead of
12559 pthread_cond_broadcast.
12560 * htl/pt-exit.c: Include <pthreadP.h>.
12561 (__pthread_exit): Call __pthread_setcancelstate and
12562 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12563 __pthread_get_cleanup_stack.
12564 * htl/pt-testcancel.c: Include <pthreadP.h>.
12565 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12566 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12567 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12568 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12569 pthread_attr_getstacksize.
12570 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12571 Rename to __pthread_attr_getstackaddr.
12572 (pthread_attr_getstackaddr): New strong alias.
12573 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12574 Rename to __pthread_attr_getstacksize.
12575 (pthread_attr_getstacksize): New strong alias.
12576 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12577 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12578 (pthread_attr_setstack): New strong alias.
12579 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12580 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12581 pthread_attr_getstacksize, pthread_attr_setstacksize and
12582 pthread_attr_setstackaddr.
12583 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12584 Rename to __pthread_attr_setstackaddr.
12585 (pthread_attr_setstackaddr): New strong alias.
12586 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12587 Rename to __pthread_attr_setstacksize.
12588 (pthread_attr_setstacksize): New strong alias.
12589 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12590 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12592 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12593 (__pthread_key_create): New hidden def.
12594 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12595 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12596 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12597 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12598 __pthread_setspecific, __pthread_setcancelstate,
12599 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12600 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12601 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12603 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12604 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12605 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12606 (pthread_attr_setstackaddr): New strong alias.
12607 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12608 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12609 (pthread_attr_setstacksize): New strong alias.
12610 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12611 (call_exit): Call __pthread_exit instead of pthread_exit.
12612 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12613 (_pthread_mutex_init): New hidden definition.
12614 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12615 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12616 instead of pthread_attr_init and pthread_attr_setstack.
12618 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12619 __vm_deallocate instead of vm_allocate and vm_deallocate.
12620 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12622 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12624 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12626 * hurd/siginfo.c: Include <libioP.h>.
12627 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12628 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12630 * mach/devstream.c: Include <libioP.h>.
12631 (dealloc_ref): Call __mach_port_deallocate instead of
12632 mach_port_deallocate.
12633 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12634 Call __mach_port_deallocate instead of mach_port_deallocate.
12635 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12637 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12639 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12640 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12641 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12643 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12645 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12646 instead of sysconf.
12647 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12648 __clock_gettime instead of clock_gettime.
12649 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12650 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12651 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12652 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12653 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12655 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12656 __clock_gettime and __nanosleep instead of clock_gettime and
12658 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12659 __hurd_catch_signal.
12660 (hurd_catch_signal): New strong alias.
12661 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12662 __hurd_catch_signal instead of hurd_catch_signal.
12663 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12664 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12665 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12666 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12667 (_hurd_thread_sigstate): Add hidden def.
12668 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12670 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12671 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12672 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12673 __hurd_file_name_path_lookup.
12674 (hurd_file_name_path_lookup): New strong alias.
12675 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12676 hurd_file_name_path_lookup.
12677 * mach/errstring.c (mach_error_type): Add hidden def.
12678 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12679 * mach/mutex-init.c (__mutex_init): Add hidden def.
12680 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12681 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12682 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12683 * sysdeps/mach/hurd/getcwd.c
12684 (_hurd_canonicalize_directory_name_internal): Rename to
12685 __hurd_canonicalize_directory_name_internal.
12686 (_hurd_canonicalize_directory_name_internal): New strong alias.
12687 (__canonicalize_directory_name_internal, __getcwd): Call
12688 __hurd_canonicalize_directory_name_internal instead of
12689 _hurd_canonicalize_directory_name_internal.
12690 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12691 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12693 * sysdeps/hurd/include/hurd.h: New file.
12694 * sysdeps/hurd/include/hurd/fd.h: New file.
12695 * sysdeps/hurd/include/hurd/signal.h: New file.
12696 * sysdeps/mach/include/lock-intern.h: New file.
12697 * sysdeps/mach/include/mach.h: New file.
12698 * sysdeps/mach/include/mach/mig_support.h: New file.
12699 * sysdeps/mach/include/mach_error.h: New file.
12700 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12702 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12703 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12704 _HEADER_H_HIDDEN_DEF macro.
12705 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12706 _hurd_fd_error_signal): Add hidden prototype.
12707 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12709 * libio/iolibio.h (_IO_puts): New hidden prototype.
12710 * libio/ioputs.c (_IO_puts): New hidden def.
12711 * sysdeps/mach/hurd/localplt.data: New file.
12713 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12714 Amos Jeffries <squid3@treenet.co.nz>
12715 David Michael <fedora.dm0@gmail.com>
12716 Marco Gerards <marco@gnu.org>
12717 Marcus Brinkmann <marcus@gnu.org>
12718 Neal H. Walfield <neal@gnu.org>
12719 Pino Toscano <toscano.pino@tiscali.it>
12720 Richard Braun <rbraun@sceen.net>
12721 Roland McGrath <roland@gnu.org>
12722 Samuel Thibault <samuel.thibault@ens-lyon.org>
12723 Thomas DiModica <ricinwich@yahoo.com>
12724 Thomas Schwinge <tschwinge@gnu.org>
12726 * htl: New directory.
12727 * sysdeps/htl: New directory.
12728 * sysdeps/hurd/htl: New directory.
12729 * sysdeps/i386/htl: New directory.
12730 * sysdeps/mach/htl: New directory.
12731 * sysdeps/mach/hurd/htl: New directory.
12732 * sysdeps/mach/hurd/i386/htl: New directory.
12733 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12734 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12735 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12737 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12739 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12740 signals in thread created for runing timers.
12742 2018-04-01 Florian Weimer <fweimer@redhat.com>
12744 * support/support_format_addrinfo.c (support_format_addrinfo):
12745 Include unknown error number in formatted result.
12747 2018-03-29 Florian Weimer <fweimer@redhat.com>
12749 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12752 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12754 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12755 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12756 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12757 (__ASSUME_CLONE_BACKWARDS): Define.
12759 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12762 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12763 early when linux sentinel value is set.
12765 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12767 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12769 2018-03-27 Andreas Schwab <schwab@suse.de>
12772 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12773 allocation of private copy of nsaddr_list fails.
12775 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12778 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12779 * sysdeps/unix/sysv/linux/umount.c: ... here.
12780 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12781 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12782 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12783 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12785 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12786 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12788 2018-03-26 Andreas Schwab <schwab@suse.de>
12790 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12791 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12792 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12793 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12794 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12795 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12796 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12797 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12798 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12799 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12800 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12801 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12802 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12803 (R_RISCV_NUM): Define.
12805 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12807 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12808 TLS declaration of errno.
12809 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12811 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12812 (ARCH_SETUP_TLS): Likewise.
12813 * sysdeps/mach/hurd/libc-start.h: New file copied from
12814 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12815 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12816 instead of __libc_setup_tls.
12817 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12818 __libc_setup_tls before initializing libpthread and running _hurd_init
12819 which starts the signal thread.
12820 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12822 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12824 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12827 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12828 after it is defined.
12830 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12831 Max Horn <max@quendi.de>
12835 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12837 * string/test-memmove.c (do_test2): New testcase.
12839 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12841 * sysdeps/generic/frame.h: Remove file.
12842 * sysdeps/arm/frame.h: Likewise.
12843 * sysdeps/hppa/frame.h: Likewise.
12844 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
12846 (GET_FRAME): Likewise.
12847 (GET_STACK): Likewise.
12848 (CALL_SIGHANDLER): Likewise.
12849 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
12851 (GET_FRAME): Likewise.
12852 (GET_STACK): Likewise.
12853 (CALL_SIGHANDLER): Likewise.
12854 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
12855 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12856 (GET_FRAME): Likewise.
12857 (GET_STACK): Likewise.
12858 (CALL_SIGHANDLER): Likewise.
12859 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
12860 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12861 (GET_FRAME): Likewise.
12862 (GET_STACK): Likewise.
12863 (ADVANCE_STACK_FRAME): Likewise.
12864 (CALL_SIGHANDLER): Likewise.
12865 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
12866 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12867 (GET_FRAME): Likewise.
12868 (GET_STACK): Likewise.
12869 (CALL_SIGHANDLER): Likewise.
12870 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
12871 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12872 (GET_FRAME): Likewise.
12873 (GET_STACK): Likewise.
12874 (CALL_SIGHANDLER): Likewise.
12875 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
12876 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12877 (GET_FRAME): Likewise.
12878 (GET_STACK): Likewise.
12879 (CALL_SIGHANDLER): Likewise.
12880 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
12881 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12882 (GET_FRAME): Likewise.
12883 (GET_STACK): Likewise.
12884 (CALL_SIGHANDLER): Likewise.
12885 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
12886 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12887 (GET_FRAME): Likewise.
12888 (GET_STACK): Likewise.
12889 (CALL_SIGHANDLER): Likewise.
12890 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
12891 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12892 (GET_FRAME): Likewise.
12893 (GET_STACK): Likewise.
12894 (CALL_SIGHANDLER): Likewise.
12895 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
12896 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12897 (GET_FRAME): Likewise.
12898 (GET_STACK): Likewise.
12899 (CALL_SIGHANDLER): Likewise.
12900 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
12901 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12902 (GET_FRAME): Likewise.
12903 (GET_STACK): Likewise.
12904 (CALL_SIGHANDLER): Likewise.
12905 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
12906 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12907 (GET_FRAME): Likewise.
12908 (GET_STACK): Likewise.
12909 (CALL_SIGHANDLER): Likewise.
12910 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
12911 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12912 (FIRST_FRAME_POINTER): Likewise.
12913 (ADVANCE_STACK_FRAME): Likewise.
12914 (GET_STACK): Likewise.
12915 (GET_FRAME): Likewise.
12916 (CALL_SIGHANDLER): Likewise.
12917 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
12918 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12919 (ADVANCE_STACK_FRAME): Likewise.
12920 (GET_STACK): Likewise.
12921 (GET_FRAME): Likewise.
12922 (CALL_SIGHANDLER): Likewise.
12923 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
12924 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12925 (GET_FRAME): Likewise.
12926 (GET_STACK): Likewise.
12927 (CALL_SIGHANDLER): Likewise.
12928 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
12929 (SIGCONTEXT_EXTRA_ARGS): Likewise.
12930 (GET_FRAME): Likewise.
12931 (GET_STACK): Likewise.
12932 (CALL_SIGHANDLER): Likewise.
12934 2018-03-21 Joseph Myers <joseph@codesourcery.com>
12936 * sysdeps/x86_64/backtrace.c: Move to ....
12937 * debug/backtrace.c: ... here.
12938 * sysdeps/aarch64/backtrace.c: Remove file.
12939 * sysdeps/alpha/backtrace.c: Likewise.
12940 * sysdeps/hppa/backtrace.c: Likewise.
12941 * sysdeps/ia64/backtrace.c: Likewise.
12942 * sysdeps/mips/backtrace.c: Likewise.
12943 * sysdeps/nios2/backtrace.c: Likewise.
12944 * sysdeps/riscv/backtrace.c: Likewise.
12945 * sysdeps/sh/backtrace.c: Likewise.
12946 * sysdeps/tile/backtrace.c: Likewise.
12948 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12951 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
12954 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
12957 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
12958 possibly overflowing computations.
12960 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
12962 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
12963 values from Linux-specific section now that it is in the GNU section.
12964 * sysdeps/gnu/errlist.c: Regenerate.
12966 2018-03-20 Joseph Myers <joseph@codesourcery.com>
12968 * math/Makefile (libm-narrow-fns): Add sub.
12969 (libm-test-funcs-narrow): Likewise.
12970 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
12971 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
12972 * math/gen-auto-libm-tests.c (test_functions): Add sub.
12973 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
12974 (NARROW_SUB_ROUND_TO_ODD): Likewise.
12975 (NARROW_SUB_TRIVIAL): Likewise.
12976 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
12978 (__dsubl): Likewise.
12979 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
12981 (CFLAGS-nldbl-dsub.c): New variable.
12982 (CFLAGS-nldbl-fsub.c): Likewise.
12983 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12985 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
12987 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
12988 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
12989 * math/auto-libm-test-in: Add tests of sub.
12990 * math/auto-libm-test-out-narrow-sub: New generated file.
12991 * math/libm-test-narrow-sub.inc: New file.
12992 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
12993 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
12994 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
12995 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
12996 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
12997 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
12998 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
12999 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13000 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13001 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13003 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13004 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13005 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13006 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13007 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13008 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13009 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13011 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13012 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13014 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13015 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13016 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13017 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13018 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13028 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13029 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13030 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13031 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13032 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13033 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13034 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13035 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13036 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13037 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13039 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13042 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13044 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13046 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13048 2018-03-18 Richard Braun <rbraun@sceen.net>
13050 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13053 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13055 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13056 (__libc_cleanup_fct): Define function.
13057 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13058 __libc_cleanup_end): Rewrite implementation using
13059 __attribute__ ((__cleanup__)).
13060 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13061 * hurd/Makefile (routines): Add hurdlock.
13062 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13064 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13065 * hurd/hurdpid.c: Include <lowlevellock.h>
13066 (_S_msg_proc_newids): Use lll_wait to synchronize.
13067 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13068 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13069 * mach/Makefile (lock-headers): Remove machine-lock.h.
13070 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13072 (__spin_lock_t): New type.
13073 (__SPIN_LOCK_INITIALIZER): New macro.
13074 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13075 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13076 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13077 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13078 (__mutex_init): Initialize with lll.
13079 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13080 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13082 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13083 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13084 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13085 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13086 (__setpgid): Use lll for synchronization.
13087 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13088 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13089 instead of <cthreads.h>.
13090 (_IO_lock_inexpensive): New macro
13091 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13092 (__libc_lock_self0): New declaration.
13093 (__libc_lock_owner_self): New macro.
13094 (__libc_key_t): Remove type.
13095 (_LIBC_LOCK_INITIALIZER): New macro.
13096 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13097 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13098 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13099 __libc_lock_define_initialized_recursive,
13100 __rtld_lock_define_initialized_recursive,
13101 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13102 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13103 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13104 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13105 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13106 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13107 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13109 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13110 * hurd/hurdlock.c: New file.
13111 * hurd/hurdlock.h: New file.
13112 * mach/lowlevellock.h: New file
13114 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13116 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13117 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13118 when opening a symlink with O_NOFOLLOW.
13119 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13120 path when flags contains O_NOFOLLOW.
13121 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13122 if flags contains O_DIRECTORY and the result is a directory.
13123 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13124 oneself when the pointer given in D is nul (as set by ext2fs).
13125 * sysdeps/mach/hurd/mlockall.c: New file.
13126 * sysdeps/mach/hurd/munlockall.c: New file.
13128 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13130 * hurd/hurdsig.c: Include <pthread.h>.
13131 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13132 get the signal thread stack layout.
13133 * hurd/Makefile (headers): Remove threadvar.h.
13134 (inline-headers): Remove threadvar.h.
13135 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13136 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13137 __hurd_threadvar_max, __hurd_errno_location.
13138 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13139 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13140 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13141 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13142 unless TLS is not initialized yet, in which case we do not need a
13143 critical section yet anyway.
13144 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13146 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13148 (__hurd_threadvar_index): Remove enum.
13149 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13150 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13152 (__hurd_reply_port0): New variable declaration.
13153 (__hurd_local_reply_port): New macro.
13154 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13155 (interrupted_reply_port_location): Add thread_t parameter. Use it
13156 with THREAD_TCB to access thread-local variables.
13157 (_hurdsig_abort_rpcs): Pass ss->thread to
13158 interrupted_reply_port_location.
13159 (_hurd_internal_post_signal): Likewise.
13160 (_hurdsig_init): Use presence of cthread_fork instead of
13161 __hurd_threadvar_stack_mask to start signal thread by hand.
13162 Remove signal thread threadvar initialization.
13163 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13164 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13165 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13167 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13169 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13170 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13171 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13172 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13173 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13174 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13175 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13177 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13178 <hurd/threadvar.h>.
13179 [IS_IN(rtld)] (rtld_errno): New variable.
13180 [IS_IN(rtld)] (__errno_location): New weak function.
13181 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13182 * sysdeps/mach/hurd/errno.c: Remove file.
13183 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13184 (__fork): Remove THREADVAR_SPACE macro and its use.
13185 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13187 (init): Do not initialize threadvar.
13188 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13190 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13191 __hurd_local_reply_port instead of threadvar.
13192 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13193 _hurd_sigstate fields.
13194 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13195 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13196 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13197 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13198 instead of threadvar.
13199 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13200 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13201 (use_threadvar, global_reply_port): Remove variables.
13202 (__hurd_reply_port0): New variable.
13203 (__mig_get_reply_port): Use __hurd_local_reply_port and
13204 __hurd_reply_port0 instead of threadvar.
13205 (__mig_dealloc_reply_port): Likewise.
13206 (__mig_init): Do not initialize threadvar.
13207 * sysdeps/mach/hurd/profil.c: Fix comment.
13208 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13209 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13210 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13211 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13212 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13213 __cthread_setspecific.
13214 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13215 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13216 __cthread_t instead of cthread_fork, cthread_detach,
13217 pthread_getattr_np, pthread_attr_getstack.
13218 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13219 __cthread_keycreate.
13220 (cthread_getspecific): Rename to __cthread_getspecific.
13221 (cthread_setspecific): Rename to __cthread_setspecific.
13222 (__libc_getspecific): Use __cthread_getspecific instead of
13223 cthread_getspecific.
13224 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13225 __cthread_keycreate instead of cthread_keycreate.
13226 (__libc_setspecific): Use __cthread_setspecific instead of
13227 cthread_setspecific.
13228 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13231 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13232 testing whether it is defined.
13234 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13236 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13238 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13239 * sysdeps/mach/i386/thread_state.h
13240 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13242 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13244 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13246 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13247 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13249 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13251 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13252 descriptor instead of creating a new one.
13253 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13255 * mach/setup-thread.c: Include <ldsodefs.h>.
13256 (__mach_setup_thread): Call _dl_allocate_tls, pass
13257 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13258 MACHINE_THREAD_STATE_FLAVOR, before getting
13259 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13260 MACHINE_THREAD_STATE_FLAVOR with the result.
13261 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13262 MACHINE_THREAD_STATE_FIX_NEW.
13263 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13264 too. Add original thread parameter.
13266 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13268 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13269 Remove inline function.
13271 * sysdeps/i386/fpu/libm-test-ulps: Update.
13272 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13274 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13276 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13279 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13281 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13282 (__sincos_code): Remove define and undefine.
13283 [__FAST_MATH__] (__sincos): Remove inline function.
13284 [__FAST_MATH__] (__sincosf): Remove inline function.
13285 [__FAST_MATH__] (__sincosl): Remove inline function.
13286 (__atan2l): Remove inline functions.
13287 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13288 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13290 (floor): Remove inline function.
13292 [__FAST_MATH__] (__ldexp_code): Remove macro.
13293 [__FAST_MATH__] (ldexp): Remove inline function.
13294 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13295 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13296 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13297 [__USE_ISOC99] (__lrint_code): Remove macro.
13298 [__USE_ISOC99] (__llrint_code): Likewise.
13299 [__USE_ISOC99] (lrintf): Remove inline function.
13300 [__USE_ISOC99] (lrint): Likewise.
13301 [__USE_ISOC99] (lrintl): Likewise.
13302 [__USE_ISOC99] (llrint): Likewise.
13303 [__USE_ISOC99] (llrintf): Likewise.
13304 [__USE_ISOC99] (llrintl): Likewise.
13306 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13308 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13309 (__ieee754_sqrtf): Remove.
13310 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13311 (__ieee754_sqrtf): Remove.
13312 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13313 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13314 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13315 (__ieee754_sqrtf): Remove.
13316 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13317 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13320 (__ieee754_sqrt): Remove.
13321 (__ieee754_sqrtf): Remove.
13322 (__ieee754_sqrtl): Remove.
13323 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13324 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13325 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13326 (__ieee754_sqrtf): Remove.
13327 (__ieee754_sqrtl): Remove.
13329 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13331 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13332 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13333 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13334 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13335 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13336 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13337 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13338 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13340 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13341 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13342 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13343 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13344 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13345 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13346 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13347 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13348 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13349 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13350 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13351 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13352 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13353 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13354 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13355 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13356 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13357 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13358 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13362 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13364 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13365 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13366 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13367 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13368 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13369 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13370 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13371 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13372 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13373 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13374 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13375 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13376 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13377 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13378 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13379 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13381 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13383 * include/math.h (sqrt): Declare with asm redirect.
13386 (sqrtf128): Likewise.
13387 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13388 nonlib and libnldbl with -fmath-errno.
13389 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13390 * math/w_sqrt_template.c: Likewise.
13391 * math/w_sqrtf_compat.c: Likewise.
13392 * math/w_sqrtl_compat.c: Likewise.
13393 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13394 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13395 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13398 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13400 * benchtests/Makefile: Define _ISOMAC.
13401 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13402 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13403 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13404 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13405 * benchtests/bench-timing.h: Define attribute_hidden.
13407 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13409 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13412 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13415 * localedata/locales/cs_CZ (mon): Rename to...
13417 (mon): Import from CLDR (genitive case).
13419 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13422 * localedata/locales/el_CY (abmon): Rename to...
13423 (ab_alt_mon): This.
13424 (abmon): Import from CLDR (abbreviated genitive case).
13425 * localedata/locales/el_GR (abmon): Rename to...
13426 (ab_alt_mon): This.
13427 (abmon): Import from CLDR (abbreviated genitive case).
13429 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13432 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13434 2018-03-15 Robert Buj <robert.buj@gmail.com>
13437 * localedata/locales/ca_ES (abmon): Rename to...
13438 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13439 (mon): Rename to...
13441 (abmon): Import from CLDR (genitive case, month names preceded by
13444 (abday): Synchronize with CLDR.
13445 (d_t_fmt): Likewise.
13449 (LC_TIME): Improve indentation.
13450 (LC_TELEPHONE): Likewise.
13451 (LC_NAME): Likewise.
13452 (LC_ADDRESS): Likewise.
13454 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13456 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13457 (lrintf): Remove definitions used only with old GCC.
13458 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13459 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13460 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13461 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13462 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13463 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13464 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13465 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13466 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13467 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13468 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13469 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13470 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13471 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13472 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13473 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13474 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13475 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13476 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13477 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13478 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13479 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13480 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13481 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13482 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13483 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13484 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13485 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13487 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13489 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13490 instruction to unbreak builds with binutils 2.26 and older.
13492 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13494 * sysdeps/aarch64/strncmp.S (count): New macro.
13495 (strncmp): Store misaligned length in SRC1 in COUNT.
13496 (mutual_align): Adjust.
13497 (misaligned8): Load dword at a time when it is safe.
13499 2018-03-12 Zack Weinberg <zackw@panix.com>
13503 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13504 if the _IO_EOF_SEEN bit is already set; update commentary.
13505 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13506 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13508 * support/support_openpty.c, support/tty.h: New files.
13509 * support/Makefile (libsupport-routines): Add support_openpty.
13511 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13513 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13514 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13516 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13518 * po/pt_BR.po: Update translations.
13520 2018-03-12 David Michael <fedora.dm0@gmail.com>
13522 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13523 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13524 get a port to the startup server.
13526 2018-03-11 Zack Weinberg <zackw@panix.com>
13528 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13529 before nldbl-compat.h.
13531 2018-03-10 Zack Weinberg <zackw@panix.com>
13533 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13534 math.h or math_private.h.
13536 * sysdeps/alpha/fpu/s_isnan.c
13537 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13538 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13539 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13540 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13541 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13542 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13543 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13544 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13545 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13548 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13549 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13550 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13551 Include math_private.h.
13553 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13554 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13555 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13556 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13557 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13558 * sysdeps/powerpc/power7/fpu/s_logb.c:
13559 Include math.h and math_private.h.
13561 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13562 uses of $at in .set noat / .set at.
13564 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13566 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13567 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13568 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13569 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13572 2018-03-09 Florian Weimer <fweimer@redhat.com>
13574 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13577 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13580 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13581 Add nop before __startcontext, add explaining comments.
13583 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13586 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13588 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13589 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13590 Do not build hardware transactional code for __SPE__.
13591 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13592 (__lll_trylock_elision): Likewise.
13593 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13594 (__lll_unlock_elision): Likewise.
13596 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13597 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13598 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13599 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13600 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13601 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13602 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13603 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13604 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13605 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13606 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13607 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13608 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13609 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13610 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13611 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13612 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13613 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13614 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13615 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13616 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13617 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13618 (__ASSUME_CLONE_BACKWARDS): Define.
13619 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13620 __clone2 if __NR_clone2 is defined.
13621 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13622 (__ASSUME_CLONE_BACKWARDS): Likewise.
13623 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13624 (__ASSUME_CLONE_BACKWARDS): Likewise.
13625 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13626 (__ASSUME_CLONE2): Likewise.
13627 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13628 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13629 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13630 variants and the define architecture can use.
13631 (__ASSUME_CLONE_DEFAULT): Define as default.
13632 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13633 (__ASSUME_CLONE_BACKWARDS): Likewise.
13634 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13635 (__ASSUME_CLONE_BACKWARDS): Likewise.
13636 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13637 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13639 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13641 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13643 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13646 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13647 (do_test_limit): Likewise.
13649 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13650 for every implementation.
13651 (do_test): Likewise.
13653 * benchtests/bench-strncmp.c: Convert output to json.
13655 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13657 * io/futimens.c: Add missing start-of-file descriptive comment.
13658 * io/utime.c: Likewise.
13659 * misc/futimesat.c: Likewise.
13660 * misc/utimes.c: Likewise.
13661 * sysdeps/mach/hurd/futimesat.c: Likewise.
13662 * sysdeps/mach/hurd/utimes.c: Likewise.
13663 * sysdeps/posix/utime.c: Likewise.
13664 * sysdeps/posix/utimes.c: Likewise.
13665 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13666 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13667 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13668 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13670 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13672 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13674 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13675 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13676 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13677 (__futimens): Move implementation to...
13678 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13679 utime_tvalue_from_tspec): ... new helper functions.
13680 (hurd_futimens): New function.
13681 * sysdeps/mach/hurd/futimesat.c: New file.
13682 * sysdeps/mach/hurd/utimensat.c: New file.
13684 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13686 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13687 UTIME_OMIT): New macros.
13688 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13689 before reverting to converting time spec to time value and calling
13691 * sysdeps/mach/hurd/utime-helper.c: New file.
13692 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13693 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13694 reverting to utime_tvalue_from_tval and __file_utimes.
13695 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13696 (__lutimes): Just call hurd_futimens after lookup.
13697 * sysdeps/mach/hurd/utimes.c: Likewise.
13699 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13701 * bits/sigaction.h: Add include guard.
13702 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13703 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13704 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13705 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13706 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13707 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13708 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13709 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13710 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13712 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13714 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13715 -Wmaybe-uninitialized for -Os.
13716 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13719 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13721 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13722 __INO_T_MATCHES_INO64_T is defined.
13723 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13724 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13726 * dirent/alphasort64.c: Likewise.
13727 * dirent/scandir.c: Likewise.
13728 * dirent/scandir64-tail.c: Likewise.
13729 * dirent/scandir64.c: Likewise.
13730 * dirent/scandirat.c: Likewise.
13731 * dirent/scandirat64.c: Likewise.
13732 * dirent/versionsort.c: Likewise.
13733 * dirent/versionsort64.c: Likewise.
13734 * include/dirent.h: Likewise.
13736 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13737 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13738 for socketpair endpoint.
13739 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13740 WRITE_BUFFER_SIZE as buffer size for sending socket.
13741 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13742 issue on system where send is implemented with sendto syscall.
13743 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13744 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13745 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13746 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13749 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13750 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13751 sa_restorer for vDSO case.
13752 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13754 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13756 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13757 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13758 * hurd/hurd/ioctl.h: Include <mach/port.h>
13759 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13760 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13761 <mach/mach_types.h> and <mach/message.h>.
13762 (headers): Move mach/param.h to bits/mach/param.h.
13763 * sysdeps/mach/i386/mach/param.h: Move file to ...
13764 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13765 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13767 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13768 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13769 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13770 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13771 trivial, for C++ conformity.
13772 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13773 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13774 Process mig output through $(migheadersed).
13775 * hurd/Makefile (migheadersed): Define variable.
13776 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13777 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13779 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13780 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13781 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13782 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13783 <bits/types/sigset_t.h>.
13784 [!defined __USE_GNU]: Do not #error out.
13785 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13786 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13787 Include <stddef.h> and <bits/types/sigset_t.h>
13788 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13789 instead of sighandler_t.
13790 * stdlib/errno.h (error_t): Move definition to...
13791 * bits/types/error_t.h: ... new header.
13792 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13793 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13794 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13795 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13796 * hurd/hurd.h: Include <bits/types/error_t.h>
13797 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13798 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13799 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13800 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13801 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13802 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13803 * sysdeps/mach/hurd/futimens.c: New file.
13805 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13808 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13809 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13810 * nscd/gai.c (__nss_hosts_database): Readd definition.
13811 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13812 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13813 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13815 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13817 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13818 (ifunc_one): Likewise.
13820 2018-03-01 DJ Delorie <dj@delorie.com>
13823 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13826 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13828 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13829 `match_pid' parameter.
13830 (td_ta_thr_iter): Update accordingly.
13832 2018-03-01 Florian Weimer <fweimer@redhat.com>
13834 * nptl/Makefile (install-lib-ldscripts): Remove.
13835 (install): Remove rule.
13836 ($(inst_libdir)/libpthread.so): Likewise.
13838 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13841 * localedata/locales/an_ES: update month and day names,
13842 improve d_fmt, improve postal_fmt, add country_post,
13845 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13847 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
13848 Ukrainian instead of Bulgarian.
13850 2018-03-01 Florian Weimer <fweimer@redhat.com>
13852 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
13855 2018-03-01 Florian Weimer <fweimer@redhat.com>
13857 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
13858 * nptl/Makefile (routines): Add pthread_atfork.
13859 (static-only-routines): Set to pthread_atfork.
13860 (libpthread-routines): Remove pthread_atfork.
13861 (libpthread-static-only-routines): Remove.
13862 (install): Update comment.
13863 (libpthread.so): Do not install libpthread_nonshared.a.
13864 (tests): Do not link with libpthread_nonshared.a.
13865 (generated): Remove libpthread_nonshared.a.
13866 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
13867 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
13868 with libpthread_nonshared.a.
13870 2018-02-28 Joseph Myers <joseph@codesourcery.com>
13873 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
13874 (libc_feholdexcept_setroundf128): New macro.
13875 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
13878 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
13880 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
13881 * include/inttypes.h: New file.
13883 2018-02-27 Joseph Myers <joseph@codesourcery.com>
13885 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
13886 -Os in two more places.
13888 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13890 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
13891 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
13892 be sorted correctly at the moment because of a bug.
13894 2018-02-27 Mike FABIAN <mfabian@redhat.com>
13896 [BZ #22550] - es_ES locale (and other es_* locales): collation should
13897 treat ñ as a primary different character, sync the collation
13898 for Spanish with CLDR.
13899 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
13900 * localedata/Makefile: Add new test files.
13901 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
13902 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
13904 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
13905 * localedata/am_ET.UTF-8.in: New test file.
13906 * localedata/az_AZ.UTF-8.in: Likewise.
13907 * localedata/be_BY.UTF-8.in: Likewise.
13908 * localedata/ber_DZ.UTF-8.in: Likewise.
13909 * localedata/ber_MA.UTF-8.in: Likewise.
13910 * localedata/bg_BG.UTF-8.in: Likewise.
13911 * localedata/br_FR.UTF-8.in: Likewise.
13912 * localedata/cmn_TW.UTF-8.in: Likewise.
13913 * localedata/crh_UA.UTF-8.in: Likewise.
13914 * localedata/csb_PL.UTF-8.in: Likewise.
13915 * localedata/cv_RU.UTF-8.in: Likewise.
13916 * localedata/cy_GB.UTF-8.in: Likewise.
13917 * localedata/dz_BT.UTF-8.in: Likewise.
13918 * localedata/eo.UTF-8.in: Likewise.
13919 * localedata/es_ES.UTF-8.in: Likewise.
13920 * localedata/fa_IR.UTF-8.in: Likewise.
13921 * localedata/fi_FI.UTF-8.in: Likewise.
13922 * localedata/fil_PH.UTF-8.in: Likewise.
13923 * localedata/fur_IT.UTF-8.in: Likewise.
13924 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
13925 * localedata/ha_NG.UTF-8.in: Likewise.
13926 * localedata/ig_NG.UTF-8.in: Likewise.
13927 * localedata/ik_CA.UTF-8.in: Likewise.
13928 * localedata/kk_KZ.UTF-8.in: Likewise.
13929 * localedata/ku_TR.UTF-8.in: Likewise.
13930 * localedata/ky_KG.UTF-8.in: Likewise.
13931 * localedata/ln_CD.UTF-8.in: Likewise.
13932 * localedata/mi_NZ.UTF-8.in: Likewise.
13933 * localedata/ml_IN.UTF-8.in: Likewise.
13934 * localedata/mn_MN.UTF-8.in: Likewise.
13935 * localedata/mr_IN.UTF-8.in: Likewise.
13936 * localedata/mt_MT.UTF-8.in: Likewise.
13937 * localedata/nb_NO.UTF-8.in: Likewise.
13938 * localedata/om_KE.UTF-8.in: Likewise.
13939 * localedata/os_RU.UTF-8.in: Likewise.
13940 * localedata/ps_AF.UTF-8.in: Likewise.
13941 * localedata/ro_RO.UTF-8.in: Likewise.
13942 * localedata/ru_RU.UTF-8.in: Likewise.
13943 * localedata/sc_IT.UTF-8.in: Likewise.
13944 * localedata/se_NO.UTF-8.in: Likewise.
13945 * localedata/sq_AL.UTF-8.in: Likewise.
13946 * localedata/sv_SE.UTF-8.in: Likewise.
13947 * localedata/szl_PL.UTF-8.in: Likewise.
13948 * localedata/tg_TJ.UTF-8.in: Likewise.
13949 * localedata/tk_TM.UTF-8.in: Likewise.
13950 * localedata/tt_RU.UTF-8.in: Likewise.
13951 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
13952 * localedata/ug_CN.UTF-8.in: Likewise.
13953 * localedata/uz_UZ.UTF-8.in: Likewise.
13954 * localedata/vi_VN.UTF-8.in: Likewise.
13955 * localedata/yi_US.UTF-8.in: Likewise.
13956 * localedata/yo_NG.UTF-8.in: Likewise.
13957 * localedata/zh_CN.UTF-8.in: Likewise.
13958 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
13959 file and fix bugs in the collation.
13960 * localedata/locales/az_AZ: Likewise.
13961 * localedata/locales/be_BY: Likewise.
13962 * localedata/locales/ber_DZ: Likewise.
13963 * localedata/locales/ber_MA: Likewise.
13964 * localedata/locales/bg_BG: Likewise.
13965 * localedata/locales/br_FR: Likewise.
13966 * localedata/locales/br_FR@euro: Likewise.
13967 * localedata/locales/ca_ES: Likewise.
13968 * localedata/locales/cns11643_stroke: Likewise.
13969 * localedata/locales/crh_UA: Likewise.
13970 * localedata/locales/cs_CZ: Likewise.
13971 * localedata/locales/csb_PL: Likewise.
13972 * localedata/locales/cv_RU: Likewise.
13973 * localedata/locales/cy_GB: Likewise.
13974 * localedata/locales/da_DK: Likewise.
13975 * localedata/locales/dz_BT: Likewise.
13976 * localedata/locales/en_CA: Likewise.
13977 * localedata/locales/eo: Likewise.
13978 * localedata/locales/es_CU: Likewise.
13979 * localedata/locales/es_EC: Likewise.
13980 * localedata/locales/es_ES: Likewise.
13981 * localedata/locales/es_US: Likewise.
13982 * localedata/locales/et_EE: Likewise.
13983 * localedata/locales/fa_IR: Likewise.
13984 * localedata/locales/fi_FI: Likewise.
13985 * localedata/locales/fil_PH: Likewise.
13986 * localedata/locales/fur_IT: Likewise.
13987 * localedata/locales/gez_ER@abegede: Likewise.
13988 * localedata/locales/ha_NG: Likewise.
13989 * localedata/locales/hr_HR: Likewise.
13990 * localedata/locales/hsb_DE: Likewise.
13991 * localedata/locales/hu_HU: Likewise.
13992 * localedata/locales/ig_NG: Likewise.
13993 * localedata/locales/ik_CA: Likewise.
13994 * localedata/locales/is_IS: Likewise.
13995 * localedata/locales/iso14651_t1_pinyin: Likewise.
13996 * localedata/locales/kk_KZ: Likewise.
13997 * localedata/locales/ku_TR: Likewise.
13998 * localedata/locales/ky_KG: Likewise.
13999 * localedata/locales/ln_CD: Likewise.
14000 * localedata/locales/lt_LT: Likewise.
14001 * localedata/locales/lv_LV: Likewise.
14002 * localedata/locales/mi_NZ: Likewise.
14003 * localedata/locales/ml_IN: Likewise.
14004 * localedata/locales/mn_MN: Likewise.
14005 * localedata/locales/mr_IN: Likewise.
14006 * localedata/locales/mt_MT: Likewise.
14007 * localedata/locales/nb_NO: Likewise.
14008 * localedata/locales/om_KE: Likewise.
14009 * localedata/locales/os_RU: Likewise.
14010 * localedata/locales/pl_PL: Likewise.
14011 * localedata/locales/ps_AF: Likewise.
14012 * localedata/locales/ro_RO: Likewise.
14013 * localedata/locales/ru_RU: Likewise.
14014 * localedata/locales/ru_UA: Likewise.
14015 * localedata/locales/sc_IT: Likewise.
14016 * localedata/locales/se_NO: Likewise.
14017 * localedata/locales/si_LK: Likewise.
14018 * localedata/locales/sq_AL: Likewise.
14019 * localedata/locales/sv_FI: Likewise.
14020 * localedata/locales/sv_FI@euro: Likewise.
14021 * localedata/locales/sv_SE: Likewise.
14022 * localedata/locales/szl_PL: Likewise.
14023 * localedata/locales/tg_TJ: Likewise.
14024 * localedata/locales/ti_ER: Likewise.
14025 * localedata/locales/tk_TM: Likewise.
14026 * localedata/locales/tl_PH: Likewise.
14027 * localedata/locales/tr_TR: Likewise.
14028 * localedata/locales/tt_RU: Likewise.
14029 * localedata/locales/tt_RU@iqtelif: Likewise.
14030 * localedata/locales/ug_CN: Likewise.
14031 * localedata/locales/uk_UA: Likewise.
14032 * localedata/locales/uz_UZ: Likewise.
14033 * localedata/locales/uz_UZ@cyrillic: Likewise.
14034 * localedata/locales/vi_VN: Likewise.
14035 * localedata/locales/yi_US: Likewise.
14036 * localedata/locales/yo_NG: Likewise.
14038 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14040 * gen-locales.mk: Make test files which contain @ modifiers in their
14042 * localedata/gen-locale.sh: Likewise.
14044 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14046 * posix/tst-fnmatch.input: Fix results for range expressions
14048 * posix/tst-regexloc.c: Do not use a range expression for
14049 de_DE.ISO-8859-1 locale.
14051 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14053 * posix/bug-regex5.c: Fix test case because with the new
14054 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14055 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14058 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14060 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14061 downloaded from ISO, the collation order of @-. and space has changed.
14062 Therefore, this test file needed to be adapted.
14063 * localedata/fr_CA.UTF-8.in: Likewise.
14064 * localedata/fr_FR.UTF-8.in: Likewise.
14065 * localedata/uk_UA.UTF-8.in: Likewise.
14067 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14069 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14070 order of ȥ in the new iso14651_t1_common file.
14071 * localedata/pl_PL.UTF-8.in: Likewise.
14073 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14075 * localedata/locales/iso14651_t1_common: Add sections for various
14076 scripts to the iso14651_t1_common file.
14078 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14080 * localedata/locales/iso14651_t1_common: Use the code point of a
14081 character in the fourth collation level instead of IGNORE for all
14082 entries which have IGNORE on all 4 levels.
14084 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14086 * localedata/locales/iso14651_t1_common: Add some convenient collation
14087 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14088 rules similar to those in CLDR.
14090 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14092 * localedata/locales/iso14651_t1_common: The new version of this
14093 file downloaded from ISO contained several syntax errors which
14094 are fixed by this patch.
14096 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14098 * localedata/locales/iso14651_t1_common: replace all <U.....>
14099 with <U000.....> because glibc understands only 4 digit or 8 digit
14101 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14103 * localedata/locales/iso14651_t1_common: Necessary changes
14104 to make the file downloaded from ISO usable by glibc.
14106 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14109 * localedata/locales/iso14651_t1_common: Update file to
14110 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14112 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14114 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14115 of <nptl/pthreadP.h>
14116 (thread_attr_compare): Move function to...
14117 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14118 * sysdeps/nptl/timer_routines.h: ... new header.
14119 * sysdeps/mach/hurd/gai_misc.h: New file.
14121 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14123 * string/strcoll_l.c: Include <libc-diag.h>.
14124 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14125 declarations of seq1 and seq2.
14128 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14129 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14131 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14135 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14136 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14137 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14138 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14139 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14140 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14142 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14144 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14145 macros used in __ptrace_request.
14147 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14150 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14152 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14153 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14154 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14157 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14160 * ctype/ctype.c (tolower): Use libc_hidden_def.
14161 (toupper): Likewise.
14162 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14163 [!_ISOMAC] (toupper): Likewise.
14165 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14167 * localedata/Makefile: Remove --quiet argument when
14170 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14173 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14175 * localedata/locales/pt_PT (LC_TIME): likewise
14177 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14180 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14181 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14182 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14184 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14188 * nptl/Makefile (routines): Remove unregister-atfork.
14189 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14190 (fork_handler_alloc): Remove function.
14191 (fork_handlers, fork_handler_init): New variables.
14192 (__fork_lock): Rename to atfork_lock.
14193 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14194 to use a dynamic array to add/remove atfork handlers.
14195 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14196 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14197 Remove declaration.
14198 (fork_handler): Remove next, refcntr, and need_signal member.
14199 (__run_fork_handler_type): New enum.
14200 (__run_fork_handlers): New prototype.
14201 * nptl/register-atfork.c: Remove file.
14202 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14204 * sysdeps/nptl/nptl-signals.h: Move to ...
14205 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14207 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14208 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14209 unnecessary check for SIGTIMER.
14210 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14211 remove unnecessary removal of SIGTIMER.
14212 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14213 include-signals.h rename.
14214 * nptl/pthreadP.h: Likewise.
14215 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14216 __is_internal_signal instead of __nptl_is_internal_signal.
14218 2018-02-22 Andrew Waterman <andrew@sifive.com>
14221 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14222 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14223 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14224 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14226 2018-02-22 DJ Delorie <dj@delorie.com>
14228 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14230 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14232 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14233 do_misaligned, not misaligned8.
14235 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14237 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14238 Add memcpy_thunderx2.
14239 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14241 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14242 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14243 and IS_THUNDERX2PA checks.
14244 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14245 Use macro to set name appropriately.
14246 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14247 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14248 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14250 (IS_THUNDERX2): New macro.
14252 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14254 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14256 2018-02-21 Zack Weinberg <zackw@panix.com>
14258 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14259 Define here, unconditionally.
14260 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14261 * libio/libioP.h: Remove #if 0 blocks.
14262 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14263 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14264 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14266 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14267 Assume weak_alias is always defined.
14269 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14270 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14271 Remove #if 0 and #ifdef TODO blocks.
14272 Assume text_set_element is always defined.
14274 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14275 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14276 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14278 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14279 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14280 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14281 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14282 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14283 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14284 Reformat bit flags for _flags field to make occupancy clearer.
14286 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14287 Keep definitions consistent with those in libio/libio.h.
14289 * libio/libio.h (_IO_file_flags): Remove macro.
14290 All uses changed to _flags.
14292 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14293 (__HAVE_COLUMN, _IO_BE): Don't define.
14294 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14295 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14296 * libio/libioP.h (EOF): Don't define.
14297 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14298 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14299 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14300 testing _IO_UNIFIED_JUMPTABLES.
14302 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14303 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14304 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14305 (_IO_size_t): Delete; all uses changed to size_t.
14306 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14307 (_IO_off_t): Delete; all uses changed to off_t.
14308 (_IO_off64_t): Delete; all uses changed to off64_t.
14309 (_IO_pid_t): Delete; all uses changed to pid_t.
14310 (_IO_uid_t): Delete; all uses changed to uid_t.
14311 (_IO_wint_t): Delete; all uses changed to wint_t.
14312 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14313 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14314 (_IO_cookie_io_functions_t): Delete; all uses changed to
14315 cookie_io_functions_t.
14316 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14317 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14318 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14319 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14321 * libio/iofopncook.c: Remove unnecessary forward declarations.
14322 * libio/iolibio.h: Correct outdated commentary.
14323 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14324 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14325 Remove unnecessary casts.
14326 * stdio-common/getline.c: Use _IO_getdelim directly.
14327 Don't redefine ssize_t.
14328 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14329 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14330 Remove outdated comments.
14331 * stdio-common/vfscanf.c: Don't redefine va_list.
14333 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14334 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14335 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14336 which are always true, and __cplusplus, which is always false.
14338 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14342 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14343 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14344 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14345 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14347 [!_ISOMAC] (putc_unlocked): Likewise.
14348 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14349 define inline if [__USE_EXTERN_INLINES].
14350 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14355 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14356 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14357 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14358 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14359 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14361 * time/tzfile.c (__tzfile_read): Likewise.
14363 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14366 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14368 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14370 * io/fcntl.h: Fix a typo in a comment.
14372 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14375 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14376 define _DEFAULT_SOURCE.
14377 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14379 2018-02-21 Florian Weimer <fweimer@redhat.com>
14382 * elf/cache.c (save_cache): Call fsync on temporary file before
14384 (save_aux_cache): Call fdatasync on temporary file before renaming
14387 2018-02-21 Florian Weimer <fweimer@redhat.com>
14390 * include/caller.h: Remove file.
14391 * elf/dl-caller.c: Likewise.
14392 * elf/Makefile (dl-routines): Remove dl-caller.
14393 (shared-only-routines): Do not add dl-caller.
14394 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14396 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14398 (dl_open_worker): Do not call __check_caller.
14399 (_dl_open): Do not set caller_dl_open member.
14400 * elf/rtld.c (_rtld_global_ro): Do not initialize
14401 _dl_check_caller member.
14402 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14403 _dl_check_caller member.
14404 (_dl_check_caller): Remove declaration.
14405 * sysdeps/unix/sysv/linux/dl-execstack.c
14406 (_dl_make_stack_executable): Do not call __check_caller.
14408 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14410 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14411 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14413 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14415 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14418 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14421 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14422 of 199606L, 200112L, and 200809L.
14423 (_XOPEN_SOURCE): Document special values of 600 and 700.
14424 (_ISOC11_SOURCE): Document macro.
14425 (_ATFILE_SOURCE): Likewise.
14426 (_FORTIFY_SOURCE): Likewise.
14428 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14432 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14433 and define as weak alias of __ferror_unlocked. Use
14435 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14437 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14438 function if [__USE_EXTERN_INLINES].
14439 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14442 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14445 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14447 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14450 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14451 the GLIBC_2.1 version.
14453 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14456 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14457 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14458 intl/tst-gettext-de.po from po/de.po by removing the
14459 POT-Creation-Date line.
14460 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14462 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14465 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14467 * mach/Makefile (headers): Add mach/param.h.
14468 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14469 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14470 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14471 (__ptsname_r): Move implementation to...
14472 (__ptsname_internal): ... new function. Add filling the STP
14475 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14477 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14480 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14482 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14485 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14487 * nptl/Makefile (tst-mutex8-ENV): Delete.
14488 * nptl/tst-mutex8.c (check_type):
14489 Add runtime check if mutex will be elided.
14491 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14495 * manual/install.texi (Configuring and compiling): Describe
14496 passing CC and CFLAGS on configure command line, not as
14497 environment variables. Use @code markup on those variables.
14498 Specify what options go in CC and what go in CFLAGS. Note the
14499 requirement to compile with optimization.
14500 * INSTALL: Regenerated.
14503 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14504 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14505 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14506 __sigprocmask instead of sigprocmask.
14507 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14509 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14510 __sigsetjmp and sigprocmask.
14513 * include/argz.h (argz_next): Use libc_hidden_proto.
14514 (__argz_next): Likewise.
14515 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14516 (argz_next): Use libc_hidden_weak.
14519 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14521 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14525 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14527 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14531 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14532 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14533 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14534 (__feof_unlocked): New declaration, and inline function if
14535 [__USE_EXTERN_INLINES].
14536 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14537 instead of feof_unlocked.
14538 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14539 * nss/nsswitch.c (nss_parse_file): Likewise.
14540 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14542 * time/getdate.c (__getdate_r): Likewise.
14543 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14544 Define as macro to call __feof_unlocked.
14546 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14548 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14550 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14552 * math/Makefile: Remove mpexp.c and mplog.c
14553 * sysdeps/i386/fpu/mpexp.c: Delete file.
14554 * sysdeps/i386/fpu/mplog.c: Likewise.
14555 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14556 * sysdeps/ia64/fpu/mplog.c: Likewise.
14557 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14558 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14559 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14560 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14561 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14562 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14563 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14564 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14565 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14566 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14567 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14568 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14569 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14570 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14571 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14572 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14574 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14576 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14578 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14580 * sysdeps/sh/libm-test-ulps: Update.
14582 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14584 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14587 2018-02-12 Zack Weinberg <zackw@panix.com>
14590 * posix/sys/types.h: Don't include sys/sysmacros.h.
14591 * misc/sys/sysmacros.h: Remove the conditional deprecation
14592 warnings for the macros defined by this header.
14594 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14596 * manual/probes.texi: Remove slowexp probes.
14597 * math/Makefile: Remove slowexp.
14598 * sysdeps/generic/math_private.h (__slowexp): Remove.
14599 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14600 document error bounds.
14601 * sysdeps/i386/fpu/slowexp.c: Remove.
14602 * sysdeps/ia64/fpu/slowexp.c: Remove.
14603 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14604 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14605 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14606 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14607 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14608 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14609 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14610 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14611 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14612 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14613 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14615 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14618 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14619 * benchtests/pow-inputs: Update comment for slow path cases.
14620 * manual/probes.texi (slowpow_p10): Delete removed probe.
14621 (slowpow_p10): Likewise.
14622 * math/Makefile: Remove halfulp.c and slowpow.c.
14623 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14624 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14625 (__halfulp): Remove.
14626 (__slowpow): Remove.
14627 * sysdeps/i386/fpu/halfulp.c: Delete file.
14628 * sysdeps/i386/fpu/slowpow.c: Likewise.
14629 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14630 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14631 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14632 improve comments and add error analysis.
14633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14634 (power1): Remove function:
14635 (log1): Remove error argument, add error analysis.
14636 (my_log2): Remove function.
14637 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14638 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14639 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14640 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14641 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14642 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14643 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14644 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14645 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14646 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14647 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14648 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14649 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14650 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14652 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14654 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14655 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14657 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14660 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14661 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14662 and PTRACE_SETHBPREGS.
14664 2018-02-10 Zack Weinberg <zackw@panix.com>
14667 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14669 * malloc/tst-malloc-stats-cancellation.c: New test case.
14670 * malloc/Makefile: Add new test case.
14672 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14674 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14676 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14678 * math/Makefile (libm-narrow-fns): Add add.
14679 (libm-test-funcs-narrow): Likewise.
14680 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14681 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14682 * math/gen-auto-libm-tests.c (test_functions): Add add.
14683 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14684 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14685 (NARROW_ADD_TRIVIAL): Likewise.
14686 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14688 (__daddl): Likewise.
14689 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14691 (CFLAGS-nldbl-dadd.c): New variable.
14692 (CFLAGS-nldbl-fadd.c): Likewise.
14693 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14695 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14697 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14698 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14699 * math/auto-libm-test-in: Add tests of add.
14700 * math/auto-libm-test-out-narrow-add: New generated file.
14701 * math/libm-test-narrow-add.inc: New file.
14702 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14705 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14706 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14707 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14708 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14710 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14712 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14713 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14714 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14715 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14716 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14717 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14718 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14719 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14721 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14722 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14723 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14724 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14725 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14726 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14727 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14728 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14729 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14730 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14731 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14732 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14733 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14738 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14739 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14740 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14741 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14742 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14743 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14744 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14745 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14746 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14747 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14749 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14750 (f128-pairs): New variable.
14751 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14752 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14754 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14755 Also make tests add $(f128-loader-link) to gnulib-tests.
14757 2018-02-09 DJ Delorie <dj@redhat.com>
14760 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14761 64-bit ELF type for 64-bit ELF objects.
14763 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14765 * math/libm-test-driver.c (snan_tests_arg): New variable.
14766 * math/libm-test-support.h (snan_tests_arg): New declaration.
14767 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14769 * math/Makefile (test-type-pairs): New variable.
14770 (test-type-pairs-f64xf128-yes): Likewise.
14771 (tests): Add test-narrow-macros.
14772 (libm-test-funcs-narrow): New variable.
14773 (libm-test-c-narrow): Likewise.
14774 (generated): Add $(libm-test-c-narrow).
14775 (libm-tests-base-narrow): New variable.
14776 (libm-tests-narrow): Likewise.
14777 (libm-tests): Add $(libm-tests-narrow).
14778 (libm-tests-for-type): Handle $(libm-tests-narrow).
14779 (libm-test-c-narrow-obj): New variable.
14780 ($(libm-test-c-narrow-obj)): New rule.
14781 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14782 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14783 $(o-iterator) to set dependencies and CFLAGS.
14784 * math/gen-auto-libm-tests.c: Document use for narrowing
14786 (output_for_one_input_case): Take argument NARROW.
14787 (generate_output): Likewise. Update call to
14788 output_for_one_input_case.
14789 (main): Take --narrow option. Update call to generate_output.
14790 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14791 (apply_lit): Update call to _apply_lit.
14792 (apply_arglit): New function.
14793 (parse_args): Handle "a" arguments.
14794 (parse_auto_input): Handle format names using ":".
14795 * math/README.libm-test: Document "a" parameter type.
14796 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14797 (ARG_TYPE_TRUE_MIN): Likewise.
14798 (ARG_TYPE_MAX): Likwise.
14799 (ARG_MIN_EXP): Likewise.
14800 (ARG_MAX_EXP): Likewise.
14801 (ARG_MANT_DIG): Likewise.
14802 (TEST_COND_arg_ibm128): Likewise.
14803 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14804 (TEST_COND_arg_fmt): New macro.
14805 (init_max_error): Update prototype.
14806 * math/libm-test-support.c (test_ibm128): New variable.
14807 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14808 instead of using [TEST_COND_ibm128] conditional.
14809 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14810 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14811 [TEST_NARROW] (TEST_MSG): New definition.
14812 (arg_plus_zero): New macro.
14813 (arg_minus_zero): Likewise.
14814 (arg_plus_infty): Likewise.
14815 (arg_minus_infty): Likewise.
14816 (arg_qnan_value_pl): Likewise.
14817 (arg_qnan_value): Likewise.
14818 (arg_snan_value_pl): Likewise.
14819 (arg_snan_value): Likewise.
14820 (arg_max_value): Likewise.
14821 (arg_min_value): Likewise.
14822 (arg_min_subnorm_value): Likewise.
14823 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14824 (RUN_TEST_LOOP_aa_f): New macro.
14825 (TEST_SUFF): New macro.
14826 (TEST_SUFF_STR): Likewise.
14827 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14828 (TEST_COND_any_ibm128): New macro.
14829 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14830 this_func. Update call to init_max_error.
14831 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14832 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14833 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14834 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14835 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14836 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14837 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14838 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14839 * math/test-math-vector.h (TEST_NARROW): Likewise.
14840 * math/test-arg-double.h: New file.
14841 * math/test-arg-float128.h: Likewise.
14842 * math/test-arg-float32x.h: Likewise.
14843 * math/test-arg-float64.h: Likewise.
14844 * math/test-arg-float64x.h: Likewise.
14845 * math/test-arg-ldouble.h: Likewise.
14846 * math/test-math-narrow.h: Likewise.
14847 * math/test-narrow-macros.c: Likewise.
14848 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
14849 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
14850 test-narrow-macros-ldbl-64.
14851 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
14853 * math/bits/mathcalls-narrow.h: New file.
14854 * include/bits/mathcalls-narrow.h: Likewise.
14855 * math/math-narrow.h: Likewise.
14856 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
14857 (__MATHCALL_NARROW_ARGS_2): Likewise.
14858 (__MATHCALL_NARROW_ARGS_3): Likewise.
14859 (__MATHCALL_NARROW_NORMAL): Likewise.
14860 (__MATHCALL_NARROW_REDIR): Likewise.
14861 (__MATHCALL_NARROW): Likewise.
14862 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
14863 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
14865 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
14866 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
14867 (libm-narrow-fns): New variable.
14868 (libm-narrow-types-basic): Likewise.
14869 (libm-narrow-types-ldouble-yes): Likewise.
14870 (libm-narrow-types-float128-yes): Likewise.
14871 (libm-narrow-types-float128-alias-yes): Likewise.
14872 (libm-narrow-types): Likewise.
14873 (libm-routines): Add narrowing functions.
14874 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
14875 (libc_feholdexcept_setroundf128): New macro.
14876 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
14877 * sysdeps/ieee754/float128/float128_private.h: Include
14878 <math/math-narrow.h>.
14879 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
14880 Undefine and redefine.
14881 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
14882 (libm_alias_float_ldouble): Undefine and redefine.
14883 (libm_alias_double_ldouble): Likewise.
14885 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
14887 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
14889 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
14892 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
14894 * manual/creature.texi: Convert references to gcc.info to gcc.
14895 * manual/stdio.texi: Likewise.
14896 * manual/string.texi: Likewise.
14898 2018-02-07 Joseph Myers <joseph@codesourcery.com>
14901 * posix/bits/types.h (__int_least8_t): New typedef.
14902 (__uint_least8_t): Likewise.
14903 (__int_least16_t): Likewise.
14904 (__uint_least16_t): Likewise.
14905 (__int_least32_t): Likewise.
14906 (__uint_least32_t): Likewise.
14907 (__int_least64_t): Likewise.
14908 (__uint_least64_t): Likewise.
14909 * sysdeps/generic/stdint.h (int_least8_t): Define using
14911 (int_least16_t): Define using __int_least16_t.
14912 (int_least32_t): Define using __int_least32_t.
14913 (int_least64_t): Define using __int_least64_t.
14914 (uint_least8_t): Define using __uint_least8_t.
14915 (uint_least16_t): Define using __uint_least16_t.
14916 (uint_least32_t): Define using __uint_least32_t.
14917 (uint_least64_t): Define using __uint_least64_t.
14918 * wcsmbs/uchar.h: Include <bits/types.h>.
14919 (char16_t): Define using __uint_least16_t conditional only on
14921 (char32_t): Define using __uint_least32_t conditional only on
14923 * wcsmbs/test-char-types.c: New file.
14924 * wcsmbs/Makefile (tests): Add test-char-types.
14926 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
14929 2018-02-07 Zack Weinberg <zackw@panix.com>
14931 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
14932 Delete all contents except for definitions of _G_HAVE_MMAP and
14933 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
14934 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
14935 sysdeps/unix/sysv/linux/_G_config.h. Make same content
14938 * libio/libio.h: Don't include bits/_G_config.h here.
14939 Include stddef.h with __need_wchar_t defined. Include
14940 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
14941 Define _IO_iconv_t here, directly.
14942 Don't define _IO_HAVE_ST_BLKSIZE.
14943 * libio/libioP.h: Include _G_config.h here. Move include of
14944 shlib-compat.h up with rest of includes. Simplify conditionals
14945 controlling definition of _IO_JUMPS_OFFSET.
14947 * csu/init.c: Remove always-true #if around entire file.
14948 Don't include stdio.h. Set _IO_stdin_used to hardwired
14949 constant 0x20001, and update commentary.
14950 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
14951 Replace all uses of _G_va_list with __gnuc_va_list.
14952 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
14953 instead of #if _IO_HAVE_ST_BLKSIZE.
14954 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
14955 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
14958 * libio/bits/libio.h: Move back to libio/libio.h and adjust
14959 multiple-include guard to match.
14960 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
14962 Remove preprocessor conditionals that are always true and/or
14963 redundant to other preprocessor conditionals in the same nest.
14964 Include shlib-compat.h unconditionally.
14965 Error out if _LIBC is not defined, or if _ISOMAC is defined,
14966 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
14967 defined after including stdio.h.
14968 Use __BEGIN_DECLS/__END_DECLS.
14970 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
14971 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
14972 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
14974 2018-02-07 Zack Weinberg <zackw@panix.com>
14976 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
14977 New single-type headers split from _G_config.h.
14978 * libio/bits/types/cookie_io_functions_t.h
14979 * libio/bits/types/struct_FILE.h
14980 New single-type headers split from libio.h.
14982 * libio/Makefile: Install the above new headers. Don't install
14983 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
14985 * libio/_G_config.h, libio/libio.h: Delete file.
14987 * libio/bits/libio.h: Remove improper-inclusion guard.
14988 Include stdio.h and don't repeat anything that it does.
14989 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
14990 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
14991 __io_read_fn as cookie_read_function_t,
14992 __io_write_fn as cookie_write_function_t,
14993 __io_seek_fn as cookie_seek_function_t,
14994 __io_close_fn as cookie_close_function_t,
14995 and _IO_cookie_io_functions_t as cookie_io_functions_t.
14996 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
14997 here, in the "compatibility defines" section. Remove an #if 0
14998 block. Use the "body" macros from bits/types/struct_FILE.h to
14999 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15000 and _IO_ferror_unlocked.
15001 Move prototypes of __uflow and __overflow...
15003 * libio/stdio.h: ...here. Don't include bits/libio.h.
15004 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15005 directly from stdarg.h. Include bits/types/__fpos_t.h,
15006 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15007 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15008 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15009 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15010 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15011 __ssize_t, not _IO_ssize_t. Unconditionally define
15012 BUFSIZ as 8192 and EOF as (-1).
15014 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15015 macros from bits/types/struct_FILE.h instead of _IO_* macros
15016 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15017 instead of _IO_ssize_t.
15018 * libio/bits/stdio2.h: Similarly.
15020 * libio/iolibio.h: Add multiple-include guard.
15021 Include bits/libio.h after stdio.h.
15022 * libio/libioP.h: Add multiple-include guard.
15023 Include stdio.h and bits/libio.h before iolibio.h.
15025 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15026 * include/bits/types/cookie_io_functions_t.h
15027 * include/bits/types/struct_FILE.h: New wrappers.
15029 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15030 Get definitions of _G_fpos_t and _G_fpos64_t from
15031 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15032 respectively. Remove improper-inclusion guards.
15034 * conform/data/stdio.h-data: Update expectations of va_list.
15035 * scripts/check-installed-headers.sh: Remove special case for
15036 libio.h and _G_config.h.
15038 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15042 * include/sys/sysmacros.h [!_ISOMAC]
15043 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15044 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15045 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15046 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15048 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15049 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15051 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15052 Undefine and redefine to add use __gnu_dev_ prefix.
15053 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15055 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15056 and define as hidden inline function.
15057 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15059 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15061 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15062 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15063 (gnu_dev_minor): Likewise.
15064 (gnu_dev_makedev): Likewise.
15065 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15067 * posix/wordexp.c (exec_comm_child): Likewise.
15068 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15069 instead of minor and __gnu_dev_major instead of major.
15070 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15071 __gnu_dev_major instead of major.
15072 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15073 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15074 instead of gnu_dev_minor.
15075 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15076 (SLAVE_P): Likewise.
15077 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15078 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15082 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15084 * locale/weightwc.h (findidx): Likewise.
15086 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15088 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15089 (slowlog_inexact): Likewise
15090 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15091 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15093 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15096 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15097 missing second underscore to parameter name.
15099 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15105 * bits/byteswap.h: Update file comment. Do not include
15106 <bits/byteswap-16.h>.
15107 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15109 (__bswap_16): Define as inline function.
15110 (__bswap_constant_32): Reformat definition.
15111 (__bswap_32): Always define as inline function, not macro, using
15112 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15113 otherwise __bswap_constant_32.
15114 (__bswap_constant_64): Reformat definition. Do not use
15115 __extension__ here.
15116 (__bswap_64): Always define as inline function, not macro. Use
15117 __extension__ on function definition. Use __builtin_bswap64 if
15118 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15119 * string/test-endian-file-scope.c: New file.
15120 * string/test-endian-sign-conversion.c: Likewise.
15121 * string/Makefile (headers): Remove bits/byteswap-16.h.
15122 (tests): Add test-endian-file-scope and
15123 test-endian-sign-conversion.
15124 (CFLAGS-test-endian-sign-conversion.c): New variable.
15125 * bits/byteswap-16.h: Remove file.
15126 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15127 * sysdeps/ia64/bits/byteswap.h: Likewise.
15128 * sysdeps/m68k/bits/byteswap.h: Likewise.
15129 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15130 * sysdeps/s390/bits/byteswap.h: Likewise.
15131 * sysdeps/tile/bits/byteswap.h: Likewise.
15132 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15133 * sysdeps/x86/bits/byteswap.h: Likewise.
15136 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15137 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15138 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15139 199901L] (__restrict): Define to restrict.
15142 * string/testcopy.c: Include <support/support.h>. Do not include
15143 <malloc.h>. Use <support/test-driver.c>.
15144 (main): Rename to do_test. Make static. Use xmalloc instead of
15148 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15149 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15150 (SSIZE_MAX): Define to INT_MAX.
15151 * posix/test-ssize-max.c: New file.
15152 * posix/Makefile (tests): Add test-ssize-max.
15155 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15156 <support/support.h>. Do not include <malloc.h>.
15157 (query_auxv): Use xmalloc instead of malloc.
15160 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15161 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15164 2018-02-06 Florian Weimer <fweimer@redhat.com>
15167 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15168 Use scratch_buffer instead of extend_alloca.
15170 2018-02-06 Zack Weinberg <zackw@panix.com>
15172 * libio/stdio.h: Don't define getc or putc as macros.
15173 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15174 not _IO_getc and _IO_putc.
15176 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15177 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15179 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15181 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15182 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15184 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15187 * elf/elf.h (NT_PRFPREG): New macro.
15188 (NT_S390_VXRS_LOW): Likewise.
15189 (NT_S390_VXRS_HIGH): Likewise.
15190 (NT_S390_GS_CB): Likewise.
15191 (NT_S390_GS_BC): Likewise.
15192 (NT_S390_RI_CB): Likewise.
15194 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15195 (MAP_SYNC): New macro.
15196 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15198 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15199 (MAP_SYNC): Likewise.
15200 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15201 (MAP_SYNC): Likewise.
15202 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15203 (MAP_SYNC): Likewise.
15204 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15205 (MAP_SYNC): Likewise.
15206 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15207 (MAP_SYNC): Likewise.
15208 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15209 (MAP_SYNC): Likewise.
15210 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15212 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15215 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15216 (MAP_SHARED_VALIDATE): New macro.
15217 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15218 (MAP_SHARED_VALIDATE): Likewise.
15220 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15222 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15223 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15224 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15226 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15228 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15229 (DT_NUM): Updated to 35.
15231 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15233 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15234 __builtin_expect with __glibc_likely and __glibc_unlikely.
15235 (elf_machine_rela): Likewise.
15236 (elf_machine_lazy_rel): Likewise.
15238 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15241 __builtin_expect with __glibc_likely and __glibc_unlikely.
15242 (elf_machine_lazy_rel): Likewise.
15244 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15247 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15249 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15251 2018-02-05 Andreas Schwab <schwab@suse.de>
15254 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15257 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15259 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15260 not check against PTHREAD_STACK_MIN.
15262 2018-02-02 Sean McKean <smckean83@gmail.com>
15265 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15267 2018-02-02 Florian Weimer <fweimer@redhat.com>
15270 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15271 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15272 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15273 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15274 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15275 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15276 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15277 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15278 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15279 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15280 * misc/tst-preadvwritev2.c (do_test): Call it.
15281 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15283 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15285 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15287 * benchtests/bench-memcmp.c: Print json instead of plain text.
15289 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15292 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15294 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15296 (s390_sthyi): New syscall.
15298 * sysdeps/generic/ldbl-classify-compat.h: New file.
15299 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15300 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15301 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15302 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15303 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15304 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15305 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15306 <ldbl-classify-compat.h>.
15307 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15308 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15309 <ldbl-classify-compat.h>.
15310 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15311 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15312 <ldbl-classify-compat.h>.
15313 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15314 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15315 <ldbl-classify-compat.h>.
15316 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15317 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15318 <ldbl-classify-compat.h>.
15319 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15321 <ldbl-classify-compat.h>.
15322 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15323 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15324 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15325 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15326 * sysdeps/microblaze/math_private.h: Likewise.
15327 * sysdeps/nios2/math_private.h: Likewise.
15328 * sysdeps/sh/math_private.h: Likewise.
15330 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15331 * sysdeps/m68k/coldfire/math_private.h: ... here.
15332 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15333 * sysdeps/tile/math_private.h: Likewise.
15334 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15336 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15339 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15341 (libc_fetestexcept): Likewise.
15342 (libc_feupdateenv_test): Likewise.
15343 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15344 (libc_fetestexcept): Likewise.
15345 (libc_feupdateenv_test): Likewise.
15346 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15347 (libc_fetestexcept): Likewise.
15348 (libc_feupdateenv_test): Likewise.
15349 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15350 (libc_fetestexcept): Likewise.
15351 (libc_feupdateenv_test): Likewise.
15353 * sysdeps/generic/math_private.h
15354 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15355 New inline function.
15356 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15359 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15360 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15361 * sysdeps/generic/math_private.h
15362 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15364 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15366 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15368 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15370 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15372 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15374 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15375 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15376 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15377 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15378 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15379 (__fegetenv): Likewise.
15380 (fesetenv): Likewise.
15381 (__fesetenv): Likewise.
15382 (feupdateenv): Likewise.
15383 (__feupdateenv): Likewise.
15384 (fegetround): Likewise.
15385 (__fegetround): Likewise.
15386 (fesetround): Likewise.
15387 (__fesetround): Likewise.
15389 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15390 (feraiseexcept): New macro.
15391 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15392 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15394 (__feraiseexcept): Likewise.
15395 (feclearexcept): Likewise.
15396 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15397 (__feraiseexcept): Likewise.
15398 (feclearexcept): Likewise.
15399 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15400 (__feraiseexcept): Likewise.
15401 (feclearexcept): Likewise.
15402 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15403 (__feraiseexcept): Likewise.
15404 (feclearexcept): Likewise.
15405 (fetestexcept): Likewise.
15407 * sysdeps/m68k/coldfire/math-tests.h: New file.
15409 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15410 * sysdeps/m68k/bits/fenv.h: ... here.
15411 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15413 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15415 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15417 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15419 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15421 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15423 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15424 (__FE_UNDEFINED): New enum constant.
15425 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15427 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15429 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15431 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15432 to match generic bits/fenv.h.
15433 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15436 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15438 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15439 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15440 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15441 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15443 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15444 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15445 Joseph Myers <joseph@codesourcery.com>
15448 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15449 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15450 computation using c.
15451 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15452 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15453 computation using c.
15455 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15457 * version.h (RELEASE): Set to "development".
15458 (VERSION): Set to "2.27.9000".
15459 * NEWS (2.28): New section.
15461 * version.h (RELEASE): Set to "stable".
15462 (VERSION): Set to "2.27".
15463 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15465 * NEWS: Add the list of bugs fixed in 2.27.
15467 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15469 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15470 against PTHREAD_STACK_MIN.
15472 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15474 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15476 (Rafal Luzynski, Andreas Schwab): Update.
15478 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15481 * NEWS: List the languages which actually use the alternative
15482 months feature in this release. Also explain that "alt_mon" and
15483 "ab_alt_mon" are optional.
15485 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15488 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15490 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15492 * manual/install.texi (Tools for Compilation): Update the newest
15493 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15494 * INSTALL: Regenerated.
15496 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15498 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15499 instead of __builtin_expect.
15501 2018-01-30 Florian Weimer <fweimer@redhat.com>
15503 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15505 * nss/tst-nss-getpwent.c (do_test): Likewise.
15507 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15510 * localedata/locales/hr_HR (mon): Rename to...
15512 (mon): Import from CLDR (genitive case).
15513 (d_t_fmt): Update the comment.
15515 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15517 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15518 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15519 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15521 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15523 * mach/Versions: Fix version when __mach_host_self_ was added.
15524 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15525 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15526 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15527 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15528 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15529 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15530 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15531 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15532 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15533 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15534 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15535 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15536 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15537 || to respect codestyle.
15538 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15539 (do_test_bz20181): Rename accordingly.
15540 * malloc/malloc.c: Include <assert.h>.
15541 (assert): Do not define.
15542 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15543 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15544 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15545 * sysdeps/mach/hurd/hp-timing.h: New file.
15546 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15548 2018-01-29 Darius Rad <darius@bluespec.com>
15550 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15552 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15554 * sysdeps/init_array/crti.S (.section .init_array): Add
15555 PREINIT_FUNCTION when defined.
15556 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15557 * config.h.in: Regenerate.
15558 * manual/platform.texi: Add RISC-V documenation for
15559 __riscv_flush_icache.
15560 * sysdeps/riscv/__longjmp.S: New file.
15561 * sysdeps/riscv/backtrace.c: Likewise.
15562 * sysdeps/riscv/bits/endian.h: Likewise.
15563 * sysdeps/riscv/bits/setjmp.h: Likewise.
15564 * sysdeps/riscv/bits/wordsize.h: Likewise.
15565 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15566 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15567 * sysdeps/riscv/dl-trampoline.S: Likewise.
15568 * sysdeps/riscv/gccframe.h: Likewise.
15569 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15570 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15571 * sysdeps/riscv/machine-gmon.h: Likewise.
15572 * sysdeps/riscv/memusage.h: Likewise.
15573 * sysdeps/riscv/setjmp.S: Likewise.
15574 * sysdeps/riscv/sys/asm.h: Likewise.
15575 * sysdeps/riscv/tls-macros.h: Likewise.
15576 * sysdeps/riscv/dl-tls.h: New file.
15577 * sysdeps/riscv/libc-tls.c: Likewise.
15578 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15579 * sysdeps/riscv/nptl/tls.h: Likewise.
15580 * sysdeps/riscv/stackinfo.h: Likewise.
15581 * sysdeps/riscv/bits/fenv.h: New file.
15582 * sysdeps/riscv/e_sqrtl.c: Likewise.
15583 * sysdeps/riscv/fpu_control.h: Likewise.
15584 * sysdeps/riscv/math-tests.h: Likewise.
15585 * sysdeps/riscv/nofpu/Implies: Likewise.
15586 * sysdeps/riscv/sfp-machine.h: Likewise.
15587 * sysdeps/riscv/tininess.h: Likewise.
15588 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15589 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15590 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15591 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15592 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15593 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15594 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15595 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15596 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15597 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15598 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15599 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15600 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15601 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15602 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15603 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15604 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15605 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15606 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15607 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15608 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15609 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15610 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15611 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15612 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15613 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15614 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15615 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15616 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15617 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15618 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15619 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15620 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15621 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15622 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15623 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15624 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15625 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15626 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15627 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15628 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15629 * sysdeps/riscv/rvf/math_private.h: Likewise.
15630 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15631 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15632 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15633 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15634 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15635 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15636 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15637 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15638 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15639 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15640 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15641 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15642 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15643 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15644 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15645 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15646 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15647 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15648 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15649 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15650 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15651 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15652 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15653 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15654 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15655 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15656 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15657 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15658 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15659 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15660 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15661 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15662 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15663 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15664 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15665 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15666 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15667 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15668 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15669 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15670 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15671 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15672 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15673 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15674 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15675 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15676 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15677 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15678 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15679 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15680 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15681 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15682 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15683 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15684 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15685 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15686 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15687 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15688 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15689 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15690 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15691 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15692 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15693 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15694 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15695 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15696 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15697 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15698 * sysdeps/riscv/Implies: New file.
15699 * sysdeps/riscv/Makefile: Likewise.
15700 * sysdeps/riscv/configure: Likewise.
15701 * sysdeps/riscv/configure.ac: Likewise.
15702 * sysdeps/riscv/nptl/Makefile: Likewise.
15703 * sysdeps/riscv/preconfigure: Likewise.
15704 * sysdeps/riscv/rv64/Implies-after: Likewise.
15705 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15706 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15707 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15708 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15709 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15710 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15711 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15712 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15713 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15714 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15715 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15716 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15717 (Config): Likewise.
15719 2018-01-29 Florian Weimer <fweimer@redhat.com>
15722 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15723 libnsl_hidden_proto.
15724 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15725 libnsl_hidden_proto.
15726 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15727 * nis/Makefile (libnsl-routines): Add nss-default only for
15728 build-obsolete-nsl.
15729 * nis/nis_defaults.c (__nis_default_ttl): Add
15730 libnsl_hidden_nolink_def.
15731 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15733 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15734 * nis/ypclnt.c (yp_maplist): Likewise.
15736 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15738 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15739 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15741 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15743 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15744 clean -dxfq for git updates when replacing sources.
15746 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15747 --disable-libcilkrts unconditionally, not just for the final GCC
15750 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15753 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15756 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15759 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15762 * localedata/locales/be_BY (mon): Rename to...
15763 (alt_mon): This, then synchronize with CLDR (nominative case).
15764 (abmon): Rename to...
15765 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15766 (mon): Import from CLDR (genitive case).
15768 * localedata/locales/be_BY@latin (mon): Rename to...
15770 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15772 * localedata/locales/be_BY@latin (lang_name): Reworded to
15773 "biełaruskaja mova".
15775 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15778 * localedata/locales/el_CY (mon): Renamed to...
15780 (mon): Import from CLDR (genitive case).
15781 * localedata/locales/el_GR: Likewise.
15783 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15786 * localedata/locales/ru_RU (mon): Rename to...
15788 (abmon): Rename to...
15789 (ab_alt_mon): This.
15790 (mon): Import from CLDR (genitive case).
15791 (abmon): Copy from the old content except the 5th month which is
15792 now in the genitive case, even when abbreviated.
15793 * localedata/locales/ru_UA: Likewise.
15794 * time/tst-strptime.c (day_tests): Add an actual example of
15795 a difference between %b and %Ob in Russian.
15797 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15799 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15800 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15802 * resolv/res-close.c: Include <stdlib.h>.
15803 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15804 <sys/wait.h>, <time.h>, <sys/uio.h>.
15805 (NOT_CANCEL_H): Add inclusion guard.
15806 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15807 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15808 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15810 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15811 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15812 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15814 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15815 timer_ptr2id to cast struct timer_node * to void *.
15816 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15817 --disable-libcilkrts to gcc configure.
15818 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15819 and make them the default for now.
15820 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15821 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15822 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15823 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15824 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15826 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15827 __task_terminate would ever return successfully.
15828 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15830 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15831 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15832 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15833 critical section to make code simpler and avoid warning.
15834 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15835 critical section to make code simpler and avoid warning.
15836 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15837 const char * instead of char *.
15838 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15839 __hurd_file_name_split, hurd_file_name_split,
15840 __hurd_directory_name_split, hurd_directory_name_split,
15841 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15842 hurd_file_name_path_lookup): Make lookup function parameter take a
15843 const char *name instead of char *name.
15844 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
15845 __hurd_directory_name_split): Likewise.
15846 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
15847 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
15848 * sysdeps/mach/hurd/check_native.c: New file.
15849 * sysdeps/mach/hurd/check_pf.c: New file.
15850 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
15851 (__freeifaddrs): Define macro to freeifaddrs.
15852 * sysdeps/mach/hurd/libhurduser.abilist: New file.
15853 * sysdeps/mach/libmachuser.abilist: New file.
15854 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
15855 (do_test_bz20181): Rename accordingly.
15856 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
15857 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
15859 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
15860 version only if __USE_EXTERN_INLINES is defined.
15861 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
15862 __hurd_sockfail): Likewise.
15863 (_hurd_fd_get): Always declare functions, and provide inline versions
15864 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
15865 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
15866 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
15867 _hurd_port_set): Always declare functions, and provide inline versions
15868 only if __USE_EXTERN_INLINES and _LIBC are defined and
15870 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
15871 _hurd_critical_section_unlock): Likewise.
15872 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
15873 * __hurd_threadvar_location): Likewise.
15874 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
15875 _hurd_userlink_clear): Likewise.
15876 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
15877 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
15878 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
15879 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
15880 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
15881 __spin_lock_locked): Likewise.
15882 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
15883 __spin_lock_locked): Likewise.
15884 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
15885 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
15886 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
15887 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
15888 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
15889 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
15890 _POSIX_NO_TRUNC): Define to 0.
15891 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
15892 check size against PTHREAD_STACK_MIN.
15893 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
15894 IS_IN(libpthread)]: Include <sigsetops.h>.
15895 * mach/Makefile (user-interfaces): Add mach/gnumach.
15896 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
15897 * sysdeps/mach/configure (mach_interface_list): Regenerate.
15898 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
15899 instead of invalid -1.
15900 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
15901 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
15902 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
15905 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
15907 * hurd/fcntl-internal.h: New file.
15909 2018-01-27 James Clarke <jrtc27@jrtc27.com>
15911 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15913 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15915 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
15918 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
15919 Build only shared objects.
15921 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15923 * README: Update for hppa.
15925 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15927 * sysdeps/sparc/fpu/libm-test-ulps: Update
15928 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
15930 2018-01-26 Carlos O'Donell <carlos@redhat.com>
15934 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15937 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15938 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15939 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15940 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15943 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15946 * bits/types/__cancel_jmp_buf_tag.h: New file.
15947 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15948 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15949 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15950 * nptl/Makefile (headers): Add
15951 bits/types/__cancel_jmp_buf_tag.h.
15952 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15953 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15954 * sysdeps/nptl/pthread.h: Include
15955 <bits/types/__cancel_jmp_buf_tag.h>.
15956 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15958 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15960 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
15963 * localedata/locales/uk_UA (mon): Renamed to...
15965 (alt_digits): "0" removed and then renamed to...
15967 (date_fmt): Definition changed not to use the alternative
15970 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
15972 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
15973 FLAG_RISCV_FLOAT_ABI_DOUBLE.
15974 * elf/elf.h (EF_RISCV_RVC): New define.
15975 (EF_RISCV_FLOAT_ABI): Likewise.
15976 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
15977 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
15978 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15979 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
15980 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
15982 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
15984 2018-01-25 Andreas Schwab <schwab@suse.de>
15986 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
15988 * sysdeps/gnu/configure: Regenerate.
15989 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15990 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15992 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15993 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15994 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
15995 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15996 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15998 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16000 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16001 URL, and run autoconf, make it the default for now.
16003 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16005 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16006 soft-float ColdFire configuration.
16008 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16009 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16010 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16012 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16015 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16017 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16019 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16022 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16023 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16024 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16027 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16030 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16031 Rename to __reserved and add comment.
16032 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16033 Rename to __reserved.
16035 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16037 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16038 i686-gnu configurations.
16039 (Context.run_builds): Include mig, gnumach and hurd in components
16041 (Context.checkout): Add mig, gnumach and hurd to components.
16042 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16044 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16045 (Config.build): Install gnumach headers, build mig and install
16046 hurd headers for 'gnu' OS.
16047 (Config.install_gnumach_headers): New function.
16048 (Config.install_hurd_headers): Likewise.
16049 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16050 when building for 'gnu' OS.
16052 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16054 * manual/tunables.texi (Hardware Capability Tunables): Fix
16057 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16059 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16060 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16061 (ALTMON_11, ALTMON_12): Improve documentation.
16062 * manual/time.texi (strftime): Likewise.
16064 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16067 * localedata/locales/pl_PL: Alternative month names added,
16068 primary month names are genitive now.
16069 * time/tst-strptime.c (day_tests): Actually use a genitive case
16070 of a month name in Polish language.
16072 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16075 * manual/locale.texi: Document ALTMON_1..12 constants for
16076 nl_langinfo. Specify when to use ALTMON instead of MON.
16077 * manual/time.texi (strftime, strptime): Document GNU extension
16078 permitting O modifier with %B and %b. Specify when to use
16081 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16084 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16085 names, define them as the same as abbreviated month names explicitly.
16086 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16087 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16088 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16089 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16090 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16091 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16092 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16093 _NL_WABALTMON_12): New enum constants.
16094 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16095 wab_alt_mon, and ab_alt_mon_defined members.
16096 (time_output): Output ab_alt_mon and wab_alt_mon members.
16097 (time_read): Read them, initialize them as copies of abmon and wabmon
16098 respectively if they are missing, initialize ab_alt_mon_defined.
16099 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16100 * locale/programs/locfile-kw.h: Regenerate.
16101 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16102 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16104 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16105 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16106 (__strftime_internal): Handle %Ob and %Oh formats.
16107 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16108 (__strptime_internal): Handle %Ob and %Oh formats.
16109 * time/tst-strptime.c (day_tests): Add more tests to parse different
16110 forms of month names including the new %Ob format specifier.
16112 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16115 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16116 define them as the same as primary full month names explicitly.
16117 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16118 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16119 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16120 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16121 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16122 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16123 _NL_WALTMON_12): New enum constants.
16124 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16125 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16127 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16128 walt_mon, and alt_mon_defined members.
16129 (time_output): Output alt_mon and walt_mon members.
16130 (time_read): Read them, initialize them as copies of mon and wmon
16131 respectively if they are missing, initialize alt_mon_defined.
16132 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16133 * locale/programs/locfile-kw.h: Regenerate.
16134 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16135 * localedata/tst-langinfo.c (map): Add tests for the new constants
16136 ALTMON_1 .. ALTMON_12.
16137 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16139 * time/strftime_l.c (f_altmonth): New macro.
16140 (__strftime_internal): Handle %OB format.
16141 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16142 (__strptime_internal): Handle %OB format.
16143 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16144 of month names including the new %OB format specifier.
16146 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16149 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16150 from ABORT_TRANSACTION.
16151 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16152 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16153 ABORT_TRANSACTION_IMPL): Likewise.
16154 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16155 Linux code, but remove the code that aborts transactions.
16157 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16159 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16161 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16163 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16164 in date: "2004-14-09" should be "2004-09-14".
16165 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16166 "2003-15-09" should be "2003-09-15".
16168 2018-01-18 Arjun Shankar <arjun@redhat.com>
16174 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16176 (_int_memalign): check for integer overflow before calling
16178 * malloc/tst-malloc-too-large.c: New test.
16179 * malloc/Makefile: Add tst-malloc-too-large.
16181 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16183 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16184 in date: "2017-24-07" should be "2017-07-24".
16185 * localedata/locales/mai_IN: Likewise.
16186 * localedata/locales/mai_NP: Likewise.
16188 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16190 * po/ru.po: Update translations.
16192 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16195 * sysdeps/hppa/backtrace.c: New file.
16197 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16200 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16201 align La_x86_64_retval to VEC_SIZE.
16203 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16205 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16206 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16208 2018-01-16 Florian Weimer <fweimer@redhat.com>
16210 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16211 Move tst-thread-exit-clobber ...
16212 [$(CXX)] (tests-unsupported): ... to here.
16214 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16216 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16217 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16218 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16219 (_dl_aarch64_cap_flags): Update.
16220 (_DL_HWCAP_COUNT): Update.
16222 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16224 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16225 (_DL_HWCAP_LAST): Remove.
16226 (_DL_HWCAP_COUNT): Move to ...
16227 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16228 (_DL_HWCAP_COUNT): ... here.
16230 2018-01-16 Florian Weimer <fweimer@redhat.com>
16232 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16233 mode with GNU extensions.
16235 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16237 * elf/elf.h (NT_ARM_SVE): Define.
16239 2018-01-15 Florian Weimer <fweimer@redhat.com>
16242 * nptl/tst-minstack-throw.cc: New file.
16243 * nptl/Makefile (tests): Add tst-minstack-throw.
16244 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16245 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16247 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16249 * scripts/build-many-glibcs.py (Context.checkout): Default
16250 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16253 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16256 * elf/elf.h (DF_1_STUB): Define.
16257 (DF_1_PIE): Define.
16259 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16262 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16263 Do not add 0.5 to integer or out-of-range arguments.
16265 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16267 * po/bg.po: Update translations.
16268 * po/cs.po: Likewise.
16269 * po/de.po: Likewise.
16270 * po/ko.po: Likewise.
16271 * po/pl.po: Likewise.
16272 * po/sv.po: Likewise.
16273 * po/uk.po: Likewise.
16274 * po/vi.po: Likewise.
16276 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16278 * aarch64/start.S (_start): Use __wrap_main.
16279 (__wrap_main): New local symbol.
16281 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16285 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16286 generic_getcwd if the path returned by getcwd syscall is not absolute.
16287 * io/tst-getcwd-abspath.c: New test.
16288 * io/Makefile (tests): Add tst-getcwd-abspath.
16290 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16292 * malloc/malloc.c (malloc_consolidate): Add size check.
16294 2018-01-12 Florian Weimer <fweimer@redhat.com>
16296 * support/write_message.c (write_message): Preserve errno.
16297 * support/check.c (print_failure): Likewise.
16298 * support/support_test_verify_impl.c (support_test_verify_impl):
16300 * support/support_test_compare_failure.c
16301 (support_test_compare_failure): Likewise.
16303 2018-01-12 Florian Weimer <fweimer@redhat.com>
16306 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16307 Prevent installation of libnsl.so.
16308 (libnsl-inhibit-o): Do not build (or install) static libraries.
16310 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16313 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16314 before the day number which may produce a double space.
16315 (date_fmt): Likewise.
16317 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16319 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16320 instead of fegetenv.
16322 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16325 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16326 comment to say exceptions are discarded.
16327 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16329 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16332 2018-01-11 Florian Weimer <fweimer@redhat.com>
16334 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16337 2018-01-11 Florian Weimer <fweimer@redhat.com>
16340 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16341 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16343 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16346 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16347 negative arguments in test for NaN or infinity argument.
16349 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16351 * po/libc.pot: Regenerate.
16353 2018-01-10 Florian Weimer <fweimer@redhat.com>
16356 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16357 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16359 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16361 * hurd/hurd/fd.h: Include <fcntl.h>
16362 (__hurd_at_flags): New function.
16363 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16364 with call to __hurd_at_flags.
16365 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16366 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16368 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16369 (__access_noerrno): Use __faccessat_common instead of access_common.
16370 (__access): Likewise.
16371 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16372 with a call to __faccessat.
16373 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16374 (__faccessat_common): ... this. Move implementation of __access into it when
16375 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16376 reauthenticate_cwdir_at helper to implement AT mechanism.
16377 (__faccessat_noerrno): New function, just calls __faccessat_common.
16378 (__faccessat): New function, just calls __faccessat_common.
16379 (faccessat): Define weak alias.
16381 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16384 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16385 (CFLAGS-s_fmaxmagl.c): New variable.
16386 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16389 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16390 long int for arguments of possibly overflowing addition or
16392 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16394 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16397 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16398 (CFLAGS-e_remainderl.c): New variable.
16401 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16403 (CFLAGS-s_cacoshl.c): Likewise.
16404 (CFLAGS-s_casinhl.c): Likewise.
16405 (CFLAGS-s_catanl.c): Likewise.
16406 (CFLAGS-s_catanhl.c): Likewise.
16407 (CFLAGS-s_cexpl.c): Likewise.
16408 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16409 (CFLAGS-s_csinhl.c): Likewise.
16410 (CFLAGS-s_clogl.c): Likewise.
16411 (CFLAGS-s_clog10l.c): Likewise.
16412 (CFLAGS-s_csinl.c): Likewise.
16413 (CFLAGS-s_csqrtl.c): Likewise.
16415 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16416 2017-01-09 Svante Signell <svante.signell@gmail.com>
16418 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16419 (_hurd_exec_paths): New function.
16420 * hurd/hurd.h (_hurd_exec): Deprecate function.
16421 (_hurd_exec_paths): Declare function.
16422 * hurd/Versions: Export _hurd_exec_paths.
16423 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16424 (__execve): Use __getcwd to build absolute path, and use
16425 _hurd_exec_paths instead of _hurd_exec.
16426 * sysdeps/mach/hurd/spawni.c: Likewise.
16427 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16430 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16432 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16433 test instead of failing in case of ENOENT returned by posix_openpt.
16435 2018-01-08 Florian Weimer <fweimer@redhat.com>
16437 resolv: Support binary labels in test framework.
16438 * support/resolv_test.c (struct to_be_freed): Remove.
16439 (struct compressed_name): New.
16440 (allocate_compressed_name, ascii_tolower)
16441 (compare_compressed_name): New functions.
16442 (struct resolv_response_builder): Update type of
16443 compression_offsets for use with tsearch. Rempve to_be_freed.
16444 (response_push_pointer_to_free): Remove function.
16445 (resolv_response_add_name): Rewrite using struct compressed_name
16446 and tsearch instead of hsearch_r.
16447 (response_builder_allocate): Remove initialization of
16448 compression_offsets.
16449 (response_builder_free): Update for removal of to_be_freed. Use
16450 tdestroy instead of hdestroy_r.
16451 * resolv/Makefile (tests): Add tst-resolv-binary.
16452 (tst-resolv-binary): Link with -lresolv -lpthread.
16454 2018-01-08 Florian Weimer <fweimer@redhat.com>
16456 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16457 time. Pass positive flag instead of negative flag to
16458 support_test_compare_failure.
16459 (support_test_compare_failure): Change negative parameter to
16461 * support/support_test_compare_failure.c (report)
16462 (support_test_compare_failure): Likewise.
16463 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16464 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16466 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16469 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16470 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16471 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16473 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16475 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16477 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16478 Add s_sincosf-sse2 and s_sincosf-fma.
16479 (CFLAGS-s_sincosf-fma.c): New.
16480 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16481 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16482 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16483 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16484 __sincosf is defined.
16486 2018-01-08 Florian Weimer <fweimer@redhat.com>
16488 * nptl/tst-thread-exit-clobber.cc: New file.
16489 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16491 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16492 (tests): Add tst-thread-exit-clobber.
16493 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16495 2018-01-08 Florian Weimer <fweimer@redhat.com>
16497 * support/check.h (support_static_assert): Define.
16498 (TEST_COMPARE): Use it.
16500 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16502 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16503 [!__RLIM_T_MATCHES_RLIM64_T]
16504 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16505 __getrlimit64. Add libc_hidden_weak.
16507 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16509 * elf/elf.h (R_RISCV_NONE): New define.
16510 (R_RISCV_32): Likewise.
16511 (R_RISCV_64): Likewise.
16512 (R_RISCV_RELATIVE): Likewise.
16513 (R_RISCV_COPY): Likewise.
16514 (R_RISCV_JUMP_SLOT): Likewise.
16515 (R_RISCV_TLS_DTPMOD32): Likewise.
16516 (R_RISCV_TLS_DTPMOD64): Likewise.
16517 (R_RISCV_TLS_DTPREL32): Likewise.
16518 (R_RISCV_TLS_DTPREL64): Likewise.
16519 (R_RISCV_TLS_TPREL32): Likewise.
16520 (R_RISCV_TLS_TPREL64): Likewise.
16521 * Makerules (make-link-multidir): Make directories before linking into
16523 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16525 (VDSO_HASH_LINUX_4_15): Likewise.
16526 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16527 in subdirectories of lib.
16528 * nptl/Makefile (/librt.so): Always depend on
16529 "$(shared-thread-library)".
16531 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16533 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16534 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16535 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16537 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16538 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16540 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16541 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16542 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16543 * sysdeps/gnu/glob-lstat-compat.c: New file.
16544 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16545 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16547 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16549 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16550 Reserve 16 chars to reloc_addr before calling _itoa_word.
16552 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16555 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16556 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16558 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16559 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16561 * resource/tst-getrlimit.c: Add copyright header.
16563 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16564 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16566 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16567 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16568 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16569 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16571 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16572 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16573 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16574 RLIM64_INFINITY): Fix values to match the kernel ones.
16575 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16576 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16577 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16578 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16579 getrlimit64@@GLIBC_2_27.
16580 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16582 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16583 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16584 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16585 setrlimit, getrlimit64 and setrlimit64.
16587 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16590 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16591 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16593 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16595 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16596 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16597 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16599 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16603 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16604 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16608 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16609 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16610 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16611 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16613 2018-01-04 Florian Weimer <fweimer@redhat.com>
16616 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16617 Align the stack before calling exit.
16618 * stdlib/tst-makecontext-align.c: New file.
16619 * stdlib/Makefile (tests): Add tst-makecontext-align.
16621 2018-01-04 Florian Weimer <fweimer@redhat.com>
16623 Add support for calling dlvsym from libc.so.
16624 * include/dlfcn.h (__libc_dlvsym): Declare.
16625 * elf/Makefile (tests-static-internal): Add
16626 tst-libc_dlvsym-static.
16627 (tests-internal): Add tst-libc_dlvsym.
16628 (modules-names): Add tst-libc_dlvsym-dso.
16629 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16630 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16631 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16632 object tst-libc_dlvsym-dso.so needs to be built before running
16634 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16635 * elf/Versions: Export __libc_dlvsym.
16636 * elf/dl-libc.c (struct do_dlvsym_args): New.
16637 (do_dlvsym, __libc_dlvsym): New functions.
16638 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16639 (_dl_open_hook2): New variable.
16640 (__libc_register_dl_open_hook): Set it.
16641 * elf/tst-libc_dlvsym-dso.c: New file.
16642 * elf/tst-libc_dlvsym-static.c: Likewise.
16643 * elf/tst-libc_dlvsym.c: Likewise.
16644 * elf/tst-libc_dlvsym.h: Likewise.
16646 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16648 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16649 include <sys/mount.h>.
16651 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16653 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16654 Add __NO_MATH_ERRNO__ check.
16656 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16658 * sysdeps/mips/mips32/libm-test-ulps: Update.
16659 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16661 2018-01-02 Florian Weimer <fweimer@redhat.com>
16663 * misc/tst-pselect.c: Add copyright header.
16665 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16667 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16669 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16671 (settrlimit): Rename into setrlimit.
16672 (__sttrlimit): Rename into __setrlimit.
16674 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16675 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16676 never defined in that case.
16678 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16680 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16682 * sysdeps/arm/libm-test-ulps: Update.
16684 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16685 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16687 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16689 * NEWS: Add cosf and sincosf to list of optimized functions.
16691 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16694 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16695 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16696 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16697 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16699 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16702 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16704 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16705 making a copy of it.
16707 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16709 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16710 trailing whitespace removed.
16711 * scripts/config.guess: Update to version 2018-01-01.
16712 * scripts/config.sub: Update to version 2018-01-01.
16713 * scripts/move-if-change: Update from gnulib.
16715 * NEWS: Update copyright dates.
16716 * catgets/gencat.c (print_version): Likewise.
16717 * csu/version.c (banner): Likewise.
16718 * debug/catchsegv.sh: Likewise.
16719 * debug/pcprofiledump.c (print_version): Likewise.
16720 * debug/xtrace.sh (do_version): Likewise.
16721 * elf/ldconfig.c (print_version): Likewise.
16722 * elf/ldd.bash.in: Likewise.
16723 * elf/pldd.c (print_version): Likewise.
16724 * elf/sotruss.sh: Likewise.
16725 * elf/sprof.c (print_version): Likewise.
16726 * iconv/iconv_prog.c (print_version): Likewise.
16727 * iconv/iconvconfig.c (print_version): Likewise.
16728 * locale/programs/locale.c (print_version): Likewise.
16729 * locale/programs/localedef.c (print_version): Likewise.
16730 * login/programs/pt_chown.c (print_version): Likewise.
16731 * malloc/memusage.sh (do_version): Likewise.
16732 * malloc/memusagestat.c (print_version): Likewise.
16733 * malloc/mtrace.pl: Likewise.
16734 * manual/libc.texinfo: Likewise.
16735 * nptl/version.c (banner): Likewise.
16736 * nscd/nscd.c (print_version): Likewise.
16737 * nss/getent.c (print_version): Likewise.
16738 * nss/makedb.c (print_version): Likewise.
16739 * posix/getconf.c (main): Likewise.
16740 * scripts/test-installation.pl: Likewise.
16741 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16743 * All files with FSF copyright notices: Update copyright dates
16744 using scripts/update-copyrights.
16745 * locale/programs/charmap-kw.h: Regenerated.
16746 * locale/programs/locfile-kw.h: Likewise.
16748 2017-12-31 Zack Weinberg <zackw@panix.com>
16750 * libio/bits/libio-ldbl.h: Correct check for improper
16751 inclusion. Add own multiple include guard.
16753 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16754 Dmitry V. Levin <ldv@altlinux.org>
16758 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16759 string token expansion. Check for NULL pointer or empty string possibly
16760 returned by expand_dynamic_string_token.
16761 (decompose_rpath): Check for empty path after dynamic string
16764 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16767 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16769 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16770 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16771 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16772 and PTRACE_SYSCALL.
16773 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16774 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16775 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16776 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16777 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16778 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16780 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16781 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16782 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16783 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16785 bits/ptrace-shared.h.
16786 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16787 <bits/ptrace-shared.h>.
16788 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16789 __ptrace_peeksiginfo_flags, ptrace): Remove.
16790 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16791 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16792 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16793 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16794 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16796 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16799 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16800 end of the loop. Improve comments.
16802 2017-12-29 Zack Weinberg <zackw@panix.com>
16805 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16806 might be set on success.
16808 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16811 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16812 is unchanged on success.
16814 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16816 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16818 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16819 expand_dynamic_string_token): Likewise.
16820 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16823 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16826 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16827 is set and name contains ':', and all code depending on these checks.
16829 2017-12-24 Zack Weinberg <zackw@panix.com>
16831 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16832 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16834 * libio/libio.h: Rename the original version of this file to
16835 libio/bits/libio.h. Error out if not included by stdio.h or the
16837 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16838 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16839 if not included by bits/libio.h or the stub _G_config.h.
16840 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16841 sysdeps/unix/sysv/linux/bits. Error out if not included by
16842 bits/libio.h or the stub _G_config.h.
16843 * libio/stdio.h: Include bits/libio.h, not libio.h.
16844 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
16845 well as libio.h and _G_config.h.
16847 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
16848 * libio/strfile.h, stdio-common/vfscanf.c
16849 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
16850 Include stdio.h, not _G_config.h nor libio.h.
16851 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
16852 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
16854 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
16856 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
16859 * stdlib/getrandom.c (getrandom): Fix comment.
16860 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
16862 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
16865 * manual/arith.texi (strtoul): Fix a typo.
16868 * manual/arith.texi (finite): Fix the description of the return
16871 2017-12-22 Eric Blake <ebb9@byu.net>
16873 Avoid gcc warnings on cygwin
16874 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
16875 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
16876 Avoid unused variable.
16878 2017-12-22 Florian Weimer <fweimer@redhat.com>
16880 * io/Makefile (routines): Add copy_file_range.
16881 (tests): Add tst-copy_file_range.
16882 (tests-static, tests-internal): Add tst-copy_file_range-compat.
16883 * io/Versions (GLIBC_2.27): Export copy_file_range.
16884 * io/copy_file_range-compat.c: New file.
16885 * io/copy_file_range.c: Likewise.
16886 * io/tst-copy_file_range-compat.c: Likewise.
16887 * io/tst-copy_file_range.c: Likewise.
16888 * manual/llio.texi (Copying File Data): New section.
16889 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
16890 * support/Makefile (libsupport-routines): Add support-xfstat,
16891 xftruncate, xlseek.
16892 * support/support-xfstat.c: New file.
16893 * support/xftruncate.c: Likewise.
16894 * support/xlseek.c: Likewise.
16895 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
16896 * sysdeps/unix/sysv/linux/**.abilist: Update.
16897 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
16899 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
16901 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16902 disable-multi-arch variant to aarch64-linux-gnu.
16904 2017-12-20 Joseph Myers <joseph@codesourcery.com>
16906 * manual/texinfo.tex: Update to version 2017-12-18.20 with
16907 trailing whitespace removed.
16908 * scripts/config.guess: Update to version 2017-12-17.
16909 * scripts/config.sub: Update to version 2017-11-23.
16910 * scripts/install-sh: Update to version 2017-09-23.17.
16911 * scripts/move-if-change: Update to version 2017-09-13 06:45.
16913 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16915 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
16916 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16917 * sysdeps/tile/_mcount.S (__mcount): Likewise.
16918 * sysdeps/tile/crti.S (_init, _fini): Likewise.
16919 * sysdeps/tile/crtn.S: Likewise.
16920 * sysdeps/tile/dl-start.S (_start): Likewise.
16921 * sysdeps/tile/dl-trampoline.S: Likewise.
16922 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
16923 * sysdeps/tile/start.S (_start): Likewise.
16924 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
16925 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
16926 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
16927 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
16928 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
16929 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
16930 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
16932 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
16934 * sysdeps/tile/preconfigure: Remove tilegx folder.
16935 * sysdeps/tile/tilegx/Implies: Move definitions to ...
16936 * sysdeps/tile/Implies: ... here.
16937 * sysdeps/tile/tilegx/Makefile: Move rules to ...
16938 * sysdeps/tile/Makefile: ... here.
16939 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
16940 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
16941 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
16942 * sysdeps/tile/bits/wordsize.h: ... here.
16943 * sysdeps/tile/tilegx/*: Move to ...
16944 * sysdeps/tile/*: ... here.
16945 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
16946 * sysdeps/tile/tilegx32/Implies: ... here.
16947 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
16948 * sysdeps/tile/tilegx64/Implies: ... here.
16949 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
16951 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16952 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
16953 * sysdeps/unix/sysv/linux/tile/*: ... here.
16954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
16955 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
16956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
16957 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
16959 * README: Remove tilepro-*-linux-gnu from supported architecture.
16960 * scripts/build-many-glibcs.py: Likewise.
16961 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
16962 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
16963 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
16964 elf_machine_matches_host, elf_machine_dynamic,
16965 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
16966 howto, elf_machine_rela): Likewise.
16967 * sysdeps/tile/dl-start.S (_start): Likewise.
16968 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
16969 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
16970 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
16971 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
16972 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
16973 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
16975 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
16976 * sysdeps/tile/preconfigure: Likewise.
16977 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
16978 POINTER_CHK_GUARD): Likewise.
16979 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
16980 * sysdeps/tile/start.S (_start): Likewise.
16981 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
16983 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
16984 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
16986 * sysdeps/unix/sysv/linux/tile/bits/environments.h
16987 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
16988 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
16990 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
16991 * sysdeps/tile/tilepro/Implies: Remove file.
16992 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
16993 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
16994 * sysdeps/tile/tilepro/memchr.c: Likewise.
16995 * sysdeps/tile/tilepro/memcpy.S: Likewise.
16996 * sysdeps/tile/tilepro/memset.c: Likewise.
16997 * sysdeps/tile/tilepro/memusage.h: Likewise.
16998 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
16999 * sysdeps/tile/tilepro/strchr.c: Likewise.
17000 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17001 * sysdeps/tile/tilepro/strlen.c: Likewise.
17002 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17003 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17004 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17005 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17006 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17007 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17008 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17010 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17011 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17012 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17013 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17014 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17015 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17016 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17017 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17018 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17019 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17020 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17021 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17022 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17023 tilepro mention in comment.
17025 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17026 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17027 * nptl/pthread_join_common.c: New file: common function used on
17028 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17029 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17030 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17031 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17032 (cleanup): Move definition to pthread_join_common.c.
17033 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17034 Remove superflous checks.
17035 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17038 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17040 * sysdeps/aarch64/libm-test-ulps: Update.
17042 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17044 * sysdeps/aarch64/memset.S (MEMSET): Define.
17046 2017-12-20 Florian Weimer <fweimer@redhat.com>
17049 nptl: Provide full implementation of pthread_self in libc.so.
17050 * nptl/Makefile (routines): Add pthread_self.
17051 (libpthread-routines): Replace pthread_self with
17052 compat-pthread_self.
17053 * nptl/forward.c (pthread_self): Remove.
17054 * nptl/nptl-init.c (pthread_functions): Do not initialize
17056 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17057 * nptl/compat-pthread_self.c: New file.
17058 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17059 Remove ptr_pthread_self.
17061 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17063 * posix/regcomp.c: Fix spelling in comments.
17064 * posix/regex.h: Likewise.
17065 * posix/regex_internal.c: Likewise.
17066 * posix/regexec.c: Likewise.
17068 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17071 * math/Makefile [C++] (tests): Add test for iseqsig.
17072 * math/math.h [C++] (iseqsig): New implementation, which does
17073 not rely on __MATH_TG/__builtin_types_compatible_p.
17074 * math/test-math-iseqsig.cc: New file.
17075 * sysdeps/powerpc/powerpc64le/Makefile
17076 (CFLAGS-test-math-iseqsig.cc): New variable.
17078 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17080 * elf/dl-load.c (is_trusted_path): Remove.
17081 (fillin_rpath): Remove check_trusted argument and its use,
17082 all callers changed.
17084 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17087 * Makeconfig (link-pie-before-libc): Replace -pie with
17088 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17089 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17090 (tst-dlopen-aout-no-pie): New.
17091 (LDFLAGS-tst-prelink): Removed.
17092 (tst-prelink-no-pie): New.
17093 (LDFLAGS-tst-main1): Removed.
17094 (tst-main1-no-pie): New.
17095 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17096 (tst-gmon-no-pie): New.
17098 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17100 * manual/install.texi: Document that --enable-static-pie
17102 * INSTALL: Regenerated.
17104 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17107 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17110 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17114 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17118 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17120 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17121 <errno.h>. Include "eexp.tbl".
17122 (half): New constant.
17124 (__ieee754_exp): Rewrite.
17125 (__slowexp): Remove prototype.
17126 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17127 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17128 * sysdeps/i386/fpu/slowexp.c: Likewise.
17129 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17130 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17131 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17132 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17133 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17134 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17135 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17137 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17138 (CPPFLAGS-slowexp.c): Remove variable.
17139 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17140 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17141 (CFLAGS-slowexp-fma.c): Remove variable.
17142 (CFLAGS-slowexp-fma4.c): Likewise.
17143 (CFLAGS-slowexp-avx.c): Likewise.
17144 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17146 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17147 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17148 * math/Makefile (type-double-routines): Remove slowexp.
17149 * manual/probes.texi (slowexp_p6): Remove.
17150 (slowexp_p32): Likewise.
17152 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17154 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17157 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17159 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17163 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17165 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17166 <errno.h>. Include "eexp.tbl".
17167 (half): New constant.
17169 (__ieee754_exp): Rewrite.
17170 (__slowexp): Remove prototype.
17171 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17172 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17173 * sysdeps/i386/fpu/slowexp.c: Likewise.
17174 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17175 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17176 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17177 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17178 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17179 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17180 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17182 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17183 (CPPFLAGS-slowexp.c): Remove variable.
17184 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17185 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17186 (CFLAGS-slowexp-fma.c): Remove variable.
17187 (CFLAGS-slowexp-fma4.c): Likewise.
17188 (CFLAGS-slowexp-avx.c): Likewise.
17189 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17191 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17192 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17193 * math/Makefile (type-double-routines): Remove slowexp.
17194 * manual/probes.texi (slowexp_p6): Remove.
17195 (slowexp_p32): Likewise.
17197 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17198 James Clarke <jrtc27@jrtc27.com>
17201 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17204 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17207 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17210 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17213 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17214 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17215 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17216 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17219 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17222 * bits/types/__cancel_jmp_buf_tag.h: New file.
17223 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17224 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17225 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17226 * nptl/Makefile (headers): Add
17227 bits/types/__cancel_jmp_buf_tag.h.
17228 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17229 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17230 * sysdeps/nptl/pthread.h: Include
17231 <bits/types/__cancel_jmp_buf_tag.h>.
17232 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17234 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17236 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17238 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17239 --enable-static-pie variants to x86_64, x32 and i686.
17241 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17244 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17245 argument for attrubutes. All callers changed.
17246 (__inline_mathop1): Likewise. All callers changed.
17247 (__inline_mathop): Likewise. All callers changed.
17248 [__USE_MISC] (scalbn): Use __inline_forward instead of
17249 __inline_forward_c.
17250 [__USE_ISOC99] (scalbln): Likewise.
17251 [__USE_ISOC99] (nearbyint): Likewise.
17252 [__USE_ISOC99] (lrint): Likewise.
17253 [__USE_MISC] (scalbnf): Likewise.
17254 [__USE_ISOC99] (scalblnf): Likewise.
17255 [__USE_ISOC99] (nearbyintf): Likewise.
17256 [__USE_ISOC99] (lrintf): Likewise.
17257 [__USE_MISC] (scalbnl): Likewise.
17258 [__USE_ISOC99] (scalblnl): Likewise.
17259 [__USE_ISOC99] (nearbyintl): Likewise.
17260 [__USE_ISOC99] (lrintl): Likewise.
17261 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17262 __inline_mathop and __m81_defun changed.
17264 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17265 CPU or FPU for ARM hard-float configurations.
17267 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17269 * nptl/tst-attr3.c: Include <libc-diag.h>.
17270 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17272 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17274 * string/tester.c (test_strncat): Also disable -Warray-bounds
17275 warnings for two tests.
17277 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17280 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17281 $(cc-pie-default) == yes.
17282 * config.make.in (cc-pie-default): New.
17283 * configure.ac (libc_cv_pie_default): Renamed to ...
17284 (libc_cv_cc_pie_default): This.
17285 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17286 * configure: Regenerated.
17288 2017-12-18 Florian Weimer <fweimer@redhat.com>
17291 ld.so: Harden dl-libc/libdl hooks.
17292 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17293 (rtld_active): New function.
17294 * dlfcn/dladdr.c (__dladdr): Call it.
17295 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17296 * dlfcn/dlclose.c (__dlcose): Likewise.
17297 * dlfcn/dlerror.c (__dlerror): Likewise.
17298 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17299 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17300 * dlfcn/dlopen.c (__dlopen): Likewise.
17301 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17302 * dlfcn/dlsym.c (__dlsym): Likewise.
17303 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17304 * libio/vtables.c (_IO_vtable_check): Likewise.
17305 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17306 (__libc_dlclose): Likewise.
17307 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17310 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17313 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17314 buffers for readlink input and output.
17316 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17319 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17320 inhibit_stack_protector.
17323 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17324 inhibit_stack_protector.
17326 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17329 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17330 code and invocation.
17332 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17334 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17336 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17339 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17341 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17343 * sysdeps/s390/fpu/libm-test-ulps: Update.
17345 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17349 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17351 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17352 constants to s_sincosf.h file.
17353 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17354 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17356 * sysdeps/ieee754/flt-32/s_sincosf.h:
17359 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17362 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17365 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17368 * INSTALL: Regenerated.
17369 * Makeconfig (real-static-start-installed-name): New.
17370 (pic-default): Updated for --enable-static-pie.
17371 (pie-default): New for --enable-static-pie.
17372 (default-pie-ldflag): Likewise.
17373 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17374 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17375 Replace $(static-start-installed-name) with
17376 $(real-static-start-installed-name).
17377 (+prectorT): Updated for --enable-static-pie.
17378 (+postctorT): Likewise.
17379 (CFLAGS-.o): Add $(pie-default).
17380 (CFLAGS-.op): Likewise.
17381 * NEWS: Mention --enable-static-pie.
17382 * config.h.in (ENABLE_STATIC_PIE): New.
17383 * configure.ac (--enable-static-pie): New configure option.
17384 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17385 (have-static-pie): Likewise.
17386 Enable static PIE if linker supports --no-dynamic-linker.
17387 (ENABLE_STATIC_PIE): New AC_DEFINE.
17388 (enable-static-pie): New LIBC_CONFIG_VAR.
17389 * configure: Regenerated.
17390 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17391 gr$(start-installed-name) for --enable-static-pie.
17392 (extra-objs): Likewise.
17393 (install-lib): Likewise.
17394 (extra-objs): Add static-reloc.o and static-reloc.os
17395 ($(objpfx)$(start-installed-name)): Also depend on
17396 $(objpfx)static-reloc.o.
17397 ($(objpfx)r$(start-installed-name)): New.
17398 ($(objpfx)g$(start-installed-name)): Also depend on
17399 $(objpfx)static-reloc.os.
17400 ($(objpfx)gr$(start-installed-name)): New.
17401 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17403 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17405 * csu/static-reloc.c: New file.
17406 * elf/Makefile (routines): Add dl-reloc-static-pie.
17407 (elide-routines.os): Likewise.
17408 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17409 (tst-tls1-static-non-pie-no-pie): New.
17410 * elf/dl-reloc-static-pie.c: New file.
17411 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17412 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17413 STATIC_PIE_BOOTSTRAP.
17414 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17415 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17416 (tests-static): Likewise.
17417 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17418 (tst-gmon-static-no-pie): New.
17419 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17420 (CRT-tst-gmon-static-pie): Likewise.
17421 (tst-gmon-static-pie-ENV): Likewise.
17422 (tests-special): Likewise.
17423 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17424 (clean-tst-gmon-static-pie-data): Likewise.
17425 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17426 * gmon/tst-gmon-static-pie.c: New file.
17427 * manual/install.texi: Document --enable-static-pie.
17428 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17429 (_dl_get_dl_main_map): Likewise.
17430 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17431 * sysdeps/x86_64/configure.ac: Likewise.
17432 * sysdeps/i386/configure: Regenerated.
17433 * sysdeps/x86_64/configure: Likewise.
17434 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17435 (ASFLAGS-.op): Likewise.
17437 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17439 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17440 * posix/tst-mmap-offset.c (fname): Use /tmp.
17441 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17443 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17445 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17447 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17449 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17452 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17454 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17455 --with-float=hard for arm-linux-gnueabihf configurations.
17458 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17459 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17460 ($(mo-installed)): Use $(objpfx)%.mo.
17461 (realclean): Remove rule.
17463 * po/Makefile (linguas): Remove rule and dependencies.
17464 (linguas.mo): Likewise.
17465 (.PHONY): Do not depend on linguas and linguas.mo.
17466 (podir): Remove variable.
17467 (pofiles): Likewise.
17468 [$(pofiles)] (%.po): Remove rule.
17470 * sysdeps/sparc/sparc32/Makefile
17471 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17472 start-of-line whitespace in argument of echo.
17473 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17474 with whitespace. Generate __wrap_.udiv alias.
17475 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17476 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17477 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17478 * sysdeps/sparc/sparc32/urem.S: Likewise.
17480 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17482 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17483 for aligned inputs.
17485 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17487 * benchtests/bench-strcmp.c: Print output in JSON format.
17489 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17491 2017-12-14 Florian Weimer <fweimer@redhat.com>
17495 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17496 the expanded path string.
17498 2017-12-14 Florian Weimer <fweimer@redhat.com>
17502 * elf/dl-load.c (system_dirs): Update comment.
17503 (nsystem_dirs_len): Use array_length.
17504 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17506 2017-12-14 Florian Weimer <fweimer@redhat.com>
17508 Simplify compiling most of support/ outside of glibc.
17509 * support/check_addrinfo.c: Include <string.h>.
17510 * support/check_dns_packet.c: Likewise.
17511 * support/check_hostent.c: Likewise.
17512 * support/support_can_chroot.c: Include <support/xunistd.h>.
17513 * support/support_format_addrinfo.c: Include <stdlib.h>
17514 * support/support_format_dns_packet.c: Include <stdbool.h>.
17515 * support/support_format_hostent.c: Include <stdlib.h>.
17516 * support/support_format_netent.c: Likewise.
17517 * support/support_write_string.c: Include <support/xunistd.h>.
17518 * support/xdlfcn.c: Include <stddef.h>.
17520 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17522 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17524 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17525 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17527 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17528 (sysdeps_routines): Add memset-niagara7.
17529 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17531 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17533 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17534 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17535 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17536 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17537 Add niagara7 option.
17538 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17541 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17542 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17543 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17545 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17547 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17548 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17549 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17550 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17551 and __memmove_niagara7.
17552 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17553 Add niagara7 option.
17554 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17555 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17556 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17557 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17558 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17560 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17562 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17563 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17564 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17565 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17567 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17568 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17569 _dl_sparc_cap_flags array.
17570 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17572 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17574 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17575 time whenever possible.
17577 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17579 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17580 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17582 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17584 * soft-fp/fmadf4.c: Move to ....
17585 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17586 * soft-fp/fmasf4.c: Move to ....
17587 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17588 * soft-fp/fmatf4.c: Move to ....
17589 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17590 * sysdeps/ieee754/soft-fp/Makefile: New file.
17591 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17592 * sysdeps/arm/preconfigure: Regenerated.
17593 * sysdeps/arm/nofpu/Implies: New file.
17594 * sysdeps/arm/s_fma.c: Remove file.
17595 * sysdeps/arm/s_fmaf.c: Likewise.
17596 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17597 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17598 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17599 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17600 * sysdeps/microblaze/s_fma.c: Remove file.
17601 * sysdeps/microblaze/s_fmaf.c: Likewise.
17602 * sysdeps/mips/mips32/nofpu/Implies: New file.
17603 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17604 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17605 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17606 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17607 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17608 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17609 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17611 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17612 * sysdeps/nios2/s_fma.c: Remove file.
17613 * sysdeps/nios2/s_fmaf.c: Likewise.
17614 * sysdeps/sh/nofpu/Implies: New file.
17615 * sysdeps/sh/s_fma.c: Remove file.
17616 * sysdeps/sh/s_fmaf.c: Likewise.
17617 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17618 * sysdeps/tile/s_fma.c: Remove file.
17619 * sysdeps/tile/s_fmaf.c: Likewise.
17621 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17623 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17624 Add s_cosf-sse2 and s_cosf-fma.
17625 (CFLAGS-s_cosf-fma.c): New.
17626 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17627 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17628 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17630 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17632 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17634 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17636 * libio/Makefile (tests): Add tst-bz22415.
17637 (tst-bz22415-ENV): New rule.
17638 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17639 (tests-special): Add tst-bz22415-mem.out.
17640 ($(objpfx)tst-bz22415-mem.out): New rule.
17641 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17642 in case of a successful seek operation.
17643 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17644 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17645 buffer is required.
17646 * libio/tst-bz22415.c: New test.
17648 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17650 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17652 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17653 __IPC_64 to 0 to avoid IPC_64 being set.
17655 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17658 * math/bits/mathcalls.h (nextafter): Remove const.
17659 (nexttoward): Likewise.
17661 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17663 * configure.ac (--with-fp): Remove configure option.
17664 (with_fp_cond): New variable.
17665 (libc_cv_with_fp): New configure test. Use this variable instead
17667 * configure: Regenerated.
17668 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17669 * manual/install.texi (Configuring and compiling): Remove
17671 * INSTALL: Regenerated.
17672 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17673 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17674 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17675 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17676 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17677 use --without-fp to configure glibc.
17679 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17681 * manual/locale.texi (nl_langinfo): Fix a typo.
17683 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17686 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17688 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17690 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17691 (CFLAGS-argp-parse.c): Likewise.
17692 (CFLAGS-argp-fmtstream.c): Likewise.
17693 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17694 (CPPFLAGS-sha512-crypt.c): Likewise.
17695 (CPPFLAGS-md5-crypt.c): Likewise.
17696 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17697 (CFLAGS-stack_chk_fail_local.c): Likewise.
17698 (CFLAGS-backtrace.c): Likewise.
17699 (CFLAGS-sprintf_chk.c): Likewise.
17700 (CFLAGS-snprintf_chk.c): Likewise.
17701 (CFLAGS-vsprintf_chk.c): Likewise.
17702 (CFLAGS-vsnprintf_chk.c): Likewise.
17703 (CFLAGS-asprintf_chk.c): Likewise.
17704 (CFLAGS-vasprintf_chk.c): Likewise.
17705 (CFLAGS-obprintf_chk.c): Likewise.
17706 (CFLAGS-dprintf_chk.c): Likewise.
17707 (CFLAGS-vdprintf_chk.c): Likewise.
17708 (CFLAGS-printf_chk.c): Likewise.
17709 (CFLAGS-fprintf_chk.c): Likewise.
17710 (CFLAGS-vprintf_chk.c): Likewise.
17711 (CFLAGS-vfprintf_chk.c): Likewise.
17712 (CFLAGS-gets_chk.c): Likewise.
17713 (CFLAGS-fgets_chk.c): Likewise.
17714 (CFLAGS-fgets_u_chk.c): Likewise.
17715 (CFLAGS-fread_chk.c): Likewise.
17716 (CFLAGS-fread_u_chk.c): Likewise.
17717 (CFLAGS-swprintf_chk.c): Likewise.
17718 (CFLAGS-vswprintf_chk.c): Likewise.
17719 (CFLAGS-wprintf_chk.c): Likewise.
17720 (CFLAGS-fwprintf_chk.c): Likewise.
17721 (CFLAGS-vwprintf_chk.c): Likewise.
17722 (CFLAGS-vfwprintf_chk.c): Likewise.
17723 (CFLAGS-fgetws_chk.c): Likewise.
17724 (CFLAGS-fgetws_u_chk.c): Likewise.
17725 (CFLAGS-read_chk.c): Likewise.
17726 (CFLAGS-pread_chk.c): Likewise.
17727 (CFLAGS-pread64_chk.c): Likewise.
17728 (CFLAGS-recv_chk.c): Likewise.
17729 (CFLAGS-recvfrom_chk.c): Likewise.
17730 (CFLAGS-tst-longjmp_chk.c): Likewise.
17731 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17732 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17733 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17734 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17735 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17736 (CFLAGS-tst-chk1.c): Likewise.
17737 (CFLAGS-tst-chk2.c): Likewise.
17738 (CFLAGS-tst-chk3.c): Likewise.
17739 (CFLAGS-tst-chk4.cc): Likewise.
17740 (CFLAGS-tst-chk5.cc): Likewise.
17741 (CFLAGS-tst-chk6.cc): Likewise.
17742 (CFLAGS-tst-lfschk1.c): Likewise.
17743 (CFLAGS-tst-lfschk2.c): Likewise.
17744 (CFLAGS-tst-lfschk3.c): Likewise.
17745 (CFLAGS-tst-lfschk4.cc): Likewise.
17746 (CFLAGS-tst-lfschk5.cc): Likewise.
17747 (CFLAGS-tst-lfschk6.cc): Likewise.
17748 (CFLAGS-tst-ssp-1.c): Likewise.
17749 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17750 (CFLAGS-scandir64.c): Likewise.
17751 (CFLAGS-scandir-tail.c): Likewise.
17752 (CFLAGS-scandir64-tail.c): Likewise.
17753 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17754 (CFLAGS-dl-tunables.c): Likewise.
17755 (CFLAGS-dl-runtime.c): Likewise.
17756 (CFLAGS-dl-lookup.c): Likewise.
17757 (CFLAGS-dl-iterate-phdr.c): Likewise.
17758 (CFLAGS-vismain.c): Likewise.
17759 (CFLAGS-tst-linkall-static.c): Likewise.
17760 (CFLAGS-tst-linkall-static.c): Likewise.
17761 (CPPFLAGS-dl-load.c): Likewise.
17762 (CFLAGS-ldconfig.c): Likewise.
17763 (CFLAGS-dl-cache.c): Likewise.
17764 (CFLAGS-cache.c): Likewise.
17765 (CFLAGS-rtld.c): Likewise.
17766 (CFLAGS-multiload.c): Likewise.
17767 (CFLAGS-filtmod1.c): Likewise.
17768 (CFLAGS-tst-align.c): Likewise.
17769 (CFLAGS-tst-align2.c): Likewise.
17770 (CFLAGS-tst-alignmod.c): Likewise.
17771 (CFLAGS-tst-alignmod2.c): Likewise.
17772 (CPPFLAGS-tst-execstack.c): Likewise.
17773 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17774 (CFLAGS-tst-latepthreadmod.c): Likewise.
17775 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17776 (CFLAGS-getgrnam_r.c): Likewise.
17777 (CFLAGS-getgrent_r.c): Likewise.
17778 (CFLAGS-getgrent.c): Likewise.
17779 (CFLAGS-fgetgrent.c): Likewise.
17780 (CFLAGS-fgetgrent_r.c): Likewise.
17781 (CFLAGS-putgrent.c): Likewise.
17782 (CFLAGS-initgroups.c): Likewise.
17783 (CFLAGS-getgrgid.c): Likewise.
17784 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17785 (CFLAGS-getsgent.c): Likewise.
17786 (CFLAGS-fgetsgent.c): Likewise.
17787 (CFLAGS-fgetsgent_r.c): Likewise.
17788 (CFLAGS-putsgent.c): Likewise.
17789 (CFLAGS-getsgnam.c): Likewise.
17790 (CFLAGS-getsgnam_r.c): Likewise.
17791 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17792 (CFLAGS-iconv_charmap.c): Likewise.
17793 (CFLAGS-dummy-repertoire.c): Likewise.
17794 (CFLAGS-charmap.c): Likewise.
17795 (CFLAGS-linereader.c): Likewise.
17796 (CFLAGS-simple-hash.c): Likewise.
17797 (CFLAGS-gconv_conf.c): Likewise.
17798 (CFLAGS-iconvconfig.c): Likewise.
17799 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17800 (CFLAGS-gethstbyad.c): Likewise.
17801 (CFLAGS-gethstbynm_r.c): Likewise.
17802 (CFLAGS-gethstbynm.c): Likewise.
17803 (CFLAGS-gethstbynm2_r.c): Likewise.
17804 (CFLAGS-gethstbynm2.c): Likewise.
17805 (CFLAGS-gethstent_r.c): Likewise.
17806 (CFLAGS-gethstent.c): Likewise.
17807 (CFLAGS-rcmd.c): Likewise.
17808 (CFLAGS-getnetbynm_r.c): Likewise.
17809 (CFLAGS-getnetbynm.c): Likewise.
17810 (CFLAGS-getnetbyad_r.c): Likewise.
17811 (CFLAGS-getnetbyad.c): Likewise.
17812 (CFLAGS-getnetent_r.c): Likewise.
17813 (CFLAGS-getnetent.c): Likewise.
17814 (CFLAGS-getaliasent_r.c): Likewise.
17815 (CFLAGS-getaliasent.c): Likewise.
17816 (CFLAGS-getrpcent_r.c): Likewise.
17817 (CFLAGS-getrpcent.c): Likewise.
17818 (CFLAGS-getservent_r.c): Likewise.
17819 (CFLAGS-getservent.c): Likewise.
17820 (CFLAGS-getprtent_r.c): Likewise.
17821 (CFLAGS-getprtent.c): Likewise.
17822 (CFLAGS-either_ntoh.c): Likewise.
17823 (CFLAGS-either_hton.c): Likewise.
17824 (CFLAGS-getnetgrent.c): Likewise.
17825 (CFLAGS-getnetgrent_r.c): Likewise.
17826 (CFLAGS-tst-checks-posix.c): Likewise.
17827 (CFLAGS-tst-sockaddr.c): Likewise.
17828 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17829 (CFLAGS-tst-translit.c): Likewise.
17830 (CFLAGS-tst-gettext2.c): Likewise.
17831 (CFLAGS-tst-codeset.c): Likewise.
17832 (CFLAGS-tst-gettext3.c): Likewise.
17833 (CFLAGS-tst-gettext4.c): Likewise.
17834 (CFLAGS-tst-gettext5.c): Likewise.
17835 (CFLAGS-tst-gettext6.c): Likewise.
17836 * io/Makefile (CFLAGS-open.c): Likewise.
17837 (CFLAGS-open64.c): Likewise.
17838 (CFLAGS-creat.c): Likewise.
17839 (CFLAGS-creat64.c): Likewise.
17840 (CFLAGS-fcntl.c): Likewise.
17841 (CFLAGS-poll.c): Likewise.
17842 (CFLAGS-ppoll.c): Likewise.
17843 (CFLAGS-lockf.c): Likewise.
17844 (CFLAGS-statfs.c): Likewise.
17845 (CFLAGS-fstatfs.c): Likewise.
17846 (CFLAGS-statvfs.c): Likewise.
17847 (CFLAGS-fstatvfs.c): Likewise.
17848 (CFLAGS-fts.c): Likewise.
17849 (CFLAGS-fts64.c): Likewise.
17850 (CFLAGS-ftw.c): Likewise.
17851 (CFLAGS-ftw64.c): Likewise.
17852 (CFLAGS-lockf.c): Likewise.
17853 (CFLAGS-posix_fallocate.c): Likewise.
17854 (CFLAGS-posix_fallocate64.c): Likewise.
17855 (CFLAGS-fallocate.c): Likewise.
17856 (CFLAGS-fallocate64.c): Likewise.
17857 (CFLAGS-read.c): Likewise.
17858 (CFLAGS-write.c): Likewise.
17859 (CFLAGS-test-stat.c): Likewise.
17860 (CFLAGS-test-lfs.c): Likewise.
17861 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17862 (CFLAGS-fputc.c): Likewise.
17863 (CFLAGS-fputwc.c): Likewise.
17864 (CFLAGS-freopen64.c): Likewise.
17865 (CFLAGS-freopen.c): Likewise.
17866 (CFLAGS-fseek.c): Likewise.
17867 (CFLAGS-fseeko64.c): Likewise.
17868 (CFLAGS-fseeko.c): Likewise.
17869 (CFLAGS-ftello64.c): Likewise.
17870 (CFLAGS-ftello.c): Likewise.
17871 (CFLAGS-fwide.c): Likewise.
17872 (CFLAGS-genops.c): Likewise.
17873 (CFLAGS-getc.c): Likewise.
17874 (CFLAGS-getchar.c): Likewise.
17875 (CFLAGS-getwc.c): Likewise.
17876 (CFLAGS-getwchar.c): Likewise.
17877 (CFLAGS-iofclose.c): Likewise.
17878 (CFLAGS-iofflush.c): Likewise.
17879 (CFLAGS-iofgetpos64.c): Likewise.
17880 (CFLAGS-iofgetpos.c): Likewise.
17881 (CFLAGS-iofgets.c): Likewise.
17882 (CFLAGS-iofgetws.c): Likewise.
17883 (CFLAGS-iofputs.c): Likewise.
17884 (CFLAGS-iofputws.c): Likewise.
17885 (CFLAGS-iofread.c): Likewise.
17886 (CFLAGS-iofsetpos64.c): Likewise.
17887 (CFLAGS-iofsetpos.c): Likewise.
17888 (CFLAGS-ioftell.c): Likewise.
17889 (CFLAGS-iofwrite.c): Likewise.
17890 (CFLAGS-iogetdelim.c): Likewise.
17891 (CFLAGS-iogetline.c): Likewise.
17892 (CFLAGS-iogets.c): Likewise.
17893 (CFLAGS-iogetwline.c): Likewise.
17894 (CFLAGS-ioputs.c): Likewise.
17895 (CFLAGS-ioseekoff.c): Likewise.
17896 (CFLAGS-ioseekpos.c): Likewise.
17897 (CFLAGS-iosetbuffer.c): Likewise.
17898 (CFLAGS-iosetvbuf.c): Likewise.
17899 (CFLAGS-ioungetc.c): Likewise.
17900 (CFLAGS-ioungetwc.c): Likewise.
17901 (CFLAGS-oldfileops.c): Likewise.
17902 (CFLAGS-oldiofclose.c): Likewise.
17903 (CFLAGS-oldiofgetpos64.c): Likewise.
17904 (CFLAGS-oldiofgetpos.c): Likewise.
17905 (CFLAGS-oldiofsetpos64.c): Likewise.
17906 (CFLAGS-oldiofsetpos.c): Likewise.
17907 (CFLAGS-peekc.c): Likewise.
17908 (CFLAGS-putc.c): Likewise.
17909 (CFLAGS-putchar.c): Likewise.
17910 (CFLAGS-putwc.c): Likewise.
17911 (CFLAGS-putwchar.c): Likewise.
17912 (CFLAGS-rewind.c): Likewise.
17913 (CFLAGS-wfileops.c): Likewise.
17914 (CFLAGS-wgenops.c): Likewise.
17915 (CFLAGS-oldiofopen.c): Likewise.
17916 (CFLAGS-iofopen.c): Likewise.
17917 (CFLAGS-iofopen64.c): Likewise.
17918 (CFLAGS-oldtmpfile.c): Likewise.
17919 (CFLAGS-tst_putwc.c): Likewise.
17920 * locale/Makefile (CFLAGS-md5.c): Likewise.
17921 (CFLAGS-charmap.c): Likewise.
17922 (CFLAGS-locfile.c): Likewise.
17923 (CFLAGS-charmap-dir.c): Likewise.
17924 * login/Makefile (CFLAGS-grantpt.c): Likewise.
17925 (CFLAGS-getpt.c): Likewise.
17926 (CFLAGS-pt_chown.c): Likewise.
17927 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
17928 (CFLAGS-obstack.c): Likewise.
17929 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
17930 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
17931 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
17932 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
17933 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
17934 (CFLAGS-test-tgmath.c): Likewise.
17935 (CFLAGS-test-tgmath2.c): Likewise.
17936 (CFLAGS-test-tgmath-ret.c): Likewise.
17937 (CFLAGS-test-powl.c): Likewise.
17938 (CFLAGS-test-snan.c): Likewise.
17939 (CFLAGS-test-signgam-finite.c): Likewise.
17940 (CFLAGS-test-signgam-finite-c99.c): Likewise.
17941 (CFLAGS-test-signgam-finite-c11.c): Likewise.
17942 (CFLAGS-test-signgam-uchar.c): Likewise.
17943 (CFLAGS-test-signgam-uchar-init.c): Likewise.
17944 (CFLAGS-test-signgam-uchar-static.c): Likewise.
17945 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
17946 (CFLAGS-test-signgam-uint.c): Likewise.
17947 (CFLAGS-test-signgam-uint-init.c): Likewise.
17948 (CFLAGS-test-signgam-uint-static.c): Likewise.
17949 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
17950 (CFLAGS-test-signgam-ullong.c): Likewise.
17951 (CFLAGS-test-signgam-ullong-init.c): Likewise.
17952 (CFLAGS-test-signgam-ullong-static.c): Likewise.
17953 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
17954 (CFLAGS-test-math-cxx11.cc): Likewise.
17955 (CFLAGS-test-math-isinff.cc): Likewise.
17956 (CFLAGS-test-math-iszero.cc): Likewise.
17957 (CFLAGS-test-math-issignaling.cc): Likewise.
17958 (CFLAGS-test-math-iscanonical.cc): Likewise.
17959 (CFLAGS-test-iszero-excess-precision.c): Likewise.
17960 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
17961 (CFLAGS-test-flt-eval-method.c): Likewise.
17962 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
17963 (CFLAGS-test-finite-macros.c): Likewise.
17964 * misc/Makefile (CFLAGS-select.c): Likewise.
17965 (CFLAGS-tsearch.c): Likewise.
17966 (CFLAGS-lsearch.c): Likewise.
17967 (CFLAGS-pselect.c): Likewise.
17968 (CFLAGS-readv.c): Likewise.
17969 (CFLAGS-writev.c): Likewise.
17970 (CFLAGS-preadv.c): Likewise.
17971 (CFLAGS-preadv64.c): Likewise.
17972 (CFLAGS-pwritev.c): Likewise.
17973 (CFLAGS-pwritev64.c): Likewise.
17974 (CFLAGS-preadv2.c): Likewise.
17975 (CFLAGS-preadv64v2.c): Likewise.
17976 (CFLAGS-pwritev2.c): Likewise.
17977 (CFLAGS-pwritev64v2.c): Likewise.
17978 (CFLAGS-usleep.c): Likewise.
17979 (CFLAGS-syslog.c): Likewise.
17980 (CFLAGS-error.c): Likewise.
17981 (CFLAGS-getpass.c): Likewise.
17982 (CFLAGS-mkstemp.c): Likewise.
17983 (CFLAGS-mkstemp64.c): Likewise.
17984 (CFLAGS-getsysstats.c): Likewise.
17985 (CFLAGS-getusershell.c): Likewise.
17986 (CFLAGS-err.c): Likewise.
17987 (CFLAGS-tst-tsearch.c): Likewise.
17988 (CFLAGS-msync.c): Likewise.
17989 (CFLAGS-fdatasync.c): Likewise.
17990 (CFLAGS-fsync.c): Likewise.
17991 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
17992 (CFLAGS-unwind.c): Likewise.
17993 (CFLAGS-unwind-forcedunwind.c): Likewise.
17994 (CFLAGS-pthread_cancel.c): Likewise.
17995 (CFLAGS-pthread_setcancelstate.c): Likewise.
17996 (CFLAGS-pthread_setcanceltype.c): Likewise.
17997 (CFLAGS-cancellation.c): Likewise.
17998 (CFLAGS-libc-cancellation.c): Likewise.
17999 (CFLAGS-pthread_exit.c): Likewise.
18000 (CFLAGS-forward.c): Likewise.
18001 (CFLAGS-pthread_testcancel.c): Likewise.
18002 (CFLAGS-pthread_join.c): Likewise.
18003 (CFLAGS-pthread_timedjoin.c): Likewise.
18004 (CFLAGS-pthread_once.c): Likewise.
18005 (CFLAGS-pthread_cond_wait.c): Likewise.
18006 (CFLAGS-sem_wait.c): Likewise.
18007 (CFLAGS-sem_timedwait.c): Likewise.
18008 (CFLAGS-fcntl.c): Likewise.
18009 (CFLAGS-lockf.c): Likewise.
18010 (CFLAGS-pread.c): Likewise.
18011 (CFLAGS-pread64.c): Likewise.
18012 (CFLAGS-pwrite.c): Likewise.
18013 (CFLAGS-pwrite64.c): Likewise.
18014 (CFLAGS-wait.c): Likewise.
18015 (CFLAGS-waitpid.c): Likewise.
18016 (CFLAGS-sigwait.c): Likewise.
18017 (CFLAGS-msgrcv.c): Likewise.
18018 (CFLAGS-msgsnd.c): Likewise.
18019 (CFLAGS-tcdrain.c): Likewise.
18020 (CFLAGS-open.c): Likewise.
18021 (CFLAGS-open64.c): Likewise.
18022 (CFLAGS-pause.c): Likewise.
18023 (CFLAGS-recv.c): Likewise.
18024 (CFLAGS-send.c): Likewise.
18025 (CFLAGS-accept.c): Likewise.
18026 (CFLAGS-sendto.c): Likewise.
18027 (CFLAGS-connect.c): Likewise.
18028 (CFLAGS-recvfrom.c): Likewise.
18029 (CFLAGS-recvmsg.c): Likewise.
18030 (CFLAGS-sendmsg.c): Likewise.
18031 (CFLAGS-close.c): Likewise.
18032 (CFLAGS-read.c): Likewise.
18033 (CFLAGS-write.c): Likewise.
18034 (CFLAGS-nanosleep.c): Likewise.
18035 (CFLAGS-sigsuspend.c): Likewise.
18036 (CFLAGS-msync.c): Likewise.
18037 (CFLAGS-fdatasync.c): Likewise.
18038 (CFLAGS-fsync.c): Likewise.
18039 (CFLAGS-pt-system.c): Likewise.
18040 (CFLAGS-tst-cleanup2.c): Likewise.
18041 (CFLAGS-tst-cleanupx2.c): Likewise.
18042 (CFLAGS-flockfile.c): Likewise.
18043 (CFLAGS-ftrylockfile.c): Likewise.
18044 (CFLAGS-funlockfile.c): Likewise.
18045 (CFLAGS-tst-initializers1.c): Likewise.
18046 (CFLAGS-tst-initializers1-c89.c): Likewise.
18047 (CFLAGS-tst-initializers1-c99.c): Likewise.
18048 (CFLAGS-tst-initializers1-c11.c): Likewise.
18049 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18050 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18051 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18052 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18053 (CFLAGS-nscd_getgr_r.c): Likewise.
18054 (CFLAGS-nscd_gethst_r.c): Likewise.
18055 (CFLAGS-nscd_getai.c): Likewise.
18056 (CFLAGS-nscd_initgroups.c): Likewise.
18057 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18058 (CFLAGS-pause.c): Likewise.
18059 (CFLAGS-pread.c): Likewise.
18060 (CFLAGS-pread64.c): Likewise.
18061 (CFLAGS-pwrite.c): Likewise.
18062 (CFLAGS-pwrite64.c): Likewise.
18063 (CFLAGS-sleep.c): Likewise.
18064 (CFLAGS-wait.c): Likewise.
18065 (CFLAGS-waitid.c): Likewise.
18066 (CFLAGS-waitpid.c): Likewise.
18067 (CFLAGS-getopt.c): Likewise.
18068 (CFLAGS-wordexp.c): Likewise.
18069 (CFLAGS-sysconf.c): Likewise.
18070 (CFLAGS-pathconf.c): Likewise.
18071 (CFLAGS-fpathconf.c): Likewise.
18072 (CFLAGS-spawn.c): Likewise.
18073 (CFLAGS-spawnp.c): Likewise.
18074 (CFLAGS-spawni.c): Likewise.
18075 (CFLAGS-glob.c): Likewise.
18076 (CFLAGS-glob64.c): Likewise.
18077 (CFLAGS-getconf.c): Likewise.
18078 (CFLAGS-nanosleep.c): Likewise.
18079 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18080 (CFLAGS-getpwent.c): Likewise.
18081 (CFLAGS-getpw.c): Likewise.
18082 (CFLAGS-fgetpwent_r.c): Likewise.
18083 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18084 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18085 (CFLAGS-mq_timedreceive.c): Likewise.
18086 (CFLAGS-mq_timedsend.c): Likewise.
18087 (CFLAGS-clock_nanosleep.c): Likewise.
18088 (CFLAGS-librt-cancellation.c): Likewise.
18089 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18090 (CFLAGS-getspent.c): Likewise.
18091 (CFLAGS-fgetspent.c): Likewise.
18092 (CFLAGS-fgetspent_r.c): Likewise.
18093 (CFLAGS-putspent.c): Likewise.
18094 (CFLAGS-getspnam.c): Likewise.
18095 (CFLAGS-getspnam_r.c): Likewise.
18096 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18097 (CFLAGS-sigsuspend.c): Likewise.
18098 (CFLAGS-sigtimedwait.c): Likewise.
18099 (CFLAGS-sigwait.c): Likewise.
18100 (CFLAGS-sigwaitinfo.c): Likewise.
18101 (CFLAGS-sigreturn.c): Likewise.
18102 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18103 (CFLAGS-vfwprintf.c): Likewise.
18104 (CFLAGS-tmpfile.c): Likewise.
18105 (CFLAGS-tmpfile64.c): Likewise.
18106 (CFLAGS-tempname.c): Likewise.
18107 (CFLAGS-psignal.c): Likewise.
18108 (CFLAGS-vprintf.c): Likewise.
18109 (CFLAGS-cuserid.c): Likewise.
18110 (CFLAGS-errlist.c): Likewise.
18111 (CFLAGS-siglist.c): Likewise.
18112 (CFLAGS-scanf15.c): Likewise.
18113 (CFLAGS-scanf17.c): Likewise.
18114 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18115 (CFLAGS-msort.c): Likewise.
18116 (CFLAGS-qsort.c): Likewise.
18117 (CFLAGS-system.c): Likewise.
18118 (CFLAGS-fmtmsg.c): Likewise.
18119 (CFLAGS-strfmon.c): Likewise.
18120 (CFLAGS-strfmon_l.c): Likewise.
18121 (CFLAGS-strfromd.c): Likewise.
18122 (CFLAGS-strfromf.c): Likewise.
18123 (CFLAGS-strfroml.c): Likewise.
18124 (CFLAGS-tst-bsearch.c): Likewise.
18125 (CFLAGS-tst-qsort.c): Likewise.
18126 (CFLAGS-tst-makecontext2.c): Likewise.
18127 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18128 (CFLAGS-xnlm_prot.c): Likewise.
18129 (CFLAGS-xrstat.c): Likewise.
18130 (CFLAGS-xyppasswd.c): Likewise.
18131 (CFLAGS-xklm_prot.c): Likewise.
18132 (CFLAGS-xrex.c): Likewise.
18133 (CFLAGS-xsm_inter.c): Likewise.
18134 (CFLAGS-xmount.c): Likewise.
18135 (CFLAGS-xrusers.c): Likewise.
18136 (CFLAGS-xspray.c): Likewise.
18137 (CFLAGS-xnfs_prot.c): Likewise.
18138 (CFLAGS-xrquota.c): Likewise.
18139 (CFLAGS-xkey_prot.c): Likewise.
18140 (CFLAGS-auth_unix.c): Likewise.
18141 (CFLAGS-key_call.c): Likewise.
18142 (CFLAGS-pmap_rmt.c): Likewise.
18143 (CFLAGS-clnt_perr.c): Likewise.
18144 (CFLAGS-openchild.c): Likewise.
18145 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18146 (CFLAGS-msgsnd.c): Likewise.
18147 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18148 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18149 (CFLAGS-tzset.c): Likewise.
18150 (CFLAGS-getdate.c): Likewise.
18151 (CFLAGS-test_time.c): Likewise.
18152 (CPPFLAGS-tst-tzname.c): Likewise.
18153 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18154 (CFLAGS-zic.c): Likewise.
18155 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18156 (CFLAGS-wcswidth.c): Likewise.
18157 (CFLAGS-wcstol.c): Likewise.
18158 (CFLAGS-wcstoul.c): Likewise.
18159 (CFLAGS-wcstoll.c): Likewise.
18160 (CFLAGS-wcstoull.c): Likewise.
18161 (CFLAGS-wcstod.c): Likewise.
18162 (CFLAGS-wcstold.c): Likewise.
18163 (CFLAGS-wcstof128.c): Likewise.
18164 (CFLAGS-wcstof.c): Likewise.
18165 (CFLAGS-wcstol_l.c): Likewise.
18166 (CFLAGS-wcstoul_l.c): Likewise.
18167 (CFLAGS-wcstoll_l.c): Likewise.
18168 (CFLAGS-wcstoull_l.c): Likewise.
18169 (CFLAGS-wcstod_l.c): Likewise.
18170 (CFLAGS-wcstold_l.c): Likewise.
18171 (CFLAGS-wcstof128_l.c): Likewise.
18172 (CFLAGS-wcstof_l.c): Likewise.
18173 (CPPFLAGS-tst-wchar-h.c): Likewise.
18174 (CPPFLAGS-wcstold_l.c): Likewise.
18176 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18178 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18180 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18181 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18183 * manual/tunables.texi (Hardware Capability Tunables): Document
18184 glibc.tune.cached_memopt.
18185 * sysdeps/powerpc/cpu-features.c: New file.
18186 * sysdeps/powerpc/cpu-features.h: New file.
18187 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18188 _dl_powerpc_cpu_features.
18189 * sysdeps/powerpc/dl-tunables.list: New file.
18190 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18191 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18192 (INIT_ARCH): Initialize use_aligned_memopt.
18193 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18194 IS_IN(rtld))]: Restrict dl_platform_init availability and
18195 initialize CPU features used by tunables.
18196 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18197 Add memcpy-power8-cached.
18198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18199 __memcpy_power8_cached.
18200 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18201 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18204 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18206 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18207 (CFLAGS-noinl-tester.c): Likewise.
18208 (CFLAGS-tst-strlen.c): Likewise.
18209 (CFLAGS-stratcliff.c): Likewise.
18210 (CFLAGS-test-ffs.c): Likewise.
18211 (CFLAGS-tst-inlcall.c): Likewise.
18212 (CFLAGS-tst-xbzero-opt.c): Likewise.
18213 (CFLAGS-memcpy.c): Likewise.
18214 (CFLAGS-wordcopy.c): Likewise.
18216 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18218 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18219 Store r15 on stack and add cfi rule.
18220 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18223 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18226 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18229 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18231 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18232 Add s_sinf-sse2 and s_sinf-fma.
18233 (CFLAGS-s_sinf-fma.c): New.
18234 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18235 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18236 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18238 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18240 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18242 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18245 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18246 part of result to imaginary part of argument if it is zero and the
18247 real part of the argument is not finite.
18248 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18249 of result to real part of argument if it is zero and the imaginary
18250 part of the argument is not finite.
18252 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18255 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18256 and to the list of locales to be built for testing.
18257 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18258 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18259 and build the collation rules upon that.
18261 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18263 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18264 * manual/math.texi (Mathematics): Document support for _Float32.
18265 * math/Makefile (test-types): Add float32.
18266 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18267 * stdlib/Versions (GLIBC_2.27): Likewise.
18268 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18269 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18270 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18271 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18272 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18273 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18274 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18275 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18276 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18277 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18278 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18279 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18280 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18281 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18282 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18283 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18284 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18285 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18286 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18287 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18288 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18289 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18291 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18292 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18293 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18294 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18295 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18313 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18314 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18315 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18316 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18317 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18318 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18319 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18320 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18321 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18322 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18331 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18332 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18333 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18334 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18335 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18336 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18337 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18338 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18340 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18342 * stdlib/strtof.c: Include <bits/floatn.h>
18343 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18344 and later undefine as macro. Define as weak alias if
18346 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18347 and later undefine as macro. Define as weak alias if
18349 * stdlib/strtof_l.c: Include <bits/floatn.h>
18350 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18351 and later undefine as macro. Define as weak alias if
18353 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18354 and later undefine as macro. Define as weak alias if
18357 * stdlib/strfromf.c: Include <bits/floatn.h>.
18358 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18359 and later undefine as macro and define as weak alias.
18361 * math/test-float32.h: New file.
18363 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18364 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18365 (libm_alias_float_other_r): Create f32 alias.
18366 (libm_alias_float_r): Use semicolon before call to
18367 libm_alias_float_other_r.
18369 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18370 second argument to libm_alias_float_other.
18371 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18372 second argument to libm_alias_float_other.
18373 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18374 argument to libm_alias_float_other.
18377 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18378 real part of result for argument 0 + i * NaN.
18379 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18380 results for tests of 0 + i * NaN.
18382 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18384 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18386 2017-12-06 David S. Miller <davem@davemloft.net>
18388 * sysdeps/sparc/fpu/libm-test-ulps: Update
18389 exp_{downward,towardzero,upward} ulps.
18391 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18393 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18396 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18398 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18400 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18402 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18405 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18408 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18409 and to the list of locales to be built for testing.
18410 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18411 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18412 and build the collation rules upon that.
18414 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18416 * NEWS: Add sinf to list of optimized functions.
18418 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18420 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18421 (__HAVE_FLOAT32X): Likewise.
18422 * manual/math.texi (Mathematics): Document support for _Float64
18424 * math/Makefile (test-types): Add float64 and float32x.
18425 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18427 * stdlib/Versions (GLIBC_2.27): Likewise.
18428 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18429 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18430 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18431 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18432 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18433 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18434 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18435 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18436 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18437 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18438 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18439 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18440 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18441 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18442 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18443 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18444 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18445 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18446 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18447 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18448 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18449 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18451 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18452 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18453 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18454 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18455 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18472 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18473 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18474 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18475 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18476 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18477 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18478 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18479 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18480 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18481 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18490 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18491 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18492 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18493 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18494 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18495 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18496 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18497 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18499 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18501 * bits/floatn-common.h: Include <bits/long-double.h>.
18502 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18503 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18504 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18505 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18506 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18507 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18508 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18509 (__builtin_huge_valf64): Use __builtin_huge_vall.
18510 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18511 (__builtin_inff64): Use __builtin_infl.
18512 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18513 (__builtin_nanf64): Use __builtin_nanl.
18514 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18515 (__builtin_nansf64): Use __builtin_nansl.
18517 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18518 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18519 Carlos O'Donnell <carlos@redhat.com>
18521 * elf/dl-tunables.list: Add elision parameters.
18522 * manual/tunables.texi: Add entries about elision tunable.
18523 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18524 Add callback functions to dynamically enable/disable elision.
18525 Add multiple callbacks functions to set elision parameters.
18526 Deleted __libc_enable_secure check.
18527 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18528 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18529 * configure: Regenerated.
18530 * configure.ac: Option enable_lock_elision was deleted.
18531 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18532 * config.make.in: Remove references to enable_lock_elision.
18533 * manual/install.texi: Elision configure option was removed.
18534 * INSTALL: Regenerated to remove enable_lock_elision.
18536 Disable elision so it can verify error case for destroying a mutex.
18537 * sysdeps/powerpc/nptl/elide.h:
18538 Cleanup ENABLE_LOCK_ELISION check.
18539 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18540 * sysdeps/s390/configure: Regenerated.
18541 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18542 * nptl/tst-mutex8.c:
18543 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18544 * sysdeps/powerpc/powerpc32/sysdep.h:
18545 Deleted all ENABLE_LOCK_ELISION checks.
18546 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18547 * sysdeps/powerpc/sysdep.h: Likewise.
18548 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18549 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18550 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18551 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18552 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18553 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18554 enable-lock-elision.
18556 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18558 * stdlib/strtod.c: Include <bits/floatn.h>.
18559 (BUILD_DOUBLE): New macro.
18560 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18561 (strtof64): Define and later undefine as macro. Define as weak
18562 alias if [!USE_WIDE_CHAR].
18563 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18564 (wcstof64): Define and later undefine as macro. Define as weak
18565 alias if [USE_WIDE_CHAR].
18566 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18567 (strtof32x): Define and later undefine as macro. Define as weak
18568 alias if [!USE_WIDE_CHAR].
18569 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18570 (wcstof32x): Define and later undefine as macro. Define as weak
18571 alias if [USE_WIDE_CHAR].
18572 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18573 (BUILD_DOUBLE): New macro.
18574 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18575 (strtof64_l): Define and later undefine as macro. Define as weak
18576 alias if [!USE_WIDE_CHAR].
18577 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18578 (wcstof64_l): Define and later undefine as macro. Define as weak
18579 alias if [USE_WIDE_CHAR].
18580 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18581 (strtof32x_l): Define and later undefine as macro. Define as weak
18582 alias if [!USE_WIDE_CHAR].
18583 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18584 (wcstof32x_l): Define and later undefine as macro. Define as weak
18585 alias if [USE_WIDE_CHAR].
18587 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18589 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18590 (reduced): Use ones as double instead of integer.
18592 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18594 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18596 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18598 * stdlib/strfromd.c: Include <bits/floatn.h>.
18599 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18600 and later undefine as macro and define as weak alias.
18601 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18604 * math/test-float32x.h: New file.
18605 * math/test-float64.h: Likewise.
18607 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18608 (libm_alias_double_other_r_f64): New macro.
18609 (libm_alias_double_other_r_f32x): Likewise.
18610 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18611 libm_alias_double_other_r_f32x.
18612 (libm_alias_double_r): Use semicolon before call to
18613 libm_alias_double_other_r.
18614 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18616 (libm_alias_double_other_r_f64): New macro.
18617 (libm_alias_double_other_r_f32x): Likewise.
18618 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18619 libm_alias_double_other_r_f32x.
18621 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18623 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18625 (SINF_FUNC): Likewise. Replace floor with simple casts.
18627 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18630 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18631 and to the list of locales to be built for testing.
18632 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18633 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18634 and build the collation rules upon that.
18636 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18638 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18639 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18640 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18641 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18642 instead of __insn__xxx.
18643 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18644 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18645 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18646 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18647 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18648 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18650 2017-12-05 Florian Weimer <fweimer@redhat.com>
18652 Linux: Implement interfaces for memory protection keys
18653 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18655 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18656 * support/xunistd.h (xsysconf): Declare.
18657 * support/xraise.c: New file.
18658 * support/xsigaction.c: Likewise.
18659 * support/xsignal.c: Likewise.
18660 * support/xsysconf.c: Likewise.
18661 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18662 pkey_set, pkey_get, pkey_mprotect.
18663 [misc] (tests): Add tst-pkey.
18664 (tst-pkey): Link with -lpthread.
18665 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18666 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18667 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18668 (PKEY_DISABLE_WRITE): Define.
18669 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18671 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18672 (SEGV_PKUERR): Add.
18673 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18674 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18675 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18676 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18678 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18679 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18680 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18681 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18682 * sysdeps/unix/sysv/linux/**.abilist: Update.
18684 2017-12-05 Florian Weimer <fweimer@redhat.com>
18686 * support/tst-test_compare.c (subprocess): Use long long instead
18687 of long argument for consistent type width across 32-bit and
18688 64-bit architectures.
18689 (do_test): Adjust expected output.
18691 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18693 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18694 (cosf): Define using libm_alias_float.
18695 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18696 (fabsf): Define using libm_alias_float.
18697 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18698 (fmaf): Define using libm_alias_float.
18699 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18700 (rintf): Define using libm_alias_float.
18701 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18702 (sinf): Define using libm_alias_float.
18703 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18704 <libm-alias-float.h>.
18705 (modff): Define using libm_alias_float.
18706 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18707 <libm-alias-float.h>.
18708 (logbf): Define using libm_alias_float.
18709 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18710 <libm-alias-float.h>.
18711 (ceilf): Define using libm_alias_float.
18712 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18713 <libm-alias-float.h>.
18714 (copysignf): Define using libm_alias_float.
18715 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18716 <libm-alias-float.h>.
18717 (floorf): Define using libm_alias_float.
18718 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18719 <libm-alias-float.h>.
18720 (llrintf): Define using libm_alias_float.
18721 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18722 <libm-alias-float.h>.
18723 (llroundf): Define using libm_alias_float.
18724 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18725 <libm-alias-float.h>.
18726 (lrintf): Define using libm_alias_float.
18727 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18728 <libm-alias-float.h>.
18729 (lroundf): Define using libm_alias_float.
18730 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18731 <libm-alias-float.h>.
18732 (nearbyintf): Define using libm_alias_float.
18733 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18734 <libm-alias-float.h>.
18735 (rintf): Define using libm_alias_float.
18736 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18737 <libm-alias-float.h>.
18738 (roundf): Define using libm_alias_float.
18739 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18740 <libm-alias-float.h>.
18741 (truncf): Define using libm_alias_float.
18742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18743 Include <libm-alias-float.h>.
18744 (ceilf): Define using libm_alias_float.
18745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18746 Include <libm-alias-float.h>.
18747 (copysignf): Define using libm_alias_float.
18748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18749 Include <libm-alias-float.h>.
18750 (floorf): Define using libm_alias_float.
18751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18752 Include <libm-alias-float.h>.
18753 (llrintf): Define using libm_alias_float.
18754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18755 Include <libm-alias-float.h>.
18756 (llroundf): Define using libm_alias_float.
18757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18758 Include <libm-alias-float.h>.
18759 (logbf): Define using libm_alias_float.
18760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18761 Include <libm-alias-float.h>.
18762 (lrintf): Define using libm_alias_float.
18763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18764 Include <libm-alias-float.h>.
18765 (lroundf): Define using libm_alias_float.
18766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18767 Include <libm-alias-float.h>.
18768 (modff): Define using libm_alias_float.
18769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18770 Include <libm-alias-float.h>.
18771 (roundf): Define using libm_alias_float.
18772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18773 Include <libm-alias-float.h>.
18774 (truncf): Define using libm_alias_float.
18775 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18776 <libm-alias-float.h>.
18777 (llrintf): Define using libm_alias_float.
18778 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18779 <libm-alias-float.h>.
18780 (llroundf): Define using libm_alias_float.
18781 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18782 <libm-alias-float.h>.
18783 (ceilf): Define using libm_alias_float.
18784 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18785 <libm-alias-float.h>.
18786 (floorf): Define using libm_alias_float.
18787 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18788 <libm-alias-float.h>.
18789 (llroundf): Define using libm_alias_float.
18790 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18791 <libm-alias-float.h>.
18792 (lroundf): Define using libm_alias_float.
18793 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18794 <libm-alias-float.h>.
18795 (roundf): Define using libm_alias_float.
18796 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18797 <libm-alias-float.h>.
18798 (truncf): Define using libm_alias_float.
18799 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18800 <libm-alias-float.h>.
18801 (copysignf): Define using libm_alias_float.
18802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18803 <libm-alias-float.h>.
18804 (llrintf): Define using libm_alias_float.
18805 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18806 <libm-alias-float.h>.
18807 (llroundf): Define using libm_alias_float.
18808 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18809 <libm-alias-float.h>.
18810 (lrintf): Define using libm_alias_float.
18811 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18812 <libm-alias-float.h>.
18813 (lroundf): Define using libm_alias_float.
18814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18815 <libm-alias-float.h>.
18816 (ceilf): Define using libm_alias_float.
18817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18818 <libm-alias-float.h>.
18819 (copysignf): Define using libm_alias_float.
18820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18821 <libm-alias-float.h>.
18822 (cosf): Define using libm_alias_float.
18823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18824 <libm-alias-float.h>.
18825 (floorf): Define using libm_alias_float.
18826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18827 <libm-alias-float.h>.
18828 (llrintf): Define using libm_alias_float.
18829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18830 <libm-alias-float.h>.
18831 (llroundf): Define using libm_alias_float.
18832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18833 <libm-alias-float.h>.
18834 (logbf): Define using libm_alias_float.
18835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18836 <libm-alias-float.h>.
18837 (modff): Define using libm_alias_float.
18838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18839 <libm-alias-float.h>.
18840 (roundf): Define using libm_alias_float.
18841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18842 <libm-alias-float.h>.
18843 (sinf): Define using libm_alias_float.
18844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
18845 <libm-alias-float.h>.
18846 (truncf): Define using libm_alias_float.
18847 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
18848 <libm-alias-float.h>.
18849 (ceilf): Define using libm_alias_float.
18850 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
18851 <libm-alias-float.h>.
18852 (copysignf): Define using libm_alias_float.
18853 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
18854 <libm-alias-float.h>.
18855 (floorf): Define using libm_alias_float.
18856 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
18857 <libm-alias-float.h>.
18858 (llrintf): Define using libm_alias_float.
18859 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
18860 <libm-alias-float.h>.
18861 (llroundf): Define using libm_alias_float.
18862 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
18863 <libm-alias-float.h>.
18864 (nearbyintf): Define using libm_alias_float.
18865 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
18866 <libm-alias-float.h>.
18867 (rintf): Define using libm_alias_float.
18868 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
18869 <libm-alias-float.h>.
18870 (roundf): Define using libm_alias_float.
18871 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
18872 <libm-alias-float.h>.
18873 (truncf): Define using libm_alias_float.
18874 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
18875 <libm-alias-float.h>.
18876 (ceilf): Define using libm_alias_float.
18877 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
18878 <libm-alias-float.h>.
18879 (floorf): Define using libm_alias_float.
18880 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
18881 <libm-alias-float.h>.
18882 (llroundf): Define using libm_alias_float.
18883 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
18884 <libm-alias-float.h>.
18885 (roundf): Define using libm_alias_float.
18886 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
18887 <libm-alias-float.h>.
18888 (truncf): Define using libm_alias_float.
18889 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
18890 <libm-alias-float.h>.
18891 (copysignf): Define using libm_alias_float.
18892 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
18893 <libm-alias-float.h>.
18894 (llrintf): Define using libm_alias_float.
18895 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
18896 <libm-alias-float.h>.
18897 (llroundf): Define using libm_alias_float.
18898 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
18899 <libm-alias-float.h>.
18900 (cosf): Define using libm_alias_float.
18901 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
18902 <libm-alias-float.h>.
18903 (llrintf): Define using libm_alias_float.
18904 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
18905 <libm-alias-float.h>.
18906 (llroundf): Define using libm_alias_float.
18907 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
18908 <libm-alias-float.h>.
18909 (sinf): Define using libm_alias_float.
18911 2017-12-04 Florian Weimer <fweimer@redhat.com>
18913 * support/check.h (TEST_COMPARE): Define.
18914 (support_test_compare_failure): Declare.
18915 * support/Makefile (libsupport-routines): Add
18916 support_test_compare_failure.
18917 (tests): Add tst-test_compare.
18918 * support /support_test_compare_failure.c: New file.
18919 * support/tst-test_compare.c: Likewise.
18921 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18924 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
18925 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
18926 available, this rewrite of the collation rules does reproduce
18927 the test file in the same order.
18929 2017-12-04 Mike FABIAN <mfabian@redhat.com>
18932 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
18933 digraphs in the month and day names. Using single code points for
18934 digraphs is deprecated. While there are dedicated Unicode
18935 codepoints, for the digraphs, these are included for backwards
18936 compatibility and modern texts use a sequence of Basic Latin
18937 characters. See: https://www.unicode.org/faq/ligature_digraph.html
18938 This makes the month and day names agree exactly with CLDR now,
18939 CLDR does not use the single code points for the digraphs either.
18941 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
18943 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
18945 2017-12-04 Joseph Myers <joseph@codesourcery.com>
18947 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
18950 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
18952 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
18953 Define only for libc.so.
18955 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
18957 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18958 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
18959 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
18960 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
18961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18963 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18966 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
18968 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
18971 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
18972 PREINIT_FUNCTION_WEAK is nonzero.
18973 (gmon_initializer): New function. Put procedure label for it in
18974 .init_array section.
18975 (_init): Don't call PREINIT_FUNCTION.
18976 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
18977 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
18978 value when map argument is null.
18980 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
18981 depi instruction from PIC pc-relative sequence.
18982 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
18983 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
18984 (elf_machine_load_address): Likewise.
18985 (elf_machine_runtime_setup): Likewise.
18987 2017-12-02 Joseph Myers <joseph@codesourcery.com>
18989 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
18990 <libm-alias-double.h>.
18991 (logb): Define using libm_alias_double.
18992 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18993 <libm-alias-double.h>.
18994 (copysign): Define using libm_alias_double.
18995 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
18996 <libm-alias-double.h>.
18997 (llrint): Define using libm_alias_double.
18998 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
18999 <libm-alias-double.h>.
19000 (llround): Define using libm_alias_double.
19001 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19002 <libm-alias-double.h>.
19003 (lrint): Define using libm_alias_double.
19004 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19005 <libm-alias-double.h>.
19006 (lround): Define using libm_alias_double.
19007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19008 Include <libm-alias-double.h>.
19009 (copysign): Define using libm_alias_double.
19010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19011 Include <libm-alias-double.h>.
19012 (llrint): Define using libm_alias_double.
19013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19014 Include <libm-alias-double.h>.
19015 (llround): Define using libm_alias_double.
19016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19017 <libm-alias-double.h>.
19018 (logb): Define using libm_alias_double.
19019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19020 Include <libm-alias-double.h>.
19021 (lrint): Define using libm_alias_double.
19022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19023 Include <libm-alias-double.h>.
19024 (lround): Define using libm_alias_double.
19025 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19026 <libm-alias-double.h>.
19027 (llrint): Define using libm_alias_double.
19028 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19029 <libm-alias-double.h>.
19030 (llround): Define using libm_alias_double.
19031 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19032 <libm-alias-double.h>.
19033 (llround): Define using libm_alias_double.
19034 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19035 <libm-alias-double.h>.
19036 (lround): Define using libm_alias_double.
19037 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19038 <libm-alias-double.h>.
19039 (copysign): Define using libm_alias_double.
19040 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19041 <libm-alias-double.h>.
19042 (llrint): Define using libm_alias_double.
19043 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19044 <libm-alias-double.h>.
19045 (llround): Define using libm_alias_double.
19046 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19047 <libm-alias-double.h>.
19048 (lrint): Define using libm_alias_double.
19049 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19050 <libm-alias-double.h>.
19051 (lround): Define using libm_alias_double.
19052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19053 <libm-alias-double.h>.
19054 (copysign): Define using libm_alias_double.
19055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19056 <libm-alias-double.h>.
19057 (llrint): Define using libm_alias_double.
19059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19060 <libm-alias-double.h>.
19061 (llround): Define using libm_alias_double.
19062 (lround): Likewise.
19063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19064 <libm-alias-double.h>.
19065 (logb): Define using libm_alias_double.
19066 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19067 <libm-alias-double.h>.
19068 (copysign): Define using libm_alias_double.
19069 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19070 <libm-alias-double.h>.
19071 (llrint): Define using libm_alias_double.
19073 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19074 <libm-alias-double.h>.
19075 (llround): Define using libm_alias_double.
19076 (lround): Likewise.
19077 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19078 <libm-alias-double.h>.
19079 (llround): Define using libm_alias_double.
19080 (lround): Likewise.
19081 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19082 <libm-alias-double.h>.
19083 (copysign): Define using libm_alias_double.
19084 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19085 <libm-alias-double.h>.
19086 (llrint): Define using libm_alias_double.
19088 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19089 <libm-alias-double.h>.
19090 (llround): Define using libm_alias_double.
19091 (lround): Likewise.
19092 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19093 <libm-alias-double.h>.
19094 (llrint): Define using libm_alias_double.
19096 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19097 <libm-alias-double.h>.
19098 (llround): Define using libm_alias_double.
19099 (lround): Likewise.
19101 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19104 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19105 compat symbol based on llround.
19107 * sysdeps/powerpc/power7/fpu/s_logb.c
19108 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19109 symbol based on __logb, not on logb.
19110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19111 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19113 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19115 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19116 (rint): Define using libm_alias_double.
19117 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19118 <libm-alias-double.h>.
19119 (modf): Define using libm_alias_double.
19120 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19121 <libm-alias-double.h>.
19122 (ceil): Define using libm_alias_double.
19123 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19124 <libm-alias-double.h>.
19125 (floor): Define using libm_alias_double.
19126 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19127 <libm-alias-double.h>.
19128 (nearbyint): Define using libm_alias_double.
19129 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19130 <libm-alias-double.h>.
19131 (rint): Define using libm_alias_double.
19132 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19133 <libm-alias-double.h>.
19134 (round): Define using libm_alias_double.
19135 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19136 <libm-alias-double.h>.
19137 (trunc): Define using libm_alias_double.
19138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19139 <libm-alias-double.h>.
19140 (ceil): Define using libm_alias_double.
19141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19142 Include <libm-alias-double.h>.
19143 (floor): Define using libm_alias_double.
19144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19145 <libm-alias-double.h>.
19146 (modf): Define using libm_alias_double.
19147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19148 Include <libm-alias-double.h>.
19149 (round): Define using libm_alias_double.
19150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19151 Include <libm-alias-double.h>.
19152 (trunc): Define using libm_alias_double.
19153 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19154 <libm-alias-double.h>.
19155 (ceil): Define using libm_alias_double.
19156 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19157 <libm-alias-double.h>.
19158 (floor): Define using libm_alias_double.
19159 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19160 <libm-alias-double.h>.
19161 (round): Define using libm_alias_double.
19162 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19163 <libm-alias-double.h>.
19164 (trunc): Define using libm_alias_double.
19165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19166 <libm-alias-double.h>.
19167 (ceil): Define using libm_alias_double.
19168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19169 <libm-alias-double.h>.
19170 (floor): Define using libm_alias_double.
19171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19172 <libm-alias-double.h>.
19173 (modf): Define using libm_alias_double.
19174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19175 <libm-alias-double.h>.
19176 (round): Define using libm_alias_double.
19177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19178 <libm-alias-double.h>.
19179 (trunc): Define using libm_alias_double.
19180 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19181 <libm-alias-double.h>.
19182 (ceil): Define using libm_alias_double.
19183 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19184 <libm-alias-double.h>.
19185 (floor): Define using libm_alias_double.
19186 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19187 <libm-alias-double.h>.
19188 (nearbyint): Define using libm_alias_double.
19189 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19190 <libm-alias-double.h>.
19191 (rint): Define using libm_alias_double.
19192 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19193 <libm-alias-double.h>.
19194 (round): Define using libm_alias_double.
19195 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19196 <libm-alias-double.h>.
19197 (trunc): Define using libm_alias_double.
19198 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19199 <libm-alias-double.h>.
19200 (ceil): Define using libm_alias_double.
19201 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19202 <libm-alias-double.h>.
19203 (floor): Define using libm_alias_double.
19204 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19205 <libm-alias-double.h>.
19206 (round): Define using libm_alias_double.
19207 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19208 <libm-alias-double.h>.
19209 (trunc): Define using libm_alias_double.
19211 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19212 (fabs): Define using libm_alias_double.
19213 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19214 (fma): Define using libm_alias_double.
19215 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19216 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19217 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19218 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19220 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19222 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19224 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19225 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19226 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19229 due redirect macro.
19231 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19233 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19235 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19237 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19238 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19239 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19240 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19243 (libm-sysdep_routines): Add s_nearbyintf-generic and
19244 s_nearbyint-generic.
19245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19258 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19269 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19280 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19291 (sysdep_calls): New rule.
19292 (sysdep_routines): Use sysdep_calls as base.
19293 (libm-sysdep_routines): Add generic rule for symbols shared with
19294 libc. Add s_copysign-generic and s_copysign-generic objects.
19295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19304 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19307 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19308 the list of locales to be built for testing.
19309 * localedata/is_IS.UTF-8.in: New file.
19310 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19313 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19315 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19316 <libm-alias-float.h>.
19317 (fabsf): Define using libm_alias_float.
19319 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19321 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19323 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19325 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19326 <libm-alias-float.h>.
19327 (fabsf): Define using libm_alias_float.
19328 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19329 <libm-alias-float.h>.
19330 (lrintf): Define using libm_alias_float.
19331 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19332 <libm-alias-float.h>.
19333 (rintf): Define using libm_alias_float.
19335 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19336 <libm-alias-double.h>.
19337 (fabs): Define using libm_alias_double.
19338 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19339 <libm-alias-double.h>.
19340 (lrint): Define using libm_alias_double.
19341 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19342 <libm-alias-double.h>.
19343 (rint): Define using libm_alias_double.
19345 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19346 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19347 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19348 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19349 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19350 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19351 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19352 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19353 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19354 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19355 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19356 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19357 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19358 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19359 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19360 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19361 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19362 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19364 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19365 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19366 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19368 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19369 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19370 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19372 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19373 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19374 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19375 s_expm1_template.c.
19376 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19377 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19378 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19380 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19381 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19382 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19383 s_floor_template.c.
19384 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19385 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19386 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19387 s_frexp_template.c.
19388 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19389 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19390 s_lrint_template.c.
19391 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19392 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19393 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19395 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19396 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19397 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19398 s_nearbyint_template.c.
19399 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19400 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19401 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19402 s_remquo_template.c.
19403 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19404 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19405 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19407 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19408 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19409 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19411 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19412 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19413 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19414 s_sincos_template.c.
19415 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19416 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19417 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19419 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19420 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19421 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19423 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19424 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19425 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19426 s_trunc_template.c.
19427 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19428 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19429 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19430 s_atan.c instead of including s_atan.c.
19431 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19432 s_atanf.c instead of including s_atanf.c.
19433 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19434 s_atanl.c instead of including s_atanl.c.
19435 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19436 instead of s_atan.c.
19437 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19438 instead of s_atanf.c.
19439 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19440 instead of s_atanl.c.
19442 * scripts/update-copyrights: Do not handle intl/plural.c
19445 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19448 * configure.ac (BISON): Require to be present.
19449 * configure: Regenerated.
19450 * intl/Makefile (generated): Add plural.c.
19451 [$(BISON) != no]: Make code unconditional.
19452 (plural.c): Change rule to $(objpfx)plural.c.
19453 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19454 * intl/plural.c: Remove.
19455 * manual/install.texi (Tools for Compilation): Document bison as
19457 * INSTALL: Regenerated.
19459 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19461 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19462 <libm-alias-double.h>.
19463 (llrint): Define using libm_alias_double.
19464 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19465 <libm-alias-float.h>.
19466 (llrintf): Define using libm_alias_float.
19467 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19468 <libm-alias-ldouble.h>.
19469 (llrintl): Define using libm_alias_ldouble.
19471 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19472 declare_mgen_alias instead of weak_alias.
19473 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19474 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19475 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19477 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19479 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19481 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19482 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19483 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19485 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19486 Add submul_1-generic.
19487 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19488 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19489 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19491 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19492 Add addmul_1-generic.
19493 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19494 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19495 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19497 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19499 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19500 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19501 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19503 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19505 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19506 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19507 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19509 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19511 According to CLDR, collation rules for Serbian and Bosnian
19512 should be the same as for Croatian.
19515 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19516 and to the list of locales to be built for testing.
19517 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19518 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19519 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19520 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19522 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19524 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19525 to make test case pass.
19526 * localedata/hr_HR.UTF-8.in: Add more test strings.
19528 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19530 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19532 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19534 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19535 the list of locales to built for testing.
19536 * localedata/hr_HR.UTF-8.in: New file.
19538 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19541 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19543 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19544 CLDR (except use ligatures for the digraphs, CLDR does not use
19545 the ligatures), add first_workday, some fixes in the date and time
19547 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19549 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19550 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19551 Add int_p_cs_precedes and int_n_cs_precedes.
19552 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19553 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19555 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19556 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19558 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19559 and lang_lib. Change postal_fmt.
19561 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19563 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19565 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19566 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19567 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19568 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19569 * sysdeps/generic/setjmpP.h: New file.
19570 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19571 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19572 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19573 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19574 Add jmp_buf-ssp.sym.
19575 (tests): Add tst-saved_mask-1.
19577 2017-11-30 Arjun Shankar <arjun@redhat.com>
19581 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19582 instead of request2size.
19584 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19587 (__lllrint): Remove alias.
19588 (lllrint): Likewise.
19589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19590 (__lllrintf): Likewise.
19591 (lllrintf): Likewise.
19593 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19594 <libm-alias-float.h>.
19595 (copysignf): Define using libm_alias_float.
19596 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19597 <libm-alias-float.h>.
19598 (fabsf): Define using libm_alias_float.
19599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19600 Include <libm-alias-float.h>.
19601 (copysignf): Define using libm_alias_float.
19602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19603 <libm-alias-float.h>.
19604 (fabsf): Define using libm_alias_float.
19605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19606 <libm-alias-float.h>.
19607 (fdimf): Define using libm_alias_float.
19608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19609 <libm-alias-float.h>.
19610 (fmaf): Define using libm_alias_float.
19611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19612 <libm-alias-float.h>.
19613 (llrintf): Define using libm_alias_float.
19614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19615 Include <libm-alias-float.h>.
19616 (nearbyintf): Define using libm_alias_float.
19617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19618 <libm-alias-float.h>.
19619 (rintf): Define using libm_alias_float.
19620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19621 <libm-alias-float.h>.
19622 (llrintf): Define using libm_alias_float.
19623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19624 <libm-alias-float.h>.
19625 (lrintf): Define using libm_alias_float.
19626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19627 <libm-alias-float.h>.
19628 (nearbyintf): Define using libm_alias_float.
19629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19630 <libm-alias-float.h>.
19631 (rintf): Define using libm_alias_float.
19632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19633 <libm-alias-float.h>.
19634 (ceilf): Define using libm_alias_float.
19635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19636 <libm-alias-float.h>.
19637 (floorf): Define using libm_alias_float.
19638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19639 <libm-alias-float.h>.
19640 (fmaf): Define using libm_alias_float.
19641 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19642 <libm-alias-float.h>.
19643 (lrintf): Define using libm_alias_float.
19644 (llrintf): Likewise.
19645 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19646 <libm-alias-float.h>.
19647 (nearbyintf): Define using libm_alias_float.
19648 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19649 <libm-alias-float.h>.
19650 (rintf): Define using libm_alias_float.
19651 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19652 <libm-alias-float.h>.
19653 (truncf): Define using libm_alias_float.
19654 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19655 <libm-alias-float.h>.
19656 (copysignf): Define using libm_alias_float.
19657 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19658 <libm-alias-float.h>.
19659 (fabsf): Define using libm_alias_float.
19660 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19661 <libm-alias-float.h>.
19662 (lrintf): Define using libm_alias_float.
19663 (llrintf): Likewise.
19664 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19665 <libm-alias-float.h>.
19666 (nearbyintf): Define using libm_alias_float.
19667 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19668 <libm-alias-float.h>.
19669 (rintf): Define using libm_alias_float.
19671 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19673 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19674 <libm-alias-double.h>.
19675 (copysign): Define using libm_alias_double.
19676 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19677 <libm-alias-double.h>.
19678 (fabs): Define using libm_alias_double.
19679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19680 Include <libm-alias-double.h>.
19681 (copysign): Define using libm_alias_double.
19682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19683 <libm-alias-double.h>.
19684 (fabs): Define using libm_alias_double.
19685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19686 <libm-alias-double.h>.
19687 (fdim): Define using libm_alias_double.
19688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19689 <libm-alias-double.h>.
19690 (fma): Define using libm_alias_double.
19691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19692 <libm-alias-double.h>.
19693 (llrint): Define using libm_alias_double.
19694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19695 Include <libm-alias-double.h>.
19696 (nearbyint): Define using libm_alias_double.
19697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19698 <libm-alias-double.h>.
19699 (rint): Define using libm_alias_double.
19700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19701 <libm-alias-double.h>.
19702 (fabs): Define using libm_alias_double.
19703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19704 <libm-alias-double.h>.
19705 (llrint): Define using libm_alias_double.
19706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19707 <libm-alias-double.h>.
19708 (nearbyint): Define using libm_alias_double.
19709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19710 <libm-alias-double.h>.
19711 (rint): Define using libm_alias_double.
19712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19713 <libm-alias-double.h>.
19714 (ceil): Define using libm_alias_double.
19715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19716 <libm-alias-double.h>.
19717 (floor): Define using libm_alias_double.
19718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19719 <libm-alias-double.h>.
19720 (fma): Define using libm_alias_double.
19721 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19722 <libm-alias-double.h>.
19723 (lrint): Define using libm_alias_double.
19724 (llrint): Likewise.
19725 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19726 <libm-alias-double.h>.
19727 (nearbyint): Define using libm_alias_double.
19728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19729 <libm-alias-double.h>.
19730 (rint): Define using libm_alias_double.
19731 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19732 <libm-alias-double.h>.
19733 (trunc): Define using libm_alias_double.
19734 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19735 <libm-alias-double.h>.
19736 (copysign): Define using libm_alias_double.
19737 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19738 <libm-alias-double.h>.
19739 (fabs): Define using libm_alias_double.
19740 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19741 <libm-alias-double.h>.
19742 (lrint): Define using libm_alias_double.
19743 (llrint): Likewise.
19744 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19745 <libm-alias-double.h>.
19746 (nearbyint): Define using libm_alias_double.
19747 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19748 <libm-alias-double.h>.
19749 (rint): Define using libm_alias_double.
19752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19754 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19756 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19757 SPARC --disable-multi-arch glibc variants.
19759 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19760 <libm-alias-float.h>.
19761 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19763 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19764 <libm-alias-float.h>.
19765 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19767 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19768 <libm-alias-float.h>.
19769 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19771 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19772 <libm-alias-float.h>.
19773 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19775 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19776 <libm-alias-float.h>.
19777 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19779 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19780 <libm-alias-float.h>.
19781 (ceilf): Define using libm_alias_float.
19782 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19783 <libm-alias-float.h>.
19784 (floorf): Define using libm_alias_float.
19785 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19786 <libm-alias-float.h>.
19787 (fmaf): Define using libm_alias_float.
19788 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19789 <libm-alias-float.h>.
19790 (nearbyintf): Define using libm_alias_float.
19791 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19792 <libm-alias-float.h>.
19793 (rintf): Define using libm_alias_float.
19794 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19795 <libm-alias-float.h>.
19796 (truncf): Define using libm_alias_float.
19797 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19798 (copysignf): Define using libm_alias_float.
19799 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19800 (cosf): Define using libm_alias_float.
19801 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19802 (fabsf): Define using libm_alias_float.
19803 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19804 (fmaxf): Define using libm_alias_float.
19805 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19806 (fminf): Define using libm_alias_float.
19807 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19808 (llrintf): Define using libm_alias_float.
19809 [!__ILP32__] (lrintf): Likewise.
19810 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19811 (sincosf): Define using libm_alias_float.
19812 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19813 (sinf): Define using libm_alias_float.
19814 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19815 (lrintf): Define using libm_alias_float.
19817 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19818 <libm-alias-double.h>.
19819 (atan): Define using libm_alias_double.
19820 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19821 <libm-alias-double.h>.
19822 (ceil): Define using libm_alias_double.
19823 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19824 <libm-alias-double.h>.
19825 (floor): Define using libm_alias_double.
19826 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19827 <libm-alias-double.h>.
19828 (fma): Define using libm_alias_double.
19829 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19830 <libm-alias-double.h>.
19831 (nearbyint): Define using libm_alias_double.
19832 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19833 <libm-alias-double.h>.
19834 (rint): Define using libm_alias_double.
19835 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19836 <libm-alias-double.h>.
19837 (sin): Define using libm_alias_double.
19839 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19840 <libm-alias-double.h>.
19841 (tan): Define using libm_alias_double.
19842 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
19843 <libm-alias-double.h>.
19844 (trunc): Define using libm_alias_double.
19845 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
19846 (copysign): Define using libm_alias_double.
19847 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
19848 (fabs): Define using libm_alias_double.
19849 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
19850 (fmax): Define using libm_alias_double.
19851 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
19852 (fmin): Define using libm_alias_double.
19853 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
19854 (llrint): Define using libm_alias_double.
19855 [!__ILP32__] (lrint): Likewise.
19856 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
19857 (lrint): Define using libm_alias_double.
19859 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19862 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
19864 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
19865 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
19866 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
19867 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
19868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
19869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19871 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19872 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
19874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
19875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
19876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
19877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
19878 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
19879 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19881 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
19882 (libm-sysdep_routines): Add s_nearbyint-generic and
19883 s_nearbyintf-generic objects.
19884 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
19885 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
19886 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
19887 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
19888 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
19889 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
19891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19892 Add s_finitef-generic and s_finite-generic objects.
19893 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
19894 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
19895 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
19896 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
19897 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
19898 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
19900 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19901 Add s_isinff-generic and s_isinf-generic objects.
19902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
19903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
19904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
19905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
19906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
19907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19909 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
19910 Add s_isnanf-generic and s_isnan-generic objects.
19911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
19912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
19913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
19914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
19915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
19916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19918 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
19920 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
19922 (sysdep_routines): Use sysdep_calls as base.
19923 (libm-sysdep_routines): Add generic rule for symbols shared with
19924 libc. Add s_signbit-generic and s_signbitf-generic objects.
19925 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
19926 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
19927 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
19928 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
19929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
19930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19932 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19934 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
19935 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
19936 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
19937 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
19938 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
19939 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
19940 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
19941 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
19942 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
19943 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
19944 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
19945 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
19946 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
19947 libm_alias_float_r.
19948 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
19949 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
19951 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
19952 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
19953 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
19954 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
19955 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
19956 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
19957 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
19958 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
19959 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
19960 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
19962 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
19964 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
19965 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
19966 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
19967 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
19968 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
19969 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
19970 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
19971 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
19972 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
19973 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
19974 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
19975 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
19976 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
19977 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
19978 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
19979 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
19980 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
19981 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
19982 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
19984 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
19985 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
19986 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
19987 * sysdeps/ia64/fpu/w_lgammaf_main.c
19988 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
19989 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
19991 2017-11-28 Mike FABIAN <mfabian@redhat.com>
19992 Alexandre Oliva <aoliva@redhat.com>
19995 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
19996 * localedata/fr_CA.UTF-8.in: New file with test data for backward
19998 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20000 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20001 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20002 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20003 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20004 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20005 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20006 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20007 instead of “ifdef DIACRIT_BACKWARD”.
20009 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20011 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20012 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20013 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20014 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20015 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20016 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20023 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20024 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20025 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20026 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20027 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20028 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20030 ($(have-as-vis3) == yes): Remove conditional.
20031 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20047 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20048 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20050 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20052 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20053 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20054 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20055 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20056 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20057 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20058 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20059 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20060 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20061 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20062 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20063 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20064 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20065 libm_alias_double_r.
20066 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20068 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20069 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20070 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20071 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20072 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20073 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20074 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20075 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20076 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20077 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20078 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20080 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20082 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20083 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20084 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20085 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20086 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20087 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20088 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20089 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20090 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20091 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20092 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20093 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20094 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20095 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20096 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20097 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20098 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20099 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20101 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20102 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20103 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20104 * sysdeps/ia64/fpu/w_lgamma_main.c
20105 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20106 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20108 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20110 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20111 address of $global$ into %dp register earlier. Use pc-relative
20112 instruction sequence for PIC case.
20114 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20116 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20117 (asinhf): Define using libm_alias_float.
20118 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20119 (atanf): Define using libm_alias_float.
20120 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20121 (cbrtf): Define using libm_alias_float.
20122 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20123 (ceilf): Define using libm_alias_float.
20124 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20125 (copysignf): Define using libm_alias_float.
20126 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20127 (expm1f): Define using libm_alias_float.
20128 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20129 (fabsf): Define using libm_alias_float.
20130 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20131 (floorf): Define using libm_alias_float.
20132 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20133 (fmaxf): Define using libm_alias_float.
20134 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20135 (fminf): Define using libm_alias_float.
20136 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20137 (frexpf): Define using libm_alias_float.
20138 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20139 (llrintf): Define using libm_alias_float.
20140 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20141 (logbf): Define using libm_alias_float.
20142 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20143 (lrintf): Define using libm_alias_float.
20144 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20145 (nearbyintf): Define using libm_alias_float.
20146 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20147 (remquof): Define using libm_alias_float.
20148 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20149 (rintf): Define using libm_alias_float.
20150 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20151 (truncf): Define using libm_alias_float.
20152 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20153 <libm-alias-float.h>.
20154 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20156 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20157 <libm-alias-float.h>.
20158 (expf): Define using libm_alias_float, or libm_alias_float_other
20160 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20161 <libm-alias-float.h>.
20162 (log2f): Define using libm_alias_float, or libm_alias_float_other
20164 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20165 <libm-alias-float.h>.
20166 (logf): Define using libm_alias_float, or libm_alias_float_other
20168 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20169 <libm-alias-float.h>.
20170 (powf): Define using libm_alias_float, or libm_alias_float_other
20172 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20173 <libm-alias-float.h>.
20174 (cosf): Define using libm_alias_float.
20175 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20176 <libm-alias-float.h>.
20177 (sincosf): Define using libm_alias_float.
20178 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20179 <libm-alias-float.h>.
20180 (sinf): Define using libm_alias_float.
20181 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20182 (fmaxf): Define using libm_alias_float.
20183 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20184 (fminf): Define using libm_alias_float.
20185 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20186 <libm-alias-float.h>.
20187 (fmaf): Define using libm_alias_float.
20189 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20190 (asinh): Define using libm_alias_double.
20191 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20192 (atan): Define using libm_alias_double.
20193 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20194 (cbrt): Define using libm_alias_double.
20195 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20196 (ceil): Define using libm_alias_double.
20197 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20198 (copysign): Define using libm_alias_double.
20199 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20200 (expm1): Define using libm_alias_double.
20201 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20202 (fabs): Define using libm_alias_double.
20203 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20204 (fdim): Define using libm_alias_double.
20205 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20206 (floor): Define using libm_alias_double.
20207 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20208 (fmax): Define using libm_alias_double.
20209 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20210 (fmin): Define using libm_alias_double.
20211 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20212 (frexp): Define using libm_alias_double.
20213 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20214 (llrint): Define using libm_alias_double.
20215 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20216 (logb): Define using libm_alias_double.
20217 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20218 (lrint): Define using libm_alias_double.
20219 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20220 (nearbyint): Define using libm_alias_double.
20221 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20222 (remquo): Define using libm_alias_double.
20223 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20224 (rint): Define using libm_alias_double.
20225 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20226 (trunc): Define using libm_alias_double.
20227 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20228 (fmax): Define using libm_alias_double.
20229 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20230 (fmin): Define using libm_alias_double.
20231 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20232 (fma): Define using libm_alias_double.
20234 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20237 * elf/dl-hwcaps.c (ROUND): Removed.
20238 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20239 and ELF_NOTE_NEXT_OFFSET.
20240 * elf/dl-load.c (ROUND): Removed.
20241 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20242 * elf/readelflib.c (ROUND): Removed.
20243 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20244 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20245 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20246 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20248 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20250 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20251 [!__fmaf] (fmaf): Define using libm_alias_float.
20253 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20254 [!__fma] (fma): Define using libm_alias_double.
20255 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20257 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20260 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20261 and implement the collation rules for cs from CLDR on top of that.
20262 * Makefile: Add cs_CZ.UTF-8 to test-input.
20263 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20265 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20267 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20269 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20270 Icarus Sparry <icarus.w.sparry@intel.com>
20272 * benchtests/Makefile:Add BENCHSET to allow subsets of
20273 benchmarks to be run.
20274 * benchtests/README: Add documentation for: Running subsets of
20277 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20279 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20280 range of tests names.
20282 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20283 result from property and remove "max", min" and "mean" from
20284 required properties based on benchtests/bench-skeleton.c.
20286 2017-11-28 Florian Weimer <fweimer@redhat.com>
20289 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20290 due to Internet requirement.
20291 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20293 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20295 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20297 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20298 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20299 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20300 (sysdep_routines): Add memset-ultra1.
20301 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20303 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20304 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20305 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20306 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20307 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20308 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20309 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20310 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20312 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20314 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20315 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20316 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20317 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20318 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20319 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20320 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20322 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20323 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20324 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20325 (sysdep_routines): Add memcpy-ultra1.
20326 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20327 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20329 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20331 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20332 (cfloat_versions): Take function argument without trailing 'f'.
20333 Call libm_alias_float_other.
20334 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20335 * sysdeps/alpha/fpu/cargf.c: Likewise.
20336 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20337 * sysdeps/alpha/fpu/conjf.c: Likewise.
20338 * sysdeps/alpha/fpu/crealf.c: Likewise.
20339 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20340 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20341 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20342 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20343 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20344 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20345 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20346 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20347 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20348 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20349 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20350 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20351 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20352 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20353 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20354 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20355 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20356 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20357 (clog10f): Use libm_alias_float_other.
20358 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20359 (ceilf): Define using libm_alias_float.
20360 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20361 (copysignf): Define using libm_alias_float.
20362 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20363 (fabsf): Define using libm_alias_float.
20364 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20365 (floorf): Define using libm_alias_float.
20366 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20367 (fmaxf): Define using libm_alias_float.
20368 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20369 (fminf): Define using libm_alias_float.
20370 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20371 (lrintf): Define using libm_alias_float.
20372 (llrintf): Likewise.
20373 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20374 (lroundf): Define using libm_alias_float.
20375 (llroundf): Likewise.
20376 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20377 (rintf): Define using libm_alias_float.
20378 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20379 (truncf): Define using libm_alias_float.
20381 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20382 (ceilf): Define using libm_alias_float.
20383 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20384 (floorf): Define using libm_alias_float.
20385 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20386 (fmaf): Define using libm_alias_float.
20387 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20388 (fmaxf): Define using libm_alias_float.
20389 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20390 (fminf): Define using libm_alias_float.
20391 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20392 (llrintf): Define using libm_alias_float.
20393 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20394 (llroundf): Define using libm_alias_float.
20395 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20396 (lrintf): Define using libm_alias_float.
20397 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20398 (lroundf): Define using libm_alias_float.
20399 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20400 <libm-alias-float.h>.
20401 (nearbyintf): Define using libm_alias_float.
20402 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20403 (rintf): Define using libm_alias_float.
20404 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20405 (roundf): Define using libm_alias_float.
20406 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20407 (truncf): Define using libm_alias_float.
20409 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20410 (ceil): Define using libm_alias_double.
20411 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20412 (copysign): Define using libm_alias_double.
20413 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20414 (fabs): Define using libm_alias_double.
20415 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20416 (floor): Define using libm_alias_double.
20417 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20418 (fmax): Define using libm_alias_double.
20419 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20420 (fmin): Define using libm_alias_double.
20421 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20422 (lrint): Define using libm_alias_double.
20423 (llrint): Likewise.
20424 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20425 (lround): Define using libm_alias_double.
20426 (llround): Likewise.
20427 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20428 (rint): Define using libm_alias_double.
20429 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20430 (trunc): Define using libm_alias_double.
20432 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20433 (libm_alias_double_r): Add semicolon after weak_alias call.
20435 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20437 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20438 (ceil): Define using libm_alias_double.
20439 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20440 (floor): Define using libm_alias_double.
20441 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20442 (fma): Define using libm_alias_double.
20443 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20444 (fmax): Define using libm_alias_double.
20445 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20446 (fmin): Define using libm_alias_double.
20447 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20448 (llrint): Define using libm_alias_double.
20449 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20450 (llround): Define using libm_alias_double.
20451 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20452 (lrint): Define using libm_alias_double.
20453 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20454 (lround): Define using libm_alias_double.
20455 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20456 (nearbyint): Define using libm_alias_double.
20457 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20458 (rint): Define using libm_alias_double.
20459 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20460 (round): Define using libm_alias_double.
20461 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20462 (trunc): Define using libm_alias_double.
20464 2017-11-27 Florian Weimer <fweimer@redhat.com>
20466 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20467 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20468 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20469 (tests): Add tst-mlock2.
20470 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20471 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20472 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20473 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20474 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20475 for mlock. Document mlock2.
20477 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20479 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20480 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20482 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20484 * sysdeps/x86/Makeconfig: New file.
20485 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20486 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20487 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20488 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20489 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20490 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20491 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20493 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20494 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20495 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20496 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20497 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20498 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20499 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20500 * manual/math.texi (Mathematics): Document support for _Float64x.
20501 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20502 * stdlib/Versions (GLIBC_2.27): Likewise.
20503 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20504 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20505 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20506 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20507 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20508 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20509 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20510 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20511 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20512 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20513 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20514 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20519 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20520 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20521 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20522 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20523 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20524 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20525 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20526 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20527 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20528 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20529 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20530 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20531 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20532 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20534 2017-11-27 Andreas Schwab <schwab@suse.de>
20536 * elf/Makefile (dl-routines): Add dl-sort-maps.
20537 * elf/dl-sort-maps.c: New file.
20538 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20539 (_dl_sort_maps): Declare.
20540 * elf/dl-fini.c (_dl_sort_fini): Remove.
20541 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20542 * elf/dl-close.c (_dl_close_worker): Likewise.
20543 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20545 * elf/dl-open.c (dl_open_worker): Likewise.
20547 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20549 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20550 using libm_alias_float128.
20551 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20553 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20555 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20556 (setpayloadsigf128): Likewise.
20557 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20559 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20562 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20563 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20564 -mfloat128 to CFLAGS.
20566 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20568 (CFLAGS-libm-test-support-float64x.c): New variable.
20569 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20570 $(f128-loader-link) to gnulib-tests.
20572 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20573 (libm_alias_float128_other_r): If
20574 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20576 (libm_alias_float128_r): Add semicolon after weak_alias call.
20577 * sysdeps/generic/libm-alias-ldouble.h
20578 (libm_alias_ldouble_other_r_f128): New macro.
20579 (libm_alias_ldouble_other_r_f64x): Likewise.
20580 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20581 and libm_alias_ldouble_other_r_f64x.
20582 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20583 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20584 (libm_alias_ldouble_other_r_f128): New macro.
20585 (libm_alias_ldouble_other_r_f64x): Likewise.
20586 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20587 and libm_alias_ldouble_other_r_f64x.
20589 * stdlib/strfroml.c: Always include <stdlib.h>.
20590 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20591 undefine as macro and define as weak alias.
20592 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20593 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20595 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20596 Define and later undefine as macro and define as weak alias.
20598 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20599 Define and later undefine as macro. Define as weak alias if
20601 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20602 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20603 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20604 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20605 Define and later undefine as macro. Define as weak alias if
20607 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20608 Define and later undefine as macro. Define as weak alias if
20610 * sysdeps/ieee754/float128/strtof128_l.c
20611 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20612 Define and later undefine as macro. Define as weak alias if
20614 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20615 Define and later undefine as macro. Define as weak alias if
20617 * sysdeps/ieee754/ldbl-128/strtold_l.c
20618 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20619 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20620 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20621 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20622 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20623 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20624 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20625 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20626 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20627 * sysdeps/ieee754/ldbl-96/strtold_l.c
20628 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20629 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20630 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20631 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20633 * math/test-float64x.h: New file.
20634 * math/Makefile (type-float64x-yes): New variable.
20635 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20637 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20638 function-like macro.
20639 (min_of_type_): Likewise.
20640 (min_of_type_l): Likewise.
20641 (min_of_type_f128): Likewise.
20642 (min_of_type): Pass () as last argument of __MATH_TG.
20644 * stdlib/tst-strtod-round-skeleton.c
20645 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20648 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20649 for combinations of long double with _Float64 and _Float64x.
20651 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20652 (__DECL_SIMD_cosf32): Likewise.
20653 (__DECL_SIMD_cosf64): Likewise.
20654 (__DECL_SIMD_cosf32x): Likewise.
20655 (__DECL_SIMD_cosf64x): Likewise.
20656 (__DECL_SIMD_cosf128x): Likewise.
20657 (__DECL_SIMD_sinf16): Likewise.
20658 (__DECL_SIMD_sinf32): Likewise.
20659 (__DECL_SIMD_sinf64): Likewise.
20660 (__DECL_SIMD_sinf32x): Likewise.
20661 (__DECL_SIMD_sinf64x): Likewise.
20662 (__DECL_SIMD_sinf128x): Likewise.
20663 (__DECL_SIMD_sincosf16): Likewise.
20664 (__DECL_SIMD_sincosf32): Likewise.
20665 (__DECL_SIMD_sincosf64): Likewise.
20666 (__DECL_SIMD_sincosf32x): Likewise.
20667 (__DECL_SIMD_sincosf64x): Likewise.
20668 (__DECL_SIMD_sincosf128x): Likewise.
20669 (__DECL_SIMD_logf16): Likewise.
20670 (__DECL_SIMD_logf32): Likewise.
20671 (__DECL_SIMD_logf64): Likewise.
20672 (__DECL_SIMD_logf32x): Likewise.
20673 (__DECL_SIMD_logf64x): Likewise.
20674 (__DECL_SIMD_logf128x): Likewise.
20675 (__DECL_SIMD_expf16): Likewise.
20676 (__DECL_SIMD_expf32): Likewise.
20677 (__DECL_SIMD_expf64): Likewise.
20678 (__DECL_SIMD_expf32x): Likewise.
20679 (__DECL_SIMD_expf64x): Likewise.
20680 (__DECL_SIMD_expf128x): Likewise.
20681 (__DECL_SIMD_powf16): Likewise.
20682 (__DECL_SIMD_powf32): Likewise.
20683 (__DECL_SIMD_powf64): Likewise.
20684 (__DECL_SIMD_powf32x): Likewise.
20685 (__DECL_SIMD_powf64x): Likewise.
20686 (__DECL_SIMD_powf128x): Likewise.
20688 * stdlib/Versions (libc): Move entries for wcstof128 and
20689 wcstof128_l to ....
20690 * wcsmbs/Versions (libc): ... here.
20691 Include <float128-abi.h>.
20693 2017-11-24 Florian Weimer <fweimer@redhat.com>
20695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20696 bits/mman-shared.h.
20697 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20698 <bits/mman-shared.h>.
20699 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20701 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20702 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20703 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20704 <bits/mman-shared.h>.
20706 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20709 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20710 posix_memalign/free.
20711 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20713 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20716 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20717 and implement the collation rules for pl from CLDR on top of that.
20718 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20719 of locales to be built for testing.
20720 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20722 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20724 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20725 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20726 libm_alias_ldouble_other.
20727 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20728 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20729 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20730 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20731 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20732 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20733 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20734 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20735 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20736 libm_alias_ldouble_r.
20737 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20738 libm_alias_ldouble_other.
20739 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20740 (log10l): Likewise.
20741 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20742 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20743 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20744 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20745 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20746 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20747 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20748 (atan2l): Likewise.
20749 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20750 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20751 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20752 libm_alias_ldouble.
20753 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20755 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20756 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20757 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20759 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20760 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20761 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20762 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20763 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20764 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20765 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20766 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20767 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20768 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20769 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20770 libm_alias_ldouble.
20771 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20772 libm_alias_ldouble_other.
20773 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20774 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20775 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20776 libm_alias_ldouble.
20777 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20778 libm_alias_ldouble_other.
20779 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20780 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20781 * sysdeps/ia64/fpu/w_lgammal_main.c
20782 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20783 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20785 2017-11-23 Florian Weimer <fweimer@redhat.com>
20787 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20788 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20789 alike. Remove freeres marker.
20790 * malloc/arena.c (arena_thread_freeres): Call
20791 tcache_thread_shutdown.
20793 2017-11-23 Florian Weimer <fweimer@redhat.com>
20796 Export nscd hash function as __nss_hash.
20797 * include/nss.h (__nss_hash): Declare.
20798 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20800 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20801 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20803 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20804 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20805 * nss/Makefiles (routines): Add nss_hash.
20806 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20807 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20808 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20809 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20811 2017-11-23 Florian Weimer <fweimer@redhat.com>
20814 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20815 Return error code, not -1.
20816 * signal/tst-sigwait-eintr.c: New file.
20817 * signal/Makefile (tests): Add tst-sigwait-eintr.
20819 2017-11-23 Florian Weimer <fweimer@redhat.com>
20821 Linux: Add memfd_create system call wrapper
20822 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20824 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20825 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20826 [__USE_GNU] (memfd_create): Declare.
20827 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20828 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20829 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20830 * sysdeps/unix/sysv/linux/**.abilist: Update.
20831 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20833 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20835 * localedata/gen-locale.sh: Fix typo in variable name.
20837 * resolv/res_debug.c (p_secstodate): Condition definition on
20838 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20839 directly as __p_secstodate, and as a compat symbol. Do not use
20840 libresolv_hidden_def.
20841 * resolv/resolv.h (p_secstodate): Remove macro and function
20843 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
20844 using p_secstodate.
20845 * include/resolv.h (__p_secstodate): Do not use
20846 libresolv_hidden_proto.
20847 * resolv/Makefile (tests): Move tst-p_secstodate to ....
20848 (tests-internal): ... here.
20849 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
20850 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
20851 and declare and use __p_secstodate and use compat_symbol_reference
20853 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
20854 implementation returning 77.
20857 * resolv/res_debug.c: Include <libc-diag.h>.
20858 (p_secstodate): Assert time_t at least as wide as u_long. On
20859 overflow, use integer seconds since the epoch as output, or use
20860 "<overflow>" as output and set errno to EOVERFLOW if integer
20861 seconds since the epoch would be 14 or more characters.
20862 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
20864 * resolv/tst-p_secstodate.c: New file.
20865 * resolv/Makefile (tests): Add tst-p_secstodate.
20866 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
20868 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
20869 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20870 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
20872 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
20874 * posix/regcomp.c (init_word_char): Add comments.
20876 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20879 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
20880 strlen to compute length of ut_user and set trailing NUL byte of
20883 2017-11-21 Mike FABIAN <mfabian@redhat.com>
20886 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
20887 using “copy "iso14651_t1"” and then implementing the
20888 collation rules for lv from CLDR on top of that.
20889 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
20890 of locales to be built for testing.
20891 * lv_LV.UTF-8.in: New file with test data to test the Latvian
20894 2017-11-21 Joseph Myers <joseph@codesourcery.com>
20896 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
20897 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
20898 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
20899 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
20900 [__USE_MISC] (MADV_HWPOISON): New macro.
20901 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
20903 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20905 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
20906 -Wmissing-braces on GCC 4.9.
20908 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20910 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
20911 * sysdeps/s390/s390-32/start.S (_start): Likewise
20912 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
20913 (thread_start): Likewise.
20914 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
20915 (thread_start): Likewise.
20916 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
20917 (__makecontext_ret): Likewise.
20918 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
20919 (__makecontext_ret): Likewise.
20921 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
20923 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
20924 __wcschrnul): Remove attribute_hidden.
20926 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
20928 regex: don't assume uint64_t or uint32_t
20929 This avoids -Werror=overflow errors for 32-bit systems in
20930 the 64-bit case. Problem reported by Joseph Myers in:
20931 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
20932 Also, when this code is used in Gnulib it ports to platforms
20933 that lack uint64_t and uint32_t. The C standard doesn't guarantee
20934 them, and on some 32-bit compilers there is no uint64_t.
20935 Problem reported by Gianluigi Tiesi in:
20936 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
20937 * posix/regcomp.c (init_word_char): Don't assume that the types
20938 uint64_t and uint32_t exist. Adapted from Gnulib patch
20939 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
20940 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
20942 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
20944 * sysdeps/aarch64/memset-reg.h: New file.
20945 * sysdeps/aarch64/memset.S: Use it.
20946 (__memset): Rename to MEMSET macro.
20947 [ZVA_MACRO]: Use zva_macro.
20948 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20949 Add memset_generic and memset_falkor.
20950 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
20951 (__libc_ifunc_impl_list): Add memset ifuncs.
20952 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
20953 local variable zva_size.
20954 * sysdeps/aarch64/multiarch/memset.c: New file.
20955 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
20956 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
20957 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
20958 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
20959 (DCZID_DZP_MASK): New macro.
20960 (DCZID_BS_MASK): Likewise.
20961 (init_cpu_features): Read and set zva_size.
20962 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
20963 (struct cpu_features): New member zva_size.
20965 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
20966 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
20967 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
20969 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
20970 backwards. Fix timing computation.
20971 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
20972 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
20973 on memset by N at a time. Fix timing computation.
20975 2017-11-20 Florian Weimer <fweimer@redhat.com>
20977 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
20978 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
20980 2017-11-19 Florian Weimer <fweimer@redhat.com>
20982 manual: Document mprotect
20983 * manual/memory.texi (Memory Protection): New section.
20984 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
20985 documentation of PROT_* flags and reference the Memory Protection
20988 2017-11-19 Florian Weimer <fweimer@redhat.com>
20990 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
20991 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
20992 (Scatter-Gather): ... to here. Remove misleading comment.
20994 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
20996 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
20999 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21000 when /proc/<pid>/setgroups does not exist.
21002 2017-11-18 Florian Weimer <fweimer@redhat.com>
21004 * sysdeps/unix/sysv/linux/tst-ttyname.c
21005 (become_root_in_mount_ns): Remove.
21006 (do_in_chroot_1): Call support_enter_mount_namespace.
21007 (do_in_chroot_2): Likewise.
21008 (do_test): Call support_become_root early.
21010 2017-11-18 Florian Weimer <fweimer@redhat.com>
21012 * support/namespace.h (support_enter_mount_namespace): Declare.
21013 * support/support_enter_mount_namespace.c: New file.
21014 * support/Makefile (libsupport-routines): Add
21015 support_enter_mount_namespace.
21017 2017-11-18 Florian Weimer <fweimer@redhat.com>
21019 * support/temp_file.c (support_create_temp_directory): Use
21020 test_dir and do not rely on the presence of the XXXXXX suffix.
21021 * support/temp_file.h (support_create_temp_directory): Update
21023 * support/tst-xreadlink.c (do_test): Adjust.
21024 * support/support_chroot.c (support_chroot_create): Likewise.
21026 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21028 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21030 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21033 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21035 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21036 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21037 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21038 (ceill): Define using libm_alias_ldouble.
21039 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21040 <libm-alias-ldouble.h>.
21041 (copysignl): Define using libm_alias_ldouble.
21042 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21043 (fabsl): Define using libm_alias_ldouble.
21044 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21045 (floorl): Define using libm_alias_ldouble.
21046 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21047 (fmaxl): Define using libm_alias_ldouble.
21048 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21049 (fminl): Define using libm_alias_ldouble.
21050 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21051 (llrintl): Define using libm_alias_ldouble.
21052 (lrintl): Likewise.
21053 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21054 <libm-alias-ldouble.h>.
21055 (nearbyintl): Define using libm_alias_ldouble.
21056 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21057 (truncl): Define using libm_alias_ldouble.
21058 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21059 <libm-alias-ldouble.h>.
21060 (lrintl): Define using libm_alias_ldouble.
21062 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21063 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21064 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21065 (asinhl): Define using libm_alias_ldouble.
21066 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21067 (atanl): Define using libm_alias_ldouble.
21068 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21069 (cbrtl): Define using libm_alias_ldouble.
21070 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21071 (ceill): Define using libm_alias_ldouble.
21072 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21073 (copysignl): Define using libm_alias_ldouble.
21074 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21075 (fabsl): Define using libm_alias_ldouble.
21076 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21077 (floorl): Define using libm_alias_ldouble.
21078 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21079 (fmaxl): Define using libm_alias_ldouble.
21080 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21081 (fminl): Define using libm_alias_ldouble.
21082 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21083 (frexpl): Define using libm_alias_ldouble.
21084 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21085 (llrintl): Define using libm_alias_ldouble.
21086 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21087 (logbl): Define using libm_alias_ldouble.
21088 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21089 (lrintl): Define using libm_alias_ldouble.
21090 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21091 (nearbyintl): Define using libm_alias_ldouble.
21092 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21093 (nextafterl): Define using libm_alias_ldouble.
21094 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21095 (remquol): Define using libm_alias_ldouble.
21096 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21097 (rintl): Define using libm_alias_ldouble.
21098 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21099 (truncl): Define using libm_alias_ldouble.
21100 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21101 (fmaxl): Define using libm_alias_ldouble.
21102 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21103 (fminl): Define using libm_alias_ldouble.
21105 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21106 to C syntax instead of availability and properties of types.
21107 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21108 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21109 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21110 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21111 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21112 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21114 2017-11-17 Florian Weimer <fweimer@redhat.com>
21116 support_become_root: Enable file creation in namespaces.
21117 * support/support_become_root.c (setup_mapping): New function.
21118 (support_become_root): Call it.
21120 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21122 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21125 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21127 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21128 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21130 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21132 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21134 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21137 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21139 * INSTALL: Fix botched up regeneration.
21141 * NEWS: Update sourceare link to https.
21142 * configure.ac: Likewise.
21143 * crypt/md5test-giant.c: Likewise.
21144 * dlfcn/bug-atexit1.c: Likewise.
21145 * dlfcn/bug-atexit2.c: Likewise.
21146 * localedata/README: Likewise.
21147 * malloc/tst-mallocfork.c: Likewise.
21148 * manual/install.texi: Likewise.
21149 * nptl/tst-pthread-getattr.c: Likewise.
21150 * stdio-common/tst-fgets.c: Likewise.
21151 * stdio-common/tst-fwrite.c: Likewise.
21152 * sunrpc/Makefile: Likewise.
21153 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21154 * wcsmbs/tst-mbrtowc2.c: Likewise.
21155 * configure: Regenerate.
21156 * INSTALL: Regenerate.
21158 2017-11-15 Martin Sebor <msebor@redhat.com>
21160 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21161 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21162 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21164 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21167 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21168 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21171 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21172 Defer is_pty check until end of the function.
21173 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21176 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21177 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21178 (ttyname): Likewise.
21179 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21180 (__ttyname_r): Likewise.
21182 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21185 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21187 * manual/terminal.texi (Is It a Terminal):
21188 Mention ENODEV for ttyname and ttyname_r.
21190 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21192 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21193 constant and macro.
21195 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21196 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21197 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21198 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21199 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21200 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21202 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21204 * signal/sigrelse.c (sigrelse): Optimize implementation.
21206 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21207 (__sigpause): Rely on __sigsuspend to implement single thread
21208 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21210 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21212 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21213 kernel version to 4.14.
21215 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21218 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21219 Check if ifname is too long.
21221 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21223 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21225 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21227 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21228 was accidentally lost.
21230 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21232 * localedata/locales/az_IR: Add standard copyright header.
21234 2017-11-15 Florian Weimer <fweimer@redhat.com>
21237 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21238 not just the top one. Output a new "subheaps" statistic.
21240 2017-11-15 Florian Weimer <fweimer@redhat.com>
21243 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21244 under the per-arena lock.
21245 * malloc/Makefile (tests): Add tst-malloc_info.
21246 (tst-malloc_info): Link with libpthread.
21247 * malloc/tst-malloc_info.c: New file.
21249 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21252 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21253 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21254 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21255 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21256 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21257 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21258 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21259 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21260 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21261 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21262 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21263 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21264 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21265 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21266 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21267 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21268 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21269 (__floating_type): Likewise.
21270 (__real_integer_type): Likewise.
21271 (__complex_integer_type): Likewise.
21272 (__expr_is_real): Likewise.
21273 (__tgmath_real_type_sub): Likewise.
21274 (__tgmath_real_type): Likewise.
21275 (__tgmath_complex_type_sub): Likewise.
21276 (__tgmath_complex_type): Likewise.
21277 (__TGMATH_F128): Likewise.
21278 (__TGMATH_CF128): Likewise.
21279 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21281 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21282 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21284 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21286 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21287 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21288 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21289 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21291 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21292 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21294 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21295 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21296 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21298 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21299 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21300 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21304 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21306 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21307 for stpncpy calls for GCC 8.
21308 (test_strncat): Disable -Wstringop-truncation warning for strncat
21309 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21310 strncat call for GCC 7.
21311 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21313 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21316 * string/bug-strncat1.c: Include <libc-diag.h>.
21317 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21319 2017-11-13 Claude Paroz <claude@2xlibre.net>
21322 * localedata/locales/aa_DJ: Improved readibility by replacing
21323 <Uxxxx> sequences in the ASCII printable range by their ASCII
21324 character equivalents.
21325 * localedata/locales/aa_ER: Likewise.
21326 * localedata/locales/aa_ER@saaho: Likewise.
21327 * localedata/locales/aa_ET: Likewise.
21328 * localedata/locales/af_ZA: Likewise.
21329 * localedata/locales/agr_PE: Likewise.
21330 * localedata/locales/ak_GH: Likewise.
21331 * localedata/locales/am_ET: Likewise.
21332 * localedata/locales/anp_IN: Likewise.
21333 * localedata/locales/ar_AE: Likewise.
21334 * localedata/locales/ar_BH: Likewise.
21335 * localedata/locales/ar_DZ: Likewise.
21336 * localedata/locales/ar_EG: Likewise.
21337 * localedata/locales/ar_IN: Likewise.
21338 * localedata/locales/ar_IQ: Likewise.
21339 * localedata/locales/ar_JO: Likewise.
21340 * localedata/locales/ar_KW: Likewise.
21341 * localedata/locales/ar_LB: Likewise.
21342 * localedata/locales/ar_LY: Likewise.
21343 * localedata/locales/ar_MA: Likewise.
21344 * localedata/locales/ar_OM: Likewise.
21345 * localedata/locales/ar_QA: Likewise.
21346 * localedata/locales/ar_SA: Likewise.
21347 * localedata/locales/ar_SD: Likewise.
21348 * localedata/locales/ar_SS: Likewise.
21349 * localedata/locales/ar_SY: Likewise.
21350 * localedata/locales/ar_TN: Likewise.
21351 * localedata/locales/ar_YE: Likewise.
21352 * localedata/locales/as_IN: Likewise.
21353 * localedata/locales/ast_ES: Likewise.
21354 * localedata/locales/ayc_PE: Likewise.
21355 * localedata/locales/az_AZ: Likewise.
21356 * localedata/locales/az_IR: Likewise.
21357 * localedata/locales/be_BY: Likewise.
21358 * localedata/locales/be_BY@latin: Likewise.
21359 * localedata/locales/bem_ZM: Likewise.
21360 * localedata/locales/ber_DZ: Likewise.
21361 * localedata/locales/ber_MA: Likewise.
21362 * localedata/locales/bg_BG: Likewise.
21363 * localedata/locales/bhb_IN: Likewise.
21364 * localedata/locales/bho_IN: Likewise.
21365 * localedata/locales/bi_VU: Likewise.
21366 * localedata/locales/bn_BD: Likewise.
21367 * localedata/locales/bn_IN: Likewise.
21368 * localedata/locales/bo_CN: Likewise.
21369 * localedata/locales/bo_IN: Likewise.
21370 * localedata/locales/br_FR: Likewise.
21371 * localedata/locales/brx_IN: Likewise.
21372 * localedata/locales/bs_BA: Likewise.
21373 * localedata/locales/byn_ER: Likewise.
21374 * localedata/locales/ca_AD: Likewise.
21375 * localedata/locales/ca_ES: Likewise.
21376 * localedata/locales/ca_FR: Likewise.
21377 * localedata/locales/ca_IT: Likewise.
21378 * localedata/locales/ce_RU: Likewise.
21379 * localedata/locales/chr_US: Likewise.
21380 * localedata/locales/cmn_TW: Likewise.
21381 * localedata/locales/crh_UA: Likewise.
21382 * localedata/locales/cs_CZ: Likewise.
21383 * localedata/locales/csb_PL: Likewise.
21384 * localedata/locales/cv_RU: Likewise.
21385 * localedata/locales/cy_GB: Likewise.
21386 * localedata/locales/da_DK: Likewise.
21387 * localedata/locales/de_AT: Likewise.
21388 * localedata/locales/de_BE: Likewise.
21389 * localedata/locales/de_CH: Likewise.
21390 * localedata/locales/de_DE: Likewise.
21391 * localedata/locales/de_IT: Likewise.
21392 * localedata/locales/de_LI: Likewise.
21393 * localedata/locales/de_LU: Likewise.
21394 * localedata/locales/doi_IN: Likewise.
21395 * localedata/locales/dv_MV: Likewise.
21396 * localedata/locales/dz_BT: Likewise.
21397 * localedata/locales/el_CY: Likewise.
21398 * localedata/locales/el_GR: Likewise.
21399 * localedata/locales/en_AG: Likewise.
21400 * localedata/locales/en_AU: Likewise.
21401 * localedata/locales/en_BW: Likewise.
21402 * localedata/locales/en_CA: Likewise.
21403 * localedata/locales/en_DK: Likewise.
21404 * localedata/locales/en_GB: Likewise.
21405 * localedata/locales/en_HK: Likewise.
21406 * localedata/locales/en_IE: Likewise.
21407 * localedata/locales/en_IL: Likewise.
21408 * localedata/locales/en_IN: Likewise.
21409 * localedata/locales/en_NG: Likewise.
21410 * localedata/locales/en_NZ: Likewise.
21411 * localedata/locales/en_PH: Likewise.
21412 * localedata/locales/en_SG: Likewise.
21413 * localedata/locales/en_US: Likewise.
21414 * localedata/locales/en_ZA: Likewise.
21415 * localedata/locales/en_ZM: Likewise.
21416 * localedata/locales/en_ZW: Likewise.
21417 * localedata/locales/eo: Likewise.
21418 * localedata/locales/es_AR: Likewise.
21419 * localedata/locales/es_BO: Likewise.
21420 * localedata/locales/es_CL: Likewise.
21421 * localedata/locales/es_CO: Likewise.
21422 * localedata/locales/es_CR: Likewise.
21423 * localedata/locales/es_CU: Likewise.
21424 * localedata/locales/es_DO: Likewise.
21425 * localedata/locales/es_EC: Likewise.
21426 * localedata/locales/es_ES: Likewise.
21427 * localedata/locales/es_GT: Likewise.
21428 * localedata/locales/es_HN: Likewise.
21429 * localedata/locales/es_MX: Likewise.
21430 * localedata/locales/es_NI: Likewise.
21431 * localedata/locales/es_PA: Likewise.
21432 * localedata/locales/es_PE: Likewise.
21433 * localedata/locales/es_PR: Likewise.
21434 * localedata/locales/es_PY: Likewise.
21435 * localedata/locales/es_SV: Likewise.
21436 * localedata/locales/es_US: Likewise.
21437 * localedata/locales/es_UY: Likewise.
21438 * localedata/locales/es_VE: Likewise.
21439 * localedata/locales/et_EE: Likewise.
21440 * localedata/locales/eu_ES: Likewise.
21441 * localedata/locales/eu_ES@euro: Likewise.
21442 * localedata/locales/fa_IR: Likewise.
21443 * localedata/locales/ff_SN: Likewise.
21444 * localedata/locales/fi_FI: Likewise.
21445 * localedata/locales/fil_PH: Likewise.
21446 * localedata/locales/fo_FO: Likewise.
21447 * localedata/locales/fr_BE: Likewise.
21448 * localedata/locales/fr_CA: Likewise.
21449 * localedata/locales/fr_CH: Likewise.
21450 * localedata/locales/fr_FR: Likewise.
21451 * localedata/locales/fr_LU: Likewise.
21452 * localedata/locales/fur_IT: Likewise.
21453 * localedata/locales/fy_DE: Likewise.
21454 * localedata/locales/fy_NL: Likewise.
21455 * localedata/locales/ga_IE: Likewise.
21456 * localedata/locales/gd_GB: Likewise.
21457 * localedata/locales/gez_ER: Likewise.
21458 * localedata/locales/gez_ET: Likewise.
21459 * localedata/locales/gl_ES: Likewise.
21460 * localedata/locales/gu_IN: Likewise.
21461 * localedata/locales/gv_GB: Likewise.
21462 * localedata/locales/ha_NG: Likewise.
21463 * localedata/locales/hak_TW: Likewise.
21464 * localedata/locales/he_IL: Likewise.
21465 * localedata/locales/hi_IN: Likewise.
21466 * localedata/locales/hif_FJ: Likewise.
21467 * localedata/locales/hne_IN: Likewise.
21468 * localedata/locales/hr_HR: Likewise.
21469 * localedata/locales/hsb_DE: Likewise.
21470 * localedata/locales/ht_HT: Likewise.
21471 * localedata/locales/hu_HU: Likewise.
21472 * localedata/locales/hy_AM: Likewise.
21473 * localedata/locales/i18n: Likewise.
21474 * localedata/locales/ia_FR: Likewise.
21475 * localedata/locales/id_ID: Likewise.
21476 * localedata/locales/ig_NG: Likewise.
21477 * localedata/locales/ik_CA: Likewise.
21478 * localedata/locales/is_IS: Likewise.
21479 * localedata/locales/it_CH: Likewise.
21480 * localedata/locales/it_IT: Likewise.
21481 * localedata/locales/iu_CA: Likewise.
21482 * localedata/locales/ja_JP: Likewise.
21483 * localedata/locales/ka_GE: Likewise.
21484 * localedata/locales/kk_KZ: Likewise.
21485 * localedata/locales/kl_GL: Likewise.
21486 * localedata/locales/kn_IN: Likewise.
21487 * localedata/locales/ko_KR: Likewise.
21488 * localedata/locales/kok_IN: Likewise.
21489 * localedata/locales/ks_IN: Likewise.
21490 * localedata/locales/ks_IN@devanagari: Likewise.
21491 * localedata/locales/ku_TR: Likewise.
21492 * localedata/locales/kw_GB: Likewise.
21493 * localedata/locales/ky_KG: Likewise.
21494 * localedata/locales/lb_LU: Likewise.
21495 * localedata/locales/lg_UG: Likewise.
21496 * localedata/locales/li_BE: Likewise.
21497 * localedata/locales/li_NL: Likewise.
21498 * localedata/locales/lij_IT: Likewise.
21499 * localedata/locales/ln_CD: Likewise.
21500 * localedata/locales/lo_LA: Likewise.
21501 * localedata/locales/lt_LT: Likewise.
21502 * localedata/locales/lv_LV: Likewise.
21503 * localedata/locales/lzh_TW: Likewise.
21504 * localedata/locales/mag_IN: Likewise.
21505 * localedata/locales/mai_IN: Likewise.
21506 * localedata/locales/mg_MG: Likewise.
21507 * localedata/locales/mhr_RU: Likewise.
21508 * localedata/locales/mi_NZ: Likewise.
21509 * localedata/locales/mk_MK: Likewise.
21510 * localedata/locales/ml_IN: Likewise.
21511 * localedata/locales/mn_MN: Likewise.
21512 * localedata/locales/mni_IN: Likewise.
21513 * localedata/locales/mr_IN: Likewise.
21514 * localedata/locales/ms_MY: Likewise.
21515 * localedata/locales/mt_MT: Likewise.
21516 * localedata/locales/my_MM: Likewise.
21517 * localedata/locales/nan_TW: Likewise.
21518 * localedata/locales/nan_TW@latin: Likewise.
21519 * localedata/locales/nb_NO: Likewise.
21520 * localedata/locales/nds_DE: Likewise.
21521 * localedata/locales/nds_NL: Likewise.
21522 * localedata/locales/ne_NP: Likewise.
21523 * localedata/locales/nhn_MX: Likewise.
21524 * localedata/locales/niu_NU: Likewise.
21525 * localedata/locales/niu_NZ: Likewise.
21526 * localedata/locales/nl_AW: Likewise.
21527 * localedata/locales/nl_BE: Likewise.
21528 * localedata/locales/nl_NL: Likewise.
21529 * localedata/locales/nn_NO: Likewise.
21530 * localedata/locales/nr_ZA: Likewise.
21531 * localedata/locales/nso_ZA: Likewise.
21532 * localedata/locales/oc_FR: Likewise.
21533 * localedata/locales/om_ET: Likewise.
21534 * localedata/locales/om_KE: Likewise.
21535 * localedata/locales/or_IN: Likewise.
21536 * localedata/locales/os_RU: Likewise.
21537 * localedata/locales/pa_IN: Likewise.
21538 * localedata/locales/pa_PK: Likewise.
21539 * localedata/locales/pap_AW: Likewise.
21540 * localedata/locales/pap_CW: Likewise.
21541 * localedata/locales/pl_PL: Likewise.
21542 * localedata/locales/ps_AF: Likewise.
21543 * localedata/locales/pt_BR: Likewise.
21544 * localedata/locales/pt_PT: Likewise.
21545 * localedata/locales/quz_PE: Likewise.
21546 * localedata/locales/raj_IN: Likewise.
21547 * localedata/locales/ro_RO: Likewise.
21548 * localedata/locales/ru_RU: Likewise.
21549 * localedata/locales/ru_UA: Likewise.
21550 * localedata/locales/rw_RW: Likewise.
21551 * localedata/locales/sa_IN: Likewise.
21552 * localedata/locales/sat_IN: Likewise.
21553 * localedata/locales/sc_IT: Likewise.
21554 * localedata/locales/sd_IN: Likewise.
21555 * localedata/locales/sd_IN@devanagari: Likewise.
21556 * localedata/locales/se_NO: Likewise.
21557 * localedata/locales/sgs_LT: Likewise.
21558 * localedata/locales/shs_CA: Likewise.
21559 * localedata/locales/si_LK: Likewise.
21560 * localedata/locales/sid_ET: Likewise.
21561 * localedata/locales/sk_SK: Likewise.
21562 * localedata/locales/sl_SI: Likewise.
21563 * localedata/locales/sm_WS: Likewise.
21564 * localedata/locales/so_DJ: Likewise.
21565 * localedata/locales/so_ET: Likewise.
21566 * localedata/locales/so_KE: Likewise.
21567 * localedata/locales/so_SO: Likewise.
21568 * localedata/locales/sq_AL: Likewise.
21569 * localedata/locales/sq_MK: Likewise.
21570 * localedata/locales/sr_ME: Likewise.
21571 * localedata/locales/sr_RS: Likewise.
21572 * localedata/locales/sr_RS@latin: Likewise.
21573 * localedata/locales/ss_ZA: Likewise.
21574 * localedata/locales/st_ZA: Likewise.
21575 * localedata/locales/sv_FI: Likewise.
21576 * localedata/locales/sv_SE: Likewise.
21577 * localedata/locales/sw_KE: Likewise.
21578 * localedata/locales/sw_TZ: Likewise.
21579 * localedata/locales/szl_PL: Likewise.
21580 * localedata/locales/ta_IN: Likewise.
21581 * localedata/locales/ta_LK: Likewise.
21582 * localedata/locales/tcy_IN: Likewise.
21583 * localedata/locales/te_IN: Likewise.
21584 * localedata/locales/tg_TJ: Likewise.
21585 * localedata/locales/th_TH: Likewise.
21586 * localedata/locales/the_NP: Likewise.
21587 * localedata/locales/ti_ER: Likewise.
21588 * localedata/locales/ti_ET: Likewise.
21589 * localedata/locales/tig_ER: Likewise.
21590 * localedata/locales/tk_TM: Likewise.
21591 * localedata/locales/tl_PH: Likewise.
21592 * localedata/locales/tn_ZA: Likewise.
21593 * localedata/locales/to_TO: Likewise.
21594 * localedata/locales/tpi_PG: Likewise.
21595 * localedata/locales/tr_CY: Likewise.
21596 * localedata/locales/tr_TR: Likewise.
21597 * localedata/locales/ts_ZA: Likewise.
21598 * localedata/locales/tt_RU: Likewise.
21599 * localedata/locales/tt_RU@iqtelif: Likewise.
21600 * localedata/locales/ug_CN: Likewise.
21601 * localedata/locales/uk_UA: Likewise.
21602 * localedata/locales/unm_US: Likewise.
21603 * localedata/locales/ur_IN: Likewise.
21604 * localedata/locales/ur_PK: Likewise.
21605 * localedata/locales/uz_UZ: Likewise.
21606 * localedata/locales/uz_UZ@cyrillic: Likewise.
21607 * localedata/locales/ve_ZA: Likewise.
21608 * localedata/locales/vi_VN: Likewise.
21609 * localedata/locales/wa_BE: Likewise.
21610 * localedata/locales/wae_CH: Likewise.
21611 * localedata/locales/wal_ET: Likewise.
21612 * localedata/locales/wo_SN: Likewise.
21613 * localedata/locales/xh_ZA: Likewise.
21614 * localedata/locales/yi_US: Likewise.
21615 * localedata/locales/yo_NG: Likewise.
21616 * localedata/locales/yue_HK: Likewise.
21617 * localedata/locales/yuw_PG: Likewise.
21618 * localedata/locales/zh_CN: Likewise.
21619 * localedata/locales/zh_HK: Likewise.
21620 * localedata/locales/zh_SG: Likewise.
21621 * localedata/locales/zh_TW: Likewise.
21622 * localedata/locales/zu_ZA: Likewise.
21624 2017-11-13 Florian Weimer <fweimer@redhat.com>
21626 * support/next_to_fault.h, support/next_to_fault.c: New files.
21627 * support/Makefile (libsupport-routines): Add next_to_fault.
21628 * resolv/tst-inet_pton.c (struct next_to_fault)
21629 (next_to_fault_allocate, next_to_fault_free): Remove.
21630 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21632 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21634 * elf/dl-support.c: Include <dl-procruntime.c>.
21635 * include/link.h: Include <link_map.h>.
21636 * sysdeps/generic/dl-procruntime.c: New file.
21637 * sysdeps/generic/link_map.h: Likewise.
21638 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21639 the writable ld.so namespace.
21641 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21643 timezone: pacify GCC -Wstringop-truncation
21644 Problem reported by Martin Sebor in:
21645 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21646 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21648 2017-11-12 Florian Weimer <fweimer@redhat.com>
21650 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21652 (tests): Add tst-xreadlink.
21653 * support/support.h (xstrndup): Declare.
21654 * support/xunistd.h (xunlink, xreadlink): Declare.
21655 * support/temp_file.h (support_create_temp_directory): Declare.
21656 * support/temp_file.c (support_create_temp_directory): New function.
21657 * support/support_chroot.c (support_chroot_create): Use it.
21658 * support/xreadlink.c: New file.
21659 * support/xstrndup.c: Likewise.
21660 * support/xunlink.c: Likewise.
21661 * support/tst-xreadlink.c: Likewise.
21663 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21665 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21667 2017-11-11 Florian Weimer <fweimer@redhat.com>
21671 * resolv/res_comp.c (printable_string, binary_hnok)
21672 (binary_leading_dash): New functions.
21673 (res_hnok): Reimplement using these functions and ns_name_pton.
21674 (res_ownok): Likewise.
21675 (res_mailok): Reimplement using printable_string, ns_name_pton and
21677 (res_dnok): Reimplement using printable_string and ns_name_pton.
21678 * resolv/tst-res_hnok.c (tests): Add additional tests.
21679 (LETTERDIGITS, PRINTABLE): Define.
21680 (do_test): Adjust one_char results.
21682 2017-11-11 Florian Weimer <fweimer@redhat.com>
21685 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21686 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21688 2017-11-11 Florian Weimer <fweimer@redhat.com>
21690 * resolv/tst-ns_name_pton.c: New file.
21691 * resolv/Makefile (tests): Add tst-ns_name_pton.
21692 (tst-ns_name_pton): Link against libresolv.
21694 2017-11-11 Florian Weimer <fweimer@redhat.com>
21696 * resolv/tst-res_hnok.c: New file.
21697 * resolv/Makefile (tests): Add tst-res_hnok.
21698 (tst-res_hnok): Link against libresolv.
21700 2017-11-11 Florian Weimer <fweimer@redhat.com>
21702 * resolv/tst-resolv-network.c: Use test framework instead explicit
21705 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21707 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21708 <jmp_buf-macros.h>.
21709 [!_ISOMAC] (STR_HELPER): New.
21710 [!_ISOMAC] (STR): Likewise.
21711 [!_ISOMAC] (TEST_SIZE): Likewise.
21712 [!_ISOMAC] (TEST_ALIGN): Likewise.
21713 [!_ISOMAC] (TEST_OFFSET): Likewise.
21714 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21715 field offsets of jmp_buf as well as sigjmp_buf.
21716 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21717 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21718 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21719 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21720 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21721 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21722 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21723 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21724 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21725 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21727 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21729 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21734 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21735 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21736 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21737 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21738 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21743 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21744 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21745 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21747 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21750 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21751 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21752 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21753 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21754 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21755 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21756 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21757 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21758 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21759 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21760 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21761 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21762 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21763 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21764 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21765 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21766 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21767 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21768 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21769 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21770 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21771 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21772 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21773 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21774 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21775 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21776 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21777 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21778 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21779 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21780 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21781 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21782 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21783 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21784 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21785 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21786 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21787 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21788 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21789 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21790 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21791 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21792 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21793 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21794 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21795 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21796 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21797 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21798 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21799 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21800 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21801 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21802 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21803 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21804 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21805 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21806 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21807 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21808 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21809 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21810 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21811 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21812 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21813 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21814 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21815 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21816 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21817 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21818 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21819 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21820 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21821 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21822 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21823 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21824 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21825 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21826 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21827 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21828 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21829 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21830 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21831 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21832 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21833 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21834 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21835 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21836 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21837 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21839 * stdlib/tst-strtod.h (F16): New macro.
21845 (IF_FLOAT16): Likewise.
21846 (IF_FLOAT32): Likewise.
21847 (IF_FLOAT64): Likewise.
21848 (IF_FLOAT32X): Likewise.
21849 (IF_FLOAT64X): Likewise.
21850 (IF_FLOAT128X): Likewise.
21851 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
21852 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
21853 (STRTOD_TEST_FOREACH): Likewise.
21854 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
21855 (CHOOSE_f64): Likewise.
21856 (CHOOSE_f32x): Likewise.
21857 (CHOOSE_f64x): Likewise.
21859 2017-11-07 Andreas Schwab <schwab@suse.de>
21861 * nptl/Makefile (tests-internal): Remove tst-typesizes.
21863 2017-11-07 Mike FABIAN <mfabian@redhat.com>
21866 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
21868 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
21871 2017-11-07 Claude Paroz <claude@2xlibre.net>
21874 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
21876 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
21878 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
21881 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21884 * nptl/allocatestack.c (allocate_stack): Check if
21885 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
21886 __PTHREAD_MUTEX_HAVE_PREV is defined.
21887 * nptl/descr.h (pthread): Likewise.
21888 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21890 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21891 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21892 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
21893 * sysdeps/nptl/bits/thread-shared-types.h
21894 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21896 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
21897 of __WORDSIZE for internal layout.
21898 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
21899 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
21900 instead of __WORDSIZE whether to use an union for __spins and __list
21902 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
21904 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
21905 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
21907 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
21908 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21910 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
21911 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21913 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
21914 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21916 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
21917 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21919 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
21920 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21922 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
21923 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21925 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
21926 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21928 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
21929 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21931 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
21932 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21934 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
21935 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21937 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
21938 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21940 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
21941 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21943 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
21944 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21946 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
21947 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
21950 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
21952 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
21953 checks for expected input type size.
21954 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21955 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21957 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21958 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
21959 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21960 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
21961 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21962 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
21963 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
21964 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
21965 superflous runtime assert check.
21966 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
21968 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
21970 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21972 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
21974 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
21976 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
21978 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
21979 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
21980 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21982 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21984 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
21986 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
21988 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21990 * nptl/pthread_attr_setinheritsched.c
21991 (__pthread_attr_setinheritsched): Likewise.
21992 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
21994 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
21996 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
21997 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
21998 __old_pthread_attr_setstack): Likewise.
21999 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22001 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22003 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22005 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22006 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22008 * nptl/tst-typesizes.c: Remove file.
22010 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22011 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22012 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22013 checks for internal pthread_mutex_t offsets.
22014 * sysdeps/aarch64/nptl/pthread-offsets.h
22015 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22016 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22017 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22018 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22019 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22020 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22021 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22022 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22023 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22024 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22025 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22026 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22027 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22028 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22029 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22030 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22031 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22032 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22034 2017-11-07 Florian Weimer <fweimer@redhat.com>
22036 * bits/mman-linux.h: Move ...
22037 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22039 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22042 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22044 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22045 Redefine STRNLEN as __strnlen_power8.
22047 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22049 * signal/sighold.c (sighold): Optimize implementation.
22051 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22052 __NR_rt_sigqueueinfo.
22054 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22056 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22057 assume __NR_rt_sigtimedwait.
22058 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22059 and add LIBC_CANCEL_HANDLED for cancellation marking.
22060 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22062 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22063 (sysdeps_routines): Add memchr_noneon.
22064 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22065 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22066 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22067 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22068 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22069 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22070 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22072 * sysdeps/arm/arm-ifunc.h: New file.
22073 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22074 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22075 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22076 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22077 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22078 (__memcpy_neon): Avoid create hidden alias.
22079 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22080 (__memcpy_vfp): Likewise.
22081 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22082 (sysdep_routines): Add memcpy_arm.
22083 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22085 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22088 * Makerules (make-link-multidir): New.
22089 * config.make.in (multidir): New.
22090 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22091 * configure: Regenerated.
22092 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22093 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22094 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22097 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22100 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22101 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22103 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22105 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22108 2017-11-04 Florian Weimer <fweimer@redhat.com>
22110 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22112 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22114 * math/math.h [__HAVE_DISTINCT_FLOAT16
22115 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22116 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22117 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22118 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22119 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22120 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22121 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22122 (__MATH_TG_F32): New macro.
22123 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22124 (__MATH_TG_F64X): Likewise.
22125 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22126 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22128 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22130 * po/de.po: Update translations.
22131 * po/ru.po: Likewise.
22133 2017-11-03 Florian Weimer <fweimer@redhat.com>
22135 * manual/filesys.texi (Hard Links): Document linkat.
22137 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22139 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22140 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22141 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22142 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22143 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22144 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22145 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22146 the same as _Float128.
22147 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22148 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22149 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22152 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22154 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22156 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22158 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22159 (strtof32x): Likewise.
22160 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22161 (strtof64x): Likewise.
22162 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22163 (strtof128x): Likewise.
22164 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22165 (strfromf16): Likewise.
22166 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22167 (strfromf32): Likewise.
22168 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22169 (strfromf64): Likewise.
22170 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22171 (strfromf32x): Likewise.
22172 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22173 (strfromf64x): Likewise.
22174 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22175 (strfromf128x): Likewise.
22176 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22177 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22178 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22179 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22180 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22181 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22183 2017-11-03 Richard Henderson <rth@twiddle.net>
22185 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22187 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22189 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22191 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22193 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22194 DT_TLSDESC_GOT initialization.
22195 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22196 (_dl_tlsdesc_resolve_hold): Likewise.
22197 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22198 (_dl_tlsdesc_resolve_hold): Likewise.
22199 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22200 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22202 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22204 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22206 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22209 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22210 non-lazily for R_ARM_TLS_DESC.
22212 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22215 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22216 R_ARM_TLS_DESC case.
22217 (elf_machine_lazy_rel): Remove the prelink check.
22219 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22221 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22222 DT_TLSDESC_GOT initialization.
22223 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22224 (_dl_tlsdesc_resolve_rela): Likewise.
22225 (_dl_tlsdesc_resolve_hold): Likewise.
22226 (_dl_tlsdesc_undefweak): Remove ldar.
22227 (_dl_tlsdesc_dynamic): Likewise.
22228 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22229 (_dl_tlsdesc_resolve_rela): Likewise.
22230 (_dl_tlsdesc_resolve_hold): Likewise.
22231 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22232 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22233 (_dl_tlsdesc_resolve_rela): Likewise.
22234 (_dl_tlsdesc_resolve_hold): Likewise.
22236 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22238 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22239 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22241 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22243 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22244 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22246 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22248 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22250 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22251 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22252 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22253 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22254 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22255 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22256 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22257 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22258 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22259 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22260 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22262 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22265 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22266 * localedata/locales/tpi_PG: Add standard header.
22268 2017-11-02 Florian Weimer <fweimer@redhat.com>
22270 test-errno-linux: quotactl can fail with EPERM in containers.
22271 * sysdeps/unix/sysv/linux/test-errno-linux.c
22272 (LIST, LIST_FORWARD): New macros.
22273 (check_error_in_list): New function.
22274 (test_wrp_rv): Accept list of permitted error codes.
22275 (test_wrp_rv2): Remove.
22276 (test_wrp): Call test_wrp_rv with list of error codes.
22277 (test_wrp2): Accept list of error codes.
22278 (do_test): Adjust. Allow EPERM for quotactl.
22280 2017-11-02 Florian Weimer <fweimer@redhat.com>
22282 * stdio-common/bug16.c (do_test): Use array_length.
22283 * stdio-common/errlist.c (_sys_nerr): Likewise.
22284 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22285 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22286 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22287 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22288 (do_test): Use array_length.
22289 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22290 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22291 * stdio-common/tst-printf-round.c (do_test): Likewise.
22292 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22293 (CHECK): Use array_length.
22294 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22295 * stdio-common/tstscanf.c (main): Likewise.
22296 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22298 2017-11-02 Florian Weimer <fweimer@redhat.com>
22300 Add array_length and array_end macros.
22301 * include/array_length.h: New file.
22303 2017-11-02 Florian Weimer <fweimer@redhat.com>
22306 * posix/tst-glob-tilde.c (do_noescape): New variable.
22307 (one_test): Process it.
22308 (do_test): Set do_noescape. Add unescaping test case.
22310 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22313 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22314 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22315 with appropriate macros defined and undefined.
22316 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22317 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22318 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22319 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22320 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22321 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22322 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22323 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22324 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22325 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22328 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22329 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22330 that for long double. Do not condition define and undefine of
22331 _Mdouble_complex_ on [__CFLOAT128].
22333 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22335 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22336 of <sysdeps/generic/sysdep.h>.
22337 (ALIGNARG): Removed.
22338 (ASM_SIZE_DIRECTIVE): Likewise.
22341 (ENTRY_CHK): Likewise.
22342 (END_CHK): Likewise.
22343 (syscall_error): Likewise.
22344 (mcount): Likewise.
22345 (PSEUDO_END): Likewise.
22347 (atom_text_section): Likewise.
22348 * sysdeps/x86/sysdep.h: New file.
22349 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22350 of <sysdeps/generic/sysdep.h>.
22351 (ALIGNARG): Removed.
22352 (ASM_SIZE_DIRECTIVE): Likewise.
22355 (ENTRY_CHK): Likewise.
22356 (END_CHK): Likewise.
22357 (syscall_error): Likewise.
22358 (mcount): Likewise.
22359 (PSEUDO_END): Likewise.
22361 (atom_text_section): Likewise.
22363 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22365 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22366 category of LC_CTYPE set to "i18n:2012".
22367 * localedata/locales/i18n_ctype: Regenerate.
22369 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22371 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22372 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22373 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22374 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22376 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22377 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22378 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22379 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22381 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22384 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22386 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22388 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22390 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22391 (CMPLXF32X): Likewise.
22392 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22393 (CMPLXF64X): Likewise.
22394 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22395 (CMPLXF128X): Likewise.
22398 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22399 (__MATH_EVAL_FMT2): Define to add 0.0f.
22401 2017-10-31 Alan Modra <amodra@gmail.com>
22403 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22419 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22420 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22421 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22422 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22423 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22424 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22425 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22426 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22427 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22428 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22429 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22430 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22431 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22432 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22433 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22434 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22435 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22436 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22437 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22438 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22439 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22440 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22441 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22442 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22443 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22444 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22445 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22446 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22447 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22448 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22449 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22450 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22451 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22452 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22453 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22454 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22455 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22456 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22457 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22458 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22459 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22460 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22461 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22462 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22463 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22464 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22465 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22466 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22467 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22468 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22469 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22470 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22471 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22472 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22473 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22476 include sysdep.h and math_ldbl_opt.h.
22478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22479 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22505 2017-10-31 Alan Modra <amodra@gmail.com>
22507 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22508 string/strncase_l.c, not string/strncase.c.
22509 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22510 (libc_hidden_def): Redefine.
22512 2017-10-31 Alan Modra <amodra@gmail.com>
22514 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22515 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22516 (__strcasecmp): Don't define.
22518 2017-10-31 Alan Modra <amodra@gmail.com>
22520 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22522 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22523 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22524 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22526 2017-10-31 Alan Modra <amodra@gmail.com>
22528 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22531 2017-10-31 Alan Modra <amodra@gmail.com>
22533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22534 Redefine only when SHARED.
22536 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22538 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22539 Include <bits/math-finite.h> with appropriate macros defined and
22541 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22542 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22543 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22544 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22545 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22547 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22548 [!_Mlong_double_] (_Mlong_double_): Likewise.
22549 [!_Mfloat16_] (_Mfloat16_): Likewise.
22550 [!_Mfloat32_] (_Mfloat32_): Likewise.
22551 [!_Mfloat64_] (_Mfloat64_): Likewise.
22552 [!_Mfloat128_] (_Mfloat128_): Likewise.
22553 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22554 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22555 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22556 (_Mdouble_): Define without indirection through those macros.
22557 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22558 [!_Mfloat128_] (_Mfloat128_): Likewise.
22559 [_Mlong_double_] (_Mlong_double_): Likewise.
22560 (_Mdouble_): Define without indirection through those macros.
22561 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22562 not add -D_Mlong_double_=double.
22563 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22564 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22566 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22568 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22570 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22572 * sysdeps/x86/libc-start.c: Reformat.
22574 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22577 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22578 (1): Renamed to ...
22581 (L(Src2)): Likewise.
22582 (L(1)): Renamed to ...
22585 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22587 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22588 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22589 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22590 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22591 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22592 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22593 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22594 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22595 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22596 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22597 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22598 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22599 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22600 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22601 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22602 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22603 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22604 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22605 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22606 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22607 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22608 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22609 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22610 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22611 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22612 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22613 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22614 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22615 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22616 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22617 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22618 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22619 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22620 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22621 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22622 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22623 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22624 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22625 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22626 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22627 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22628 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22629 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22630 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22631 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22632 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22633 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22634 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22635 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22636 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22637 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22638 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22639 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22640 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22641 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22642 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22643 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22644 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22645 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22646 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22647 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22648 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22649 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22650 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22651 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22652 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22654 2017-10-30 Florian Weimer <fweimer@redhat.com>
22656 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22658 * io/tst-mkdirat.c (do_test): Likewise.
22659 * io/tst-mkfifoat.c (do_test): Likewise.
22660 * io/tst-mknodat.c (do_test): Likewise.
22661 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22662 * locale/programs/locale.c (select_dirs): Likewise.
22663 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22664 * posix/bug-glob2.c (my_readdir): Likewise.
22665 * posix/tst-dir.c (main): Likewise.
22666 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22667 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22669 2017-10-30 Florian Weimer <fweimer@redhat.com>
22671 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22674 2017-10-30 Florian Weimer <fweimer@redhat.com>
22676 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22677 Convert to support/test-driver.c.
22678 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22679 New macro parameters.
22680 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22681 * posix/tst-gnuglob.c: New file.
22682 * posix/tst-gnuglob64.c: Likewise.
22683 * posix/Makefile (tests): Add tst-gnuglob64.
22685 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22688 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22689 and use a better translation for March in “mon”.
22690 * localedata/locales/csb_PL: Use more ASCII to improve the
22691 readability of the source.
22693 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22696 * localedata/locales/km_KH: Use ASCII as much
22697 as possible for better readability of the source and
22698 remove useless comments.
22699 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22700 was commented out and apparently wrong anyway because it was
22701 using Lao characters. If Buddhist era should be used
22702 for km_KH, a native speaker should write the correct formaat
22704 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22705 (According to CLDR, the first weekday for Cambodia is Sunday).
22706 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22707 (These were using Lao characters which must be wrong. If we get
22708 the correct data from a native speaker, we could add it back, until
22709 then it is better not to have name_mr and name_mrs at all than
22712 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22714 * locale/loadlocale.c: Correct size of
22715 _nl_value_type_LC_<category> arrays.
22717 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22719 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22720 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22721 with appropriate macros defined and undefined.
22722 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22723 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22724 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22725 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22726 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22728 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22730 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22733 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22735 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22736 with lowercase letters to make it agree with CLDR.
22738 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22741 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22742 first letters of yesstr and nostr in yesexpr and noexpr,
22743 not for the full words.
22744 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22745 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22746 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22747 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22748 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22749 first letters of yesstr and nostr in yesexpr and noexpr,
22750 until now only English was matched in yesexpr and noexpr.
22751 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22752 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22753 fil but not for tl. As tl and fil are very similar, using fil
22754 is probably better than using English.
22756 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22759 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22760 in yesstr and nostr.
22762 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22764 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22765 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22766 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22768 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22770 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22772 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22774 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22775 (SNANF128X): Likewise.
22777 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22778 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22779 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22780 (HUGE_VAL_F32): Likewise.
22781 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22782 (HUGE_VAL_F64): Likewise.
22783 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22784 (HUGE_VAL_F32X): Likewise.
22785 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22786 (HUGE_VAL_F64X): Likewise.
22787 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22788 (HUGE_VAL_F128X): Likewise.
22790 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22792 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22793 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22794 for the br_FR locale.
22796 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22799 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22801 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22803 * locale/programs/record-status.h: Define globals, and function
22804 prototypes. Move function bodies...
22805 * locale/programs/record-status.c: ... to here. New file.
22806 * iconv/Makefile (iconv_prog-modules): Add record-status.
22807 * locale/Makefile (lib-modules): Likewise.
22808 * iconv/iconv_prog.c: Remove verbose.
22809 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22810 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22811 record a warning about ASCII compatibility.
22812 * locale/programs/ld-monetary.c (monetary_finish): If
22813 warn_int_curr_symbol is true then record a warning about the symbol
22814 not being in our ISO 4217 list.
22815 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22816 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22817 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22818 (OPT_NO_WARN): Define.
22819 (OPT_WARN): Define.
22820 (options): Add entry for --no-warnings, and --warnings.
22821 (set_warnings): New function to enable/disable warnings.
22822 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22823 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22824 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22825 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22826 Pass flags to generate_locale.
22827 (generate_locale): Accept new flag argument and pass it to localedef
22829 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22830 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22832 * localedata/Makefile (test-input-data): Use full file name.
22833 * localedata/da_DK.in: Rename to...
22834 * localedata/da_DK.ISO-8859-1.in: ...this.
22835 * localedata/de_DE.in: Rename to...
22836 * localedata/de_DE.ISO-8859-1.in: ...this.
22837 * localedata/en_US.in: Rename to...
22838 * localedata/en_US.ISO-8859-1.in: ...this.
22839 * localedata/fr_FR.in: Rename to...
22840 * localedata/fr_FR.UTF-8.in: ... this.
22841 * localedata/hr_HR.in: Rename to...
22842 * localedata/hr_HR.ISO-8859-2.in: ...this.
22843 * localedata/hu_HU.in: Rename to...
22844 * localedata/hu_HU.UTF-8.in: ...this.
22845 * localedata/si_LK.in: Rename to...
22846 * localedata/si_LK.UTF-8.in: ...this.
22847 * localedata/sv_SE.in: Rename to...
22848 * localedata/sv_SE.ISO-8859-1.in: ...this.
22849 * localedata/tr_TR.in: Rename to...
22850 * localedata/tr_TR.UTF-8.in: ...this.
22851 * localedata/uk_UA.in: Rename to...
22852 * localedata/uk_UA.UTF-8.in: ...this.
22853 * localedata/sort-test.sh: Test file is locale name with the
22856 * localedata/unicode-gen/Makefile (check_i18n): Rename to
22857 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
22859 * localedata/locales/i18n_ctype: Regenerate.
22860 * localedata/locales/tr_TR: Likewise.
22861 * localedata/locales/translit_circle: Likewise.
22862 * localedata/locales/translit_cjk_compat: Likewise.
22863 * localedata/locales/translit_combining: Likewise.
22864 * localedata/locales/translit_compat: Likewise.
22865 * localedata/locales/translit_font: Likewise.
22866 * localedata/locales/translit_fraction: Likewise.
22868 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22870 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
22871 lxvd2x/stxvd2x with lvx/stvx.
22872 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
22874 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
22876 * include/alloc_buffer.h: Replace "if if " with "if " in
22878 * sysdeps/mips/memcpy.S: Likkewise.
22879 * sysdeps/mips/memset.S: Likewise.
22880 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
22882 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
22884 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
22887 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22890 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
22891 yesexpr and noexpr.
22892 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22893 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22894 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
22895 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
22896 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
22897 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
22898 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
22900 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22902 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
22903 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22904 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22905 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22906 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
22907 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
22908 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
22909 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
22910 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
22911 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
22912 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
22913 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
22915 2017-10-25 Mike FABIAN <mfabian@redhat.com>
22917 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
22918 as possible for better readability of the source.
22919 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
22920 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
22921 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
22922 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
22923 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
22924 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
22925 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
22926 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
22927 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
22928 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
22929 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
22930 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
22931 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
22932 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
22933 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
22934 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
22935 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
22936 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
22937 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
22938 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
22939 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
22940 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
22941 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
22942 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
22943 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
22944 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
22945 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
22946 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
22947 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
22948 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
22949 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
22950 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
22951 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
22952 * localedata/locales/en_US (LC_MESSAGES): Likewise.
22953 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
22954 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
22955 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
22956 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
22957 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
22958 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
22959 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
22960 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
22961 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
22962 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
22963 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
22964 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
22965 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
22966 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
22967 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
22968 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
22969 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
22970 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
22971 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
22972 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
22973 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
22974 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
22975 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
22976 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22977 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
22978 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
22979 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
22980 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
22981 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
22982 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
22983 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
22984 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
22985 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
22986 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
22987 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
22988 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
22989 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
22990 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
22991 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
22992 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
22993 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
22994 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
22995 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
22996 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
22997 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
22998 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
22999 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23000 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23001 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23002 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23003 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23004 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23005 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23006 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23007 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23008 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23009 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23010 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23011 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23012 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23013 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23014 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23015 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23016 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23017 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23018 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23019 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23020 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23021 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23022 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23023 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23024 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23025 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23026 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23027 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23028 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23029 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23030 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23031 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23032 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23033 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23034 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23035 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23036 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23037 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23038 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23039 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23040 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23041 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23042 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23043 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23044 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23045 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23046 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23047 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23048 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23049 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23050 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23051 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23052 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23053 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23054 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23055 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23056 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23057 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23058 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23059 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23060 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23061 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23062 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23063 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23064 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23065 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23066 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23067 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23068 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23069 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23070 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23071 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23072 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23073 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23074 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23075 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23076 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23077 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23078 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23079 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23080 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23081 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23082 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23083 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23084 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23085 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23086 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23087 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23088 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23089 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23090 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23091 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23092 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23094 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23096 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23097 (Use first letters of yesstr and nostr correctly instead of using
23100 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23102 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23103 (Use first letters of yesstr and nostr correctly).
23105 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23107 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23108 also check for the first characters of yesstr and nostr.
23109 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23110 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23112 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23114 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23115 also check for Chinese characters.
23117 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23119 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23120 match also for the contents of yesstr and nostr. As the first letter
23121 of yesstr and nostr is equal, checking only for the first letter
23124 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23126 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23127 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23129 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23131 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23132 of main contributor.
23134 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23136 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23137 instead of using English.
23139 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23141 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23142 by including the first letters of nostr and yesexpr in the regexp.
23143 Also make it more readable by using ASCII where possible.
23145 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23147 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23148 the first letter of nostr in the regexp. It agrees with CLDR now.
23149 Also make it more readable by using ASCII where possible.
23151 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23153 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23154 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23155 these strings contain a U+17D6 (which somewhat looks like a colon)
23156 instead of a real colon to separate the full words for “yes”
23157 and “no” from the single letter responses.
23159 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23161 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23162 it agree with CLDR (include the first letter of yesstr).
23163 Also make it more readable by using ASCII where possible.
23165 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23167 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23168 and improve yesexpr and noexpr. The yesstr and nostr apparently
23169 came from CLDR. And CLDR has a bug there: these strings contain
23170 a U+0903 (which looks like a colon) instead of a real colon
23171 to separate the full words for “yes” and “no” from the single
23174 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23176 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23177 letters of the full yesstr and nostr in yesexpr and noexpr.
23179 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23181 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23182 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23183 * localedata/locales/an_ES: Make source more readable by using ASCII
23186 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23189 * localedata/locales/yuw_PG: New file.
23190 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23191 * locale/iso-639.def: Add Yau (Uruwa).
23193 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23195 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23197 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23199 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23200 (__libc_realloc): Likewise.
23201 (_mid_memalign): Likewise.
23202 (__libc_calloc): Likewise.
23204 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23206 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23207 by adding the generic +1 and -0 as in all other locales.
23208 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23209 day names and make it more readable by using ASCII where possible.
23211 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23213 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23214 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23216 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23218 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23219 WNOHANG in waitpid call.
23221 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23223 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23224 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23226 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23227 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23228 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23229 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23230 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23231 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23232 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23233 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23236 2017-10-23 Michael Collison <michael.collison@arm.com>
23238 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23239 with __builtin_sqrt.
23240 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23241 with __builtin_sqrtf.
23242 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23243 with __builtin_ceil.
23244 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23245 with __builtin_ceilf.
23246 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23247 with __builtin_floor.
23248 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23249 with __builtin_floorf.
23250 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23251 with __builtin_fma.
23252 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23253 with __builtin_fmaf.
23254 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23255 with __builtin_fmax.
23256 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23257 with __builtin_fmaxf.
23258 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23259 with __builtin_fmin.
23260 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23261 with __builtin_fminf.
23262 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23263 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23264 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23265 with builtin_rint and conversion to int.
23266 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23267 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23268 with builtin_llround.
23269 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23270 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23271 with builtin_rint and conversion to long int.
23272 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23273 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23274 with builtin_lround.
23275 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23276 with builtin_lroundf.
23277 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23278 statements with __builtin_nearbyint.
23279 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23280 statements with __builtin_nearbyintf.
23281 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23282 with __builtin_rint.
23283 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23284 with __builtin_rintf.
23285 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23286 with __builtin_round.
23287 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23288 with __builtin_roundf.
23289 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23290 with __builtin_trunc.
23291 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23292 with __builtin_truncf.
23293 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23294 and s_l[l]round[f].c too.
23296 2017-10-23 Alan Modra <amodra@gmail.com>
23298 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23299 Adjust stack after restoring regs. Add missing LR cfi_restore.
23301 2017-10-23 Alan Modra <amodra@gmail.com>
23303 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23304 Move LR save and frame setup/teardown and LR restore to
23305 immediately around memset call. Provide cfi.
23307 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23309 * sysdeps/i386/fpu/e_powf.S: Removed.
23310 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23311 * sysdeps/i386/fpu/w_powf.c: Likewise.
23312 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23313 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23314 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23316 (CFLAGS-e_powf-sse2.c): New.
23317 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23318 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23320 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23322 * sysdeps/i386/fpu/e_log2f.S: Removed.
23323 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23324 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23325 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23326 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23327 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23329 (CFLAGS-e_log2f-sse2.c): New.
23330 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23331 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23333 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23335 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23337 (CFLAGS-e_powf-fma.c): New.
23338 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23339 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23341 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23343 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23345 (CFLAGS-e_log2f-fma.c): New.
23346 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23347 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23349 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23351 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23353 (CFLAGS-e_logf-fma.c): New.
23354 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23355 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23357 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23359 * sysdeps/i386/fpu/e_logf.S: Removed.
23360 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23361 * sysdeps/i386/fpu/w_logf.c: Likewise.
23362 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23363 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23364 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23365 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23367 (CFLAGS-e_logf-sse2.c): New.
23368 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23369 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23371 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23373 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23374 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23375 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23376 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23377 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23379 (CFLAGS-e_exp2f-sse2.c): New.
23380 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23381 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23383 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23385 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23387 (CFLAGS-e_exp2f-fma.c): New.
23388 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23389 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23391 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23393 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23394 * sysdeps/i386/fpu/e_expf.S: Likewise.
23395 * sysdeps/i386/fpu/math_errf.c: Likewise.
23396 * sysdeps/i386/fpu/w_expf.c: Likewise.
23397 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23398 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23399 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23400 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23401 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23402 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23403 Remove e_expf-ia32.
23404 (CFLAGS-e_expf-sse2.c): New.
23405 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23406 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23408 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23410 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23411 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23412 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23413 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23415 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23417 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23418 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23420 (__redirect_expf): This.
23421 (SYMBOL_NAME): Changed to expf.
23422 (__ieee754_expf): Renamed to ...
23424 (__GI___expf): This.
23425 (__ieee754_expf): Add strong_alias.
23426 (__expf_finite): Likewise.
23428 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23430 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23433 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23436 2017-10-21 Florian Weimer <fweimer@redhat.com>
23438 * posix/Makefile (tests): Add tst-glob-tilde.
23439 (tests-special): Add tst-glob-tilde-mem.out
23440 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23441 (tst-glob-tilde-mem.out): Add mtrace check.
23442 * posix/tst-glob-tilde.c: New file.
23444 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23446 * bits/floatn-common.h: New file.
23447 * math/Makefile (headers): Add bits/floatn-common.h.
23448 * bits/floatn.h: Include <bits/floatn-common.h>.
23449 * sysdeps/ia64/bits/floatn.h: Likewise.
23450 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23451 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23452 * sysdeps/powerpc/bits/floatn.h: Likewise.
23453 * sysdeps/x86/bits/floatn.h: Likewise.
23455 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23457 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23458 indicates whether compiler emits an warning for alias for
23459 functions with incompatible types.
23462 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23463 the auxiliary process is terminated by a signal before calling _exit
23466 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23469 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23471 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23472 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23473 and bit_arch_XSAVEC_Usable if needed.
23474 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23475 and bit_arch_Use_dl_runtime_resolve_opt.
23476 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23478 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23479 (bit_arch_Prefer_No_AVX512): Updated.
23480 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23481 (bit_arch_XSAVEC_Usable): New.
23482 (STATE_SAVE_OFFSET): Likewise.
23483 (STATE_SAVE_MASK): Likewise.
23484 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23485 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23486 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23487 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23488 (index_arch_XSAVEC_Usable): New.
23489 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23490 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23491 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23493 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23494 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23495 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23496 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23497 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23498 _dl_runtime_resolve_xsavec.
23499 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23501 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23502 instead of VEC_SIZE.
23503 (REGISTER_SAVE_BND0): Removed.
23504 (REGISTER_SAVE_BND1): Likewise.
23505 (REGISTER_SAVE_BND3): Likewise.
23506 (REGISTER_SAVE_RAX): Always defined to 0.
23508 (_dl_runtime_resolve_avx): Likewise.
23509 (_dl_runtime_resolve_avx_slow): Likewise.
23510 (_dl_runtime_resolve_avx_opt): Likewise.
23511 (_dl_runtime_resolve_avx512): Likewise.
23512 (_dl_runtime_resolve_avx512_opt): Likewise.
23513 (_dl_runtime_resolve_sse): Likewise.
23514 (_dl_runtime_resolve_sse_vex): Likewise.
23516 (_dl_runtime_resolve_fxsave): Likewise.
23517 (USE_XSAVE): Likewise.
23518 (_dl_runtime_resolve_xsave): Likewise.
23519 (USE_XSAVEC): Likewise.
23520 (_dl_runtime_resolve_xsavec): Likewise.
23521 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23523 (_dl_runtime_resolve_avx512_opt): Likewise.
23524 (_dl_runtime_resolve_avx): Likewise.
23525 (_dl_runtime_resolve_avx_opt): Likewise.
23526 (_dl_runtime_resolve_sse): Likewise.
23527 (_dl_runtime_resolve_sse_vex): Likewise.
23528 (_dl_runtime_resolve_fxsave): New.
23529 (_dl_runtime_resolve_xsave): Likewise.
23530 (_dl_runtime_resolve_xsavec): Likewise.
23532 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23536 * posix/glob.c (__glob): Fix one-byte overflow.
23538 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23540 * malloc/malloc.c (sysdep-cancel.h): Add include.
23542 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23544 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23546 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23548 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23549 (tests): Remove $(objpfx)ga_test depdendency.
23550 * resolv/ga_test.c: Remove file.
23552 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23555 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23556 * localedata/locales/kab_DZ: New file.
23558 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23560 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23561 _dl_relocate_static_pie instead of _dl_start to compute load
23562 address in static PIE.
23564 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23566 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23568 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23571 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23572 * localedata/locales/shn_MM: New file.
23574 2017-10-20 Florian Weimer <fweimer@redhat.com>
23577 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23578 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23579 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23580 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23581 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23582 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23584 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23586 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23588 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23590 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23593 * sysdeps/mips/bits/long-double.h: Move to ....
23594 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23596 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23598 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23600 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23601 H.J. Lu <hongjiu.lu@intel.com>
23604 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23605 GLRO(dl_platform) to NULL.
23606 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23607 (modules-names): Add tst-platformmod-1 and
23608 x86_64/tst-platformmod-2.
23609 (CFLAGS-tst-platform-1.c): New.
23610 (CFLAGS-tst-platformmod-1.c): Likewise.
23611 (CFLAGS-tst-platformmod-2.c): Likewise.
23612 (LDFLAGS-tst-platformmod-2.so): Likewise.
23613 ($(objpfx)tst-platform-1): Likewise.
23614 ($(objpfx)tst-platform-1.out): Likewise.
23615 (tst-platform-1-ENV): Likewise.
23616 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23617 * sysdeps/x86_64/tst-platform-1.c: New file.
23618 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23619 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23621 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23624 * locale/iso-639.def: Add Karbi.
23625 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23626 * localedata/locales/mjw_IN: New file.
23628 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23630 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23631 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23632 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23633 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23634 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23635 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23636 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23638 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23639 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23640 * manual/math.texi (Mathematics): Document additional architecture
23641 support for _Float128.
23642 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23643 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23644 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23645 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23646 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23647 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23648 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23649 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23650 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23651 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23652 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23653 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23654 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23655 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23656 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23658 2017-10-18 Renlin Li <renlin.li@arm.com>
23660 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23661 _DYNAMIC symbol to calculate load address.
23663 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23665 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23666 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23668 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23669 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23671 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23674 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23675 and improve readability by using more ASCII.
23676 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23677 and improve readability by using more ASCII.
23679 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23681 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23682 not all targets support atomics on bool.
23684 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23686 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23687 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23689 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23690 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23691 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23692 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23693 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23694 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23696 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23698 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23701 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23704 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23705 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23706 (do_check_remalloced_chunk): Fix build bug.
23707 (do_check_malloc_state): Add assert that checks arena->top.
23708 (malloc_consolidate): Remove initialization.
23709 (int_mallinfo): Remove call to malloc_consolidate.
23710 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23712 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23714 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23715 (have_fastchunks): Remove.
23716 (clear_fastchunks): Remove.
23717 (set_fastchunks): Remove.
23718 (malloc_state): Add have_fastchunks.
23719 (malloc_init_state): Use have_fastchunks.
23720 (do_check_malloc_state): Remove incorrect invariant checks.
23721 (_int_malloc): Use have_fastchunks.
23722 (_int_free): Likewise.
23723 (malloc_consolidate): Likewise.
23725 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23727 * malloc/malloc.c (tcache_put): Inline.
23728 (tcache_get): Inline.
23730 2017-10-17 Jordi Mallach <jordi@gnu.org>
23732 Aurelien Jarno <aurelien@aurel32.net>
23734 * localedata/locales/ca_ES@valencia: New file.
23735 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23737 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23740 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23743 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23745 * scripts/build-many-glibcs.py (Context.add_all_configs):
23746 Add arm-linux-gnueabihf multiarch extra_glibcs.
23748 * sysdeps/generic/ifunc-init.h: New file.
23749 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23751 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23754 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23755 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23756 * stdlib/tst-strfmon_l.c: adapt test case.
23758 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23760 * sysdeps/generic/float128-abi.h: New file.
23761 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23762 non-__prefixed symbols to ....
23763 * math/Versions: ... here. Include <float128-abi.h>.
23764 * stdlib/Versions ... and here. Include <float128-abi.h>
23766 2017-10-16 Florian Weimer <fweimer@redhat.com>
23768 * version.h (VERSION): Switch to ".9000" as the development
23771 2017-10-16 Florian Weimer <fweimer@redhat.com>
23774 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23775 compat_symbol_reference to access non-default version.
23777 2017-10-16 Florian Weimer <fweimer@redhat.com>
23779 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23781 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23783 * include/shlib-compat.h (compat_symbol_reference): Update
23786 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23788 * math/Makefile (test-types): Add
23789 $(type-float128-$(float128-alias-fcts)).
23790 * math/test-float128.h (TYPE_STR): Define conditional on
23791 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23792 (ULP_IDX): Likewise.
23793 (ULP_I_IDX): Likewise.
23795 * stdlib/strtold.c: Include <bits/floatn.h>
23796 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23797 and later undefine as macro. Define as weak alias if
23799 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23800 and later undefine as macro. Define as weak alias if
23802 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23803 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23804 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23805 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23806 Define and later undefine as macro. Define as weak alias if
23808 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23810 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23811 Define and later undefine as macro. Define as weak alias if
23813 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23814 Define and later undefine as macro. Define as weak alias if
23817 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23819 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23820 record_verbose messages.
23822 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23825 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23826 to silence -O3 -Wall warning with GCC 7.
23828 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23830 * Makeconfig (+link-static-before-libc): Use the first of
23831 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23832 * gmon/Makefile (tests): Add tst-gmon-static.
23833 (tests-static): Likewise.
23834 (CFLAGS-tst-gmon-static.c): New.
23835 (CRT-tst-gmon-static): Likewise.
23836 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23837 (tst-gmon-static-ENV): Likewise.
23838 (tests-special): Likewise.
23839 ($(objpfx)tst-gmon-static.out): Likewise.
23840 (clean-tst-gmon-static-data): Likewise.
23841 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23842 * gmon/tst-gmon-static-gprof.sh: New file.
23843 * gmon/tst-gmon-static.c: Likewise.
23845 2017-10-13 Carlos O'Donell <carlos@redhat.com>
23848 * locale/programs/linereader.c (get_string): Don't warn on
23849 non-symbolic character.
23852 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
23856 * locale/programs/record-status.h: New file
23857 * locale/programs/locale.c: Add comment.
23858 * locale/programs/charmap-dir.c: Don't include error.h.
23859 (charmap_opendir): Use record_error.
23860 * locale/programs/charmap.c: Don't include error.h.
23861 (charmap_read): Use record_error, and record_warning.
23862 (parse_charmap): Likewise.
23863 * locale/programs/ld-address.c: Don't include error.h.
23864 (address_finish): Use record_error, and record_warning.
23865 * locale/programs/ld-collate.c: Don't include error.h.
23866 (collate_finish): Use record_error, and record_error_at_line.
23867 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
23868 (ctype_class_new): Likewise.
23869 (ctype_map_new): Likewise.
23870 (set_one_default): Likewise.
23871 (set_class_defaults): Likewise.
23872 (translit_flatten): Likewise.
23873 (allocate_arrays): Use record_error, and record_verbose.
23874 * locale/programs/ld-identification.c: Don't include error.h.
23875 (indentation_finish): Use record_error and record_warning.
23876 * locale/programs/ld-measurement.c: Don't include error.h.
23877 (measurement_finish): Use record_error.
23878 * locale/programs/ld-messages.c
23879 (message_finish): Likewise.
23880 * locale/programs/ld-monetary.c
23881 (monetary_finish): Likewise.
23882 * locale/programs/ld-name.c (name_finish): Use record_error
23883 and record_warning.
23884 * locale/programs/ld-numeric.c
23885 (numeric_finish): Use record_error.
23886 * locale/programs/ld-paper.c: Don't include error.h.
23887 (paper_finish): Use record_error.
23888 * locale/programs/ld-telephone.c: Don't include error.h.
23889 (telephone_finish): Use record_error.
23890 * locale/programs/ld-time.c (time_finish): Likewise.
23891 * locale/programs/linereader.h (lr_error): Make inline func.
23892 * locale/programs/localedef.c: Define recorded_warning_count,
23893 and recorded_error_count.
23894 (main): Use record_error. Use recorded_error_count and
23895 recorded_warning_count to issue correct error returns.
23896 (add_to_readlist): Use record_error.
23897 (find_locale): Likewise.
23898 (load_locale): Likewise.
23899 * locale/programs/localedef.h: Remove be_quiet
23900 and WITH_CUR_LOCALE.
23901 * locale/programs/locarchive.c (compare_from_file): Use
23903 * locale/programs/locfile.c (write_locale_data): Use
23905 * locale/programs/repertoire.c: Dont include error.h.
23906 (repertoire_complain): Use record_error.
23907 * localedata/tst-fmon.sh: Expect failures from localedef.
23908 * localedata/tst-locale.sh: Likewise.
23909 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
23911 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
23912 (REPORTS): Likewise.
23914 (i18n): Rename to...
23915 (i18n_ctype): ...this.
23916 (i18n-report): Rename to...
23917 (i18n_ctype-report): ...this.
23918 * localedata/locales/i18n_ctype: Regenerate.
23919 * localedata/locales/i18n: copy i18n_ctype.
23921 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23923 * stdlib/strfroml.c: Include <bits/floatn.h>.
23924 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
23925 Define before include of <stdlib.h> and undefine afterwards, then
23926 define as weak alias.
23928 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
23929 Undefine and restore default definition. Use
23930 libm_alias_ldouble_other.
23932 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
23935 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
23938 2017-10-13 James Clarke <jrtc27@jrtc27.com>
23940 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23941 Assign sym_map to be map for local symbols, as TLS relocations
23942 use sym_map to determine whether the symbol is defined and to
23943 extract the TLS information.
23944 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23945 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23947 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23950 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
23951 (math_force_eval): Add powerpc version.
23954 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
23956 (do_test): Likewise.
23957 * stdio-common/tst-printf.sh: Likewise.
23958 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
23959 ifdef clause in order to set the carry bit right. Replace r0 by
23960 0 without changing the behavior.
23962 2017-10-13 Joseph Myers <joseph@codesourcery.com>
23964 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
23965 <libm-alias-ldouble.h>.
23966 (fabsl): Define using libm_alias_ldouble.
23967 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
23968 <libm-alias-ldouble.h>.
23969 (fabsl): Define using libm_alias_ldouble.
23971 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
23972 Remove conditional code.
23974 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
23975 Rename to __clog10_internal_l.
23976 (__clog10_internal_l): Define aliases using
23977 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
23980 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23982 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
23983 * benchtests/sincosf-inputs: New file.
23984 * benchtests/cosf-inputs: New file.
23985 * benchtests/sinf-inputs: New file.
23987 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
23989 * posix/tst-spawn.c (do_test): Wait for both children.
23991 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
23994 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
23995 tests-pie): Add tst-gmon-pie.
23996 (CFLAGS-tst-gmon-pie.c): New.
23997 (CRT-tst-gmon-pie): Likewise.
23998 (tst-gmon-pie-ENV): Likewise.
23999 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24000 ($(objpfx)tst-gmon-pie.out): Likewise.
24001 (clean-tst-gmon-pie-data): Likewise.
24002 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24003 * gmon/gmon.c [PIC]: Include <link.h>.
24004 [PIC] (callback): New function.
24005 (write_hist): Add an argument for load address. Subtract load
24007 (write_call_graph): Likewise.
24008 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24009 it to write_hist and write_call_graph.
24010 * gmon/tst-gmon-pie.c: New file.
24012 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24014 * math/Makefile (test-types-basic): New variable.
24015 (test-types): Likewise.
24016 (libm-test-support): Use $(test-types) instead of $(types).
24017 (libm-tests-base-normal): Likewise.
24018 (libm-tests-base-finite): Likewise.
24019 (libm-tests-base-inline): Likewise.
24020 (generated): Likewise.
24021 ($(objpfx)libm-test-support-$(t).c): Likewise.
24022 (libm-tests-for-type iterator): Likewise.
24023 (libm-test-support iterator): Likewise.
24024 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24025 (ulp_idx): Use ULP_IDX.
24026 * math/test-ldouble.h: Include <float.h>.
24027 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24028 (ULP_IDX): New macro.
24029 (ULP_I_IDX): Likewise.
24030 * math/test-double.h (ULP_IDX): Likewise.
24031 (ULP_I_IDX): Likewise.
24032 * math/test-float.h (ULP_IDX): Likewise.
24033 (ULP_I_IDX): Likewise.
24034 * math/test-float128.h (ULP_IDX): Likewise.
24035 (ULP_I_IDX): Likewise.
24037 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24039 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24040 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24041 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24042 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24043 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24044 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24045 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24046 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24047 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24048 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24049 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24050 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24051 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24052 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24053 (SINGLE_THREAD_BY_GLOBAL): Define.
24054 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24056 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24058 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24060 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24062 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24063 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24067 2017-10-11 Andreas Schwab <schwab@suse.de>
24069 * nis/Makefile (aux): Remove.
24070 * nscd/Makefile (aux): Add nscd_hash.
24071 (nscd-modules): Likewise.
24072 ($(objpfx)nscd): Don't depend on libnsl.
24073 * nscd/nscd_hash.c: New file.
24074 * nscd/nscd_hash.h: Likewise.
24075 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24076 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24077 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24078 instead of <nis/rpcsvc/nis.h>.
24079 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24081 2017-10-11 Florian Weimer <fweimer@redhat.com>
24084 Avoid large NSS buffers with many addresses, aliases.
24085 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24086 using dynarrays and struct alloc_buffer.
24087 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24088 (tst-nss-files-hosts-multi): Link with -ldl.
24089 * nss/tst-nss-files-hosts-multi.c: New file.
24091 2017-10-11 Florian Weimer <fweimer@redhat.com>
24094 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24095 scratch_buffer. Eliminate gotos.
24097 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24099 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24100 libm_alias_ldouble_other.
24101 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24102 undefine and redefine.
24103 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24104 (exp10l): Do not define here.
24105 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24106 (weak_alias): Undefine and redefine.
24107 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24108 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24109 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24110 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24112 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24113 [!__fma] (fma): Define using libm_alias_double.
24114 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24115 [!__fmaf] (fmaf): Define using libm_alias_float.
24116 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24117 (fmal): Define using libm_alias_ldouble.
24119 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24121 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24123 (libm_alias_double_other): Likewise.
24124 (libm_alias_double_r): Use libm_alias_double_other_r.
24125 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24127 (libm_alias_float_other): Likewise.
24128 (libm_alias_float_r): Use libm_alias_float_other_r.
24129 * sysdeps/generic/libm-alias-float128.h
24130 (libm_alias_float128_other_r): New macro.
24131 (libm_alias_float128_other): Likewise.
24132 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24133 * sysdeps/generic/libm-alias-ldouble.h
24134 (libm_alias_ldouble_other_r): New macro.
24135 (libm_alias_ldouble_other): Likewise.
24136 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24137 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24138 (libm_alias_double_other_r): New macro.
24139 (libm_alias_double_other): Likewise.
24140 (libm_alias_double_r): Use libm_alias_double_other_r.
24141 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24142 (libm_alias_ldouble_other_r): New macro.
24143 (libm_alias_ldouble_other): Likewise.
24144 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24145 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24146 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24147 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24148 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24149 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24150 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24151 * math/w_exp2f.c: Use libm_alias_float_other.
24152 * math/w_expf.c: Likewise.
24153 * math/w_log2f.c: Likewise.
24154 * math/w_logf.c: Likewise.
24155 * math/w_powf.c: Likewise.
24156 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24157 [!__exp2f]: Use libm_alias_float_other.
24158 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24159 [!__expf]: Use libm_alias_float_other.
24160 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24161 [!__log2f]: Use libm_alias_float_other.
24162 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24163 [!__logf]: Use libm_alias_float_other.
24164 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24165 [!__powf]: Use libm_alias_float_other.
24167 2017-10-10 Florian Weimer <fweimer@redhat.com>
24169 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24171 (_nss_files_gethostbyname3_r): Call it.
24173 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24175 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24176 error. Remove default definition of declare_mgen_alias.
24177 [!declare_mgen_alias_r]: Likewise.
24178 * sysdeps/generic/math-type-macros-double.h
24179 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24180 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24181 (declare_mgen_alias_r): Likewise.
24182 * sysdeps/generic/math-type-macros-float128.h
24183 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24184 * sysdeps/generic/math-type-macros-ldouble.h
24185 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24186 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24188 (declare_mgen_alias_r_s): Likewise.
24189 (declare_mgen_alias_r): Likewise.
24190 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24191 (lgamma_r): Define using libm_alias_double_r.
24192 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24193 (lgammaf_r): Define using libm_alias_float_r.
24194 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24195 (lgammal_r): Define using libm_alias_ldouble_r.
24196 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24197 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24199 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24201 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24202 extern declaration.
24204 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24206 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24208 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24211 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24212 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24213 * math/Makefile (test-math-cxx11): New test.
24214 * math/test-math-cxx11.cc: New file.
24216 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24218 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24220 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24221 call to allocate the slave pty file descriptor.
24223 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24225 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24226 [!__fma] (fma): Define using libm_alias_double.
24227 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24228 [!__fma] (fma): Define using libm_alias_double.
24230 * sysdeps/ieee754/float128/float128_private.h: Include
24231 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24232 (libm_alias_ldouble_r): Undefine and redefine.
24233 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24234 <libm-alias-ldouble.h>.
24235 (asinhl): Define using libm_alias_ldouble.
24236 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24237 <libm-alias-ldouble.h>.
24238 (atanl): Define using libm_alias_ldouble.
24239 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24240 <libm-alias-ldouble.h>.
24241 (cbrtl): Define using libm_alias_ldouble.
24242 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24243 <libm-alias-ldouble.h>.
24244 (ceill): Define using libm_alias_ldouble.
24245 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24246 <libm-alias-ldouble.h>.
24247 (copysignl): Define using libm_alias_ldouble.
24248 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24249 <libm-alias-ldouble.h>.
24250 (cosl): Define using libm_alias_ldouble.
24251 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24252 <libm-alias-ldouble.h>.
24253 (erfl): Define using libm_alias_ldouble.
24255 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24256 <libm-alias-ldouble.h>.
24257 (expm1l): Define using libm_alias_ldouble.
24258 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24259 <libm-alias-ldouble.h>.
24260 (fabsl): Define using libm_alias_ldouble.
24261 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24262 <libm-alias-ldouble.h>.
24263 (floorl): Define using libm_alias_ldouble.
24264 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24265 <libm-alias-ldouble.h>.
24266 (fmal): Define using libm_alias_ldouble.
24267 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24268 <libm-alias-ldouble.h>.
24269 (frexpl): Define using libm_alias_ldouble.
24270 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24271 libm_alias_ldouble.
24272 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24273 <libm-alias-ldouble.h>.
24274 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24275 libm_alias_ldouble.
24276 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24277 <libm-alias-ldouble.h>.
24278 (getpayloadl): Define using libm_alias_ldouble.
24279 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24280 <libm-alias-ldouble.h>.
24281 (llrintl): Define using libm_alias_ldouble.
24282 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24283 <libm-alias-ldouble.h>.
24284 (llroundl): Define using libm_alias_ldouble.
24285 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24286 <libm-alias-ldouble.h>.
24287 (logbl): Define using libm_alias_ldouble.
24288 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24289 <libm-alias-ldouble.h>.
24290 (lrintl): Define using libm_alias_ldouble.
24291 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24292 <libm-alias-ldouble.h>.
24293 (lroundl): Define using libm_alias_ldouble.
24294 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24295 <libm-alias-ldouble.h>.
24296 (modfl): Define using libm_alias_ldouble.
24297 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24298 <libm-alias-ldouble.h>.
24299 (nearbyintl): Define using libm_alias_ldouble.
24300 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24301 <libm-alias-ldouble.h>.
24302 (nextafterl): Define using libm_alias_ldouble.
24303 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24304 <libm-alias-ldouble.h>.
24305 (nextupl): Define using libm_alias_ldouble.
24306 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24307 <libm-alias-ldouble.h>.
24308 (remquol): Define using libm_alias_ldouble.
24309 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24310 <libm-alias-ldouble.h>.
24311 (rintl): Define using libm_alias_ldouble.
24312 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24313 <libm-alias-ldouble.h>.
24314 (roundevenl): Define using libm_alias_ldouble.
24315 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24316 <libm-alias-ldouble.h>.
24317 (roundl): Define using libm_alias_ldouble.
24318 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24319 using libm_alias_ldouble.
24320 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24321 <libm-alias-ldouble.h>.
24322 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24323 Define using libm_alias_ldouble.
24324 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24325 <libm-alias-ldouble.h>.
24326 (sincosl): Define using libm_alias_ldouble.
24327 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24328 <libm-alias-ldouble.h>.
24329 (sinl): Define using libm_alias_ldouble.
24330 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24331 <libm-alias-ldouble.h>.
24332 (tanhl): Define using libm_alias_ldouble.
24333 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24334 <libm-alias-ldouble.h>.
24335 (tanl): Define using libm_alias_ldouble.
24336 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24337 <libm-alias-ldouble.h>.
24338 (totalorderl): Define using libm_alias_ldouble.
24339 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24340 <libm-alias-ldouble.h>.
24341 (totalordermagl): Define using libm_alias_ldouble.
24342 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24343 <libm-alias-ldouble.h>.
24344 (truncl): Define using libm_alias_ldouble.
24345 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24346 libm_alias_ldouble.
24347 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24348 libm_alias_ldouble.
24349 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24350 <libm-alias-ldouble.h>.
24351 (weak_alias): Do not undefine and redefine.
24352 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24353 (copysignl): Define with long_double_symbol only if [IS_IN
24355 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24356 <libm-alias-ldouble.h>.
24357 (weak_alias): Do not undefine and redefine.
24358 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24359 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24360 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24361 <libm-alias-ldouble.h>.
24362 (weak_alias): Do not undefine and redefine.
24363 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24364 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24365 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24366 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24367 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24368 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24369 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24370 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24371 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24372 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24373 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24374 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24375 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24376 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24377 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24378 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24379 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24380 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24381 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24382 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24383 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24384 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24385 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24386 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24387 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24388 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24390 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24393 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24394 (tcache_thread_freeres): Set tcache_shutting_down before
24395 freeing the tcache.
24396 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24397 * malloc/tst-malloc-tcache-leak.c: New file.
24399 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24401 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24402 back to powerpc32 file.
24403 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24404 (memrchr): Add __memrchr_power8 to ifunc list.
24405 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24406 extra bytes for unaligned inputs.
24408 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24410 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24411 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24412 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24413 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24414 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24416 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24418 * sysdeps/arm/libm-test-ulps: Update.
24420 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24421 <libm-alias-ldouble.h>.
24422 (asinhl): Define using libm_alias_ldouble.
24423 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24424 <libm-alias-ldouble.h>.
24425 (cbrtl): Define using libm_alias_ldouble.
24426 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24427 <libm-alias-ldouble.h>.
24428 (copysignl): Define using libm_alias_ldouble.
24429 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24430 <libm-alias-ldouble.h>.
24431 (cosl): Define using libm_alias_ldouble.
24432 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24433 <libm-alias-ldouble.h>.
24434 (erfl): Define using libm_alias_ldouble.
24436 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24437 <libm-alias-ldouble.h>.
24438 (fmal): Define using libm_alias_ldouble.
24439 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24440 <libm-alias-ldouble.h>.
24441 (frexpl): Define using libm_alias_ldouble.
24442 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24443 libm_alias_ldouble.
24444 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24445 <libm-alias-ldouble.h>.
24446 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24447 libm_alias_ldouble.
24448 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24449 <libm-alias-ldouble.h>.
24450 (getpayloadl): Define using libm_alias_ldouble.
24451 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24452 <libm-alias-ldouble.h>.
24453 (llrintl): Define using libm_alias_ldouble.
24454 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24455 <libm-alias-ldouble.h>.
24456 (llroundl): Define using libm_alias_ldouble.
24457 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24458 <libm-alias-ldouble.h>.
24459 (lrintl): Define using libm_alias_ldouble.
24460 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24461 <libm-alias-ldouble.h>.
24462 (lroundl): Define using libm_alias_ldouble.
24463 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24464 <libm-alias-ldouble.h>.
24465 (modfl): Define using libm_alias_ldouble.
24466 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24467 <libm-alias-ldouble.h>.
24468 (nextupl): Define using libm_alias_ldouble.
24469 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24470 <libm-alias-ldouble.h>.
24471 (remquol): Define using libm_alias_ldouble.
24472 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24473 <libm-alias-ldouble.h>.
24474 (roundevenl): Define using libm_alias_ldouble.
24475 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24476 <libm-alias-ldouble.h>.
24477 (roundl): Define using libm_alias_ldouble.
24478 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24479 using libm_alias_ldouble.
24480 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24481 <libm-alias-ldouble.h>.
24482 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24483 <libm-alias-ldouble.h>.
24484 (setpayloadsigl): Define using libm_alias_ldouble.
24485 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24486 <libm-alias-ldouble.h>.
24487 (sincosl): Define using libm_alias_ldouble.
24488 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24489 <libm-alias-ldouble.h>.
24490 (sinl): Define using libm_alias_ldouble.
24491 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24492 <libm-alias-ldouble.h>.
24493 (tanhl): Define using libm_alias_ldouble.
24494 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24495 <libm-alias-ldouble.h>.
24496 (tanl): Define using libm_alias_ldouble.
24497 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24498 <libm-alias-ldouble.h>.
24499 (totalorderl): Define using libm_alias_ldouble.
24500 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24501 <libm-alias-ldouble.h>.
24502 (totalordermagl): Define using libm_alias_ldouble.
24503 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24504 libm_alias_ldouble.
24505 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24506 libm_alias_ldouble.
24508 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24510 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24512 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24513 (__libc_ifunc_impl_list): Likewise.
24514 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24515 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24517 * benchtests/bench-memmove-walk.c: New file.
24518 * benchtests/Makefile (string-benchset): Add it.
24520 * benchtests/bench-memset-walk.c: New file.
24521 * benchtests/Makefile (string-benchset): Add it.
24523 * benchtests/bench-memcpy-walk.c: New file.
24524 * benchtests/Makefile (string-benchset): Add it.
24526 2017-10-05 Florian Weimer <fweimer@redhat.com>
24528 nscd: Eliminate compilation time dependency in the build output.
24529 * nscd/nscd_stat.c (STATDATA_VERSION)
24530 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24531 (STATDATA_VERSION_FULL): New macro definitions.
24532 (compilation): Remove.
24533 (struct statdata): Adjust version member.
24534 (send_stats): Set version from STATDATA_VERSION_FULL.
24535 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24537 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24539 * configure.ac (--enable-add-ons): Remove option.
24540 (machine): Do not mention add-ons in comment.
24541 (LIBC_PRECONFIGURE): Likewise.
24542 (add_ons): Remove variable and sanity checks and logic to locate
24544 (add_ons_automatic): Remove variable.
24545 (configured_add_ons): Likewise.
24546 (add_ons_sfx): Likewise.
24547 (add_ons_pfx): Likewise.
24548 (add_on_subdirs): Likewise.
24549 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24550 consideration of add-ons in Implies handling.
24551 (sysdeps_add_ons): Likewise.
24552 * configure: Regenerated.
24553 * libidn/configure.ac: Remove.
24554 * libidn/configure: Likewise.
24555 * sysdeps/unix/inet/configure.ac: New file.
24556 * sysdeps/unix/inet/configure: New generated file.
24557 * sysdeps/unix/inet/Subdirs: Add libidn.
24558 * Makeconfig (sysdeps-srcdirs): Remove variable.
24559 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24560 ($(common-objpfx)config.status): Do not depend on add-on files.
24561 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24563 (all-subdirs): Do not include $(add-on-subdirs).
24564 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24565 * config.make.in (add-ons): Remove variable.
24566 (add-on-subdirs): Likewise.
24567 (sysdeps-add-ons): Likewise.
24568 * manual/Makefile (add-chapters): Remove.
24569 ($(objpfx)texis): Do not depend on $(add-chapters).
24570 (nonexamples): Do not handle $(add-chapters).
24571 (examples): Do not handle $(add-ons).
24572 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24574 * manual/install.texi (Installation): Do not mention add-ons.
24575 (--enable-add-ons): Do not document configure option.
24576 * INSTALL: Regenerated.
24577 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24578 * manual/maint.texi (Hierarchy Conventions): Do not mention
24580 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24582 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24584 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24585 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24587 2017-10-05 Andreas Schwab <schwab@suse.de>
24590 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24591 (_IO_flush_all_lockp): Always lock list_all_lock.
24592 (_IO_flush_all_linebuffered): Likewise.
24593 (_IO_unbuffer_all): Likewise.
24595 2017-10-05 Florian Weimer <fweimer@redhat.com>
24598 Do not flush stdio streams on abort.
24599 * stdlib/abort.c (fflush): Remove macro definition.
24600 (abort): Remove stages related to stdio flushing.
24602 2017-10-05 Florian Weimer <fweimer@redhat.com>
24604 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24606 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24608 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24610 2017-10-05 Florian Weimer <fweimer@redhat.com>
24612 * support/support_format_hostent.c (support_format_hostent): Add
24613 more error information for NETDB_INTERNAL.
24615 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24617 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24618 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24619 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24620 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24621 AC_DEFINE if multi-arch is enabled.
24622 * sysdeps/i386/configure: Regenerated.
24624 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24626 * Makeconfig (+link-static-before-libc): Use
24627 $(DEFAULT-LDFLAGS-$(@F)).
24628 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24629 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24630 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24632 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24634 * elf/Makefile (tests): Add tst-main1.
24635 (modules-names): Add tst-main1mod.
24636 ($(objpfx)tst-main1): New.
24637 (CRT-tst-main1): Likewise.
24638 (LDFLAGS-tst-main1): Likewise.
24639 (LDLIBS-tst-main1): Likewise.
24640 (tst-main1mod.so-no-z-defs): Likewise.
24641 * elf/tst-main1.c: New file.
24642 * elf/tst-main1mod.c: Likewise.
24644 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24646 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24648 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24650 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24651 (fma): Define using libm_alias_double.
24652 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24653 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24655 (fmal): Do not define as compat symbol here.
24656 * sysdeps/alpha/fpu/s_fma.c: New file.
24658 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24660 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24662 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24665 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24667 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24669 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24670 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24671 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24672 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24674 Include <math_ldbl_opt.h>
24675 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24677 (compat_symbol): Undefine and redefine.
24678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24680 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24681 (compat_symbol): Undefine and redefine.
24682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24683 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24684 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24685 GLIBC_2_1 for libm.
24686 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24687 GLIBC_2.0 copysignl symbol.
24688 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24689 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24691 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24693 2017-10-04 Florian Weimer <fweimer@redhat.com>
24695 * scripts/check-local-headers.sh: Ignore nspr4 header file
24696 directory in addition to nspr.
24698 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24701 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24702 * configure: Regenerate.
24703 * crypt/Makefile (nss-cpp-flags): New variable.
24704 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24705 (CPPFLAGS-md5-crypt.c): Use it.
24706 * scripts/check-local-headers.sh: Ignore nspr header file
24709 2017-10-04 Andreas Schwab <schwab@suse.de>
24711 * nis/Makefile (services): Remove compat.
24712 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24713 ($(objpfx)libnss_compat.so): Remove rule.
24714 * nis/Versions (libnss_compat): Remove.
24715 * nss/Makefile (services): Add compat.
24716 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24717 * nss/Versions (libnss_compat): Define.
24718 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24719 Don't include <rpc/types.h>. Replace bool_t by bool.
24720 * nss/nss_compat/compat-initgroups.c: Likewise.
24721 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24722 instead of <rpcsrv/ypclnt.h>.
24723 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24724 yp_get_default_domain.
24725 * nss/nss_compat/compat-pwd.c: Likewise.
24726 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24727 yp_get_default_domain.
24728 * nss/nss_compat/nisdomain.c: New file.
24729 * nss/nss_compat/nisdomain.h: Likewise.
24731 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24734 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24735 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24737 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24740 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24741 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24743 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24745 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24746 "movl main@GOTOFF(%ebx), %eax".
24748 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24750 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24751 allow undefined _DYNAMIC in PIE libc.a.
24752 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24755 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24757 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24760 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24762 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24765 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24767 * math/test-math-iscanonical.cc (error): Replace bool with int.
24769 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24771 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24772 (modf): Define using libm_alias_double, only if [!__modf].
24773 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24774 <libm-alias-double.h>.
24775 (modf): Define using libm_alias_double, only if [!__modf].
24776 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24777 compat symbol here.
24778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24779 (weak_alias): Do not undefine and redefine.
24780 (strong_alias): Likewise.
24781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24782 (weak_alias): Likewise.
24783 (strong_alias): Likewise.
24785 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24786 (logb): Define using libm_alias_double, only if [!__logb].
24787 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24788 <libm-alias-double.h>.
24789 (logb): Define using libm_alias_double, only if [!__logb].
24790 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24792 (weak_alias): Do not undefine and redefine.
24793 (strong_alias): Likewise.
24794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24795 (weak_alias): Likewise.
24796 (strong_alias): Likewise.
24798 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24800 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24801 Check SHARED instead PIC.
24803 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24805 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24806 [!__fmaf] (fmaf): Define using libm_alias_float.
24808 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24809 (frexp): Define using libm_alias_double.
24810 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24811 <libm-alias-double.h>.
24812 (frexp): Define using libm_alias_double.
24813 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24814 compat symbol here.
24816 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24819 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24820 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24821 (CFLAGS-test-math-iscanonical.cc): New variable.
24822 * math/test-math-iscanonical.cc: New file.
24823 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24824 Provide a C++ implementation based on function overloading,
24825 rather than using __MATH_TG, which uses C-only builtins.
24826 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24828 * sysdeps/powerpc/powerpc64le/Makefile
24829 (CFLAGS-test-math-iscanonical.cc): New variable.
24831 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24833 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24834 (ceil): Define using libm_alias_double.
24835 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24836 (floor): Define using libm_alias_double.
24837 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24838 <libm-alias-double.h>.
24839 (llround): Define using libm_alias_double.
24840 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24841 <libm-alias-double.h>.
24842 (lround): Define using libm_alias_double.
24843 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
24844 <libm-alias-double.h>.
24845 (nearbyint): Define using libm_alias_double.
24846 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
24847 <libm-alias-double.h>.
24848 (remquo): Define using libm_alias_double.
24849 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
24850 (rint): Define using libm_alias_double.
24851 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
24852 (round): Define using libm_alias_double.
24853 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
24854 (trunc): Define using libm_alias_double.
24855 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
24856 <libm-alias-double.h>.
24857 (ceil): Define using libm_alias_double.
24858 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
24859 <libm-alias-double.h>.
24860 (floor): Define using libm_alias_double.
24861 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
24862 <libm-alias-double.h>.
24863 (llround): Define using libm_alias_double.
24864 [_LP64] (lround): Likewise.
24865 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
24866 <libm-alias-double.h>.
24867 [!_LP64] (lround): Define using libm_alias_double.
24868 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
24869 <libm-alias-double.h>.
24870 (nearbyint): Define using libm_alias_double.
24871 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
24872 <libm-alias-double.h>.
24873 (remquo): Define using libm_alias_double.
24874 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
24875 <libm-alias-double.h>.
24876 (rint): Define using libm_alias_double.
24877 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
24878 <libm-alias-double.h>.
24879 (round): Define using libm_alias_double.
24880 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
24881 <libm-alias-double.h>.
24882 (trunc): Define using libm_alias_double.
24883 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
24884 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
24885 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
24886 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
24887 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
24888 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
24889 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
24890 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
24891 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
24893 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
24895 * math/w_remainder.c: New file.
24896 * math/w_remainderf.c: New file.
24897 * math/w_remainderl.c: New file.
24899 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24901 * elf/rtld.c (BOOTSTRAP_MAP): New.
24902 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
24903 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24905 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24907 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
24910 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
24912 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
24913 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
24914 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
24915 rtld_hidden_data_ver): Define to empty.
24916 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
24917 __assert_perror_fail): Likewise.
24918 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24919 (__rewinddir): Likewise.
24920 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24921 (__profile_frequency): Likewise.
24922 * include/setjmp.h (__sigsetjmp): Likewise.
24923 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
24924 __libc_sigaction): Likewise.
24925 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
24926 not set hidden attribute.
24927 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
24928 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
24929 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
24930 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
24931 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
24932 __fxstatat64): Likewise.
24933 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24934 (__uname): Likewise.
24935 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
24936 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
24937 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
24938 (NO_RTLD_HIDDEN): Set.
24939 * sysdeps/mach/hurd/configure: Refresh.
24940 * config.h.in: Refresh.
24942 2017-10-02 Joseph Myers <joseph@codesourcery.com>
24944 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
24945 (atan): Define using libm_alias_double.
24946 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
24947 (tan): Define using libm_alias_double.
24948 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
24949 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
24951 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
24952 define as weak alias of __atan. Do not define any aliases if
24954 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
24955 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
24956 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
24957 as weak alias of __tan. Do not define any aliases if [__tan].
24958 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
24959 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
24960 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
24962 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
24963 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
24964 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
24965 and define as weak alias of __atan.
24966 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
24968 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
24969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
24970 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
24971 define as weak alias of __tan.
24973 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24975 * math/w_lgamma.c: New file.
24976 * math/w_lgammaf.c: New file.
24977 * math/w_lgammal.c: New file.
24979 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24981 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
24982 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
24983 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
24984 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
24985 * sysdeps/ieee754/flt-32/w_logf.c: New file.
24986 * sysdeps/ieee754/flt-32/w_powf.c: New file.
24987 * sysdeps/i386/fpu/w_log2f.c: New file.
24988 * sysdeps/i386/fpu/w_logf.c: New file.
24989 * sysdeps/i386/fpu/w_powf.c: New file.
24990 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
24991 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
24992 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
24994 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24995 H.J. Lu <hongjiu.lu@intel.com>
24997 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
24998 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
24999 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25000 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25001 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25003 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25004 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25005 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25006 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25007 * sysdeps/i386/fpu/w_exp2f.c: New file.
25008 * sysdeps/i386/fpu/w_expf.c: New file.
25009 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25010 * sysdeps/x86_64/fpu/w_expf.c: New file.
25012 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25014 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25017 * math/w_log2f.c: New file.
25018 * math/w_logf.c: New file.
25019 * math/w_powf.c: New file.
25020 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25021 * math/w_logf_compat.c (__logf_compat): Likewise.
25022 * math/w_powf_compat.c (__powf_compat): Likewise.
25023 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25024 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25025 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25026 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25027 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25028 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25029 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25030 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25031 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25032 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25033 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25034 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25035 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25036 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25037 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25046 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25047 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25048 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25049 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25050 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25055 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25056 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25057 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25059 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25061 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25062 (sysdep_routines): Add memrchr_power8.
25063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25064 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25065 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25067 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25068 (memrchr): Add __memrchr_power8 to ifunc list.
25069 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25071 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25074 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25075 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25077 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25078 (__posix_fallocate64_l64): Likewise.
25080 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25083 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25084 (__sched_setaffinity_new): Add libc_hidden_proto and
25087 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25090 * include/glob.h (__glob64): Add libc_hidden_proto.
25091 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25094 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25097 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25100 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25103 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25105 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25108 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25111 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25114 * csu/version.c (__libc_print_version): Add attribute_hidden.
25116 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25119 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25121 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25124 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25129 * nscd/nscd_helper.c (__nis_hash): New prototype.
25131 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25134 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25135 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25137 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25138 * termios/tcgetattr.c (__tcgetattr): Likewise.
25140 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25143 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25144 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25145 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25146 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25147 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25149 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25152 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25154 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25157 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25158 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25160 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25163 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25165 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25168 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25169 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25171 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25174 * include/ifreq.h: New file.
25175 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25176 (__ifreq): Likewise.
25177 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25178 (__ifreq): Likewise.
25180 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25183 * include/idna.h: New file.
25184 * inet/getnameinfo.c: Include <idna.h> instead of
25186 (__idna_to_unicode_lzlz): Removed.
25187 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25189 (__idna_to_ascii_lz): Removed.
25190 (__idna_to_unicode_lzlz): Likewise.
25192 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25195 * include/plural-exp.h: New file.
25196 * intl/plural-exp.c: Include <plural-exp.h> instead of
25199 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25202 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25203 "getsourcefilter.h".
25204 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25205 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25206 "getsourcefilter.h".
25207 (__get_sol): Removed.
25209 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25212 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25214 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25216 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25219 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25222 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25225 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25227 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25230 * include/search.h (__tdestroy): Add libc_hidden_proto.
25231 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25233 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25236 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25238 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25241 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25244 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25247 * include/signal.h (__kill): Add libc_hidden_proto.
25248 (__sigblock): Likewise.
25249 (__sigprocmask): Likewise.
25250 (__sigaltstack): Likewise.
25251 * signal/kill.c (__kill): Add libc_hidden_def.
25252 * signal/sigblock.c (__sigblock): Likewise.
25253 * signal/sigprocmask.c (__sigprocmask): Likewise.
25254 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25255 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25256 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25257 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25258 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25260 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25262 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25263 (__sigprocmask): Likewise.
25264 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25266 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25267 (__sigprocmask): Likewise.
25268 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25271 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25274 * include/string.h (__strsep): Add libc_hidden_proto.
25275 * string/strsep.c (__strsep): Add libc_hidden_def.
25277 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25280 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25282 (__spawni): Likewise.
25284 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25287 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25288 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25291 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25294 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25296 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25299 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25300 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25301 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25302 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25303 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25305 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25306 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25308 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25311 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25312 (__dcigettext): Likewise.
25314 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25317 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25319 (__get_nprocs): Likewise.
25320 (__get_phys_pages): Likewise.
25321 (__get_avphys_pages): Likewise.
25322 (__get_child_max): Add attribute_hidden.
25323 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25324 (__get_nprocs): Likewise.
25325 (__get_phys_pages): Likewise.
25326 (__get_avphys_pages): Likewise.
25327 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25329 (__get_nprocs): Likewise.
25330 (__get_phys_pages): Likewise.
25331 (__get_avphys_pages): Likewise.
25332 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25334 (__get_nprocs_conf): Likewise.
25335 (__get_phys_pages): Likewise.
25336 (__get_avphys_pages): Likewise.
25338 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25341 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25343 (__netlink_close): Likewise.
25344 (__netlink_free_handle): Likewise.
25345 (__netlink_request): Likewise.
25347 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25350 * include/rpc/rpc.h (__rpc_thread_variables): Add
25352 (__rpc_thread_svc_cleanup): Likewise.
25353 (__rpc_thread_clnt_cleanup): Likewise.
25354 (__rpc_thread_key_cleanup): Likewise.
25356 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25359 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25360 (__writev): Likewise.
25361 * misc/readv.c (__readv): Add libc_hidden_def.
25362 * misc/writev.c (__writev): Likewise.
25363 * sysdeps/posix/readv.c (__readv): Likewise.
25364 * sysdeps/posix/writev.c (__writev): Likewise.
25365 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25366 (__readv): Likewise.
25367 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25368 (__writev): Likewise.
25370 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25373 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25374 (__regcomp): Add libc_hidden_proto.
25375 (__regexec): Likewise.
25376 (__regfree): Likewise.
25377 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25378 (__regfree): Likewise.
25379 * posix/regexec.c (__regexec): Likewise.
25381 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25384 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25385 (__getutent): Likewise.
25386 (__getutid): Likewise.
25387 (__getutline): Likewise.
25388 (__pututline): Likewise.
25389 (__getutent_r): Likewise.
25390 (__getutid_r): Likewise.
25391 (__getutline_r): Likewise.
25392 (__utmpname): Add attribute_hidden.
25393 (__setutent): Likewise.
25394 (__endutent): Likewise.
25395 * login/getutent.c (__getutent): Add libc_hidden_def.
25396 * login/getutent_r.c (__getutent_r): Likewise.
25397 (__pututline): Likewise.
25398 * login/getutid.c (__getutid): Likewise.
25399 * login/getutid_r.c (__getutid_r): Likewise.
25400 * login/getutline.c (__getutline): Likewise.
25401 * login/getutline_r.c (__getutline_r): Likewise.
25402 * login/updwtmp.c (__updwtmp): Likewise.
25404 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25407 * include/dirent.h (__opendir): Always add attribute_hidden.
25408 (__fdopendir): Likewise.
25409 (__closedir): Likewise.
25410 (__readdir): Likewise.
25411 (__readdir64): Add libc_hidden_proto.
25412 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25413 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25414 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25415 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25418 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25421 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25422 * include/netdb.h (__gethostbyaddr_r): Likewise.
25423 (__gethostbyname_r): Likewise.
25424 (__gethostbyname2_r): Likewise.
25425 (__getnetbyaddr_r): Likewise.
25426 (__getnetbyname_r): Likewise.
25427 (__getservbyname_r): Likewise.
25428 (__getservbyport_r): Likewise.
25429 (__getprotobyname_r): Likewise.
25430 (__getprotobynumber_r): Likewise.
25431 (__getnetgrent_r): Likewise.
25432 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25433 (__getrpcbynumber_r): Likewise.
25434 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25436 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25439 * include/stdio.h (__fcloseall): Add attribute_hidden.
25440 (__getline): Likewise.
25441 (__path_search): Likewise.
25442 (__gen_tempname): Likewise.
25443 (__libc_message): Likewise.
25444 (__flockfile): Likewise.
25445 (__funlockfile): Likewise.
25446 (__fxprintf): Likewise.
25447 (__fxprintf_nocancel): Likewise.
25449 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25452 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25453 (__sgetsgent_r): Likewise.
25455 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25458 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25459 (__statfs64): Likewise.
25460 (__fstatfs64): Likewise.
25461 * include/sys/statvfs.h (__statvfs64): Likewise.
25462 (__fstatvfs64): Likewise.
25463 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25464 (__statfs_filesize_max): Likewise.
25465 (__statfs_symlinks): Likewise.
25466 (__statfs_chown_restricted): Likewise.
25468 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25471 * include/time.h (__tzstring): Add attribute_hidden.
25472 (__tzfile_read): Likewise.
25473 (__tzfile_compute): Likewise.
25474 (__tzfile_default): Likewise.
25475 (__tzset_parse_tz): Likewise.
25476 (__offtime): Likewise.
25477 (__asctime_r): Likewise.
25478 (__tzset): Likewise.
25479 (__tz_convert): Likewise.
25480 (__getdate_r): Likewise.
25481 (__getclktck): Likewise.
25483 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25486 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25487 (__nscd_unmap): Likewise.
25488 (__nscd_cache_search): Likewise.
25489 (__nscd_get_nl_timestamp): Likewise.
25490 (__nscd_getpwnam_r): Likewise.
25491 (__nscd_getpwuid_r): Likewise.
25492 (__nscd_getgrnam_r): Likewise.
25493 (__nscd_getgrgid_r): Likewise.
25494 (__nscd_gethostbyname_r): Likewise.
25495 (__nscd_gethostbyname2_r): Likewise.
25496 (__nscd_gethostbyaddr_r): Likewise.
25497 (__nscd_getai): Likewise.
25498 (__nscd_getgrouplist): Likewise.
25499 (__nscd_getservbyname_r): Likewise.
25500 (__nscd_getservbyport_r): Likewise.
25501 (__nscd_innetgr): Likewise.
25502 (__nscd_setnetgrent): Likewise.
25504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25507 * include/gmp.h: Declare internal functions only if _ISOMAC is
25509 (__mpn_extract_double): Add attribute_hidden.
25510 (__mpn_extract_long_double): Likewise.
25511 (__mpn_extract_float128): Likewise.
25512 (__mpn_construct_float): Likewise.
25513 (__mpn_construct_double): Likewise.
25514 (__mpn_construct_long_double): Likewise.
25515 (__mpn_construct_float128): Likewise.
25516 (mpn_add_1): Likewise.
25517 (mpn_addmul_1): Likewise.
25518 (mpn_add_n): Likewise.
25519 (mpn_cmp): Likewise.
25520 (mpn_divrem): Likewise.
25521 (mpn_lshift): Likewise.
25522 (mpn_mul): Likewise.
25523 (mpn_mul_1): Likewise.
25524 (mpn_rshift): Likewise.
25525 (mpn_sub_1): Likewise.
25526 (mpn_submul_1): Likewise.
25527 (mpn_sub_n): Likewise.
25529 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25532 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25533 (__wcscat): Likewise.
25534 (__btowc): Likewise.
25535 (__wcrtomb): Likewise.
25536 (__mbsrtowcs): Likewise.
25537 (__wcsrtombs): Likewise.
25538 (__mbsnrtowcs): Likewise.
25539 (__wcsnrtombs): Likewise.
25540 (__wcsncpy): Likewise.
25541 (__wcpncpy): Likewise.
25542 (__wmemcpy): Likewise.
25543 (__wmempcpy): Likewise.
25544 (__wmemmove): Likewise.
25545 (__wcschrnul): Likewise.
25546 (__vfwscanf): Likewise.
25547 (__vswprintf): Likewise.
25548 (__fwprintf): Likewise.
25549 (__vfwprintf): Likewise.
25551 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25554 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25555 (__getgrgid_r): Likewise.
25556 (__getgrnam_r): Likewise.
25557 * include/pwd.h (__getpwuid_r): Likewise.
25558 (__getpwnam_r): Likewise.
25559 (__fgetpwent_r): Likewise.
25560 * include/shadow.h (__getspnam_r): Likewise.
25561 (__sgetspent_r): Likewise.
25562 (__fgetspent_r): Likewise.
25564 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25567 * include/unistd.h (__access): Add attribute_hidden.
25568 (__lseek64): Likewise.
25569 (__libc_pread64): Likewise.
25570 (__pipe2): Likewise.
25571 (__sleep): Likewise.
25572 (__chdir): Likewise.
25573 (__fchdir): Likewise.
25574 (__getcwd): Likewise.
25575 (__rmdir): Likewise.
25576 (__execvpe): Likewise.
25577 (__execve): Likewise.
25578 (__setsid): Likewise.
25579 (__getuid): Likewise.
25580 (__geteuid): Likewise.
25581 (__getgid): Likewise.
25582 (__getegid): Likewise.
25583 (__getgroups): Likewise.
25584 (__group_member): Likewise.
25585 (__ttyname_r): Likewise.
25586 (__isatty): Likewise.
25587 (__readlink): Likewise.
25588 (__unlink): Likewise.
25589 (__gethostname): Likewise.
25590 (__profil): Likewise.
25591 (__getdtablesize): Likewise.
25593 (__ftruncate): Likewise.
25594 (__ftruncate64): Likewise.
25596 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25599 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25600 * argp/argp-fs-xinl.c: Likewise.
25601 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25602 * argp/argp-parse.c: Include <argp.h>.
25603 * argp/argp-xinl.c: Likewise.
25604 * include/argp-fmtstream.h: New file.
25605 * include/argp.h (__argp_error): Add attribute_hidden.
25606 (__argp_failure): Likewise.
25607 (__argp_input): Likewise.
25608 (__argp_state_help): Likewise.
25610 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25613 * include/wchar.h (____wcstof_l_internal): New prototype.
25614 (____wcstod_l_internal): Likewise.
25615 (____wcstold_l_internal): Likewise.
25616 (____wcstol_l_internal): Likewise.
25617 (____wcstoul_l_internal): Likewise.
25618 (____wcstoll_l_internal): Likewise.
25619 (____wcstoull_l_internal): Likewise.
25620 (____wcstof128_l_internal): Likewise.
25621 * sysdeps/ieee754/float128/wcstof128.c
25622 (____wcstof128_l_internal): Removed.
25623 * sysdeps/ieee754/float128/wcstof128_l.c
25624 (____wcstof128_l_internal): Likewise.
25625 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25626 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25627 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25628 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25629 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25630 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25631 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25632 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25633 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25634 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25636 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25639 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25640 instead of <sys/statvfs.h>.
25641 (__internal_statvfs): Removed.
25642 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25643 instead of <sys/statvfs.h>.
25644 (__internal_statvfs64): Removed.
25645 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25646 "internal_statvfs.h" instead of <sys/statvfs.h>.
25647 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25648 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25649 instead of <sys/statvfs.h>.
25650 (__internal_statvfs): Removed.
25651 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25652 instead of <sys/statvfs.h>.
25653 (__internal_statvfs64): Removed.
25655 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25658 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25659 (__gconv_close): Likewise.
25660 (__gconv): Likewise.
25661 (__gconv_find_transform): Likewise.
25662 (__gconv_lookup_cache): Likewise.
25663 (__gconv_compare_alias_cache): Likewise.
25664 (__gconv_load_cache): Likewise.
25665 (__gconv_get_path): Likewise.
25666 (__gconv_close_transform): Likewise.
25667 (__gconv_release_cache): Likewise.
25668 (__gconv_find_shlib): Likewise.
25669 (__gconv_release_shlib): Likewise.
25670 (__gconv_get_builtin_trans): Likewise.
25671 (__gconv_compare_alias): Likewise.
25672 * include/dlfcn.h (_dlerror_run): Likewise.
25673 * include/stdio.h (__fortify_fail_abort): Likewise.
25674 * include/time.h (__tz_compute): Likewise.
25675 (__strptime_internal): Likewise.
25676 * intl/gettextP.h (_nl_find_domain): Likewise.
25677 (_nl_load_domain): Likewise.
25678 (_nl_find_msg): Likewise.
25679 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25680 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25681 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25682 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25683 (__gai_find_request): Likewise.
25684 (__gai_remove_request): Likewise.
25685 (__gai_notify): Likewise.
25686 (__gai_notify_only): Likewise.
25687 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25688 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25689 (_dl_non_dynamic_init): Likewise.
25690 (_dl_aux_init): Likewise.
25691 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25692 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25694 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25695 (__wcsmbs_clone_conv): Likewise.
25696 (__wcsmbs_named_conv): Likewise.
25698 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25701 * include/stdlib.h (__random): Add attribute_hidden.
25702 (__random_r): Likewise.
25703 (__srandom_r): Likewise.
25704 (__initstate_r): Likewise.
25705 (__setstate_r): Likewise.
25706 (__erand48_r): Likewise.
25707 (__nrand48_r): Likewise.
25708 (__jrand48_r): Likewise.
25709 (__srand48_r): Likewise.
25710 (__seed48_r): Likewise.
25711 (__lcong48_r): Likewise.
25712 (__drand48_iterate): Likewise.
25713 (__setenv): Likewise.
25714 (__unsetenv): Likewise.
25715 (__clearenv): Likewise.
25716 (__ptsname_r): Likewise.
25717 (__posix_openpt): Likewise.
25718 (__add_to_environ): Likewise.
25719 (__realpath): Add libc_hidden_proto.
25720 (__ecvt_r): Likewise.
25721 (__fcvt_r): Likewise.
25722 (__qecvt_r): Likewise.
25723 (__qfcvt_r): Likewise.
25724 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25725 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25727 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25730 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25731 * include/time.h (__mktime_internal): Likewise.
25732 * libio/iolibio.h (__fopen_internal): Likewise.
25734 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25736 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25738 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25739 Correct offset used to restore PIC register.
25741 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25744 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25745 code to load address of __getcontext_ret when generating PIC code.
25747 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25749 * elf/Makefile (tests-static-internal): Add
25750 tst-tls1-static-non-pie.
25751 (LDFLAGS-tst-tls1-static-non-pie): New.
25752 * elf/tst-tls1-static-non-pie.c: New file.
25754 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25756 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25757 (asinh): Define using libm_alias_double.
25758 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25759 (cbrt): Define using libm_alias_double.
25760 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25761 <libm-alias-double.h>.
25762 (copysign): Define using libm_alias_double.
25763 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25764 (erf): Define using libm_alias_double.
25766 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25767 (expm1): Define using libm_alias_double.
25768 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25769 (fabs): Define using libm_alias_double.
25770 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25772 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25773 <libm-alias-double.h>.
25774 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25776 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25777 <libm-alias-double.h>.
25778 (getpayload): Define using libm_alias_double.
25779 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25780 <libm-alias-double.h>.
25781 (llrint): Define using libm_alias_double.
25782 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25783 (lrint): Define using libm_alias_double.
25784 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25785 <libm-alias-double.h>.
25786 (nextup): Define using libm_alias_double.
25787 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25788 <libm-alias-double.h>.
25789 (roundeven): Define using libm_alias_double.
25790 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25792 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25793 <libm-alias-double.h>.
25794 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25795 using libm_alias_double.
25796 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25797 (cos): Define using libm_alias_double.
25799 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25800 <libm-alias-double.h>.
25801 (sincos): Define using libm_alias_double.
25802 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25803 (tanh): Define using libm_alias_double.
25804 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25805 <libm-alias-double.h>.
25806 (totalorder): Define using libm_alias_double.
25807 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25808 <libm-alias-double.h>.
25809 (totalordermag): Define using libm_alias_double.
25810 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25812 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25814 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25815 <libm-alias-double.h>.
25816 (getpayload): Define using libm_alias_double.
25817 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25818 <libm-alias-double.h>.
25819 (roundeven): Define using libm_alias_double.
25820 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25821 <libm-alias-double.h>.
25822 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25823 <libm-alias-double.h>.
25824 (totalorder): Define using libm_alias_double.
25825 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25826 <libm-alias-double.h>.
25827 (totalordermag): Define using libm_alias_double.
25828 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25829 libc compat symbol here.
25830 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25831 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25832 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25833 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25834 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25835 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25836 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25837 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25838 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25839 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25841 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25843 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
25844 _dl_relocate_static_pie instead of _dl_start to compute load
25845 address in static PIE. Return 0 if _DYNAMIC is undefined for
25848 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25850 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
25851 _DYNAMIC is undefined for static executable.
25853 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
25855 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
25857 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25861 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25863 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25864 (__ieee754_lgamma_r): Use fabs rather than __fabs.
25865 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25866 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25867 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25868 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
25869 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
25870 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
25871 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
25872 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25873 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
25874 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
25875 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25876 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
25877 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25878 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25879 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
25881 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
25883 * math/bits/cmathcalls.h (cimag): Remove inline.
25884 (creal): Remove inline.
25885 (conj): Remove inline.
25887 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25889 * math/Makefile (type-float-routines): Add e_powf_log2_data.
25890 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
25891 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
25892 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
25893 (issignalingf_inline): Likewise.
25894 (POWF_LOG2_TABLE_BITS): Likewise.
25895 (POWF_LOG2_POLY_ORDER): Likewise.
25896 (POWF_SCALE_BITS): Likewise.
25897 (POWF_SCALE): Likewise.
25898 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
25899 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
25900 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
25902 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25904 * math/Makefile (type-float-routines): Add e_log2f_data.
25905 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
25906 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
25907 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
25908 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
25909 * sysdeps/i386/fpu/e_log2f_data.c: New file.
25910 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
25911 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
25913 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
25915 * math/Makefile (type-float-routines): Add e_logf_data.
25916 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
25917 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
25918 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
25919 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
25920 * sysdeps/i386/fpu/e_logf_data.c: New file.
25921 * sysdeps/ia64/fpu/e_logf_data.c: New file.
25922 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
25924 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
25926 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
25927 undefined _DYNAMIC in PIE libc.a.
25928 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
25931 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25933 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
25934 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
25935 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
25936 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
25937 (__signbit): Remove.
25938 (__signbitl): Remove.
25939 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
25940 (__signbit): Remove.
25941 (__signbitl): Remove.
25942 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
25943 (__signbit): Remove.
25944 (__signbitl): Remove.
25945 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
25946 (__signbit): Remove.
25947 (__signbitl): Remove.
25948 * sysdeps/tile/bits/mathinline.h: Delete file.
25949 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
25950 (__signbit): Remove.
25951 (__signbitl): Remove.
25953 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
25955 * math/math.h: Improve handling of C99 isgreater macros.
25956 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
25957 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
25958 * sysdeps/powerpc/bits/mathinline.h: Likewise.
25959 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25960 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
25962 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
25964 * sysdeps/aarch64/libm-test-ulps: Update.
25966 2017-09-28 Joseph Myers <joseph@codesourcery.com>
25969 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25970 math_opt_barrier on argument when doing arithmetic on it.
25971 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25972 Likewise. Use math_force_eval not math_opt_barrier after
25974 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
25975 math_opt_barrier on argument when doing arithmetic on it.
25976 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25979 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
25981 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
25983 (__freeifaddrs): Likewise.
25985 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
25987 * include/dirent.h (__dirfd): New declaration.
25988 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
25990 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
25991 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
25992 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
25993 * include/unistd.h (__revoke): New declaration.
25994 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
25996 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25997 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
25999 * include/dirent.h (__seekdir): New declaration.
26000 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26001 redefine as weak alias.
26002 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26004 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26005 and use libc_hidden_def on them.
26006 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26008 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26009 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26010 instead of getifaddrs and freeifaddrs.
26012 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26015 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26016 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26017 (__dso_handle): Remove declaration.
26018 * dlfcn/tstatexit.c (__dso_handle): Removed.
26019 (main): Don't check __dso_handle.
26020 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26021 (main): Don't check __dso_handle.
26022 * include/dso_handle.h: New file.
26023 * malloc/mtrace.c: Include <dso_handle.h>.
26024 (mtrace): Pass __dso_handle directly.
26025 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26026 (__dso_handle): Remove declaration.
26027 (__pthread_atfork): Pass __dso_handle directly.
26028 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26029 (__dso_handle): Removed.
26030 * posix/wordexp-test.c: Include <dso_handle.h>.
26031 (__dso_handle): Remove declaration.
26032 (__app_register_atfork): Pass __dso_handle directly.
26033 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26034 (__dso_handle): Remove declaration.
26035 (at_quick_exit): Pass __dso_handle directly.
26036 * stdlib/atexit.c: Include <dso_handle.h>.
26037 (__dso_handle): Remove declaration.
26038 (atexit): Pass __dso_handle directly.
26039 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26040 (__dso_handle): Removed.
26042 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26044 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26047 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26049 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26050 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26051 values to correct default value for given type.
26053 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26056 * elf/Makefile (tests): Add tst-debug1.
26057 ($(objpfx)tst-debug1): New.
26058 ($(objpfx)tst-debug1.out): Likewise.
26059 ($(objpfx)tst-debug1mod1.so): Likewise.
26060 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26061 with p_filesz == 0.
26062 * elf/tst-debug1.c: New file.
26064 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26066 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26067 Define using __ifunc.
26069 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26071 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26074 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26077 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26079 2017-09-26 Florian Weimer <fweimer@redhat.com>
26081 * resolv/Makefile (tests-internal): Fix typo in comment.
26083 2017-09-26 Florian Weimer <fweimer@redhat.com>
26085 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26087 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26089 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26090 Use an union instead of a max_align_t array for __space,
26091 so that __space is the same size on all platforms.
26092 * malloc/scratch_buffer_grow_preserve.c
26093 (__libc_scratch_buffer_grow_preserve): Likewise.
26096 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26098 * posix/Makefile (routines): Add glob-lstat-compat and
26099 glob64-lstat-compat.
26100 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26101 * posix/glob-lstat-compat.c: New file.
26102 * posix/glob64-lstat-compat.c: Likewise.
26103 * posix/tst-glob_lstat_compat.c: Likewise.
26104 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26105 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26106 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26107 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26109 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26110 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26111 * posix/glob.c (glob_lstat): New function.
26112 (glob): Rename to __glob and add versioned symbol to 2.27.
26113 (glob_in_dir): Use glob_lstat.
26114 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26115 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26116 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26118 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26119 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26120 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26121 gl_lstat on glob call.
26122 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26123 and glob64 symbols.
26124 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26125 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26126 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26127 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26128 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26129 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26130 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26131 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26132 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26133 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26134 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26135 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26138 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26140 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26141 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26142 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26143 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26144 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26147 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26148 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26149 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26151 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26153 * configure.ac (AS): Require binutils 2.25 or later.
26154 * configure: Regenerated.
26156 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26159 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26162 2017-09-25 DJ Delorie <dj@redhat.com>
26165 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26168 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26170 * sysdeps/ieee754/dbl-64/sincos32.h
26171 [SINCCOS32_H]: Remove define.
26172 [SINCOS32_H]: Define.
26174 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26176 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26178 * math/w_exp2f.c: New file.
26179 * math/w_expf.c: New file.
26180 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26181 * math/w_expf_compat.c (__expf_compat): Likewise.
26182 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26183 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26184 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26185 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26186 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26187 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26188 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26189 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26190 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26191 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26192 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26193 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26194 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26195 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26204 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26205 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26206 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26207 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26208 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26213 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26214 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26215 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26217 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26219 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26220 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26221 (roundtoint, converttoint): Likewise.
26222 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26223 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26224 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26225 * sysdeps/ieee754/flt-32/math_config.h: New file.
26226 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26227 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26228 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26229 * sysdeps/i386/fpu/math_errf.c: New file.
26230 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26231 * sysdeps/ia64/fpu/math_errf.c: New file.
26232 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26233 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26235 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26237 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26238 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26239 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26240 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26241 to make sure that these symbols are defined.
26242 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26244 (__need_NULL): Do not define.
26245 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26247 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26248 CMGROUP_MAX, cmsgcred): Do not define.
26249 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26251 * bits/socket.h: Likewise.
26252 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26253 __gettimeofday instead of gettimeofday.
26254 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26255 instead of settimeofday.
26257 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26259 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26260 (asinhf): Define using libm_alias_float.
26261 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26262 (atanf): Define using libm_alias_float.
26263 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26264 (cbrtf): Define using libm_alias_float.
26265 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26266 (ceilf): Define using libm_alias_float.
26267 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26268 <libm-alias-float.h>.
26269 (copysignf): Define using libm_alias_float.
26270 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26271 (cosf): Define using libm_alias_float.
26272 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26273 (erff): Define using libm_alias_float.
26275 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26276 (expm1f): Define using libm_alias_float.
26277 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26278 (fabsf): Define using libm_alias_float.
26279 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26280 (floorf): Define using libm_alias_float.
26281 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26282 (frexpf): Define using libm_alias_float.
26283 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26285 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26286 <libm-alias-float.h>.
26287 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26289 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26290 <libm-alias-float.h>.
26291 (getpayloadf): Define using libm_alias_float.
26292 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26293 <libm-alias-float.h>.
26294 (llrintf): Define using libm_alias_float.
26295 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26296 <libm-alias-float.h>.
26297 (llroundf): Define using libm_alias_float.
26298 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26299 (logbf): Define using libm_alias_float.
26300 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26301 (lrintf): Define using libm_alias_float.
26302 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26303 (lroundf): Define using libm_alias_float.
26304 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26305 (modff): Define using libm_alias_float.
26306 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26307 <libm-alias-float.h>.
26308 (nearbyintf): Define using libm_alias_float.
26309 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26310 <libm-alias-float.h>.
26311 (nextafterf): Define using libm_alias_float.
26312 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26313 <libm-alias-float.h>.
26314 (nextupf): Define using libm_alias_float.
26315 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26316 <libm-alias-float.h>.
26317 (remquof): Define using libm_alias_float.
26318 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26319 (rintf): Define using libm_alias_float.
26320 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26321 <libm-alias-float.h>.
26322 (roundevenf): Define using libm_alias_float.
26323 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26324 (roundf): Define using libm_alias_float.
26325 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26326 using libm_alias_float.
26327 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26328 <libm-alias-float.h>.
26329 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26330 Define using libm_alias_float.
26331 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26332 <libm-alias-float.h>.
26333 (sincosf): Define using libm_alias_float.
26334 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26335 (sinf): Define using libm_alias_float.
26336 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26337 (tanf): Define using libm_alias_float.
26338 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26339 (tanhf): Define using libm_alias_float.
26340 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26341 <libm-alias-float.h>.
26342 (totalorderf): Define using libm_alias_float.
26343 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26344 <libm-alias-float.h>.
26345 (totalordermagf): Define using libm_alias_float.
26346 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26347 (truncf): Define using libm_alias_float.
26348 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26350 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26353 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26356 math/math.h: Let fpclassify use the builtin in C++ mode, even
26357 when optimazing for size.
26359 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26361 * csu/Makefile (generated): Do not add version-info.h.
26362 (before-compile): Likewise.
26363 (all-Banner-files): Remove variable.
26364 ($(objpfx)version-info.h): Remove rule.
26365 * csu/version.c (banner): Do not include "version-info.h".
26366 * libidn/Banner: Remove.
26367 * manual/contrib.texi (Simon Josefsson): New entry.
26369 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26371 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26372 Remove conditionals on LDBL_MANT_DIG.
26373 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26374 (__ieee754_lgammal_r): Likewise.
26376 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26378 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26380 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26381 _Float128 and L(). Replace _Float128 with long double and L(x)
26382 with xL, throughout the file.
26383 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26384 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26385 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26386 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26388 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26390 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26391 sysdeps/ieee754/ldbl-128ibm.
26392 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26393 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26394 of including it. Keep _Float128 and L() intact. These will be
26395 reviewed by a separate patch.
26396 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26397 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26398 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26399 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26401 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26404 (__finitef128): Define to __redirect___finitef128.
26405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26406 (__isinff128): Define to __redirect___isinff128.
26407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26408 (__isnanf128): Define to __redirect___isnanf128.
26410 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26412 * sysdeps/powerpc/powerpc64le/Makefile
26413 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26414 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26416 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26417 Carlos O'Donell <carlos@redhat.com>
26420 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26421 * stdlib/test-dlclose-exit-race.c: New file.
26422 * stdlib/test-dlclose-exit-race-helper.c: New file.
26423 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26425 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26427 * crypt/Banner: Remove file.
26428 * nptl/Banner: Likewise.
26429 * resolv/Banner: Likewise.
26430 * soft-fp/Banner: Likewise.
26431 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26432 ($(objpfx)version.d): Remove dependency on banner.h.
26433 ($(objpfx)version.os): Likewise.
26434 * nptl/version.c (banner): Do not include banner.h.
26435 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26436 Jelinek and BIND code.
26438 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26439 Carlos O'Donell <carlos@redhat.com>
26441 * support/xdlfcn.h: New file.
26442 * support/xdlfcn.c: New file.
26443 * support/Makefile (libsupport-routines): Add xdlfcn.
26444 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26446 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26449 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26450 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26451 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26452 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26453 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26454 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26455 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26456 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26458 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26459 Ricky Zhou <rickyz@google.com>
26460 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26463 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26465 (__new_exitfn): Fail registration when we finished at_exit processing.
26466 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26467 * stdlib/on_exit.c (__on_exit): Likewise.
26468 * stdlib/exit.c (__exit_funcs_done): New variable.
26469 (__run_exit_handlers): Use __exit_funcs_lock.
26470 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26472 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26473 (test-cxa_atexit-race, test-on_exit-race): New tests.
26474 * stdlib/test-atexit-race-common.c: New file.
26475 * stdlib/test-atexit-race.c: New file.
26476 * stdlib/test-at_quick_exit-race.c: New file.
26477 * stdlib/test-cxa_atexit-race.c: New file.
26478 * stdlib/test-on_exit-race.c: New file.
26480 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26482 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26483 * benchtests/exp2f-inputs: Copy of expf-inputs.
26484 * benchtests/log2f-inputs: Copy of logf-inputs.
26486 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26488 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26489 Explicitly take address of first element of array arguments in
26490 call to INLINE_SYSCALL.
26492 2017-09-19 Andreas Schwab <schwab@suse.de>
26495 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26497 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26499 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26500 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26501 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26502 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26503 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26504 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26505 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26506 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26507 * posix/Makefile (tests): Add tst-fexecve.
26508 * posix/tst-fexecve.c: New file.
26510 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26512 * benchtests/Makefile: Add logf benchmark.
26513 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26515 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26517 * benchtests/Makefile: Add expf benchmark.
26518 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26520 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26522 * csu/Makefile: Add -funwind-tables to libc-start.c.
26523 * debug/Makefile: Add -funwind-tables to backtrace.c.
26524 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26525 * sysdeps/arm/Makefile: Likewise.
26526 * sysdeps/i386/Makefile: Likewise.
26527 * sysdeps/m68k/Makefile: Likewise.
26528 * sysdeps/mips/Makefile: Likewise.
26529 * sysdeps/nios2/Makefile: Likewise.
26530 * sysdeps/sh/Makefile: Likewise.
26531 * sysdeps/sparc/Makefile: Likewise.
26533 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26535 * benchtests/Makefile (bench-math): Add trunc and truncf.
26536 (CFLAGS-bench-trunc.c): New variable.
26537 (CFLAGS-bench-truncf.c): Likewise.
26538 * benchtests/trunc-inputs: New file.
26539 * benchtests/truncf-inputs: Likewise.
26541 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26543 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26545 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26547 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26548 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26550 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26551 (exp10l): Define as weak alias.
26552 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26553 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26555 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26556 (remainderl): Define as weak alias.
26558 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26559 (fmal): Define using libm_alias_ldouble.
26560 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26561 (acoshl): Define using libm_alias_ldouble.
26562 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26563 (acosl): Define using libm_alias_ldouble.
26564 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26565 (asinl): Define using libm_alias_ldouble.
26566 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26567 (atan2l): Define using libm_alias_ldouble.
26568 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26569 (atanhl): Define using libm_alias_ldouble.
26570 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26571 (coshl): Define using libm_alias_ldouble.
26572 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26573 (exp10l): Define using libm_alias_ldouble.
26574 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26575 (exp2l): Define using libm_alias_ldouble.
26576 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26577 (expl): Define using libm_alias_ldouble.
26578 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26579 (fmodl): Define using libm_alias_ldouble.
26580 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26581 (hypotl): Define using libm_alias_ldouble.
26582 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26583 (j0l): Define using libm_alias_ldouble.
26585 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26586 (j1l): Define using libm_alias_ldouble.
26588 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26589 (jnl): Define using libm_alias_ldouble.
26591 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26592 (log10l): Define using libm_alias_ldouble.
26593 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26594 (log2l): Define using libm_alias_ldouble.
26595 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26596 (logl): Define using libm_alias_ldouble.
26597 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26598 (powl): Define using libm_alias_ldouble.
26599 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26600 (remainderl): Define using libm_alias_ldouble.
26601 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26602 (sinhl): Define using libm_alias_ldouble.
26603 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26604 (sqrtl): Define using libm_alias_ldouble.
26605 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26606 (tgammal): Define using libm_alias_ldouble.
26607 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26608 (exp10l): Do not use long_double_symbol here.
26609 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26610 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26611 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26612 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26613 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26614 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26615 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26616 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26617 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26618 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26619 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26620 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26621 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26622 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26623 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26624 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26625 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26626 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26627 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26628 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26629 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26630 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26632 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26634 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26635 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26637 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26639 * io/read.c (read): Add libc_hidden_weak.
26640 * sysdeps/mach/hurd/read.c (read): Likewise.
26641 * io/write.c (write): Likewise.
26642 * sysdeps/mach/hurd/write.c (write): Likewise.
26643 * io/pread64.c (__pread64): Likewise.
26644 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26645 * posix/pread64.c (__pread64): Add libc_hidden_def.
26647 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26649 * benchtests/scripts/compare_strings.py: New option -g.
26650 (draw_graph): Print a message that a graph is being generated.
26651 (process_results): Generate graph only if -g is passed.
26652 (main): Process option -g.
26654 * benchtests/scripts/compare_strings.py (process_results):
26655 Better spacing for output.
26657 * benchtests/scripts/compare_strings.py: Use argparse.
26658 * benchtests/README: Document existence of compare_strings.py.
26660 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26662 * math/s_fma.c: Include <libm-alias-double.h>.
26663 (fma): Define using libm_alias_double.
26664 * math/s_nextafter.c: Include <libm-alias-double.h>.
26665 (nextafter): Define using libm_alias_double.
26666 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26667 (acos): Define using libm_alias_double.
26668 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26669 (aocsh): Define using libm_alias_double.
26670 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26671 (asin): Define using libm_alias_double.
26672 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26673 (atan2): Define using libm_alias_double.
26674 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26675 (atanh): Define using libm_alias_double.
26676 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26677 (cosh): Define using libm_alias_double.
26678 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26679 (exp10): Define using libm_alias_double.
26680 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26681 (exp2): Define using libm_alias_double.
26682 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26683 (exp): Define using libm_alias_double.
26684 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26685 (fmod): Define using libm_alias_double.
26686 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26687 (hypot): Define using libm_alias_double.
26688 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26689 (j0): Define using libm_alias_double.
26691 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26692 (j1): Define using libm_alias_double.
26694 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26695 (jn): Define using libm_alias_double.
26697 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26698 (log10): Define using libm_alias_double.
26699 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26700 (log2): Define using libm_alias_double.
26701 * math/w_log_compat.c: Include <libm-alias-double.h>.
26702 (log): Define using libm_alias_double.
26703 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26704 (pow): Define using libm_alias_double.
26705 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26706 (remainder): Define using libm_alias_double.
26707 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26708 (sinh): Define using libm_alias_double.
26709 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26710 (sqrt): Define using libm_alias_double.
26711 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26712 (tgamma): Define using libm_alias_double.
26713 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26714 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26715 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26716 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26717 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26718 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26719 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26720 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26721 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26722 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26723 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26724 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26725 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26726 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26727 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26728 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26729 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26730 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26731 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26732 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26733 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26734 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26735 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26736 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26737 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26739 * math/e_acoshl.c: Remove.
26740 * math/e_acosl.c: Likewise.
26741 * math/e_asinl.c: Likewise.
26742 * math/e_atan2l.c: Likewise.
26743 * math/e_atanhl.c: Likewise.
26744 * math/e_coshl.c: Likewise.
26745 * math/e_expl.c: Likewise.
26746 * math/e_fmodl.c: Likewise.
26747 * math/e_gammal_r.c: Likewise.
26748 * math/e_hypotl.c: Likewise.
26749 * math/e_j0l.c: Likewise.
26750 * math/e_j1l.c: Likewise.
26751 * math/e_jnl.c: Likewise.
26752 * math/e_lgammal_r.c: Likewise.
26753 * math/e_log10l.c: Likewise.
26754 * math/e_log2l.c: Likewise.
26755 * math/e_logl.c: Likewise.
26756 * math/e_powl.c: Likewise.
26757 * math/e_rem_pio2l.c: Likewise.
26758 * math/e_sinhl.c: Likewise.
26759 * math/e_sqrtf128.c: Likewise.
26760 * math/e_sqrtl.c: Likewise.
26761 * math/k_cosl.c: Likewise.
26762 * math/k_sinl.c: Likewise.
26763 * math/k_tanl.c: Likewise.
26764 * math/s_asinhl.c: Likewise.
26765 * math/s_atanl.c: Likewise.
26766 * math/s_cbrtl.c: Likewise.
26767 * math/s_erfl.c: Likewise.
26768 * math/s_expm1l.c: Likewise.
26769 * math/s_log1pl.c: Likewise.
26770 * math/s_tanhl.c: Likewise.
26772 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26776 [$(subdir) = math] (sysdep_calls): New variable. Has the
26777 previous contents of sysdep_routines, but re-sorted..
26778 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26780 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26781 defined in sysdep_calls and replace by the respective m_* names.
26782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26783 (compat_symbol): Undefine to avoid duplicated compat symbols in
26786 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26788 * math/s_fmaf.c: Include <libm-alias-float.h>.
26789 (fmaf): Define using libm_alias_float.
26790 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26791 (acosf): Define using libm_alias_float.
26792 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26793 (acoshf): Define using libm_alias_float.
26794 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26795 (asinf): Define using libm_alias_float.
26796 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26797 (atan2f): Define using libm_alias_float.
26798 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26799 (atanhf): Define using libm_alias_float.
26800 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26801 (coshf): Define using libm_alias_float.
26802 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26803 (exp10f): Define using libm_alias_float.
26804 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26805 (fmodf): Define using libm_alias_float.
26806 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26807 (hypotf): Define using libm_alias_float.
26808 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26809 (j0f): Define using libm_alias_float.
26811 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26812 (j1f): Define using libm_alias_float.
26814 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26815 (jnf): Define using libm_alias_float.
26817 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26818 (log10f): Define using libm_alias_float.
26819 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26820 (log2f): Define using libm_alias_float.
26821 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26822 (logf): Define using libm_alias_float.
26823 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26824 (powf): Define using libm_alias_float.
26825 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26826 (remainderf): Define using libm_alias_float.
26827 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26828 (sinhf): Define using libm_alias_float.
26829 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26830 (sqrtf): Define using libm_alias_float.
26831 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26832 (tgammaf): Define using libm_alias_float.
26834 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26836 * include/math.h (roundeven): Change hidden_proto call to
26838 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26840 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26841 (y0): Rename to __y0 and define as weak alias.
26842 [NO_LONG_DOUBLE] (__y0l): New strong alias.
26843 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
26845 (y0f): Rename to __y0f and define as weak alias.
26846 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
26848 [NO_LONG_DOUBLE] (__j1l): New strong alias.
26849 (y1): Rename to __y1 and define as weak alias.
26850 [NO_LONG_DOUBLE] (__y1l): New strong alias.
26851 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
26853 (y1f): Rename to __y1f and define as weak alias.
26854 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
26856 [NO_LONG_DOUBLE] (__jnl): New strong alias.
26857 (yn): Rename to __yn and define as weak alias.
26858 [NO_LONG_DOUBLE] (__ynl): New strong alias.
26859 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
26861 (ynf): Rename to __ynf and define as weak alias.
26862 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
26863 (fromfp): Define as weak alias.
26864 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
26865 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
26866 (fromfpx): Define as weak alias.
26867 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
26868 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
26869 __getpayload and define as weak alias.
26870 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26871 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
26872 __roundeven and define as weak alias.
26873 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26874 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
26876 (setpayload): Define as weak alias.
26877 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
26878 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
26880 (setpayloadsig): Define as weak alias.
26881 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
26882 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
26883 __totalorder and define as weak alias.
26884 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26885 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
26886 to __totalordermag and define as weak alias.
26887 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26888 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
26889 (ufromfp): Define as weak alias.
26890 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
26891 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
26893 (ufromfpx): Define as weak alias.
26894 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
26895 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
26896 Rename to __getpayload and define as weak alias.
26897 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
26898 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
26899 Rename to __roundeven and define as weak alias.
26900 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
26901 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
26902 Rename to __totalorder and define as weak alias.
26903 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
26904 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
26905 (totalordermag): Rename to __totalordermag and define as weak
26907 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
26908 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
26910 (__roundevenl): Likewise.
26911 (__totalorderl): Likewise.
26912 (__totalordermagl): Likewise
26913 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
26915 (fromfpf128): Define as weak alias.
26916 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
26918 (fromfpxf128): Define as weak alias.
26919 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
26921 (setpayloadf128): Define as weak alias.
26922 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
26923 __setpayloadsigf128.
26924 (setpayloadsigf128): Define as weak alias.
26925 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
26927 (ufromfpf128): Define as weak alias.
26928 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
26930 (ufromfpxf128): Define as weak alias.
26931 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
26932 (fromfpf): Define as weak alias.
26933 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
26935 (fromfpxf): Define as weak alias.
26936 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
26937 __getpayloadf and define as weak alias.
26938 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
26939 __roundevenf and define as weak alias.
26940 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
26942 (setpayloadf): Define as weak alias.
26943 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
26945 (setpayloadsigf): Define as weak alias.
26946 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
26947 __totalorderf and define as weak alias.
26948 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
26949 Rename to __totalordermagf and define as weak alias.
26950 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
26952 (ufromfpf): Define as weak alias.
26953 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
26955 (ufromfpxf): Define as weak alias.
26956 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
26958 (fromfpl): Define as weak alias.
26959 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
26961 (fromfpxl): Define as weak alias.
26962 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
26963 to __getpayloadl and define as weak alias.
26964 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
26965 __roundevenl and define as weak alias.
26966 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
26968 (setpayloadl): Define as weak alias.
26969 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
26971 (setpayloadsigl): Define as weak alias.
26972 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
26973 to __totalorderl and define as weak alias.
26974 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
26975 Rename to __totalordermagl and define as weak alias.
26976 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
26978 (ufromfpl): Define as weak alias.
26979 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
26981 (ufromfpxl): Define as weak alias.
26982 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
26984 (fromfpl): Define as weak alias.
26985 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
26987 (fromfpxl): Define as weak alias.
26988 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
26989 Rename to __getpayloadl and define as weak alias.
26990 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
26991 to __roundevenl and define as weak alias. Call __roundeven
26992 instead of roundeven.
26993 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
26995 (setpayloadl): Define as weak alias.
26996 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
26998 (setpayloadsigl): Define as weak alias.
26999 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27000 Rename to __totalorderl and define as weak alias.
27001 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27002 Rename to __totalordermagl and define as weak alias.
27003 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27005 (ufromfpl): Define as weak alias.
27006 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27008 (ufromfpxl): Define as weak alias.
27009 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27011 (fromfpl): Define as weak alias.
27012 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27014 (fromfpxl): Define as weak alias.
27015 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27016 __getpayloadl and define as weak alias.
27017 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27018 __roundevenl and define as weak alias.
27019 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27021 (setpayloadl): Define as weak alias.
27022 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27024 (setpayloadsigl): Define as weak alias.
27025 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27026 __totalorderl and define as weak alias.
27027 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27028 Rename to __totalordermagl and define as weak alias.
27029 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27031 (ufromfpl): Define as weak alias.
27032 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27034 (ufromfpxl): Define as weak alias.
27036 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27038 * benchtests/bench-string.h (realloc_bufs): New function.
27039 (test_init): Call it.
27040 * benchtests/bench-memset-large.c (do_test): Likewise.
27041 * benchtests/bench-memset.c (do_test): Likewise.
27043 * benchtests/bench-memset-large.c: Print output in JSON
27045 * benchtests/bench-memset.c: Likewise.
27047 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27050 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27051 * iconvdata/Makefile: Add IBM858.
27052 * iconvdata/gconv-modules: Likewise.
27053 * iconvdata/tst-tables.sh: Likewise.
27054 * iconvdata/ibm858.c: New file.
27055 * localedata/charmaps/IBM858: Likewise.
27057 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27060 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27061 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27063 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27066 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27067 and add tel_int_fmt.
27069 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27071 * sysdeps/generic/libm-alias-float128.h: New file.
27072 * sysdeps/generic/math-type-macros-float128.h: Include
27073 <libm-alias-float128.h>.
27074 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27076 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27078 * sysdeps/generic/libm-alias-ldouble.h: New file.
27079 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27080 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27081 * sysdeps/generic/math-type-macros-ldouble.h: Include
27082 <libm-alias-ldouble.h>.
27083 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27084 libm_alias_ldouble.
27086 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27088 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27089 * math/w_exp_compat.c: ... here.
27090 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27091 * math/w_expf_compat.c: ... here.
27092 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27093 * math/w_expl_compat.c: ... here.
27094 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27095 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27096 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27097 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27099 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27101 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27103 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27105 (ldexpl): Only define as compat symbol for libc, not libm.
27106 (scalbnl): Define as compat symbol for libc here.
27107 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27108 define for [IS_IN (libc)].
27109 (__ldexpl_2): Remove alias.
27110 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27111 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27112 name in long_double_symbol call.
27113 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27114 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27115 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27116 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27117 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27119 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27120 Define as compat symbol.
27122 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27124 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27125 * sysdeps/unix/sysv/linux/alpha/Makefile
27126 [$(subdir) = csu] (sysdep_routines): Remove rule.
27128 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27130 * sysdeps/generic/libm-alias-double.h: New file.
27131 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27132 * sysdeps/generic/math-type-macros-double.h: Include
27133 <libm-alias-double.h>.
27134 [declare_mgen_alias] (declare_mgen_alias): Define to use
27136 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27137 (M_LIBM_NEED_COMPAT): Remove macro.
27138 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27139 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27140 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27142 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27143 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27144 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27145 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27146 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27147 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27148 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27149 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27150 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27151 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27152 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27153 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27154 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27155 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27156 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27157 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27158 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27159 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27160 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27161 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27162 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27163 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27164 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27165 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27166 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27167 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27168 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27169 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27170 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27172 (declare_mgen_alias): New macro.
27173 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27174 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27176 (M_LIBM_NEED_COMPAT): Remove macro.
27177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27178 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27179 <first-versions.h>.
27180 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27181 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27183 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27185 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27186 (declare_mgen_alias_2): Remove.
27187 * sysdeps/generic/math-type-macros-double.h
27188 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27190 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27192 (ldexp): Define with declare_mgen_alias.
27193 (scalbn): Likewise.
27195 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27197 * grp/initgroups.c: Include config.h.
27198 (DEFAULT_CONFIG): New macro.
27199 (internal_getgrouplist): Use DEFAULT_CONFIG.
27200 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27201 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27202 (DEFAULT_DEFCONFIG): New macro.
27203 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27204 * nss/grp-lookup.c: Include config.h
27205 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27206 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27207 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27208 * manual/nss.texi: Update default values section.
27210 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27213 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27215 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27216 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27217 Handle MathVec_Prefer_No_AVX512.
27218 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27219 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27222 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27224 * posix/sched_primax.c (__sched_get_priority_max): Add
27226 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27227 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27228 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27229 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27230 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27231 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27232 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27233 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27236 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27238 * sysdeps/generic/libm-alias-float.h: New file.
27239 * sysdeps/generic/math-type-macros-float.h: Include
27240 <libm-alias-float.h>.
27241 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27243 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27246 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27247 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27248 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27249 (HWCAP_IMPORTANT): Likewise.
27250 (HWCAP_X86_64): New enum.
27251 (HWCAP_X86_AVX512_1): Updated.
27252 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27253 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27254 (modules-names): Add x86_64/tst-x86_64mod-1.
27255 (LDFLAGS-tst-x86_64mod-1.so): New.
27256 ($(objpfx)tst-x86_64-1): Likewise.
27257 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27258 (tst-x86_64-1-clean): Likewise.
27259 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27260 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27262 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27264 * po/sv.po: Update translations.
27265 * po/fr.po: Likewise.
27267 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27269 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27271 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27273 * elf/rtld-Rules: Fix $(error) use.
27275 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27278 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27279 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27280 * localedata/locales/bn_BD: “Bengali” was still used in some
27281 comments. Change it to “Bangla”.
27283 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27285 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27287 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27289 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27290 thunderx2t99p1 to list of cpu names.
27291 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27292 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27294 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27296 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27297 Use strcmp instead of tunable_is_name.
27299 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27301 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27302 (F_GET_RW_HINT): New macro.
27303 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27304 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27305 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27306 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27307 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27308 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27309 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27310 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27311 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27313 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27314 (F_ADD_SEALS): New macro.
27315 [__USE_GNU] (F_GET_SEALS): Likewise.
27316 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27317 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27318 [__USE_GNU] (F_SEAL_GROW): Likewise.
27319 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27321 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27323 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27324 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27325 * posix/glob_internal.h (__glob_pattern_type):
27326 * posix/glob.c (glob):
27327 * posix/glob_pattern_p.c (__glob_pattern_p):
27330 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27331 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27332 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27333 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27334 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27336 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27337 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27338 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27339 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27340 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27341 * sysdeps/wordsize-64/glob.c: Likewise.
27342 * sysdeps/wordsize-64/glob64.c: Likewise.
27343 * sysdeps/wordsize-64/globfree.c: Likewise.
27344 * sysdeps/wordsize-64/globfree64.c: Likewise.
27345 * sysdeps/unix/sysv/linux/glob.c: New file.
27346 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27347 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27348 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27349 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27350 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27351 adds !GLOB_NO_OLD_VERSION as an extra condition.
27352 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27353 using relative path instead of absolute one.
27354 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27355 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27356 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27357 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27358 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27359 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27362 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27363 (glob): Use the same scratch buffer for both getlogin_r and
27364 getpwnam_r. Don’t require preallocation of the login name. This
27365 simplifies storage allocation, and corrects the handling of
27369 * posix/glob.c (glob): Port recent patches to platforms
27370 lacking getpwnam_r.
27371 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27372 returns an error number rather than setting errno.
27374 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27375 instead of GCC extension.
27376 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27377 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27378 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27382 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27383 * posix/bug-glob1.c: Remove file.
27384 * posix/tst-glob_symlinks.c: New file.
27385 * posix/glob.c (__lstat64): New macro.
27386 (is_dir): New function.
27387 (glob, glob_in_dir): Match symlinks even if they are dangling.
27388 (link_stat, link_exists_p): Remove. All uses removed.
27392 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27393 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27398 * posix/Makefile (routines): Add globfree, globfree64, and
27400 * posix/flexmember.h: New file.
27401 * posix/glob_internal.h: Likewise.
27402 * posix/glob_pattern_p.c: Likewise.
27403 * posix/globfree.c: Likewise.
27404 * posix/globfree64.c: Likewise.
27405 * sysdeps/gnu/globfree64.c: Likewise.
27406 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27407 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27408 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27409 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27410 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27411 * sysdeps/wordsize-64/globfree.c: Likewise.
27412 * sysdeps/wordsize-64/globfree64.c: Likewise.
27413 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27414 [NDEBUG): Remove comments.
27415 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27416 (dirent_type): New type. Use uint_fast8_t not
27417 uint8_t, as C99 does not require uint8_t.
27418 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27419 (struct readdir_result): Use dirent_type. Do not define skip_entry
27420 unless it is needed; this saves a byte on platforms lacking d_ino.
27421 (readdir_result_type, readdir_result_skip_entry):
27422 New functions, replacing ...
27423 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27424 these functions, which were removed. This makes the callers
27425 easier to read. All callers changed.
27426 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27427 (size_add_wrapv, glob_use_alloca): New static functions.
27428 (glob, glob_in_dir): Check for size_t overflow in several places,
27429 and fix some size_t checks that were not quite right.
27430 Remove old code using SHELL since Bash no longer
27432 (glob, prefix_array): Separate MS code better.
27433 (glob_in_dir): Remove old Amiga and VMS code.
27434 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27436 (glob_in_dir): Do not rely on undefined behavior in accessing
27437 struct members beyond their bounds. Use a flexible array member
27439 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27440 0/1. Caller changed.
27441 (glob): Fix memory leaks.
27442 * posix/glob64 (globfree64): Move to separate file.
27443 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27444 (globfree64): Remove hidden alias.
27445 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27447 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27449 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27451 Move compat code to separate file.
27452 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27455 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27457 * resolv/tst-resolv-qtypes.c (domain): Changed to
27458 "const char domain[] =".
27460 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27462 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27465 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27466 (TCP_MD5SIG_EXT): Likewise.
27467 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27468 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27469 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27471 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27473 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27475 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27477 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27480 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27482 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27484 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27485 before assuming that the file is empty. Avoid testing buffer content
27488 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27491 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27493 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27495 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27497 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27499 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27501 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27503 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27506 2017-09-06 Florian Weimer <fweimer@redhat.com>
27508 * malloc/dynarray_emplace_enlarge.c
27509 (__libc_dynarray_emplace_enlarge): Add missing else.
27511 2017-09-06 Florian Weimer <fweimer@redhat.com>
27514 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27515 case of failure to obtain the global conf object.
27517 2017-09-06 Florian Weimer <fweimer@redhat.com>
27520 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27521 dynarray allocation failure.
27523 2017-09-06 Florian Weimer <fweimer@redhat.com>
27525 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27526 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27527 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27529 (response): Call them. Add 'p', '6' flag processing.
27530 (test_reverse): New function.
27531 (test_get2_any): Call it.
27532 (test_no_inet6): Add 'p' test.
27533 (test_inet6): Likewise.
27535 2017-09-06 Florian Weimer <fweimer@redhat.com>
27537 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27538 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27540 (test_gai): Adjust query names. Add additional tests.
27541 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27542 test_get2. Adjust query names. Add additional tests.
27543 (test_no_inet6): New function, extracted from threadfunc.
27544 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27545 Add additional tests.
27547 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27550 * localedata/unicode-gen/utf8_gen.py: Set the width for
27551 characters with Prepended_Concatenation_Mark property to 1
27552 * localedata/charmaps/UTF-8: Updated using the improved script.
27554 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27557 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27558 use the range notation for all ranges of neighbouring characters
27559 with the same width.
27561 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27563 * sysdeps/generic/math-type-macros-double.h: Include
27564 <math-svid-compat.h>.
27565 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27566 * sysdeps/generic/math-type-macros-float.h: Include
27567 <math-svid-compat.h>.
27568 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27569 * sysdeps/generic/math-type-macros-ldouble.h: Include
27570 <math-svid-compat.h>.
27571 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27572 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27574 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27575 * math/w_acosf_compat.c: Likewise.
27576 * math/w_acosh_compat.c: Likewise.
27577 * math/w_acoshf_compat.c: Likewise.
27578 * math/w_acoshl_compat.c: Likewise.
27579 * math/w_acosl_compat.c: Likewise.
27580 * math/w_asin_compat.c: Likewise.
27581 * math/w_asinf_compat.c: Likewise.
27582 * math/w_asinl_compat.c: Likewise.
27583 * math/w_atan2_compat.c: Likewise.
27584 * math/w_atan2f_compat.c: Likewise.
27585 * math/w_atan2l_compat.c: Likewise.
27586 * math/w_atanh_compat.c: Likewise.
27587 * math/w_atanhf_compat.c: Likewise.
27588 * math/w_atanhl_compat.c: Likewise.
27589 * math/w_cosh_compat.c: Likewise.
27590 * math/w_coshf_compat.c: Likewise.
27591 * math/w_coshl_compat.c: Likewise.
27592 * math/w_exp10_compat.c: Likewise.
27593 * math/w_exp10f_compat.c: Likewise.
27594 * math/w_exp10l_compat.c: Likewise.
27595 * math/w_exp2_compat.c: Likewise.
27596 * math/w_exp2f_compat.c: Likewise.
27597 * math/w_exp2l_compat.c: Likewise.
27598 * math/w_fmod_compat.c: Likewise.
27599 * math/w_fmodf_compat.c: Likewise.
27600 * math/w_fmodl_compat.c: Likewise.
27601 * math/w_hypot_compat.c: Likewise.
27602 * math/w_hypotf_compat.c: Likewise.
27603 * math/w_hypotl_compat.c: Likewise.
27604 * math/w_j0_compat.c: Likewise.
27605 * math/w_j0f_compat.c: Likewise.
27606 * math/w_j0l_compat.c: Likewise.
27607 * math/w_j1_compat.c: Likewise.
27608 * math/w_j1f_compat.c: Likewise.
27609 * math/w_j1l_compat.c: Likewise.
27610 * math/w_jn_compat.c: Likewise.
27611 * math/w_jnf_compat.c: Likewise.
27612 * math/w_jnl_compat.c: Likewise.
27613 * math/w_lgamma_r_compat.c: Likewise.
27614 * math/w_lgammaf_r_compat.c: Likewise.
27615 * math/w_lgammal_r_compat.c: Likewise.
27616 * math/w_log10_compat.c: Likewise.
27617 * math/w_log10f_compat.c: Likewise.
27618 * math/w_log10l_compat.c: Likewise.
27619 * math/w_log2_compat.c: Likewise.
27620 * math/w_log2f_compat.c: Likewise.
27621 * math/w_log2l_compat.c: Likewise.
27622 * math/w_log_compat.c: Likewise.
27623 * math/w_logf_compat.c: Likewise.
27624 * math/w_logl_compat.c: Likewise.
27625 * math/w_pow_compat.c: Likewise.
27626 * math/w_powf_compat.c: Likewise.
27627 * math/w_powl_compat.c: Likewise.
27628 * math/w_remainder_compat.c: Likewise.
27629 * math/w_remainderf_compat.c: Likewise.
27630 * math/w_remainderl_compat.c: Likewise.
27631 * math/w_sinh_compat.c: Likewise.
27632 * math/w_sinhf_compat.c: Likewise.
27633 * math/w_sinhl_compat.c: Likewise.
27634 * math/w_sqrt_compat.c: Likewise.
27635 * math/w_sqrtf_compat.c: Likewise.
27636 * math/w_sqrtl_compat.c: Likewise.
27637 * math/w_tgamma_compat.c: Likewise.
27638 * math/w_tgammaf_compat.c: Likewise.
27639 * math/w_tgammal_compat.c: Likewise.
27640 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27641 [LIBM_SVID_COMPAT].
27642 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27643 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27644 [LIBM_SVID_COMPAT].
27645 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27646 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27647 [LIBM_SVID_COMPAT].
27648 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27649 * sysdeps/i386/fpu/w_sqrt.c: New file.
27650 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27651 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27652 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27653 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27654 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27655 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27656 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27657 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27658 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27659 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27660 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27661 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27662 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27663 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27664 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27665 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27666 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27667 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27668 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27669 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27670 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27671 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27672 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27673 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27674 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27675 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27676 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27677 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27678 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27679 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27680 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27681 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27682 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27683 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27684 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27685 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27686 * sysdeps/ia64/fpu/w_log.c: Likewise.
27687 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27688 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27689 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27690 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27691 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27692 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27693 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27694 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27695 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27696 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27697 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27698 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27699 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27700 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27701 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27702 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27703 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27704 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27705 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27706 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27707 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27708 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27709 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27710 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27711 [LIBM_SVID_COMPAT].
27712 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27713 * sysdeps/ieee754/k_standard.c: Likewise.
27714 * sysdeps/ieee754/k_standardf.c: Likewise.
27715 * sysdeps/ieee754/k_standardl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27717 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27718 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27719 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27720 long_double_symbol call on [LIBM_SVID_COMPAT].
27721 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27722 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27723 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27724 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27725 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27726 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27727 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27728 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27729 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27730 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27731 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27732 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27733 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27734 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27735 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27736 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27737 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27738 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27739 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27740 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27741 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27742 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27744 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27746 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27747 * malloc/tst-mallocstate.c: Convert from test-skeleton
27748 to test-driver. Ifdef code using TEST_COMPAT macro.
27749 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27750 * math/test-matherr.c: Likewise.
27752 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27755 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27756 comparing word with byte-swapped constant.
27758 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27761 * locale/iso-639.def: add Miskito.
27762 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27763 * localedata/locales/miq_NI: New file.
27765 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27768 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27769 (__mkdir): Likewise.
27770 * io/chmod.c (__chmod): Add libc_hidden_def.
27771 * io/mkdir.c (__mkdir): Likewise.
27772 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27773 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27774 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27775 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27777 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27779 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27783 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27784 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27786 2017-09-04 Florian Weimer <fweimer@redhat.com>
27788 * math/math.h: Issue warning if log is defined.
27790 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27792 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27793 kernel version to 4.13.
27795 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27797 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27798 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27800 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27801 just <bits/types.h>.
27802 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27803 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27804 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27805 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27806 * misc/preadv2.c: Include <errno.h>.
27807 * misc/preadv64v2.c: Include <errno.h>.
27808 * misc/pwritev2.c: Include <errno.h>.
27809 * misc/pwritev64v2.c: Include <errno.h>.
27810 * sysdeps/posix/preadv2.c: Include <errno.h>.
27811 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27812 Fix <unistd.h> inclusion.
27813 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27814 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27815 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27816 __strtoul_internal): New functions.
27817 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27818 * sysdeps/posix/system.c: Include <sigsetops.h>.
27819 * sysdeps/mach/hurd/i386/Makefile
27820 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27821 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27822 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27823 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27824 __feraiseexcept_renamed to feraiseexcept instead of
27825 __GI_feraiseexcept.
27826 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27827 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27828 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27829 RWF_NOWAIT): Define to 0 if undefined already.
27830 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27832 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27833 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27835 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27837 * manual/math.texi (pow10): Do not document.
27838 (pow10f): Likewise.
27839 (pow10l): Likewise.
27840 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27841 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27842 * math/libm-test-exp10.inc (pow10_test): Remove.
27843 (do_test): Do not call pow10.
27844 * math/w_exp10_compat.c (pow10): Make into compat symbol.
27845 [NO_LONG_DOUBLE] (pow10l): Likewise.
27846 * math/w_exp10f_compat.c (pow10f): Likewise.
27847 * math/w_exp10l_compat.c (pow10l): Likewise.
27848 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
27849 (pow10): Make into compat symbol.
27850 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
27851 (pow10f): Make into compat symbol.
27852 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
27853 (pow10l): Make into compat symbol.
27854 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
27856 (CFLAGS-nldbl-pow10.c): Remove variable..
27857 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
27858 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
27859 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
27860 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
27861 Undefine and redefine.
27862 (pow10l): Make into compat symbol.
27863 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
27864 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
27865 * sysdeps/arm/libm-test-ulps: Likewise.
27866 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
27867 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27868 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27869 * sysdeps/microblaze/libm-test-ulps: Likewise.
27870 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
27871 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27872 * sysdeps/nios2/libm-test-ulps: Likewise.
27873 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27874 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
27875 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27876 * sysdeps/sh/libm-test-ulps: Likewise.
27877 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27878 * sysdeps/tile/libm-test-ulps: Likewise.
27879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27881 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27883 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
27885 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27887 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
27888 "../ChangeLog.old/ChangeLog.8".
27889 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
27890 "../ChangeLog.old/ChangeLog.14".
27892 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27894 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
27897 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27899 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
27901 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
27903 * csu/version.c (banner): Remove "by Roland McGrath et al.".
27904 * nptl/Banner: Remove "by Ulrich Drepper et al.".
27906 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
27908 * stdlib/tst-atexit-common.c (do_test): Test support for at least
27909 32 atexit handlers.
27911 2017-09-01 Zack Weinberg <zackw@panix.com>
27913 * math/math.h (HUGE_VAL): Improve commentary.
27915 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27916 Andreas Schwab <schwab@suse.de>
27919 * include/stdio.h (__gen_tempfd): New function.
27920 * stdio-common/Makefile (routines): Add gentempfd.
27921 * stdio-common/gentempfd.c: New file.
27922 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
27923 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
27924 unnamed file first.
27926 2017-09-01 Florian Weimer <fweimer@redhat.com>
27930 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
27931 result to determine success or failure, not the errno value.
27932 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
27933 (tst-nss-files-hosts-erange): Link with -ldl.
27934 * nss/tst-nss-files-hosts-erange.c: New file.
27935 * nss/tst-resolv-basic.c (response): Handle nodata.example.
27936 (do_test): Add NO_DATA tests.
27937 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
27938 (do_test): Call it.
27940 2017-09-01 Florian Weimer <fweimer@redhat.com>
27943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
27944 coming from gethostbyname2_r.
27946 2017-09-01 Florian Weimer <fweimer@redhat.com>
27948 * support/namespace.h (struct support_chroot_configuration): Add
27950 (struct support_chroot): Add path_hosts, path_host_conf.
27951 * support/support_chroot.c (write_file): New function.
27952 (support_chroot_create): Call it to process /etc/resolv.conf,
27953 /etc/hosts, /etc/host.conf.
27954 (support_chroot_free): Update.
27956 2017-09-01 Florian Weimer <fweimer@redhat.com>
27958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
27959 status indicates it is set.
27961 2017-09-01 Florian Weimer <fweimer@redhat.com>
27964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
27965 function lookup failures more reliable.
27967 2017-09-01 Florian Weimer <fweimer@redhat.com>
27969 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
27970 (getcanonname): Likewise.
27971 (gaih_inet): Likewise.
27973 2017-09-01 Florian Weimer <fweimer@redhat.com>
27975 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
27976 (getcanonname): Likewise.
27977 (gaih_inet): Likewise.
27979 2017-08-31 Steve Ellcey <sellcey@cavium.com>
27980 Richard Henderson <rth@twiddle.net>
27982 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
27983 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
27984 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
27985 (IREG_SIZE, OREG_SIZE): New macros.
27986 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
27987 (IREG_SIZE, OREG_SIZE): New macros.
27988 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
27989 (IREG_SIZE): New macro.
27990 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
27991 (IREG_SIZE): New macro.
27992 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
27994 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
27995 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
27996 (__CONCATX): Handle exceptions correctly on large values that may
27998 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
27999 Initialize if not already set.
28000 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28002 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28004 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28005 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28007 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28009 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28011 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28013 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28015 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28017 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28019 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28020 (NO_CANCELLATION): Likewise.
28021 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28023 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28025 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28027 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28028 (NO_CANCELLATION): Likewise.
28029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28030 (NO_CANCELLATION): Likewise.
28031 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28033 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28035 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28037 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28039 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28041 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28042 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28044 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28046 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28049 2017-08-31 Florian Weimer <fweimer@redhat.com>
28051 * include/libc-symbols.h (internal_function): Remove.
28053 2017-08-31 Florian Weimer <fweimer@redhat.com>
28055 * stdlib/fmtmsg.c (internal_addseverity): Remove
28058 2017-08-31 Florian Weimer <fweimer@redhat.com>
28060 * stdio-common/printf_fp.c (group_number): Remove
28062 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28064 2017-08-31 Florian Weimer <fweimer@redhat.com>
28066 * posix/fnmatch.c (internal_function): Remove definition.
28067 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28068 * posix/regcomp.c (peek_token, init_word_char)
28069 (duplicate_node_closure, fetch_token, peek_token)
28070 (peek_token_bracket, build_range_exp, build_collating_symbol):
28072 * posix/regex_internal.c (re_string_construct_common)
28073 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28074 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28075 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28076 (re_string_translate_buffer, re_string_reconstruct)
28077 (re_string_peek_byte_case, re_string_fetch_byte_case)
28078 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28079 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28080 (re_node_set_add_intersect, re_node_set_init_union)
28081 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28082 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28083 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28084 (re_acquire_state_context): Likewise.
28085 * posix/regex_internal.h (internal_function): Remove definition.
28086 (re_string_realloc_buffers, build_wcs_buffer)
28087 (build_wcs_upper_buffer, build_upper_buffer)
28088 (re_string_translate_buffer, re_string_context_at)
28089 (re_string_char_size_at, re_string_wchar_at)
28090 (re_string_elem_size_at): Likewise.
28091 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28092 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28093 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28094 (re_search_internal, re_search_2_stub, re_search_stub)
28095 (re_copy_regs, prune_impossible_nodes, check_matching)
28096 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28097 (free_fail_stack_return, sift_states_iter_mb)
28098 (sift_states_backward, build_sifted_states)
28099 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28100 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28101 (check_subexp_limits, sift_states_bkref, merge_state_array)
28102 (find_recover_state, transit_state, merge_state_with_log)
28103 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28104 (transit_state_mb, transit_state_bkref, get_subexp)
28105 (get_subexp_sub, find_subexp_node, check_arrival)
28106 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28107 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28108 (check_node_accept_bytes, find_collation_sequence_value)
28109 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28110 (acquire_init_state_context, check_halt_node_context)
28111 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28112 (sub_epsilon_src_nodes): Likewise.
28113 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28114 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28115 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28116 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28117 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28118 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28119 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28120 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28121 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28122 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28123 (PREADV): Likewise.
28124 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28125 (PREADV): Likewise.
28126 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28127 (PWRITEV): Likewise.
28128 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28129 (PWRITEV): Likewise.
28130 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28131 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28133 2017-08-31 Florian Weimer <fweimer@redhat.com>
28135 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28136 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28137 Remove internal_function.
28138 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28139 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28140 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28141 (__deallocate_stack, __libc_pthread_init)
28142 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28143 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28144 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28146 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28147 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28148 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28150 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28151 (__pthread_mutex_unlock_usercnt): Likewise.
28153 2017-08-31 Florian Weimer <fweimer@redhat.com>
28155 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28156 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28157 (fts_safe_changedir): Remove internal_function.
28158 * io/ftw.c (internal_function): Remove definition.
28159 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28161 2017-08-31 Florian Weimer <fweimer@redhat.com>
28163 * inet/deadline.c (__deadline_current_time)
28164 (__deadline_from_timeval, __deadline_to_ms): Remove
28166 * inet/getnameinfo.c (nrl_domainname): Likewise.
28167 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28168 * inet/inet6_option.c (add_pad): Likewise.
28169 * inet/net-internal.h (__deadline_current_time)
28170 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28171 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28172 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28173 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28175 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28177 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28178 include <bits/nan.h>.
28179 * math/Makefile (headers): Remove bits/nan.h.
28180 * bits/nan.h: Remove.
28181 * sysdeps/ieee754/bits/nan.h: Likewise.
28182 * sysdeps/mips/bits/nan.h: Likewise.
28184 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28185 not include <bits/inf.h>.
28186 * math/Makefile (headers): Remove bits/inf.h.
28187 * bits/inf.h: Remove.
28188 * sysdeps/ieee754/bits/inf.h: Likewise.
28190 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28191 bits/huge_vall.h or bits/huge_val_flt128.h.
28192 (HUGE_VAL): Define directly here.
28193 [__USE_ISOC99] (HUGE_VALF): Likewise.
28194 [__USE_ISOC99] (HUGE_VALL): Likewise.
28195 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28196 (HUGE_VAL_F128): Likewise.
28197 * math/Makefile (headers): Remove bits/huge_val.h,
28198 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28199 * bits/huge_val.h: Remove.
28200 * bits/huge_val_flt128.h: Likewise.
28201 * bits/huge_valf.h: Likewise.
28202 * bits/huge_vall.h: Likewise.
28203 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28204 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28205 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28206 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28207 * sysdeps/sh/bits/huge_val.h: Likewise.
28208 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28209 * sysdeps/x86/bits/huge_vall.h: Likewise.
28211 2017-08-31 Florian Weimer <fweimer@redhat.com>
28213 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28215 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28217 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28218 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28219 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28220 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28221 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28222 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28223 * elf/dl-libc.c (dlerror_run): Likewise.
28224 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28225 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28226 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28227 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28229 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28230 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28231 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28232 * elf/dl-profile.c (_dl_start_profile): Likewise.
28233 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28234 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28236 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28237 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28238 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28239 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28240 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28241 (_dl_allocate_tls_storage): Likewise.
28242 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28243 (_dl_check_all_versions): Likewise.
28244 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28245 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28246 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28247 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28248 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28249 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28250 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28251 internal_function from __dl_start.
28252 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28253 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28254 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28255 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28256 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28257 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28258 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28259 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28260 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28261 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28262 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28263 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28264 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28265 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28266 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28268 (struct rtld_global_ro): Remove internal_function from the
28269 _dl_lookup_symbol_x member.
28270 (_dl_symbol_value): Remove. No longer defined anywhere.
28271 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28273 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28274 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28275 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28276 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28277 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28278 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28279 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28280 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28281 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28282 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28283 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28284 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28286 2017-08-31 Florian Weimer <fweimer@redhat.com>
28288 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28289 Remove internal_function.
28290 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28292 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28295 2017-08-31 Florian Weimer <fweimer@redhat.com>
28297 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28298 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28299 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28301 2017-08-31 Florian Weimer <fweimer@redhat.com>
28303 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28304 (__gai_enqueue_request): Remove internal_function.
28305 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28306 (__gai_remove_request, __gai_notify, __gai_notify_only)
28307 (__gai_sigqueue): Likewise.
28308 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28309 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28310 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28311 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28314 2017-08-31 Florian Weimer <fweimer@redhat.com>
28316 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28317 * include/dirent.h (__opendirat, __getdents, __getdents64)
28318 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28319 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28320 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28321 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28323 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28325 2017-08-31 Florian Weimer <fweimer@redhat.com>
28327 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28329 (GETCWD_RETURN_TYPE): Likewise.
28331 2017-08-31 Florian Weimer <fweimer@redhat.com>
28333 * include/time.h (__tz_compute, __strptime_internal): Remove
28335 * time/strptime_l.c (__strptime_internal): Likewise.
28336 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28338 2017-08-31 Florian Weimer <fweimer@redhat.com>
28340 * iconv/gconv.c (__gconv): Remove internal_function.
28341 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28342 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28343 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28344 (__gconv_release_cache): Likewise.
28345 * iconv/gconv_close.c (__gconv_close): Likewise.
28346 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28347 (read_conf_file, __gconv_get_path): Likewise.
28348 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28349 (__gconv_release_step, gen_steps, increment_counter)
28350 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28351 (__gconv_close_transform, free_modules_db): Likewise.
28352 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28354 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28355 (__gconv_find_transform, __gconv_lookup_cache)
28356 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28357 (__gconv_close_transform, __gconv_release_cache)
28358 (__gconv_loaded_object, __gconv_release_shlib)
28359 (__gconv_compare_alias): Likewise.
28360 * iconv/gconv_open.c (__gconv_open): Likewise.
28361 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28362 * iconv/iconvconfig.c (add_module): Likewise.
28363 * intl/dcigettext.c (plural_lookup, guess_category_value)
28364 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28365 * intl/eval-plural.h (plural_eval): Likewise.
28366 * intl/finddomain.c (_nl_find_domain): Likewise.
28367 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28368 (_nl_load_domain, _nl_find_msg): Likewise.
28369 (internal_function): Remove definition.
28370 * intl/loadinfo.h (internal_function): Likewise.
28371 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28373 * intl/localealias.c (internal_function): Remove definition.
28374 (read_alias_file): Remove internal_function.
28375 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28376 * intl/plural-exp.h (internal_function): Remove definition.
28377 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28379 * intl/plural.c: Regenerate.
28380 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28381 * locale/coll-lookup.c (__collidx_table_lookup)
28382 (__collseq_table_lookup): Likewise.
28383 * locale/coll-lookup.h (__collidx_table_lookup)
28384 (__collseq_table_lookup): Likewise.
28385 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28386 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28387 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28388 (_nl_unload_locale): Likewise.
28389 * locale/localeinfo.h (struct __locale_data): Remove
28390 internal_function from cleanup member.
28391 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28392 (_nl_remove_locale, _nl_load_locale_from_archive)
28393 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28394 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28395 (_nl_cleanup_time): Remove internal_function.
28396 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28397 (_nl_parse_alt_digit): Likewise.
28398 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28399 (_nl_select_era_entry): Likewise.
28400 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28401 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28402 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28403 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28404 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28406 2017-08-31 Florian Weimer <fweimer@redhat.com>
28408 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28409 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28410 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28411 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28413 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28414 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28415 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28416 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28418 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28420 2017-08-31 Florian Weimer <fweimer@redhat.com>
28422 * misc/getttyent.c (skip, value): Remove internal_function.
28423 * misc/syslog.c (openlog_internal): Likewise.
28424 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28426 2017-08-31 Florian Weimer <fweimer@redhat.com>
28428 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28429 (__nss_rewrite_field): Remove internal_function.
28430 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28431 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28432 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28433 * nss/nsswitch.c (nss_parse_file, nss_getline)
28434 (nss_parse_service_list, nss_new_service): Likewise.
28435 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28436 * nss/valid_field.c (__nss_valid_field): Likewise.
28437 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28439 2017-08-31 Florian Weimer <fweimer@redhat.com>
28441 * malloc/arena.c (__malloc_fork_lock_parent)
28442 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28443 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28444 internal_function from defintions.
28445 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28446 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28447 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28448 internal_function from declarations.
28449 * malloc/malloc.c (internal_function): Do not define.
28450 (mem2mem_check): Remove internal_function from declaration.
28451 (munmap_chunk, mremap_chunk): Remove internal_function.
28452 * malloc/mtrace.c (tr_where): Likewise.
28454 2017-08-31 Florian Weimer <fweimer@redhat.com>
28456 * include/rpc/pmap_clnt.h (__get_socket): Remove
28458 * sunrpc/auth_des.c (synchronize): Likewise.
28459 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28460 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28461 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28462 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28463 (key_call): Likewise.
28464 * sunrpc/pm_getport.c (__get_socket): Likewise.
28465 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28466 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28467 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28468 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28469 (invalidate): Likewise.
28470 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28471 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28472 (set_input_fragment, get_input_bytes): Likewise.
28474 2017-08-31 Florian Weimer <fweimer@redhat.com>
28476 * malloc/malloc.c (_int_free): Remove locked variable and related
28479 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28482 * Makerules (build-module-helper-objlist): Filter out
28483 $(elf-objpfx)sofini.os.
28484 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28487 2017-08-31 Florian Weimer <fweimer@redhat.com>
28489 * libio/fcloseall.c: Assume weak_alias is defined.
28490 * libio/feof.c: Likewise.
28491 * libio/fileno.c: Likewise.
28492 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28493 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28495 (_IO_file_open): Call __open directly.
28496 (_IO_new_file_sync): Assume ESPIPE is defined.
28497 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28498 (_IO_new_file_write): Call __write directly.
28499 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28500 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28501 * libio/genops.c: Assume _LIBC is defined.
28502 (save_for_backup): Remove internal_function.
28503 * libio/getc.c: Assume weak_alias is defined.
28504 * libio/getwc.c: Likewise.
28505 * libio/iofclose.c: Assume _LIBC is defined.
28506 * libio/iofdopen.c: Likewise.
28507 (_IO_fcntl): Remove macro definition.
28508 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28509 Call __fcntl directly.
28510 * libio/iofflush.c: Assume weak_alias is defined.
28511 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28513 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28514 * libio/iofgets.c: Likewise.
28515 * libio/iofopen.c: Assume _LIBC is defined.
28516 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28517 * libio/iofputs.c: Assume weak_alias is defined.
28518 * libio/iofread.c: Likewise.
28519 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28520 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28521 * libio/ioftell.c: Assume weak_alias is defined.
28522 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28523 * libio/iofwide.c: Assume _LIBC is defined.
28524 (_IO_fwide): Drop SHARED conditional because it is implied by
28526 * libio/iofwrite.c: Assume weak_alias is defined.
28527 * libio/iogetdelim.c: Likewise.
28528 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28529 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28530 (_IO_getwline): Call __wmemcpy directly.
28531 * libio/iopopen.c: Assume _LIBC is defined.
28532 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28533 (_IO_close): Remove macro definitions.
28534 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28536 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28538 * libio/ioputs.c: Assume weak_alias is defined.
28539 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28540 * libio/iosetbuffer.c: Assume weak_alias is defined.
28541 * libio/iosetvbuf.c: Likewise.
28542 * libio/ioungetc.c: Likewise.
28543 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28544 libc_hidden_def, libc_hidden_weak, NULL are defined.
28545 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28546 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28548 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28550 (_IO_old_file_init_internal): Drop SHARED conditional because it
28551 is implied by SHLIB_COMPAT.
28552 (_IO_old_file_fopen): Call __open directly.
28553 (_IO_old_file_sync): Assume ESPIPE is defined.
28554 (_IO_old_file_write): Call __write directly.
28555 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28556 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28557 Call __fcntl directly.
28558 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28559 (_IO_old_fgetpos): Assume EIO is defined.
28560 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28561 (_IO_old_fgetpos64): Assume EIO is defined.
28562 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28563 (_IO_old_fsetpos): Assume EIO is defined.
28564 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28565 (_IO_old_fsetpos64): Assume EIO is defined.
28566 * libio/oldiopopen.c: Assume _LIBC is defined.
28567 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28568 (_IO_close): Remove macro definitions.
28569 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28571 (_IO_old_proc_close): Call __close, __waitpid directly.
28572 * libio/put.c: Assume weak_alias is defined.
28573 * libio/stdfiles.c: Assume _LIBC is defined.
28574 * libio/stdio.c: Likewise.
28575 * libio/wfileops.c: Likewise.
28576 (_IO_wfile_sync): Assume ESPIPE is defined.
28577 * libio/wgenops.c: Assume _LIBC is defined.
28578 (save_for_wbackup): Remove internal_function.
28580 2017-08-31 Florian Weimer <fweimer@redhat.com>
28582 * malloc/malloc.c (top_check): Change return type to void. Remove
28584 * malloc/hooks.c (top_check): Likewise.
28585 (malloc_check, realloc_check, memalign_check): Adjust.
28587 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28590 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28591 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28592 sigcontext and namespace requirements.
28593 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28594 * sysdeps/m68k/sys/ucontext.h: Likewise.
28595 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28596 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28597 <bits/sigcontext.h>.
28598 (__ctx): Define earlier.
28599 (mcontext_t): Define structure contents rather than using struct
28601 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28602 __glibc_reserved1 instead of __reserved.
28603 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28604 <bits/sigcontext.h>.
28605 (__ctx): Define earlier.
28606 (mcontext_t): Define structure contents rather than using struct
28608 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28609 mcontext_t instead of struct sigcontext.
28610 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28611 <bits/sigcontext.h>.
28612 (__ctx): Define earlier.
28613 (mcontext_t): Define structure contents rather than using struct
28615 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28616 <bits/sigcontext.h>.
28617 (__ctx): Define earlier.
28618 (mcontext_t): Define structure contents rather than using struct
28620 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28621 mcontext_t instead of struct sigcontext.
28622 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28623 mcontext_t instead of struct sigcontext.
28624 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28625 <bits/sigcontext.h>.
28626 (__ctx): New macro.
28627 (struct __ia64_fpreg_mcontext): New type.
28628 (mcontext_t): Define structure contents rather than using struct
28630 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28631 (uc_sigmask): Define using __ctx.
28632 (uc_stack): Likewise.
28633 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28634 <bits/sigcontext.h>.
28635 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28636 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28637 <bits/sigcontext.h>.
28638 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28639 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28640 <bits/sigcontext.h>.
28641 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28642 <bits/sigcontext.h>.
28643 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28644 <bits/sigcontext.h>.
28645 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28646 <bits/sigcontext.h>.
28647 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28648 <bits/sigcontext.h>.
28649 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28650 <bits/sigcontext.h>.
28651 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28652 <bits/sigcontext.h>.
28653 (__ctx): Define earlier.
28654 (mcontext_t): Define structure contents rather than using struct
28656 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28657 <bits/sigcontext.h>. Include <bits/types.h>.
28658 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28659 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28660 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28661 (test-xfail-UNIX98/signal.h/conform): Likewise.
28662 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28663 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28664 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28665 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28666 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28667 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28668 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28669 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28670 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28672 2017-08-30 Florian Weimer <fweimer@redhat.com>
28674 * malloc/dynarray_emplace_enlarge.c
28675 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28676 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28677 * malloc/tst-dynarray.c (test_long_overflow): New function.
28678 (do_test): Call it.
28680 2017-08-30 Florian Weimer <fweimer@redhat.com>
28682 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28683 (set_arena_corrupt): Remove definitions.
28684 (mtrim): Do not check for corrupt arena.
28685 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28688 2017-08-30 Florian Weimer <fweimer@redhat.com>
28691 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28693 (ptmalloc_init): Do not set or use check_action.
28694 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28695 call to malloc_printerr. Remove return statement.
28696 (free_check): Likewise. Remove arena unlock.
28697 (top_check): Update comment. Adjust call to malloc_printerr.
28698 Remove heap repair code.
28699 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28700 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28701 (sysmalloc): Adjust call to malloc_printerr.
28702 (munmap_chunk, __libc_realloc): Likewise. Remove return
28704 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28705 Remove errout label and corresponding gotos.
28706 (_int_free): Likewise. Remove arena unlock.
28707 (do_set_mallopt_check): Do not set check_action.
28708 (malloc_printerr): Adjust parameter list. Do not mark arena as
28710 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28712 * manual/probes.texi (Memory Allocation Probes): Remove
28713 memory_mallopt_check_action.
28715 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28717 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28718 Use pointer to uint64_t instead of long int for sp.
28720 2017-08-30 Florian Weimer <fweimer@redhat.com>
28723 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28724 without printing a backtrace. Do not leak any information in the
28726 * manual/memory.texi (Heap Consistency Checking): Update.
28727 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28729 2017-08-30 Florian Weimer <fweimer@redhat.com>
28731 Do not scale NPTL tests with available number of CPUs.
28732 * nptl/tst-cond16.c (count): Set to constant value of 8.
28733 * nptl/tst-cond18.c (count): Likewise.
28735 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28738 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28739 Define to take a second argument that is a macro that
28740 concatentates a suffix, not the suffix itself.
28741 (__CONCAT_d): New macro.
28742 (__CONCAT_f): Likewise.
28743 (__CONCAT_l): Likewise.
28745 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28747 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28750 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28751 Aurelien Jarno <aurelien@aurel32.net>
28752 Maciej W. Rozycki <macro@imgtec.com>
28755 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28756 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28757 `mips16-syscall6' and `mips16-syscall7'.
28758 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28759 (CFLAGS-mips16-syscall7.c): Remove.
28760 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28761 Remove `__mips16_syscall5', `__mips16_syscall6' and
28762 `__mips16_syscall7'.
28763 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28764 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28765 `__mips_syscall_return'.
28766 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28767 (__mips16_syscall1): Likewise.
28768 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28769 (__mips16_syscall2): Likewise.
28770 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28771 (__mips16_syscall3): Likewise.
28772 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28773 (__mips16_syscall4): Likewise.
28774 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28776 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28778 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28780 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28781 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28782 `__mips16_syscall5'. Remove prototype.
28783 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28784 `__mips16_syscall6'. Remove prototype.
28785 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28786 `__mips16_syscall7'. Remove prototype.
28787 (__nomips16, __mips16_syscall_return): Move to...
28788 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28789 (__nomips16, __mips_syscall_return): ... here.
28790 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28791 `__mips16_syscall_return' to `__mips_syscall_return'.
28792 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28793 `internal_syscall##nr'.
28794 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28795 `internal_syscall##nr'.
28796 (FORCE_FRAME_POINTER): Remove.
28797 (__mips_syscall5): New prototype.
28798 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28799 (__mips_syscall6): New prototype.
28800 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28801 (__mips_syscall7): New prototype.
28802 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28803 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28804 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28805 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28806 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28807 (sysdep_routines): Add libc-do-syscall.
28808 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28809 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28811 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28814 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28815 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28816 (advise_stack_range): New function.
28817 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28818 stack non required to advise_stack_range at allocatestack.c
28820 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28822 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28824 2017-08-29 Florian Weimer <fweimer@redhat.com>
28827 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28828 __end_fct. Mangle __end_fct after setting it to NULL.
28829 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28830 (modules-names, modules-names-tests): Add
28831 tst-gconv-init-failure-mod.
28832 (gconv-modules): New target.
28833 (tst-gconv-init-failure-mod.so): Link against libsupport.
28834 (tst-gconv-init-failure): Depend on gconv-modules,
28835 tst-gconv-init-failure-mod.so.
28836 * iconv/tst-gconv-init-failure-mod.c: New file.
28837 * iconv/tst-gconv-init-failure.c: Likewise.
28838 * iconv/test-gconv-modules: Likewise.
28840 2017-08-29 Florian Weimer <fweimer@redhat.com>
28843 * iconv/gconv_db.c (free_derivation): Remove redundant
28845 (gen_steps): Unconditionally mangle __btowc_fct after
28847 (increment_counter): Likewise. Do not call init_fct for internal
28850 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28853 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28854 (_MSUF_): Remove macro.
28855 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
28857 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
28858 (__REDIRFROM_X): New macro.
28859 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
28861 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
28862 (__REDIRTO_X): Likewise.
28863 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
28865 (__MATH_REDIRCALL_2): Likewise.
28866 (__MATH_REDIRCALL_INTERNAL): Likewise.
28867 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
28868 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
28869 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
28870 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
28871 * math/test-finite-macros.c: New file.
28872 * math/Makefile (tests): Add test-finite-macros.
28873 (CFLAGS-test-finite-macros.c): New variable.
28875 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
28876 Jeff Law <law@redhat.com>
28879 Mangle NULL pointers in iconv/gconv.
28880 * iconv/gconv_cache.c (find_module): Demangle init_fct before
28881 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
28882 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
28883 is non-NULL before demangling the end_fct. Check for NULL
28884 end_fct after demangling.
28885 (__gconv_release_step): Demangle the end_fct before checking
28886 it for NULL. Remove assert on __shlibc_handle != NULL.
28887 (gen_steps): Don't check btowc_fct for NULL before mangling.
28888 Demangle init_fct before checking for NULL.
28889 (increment_counter): Likewise.
28890 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
28891 end_fct for NULL before mangling.
28892 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
28895 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
28898 * locale/iso-639.def: add Morisyen.
28900 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28903 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
28904 (iszero): New C++ implementation that does not use
28905 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
28906 signaling nans are enabled, since __builtin_types_compatible_p
28907 is a C-only feature.
28908 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
28909 defined, include ieee754_float128.h for access to the union and
28910 member ieee854_float128.ieee.
28911 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
28912 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
28913 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28914 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
28915 options of test-math-zero on powerpc64le.
28917 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
28919 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
28920 Change double to float.
28922 2017-08-28 Joseph Myers <joseph@codesourcery.com>
28924 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
28926 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
28927 conditional code; define contents only for [LIBM_SVID_COMPAT].
28929 2017-08-28 Florian Weimer <fweimer@redhat.com>
28931 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
28932 (abi-lp64_be-options): Remove.
28933 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
28934 (abi-hard-options): Likewise.
28935 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
28936 (abi-o32_hard-options, abi-o32_soft_2008-options)
28937 (abi-o32_hard_2008-options, abi-n32_soft-options)
28938 (abi-n32_hard-options, abi-n32_soft_2008-options)
28939 (abi-n32_hard_2008-options, abi-n64_soft-options)
28940 (abi-n64_hard-options, abi-n64_soft_2008-options)
28941 (abi-n64_hard_2008-options): Likewise.
28942 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
28943 (abi-64-v1-options, abi-64-v2-options): Likewise.
28944 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
28945 (abi-64-options): Likewise.
28946 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
28947 (abi-64-options): Likewise.
28948 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
28949 (abi-64-options): Likewise.
28950 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
28951 (abi-64-options, abi-x32-options): Likewise.
28953 2017-08-28 Florian Weimer <fweimer@redhat.com>
28955 Store supported list of SYS_* system calls in the source tree.
28956 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
28957 (bits/syscall.h): Generate from list file.
28958 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
28959 [$(subdir) = misc] (tests): Add tst-syscall-list.
28960 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
28961 [$(subdir) = misc] (tst-syscall-list-macros.list)
28962 [$(subdir) = misc] (tst-syscall-list-nr.list)
28963 (tst-syscall-list-sys.list): Helper targets for new
28964 tst-syscall-list test.
28965 [$(subdir) = misc] (tst-syscall-list.out): Run test script
28966 tst-syscall-list.sh.
28967 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
28968 target. Do not include bits/syscall.d.
28969 [$(subdir) = misc] (generated): Do not update.
28970 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
28971 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
28972 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
28973 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
28975 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
28977 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
28978 (tst-cxa_atexit, tst-on_exit): Likewise.
28979 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
28980 tst-cxa_atexit, and tst-on_exit.
28981 * stdlib/tst-atexit-common.c: New file.
28982 * stdlib/tst-atexit.c: New file.
28983 * stdlib/tst-at_quick_exit.c: New file.
28984 * stdlib/tst-cxa_atexit.c: New file.
28985 * stdlib/tst-on_exit.c: New file.
28987 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28989 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
28990 * mach/stack_chk_fail_local.c: New file.
28991 * hurd/stack_chk_fail_local.c: New file.
28992 * mach/Machrules ($(interface-library)-routines): Add
28993 stack_chk_fail_local.
28994 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
28995 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
28996 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
28997 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
28998 * hurd/Makefile (CFLAGS-hurdstartup.o,
28999 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29001 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29003 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29004 (index_cpu_*, index_arch_*): Removed.
29006 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29008 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29009 Use uint64_t instead of unsigned long.
29011 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29013 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29014 [__HAVE_DISTINCT_FLOAT128].
29016 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29017 of <bits/math-finite.h>.
29018 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29019 inclusion of <bits/math-finite.h>.
29020 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29021 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29022 __NO_LONG_DOUBLE_MATH].
29023 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29024 (__MATH_REDIRCALL_2): Likewise.
29025 (__MATH_REDIRCALL_INTERNAL): Likewise.
29026 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29027 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29028 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29042 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29043 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29044 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29045 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29047 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29048 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29049 w_sqrtf_compat-ppc32.
29051 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29053 * math/math.h [defined __cplusplus] (issignaling): In the long
29054 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29055 is not defined. Call __issignaling, otherwise.
29057 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29059 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29060 syscall definitions and replace __builtin_expect with __glibc_likely.
29061 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29063 (SYSCALL_CANCELLABLE): Removedefinition
29064 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29066 (PSEUDO_END): Likewise.
29067 [IS_IN (libpthread)] (CENABLE): Likewise.
29068 [IS_IN (libpthread)] (CDISABLE): Likewise.
29069 [IS_IN (libc)] (CENABLE): Likewise.
29070 [IS_IN (libc)] (CENABLE): Likewise.
29071 [IS_IN (librt)] (CDISABLE): Likewise.
29072 [IS_IN (librt)] (CDISABLE): Likewise.
29073 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29074 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29076 (PSEUDO_END): Likewise.
29077 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29078 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29079 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29080 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29081 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29082 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29083 (CENABLE): Likewise.
29084 (CDISABLE): Likewise.
29085 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29086 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29088 (PSEUDO_END): Likewise.
29089 [IS_IN (libpthread)] (CENABLE): Likewise.
29090 [IS_IN (libpthread)] (CDISABLE): Likewise.
29091 [IS_IN (libc)] (CENABLE): Likewise.
29092 [IS_IN (libc)] (CENABLE): Likewise.
29093 [IS_IN (librt)] (CDISABLE): Likewise.
29094 [IS_IN (librt)] (CDISABLE): Likewise.
29095 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29096 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29098 (PSEUDO_END): Likewise.
29099 [IS_IN (libpthread)] (CENABLE): Likewise.
29100 [IS_IN (libpthread)] (CDISABLE): Likewise.
29101 [IS_IN (libc)] (CENABLE): Likewise.
29102 [IS_IN (libc)] (CENABLE): Likewise.
29103 [IS_IN (librt)] (CDISABLE): Likewise.
29104 [IS_IN (librt)] (CDISABLE): Likewise.
29105 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29106 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29108 (PSEUDO_END): Likewise.
29109 [IS_IN (libpthread)] (CENABLE): Likewise.
29110 [IS_IN (libpthread)] (CDISABLE): Likewise.
29111 [IS_IN (libc)] (CENABLE): Likewise.
29112 [IS_IN (libc)] (CENABLE): Likewise.
29113 [IS_IN (librt)] (CDISABLE): Likewise.
29114 [IS_IN (librt)] (CDISABLE): Likewise.
29115 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29116 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29118 (PSEUDO_END): Likewise.
29119 [IS_IN (libpthread)] (CENABLE): Likewise.
29120 [IS_IN (libpthread)] (CDISABLE): Likewise.
29121 [IS_IN (libc)] (CENABLE): Likewise.
29122 [IS_IN (libc)] (CENABLE): Likewise.
29123 [IS_IN (librt)] (CDISABLE): Likewise.
29124 [IS_IN (librt)] (CDISABLE): Likewise.
29125 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29126 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29128 (PSEUDO_END): Likewise.
29129 [IS_IN (libpthread)] (CENABLE): Likewise.
29130 [IS_IN (libpthread)] (CDISABLE): Likewise.
29131 [IS_IN (libc)] (CENABLE): Likewise.
29132 [IS_IN (libc)] (CENABLE): Likewise.
29133 [IS_IN (librt)] (CDISABLE): Likewise.
29134 [IS_IN (librt)] (CDISABLE): Likewise.
29135 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29136 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29138 (PSEUDO_END): Likewise.
29139 [IS_IN (libpthread)] (CENABLE): Likewise.
29140 [IS_IN (libpthread)] (CDISABLE): Likewise.
29141 [IS_IN (libc)] (CENABLE): Likewise.
29142 [IS_IN (libc)] (CENABLE): Likewise.
29143 [IS_IN (librt)] (CDISABLE): Likewise.
29144 [IS_IN (librt)] (CDISABLE): Likewise.
29145 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29146 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29148 (PSEUDO_END): Likewise.
29149 [IS_IN (libpthread)] (CENABLE): Likewise.
29150 [IS_IN (libpthread)] (CDISABLE): Likewise.
29151 [IS_IN (libc)] (CENABLE): Likewise.
29152 [IS_IN (libc)] (CENABLE): Likewise.
29153 [IS_IN (librt)] (CDISABLE): Likewise.
29154 [IS_IN (librt)] (CDISABLE): Likewise.
29155 (SINGLE_THREAD_P): Likewise.
29156 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29158 (PSEUDO_END): Likewise.
29159 [IS_IN (libpthread)] (CENABLE): Likewise.
29160 [IS_IN (libpthread)] (CDISABLE): Likewise.
29161 [IS_IN (libc)] (CENABLE): Likewise.
29162 [IS_IN (libc)] (CENABLE): Likewise.
29163 [IS_IN (librt)] (CDISABLE): Likewise.
29164 [IS_IN (librt)] (CDISABLE): Likewise.
29165 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29166 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29168 (PSEUDO_END): Likewise.
29169 [IS_IN (libpthread)] (CENABLE): Likewise.
29170 [IS_IN (libpthread)] (CDISABLE): Likewise.
29171 [IS_IN (libc)] (CENABLE): Likewise.
29172 [IS_IN (libc)] (CENABLE): Likewise.
29173 [IS_IN (librt)] (CDISABLE): Likewise.
29174 [IS_IN (librt)] (CDISABLE): Likewise.
29175 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29176 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29177 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29178 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29179 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29181 (PSEUDO_END): Likewise.
29182 [IS_IN (libpthread)] (CENABLE): Likewise.
29183 [IS_IN (libpthread)] (CDISABLE): Likewise.
29184 [IS_IN (libc)] (CENABLE): Likewise.
29185 [IS_IN (libc)] (CENABLE): Likewise.
29186 [IS_IN (librt)] (CDISABLE): Likewise.
29187 [IS_IN (librt)] (CDISABLE): Likewise.
29188 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29189 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29191 (PSEUDO_END): Likewise.
29192 [IS_IN (libpthread)] (CENABLE): Likewise.
29193 [IS_IN (libpthread)] (CDISABLE): Likewise.
29194 [IS_IN (libc)] (CENABLE): Likewise.
29195 [IS_IN (libc)] (CENABLE): Likewise.
29196 [IS_IN (librt)] (CDISABLE): Likewise.
29197 [IS_IN (librt)] (CDISABLE): Likewise.
29198 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29199 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29201 (PSEUDO_END): Likewise.
29202 [IS_IN (libpthread)] (CENABLE): Likewise.
29203 [IS_IN (libpthread)] (CDISABLE): Likewise.
29204 [IS_IN (libc)] (CENABLE): Likewise.
29205 [IS_IN (libc)] (CENABLE): Likewise.
29206 [IS_IN (librt)] (CDISABLE): Likewise.
29207 [IS_IN (librt)] (CDISABLE): Likewise.
29208 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29209 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29210 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29211 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29212 * sysdeps/unix/sysv/linux/tile/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/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29224 (PSEUDO_END): Likewise.
29225 [IS_IN (libpthread)] (CENABLE): Likewise.
29226 [IS_IN (libpthread)] (CDISABLE): Likewise.
29227 [IS_IN (libc)] (CENABLE): Likewise.
29228 [IS_IN (libc)] (CENABLE): Likewise.
29229 [IS_IN (librt)] (CDISABLE): Likewise.
29230 [IS_IN (librt)] (CDISABLE): Likewise.
29231 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29233 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29235 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29237 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29239 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29241 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29244 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29245 middle and outer with size_t instead of int. Repleace %d and
29246 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29247 "MAX (outer, nchars - 64)" to support unsigned outer and
29248 nchars. Also exit loop when outer == 0.
29250 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29252 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29253 * include/signal.h (__sigsuspend_nocancel): Likewise.
29254 * include/time.h (__nanosleep_nocancel): Likewise.
29255 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29256 * login/utmp_file.c: Include non cancellable syscall header.
29257 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29260 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29262 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29263 .byte sequences with AVX512F instructions.
29264 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29265 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29266 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29267 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29269 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29272 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29273 Steve Ellcey <sellcey@cavium.com>
29275 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29276 Use PTR_REG macro in cmp instruction.
29278 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29280 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29281 Change the return type of the ifunc resolver to match the return
29282 type of the target function.
29284 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29286 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29287 (preadv64): Likewise.
29288 (pwrite64(: Likewise.
29289 (pwritev64): Likewise.
29291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29292 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29293 (LOAD_ARGS_0): Likewise.
29294 (LOAD_ARGS_1): Likewise.
29295 (LOAD_ARGS_2): Likewise.
29296 (LOAD_ARGS_3): Likewise.
29297 (LOAD_ARGS_4): Likewise.
29298 (LOAD_ARGS_5): Likewise.
29299 (LOAD_ARGS_6): Likewise.
29300 (LOAD_REGS_0): Likewise.
29301 (LOAD_REGS_1): Likewise.
29302 (LOAD_REGS_2): Likewise.
29303 (LOAD_REGS_3): Likewise.
29304 (LOAD_REGS_4): Likewise.
29305 (LOAD_REGS_5): Likewise.
29306 (LOAD_REGS_6): Likewise.
29307 (ASM_ARGS_0): Likewise.
29308 (ASM_ARGS_1): Likewise.
29309 (ASM_ARGS_2): Likewise.
29310 (ASM_ARGS_3): Likewise.
29311 (ASM_ARGS_4): Likewise.
29312 (ASM_ARGS_5): Likewise.
29313 (ASM_ARGS_6): Likewise.
29314 (LOAD_ARGS_TYPES_1): Likewise.
29315 (LOAD_ARGS_TYPES_2): Likewise.
29316 (LOAD_ARGS_TYPES_3): Likewise.
29317 (LOAD_ARGS_TYPES_4): Likewise.
29318 (LOAD_ARGS_TYPES_5): Likewise.
29319 (LOAD_ARGS_TYPES_6): Likewise.
29320 (LOAD_REGS_TYPES_1): Likewise.
29321 (LOAD_REGS_TYPES_2): Likewise.
29322 (LOAD_REGS_TYPES_3): Likewise.
29323 (LOAD_REGS_TYPES_4): Likewise.
29324 (LOAD_REGS_TYPES_5): Likewise.
29325 (LOAD_REGS_TYPES_6): Likewise.
29326 (TYPEFY): New define.
29327 (ARGIFY): Likewise.
29328 (internal_syscall0): Likewise.
29329 (internal_syscall1): Likewise.
29330 (internal_syscall2): Likewise.
29331 (internal_syscall3): Likewise.
29332 (internal_syscall4): Likewise.
29333 (internal_syscall5): Likewise.
29334 (internal_syscall6): Likewise.
29335 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29336 (INTERNAL_SYSCALL_NCS): Remove define.
29337 (internal_syscall1): Add define.
29339 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29341 * math/w_remainder_compat.c: Remove duplicate inclusion of
29342 math-svid-compat.h.
29343 * math/w_remainderf_compat.c: Likewise.
29344 * math/w_remainderl_compat.c: Likewise.
29346 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29350 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29353 * math/tgmath.h (__floating_type): Simplify definitions.
29354 (__real_integer_type): New macro.
29355 (__complex_integer_type): Likewise.
29356 (__expr_is_real): Likewise.
29357 (__tgmath_real_type_sub): Update comment to describe handling of
29359 (__tgmath_complex_type_sub): New macro.
29360 (__tgmath_complex_type): Likewise.
29361 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29362 (__TGMATH_CF128): Use __expr_is_real.
29363 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29365 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29366 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29367 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29370 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29372 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29374 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29376 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29379 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29380 nanosleep_not_cancel with __nanosleep_nocancel.
29381 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29382 (__nanosleep_nocancel): New macro.
29383 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29385 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29387 (__nanosleep_nocancel): New prototype.
29389 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29390 pause_not_cancel with __pause_nocancel.
29391 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29392 (__pause_nocancel): New macro.
29393 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29395 (__pause_nocancel): New prototype.
29396 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29398 2017-08-22 Martin Sebor <msebor@redhat.com>
29400 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29401 to return a pointer to the same type as the target function.
29403 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29407 * include/printf.h (__printf_fphex): Add attribute_hidden.
29408 (__guess_grouping): New prototype.
29409 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29410 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29411 libc_hidden_proto and libc_hidden_def.
29412 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29413 (__vstrfmon_l): Remove the third argument passed to
29416 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29418 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29419 definition for issignaling that does not rely on __MATH_TG,
29420 since __MATH_TG uses __builtin_types_compatible_p, which is only
29421 available in C mode.
29422 (CFLAGS-test-math-issignaling.cc): New variable.
29423 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29424 * math/test-math-issignaling.cc: New test for C++ implementation
29425 of type-generic issignaling.
29426 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29427 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29428 options of test-math-issignaling on powerpc64le.
29430 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29432 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29434 (hidden_proto): Likewise.
29435 (hidden_tls_proto): Likewise.
29436 (__hidden_proto): Likewise.
29438 2017-08-22 Florian Weimer <fweimer@redhat.com>
29440 math: Statically link tests of internal functionality.
29441 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29443 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29444 (gmp-objs): Remove assignment.
29445 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29447 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29450 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29452 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29454 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29457 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29458 variable definitions above inclusion of ../Rules.
29460 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29462 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29463 case calling __builtin_unreachable.
29465 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29467 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29468 __waitpid_nocancel.
29469 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29470 (__waitpid_nocancel): New macro.
29471 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29473 (__waitpid_nocancel): Replace macro with a function.
29474 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29477 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29479 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29480 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29482 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29483 __writev_nocancel_nostatus.
29484 (write_call_graph): Likewise.
29485 (write_bb_counts): Likewise.
29486 * resolv/herror.c (herror): Likewise.
29487 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29489 (__writev_nocancel_nostatus): New macro.
29490 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29492 (__writev_nocancel_nostatus): New function.
29494 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29497 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29499 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29501 (hidden_proto): Likewise.
29502 (hidden_tls_proto): Likewise.
29503 (__hidden_proto): Likewise.
29506 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29507 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29516 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29517 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29518 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29519 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29520 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29521 GLIBC_2.0 sqrtl symbol.
29523 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29524 [__USE_MISC] (_LIB_VERSION): Likewise.
29525 [__USE_MISC] (struct exception): Likewise.
29526 [__USE_MISC] (matherr): Likewise.
29527 [__USE_MISC] (DOMAIN): Likewise.
29528 [__USE_MISC] (SING): Likewise.
29529 [__USE_MISC] (OVERFLOW): Likewise.
29530 [__USE_MISC] (UNDERFLOW): Likewise.
29531 [__USE_MISC] (TLOSS): Likewise.
29532 [__USE_MISC] (PLOSS): Likewise.
29533 [__USE_MISC] (HUGE): Likewise.
29534 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29535 * math/math-svid-compat.h: New file.
29536 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29538 * include/math.h [!_ISOMAC] (__matherr): Remove.
29539 * manual/arith.texi (FP Exceptions): Do not document matherr.
29540 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29541 (tests-internal): New variable.
29542 (install-lib): Do not add libieee.a.
29543 (non-lib.a): Likewise.
29544 (extra-objs): Do not add libieee.a and ieee-math.o.
29545 (CPPFLAGS-s_lib_version.c): Remove variable.
29546 ($(objpfx)libieee.a): Remove rule.
29547 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29548 * math/ieee-math.c: Remove.
29549 * math/libm-test-support.c (matherr): Remove.
29550 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29551 and license notices. Include <math-svid-compat.h> and
29553 (matherr): Undefine as macro. Use compat_symbol_reference.
29554 (_LIB_VERSION): Likewise.
29555 * math/test-matherr-2.c: New file.
29556 * math/test-matherr-3.c: Likewise.
29557 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29559 (__kernel_standard_f): Likewise.
29560 (__kernel_standard_l): Likewise.
29561 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29562 <math_private.h>. Include <math-svid-compat.h>.
29563 (_LIB_VERSION): Undefine as macro.
29564 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29565 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29566 [LIBM_SVID_COMPAT], use compat_symbol.
29567 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29568 <math_private.h>. Include <math-svid-compat.h>.
29569 (matherr): Undefine as macro.
29570 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29572 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29573 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29574 compat_symbol_reference.
29575 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29576 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29577 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29578 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29579 (MATHERR_D): Remove declaration.
29580 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29581 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29582 [LIBM_BUILD] (pmatherrf): Likewise.
29583 [LIBM_BUILD] (pmatherr): Likewise.
29584 [LIBM_BUILD] (pmatherrl): Likewise.
29585 (DOMAIN): Likewise.
29587 (OVERFLOW): Likewise.
29588 (UNDERFLOW): Likewise.
29591 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29592 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29594 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29595 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29597 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29598 * math/w_acos_compat.c: Likewise.
29599 * math/w_acosf_compat.c: Likewise.
29600 * math/w_acosh_compat.c: Likewise.
29601 * math/w_acoshf_compat.c: Likewise.
29602 * math/w_acoshl_compat.c: Likewise.
29603 * math/w_acosl_compat.c: Likewise.
29604 * math/w_asin_compat.c: Likewise.
29605 * math/w_asinf_compat.c: Likewise.
29606 * math/w_asinl_compat.c: Likewise.
29607 * math/w_atan2_compat.c: Likewise.
29608 * math/w_atan2f_compat.c: Likewise.
29609 * math/w_atan2l_compat.c: Likewise.
29610 * math/w_atanh_compat.c: Likewise.
29611 * math/w_atanhf_compat.c: Likewise.
29612 * math/w_atanhl_compat.c: Likewise.
29613 * math/w_cosh_compat.c: Likewise.
29614 * math/w_coshf_compat.c: Likewise.
29615 * math/w_coshl_compat.c: Likewise.
29616 * math/w_exp10_compat.c: Likewise.
29617 * math/w_exp10f_compat.c: Likewise.
29618 * math/w_exp10l_compat.c: Likewise.
29619 * math/w_exp2_compat.c: Likewise.
29620 * math/w_exp2f_compat.c: Likewise.
29621 * math/w_exp2l_compat.c: Likewise.
29622 * math/w_fmod_compat.c: Likewise.
29623 * math/w_fmodf_compat.c: Likewise.
29624 * math/w_fmodl_compat.c: Likewise.
29625 * math/w_hypot_compat.c: Likewise.
29626 * math/w_hypotf_compat.c: Likewise.
29627 * math/w_hypotl_compat.c: Likewise.
29628 * math/w_j0_compat.c: Likewise.
29629 * math/w_j0f_compat.c: Likewise.
29630 * math/w_j0l_compat.c: Likewise.
29631 * math/w_j1_compat.c: Likewise.
29632 * math/w_j1f_compat.c: Likewise.
29633 * math/w_j1l_compat.c: Likewise.
29634 * math/w_jn_compat.c: Likewise.
29635 * math/w_jnf_compat.c: Likewise.
29636 * math/w_jnl_compat.c: Likewise.
29637 * math/w_lgamma_main.c: Likewise.
29638 * math/w_lgamma_r_compat.c: Likewise.
29639 * math/w_lgammaf_main.c: Likewise.
29640 * math/w_lgammaf_r_compat.c: Likewise.
29641 * math/w_lgammal_main.c: Likewise.
29642 * math/w_lgammal_r_compat.c: Likewise.
29643 * math/w_log10_compat.c: Likewise.
29644 * math/w_log10f_compat.c: Likewise.
29645 * math/w_log10l_compat.c: Likewise.
29646 * math/w_log2_compat.c: Likewise.
29647 * math/w_log2f_compat.c: Likewise.
29648 * math/w_log2l_compat.c: Likewise.
29649 * math/w_log_compat.c: Likewise.
29650 * math/w_logf_compat.c: Likewise.
29651 * math/w_logl_compat.c: Likewise.
29652 * math/w_pow_compat.c: Likewise.
29653 * math/w_powf_compat.c: Likewise.
29654 * math/w_powl_compat.c: Likewise.
29655 * math/w_remainder_compat.c: Likewise.
29656 * math/w_remainderf_compat.c: Likewise.
29657 * math/w_remainderl_compat.c: Likewise.
29658 * math/w_scalb_compat.c: Likewise.
29659 * math/w_scalbf_compat.c: Likewise.
29660 * math/w_scalbl_compat.c: Likewise.
29661 * math/w_sinh_compat.c: Likewise.
29662 * math/w_sinhf_compat.c: Likewise.
29663 * math/w_sinhl_compat.c: Likewise.
29664 * math/w_sqrt_compat.c: Likewise.
29665 * math/w_sqrtf_compat.c: Likewise.
29666 * math/w_sqrtl_compat.c: Likewise.
29667 * math/w_tgamma_compat.c: Likewise.
29668 * math/w_tgammaf_compat.c: Likewise.
29669 * math/w_tgammal_compat.c: Likewise.
29670 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29671 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29672 * sysdeps/ieee754/k_standard.c: Likewise.
29673 * sysdeps/ieee754/k_standardf.c: Likewise.
29674 * sysdeps/ieee754/k_standardl.c: Likewise.
29675 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29676 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29677 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29678 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29679 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29680 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29681 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29682 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29683 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29688 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29689 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29690 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29691 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29693 2017-08-21 Florian Weimer <fweimer@redhat.com>
29696 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29697 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29698 Move before inclusion of ../Rules.
29700 2017-08-21 Florian Weimer <fweimer@redhat.com>
29703 * assert/assert.h (assert): Use static_cast (bool) for C++.
29704 Use the ternary operator in the warning branch for GNU C.
29705 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29706 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29707 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29708 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29709 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29711 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29714 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29715 (__syscall_clock_gettime): Add attribute_hidden.
29716 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29717 (__start_context): Likewise.
29719 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29721 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29723 (hidden_proto): Likewise.
29724 (hidden_tls_proto): Likewise.
29725 (__hidden_proto): Likewise.
29727 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29729 * include/libc-symbols.h (attribute_hidden): Enable hidden
29730 visibility in libc.a compiled with PIE.
29732 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29735 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29736 Add attribute_hidden.
29738 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29741 * Makerules (all-nonlib): Add $(others-extras).
29742 * catgets/Makefile (others-extras): New.
29743 * elf/Makefile (others-extras): Likewise.
29744 * nss/Makefile (others-extras): Likewise.
29746 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29749 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29750 * elf/dl-open.c: Include <libc-internal.h>.
29751 (__libc_multiple_libcs): Removed.
29752 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29754 * include/libc-internal.h (__libc_multiple_libcs): New.
29755 * misc/sbrk.c: Include <libc-internal.h>.
29756 (__libc_multiple_libcs): Removed.
29758 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29761 * grp/initgroups.c (__nss_group_database): Removed.
29762 (__nss_initgroups_database): Likewise.
29763 * nscd/gai.c (__nss_hosts_database): Likewise.
29764 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29765 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29766 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29767 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29768 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29769 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29771 * nss/nsswitch.c (__nss_database_custom): Define only if
29772 USE_NSCD is defined.
29773 (__nss_configure_lookup): Use __nss_database_custom only if
29774 USE_NSCD is defined.
29775 * nss/nsswitch.h (__nss_database_custom): Declare only if
29776 USE_NSCD is defined. Add attribute_hidden.
29777 (__nss_setent): Add attribute_hidden.
29778 (__nss_endent): Likewise.
29779 (__nss_getent_r): Likewise.
29780 (__nss_getent): Likewise.
29781 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29783 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29786 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29787 libc_hidden_proto and libc_hidden_def.
29789 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29792 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29793 Add libc_hidden_proto.
29794 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29795 Add libc_hidden_def.
29797 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29800 * gmon/Makefile (routines): Remove bb_init_func and
29802 (elide-routines.os): Removed.
29803 * gmon/bb_exit_func.c: Likewise.
29804 * gmon/bb_init_func.c: Likewise.
29805 * include/sys/gmon.h (__bb): Likewise.
29806 (__bb_init_func): Likewise.
29807 (__bb_exit_func): Likewise.
29808 * sysdeps/alpha/bb_init_func.S: Likewise.
29810 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29812 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29813 * include/setjmp.h (____longjmp_chk): Here. Add
29816 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29819 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29821 (__strspn_sse2): Likewise.
29823 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29825 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29826 (close_not_cancel_no_status): Likewise.
29827 (__close_nocancel): New macro.
29828 (__close_nocancel_nostatus): Likewise.
29829 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29831 (close_not_cancel): Likewise.
29832 (close_not_cancel_no_status): Likewise.
29833 (__close_nocancel): New prototype.
29834 (__close_nocancel_nostatus): New function.
29835 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29836 * catgets/open_catalog.c (__open_catalog): Replace
29837 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29838 * gmon/gmon.c (write_gmon): Likewise.
29839 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29840 * intl/loadmsgcat.c (close): Likewise.
29841 * io/ftw.c (open_dir_stream): Likewise.
29842 (ftw_startup): Likewise.
29843 * libio/fileops.c (_IO_file_open): Likewise.
29844 (_IO_file_close_mmap): Likewise.
29845 (_IO_file_close): Likewise.
29846 * libio/iopopen.c (_IO_dup2): Likewise.
29847 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
29848 * locale/loadlocale.c (_nl_load_locale): Likewise.
29849 * login/utmp_file.c (pututline_file): Likewise.
29850 (endutent_file): Likewise.
29851 * misc/daemon.c (daemon): Likewise.
29852 * nscd/nscd_getai.c (__nscd_getai): Likewise.
29853 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
29854 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
29855 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
29856 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29857 * nscd/nscd_helper.c (open_socket): Likewise.
29858 (__nscd_open_socket): Likewise.
29859 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
29860 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
29861 (__nscd_innetgr): Likewise.
29862 * nss/nss_db/db-open.c (internal_setent): Likewise.
29863 * resolv/res-close.c (__res_iclose): Likewise.
29864 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
29865 * sysdeps/posix/closedir.c (__closedir): Likewise.
29866 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
29867 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29868 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
29869 (opendir_tail): Likewise.
29870 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29871 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
29872 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
29873 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29874 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29875 (gethostid): Likewise.
29876 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
29877 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29879 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29880 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
29881 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
29882 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
29884 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
29885 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
29886 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
29888 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
29889 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
29891 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29893 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
29894 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
29895 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
29898 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
29899 (openat_not_cancel_3): Likewise.
29900 (openat64_not_cancel_3): Likewise).
29901 (openat_not_cancel_3): Likewise).
29902 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
29904 (openat_not_cancel_3): Likewise.
29905 (openat64_not_cancel): Likewise.
29906 (openat64_not_cancel_3): Likewise.
29907 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
29908 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
29909 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
29910 __open{64}_nocancel.
29911 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
29912 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29913 * sysdeps/posix/opendir.c (__opendirat): Likewise.
29915 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29918 * include/argz.h (__argz_create_sep): New function prototype.
29919 (__argz_append): Likewise.
29920 (__argz_add): Likewise.
29921 (__argz_add_sep): Likewise.
29922 (__argz_delete): Likewise.
29923 (__argz_insert): Likewise.
29924 (__argz_replace): Likewise.
29925 * string/argz.h (__argz_create_sep): Removed.
29926 (__argz_append): Likewise.
29927 (__argz_add): Likewise.
29928 (__argz_add_sep): Likewise.
29929 (__argz_delete): Likewise.
29930 (__argz_insert): Likewise.
29931 (__argz_replace): Likewise.
29933 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
29935 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
29936 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
29937 (GNU_PROPERTY_STACK_SIZE): Likewie.
29938 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
29939 (GNU_PROPERTY_LOPROC): Likewise.
29940 (GNU_PROPERTY_HIPROC): Likewise.
29941 (GNU_PROPERTY_LOUSER): Likewise.
29942 (GNU_PROPERTY_HIUSER): Likewise.
29943 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
29944 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
29945 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
29946 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
29947 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
29948 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
29949 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
29950 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
29951 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
29952 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
29953 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
29954 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
29955 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
29956 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
29957 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
29958 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
29959 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
29960 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
29961 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
29962 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
29963 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
29964 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
29965 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
29967 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29969 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
29972 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29975 * math/math.h (isinf): Check if in C or C++ mode before using
29976 __builtin_types_compatible_p, since this is a C mode feature.
29978 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29980 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
29981 (__write_nocancel): New macro.
29982 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
29983 Rewrite as a function prototype.
29984 (write_not_cancel): Remove macro.
29985 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
29986 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
29987 (write_gmon): Likewise.
29988 * libio/fileops.c (_IO_new_file_write): Likewise.
29989 * login/utmp_file.c (pututline_file): Likewise.
29990 (updwtmp_file): Likewise.
29991 * stdio-common/psiginfo.c (psiginfo): Likewise.
29992 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
29993 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
29994 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
29996 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
29999 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30000 (__read_nocancel): New macro.
30001 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30003 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30005 (__read_nocancel): New prototype.
30006 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30007 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30008 with __read_nocancel.
30009 * intl/loadmsgcat.c (read): Likewise.
30010 * libio/fileops.c (_IO_file_read): Likewise.
30011 * locale/loadlocale.c (_nl_load_locale): Likewise.
30012 * login/utmp_file.c (getutent_r_file): Likewise.
30013 (internal_getut_r): Likewise.
30014 (getutline_r_file): Likewise.
30015 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30016 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30017 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30018 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30020 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30021 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30022 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30024 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30026 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30028 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30030 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30032 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30035 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30036 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30039 2017-08-17 DJ Delorie <dj@redhat.com>
30041 * bug17079.c: Update to new test harness.
30042 * test-digits-dots.c: Likewise.
30043 * test-netdb.c: Likewise.
30044 * tst-field.c: Likewise.
30045 * tst-nss-getpwent.c: Likewise.
30046 * tst-nss-static.c: Likewise.
30047 * tst-nss-test1.c: Likewise.
30048 * tst-nss-test2.c: Likewise.
30049 * tst-nss-test3.c: Likewise.
30050 * tst-nss-test4.c: Likewise.
30051 * tst-nss-test5.c: Likewise.
30053 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30055 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30056 (open_not_cancel_2): Likewise.
30057 (open_nocancel): New macro.
30058 (open64_nocancel): Likewise.
30059 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30060 (open_not_cancel_2): Likewise.
30061 (__open_nocancel): New prototype.
30062 (__open64_nocancel): Likewise.
30063 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30065 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30066 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30067 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30068 with __open_nocancel.
30069 * csu/check_fds.c (check_one_fd): Likewise.
30070 * gmon/gmon.c (write_gmon): Likewise.
30071 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30072 * intl/loadmsgcat.c (open): Likewise.
30073 * libio/fileops.c (_IO_file_open): Likewise.
30074 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30075 * locale/loadlocale.c (_nl_load_locale): Likewise.
30076 * login/utmp_file.c (setutent_file): Likewise.
30077 * misc/daemon.c (daemon): Likewise.
30078 * nss/nss_db/db-open.c (internal_setent): Likewise.
30079 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30080 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30081 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30082 (__opendir): Likewise.
30083 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30084 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30085 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30086 (gethostid): Likewise.
30087 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30088 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30091 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30092 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30093 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30095 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30097 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30099 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30101 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30103 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30105 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30106 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30108 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30110 * benchtests/bench-skeleton.c (main): Add support for
30111 latency benchmarking.
30112 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30114 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30116 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30117 the startup object.
30119 2017-08-17 Florian Weimer <fweimer@redhat.com>
30121 * include/sys/socket.h (__opensock): Remove internal_function.
30122 * socket/opensock.c (__opensock): Likewise.
30123 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30125 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30128 * signal/bits/types/__sigval_t.h: New file.
30129 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30130 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30131 and define sigval_t using __sigval_t.
30132 * include/bits/types/__sigval_t.h: New file.
30133 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30134 instead of <bits/types/__sigval_t.h>.
30135 (struct sigevent): Use __sigval_t instead of sigval_t.
30136 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30137 instead of <bits/types/__sigval_t.h>.
30138 (siginfo_t): Use __sigval_t instead of sigval_t.
30139 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30140 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30141 (struct sigevent): Use __sigval_t instead of sigval_t.
30142 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30143 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30144 (siginfo_t): Use __sigval_t instead of sigval_t.
30145 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30147 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30149 * NEWS: Remove "[Add new features here]" for 2.27.
30151 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30153 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30156 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30158 * NEWS: Mention x86-64 FMA optimization.
30160 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30163 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30165 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30166 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30167 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30169 2017-08-16 Andreas Schwab <schwab@suse.de>
30173 * elf/ldd.bash.in: Never run file directly.
30175 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30178 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30179 (L(SP_INF_0)): Likewise.
30181 2017-08-15 Florian Weimer <fweimer@redhat.com>
30183 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30186 2017-08-15 Florian Weimer <fweimer@redhat.com>
30188 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30189 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30190 BROKEN_THREAD_SIGNALS code.
30191 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30192 request_list): Remove caller_pid member used for
30193 BROKEN_THREAD_SIGNALS.
30194 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30195 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30196 Remove BROKEN_THREAD_SIGNALS support.
30197 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30198 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30200 2017-08-15 Florian Weimer <fweimer@redhat.com>
30202 * gmon/Makefile (tests): Add tst-gmon.
30203 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30205 (tests-special): Add tst-gmon-prof.out.
30206 (tst-gmon.out): Depend on clean-tst-gmon-data.
30207 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30208 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30209 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30211 * aclocal.m4 (GPROF): Set and substitute.
30212 * config.amke.in (GPROF): Set.
30213 * configure: Regenerate.
30215 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30217 * elf/elf.h A (NT_PPC_TAR): New macro.
30218 (NT_PPC_PPR): Likewise.
30219 (NT_PPC_DSCR): Likewise.
30220 (NT_PPC_EBB): Likewise.
30221 (NT_PPC_PMU): Likewise.
30222 (NT_PPC_TM_CGPR): Likewise.
30223 (NT_PPC_TM_CFPR): Likewise.
30224 (NT_PPC_TM_CVMX): Likewise.
30225 (NT_PPC_TM_CVSX): Likewise.
30226 (NT_PPC_TM_SPR): Likewise.
30227 (NT_PPC_TM_CTAR): Likewise.
30228 (NT_PPC_TM_CPPR): Likewise.
30229 (NT_PPC_TM_CDSCR): Likewise.
30231 2017-08-15 Florian Weimer <fweimer@redhat.com>
30233 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30234 regparm (2) instead of internal_function.
30235 (_MCOUNT_DECL): Adjust.
30237 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30239 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30240 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30242 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30244 * conform/data/sys/wait.h-data (si_value): Do not expect for
30247 2017-08-14 Florian Weimer <fweimer@redhat.com>
30250 NSS: Create stubs for accidentally exported lookup functions.
30251 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30252 Remove declaration.
30253 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30254 (ether_hostton): Call __nss_ethers_lookup2 instead.
30255 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30256 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30257 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30258 (setup): Call __nss_netgroup_lookup2 instead.
30259 * nss/Makefile (routines): Add compat-lookup.
30260 * nss/Versions (GLIBC_2.27): Add symbol version.
30261 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30262 (DB_COMPAT_FCT): Remove.
30263 * nss/compat-lookup.c: New file.
30264 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30265 from databases.def.
30266 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30267 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30268 (netname2user): Call __nss_publickey_lookup2 instead.
30269 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30270 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30273 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30274 Sergei Trofimovich <slyfox@inbox.ru>
30277 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30278 Rename to MMAP2_PAGE_UNIT.
30279 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30280 __OFF_T_MATCHES_OFF64_T is not defined.
30281 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30283 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30284 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30286 2017-08-14 Florian Weimer <fweimer@redhat.com>
30288 i386: Do not set internal_function.
30289 * config.h.in (USE_REGPARMS, internal_function): Remove.
30290 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30291 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30293 2017-08-14 Florian Weimer <fweimer@redhat.com>
30295 * elf/dl-init.c (_dl_init): Remove internal_function.
30296 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30297 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30299 2017-08-14 Florian Weimer <fweimer@redhat.com>
30301 * elf/rtld.c (_dl_start): Remove internal_function.
30302 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30305 2017-08-14 Florian Weimer <fweimer@redhat.com>
30307 * elf/dl-fini.c (_dl_fini): Remove internal_function
30308 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30310 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30312 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30313 (bit_cpu_SHSTK): Likewise.
30314 (index_cpu_IBT): Likewise.
30315 (index_cpu_SHSTK): Likewise.
30316 (reg_IBT): Likewise.
30317 (reg_SHSTK): Likewise.
30318 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30319 Handle index_cpu_IBT and index_cpu_SHSTK.
30321 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30324 * po/fr.po: Fix spelling mistake.
30326 2017-08-13 Florian Weimer <fweimer@redhat.com>
30328 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30329 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30330 (_dl_catch_error, _dl_receive_error): Likewise.
30331 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30332 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30333 (_dl_deallocate_tls): Likewise.
30334 * include/dlfcn.h (_dl_addr): Likewise.
30335 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30336 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30337 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30340 2017-08-13 Florian Weimer <fweimer@redhat.com>
30342 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30343 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30345 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30347 2017-08-13 Florian Weimer <fweimer@redhat.com>
30349 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30351 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30352 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30353 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30354 internal_function from _dl_make_stack_executable_hook member.
30355 (_dl_make_stack_executable): Remove internal_function.
30356 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30358 * sysdeps/unix/sysv/linux/dl-execstack.c
30359 (_dl_make_stack_executable): Likewise.
30361 2017-08-13 Florian Weimer <fweimer@redhat.com>
30363 * sysdeps/unix/sysv/linux/netlinkaccess.h
30364 (__netlink_assert_response): Remove internal_function.
30365 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30366 (__netlink_assert_response): Likewise.
30368 2017-08-13 Florian Weimer <fweimer@redhat.com>
30370 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30372 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30374 2017-08-13 Florian Weimer <fweimer@redhat.com>
30376 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30378 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30379 * inet/netgroup.h (__internal_setnetgrent)
30380 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30381 * inet/getnetgrent_r.c (__internal_setnetgrent)
30382 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30383 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30384 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30385 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30386 * nss/nsswitch.h (db_lookup_function): Likewise.
30388 2017-08-13 Florian Weimer <fweimer@redhat.com>
30390 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30391 Remove internal_function.
30392 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30393 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30394 message argument on the stack.
30395 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30398 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30400 Adapt test case data to the changes in the thousands
30404 * localedata/tst-langinfo.sh: Adapt test case data.
30405 * stdlib/tst-strfmon_l.c: Likewise.
30406 * stdlib/tst-strtod4.c: Likewise.
30407 * stdlib/tst-strtod5i.c: Likewise.
30409 2017-08-11 Florian Weimer <fweimer@redhat.com>
30412 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30413 Suppress pedantic warning resulting from statement expression.
30414 (__ASSERT_FUNCTION): Add missing __extension__.
30416 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30418 * benchtests/bench-memmove-large.c: Print output in JSON
30420 * benchtests/bench-memmove.c: Likewise.
30422 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30423 * benchtests/bench-memchr.c (do_one_test): Likewise.
30424 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30425 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30426 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30427 * benchtests/bench-memmove.c (do_one_test): Likewise.
30428 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30429 * benchtests/bench-memset.c (do_one_test): Likewise.
30430 * benchtests/bench-string.h (test_init): Remove memsets.
30432 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30435 (Computing the Width of an Integer Data Type): Rename section to
30436 "Width of an Integer Type". Remove inaccurate statement regarding
30437 lack of C language facilities for determining width of integer
30438 types, and reorder content to improve flow and context of
30441 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30443 * lang.texi (va_copy): Change standard from ISO to C99.
30444 (__va_copy): Add standard and header annotation.
30445 Update description for clarity of origins and current use.
30447 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30450 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30451 xssqrtqp requires operands to be in Vector Registers
30452 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30453 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30454 (__ieee754_sqrtf128): Likewise.
30456 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30458 * sysdeps/aarch64/memcmp.S (memcmp):
30459 Rewrite of optimized memcmp.
30461 2017-08-10 Florian Weimer <fweimer@redhat.com>
30463 Introduce ld.so exceptions.
30464 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30465 (_dl_exception_create, _dl_exception_create_format)
30466 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30467 (_dl_catch_exception): Declare.
30468 (_dl_catch_error): Update comment.
30469 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30470 errstring, malloced members with exception member.
30471 (_dl_out_of_memory): Remove.
30472 (fatal_error): New function, extracted from _dl_signal_error.
30473 (_dl_signal_exception, _dl_signal_cexception): New functions.
30474 (_dl_signal_error): Call _dl_exception_create to allocate an
30476 (_dl_catch_exception): New function, based on _dl_catch_error.
30477 (_dl_catch_error): Implement using _dl_catch_exception.
30478 * elf/dl-exception.c: New file.
30479 * elf/Makefile (dl-routines): Add dl-exception.
30480 (elide-routines.os): Likewise.
30481 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30482 _dl_exception_create_format, _dl_exception_free.
30483 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30484 _dl_signal_exception.
30485 * elf/dl-lookup.c (make_string): Remove.
30486 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30487 _dl_signal_cexception, _dl_exception_free.
30488 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30489 _dl_signal_exception.
30490 * elf/dl-sym.c (do_sym): Likewise.
30491 * elf/dl-version.c (make_string): Remove.
30492 (match_symbol): Use _dl_exception_create_format,
30493 _dl_signal_cexception, _dl_exception_free.
30494 (_dl_check_map_versions): Likewise.
30495 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30496 _dl_catch_exception.
30497 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30498 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30499 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30500 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30501 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30502 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30503 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30504 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30506 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30513 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30514 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30515 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30517 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30519 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30521 2017-08-10 Florian Weimer <fweimer@redhat.com>
30523 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30524 attribute_hidden, internal_function.
30525 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30528 2017-08-10 Florian Weimer <fweimer@redhat.com>
30530 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30531 function which calls __builtin_unreachable.
30533 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30535 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30536 Indian monetary formatting
30537 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30540 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30542 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30543 Fix typo in comment.
30546 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30547 PTRACE_SEIZE_DEVEL): Remove.
30548 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30549 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30552 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30554 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30556 * posix/bits/types.h (__qaddr_t): Remove.
30559 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30560 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30562 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30563 (ucontext_t): Use __ctx with uc_flags.
30564 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30565 (__ctxt): Likewise.
30566 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30568 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30569 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30571 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30572 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30574 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30576 (ucontext_t): Use __ctx with uc_flags.
30577 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30578 (ucontext_t): Use __ctx with uc_flags.
30579 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30580 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30581 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30582 (ucontext_t): Use __ctx with uc_flags.
30583 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30584 undefine further down.
30585 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30587 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30588 undefine further down.
30589 (ucontext_t): Use __ctx with uc_flags.
30590 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30591 undefine further down.
30592 (ucontext_t): Use __ctx with uc_flags.
30593 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30594 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30595 Rename uc_pad to __glibc_reserved1.
30596 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30597 undefine further down.
30598 (ucontext_t): Use __ctx with uc_flags.
30599 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30601 (ucontext_t): Use __ctx with uc_flags.
30602 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30603 __ctx with uc_flags.
30604 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30605 (ucontext_t): Use __ctx with uc_flags.
30606 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30607 __ctx with uc_flags.
30609 2017-08-09 Florian Weimer <fweimer@redhat.com>
30612 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30613 before early return.
30615 2017-08-09 Andreas Schwab <schwab@suse.de>
30618 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30622 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30623 tst-compat-forwarder.
30624 (modules-names): Add tst-compat-forwarder-mod.
30625 ($(objpfx)tst-compat-forwarder): Depend on
30626 $(objpfx)tst-compat-forwarder-mod.so.
30627 * nptl/tst-compat-forwarder.c: New file.
30628 * nptl/tst-compat-forwarder-mod.c: New file.
30630 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30632 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30635 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30636 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30638 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30640 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30641 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30642 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30643 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30645 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30648 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30651 * manual/setjmp.texi (getcontex): Document uc_stack value
30652 compatibility differences.
30654 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30656 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30657 (old_malloc_hook): Likewise.
30658 (old_memalign_hook): Likewise.
30659 (old_realloc_hook): Likewise.
30660 (struct hdr): Likewise.
30662 (freehook): Likewise.
30663 (mallochook): Likewise.
30664 (memalignhook): Likewise.
30665 (reallochook): Likewise.
30666 (mprobe): Likewise.
30667 * malloc/mtrace.c (mallwatch): Likewise.
30668 (tr_old_free_hook): Likewise.
30669 (tr_old_malloc_hook): Likewise.
30670 (tr_old_realloc_hook): Likewise.
30671 (tr_old_memalign_hook): Likewise.
30672 (tr_where): Likewise.
30673 (lock_and_info): Likewise.
30674 (tr_freehook): Likewise.
30675 (tr_mallochook): Likewise.
30676 (tr_reallochook): Likewise.
30677 (tr_memalignhook): Likewise.
30678 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30679 * misc/mmap.c (__mmap): Likewise.
30680 * misc/mmap64.c (__mmap64): Likewise.
30681 * misc/mprotect.c (__mprotect): Likewise.
30682 * misc/msync.c (msync): Likewise.
30683 * misc/munmap.c (__munmap): Likewise.
30684 * posix/posix_madvise.c (posix_madvise): Likewise.
30685 * socket/send.c (__send): Likewise.
30686 * socket/sendto.c (__sendto): Likewise.
30687 * socket/setsockopt.c (__setsockopt): Likewise.
30688 * string/memcmp.c (__ptr_t): Remove macro.
30689 (MEMCMP): Use void * instead of ptr_t.
30690 * string/memrchr.c (__ptr_t): Remove macro.
30691 (__memrchr): Use void * instead of ptr_t.
30692 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30693 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30694 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30695 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30696 * sysdeps/mach/msync.c (msync): Likewise.
30697 * sysdeps/mach/munmap.c (__munmap): Likewise.
30698 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30700 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30701 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30702 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30703 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30704 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30705 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30706 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30707 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30709 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30710 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30711 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30712 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30713 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30714 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30715 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30716 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30717 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30719 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30720 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30721 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30722 (MEMCMP): Use void * instead of ptr_t.
30723 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30724 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30726 2017-08-08 Florian Weimer <fweimer@redhat.com>
30728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30731 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30734 * csu/libc-tls.c: Include <startup.h> first.
30735 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30736 * elf/dl-tunables.c: Include <startup.h> first.
30737 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30738 * sysdeps/generic/startup.h: New file.
30739 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30740 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30741 (I386_USE_SYSENTER): New. Defined to 0.
30743 2017-08-08 Andreas Schwab <schwab@suse.de>
30746 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30747 * nptl/pt-system.c (system): Likewise.
30749 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30752 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30754 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30755 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30756 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30757 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30758 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30759 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30760 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30762 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30765 * bits/sigaction.h (struct sigaction): Define sa_handler and
30766 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30767 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30768 [__USE_XOPEN_EXTENDED].
30769 (SA_RESTART): Likewise.
30770 (SA_NODEFER): Likewise.
30771 (SA_RESETHAND): Likewise.
30772 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30773 (struct sigaction): Define sa_handler and sa_sigaction using union
30774 also for [__USE_XOPEN_EXTENDED].
30775 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30776 [__USE_XOPEN_EXTENDED].
30777 (SA_RESTART): Likewise.
30778 (SA_NODEFER): Likewise.
30779 (SA_RESETHAND): Likewise.
30780 * sysdeps/unix/sysv/linux/bits/sigaction.h
30781 (struct sigaction): Define sa_handler and sa_sigaction using union
30782 also for [__USE_XOPEN_EXTENDED].
30783 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30784 [__USE_XOPEN_EXTENDED].
30785 (SA_RESTART): Likewise.
30786 (SA_NODEFER): Likewise.
30787 (SA_RESETHAND): Likewise.
30788 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30789 (struct sigaction): Define sa_handler and sa_sigaction using union
30790 also for [__USE_XOPEN_EXTENDED].
30791 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30792 [__USE_XOPEN_EXTENDED].
30793 (SA_RESTART): Likewise.
30794 (SA_NODEFER): Likewise.
30795 (SA_RESETHAND): Likewise.
30796 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30797 (struct sigaction): Define sa_handler and sa_sigaction using union
30798 also for [__USE_XOPEN_EXTENDED].
30799 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30800 [__USE_XOPEN_EXTENDED].
30801 (SA_RESTART): Likewise.
30802 (SA_NODEFER): Likewise.
30803 (SA_RESETHAND): Likewise.
30804 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30805 (struct sigaction): Define sa_handler and sa_sigaction using union
30806 also for [__USE_XOPEN_EXTENDED].
30807 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30808 [__USE_XOPEN_EXTENDED].
30809 (SA_RESTART): Likewise.
30810 (SA_NODEFER): Likewise.
30811 (SA_RESETHAND): Likewise.
30812 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30813 (struct sigaction): Define sa_handler and sa_sigaction using union
30814 also for [__USE_XOPEN_EXTENDED].
30815 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30816 [__USE_XOPEN_EXTENDED].
30817 (SA_RESTART): Likewise.
30818 (SA_NODEFER): Likewise.
30819 (SA_RESETHAND): Likewise.
30820 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30821 (struct sigaction): Define sa_handler and sa_sigaction using union
30822 also for [__USE_XOPEN_EXTENDED].
30823 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30824 [__USE_XOPEN_EXTENDED].
30825 (SA_RESTART): Likewise.
30826 (SA_NODEFER): Likewise. Define directly rather than as alias.
30827 (SA_RESETHAND): Likewise.
30828 (SA_INTERRUPT): Define only for [__USE_MISC].
30829 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30830 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30832 (SA_STACK): Define only for [__USE_MISC].
30833 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30834 (struct sigaction): Define sa_handler and sa_sigaction using union
30835 also for [__USE_XOPEN_EXTENDED].
30836 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30837 [__USE_XOPEN_EXTENDED].
30838 (SA_RESTART): Likewise.
30839 (SA_NODEFER): Likewise.
30840 (SA_RESETHAND): Likewise.
30841 (SA_NOPTRACE): Define only for [__USE_MISC].
30843 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
30844 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
30845 (struct catalog_info): Likewise.
30846 * inet/htontest.c (lo): Likewise.
30848 * inet/inet_lnaof.c (inet_lnaof): Likewise.
30849 * inet/inet_net.c (inet_network): Likewise.
30850 * inet/inet_netof.c (inet_netof): Likewise.
30851 * inet/rcmd.c (__ivaliduser): Likewise.
30852 (iruserok): Likewise.
30853 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
30854 * locale/programs/locale-spec.c (locale_special): Likewise.
30855 * nis/nis_findserv.c (struct findserv_req): Likewise.
30856 (__nis_findfastest_with_timeout): Likewise.
30857 * nss/test-netdb.c (test_network): Likewise.
30858 * resolv/inet_neta.c (inet_neta): Likewise.
30859 * resolv/ns_date.c (ns_datetosecs): Likewise.
30860 (SECS_PER_DAY): Likewise.
30861 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
30863 * resolv/res_comp.c (__putlong): Likewise.
30864 (__putshort): Likewise.
30865 (_getlong): Likewise.
30866 (_getshort): Likewise.
30867 * resolv/res_debug.c (p_time): Likewise.
30868 (precsize_ntoa): Likewise.
30869 (precsize_aton): Likewise.
30870 (latlon2ul): Likewise.
30871 (loc_aton): Likewise.
30872 (loc_ntoa): Likewise.
30873 * resolv/res_hconf.c (struct netaddr): Likewise.
30874 (_res_hconf_reorder_addrs): Likewise.
30875 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
30876 (clnttcp_control): Likewise.
30877 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30878 (clntudp_control): Likewise.
30879 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
30880 (clntunix_control): Likewise.
30881 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
30882 * sunrpc/rpc/auth.h (union des_block): Likewise.
30883 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
30884 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
30885 (xdrrec_create): Likewise.
30886 (xdrrec_endofrecord): Likewise.
30887 (flush_out): Likewise.
30888 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
30889 (xdrstdio_putlong): Likewise.
30890 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
30893 * misc/sys/cdefs.h (__long_double_t): Remove.
30894 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
30895 instead of __long_double_t,
30896 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
30898 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
30900 * benchtests/scripts/compare_strings.py: Avoid display error when
30901 running on a text terminal.
30903 * benchtests/scripts/compare_strings.py (main): Add an
30904 optional -base option.
30905 (process_results): New argument base_func.
30907 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
30909 * benchtests/bench-memcpy-large.c (test_name): Likewise.
30910 * benchtests/bench-memcpy-random.c (test_name): Likewise.
30912 2017-08-07 Andreas Schwab <schwab@suse.de>
30914 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
30915 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30916 * intl/Makefile ($(objpfx)tst-gettext.out)
30917 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
30918 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
30919 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30920 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30921 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
30922 * posix/Makefile ($(objpfx)globtest.out)
30923 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
30924 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
30925 ($(objpfx)tst-printf.out): Likewise.
30926 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
30927 ($(objpfx)tst-setcontext3.out): Likewise.
30929 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
30931 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30932 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
30933 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
30934 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
30935 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
30937 (CFLAGS-doasin-fma.c): New.
30938 (CFLAGS-dosincos-fma.c): Likewise.
30939 (CFLAGS-e_asin-fma.c): Likewise.
30940 (CFLAGS-e_atan2-fma.c): Likewise.
30941 (CFLAGS-e_exp-fma.c): Likewise.
30942 (CFLAGS-e_log-fma.c): Likewise.
30943 (CFLAGS-e_pow-fma.c): Likewise.
30944 (CFLAGS-halfulp-fma.c): Likewise.
30945 (CFLAGS-mpa-fma.c): Likewise.
30946 (CFLAGS-mpatan-fma.c): Likewise.
30947 (CFLAGS-mpatan2-fma.c): Likewise.
30948 (CFLAGS-mpexp-fma.c): Likewise.
30949 (CFLAGS-mplog-fma.c): Likewise.
30950 (CFLAGS-mpsqrt-fma.c): Likewise.
30951 (CFLAGS-mptan-fma.c): Likewise.
30952 (CFLAGS-s_atan-fma.c): Likewise.
30953 (CFLAGS-sincos32-fma.c): Likewise.
30954 (CFLAGS-slowexp-fma.c): Likewise.
30955 (CFLAGS-slowpow-fma.c): Likewise.
30956 (CFLAGS-s_sin-fma.c): Likewise.
30957 (CFLAGS-s_tan-fma.c): Likewise.
30958 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
30959 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
30960 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
30961 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
30962 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
30963 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
30964 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
30965 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
30966 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
30967 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
30968 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
30969 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
30970 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
30971 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
30972 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
30973 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
30974 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
30975 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
30976 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
30977 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
30978 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
30979 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
30980 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
30981 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
30982 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30983 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30984 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30985 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30986 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30987 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30988 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30990 2017-08-04 Joseph Myers <joseph@codesourcery.com>
30992 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
30993 (min_of_type_f): New macro.
30994 (min_of_type_): Likewise.
30995 (min_of_type_l): Likewise.
30996 (min_of_type_f128): Likewise.
30997 (min_of_type): Define using __MATH_TG and taking an expression
30999 (math_check_force_underflow): Pass expression instead of type to
31001 (math_check_force_underflow_nonneg): Likewise.
31003 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31005 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31006 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31007 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31009 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31011 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31012 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31013 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31014 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31015 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31016 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31017 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31018 memmove_chk-nonshared and memset_chk-nonshared
31019 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31020 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31021 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31022 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31023 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31024 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31025 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31026 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31027 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31028 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31029 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31030 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31031 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31032 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31033 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31034 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31035 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31036 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31037 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31038 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31039 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31040 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31041 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31042 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31043 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31044 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31045 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31046 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31047 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31048 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31049 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31050 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31051 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31052 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31053 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31054 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31055 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31056 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31057 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31058 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31059 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31060 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31061 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31062 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31063 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31064 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31065 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31066 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31067 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31068 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31069 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31070 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31071 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31072 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31073 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31074 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31075 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31076 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31077 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31078 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31079 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31080 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31081 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31082 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31083 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31084 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31085 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31086 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31087 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31088 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31089 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31090 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31091 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31092 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31093 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31094 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31095 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31096 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31097 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31098 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31099 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31100 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31101 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31102 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31103 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31104 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31105 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31106 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31107 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31108 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31109 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31110 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31111 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31112 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31113 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31114 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31115 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31116 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31117 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31118 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31119 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31120 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31121 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31122 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31123 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31124 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31125 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31126 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31128 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31130 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31131 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31132 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31133 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31134 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31135 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31136 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31137 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31138 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31139 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31140 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31141 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31142 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31143 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31144 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31145 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31146 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31147 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31148 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31149 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31150 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31151 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31152 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31153 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31154 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31155 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31156 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31157 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31158 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31159 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31160 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31161 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31162 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31163 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31164 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31165 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31166 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31167 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31168 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31169 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31170 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31171 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31172 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31173 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31174 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31175 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31176 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31177 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31178 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31179 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31180 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31181 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31182 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31183 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31184 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31185 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31186 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31187 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31188 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31190 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31191 Don't include <sysdep.h> nor <init-arch.h>.
31192 (_ZGVbN2v_cos): Removed.
31193 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31195 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31196 Don't include <sysdep.h> nor <init-arch.h>.
31197 (_ZGVdN4v_cos): Removed.
31198 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31200 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31201 Don't include <sysdep.h> nor <init-arch.h>.
31202 (_ZGVeN8v_cos): Removed.
31203 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31205 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31206 Don't include <sysdep.h> nor <init-arch.h>.
31207 (_ZGVbN2v_exp): Removed.
31208 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31210 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31211 Don't include <sysdep.h> nor <init-arch.h>.
31212 (_ZGVdN4v_exp): Removed.
31213 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31215 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31216 Don't include <sysdep.h> nor <init-arch.h>.
31217 (_ZGVeN8v_exp): Removed.
31218 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31220 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31221 Don't include <sysdep.h> nor <init-arch.h>.
31222 (_ZGVbN2v_log): Removed.
31223 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31225 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31226 Don't include <sysdep.h> nor <init-arch.h>.
31227 (_ZGVdN4v_log): Removed.
31228 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31230 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31231 Don't include <sysdep.h> nor <init-arch.h>.
31232 (_ZGVeN8v_log): Removed.
31233 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31235 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31236 Don't include <sysdep.h> nor <init-arch.h>.
31237 (_ZGVbN2vv_pow): Removed.
31238 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31240 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31241 Don't include <sysdep.h> nor <init-arch.h>.
31242 (_ZGVdN4vv_pow): Removed.
31243 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31245 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31246 Don't include <sysdep.h> nor <init-arch.h>.
31247 (_ZGVeN8vv_pow): Removed.
31248 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31250 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31251 Don't include <sysdep.h> nor <init-arch.h>.
31252 (_ZGVbN2v_sin): Removed.
31253 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31255 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31256 Don't include <sysdep.h> nor <init-arch.h>.
31257 (_ZGVbN4v_sin): Removed.
31258 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31260 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31261 Don't include <sysdep.h> nor <init-arch.h>.
31262 (_ZGVbN8v_sin): Removed.
31263 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31265 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31266 Don't include <sysdep.h> nor <init-arch.h>.
31267 (_ZGVbN2vvv_sincos): Removed.
31268 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31270 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31271 Don't include <sysdep.h> nor <init-arch.h>.
31272 (_ZGVdN4vvv_sincos): Removed.
31273 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31275 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31276 Don't include <sysdep.h> nor <init-arch.h>.
31277 (_ZGVeN8vvv_sincos): Removed.
31278 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31280 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31281 Don't include <sysdep.h> nor <init-arch.h>.
31282 (_ZGVeN16v_cosf): Removed.
31283 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31285 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31286 Don't include <sysdep.h> nor <init-arch.h>.
31287 (_ZGVbN4v_cosf): Removed.
31288 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31290 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31291 Don't include <sysdep.h> nor <init-arch.h>.
31292 (_ZGVdN8v_cosf): Removed.
31293 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31295 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31296 Don't include <sysdep.h> nor <init-arch.h>.
31297 (_ZGVeN16v_expf): Removed.
31298 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31300 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31301 Don't include <sysdep.h> nor <init-arch.h>.
31302 (_ZGVbN4v_expf): Removed.
31303 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31305 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31306 Don't include <sysdep.h> nor <init-arch.h>.
31307 (_ZGVdN8v_expf): Removed.
31308 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31310 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31311 Don't include <sysdep.h> nor <init-arch.h>.
31312 (_ZGVeN16v_logf): Removed.
31313 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31315 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31316 Don't include <sysdep.h> nor <init-arch.h>.
31317 (_ZGVbN4v_logf): Removed.
31318 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31320 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31321 Don't include <sysdep.h> nor <init-arch.h>.
31322 (_ZGVdN8v_logf): Removed.
31323 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31325 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31326 Don't include <sysdep.h> nor <init-arch.h>.
31327 (_ZGVeN16vv_powf): Removed.
31328 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31330 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31331 Don't include <sysdep.h> nor <init-arch.h>.
31332 (_ZGVbN4vv_powf): Removed.
31333 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31335 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31336 Don't include <sysdep.h> nor <init-arch.h>.
31337 (_ZGVdN8vv_powf): Removed.
31338 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31340 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31341 Don't include <sysdep.h> nor <init-arch.h>.
31342 (_ZGVeN16vvv_sincosf): Removed.
31343 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31345 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31346 Don't include <sysdep.h> nor <init-arch.h>.
31347 (_ZGVbN4vvv_sincosf): Removed.
31348 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31350 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31351 Don't include <sysdep.h> nor <init-arch.h>.
31352 (_ZGVdN8vvv_sincosf): Removed.
31353 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31355 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31356 Don't include <sysdep.h> nor <init-arch.h>.
31357 (_ZGVeN16v_sinf): Removed.
31358 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31360 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31361 Don't include <sysdep.h> nor <init-arch.h>.
31362 (_ZGVbN4v_sinf): Removed.
31363 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31365 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31366 Don't include <sysdep.h> nor <init-arch.h>.
31367 (_ZGVdN8v_sinf): Removed.
31369 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31371 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31372 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31373 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31374 s_rint-sse4_1 and s_rintf-sse4_1.
31375 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31376 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31377 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31378 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31379 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31380 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31381 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31382 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31383 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31384 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31385 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31386 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31388 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31389 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31390 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31391 (__ceilf): Removed.
31392 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31393 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31394 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31395 (__floor): Removed.
31396 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31397 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31398 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31399 (__floorf): Removed.
31400 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31401 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31402 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31403 (__nearbyint): Removed.
31404 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31405 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31406 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31407 (__nearbyintf): Removed.
31408 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31409 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31410 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31412 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31413 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31414 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31415 (__rintf): Removed.
31417 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31419 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31420 SHARED. Avoid dynamic relocation against main in static PIE.
31422 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31425 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31426 (LDFLAGS-tst-prelink): Likewise.
31428 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31430 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31431 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31432 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31433 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31434 (INTERNAL_SYSCALL_NCS): Likewise.
31435 (LOADARGS_1): Likewise.
31436 (LOADARGS_5): Likewise.
31437 (RESTOREARGS_1): Likewise.
31438 (RESTOREARGS_5): Likewise.
31440 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31442 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31443 (MEMPCPY_SYMBOL): Likewise.
31444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31445 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31448 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31449 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31451 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31452 (__hidden_ver1): Don't use in libc.a.
31453 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31454 (__mempcpy): Don't create a weak alias in libc.a.
31455 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31457 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31458 (__hidden_ver1): Don't use in libc.a.
31460 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31462 * config.make.in (have-insert): New.
31463 * configure.ac (libc_cv_insert): New. Set to yes if linker
31464 supports INSERT in linker script.
31465 (AC_SUBST(libc_cv_insert): New.
31466 * configure: Regenerated.
31467 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31468 if $(have-insert) == yes.
31470 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31472 * elf/Makefile (tests): Add vismain only if
31473 $(have-protected-data) == yes.
31474 (tests-pie): Likewise.
31476 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31479 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31480 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31482 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31485 * sysdeps/i386/i586/memset.S
31486 (__memset_zero_constant_len_parameter): Removed.
31487 * sysdeps/i386/i686/memset.S
31488 (__memset_zero_constant_len_parameter): Likewise.
31489 * sysdeps/i386/i686/multiarch/memset_chk.S
31490 (__memset_zero_constant_len_parameter): Likewise.
31491 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31494 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31496 * stdlib/getentropy.c (getentropy): Change return type to int.
31498 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31500 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31502 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31504 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31506 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31507 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31509 (ieee_float_shape_type): Likewise.
31510 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31511 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31512 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31513 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31514 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31515 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31516 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31517 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31518 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31520 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31521 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31522 (__ieee754_yn): Likewise.
31523 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31524 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31525 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31527 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31528 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31529 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31530 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31531 (__erfc): Likewise.
31532 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31533 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31534 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31535 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31536 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31537 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31539 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31540 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31541 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31542 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31543 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31544 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31545 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31546 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31547 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31548 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31549 (__issignaling): Likewise.
31550 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31551 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31552 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31554 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31555 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31556 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31557 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31559 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31561 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31562 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31563 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31564 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31565 (__erfcf): Likewise.
31566 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31567 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31568 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31569 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31571 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31572 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31574 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31575 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31576 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31577 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31578 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31579 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31580 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31581 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31583 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31585 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31587 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31588 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31590 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31592 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31593 (__ieee754_ynl): Likewise.
31594 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31595 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31597 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31599 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31600 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31601 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31603 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31604 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31605 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31606 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31607 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31608 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31609 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31610 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31612 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31613 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31614 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31616 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31617 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31618 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31619 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31620 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31621 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31623 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31625 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31627 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31629 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31630 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31631 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31632 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31633 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31634 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31637 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31639 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31640 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31642 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31643 (__ieee754_remainderl): Likewise.
31644 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31645 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31646 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31647 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31649 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31650 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31652 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31653 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31654 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31655 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31656 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31657 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31659 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31660 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31661 (__ieee754_y0l): Likewise.
31664 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31665 (__ieee754_y1l): Likewise.
31668 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31669 (__ieee754_ynl): Likewise.
31670 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31671 (__ieee754_lgammal_r): Likewise.
31672 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31674 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31675 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31676 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31677 (__erfcl): Likewise.
31678 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31679 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31681 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31682 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31683 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31684 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31685 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31686 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31687 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31689 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31690 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31691 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31692 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31693 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31695 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31696 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31698 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31699 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31700 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31701 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31702 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31704 2017-08-03 Florian Weimer <fweimer@redhat.com>
31707 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31708 on memory allocation failure.
31710 2017-08-03 Alan Modra <amodra@gmail.com>
31712 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31713 tst-tlsopt-powerpc.c with function name change and no test harness.
31714 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31715 Call tls_get_addr_opt_test.
31716 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31717 (modules-names): Add mod-tlsopt-powerpc.
31718 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31719 (tst-tlsopt-powerpc): Depend on .so.
31720 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31721 define. Expand use in TLS_GD and TLS_LD.
31723 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31725 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31727 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31729 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31732 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31733 comparing size with that of double.
31734 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31735 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31736 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31737 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31738 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31739 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31740 unsigned __int128 types.
31742 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31744 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31745 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31746 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31747 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31748 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31750 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31752 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31754 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31756 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31758 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31759 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31760 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31761 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31762 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31763 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31764 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31766 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31769 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31770 bit-field expressions passed to sizeof or typeof.
31771 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31772 (__TGMATH_F128): Likewise.
31773 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31774 (__TGMATH_CF128): Likewise.
31775 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31776 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31777 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31778 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31779 (__TGMATH_BINARY_REAL_ONLY): Likewise.
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_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31785 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31786 (__TGMATH_UNARY_IMAG): Likewise.
31787 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31788 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31789 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31791 (define_vars_for_type): Handle bit_field type specially.
31792 (Tests.__init__): Declare structure with bit-field element.
31794 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31797 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31798 (MEMCPY_CHK): Define only if SHARED is defined.
31799 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31801 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31804 See ChangeLog.18 for earlier changes.