1 2019-02-07 Florian Weimer <fweimer@redhat.com>
3 * include/array_length.h (array_length): Do not use a statement
4 expression and _Static_assert, so that array_length can be used at
5 file scope and as a constant expression.
7 2019-02-07 Florian Weimer <fweimer@redhat.com>
9 * support/xdlfcn.h (xdlmopen): Declare.
10 * support/xdlmopen.c: New file.
11 * support/Makefile (libsupport-routines): Add xdlmopen.
13 2019-02-06 Joseph Myers <joseph@codesourcery.com>
15 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
16 before return type, without separate inline.
17 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
18 * elf/dl-tunables.h (tunable_is_name): Likewise.
19 * malloc/malloc.c (do_set_trim_threshold): Likewise.
20 (do_set_top_pad): Likewise.
21 (do_set_mmap_threshold): Likewise.
22 (do_set_mmaps_max): Likewise.
23 (do_set_mallopt_check): Likewise.
24 (do_set_perturb_byte): Likewise.
25 (do_set_arena_test): Likewise.
26 (do_set_arena_max): Likewise.
27 (do_set_tcache_max): Likewise.
28 (do_set_tcache_count): Likewise.
29 (do_set_tcache_unsorted_limit): Likewise.
30 * nis/nis_subr.c (count_dots): Likewise.
31 * nptl/allocatestack.c (advise_stack_range): Likewise.
32 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
34 (reduce_sincos): Likewise.
35 (do_sincos): Likewise.
36 * sysdeps/unix/sysv/linux/x86/elision-conf.c
37 (do_set_elision_enable): Likewise.
38 (TUNABLE_CALLBACK_FNDECL): Likewise.
40 2019-02-06 Florian Weimer <fweimer@redhat.com>
42 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
43 (xdlsym): Use dlerror to detect a NULL symbol.
45 2019-02-06 Florian Weimer <fweimer@redhat.com>
47 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
49 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
51 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
53 * libio/tst-bz24153.c (wide): Use wide char format specifier.
55 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
57 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
58 __wmemcmp and weak alias to wmemcmp.
60 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
63 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
64 TLS_TCB_AT_TP tls variant.
65 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
67 * support/Makefile (libsupport-routines): Add xposix_memalign and
69 * support/support.h: Add xposix_memalign.
70 * support/xthread.h: Add xpthread_attr_setstack.
71 * support/xposix_memalign.c: New File.
72 * support/xpthread_attr_setstack.c: Likewise.
74 2019-02-05 Florian Weimer <fweimer@redhat.com>
77 arm: Use "nr" constraint for Systemtap probes, to avoid the
78 compiler using memory operands for constants, due to the "o"
79 alternative in the default "nor" constraint.
80 * include/stap-probe.h [USE_STAP_PROBE]: Include
81 <stap-probe-machine.h>
82 * sysdeps/generic/stap-probe-machine.h: New file.
83 * sysdeps/arm/stap-probe-machine.h: Likewise.
85 2019-02-04 Joseph Myers <joseph@codesourcery.com>
87 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
88 with 0, not tcache->entries[tc_idx].
90 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
93 2019-02-04 Andreas Schwab <schwab@suse.de>
97 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
98 looking up collating elements match against (wide) character
99 sequence instead of name. Correct alignment adjustment.
100 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
101 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
102 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
103 (LOCALES): Add cs_CZ.ISO-8859-2.
104 * posix/tst-fnmatch4.c: New file.
105 * posix/tst-fnmatch5.c: New file.
106 * include/wchar.h (__wmemcmp): Declare.
107 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
108 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
109 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
110 * sysdeps/s390/wmemcmp.c: Likewise.
112 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
116 * NEWS: Updated for CVE-2019-7309.
117 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
118 upper 32 bits of RDX register for x32. Use unsigned Jcc
119 instructions, instead of signed.
120 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
121 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
123 2019-02-04 Florian Weimer <fweimer@redhat.com>
125 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
126 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
127 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
129 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
130 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
131 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
132 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
134 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
136 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
138 (posix_spawn_file_actions_addopen): Likewise.
139 (posix_spawn_file_actions_addclose): Likewise.
140 (posix_spawn_file_actions_adddup2): Likewise.
141 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
143 (posix_spawn_file_actions_addfchdir_np): Likewise.
145 2019-02-04 David Newall <glibc@davidnewall.com>
147 elf: Implement --preload option for the dynamic linker.
148 * elf/rtld.c (preloadarg): New variable.
149 (handle_preload_list): Pass through “where” argument to
151 (dl_main): Handle "--preload" and add second call to
153 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
154 (tst-rtld-preload-OBJS): Set variable.
155 (tst-rtld-preload.out): New target.
156 * elf/tst-rtld-preload.sh: New file.
158 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
160 * Makefile (testrun.sh): Exit in case of incorrect argument.
162 2019-02-04 Florian Weimer <fweimer@redhat.com>
164 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
167 2019-02-03 Florian Weimer <fweimer@redhat.com>
169 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
170 implicit overflow checks.
172 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
174 * stdlib/isomac.c: Include <unistd.h>.
176 2019-02-03 Florian Weimer <fweimer@redhat.com>
178 * include/time.h (__tzfile_default): Use int, not long int, for
180 * time/tzfile.c (struct ttinfo): Change type of the offset member
182 (__tzfile_read): Remove useless cast.
183 (__tzfile_default): Adjust prototype.
184 * time/tzset.c (tz_rule): Change type of the offset member to int.
185 (parse_offset): Change the type of the sign variable to int.
187 2019-02-03 Florian Weimer <fweimer@redhat.com>
190 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
191 * libio/getchar.c (getchar): Likewise.
192 * libio/getchar_u.c (getchar_unlocked): Likewise.
193 * libio/getwchar.c (getwchar): Likewise.
194 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
195 * libio/iogets.c (_IO_gets): Likewise.
196 * libio/vscanf.c (_IO_vscanf): Likewise.
197 * libio/vwscanf.c (__vwscanf): Likewise.
198 * libio/tst-bz24153.c: New file.
199 * libio/Makefile (tests): Add it.
201 2019-02-02 Florian Weimer <fweimer@redhat.com>
204 * manual/resource.texi (Basic Scheduling Functions): Add
205 portability note. Change process to task throughout the section.
206 Remove incorrect comment about sched_yield as it affects
207 tasks/threads, not entire processes.
208 * sysdeps/unix/sysv/linux/bits/posix_opt.h
209 (_POSIX_PRIORITY_SCHEDULING): Update comment.
211 2019-02-01 Joseph Myers <joseph@codesourcery.com>
213 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
214 * configure: Regenerated.
215 * manual/install.texi (Tools for Compilation): Update minimum GCC
217 * INSTALL: Regenerated.
219 2019-02-01 Florian Weimer <fweimer@redhat.com>
221 * support/support_test_compare_string.c
222 (support_test_compare_string): Use "string" in error message.
223 * support/tst-test_compare_string.c (do_test): Adjust.
225 2019-02-01 Florian Weimer <fweimer@redhat.com>
227 * support/support_format_address_family.c
228 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
230 2019-02-01 Florian Weimer <fweimer@redhat.com>
232 * manual/socket.texi (Internet Address Formats): Clarify the byte
233 order of struct sockaddr_in, struct sockaddr_in6. Document
234 sin6_flowinfo and sin6_scope_id.
236 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
238 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
239 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
240 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
241 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
242 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
243 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
245 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
247 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
248 [!MEMCHR](MEMCHR): Set to __memchr.
249 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
250 Add memchr_generic and memchr_nosimd.
251 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
252 (__libc_ifunc_impl_list): Add memchr ifuncs.
253 * sysdeps/aarch64/multiarch/memchr.c: New file.
254 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
255 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
257 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
259 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
261 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
262 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
263 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
264 Add IS_EMAG check for ifunc dispatch.
265 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
266 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
268 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
270 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
271 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
273 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
276 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
278 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
280 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
282 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
283 syscall-template file.
285 2019-01-31 Carlos O'Donell <carlos@redhat.com>
286 Torvald Riegel <triegel@redhat.com>
287 Rik Prohaska <prohaska7@gmail.com>
290 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
291 tst-rwlock-trywrlock-stall.
292 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
293 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
294 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
295 Set __wrphase_fute to 1 only if we started the write phase.
296 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
297 * nptl/tst-rwlock-trywrlock-stall.c: New file.
298 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
299 * support/xpthread_rwlock_destroy.c: New file.
300 * support/xthread.h: Declare xpthread_rwlock_destroy.
302 2019-02-01 Joseph Myers <joseph@codesourcery.com>
304 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
307 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
310 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
311 * libio/fileops.c (_IO_new_file_underflow): Likewise
312 * libio/wfileops.c (_IO_wfile_underflow): Likewise
313 * libio/putchar.c (putchar): Likewise.
314 * libio/putchar_u.c (putchar_unlocked): Likewise.
315 * libio/putwchar.c (putchar): Likewise.
316 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
317 * libio/tst-bz24051.c: New test.
318 * libio/Makefile (tests): Add tst-bz24051
320 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
322 regex: fix read overrun [BZ #24114]
323 Problem found by AddressSanitizer, reported by Hongxu Chen in:
324 https://debbugs.gnu.org/34140
325 * posix/regexec.c (proceed_next_node):
326 Do not read past end of input buffer.
328 2019-01-31 Florian Weimer <fweimer@redhat.com>
331 * nss/nss_files/files-alias.c (get_next_alias): Handle
332 continuation line without newline at the end.
333 * nss/tst-nss-files-alias-truncated.c: New file.
334 * nss/Makefile [$(build-shared)] (tests): Add
335 tst-nss-files-alias-truncated.
336 (tst-nss-files-alias-truncated): Link with libnss_files.so.
337 * support/namespace.h (struct support_chroot_configuration): Add
339 (struct support_chroot): Add path_aliases member.
340 * support/support_chroot.c (support_chroot_create): Handle
342 (support_chroot_free): Free path_aliases.
344 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
346 * version.h (RELEASE): Set to "development".
347 (VERSION): Set to "2.29.9000".
348 * NEWS: Add section for 2.30.
350 * version.h (RELEASE): Set to "stable".
351 (VERSION): Set to "2.29".
352 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
354 * NEWS: Add the list of bugs fixed in 2.29.
355 * manual/contrib.texi: Update contributors list with some more
357 * manual/install.texi: Update latest versions of packages
359 * INSTALL: Regenerated.
361 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
363 * po/be.po: Update translations.
364 * po/bg.po: Likewise.
365 * po/ca.po: Likewise.
366 * po/cs.po: Likewise.
367 * po/da.po: Likewise.
368 * po/de.po: Likewise.
369 * po/el.po: Likewise.
370 * po/eo.po: Likewise.
371 * po/es.po: Likewise.
372 * po/fi.po: Likewise.
373 * po/fr.po: Likewise.
374 * po/gl.po: Likewise.
375 * po/hr.po: Likewise.
376 * po/hu.po: Likewise.
377 * po/ia.po: Likewise.
378 * po/id.po: Likewise.
379 * po/it.po: Likewise.
380 * po/ja.po: Likewise.
381 * po/ko.po: Likewise.
382 * po/lt.po: Likewise.
383 * po/nb.po: Likewise.
384 * po/nl.po: Likewise.
385 * po/pl.po: Likewise.
386 * po/pt_BR.po: Likewise.
387 * po/ru.po: Likewise.
388 * po/rw.po: Likewise.
389 * po/sk.po: Likewise.
390 * po/sl.po: Likewise.
391 * po/sv.po: Likewise.
392 * po/tr.po: Likewise.
393 * po/uk.po: Likewise.
394 * po/vi.po: Likewise.
395 * po/zh_CN.po: Likewise.
396 * po/zh_TW.po: Likewise.
398 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
401 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
402 of $f3 register on $y_is_neg path.
404 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
407 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
408 sigaltstack.ss_flags.
410 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
413 * manual/time.texi (strftime): Document "%Ey".
414 * time/strftime_l.c (__strftime_internal): Set the default width
415 padding with zero of "%Ey" to 2.
418 * manual/time.texi (strftime): Document "%EC" and "%EY".
419 * time/Makefile (tests): Add tst-strftime2.
420 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
421 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
422 override padding for "%Ey".
423 If an optional flag ('_' or '-') is specified to "%EY", interpret the
424 "%Ey" in the subformat as if decorated with that flag.
425 * time/tst-strftime2.c: New file.
427 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
429 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
433 * elf/Makefile (tests): Add tst-audit13.
434 (modules-names): Add tst-audit13mod1.
435 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
437 * elf/rtld.c (dl_main): Handle invalid audit module version.
438 * elf/tst-audit13.c: New file.
439 * elf/tst-audit13mod1.c: Likewise.
441 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
443 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
444 returned by __hurd_at_flags.
445 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
446 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
447 directly instead of __hurd_file_name_lookup.
449 2019-01-21 Joseph Myers <joseph@codesourcery.com>
451 * scripts/build-many-glibcs.py (Context.checkout): Default
452 binutils version to 2.32 branch.
454 2019-01-21 Florian Weimer <fweimer@redhat.com>
458 resolv: Reject trailing characters in host names
459 * include/arpa/inet.h (__inet_aton_exact): Declare.
460 (inet_aton): Remove hidden prototype. No longer used internally.
461 * nscd/gai.c (__inet_aton): Do not define.
462 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
463 * nss/digits_dots.c (__inet_aton): Likewise.
464 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
465 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
466 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
467 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
468 (tst-resolv-trailing): Likewise.
469 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
471 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
472 Make static. Add endp parameter.
473 (__inet_aton_exact): New function.
474 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
475 (__inet_addr): Call inet_aton_end.
476 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
477 not just IPv6. Call __inet_aton_exact.
478 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
479 (tests): Make const. Add additional test cases with trailing
481 (do_test): Use array_length.
482 * resolv/tst-inet_aton_exact.c: New file.
483 * resolv/tst-resolv-trailing.c: Likewise.
484 * resolv/tst-resolv-nondecimal.c: Likewise.
485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
487 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
491 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
492 Clear the upper 32 bits of RSI register.
493 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
494 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
495 and tst-size_t-wcsnlen.
496 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
497 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
499 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
503 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
504 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
505 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
506 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
507 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
509 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
513 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
514 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
515 * sysdeps/x86_64/strcmp.S: Likewise.
516 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
517 tst-size_t-strncmp and tst-size_t-wcsncmp.
518 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
519 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
520 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
522 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
526 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
527 RDX_LP for length. Clear the upper 32 bits of RDX register.
528 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
529 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
530 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
531 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
533 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
537 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
538 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
539 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
540 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
542 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
546 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
547 length. Clear the upper 32 bits of RDX register.
548 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
549 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
551 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
553 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
555 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
557 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
561 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
562 length. Clear the upper 32 bits of RDX register.
563 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
564 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
565 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
567 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
568 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
570 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
574 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
575 upper 32 bits of RDX register.
576 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
577 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
579 * sysdeps/x86_64/x32/test-size_t.h: New file.
580 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
581 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
583 2019-01-18 Florian Weimer <fweimer@redhat.com>
586 resolv: Do not send queries for non-host-names in nss_dns.
587 * resolv/nss_dns/dns-host.c (check_name): New function.
588 (_nss_dns_gethostbyname2_r): Use it.
589 (_nss_dns_gethostbyname_r): Likewise.
590 (_nss_dns_gethostbyname4_r): Likewise.
592 2019-01-21 Florian Weimer <fweimer@redhat.com>
594 * resolv/inet_addr.c: Reformat to GNU style.
595 (__inet_addr, __inet_aton): Update comment.
597 2019-01-18 Florian Weimer <fweimer@redhat.com>
599 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
600 ("malloc: Use current (C11-style) atomics for fastbin access").
601 This commit introduces a substantial performance regression on
603 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
605 (_int_malloc): Use it and reindent.
606 (_int_free): Use CAS loop with
607 catomic_compare_and_exchange_val_rel.
608 (malloc_consolidate): Use atomic_exchange_acq.
611 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
613 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
615 (LDFLAGS-tst-minsigstksz-2): Likewise.
616 (LDFLAGS-tst-minsigstksz-3): Likewise.
617 (LDFLAGS-tst-minsigstksz-3a): Likewise.
618 (LDFLAGS-tst-minsigstksz-4): Likewise.
620 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
622 * manual/time.texi (strftime): Fix the wording to "alternative" rather
625 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
627 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
629 2019-01-16 Zack Weinberg <zackw@panix.com>
631 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
632 (xget_sigstack_location): New test support functions.
633 * support/xsigstack.c: New file, implementing them.
634 * support/tst-xsigstack.c: New test for them.
635 * support/Makefile: Update.
637 * signal/tst-minsigstksz-1.c
638 * signal/tst-minsigstksz-2.c
639 * signal/tst-minsigstksz-3.c
640 * signal/tst-minsigstksz-3a.c
641 * signal/tst-minsigstksz-4.c: New tests.
642 * signal/Makefile: Run them.
644 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
646 * po/libc.pot: Regenerate.
648 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
650 * math/libm-test-fma.inc (fma_test_data): Set
651 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
653 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
655 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
656 (do_test): Changed __vector __int128_t to __vector unsigned int.
658 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
661 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
662 stpcpy-avx2 and stpncpy-avx2.
663 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
664 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
665 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
667 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
668 ifunc-strcpy.h}: rename header for a more generic name.
669 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
670 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
671 AVX unaligned load is fast and vzeroupper is preferred.
672 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
673 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
674 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
675 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
676 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
677 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
679 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
681 * argp/argp-help.c: Fix typo in comment.
682 * misc/sys/cdefs.h: Likewise.
683 * posix/regexec.c (sift_states_iter_mb): Likewise.
684 * socket/sockatmark.c: Likewise.
685 * socket/sys/socket.h: Likewise.
686 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
687 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
688 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
689 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
690 * sysdeps/unix/sockatmark.c: Likewise.
691 * time/strptime_l.c: Likewise.
693 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
695 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
696 missing space after the cast of "_NL_CURRENT".
698 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
700 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
701 ifdef to fix read of VSCR.
702 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
703 tst-ucontext-ppc64-vscr.c to test list.
704 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
706 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
708 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
711 2019-01-09 Jim Wilson <jimw@sifive.com>
713 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
715 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
717 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
718 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
719 __memcpy_falkor for ares.
720 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
722 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
725 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
728 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
729 4_FP_W_TYPEs are used for IEEE quad precision.
730 * soft-fp/extendhftf2.c: Likewise.
731 * soft-fp/extendsftf2.c: Likewise.
732 * soft-fp/extendxftf2.c: Likewise.
733 * soft-fp/trunctfdf2.c: Likewise.
734 * soft-fp/trunctfhf2.c: Likewise.
735 * soft-fp/trunctfsf2.c: Likewise.
736 * soft-fp/trunctfxf2.c: Likewise.
737 * sysdeps/alpha/ots_cvttx.c: Likewise.
738 * sysdeps/alpha/ots_cvtxt.c: Likewise.
739 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
740 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
741 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
742 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
743 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
744 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
745 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
746 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
747 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
748 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
749 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
750 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
751 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
752 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
753 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
754 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
756 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
759 * Makeconfig: Build libm with -fno-math-errno but build the remaining
760 code with -fmath-errno.
761 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
762 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
763 * string/test-strerror-errno.c: New file.
765 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
768 * localedata/locales/en_US (date_fmt): Add, set to
771 2019-01-07 Florian Weimer <fweimer@redhat.com>
774 * manual/arith.texi (Math Error Reporting): Use @code{errno}
775 instead of @var{errno}.
776 (Parsing of Integers): Likewise.
777 (Parsing of Floats): Likewise.
778 * manual/filesys.texi (Working with Directory Trees): Likewise.
779 (Temporary Files): Likewise.
780 * manual/job.texi (Terminal Access Functions): Likewise.
781 * manual/llio.texi (Synchronizing I/O): Likewise.
782 * manual/math.texi (SVID Random): Likewise.
783 * manual/message.texi (The catgets Functions): Likewise.
784 (Translation with gettext): Likewise.
785 (Locating gettext catalog): Likewise.
786 (Charset conversion in gettext): Likewise.
787 * manual/nss.texi (NSS Module Function Internals): Likewise.
788 * manual/search.texi (Hash Search Function): Likewise.
789 * manual/setjmp.texi (System V contexts): Likewise.
790 * manual/time.texi (Sleeping): Likewise.
791 * manual/users.texi (Lookup User): Likewise.
792 (Lookup Group): Likewise.
794 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
796 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
799 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
802 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
803 __builtin_unreachable for default case in switch.
804 (__ieee754_yn): Likewise.
805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
806 (__ieee754_ynl): Likewise.
807 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
808 (__ieee754_ynl): Likewise.
809 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
810 (__ieee754_ynl): Likewise.
812 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
814 * manual/maint.texi: Use @{ and @}.
816 2019-01-04 Florian Weimer <fweimer@redhat.com>
818 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
820 (do_in_chroot_1): Call it.
822 Improve error reporting in case it is not possible to create a
823 collision for the PTY name required by the test.
825 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
827 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
828 lll_wait_tid with timeout.
829 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
830 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
831 futex_reltimed_wait_cancelable for cancelabla mode.
832 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
833 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
835 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
836 * sysdeps/posix/waitid.c (__sigwait): Likewise.
837 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
838 SYSCALL_CANCEL_NCS): New macro.
839 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
840 (lll_timedwait_tid): Remove macro.
841 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
843 (lll_timedwait_tid): Likewise.
844 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
846 (lll_timedwait_tid): Likewise.
847 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
849 (lll_timedwait_tid): Likewise.
850 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
851 Use INTERNAL_SYSCALL_CANCEL.
852 * sysdeps/unix/sysv/linux/futex-internal.h
853 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
854 instead of __pthread_{enable,disable}_asynccancel.
855 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
856 (lll_futex_wait_cancel): New macro.
858 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
859 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
861 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
862 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
864 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
865 in backtrace analysis.
866 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
870 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
871 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
872 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
873 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
874 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
875 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
876 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
877 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
878 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
879 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
880 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
881 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
883 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
884 tst-cancel-wrappers.sh.
885 (generated): Remove tst-cancel-wrappers.out.
886 (tst-cancel-wrappers.out): Remove rule.
887 * nptl/tst-cancel-wrappers.sh: Remove file.
889 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
891 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
892 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
895 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
898 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
899 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
900 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
901 close-on-exec reset for adddup2 file action.
902 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
904 2019-01-03 Zack Weinberg <zackw@panix.com>
906 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
907 parameter. Only use deprecated scanf when __USE_GNU is defined
908 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
909 than 201103L, whichever is relevant for the language being compiled.
911 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
912 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
913 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
914 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
915 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
924 * stdio-common/fscanf.c
925 * stdio-common/scanf.c
926 * stdio-common/vfscanf.c
927 * stdio-common/vfwscanf.c
928 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
929 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
930 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
931 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
932 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
933 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
934 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
935 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
936 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
937 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
938 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
939 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
940 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
941 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
942 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
944 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
945 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
946 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
948 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
949 with a preprocessor macro.
951 * stdio-common/bug21.c, stdio-common/scanf14.c:
952 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
953 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
954 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
955 to xscanf, xfscanf, xsscanf.
957 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
958 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
959 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
960 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
962 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
963 override feature selection macros or provide definitions of u_char etc.
964 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
965 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
966 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
969 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
973 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
974 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
975 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
976 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
977 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
978 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
980 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
981 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
982 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
983 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
984 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
985 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
987 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
988 (sysdep_headers): Add termios-misc.h.
990 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
991 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
992 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
996 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
997 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
998 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
999 TCSAFLUSH): Move to termios-tcflow.h.
1000 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1001 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1002 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1003 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1007 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
1008 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
1009 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
1010 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
1011 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
1012 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
1013 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
1014 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
1016 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1017 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1018 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1019 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1021 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1023 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
1024 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
1025 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
1026 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
1027 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
1029 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1030 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1031 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1032 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1037 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
1038 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
1039 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
1040 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
1041 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
1042 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
1043 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
1044 __MAX_BAUD): Move to termios-baud.h.
1045 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
1046 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
1047 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1048 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1049 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1051 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1053 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
1054 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
1055 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
1056 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
1057 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
1058 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
1060 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
1061 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
1063 [USE_MISC] (XTABS): Likewise.
1064 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1065 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1066 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1067 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
1069 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1071 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
1072 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
1073 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
1074 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
1075 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
1076 IUTF8): Move to termios-c_iflag.h.
1077 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1078 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1079 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1080 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1082 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
1084 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
1085 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
1086 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
1087 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
1088 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
1089 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
1090 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
1091 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
1092 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1093 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
1094 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1095 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1097 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
1098 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
1099 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
1100 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
1101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1103 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
1105 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
1107 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
1109 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
1111 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
1113 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
1114 _HAVE_C_OSPEED): Define.
1115 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
1116 _HAVE_C_OSPEED): Likewise.
1117 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
1118 _HAVE_C_OSPEED): Likewise.
1119 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
1120 (cfsetospeed): Check for define value instead of existence.
1121 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
1122 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1123 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
1124 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
1125 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
1128 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
1130 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
1131 (TIOCSER_TEMT): Likewise.
1132 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
1133 (TEOCSER_TEMT): Likewise.
1135 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
1138 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
1140 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1142 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1144 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1146 * sysdeps/htl/pt-barrierattr-setpshared.c
1147 (pthread_barrierattr_setpshared): Add stub warning.
1148 * sysdeps/htl/pt-condattr-setpshared.c
1149 (pthread_condattr_setpshared): Likewise.
1150 * sysdeps/htl/pt-mutexattr-setpshared.c
1151 (pthread_mutexattr_setpshared): Likewise.
1152 * sysdeps/htl/pt-rwlockattr-setpshared.c
1153 (pthread_rwlockattr_setpshared): Likewise.
1154 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
1155 (pthread_mutexattr_setpshared): Likewise.
1157 2019-01-02 Joseph Myers <joseph@codesourcery.com>
1159 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
1160 constants to match with Linux 4.20.
1162 * sysdeps/mips/mips32/libm-test-ulps: Update.
1163 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1165 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
1168 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
1169 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
1170 than __typeof (...) for the a_ptr variable.
1172 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1174 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
1175 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
1176 * libio/Makefile (tests): Add tst-sprintf-ub and
1178 (CFLAGS-tst-sprintf-ub.c): New variable.
1179 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
1180 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
1181 destination buffer and check for overflows in fortified mode.
1182 * libio/libioP.h (PRINTF_CHK): New macro.
1183 * libio/tst-sprintf-chk-ub.c: New file.
1184 * libio/tst-sprintf-ub.c: Likewise.
1186 2019-01-02 Florian Weimer <fweimer@redhat.com>
1189 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
1192 2019-01-02 Florian Weimer <fweimer@redhat.com>
1194 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
1196 2019-01-01 Joseph Myers <joseph@codesourcery.com>
1198 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
1201 * sysdeps/unix/sysv/linux/netpacket/packet.h
1202 (PACKET_IGNORE_OUTGOING): New macro.
1204 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
1207 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1209 (riscv_flush_icache): New syscall.
1211 * manual/texinfo.tex: Update to version 2018-12-28.17 with
1212 trailing whitespace removed.
1213 * scripts/config.guess: Update to version 2019-01-01.
1214 * scripts/config.sub: Update to version 2019-01-01.
1215 * scripts/move-if-change: Update from gnulib.
1217 * NEWS: Update copyright dates.
1218 * catgets/gencat.c (print_version): Likewise.
1219 * csu/version.c (banner): Likewise.
1220 * debug/catchsegv.sh: Likewise.
1221 * debug/pcprofiledump.c (print_version): Likewise.
1222 * debug/xtrace.sh (do_version): Likewise.
1223 * elf/ldconfig.c (print_version): Likewise.
1224 * elf/ldd.bash.in: Likewise.
1225 * elf/pldd.c (print_version): Likewise.
1226 * elf/sotruss.sh: Likewise.
1227 * elf/sprof.c (print_version): Likewise.
1228 * iconv/iconv_prog.c (print_version): Likewise.
1229 * iconv/iconvconfig.c (print_version): Likewise.
1230 * locale/programs/locale.c (print_version): Likewise.
1231 * locale/programs/localedef.c (print_version): Likewise.
1232 * login/programs/pt_chown.c (print_version): Likewise.
1233 * malloc/memusage.sh (do_version): Likewise.
1234 * malloc/memusagestat.c (print_version): Likewise.
1235 * malloc/mtrace.pl: Likewise.
1236 * manual/libc.texinfo: Likewise.
1237 * nptl/version.c (banner): Likewise.
1238 * nscd/nscd.c (print_version): Likewise.
1239 * nss/getent.c (print_version): Likewise.
1240 * nss/makedb.c (print_version): Likewise.
1241 * posix/getconf.c (main): Likewise.
1242 * scripts/test-installation.pl: Likewise.
1243 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1245 * All files with FSF copyright notices: Update copyright dates
1246 using scripts/update-copyrights.
1247 * locale/programs/charmap-kw.h: Regenerated.
1248 * locale/programs/locfile-kw.h: Likewise.
1250 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1252 * timezone/zdump.c: Update from tzcode 2018i.
1253 * timezone/zic.c: Likewise.
1255 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
1257 regex: improve Gnulib port to AIX
1258 From the glibc point of view, this removes duplicate macro
1259 definitions and is obviously safe.
1260 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
1261 * posix/regex_internal.h:
1262 (__attribute__, __attribute_warn_unused_result__):
1263 Remove; already defined elsewhere.
1265 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
1268 * malloc/malloc.c (_int_realloc): Always call memcpy for the
1269 copying operation. (ncopies had the wrong type, resulting in an
1270 integer wraparound and too few elements being copied.)
1272 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
1275 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
1276 <asm/syscalls.h> exists with __has_include__ before including it.
1278 2018-12-31 Joseph Myers <joseph@codesourcery.com>
1280 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1283 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
1285 * hurd/lookup-retry: Include <unistd.h>.
1286 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
1287 Release it on return. Handle "pid" magical lookup retry.
1289 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1292 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
1293 (t_fmt_ampm): Likewise.
1294 * localedata/locales/aa_ER (t_fmt): Likewise.
1295 (t_fmt_ampm): Likewise.
1296 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
1297 (t_fmt_ampm): Likewise.
1298 * localedata/locales/aa_ET (t_fmt): Likewise.
1299 (t_fmt_ampm): Likewise.
1300 * localedata/locales/am_ET (t_fmt): Likewise.
1301 (t_fmt_ampm): Likewise.
1302 * localedata/locales/byn_ER (t_fmt): Likewise.
1303 (t_fmt_ampm): Likewise.
1304 * localedata/locales/om_ET (t_fmt): Likewise.
1305 (t_fmt_ampm): Likewise.
1306 * localedata/locales/sid_ET (t_fmt): Likewise.
1307 (t_fmt_ampm): Likewise.
1308 * localedata/locales/so_DJ (t_fmt): Likewise.
1309 (t_fmt_ampm): Likewise.
1310 * localedata/locales/so_ET (t_fmt): Likewise.
1311 (t_fmt_ampm): Likewise.
1312 * localedata/locales/so_SO (t_fmt): Likewise.
1313 (t_fmt_ampm): Likewise.
1314 * localedata/locales/ti_ER (t_fmt): Likewise.
1315 (t_fmt_ampm): Likewise.
1316 * localedata/locales/ti_ET (t_fmt): Likewise.
1317 (t_fmt_ampm): Likewise.
1318 * localedata/locales/tig_ER (t_fmt): Likewise.
1319 (t_fmt_ampm): Likewise.
1320 * localedata/locales/wal_ET (t_fmt): Likewise.
1321 (t_fmt_ampm): Likewise.
1323 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
1324 * localedata/locales/ar_IN (t_fmt): Likewise.
1325 * localedata/locales/bhb_IN (t_fmt): Likewise.
1326 * localedata/locales/bho_IN (t_fmt): Likewise.
1327 * localedata/locales/bi_VU (t_fmt): Likewise.
1328 * localedata/locales/bn_BD (t_fmt): Likewise.
1329 * localedata/locales/bn_IN (t_fmt): Likewise.
1330 * localedata/locales/brx_IN (t_fmt): Likewise.
1331 * localedata/locales/doi_IN (t_fmt): Likewise.
1332 * localedata/locales/en_HK (t_fmt): Likewise.
1333 (t_fmt_ampm): Likewise.
1334 * localedata/locales/en_IN (t_fmt): Likewise.
1335 * localedata/locales/en_PH (t_fmt): Likewise.
1336 * localedata/locales/gu_IN (t_fmt): Likewise.
1337 * localedata/locales/hi_IN (t_fmt): Likewise.
1338 * localedata/locales/hif_FJ (t_fmt): Likewise.
1339 * localedata/locales/hne_IN (t_fmt): Likewise.
1340 * localedata/locales/kn_IN (t_fmt): Likewise.
1341 * localedata/locales/kok_IN (t_fmt): Likewise.
1342 * localedata/locales/ks_IN (t_fmt): Likewise.
1343 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
1344 * localedata/locales/mag_IN (t_fmt): Likewise.
1345 * localedata/locales/mai_IN (t_fmt): Likewise.
1346 * localedata/locales/mjw_IN (t_fmt): Likewise.
1347 * localedata/locales/ml_IN (t_fmt): Likewise.
1348 * localedata/locales/mni_IN (t_fmt): Likewise.
1349 * localedata/locales/mr_IN (t_fmt): Likewise.
1350 * localedata/locales/ms_MY (t_fmt): Likewise.
1351 * localedata/locales/pa_IN (t_fmt): Likewise.
1352 * localedata/locales/raj_IN (t_fmt): Likewise.
1353 * localedata/locales/sa_IN (t_fmt): Likewise.
1354 * localedata/locales/sat_IN (t_fmt): Likewise.
1355 * localedata/locales/sd_IN (t_fmt): Likewise.
1356 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
1357 * localedata/locales/tcy_IN (t_fmt): Likewise.
1358 * localedata/locales/the_NP (t_fmt): Likewise.
1359 * localedata/locales/to_TO (t_fmt): Likewise.
1360 * localedata/locales/ur_IN (t_fmt): Likewise.
1362 * localedata/locales/hif_FJ (d_t_fmt): Set to
1363 "%A %d %b %Y %I:%M:%S %p".
1364 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
1366 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
1367 * localedata/locales/ar_BH (t_fmt): Likewise.
1368 * localedata/locales/ar_DZ (t_fmt): Likewise.
1369 * localedata/locales/ar_EG (t_fmt): Likewise.
1370 * localedata/locales/ar_IQ (t_fmt): Likewise.
1371 * localedata/locales/ar_JO (t_fmt): Likewise.
1372 * localedata/locales/ar_KW (t_fmt): Likewise.
1373 * localedata/locales/ar_LB (t_fmt): Likewise.
1374 * localedata/locales/ar_LY (t_fmt): Likewise.
1375 * localedata/locales/ar_OM (t_fmt): Likewise.
1376 * localedata/locales/ar_QA (t_fmt): Likewise.
1377 * localedata/locales/ar_SD (t_fmt): Likewise.
1378 * localedata/locales/ar_SS (t_fmt): Likewise.
1379 * localedata/locales/ar_SY (t_fmt): Likewise.
1380 * localedata/locales/ar_TN (t_fmt): Likewise.
1381 * localedata/locales/ar_YE (t_fmt): Likewise.
1383 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
1384 (t_fmt_ampm): Likewise.
1385 * localedata/locales/gez_ET (t_fmt): Likewise.
1386 (t_fmt_ampm): Likewise.
1388 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
1389 (t_fmt_ampm): Likewise.
1390 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
1392 * localedata/locales/zh_HK (t_fmt):
1393 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
1395 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
1396 because this locale does not use the 12-hour clock.
1397 (t_fmt): Set to "%Z %H:%M:%S".
1398 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
1400 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
1401 because this locale does not use the 12-hour clock.
1402 (t_fmt): Set to "%H:%M:%S %Z".
1403 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
1405 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
1406 because this locale does not use the 12-hour clock.
1407 (t_fmt): Set to "%T".
1408 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
1409 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
1411 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
1412 because this locale does not use the 12-hour clock.
1413 (t_fmt): Set to "%H:%M:%S %Z".
1414 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
1416 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
1417 because this locale does not use the 12-hour clock.
1418 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
1419 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
1421 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
1425 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
1426 (t_fmt_ampm): Likewise.
1427 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
1428 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
1429 (d_fmt): Set to "%-d.%-m.%y".
1431 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1433 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
1434 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
1435 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
1437 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
1438 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
1439 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
1441 * support/blob_repeat.c (check_mul_overflow_size_t,
1442 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
1444 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
1446 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
1448 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
1450 regex: simplify Gnulib port
1451 This simplifies the code, by removing stuff intended for porting
1452 to Gnulib but no longer needed there.
1453 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
1454 uses of libc_hidden_def, weak_alias.
1455 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
1456 _Restrict_ except for public-facing headers.
1457 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
1458 Remove; already defined elsewhere.
1459 * posix/regex.c, posix/regex_internal.h:
1460 Use __GNUC_PREREQ instead of rolling our own.
1461 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
1463 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
1465 * benchtests/bench-strlen.c (generic_strlen): New function.
1466 (memchr_strlen): New function.
1468 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1470 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
1471 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
1472 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
1474 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1476 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1478 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
1480 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
1481 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
1482 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
1483 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
1484 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
1485 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
1486 <sysdeps/ieee754/flt-32/s_sincosf.c>.
1488 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1491 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
1492 PLT reference in libc.so.
1493 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
1494 _Q_lltoq and _Q_qtod PLT references in libc.so.
1496 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1498 * benchtests/bench-memchr.c: Cleanup defines.
1499 * benchtests/bench-memcmp.c: Likewise.
1500 * benchtests/bench-memset.c: Likewise.
1501 * benchtests/bench-memset-large.c: Likewise.
1502 * benchtests/bench-memset-walk.c: Likewise.
1503 * benchtests/bench-stpcpy.c: Likewise.
1504 * benchtests/bench-stpncpy.c: Likewise.
1505 * benchtests/bench-strcat.c: Likewise.
1506 * benchtests/bench-strchr.c: Likewise.
1507 * benchtests/bench-strcmp.c: Likewise.
1508 * benchtests/bench-strcpy.c: Likewise.
1509 * benchtests/bench-strcspn.c: Likewise.
1510 * benchtests/bench-string.h: Likewise.
1511 * benchtests/bench-strlen.c: Likewise.
1512 * benchtests/bench-strncat.c: Likewise.
1513 * benchtests/bench-strncmp.c: Likewise.
1514 * benchtests/bench-strncpy.c: Likewise.
1515 * benchtests/bench-strnlen.c: Likewise.
1516 * benchtests/bench-strpbrk.c: Likewise.
1517 * benchtests/bench-strrchr.c: Likewise.
1518 * benchtests/bench-strspn.c: Likewise.
1520 2018-12-21 Joseph Myers <joseph@codesourcery.com>
1522 * stdlib/longlong.h: Update from GCC.
1525 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
1526 * configure: Regenerated.
1527 * manual/install.texi (Tools for Compilation): Update minimum GCC
1529 * INSTALL: Regenerated.
1531 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
1533 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
1535 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
1537 * malloc/malloc.c (mremap_chunk): Additional checks.
1539 2018-12-21 Mao Han <han_mao@c-sky.com>
1541 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
1542 * scripts/build-many-glibcs.py: Add C-SKY targets.
1543 * sysdeps/csky/Implies: New file.
1544 * sysdeps/csky/Makefile: Likewise.
1545 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
1546 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
1547 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
1548 * sysdeps/csky/abiv2/memcmp.S: Likewise.
1549 * sysdeps/csky/abiv2/memcpy.S: Likewise.
1550 * sysdeps/csky/abiv2/memmove.S: Likewise.
1551 * sysdeps/csky/abiv2/memset.S: Likewise.
1552 * sysdeps/csky/abiv2/setjmp.S: Likewise.
1553 * sysdeps/csky/abiv2/start.S: Likewise.
1554 * sysdeps/csky/abiv2/strcmp.S: Likewise.
1555 * sysdeps/csky/abiv2/strcpy.S: Likewise.
1556 * sysdeps/csky/abiv2/strlen.S: Likewise.
1557 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
1558 * sysdeps/csky/abort-instr.h: Likewise.
1559 * sysdeps/csky/atomic-machine.h: Likewise.
1560 * sysdeps/csky/bits/endian.h: Likewise.
1561 * sysdeps/csky/bits/fenv.h: Likewise.
1562 * sysdeps/csky/bits/link.h: Likewise.
1563 * sysdeps/csky/bits/setjmp.h: Likewise.
1564 * sysdeps/csky/bsd-_setjmp.S: Likewise.
1565 * sysdeps/csky/bsd-setjmp.S: Likewise.
1566 * sysdeps/csky/configure: Likewise.
1567 * sysdeps/csky/configure.ac: Likewise.
1568 * sysdeps/csky/dl-machine.h: Likewise.
1569 * sysdeps/csky/dl-procinfo.c: Likewise.
1570 * sysdeps/csky/dl-procinfo.h: Likewise.
1571 * sysdeps/csky/dl-sysdep.h: Likewise.
1572 * sysdeps/csky/dl-tls.h: Likewise.
1573 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
1574 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
1575 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
1576 * sysdeps/csky/fpu/fegetenv.c: Likewise.
1577 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
1578 * sysdeps/csky/fpu/fegetmode.c: Likewise.
1579 * sysdeps/csky/fpu/fegetround.c: Likewise.
1580 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
1581 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
1582 * sysdeps/csky/fpu/fenv_private.h: Likewise.
1583 * sysdeps/csky/fpu/fesetenv.c: Likewise.
1584 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
1585 * sysdeps/csky/fpu/fesetmode.c: Likewise.
1586 * sysdeps/csky/fpu/fesetround.c: Likewise.
1587 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
1588 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
1589 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
1590 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
1591 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
1592 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
1593 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
1594 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
1595 * sysdeps/csky/fpu_control.h: Likewise.
1596 * sysdeps/csky/gccframe.h: Likewise.
1597 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
1598 * sysdeps/csky/ldsodefs.h: Likewise.
1599 * sysdeps/csky/libc-tls.c: Likewise.
1600 * sysdeps/csky/linkmap.h: Likewise.
1601 * sysdeps/csky/machine-gmon.h: Likewise.
1602 * sysdeps/csky/memusage.h: Likewise.
1603 * sysdeps/csky/nofpu/Implies: Likewise.
1604 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
1605 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
1606 * sysdeps/csky/nptl/Makefile: Likewise.
1607 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
1608 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
1609 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
1610 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
1611 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
1612 * sysdeps/csky/nptl/tls.h: Likewise.
1613 * sysdeps/csky/preconfigure: Likewise.
1614 * sysdeps/csky/sfp-machine.h: Likewise.
1615 * sysdeps/csky/sotruss-lib.c: Likewise.
1616 * sysdeps/csky/stackinfo.h: Likewise.
1617 * sysdeps/csky/sysdep.h: Likewise.
1618 * sysdeps/csky/tininess.h: Likewise.
1619 * sysdeps/csky/tst-audit.h: Likewise.
1620 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
1621 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
1622 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
1623 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
1624 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
1625 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
1626 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
1627 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
1628 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
1629 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
1630 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
1631 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
1632 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
1633 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
1634 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
1635 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
1636 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
1637 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
1638 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
1639 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
1640 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
1641 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
1642 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
1643 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1644 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
1645 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
1646 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1647 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
1648 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
1649 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
1650 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
1651 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
1652 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
1653 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
1654 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
1655 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
1656 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
1657 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
1658 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
1659 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
1660 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
1661 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
1662 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
1663 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
1665 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1667 * include/time.h (__difftime64): Add.
1668 * time/difftime.c (subtract): convert to 64-bit time.
1669 * time/difftime.c (__difftime64): Add.
1670 * time/difftime.c (__difftime): Wrap around __difftime64.
1672 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1674 * manual/examples/add.c: Remove redundant "if not".
1675 * manual/examples/argp-ex1.c: Likewise.
1676 * manual/examples/argp-ex2.c: Likewise.
1677 * manual/examples/argp-ex3.c: Likewise.
1678 * manual/examples/argp-ex4.c: Likewise.
1679 * manual/examples/atexit.c: Likewise.
1680 * manual/examples/db.c: Likewise.
1681 * manual/examples/dir.c: Likewise.
1682 * manual/examples/dir2.c: Likewise.
1683 * manual/examples/execinfo.c: Likewise.
1684 * manual/examples/filecli.c: Likewise.
1685 * manual/examples/filesrv.c: Likewise.
1686 * manual/examples/fmtmsgexpl.c: Likewise.
1687 * manual/examples/genpass.c: Likewise.
1688 * manual/examples/inetcli.c: Likewise.
1689 * manual/examples/inetsrv.c: Likewise.
1690 * manual/examples/isockad.c: Likewise.
1691 * manual/examples/longopt.c: Likewise.
1692 * manual/examples/memopen.c: Likewise.
1693 * manual/examples/memstrm.c: Likewise.
1694 * manual/examples/mkdirent.c: Likewise.
1695 * manual/examples/mkfsock.c: Likewise.
1696 * manual/examples/mkisock.c: Likewise.
1697 * manual/examples/mygetpass.c: Likewise.
1698 * manual/examples/pipe.c: Likewise.
1699 * manual/examples/popen.c: Likewise.
1700 * manual/examples/rprintf.c: Likewise.
1701 * manual/examples/search.c: Likewise.
1702 * manual/examples/select.c: Likewise.
1703 * manual/examples/setjmp.c: Likewise.
1704 * manual/examples/sigh1.c: Likewise.
1705 * manual/examples/sigusr.c: Likewise.
1706 * manual/examples/stpcpy.c: Likewise.
1707 * manual/examples/strdupa.c: Likewise.
1708 * manual/examples/strftim.c: Likewise.
1709 * manual/examples/subopt.c: Likewise.
1710 * manual/examples/swapcontext.c: Likewise.
1711 * manual/examples/termios.c: Likewise.
1712 * manual/examples/testopt.c: Likewise.
1713 * manual/examples/testpass.c: Likewise.
1714 * manual/examples/timeval_subtract.c: Likewise.
1716 2018-12-19 Joseph Myers <joseph@codesourcery.com>
1718 * sysdeps/x86/fpu/math_private.h: New file.
1719 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
1721 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
1726 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1728 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
1729 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
1730 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
1731 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
1733 (_dl_show_auxv): Give a special treatment to
1734 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
1735 and AT_L3_CACHEGEOMETRY.
1736 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
1737 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
1738 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
1739 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
1741 2018-12-19 Andreas Schwab <schwab@suse.de>
1743 * nscd/connections.c (check_use): Don't abort on invalid len.
1745 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1747 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
1748 values in the 64bit value cases.
1750 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
1756 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
1762 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
1765 (__gmtime64_r): Add.
1767 (__gmtime64_r): Add.
1768 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1774 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
1777 (__localtime64_r): Add.
1779 (__localtime64_r): Add.
1780 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
1782 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1784 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
1785 kernel_sigction definition.
1787 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
1789 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
1791 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
1792 __syscall_rt_sigaction.
1793 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
1794 (kernel_sigaction): Use Linux generic defintion.
1796 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
1797 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
1798 (__syscall_rt_sigaction): Remove implementation.
1799 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
1801 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
1802 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
1803 INTERNAL_SYSCALL): Remove definitions.
1804 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
1805 action and signal set size.
1806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
1807 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
1809 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1810 James Clarke <jrtc27@jrtc27.com>
1813 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
1814 Define if SA_RESTORER is defined.
1815 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
1816 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
1818 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
1819 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
1821 (HAS_SA_RESTORER): Define.
1822 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
1823 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
1824 (HAS_SA_RESTORER): Define.
1825 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
1826 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
1827 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
1828 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
1829 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1831 2018-12-18 Joseph Myers <joseph@codesourcery.com>
1833 * sysdeps/unix/sysv/linux/kernel-features.h
1834 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
1835 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1836 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
1837 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1838 (__ASSUME_ST_INO_64_BIT): Likewise.
1839 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1840 <kernel-features.h>.
1841 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1842 Remove conditional code.
1843 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1844 <kernel-features.h>.
1845 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1846 Remove conditional code.
1847 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
1848 <kernel-features.h>.
1849 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
1850 Remove conditional code.
1851 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
1852 <kernel-features.h>.
1853 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
1854 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
1856 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1858 * sysdeps/s390/multiarch/ifunc-resolve.h
1859 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
1860 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
1861 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
1862 Delete macro definition.
1863 (s390_libc_ifunc_init): Rename to
1864 s390_libc_ifunc_expr_stfle_init.
1865 * sysdeps/s390/bzero: Use
1866 s390_libc_ifunc_expr_stfle_init instead of
1867 s390_libc_ifunc_init.
1868 * sysdeps/s390/memcmp.c: Likewise.
1869 * sysdeps/s390/memcpy.c: Likewise.
1870 * sysdeps/s390/mempcpy.c: Likewise.
1871 * sysdeps/s390/memset.c: Likewise.
1873 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1875 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
1876 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
1878 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1880 * sysdeps/s390/multiarch/Makefile
1881 (sysdep_routines): Remove wmemcmp variants.
1882 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
1883 * sysdeps/s390/multiarch/ifunc-impl-list.c
1884 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
1885 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
1886 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
1887 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
1888 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
1889 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
1890 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
1891 * sysdeps/s390/ifunc-wmemcmp.h: New file.
1893 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1895 * sysdeps/s390/multiarch/Makefile
1896 (sysdep_routines): Remove wmemset variants.
1897 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
1898 * sysdeps/s390/multiarch/ifunc-impl-list.c
1899 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
1900 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
1901 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
1902 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
1903 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
1904 * sysdeps/s390/multiarch/wmemset.c: Move to ...
1905 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
1906 * sysdeps/s390/ifunc-wmemset.h: New file.
1908 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1910 * sysdeps/s390/multiarch/Makefile
1911 (sysdep_routines): Remove wmemchr variants.
1912 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
1913 * sysdeps/s390/multiarch/ifunc-impl-list.c
1914 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
1915 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
1916 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
1917 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
1918 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
1919 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
1920 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
1921 * sysdeps/s390/ifunc-wmemchr.h: New file.
1923 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1925 * sysdeps/s390/multiarch/Makefile
1926 (sysdep_routines): Remove wcscspn variants.
1927 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
1928 * sysdeps/s390/multiarch/ifunc-impl-list.c
1929 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
1930 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
1931 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
1932 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
1933 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
1934 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
1935 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
1936 * sysdeps/s390/ifunc-wcscspn.h: New file.
1938 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1940 * sysdeps/s390/multiarch/Makefile
1941 (sysdep_routines): Remove wcspbrk variants.
1942 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
1943 * sysdeps/s390/multiarch/ifunc-impl-list.c
1944 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
1945 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
1946 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
1947 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
1948 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
1949 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
1950 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
1951 * sysdeps/s390/ifunc-wcspbrk.h: New file.
1953 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1955 * sysdeps/s390/multiarch/Makefile
1956 (sysdep_routines): Remove wcsspn variants.
1957 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
1958 * sysdeps/s390/multiarch/ifunc-impl-list.c
1959 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
1960 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
1961 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
1962 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
1963 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
1964 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
1965 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
1966 * sysdeps/s390/ifunc-wcsspn.h: New file.
1968 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1970 * sysdeps/s390/multiarch/Makefile
1971 (sysdep_routines): Remove wcsrchr variants.
1972 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
1973 * sysdeps/s390/multiarch/ifunc-impl-list.c
1974 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
1975 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
1976 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
1977 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
1978 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
1979 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
1980 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
1981 * sysdeps/s390/ifunc-wcsrchr.h: New file.
1983 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
1985 * sysdeps/s390/multiarch/Makefile
1986 (sysdep_routines): Remove wcschrnul variants.
1987 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
1988 * sysdeps/s390/multiarch/ifunc-impl-list.c
1989 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
1990 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
1991 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
1992 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
1993 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
1994 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
1995 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
1996 * sysdeps/s390/ifunc-wcschrnul.h: New file.
1998 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2000 * sysdeps/s390/multiarch/Makefile
2001 (sysdep_routines): Remove wcschr variants.
2002 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
2003 * sysdeps/s390/multiarch/ifunc-impl-list.c
2004 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
2005 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
2006 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
2007 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
2008 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
2009 * sysdeps/s390/multiarch/wcschr.c: Move to ...
2010 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
2011 * sysdeps/s390/ifunc-wcschr.h: New file.
2013 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2015 * sysdeps/s390/multiarch/Makefile
2016 (sysdep_routines): Remove wcsncmp variants.
2017 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
2018 * sysdeps/s390/multiarch/ifunc-impl-list.c
2019 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
2020 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
2021 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
2022 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
2023 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
2024 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
2025 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
2026 * sysdeps/s390/ifunc-wcsncmp.h: New file.
2028 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2030 * sysdeps/s390/multiarch/Makefile
2031 (sysdep_routines): Remove wcscmp variants.
2032 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
2033 * sysdeps/s390/multiarch/ifunc-impl-list.c
2034 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
2035 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
2036 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
2037 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
2038 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
2039 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
2040 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
2041 * sysdeps/s390/ifunc-wcscmp.h: New file.
2043 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2045 * sysdeps/s390/multiarch/Makefile
2046 (sysdep_routines): Remove wcsncat variants.
2047 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
2048 * sysdeps/s390/multiarch/ifunc-impl-list.c
2049 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
2050 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
2051 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
2052 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
2053 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
2054 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
2055 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
2056 * sysdeps/s390/ifunc-wcsncat.h: New file.
2058 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2060 * sysdeps/s390/multiarch/Makefile
2061 (sysdep_routines): Remove wcscat variants.
2062 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
2063 * sysdeps/s390/multiarch/ifunc-impl-list.c
2064 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
2065 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
2066 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
2067 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
2068 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
2069 * sysdeps/s390/multiarch/wcscat.c: Move to ...
2070 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
2071 * sysdeps/s390/ifunc-wcscat.h: New file.
2073 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2075 * sysdeps/s390/multiarch/Makefile
2076 (sysdep_routines): Remove wcpncpy variants.
2077 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
2078 * sysdeps/s390/multiarch/ifunc-impl-list.c
2079 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
2080 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
2081 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
2082 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
2083 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
2084 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
2085 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
2086 * sysdeps/s390/ifunc-wcpncpy.h: New file.
2088 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2090 * sysdeps/s390/multiarch/Makefile
2091 (sysdep_routines): Remove wcsncpy variants.
2092 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
2093 * sysdeps/s390/multiarch/ifunc-impl-list.c
2094 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
2095 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
2096 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
2097 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
2098 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
2099 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
2100 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
2101 * sysdeps/s390/ifunc-wcsncpy.h: New file.
2103 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2105 * sysdeps/s390/multiarch/Makefile
2106 (sysdep_routines): Remove wcpcpy variants.
2107 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
2108 * sysdeps/s390/multiarch/ifunc-impl-list.c
2109 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
2110 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
2111 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
2112 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
2113 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
2114 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
2115 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
2116 * sysdeps/s390/ifunc-wcpcpy.h: New file.
2118 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2120 * sysdeps/s390/multiarch/Makefile
2121 (sysdep_routines): Remove wcscpy variants.
2122 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
2123 * sysdeps/s390/multiarch/ifunc-impl-list.c
2124 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
2125 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
2126 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
2127 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
2128 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
2129 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
2130 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
2131 * sysdeps/s390/ifunc-wcscpy.h: New file.
2133 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2135 * sysdeps/s390/multiarch/Makefile
2136 (sysdep_routines): Remove wcsnlen variants.
2137 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
2138 * sysdeps/s390/multiarch/ifunc-impl-list.c
2139 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
2140 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
2141 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
2142 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
2143 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
2144 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
2145 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
2146 * sysdeps/s390/ifunc-wcsnlen.h: New file.
2148 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2150 * sysdeps/s390/multiarch/Makefile
2151 (sysdep_routines): Remove wcslen variants.
2152 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
2153 * sysdeps/s390/multiarch/ifunc-impl-list.c
2154 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
2155 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
2156 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
2157 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
2158 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
2159 * sysdeps/s390/multiarch/wcslen.c: Move to ...
2160 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
2161 * sysdeps/s390/ifunc-wcslen.h: New file.
2163 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2165 * sysdeps/s390/multiarch/Makefile
2166 (sysdep_routines): Remove memrchr variants.
2167 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
2168 * sysdeps/s390/multiarch/ifunc-impl-list.c
2169 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
2170 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
2171 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
2172 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
2173 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
2174 * sysdeps/s390/multiarch/memrchr.c: Move to ...
2175 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
2176 * sysdeps/s390/ifunc-memrchr.h: New file.
2178 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2180 * sysdeps/s390/multiarch/Makefile
2181 (sysdep_routines): Remove memccpy variants.
2182 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
2183 * sysdeps/s390/multiarch/ifunc-impl-list.c
2184 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
2185 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
2186 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
2187 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
2188 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
2189 * sysdeps/s390/multiarch/memccpy.c: Move to ...
2190 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
2191 * sysdeps/s390/ifunc-memccpy.h: New file.
2193 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2195 * sysdeps/s390/multiarch/Makefile
2196 (sysdep_routines): Remove rawmemchr variants.
2197 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
2198 * sysdeps/s390/multiarch/ifunc-impl-list.c
2199 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
2200 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
2201 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
2202 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
2203 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
2204 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
2205 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
2206 * sysdeps/s390/ifunc-rawmemchr.h: New file.
2208 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2210 * sysdeps/s390/multiarch/Makefile
2211 (sysdep_routines): Remove memchr variants.
2212 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
2213 * sysdeps/s390/multiarch/ifunc-impl-list.c
2214 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
2215 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
2216 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
2217 * sysdeps/s390/multiarch/memchr.c: Move to ...
2218 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
2219 * sysdeps/s390/ifunc-memchr.h: New file.
2220 * sysdeps/s390/s390-64/memchr.S: Move to ...
2221 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
2222 for 31/64bit and ifunc handling.
2223 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
2224 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2225 * sysdeps/s390/s390-32/memchr.S: Likewise.
2227 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2229 * sysdeps/s390/multiarch/Makefile
2230 (sysdep_routines): Remove strcspn variants.
2231 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
2232 * sysdeps/s390/multiarch/ifunc-impl-list.c
2233 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
2234 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
2235 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
2236 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
2237 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
2238 * sysdeps/s390/multiarch/strcspn.c: Move to ...
2239 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
2240 * sysdeps/s390/ifunc-strcspn.h: New file.
2242 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2244 * sysdeps/s390/multiarch/Makefile
2245 (sysdep_routines): Remove strpbrk variants.
2246 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
2247 * sysdeps/s390/multiarch/ifunc-impl-list.c
2248 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
2249 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
2250 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
2251 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
2252 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
2253 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
2254 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
2255 * sysdeps/s390/ifunc-strpbrk.h: New file.
2257 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2259 * sysdeps/s390/multiarch/Makefile
2260 (sysdep_routines): Remove strspn variants.
2261 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
2262 * sysdeps/s390/multiarch/ifunc-impl-list.c
2263 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
2264 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
2265 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
2266 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
2267 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
2268 * sysdeps/s390/multiarch/strspn.c: Move to ...
2269 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
2270 * sysdeps/s390/ifunc-strspn.h: New file.
2272 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2274 * sysdeps/s390/multiarch/Makefile
2275 (sysdep_routines): Remove strrchr variants.
2276 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
2277 * sysdeps/s390/multiarch/ifunc-impl-list.c
2278 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
2279 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
2280 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
2281 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
2282 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
2283 * sysdeps/s390/multiarch/strrchr.c: Move to ...
2284 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
2285 * sysdeps/s390/ifunc-strrchr.h: New file.
2287 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2289 * sysdeps/s390/multiarch/Makefile
2290 (sysdep_routines): Remove strchrnul variants.
2291 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
2292 * sysdeps/s390/multiarch/ifunc-impl-list.c
2293 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
2294 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
2295 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
2296 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
2297 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
2298 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
2299 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
2300 * sysdeps/s390/ifunc-strchrnul.h: New file.
2302 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2304 * sysdeps/s390/multiarch/Makefile
2305 (sysdep_routines): Remove strchr variants.
2306 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
2307 * sysdeps/s390/multiarch/ifunc-impl-list.c
2308 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
2309 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
2310 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
2311 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
2312 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
2313 * sysdeps/s390/multiarch/strchr.c: Move to ...
2314 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
2315 * sysdeps/s390/ifunc-strchr.h: New file.
2317 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2319 * sysdeps/s390/multiarch/Makefile
2320 (sysdep_routines): Remove strncmp variants.
2321 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
2322 * sysdeps/s390/multiarch/ifunc-impl-list.c
2323 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
2324 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
2325 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
2326 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
2327 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
2328 * sysdeps/s390/multiarch/strncmp.c: Move to ...
2329 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
2330 * sysdeps/s390/ifunc-strncmp.h: New file.
2332 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2334 * sysdeps/s390/multiarch/Makefile
2335 (sysdep_routines): Remove strcmp variants.
2336 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
2337 * sysdeps/s390/multiarch/ifunc-impl-list.c
2338 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
2339 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
2340 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
2341 * sysdeps/s390/multiarch/strcmp.c: Move to ...
2342 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
2343 * sysdeps/s390/ifunc-strcmp.h: New file.
2344 * sysdeps/s390/s390-64/strcmp.S: Move to ...
2345 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
2346 for 31/64bit and ifunc handling.
2347 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
2348 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2349 * sysdeps/s390/s390-32/strcmp.S: Likewise.
2351 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2353 * sysdeps/s390/multiarch/Makefile
2354 (sysdep_routines): Remove strncat variants.
2355 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
2356 * sysdeps/s390/multiarch/ifunc-impl-list.c
2357 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
2358 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
2359 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
2360 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
2361 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
2362 * sysdeps/s390/multiarch/strncat.c: Move to ...
2363 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
2364 * sysdeps/s390/ifunc-strncat.h: New file.
2366 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2368 * sysdeps/s390/multiarch/Makefile
2369 (sysdep_routines): Remove strcat variants.
2370 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
2371 * sysdeps/s390/multiarch/ifunc-impl-list.c
2372 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
2373 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
2374 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
2375 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
2376 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
2377 * sysdeps/s390/multiarch/strcat.c: Move to ...
2378 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
2379 * sysdeps/s390/ifunc-strcat.h: New file.
2381 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2383 * sysdeps/s390/multiarch/Makefile
2384 (sysdep_routines): Remove stpncpy variants.
2385 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
2386 * sysdeps/s390/multiarch/ifunc-impl-list.c
2387 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
2388 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
2389 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
2390 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
2391 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
2392 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
2393 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
2394 * sysdeps/s390/ifunc-stpncpy.h: New file.
2396 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2398 * sysdeps/s390/multiarch/Makefile
2399 (sysdep_routines): Remove strncpy variants.
2400 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
2401 * sysdeps/s390/multiarch/ifunc-impl-list.c
2402 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
2403 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
2404 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
2405 * sysdeps/s390/multiarch/strncpy.c: Move to ...
2406 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
2407 * sysdeps/s390/ifunc-strncpy.h: New file.
2408 * sysdeps/s390/s390-64/strncpy.S: Move to ...
2409 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
2410 and adjust ifunc handling.
2411 * sysdeps/s390/s390-32/strncpy.S: Move to ...
2412 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
2413 and adjust ifunc handling.
2414 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
2415 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2417 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2419 * sysdeps/s390/multiarch/Makefile
2420 (sysdep_routines): Remove stpcpy variants.
2421 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
2422 * sysdeps/s390/multiarch/ifunc-impl-list.c
2423 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
2424 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
2425 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
2426 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
2427 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
2428 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
2429 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
2430 * sysdeps/s390/ifunc-stpcpy.h: New file.
2432 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2434 * sysdeps/s390/multiarch/Makefile
2435 (sysdep_routines): Remove strcpy variants.
2436 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
2437 * sysdeps/s390/multiarch/ifunc-impl-list.c
2438 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
2439 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
2440 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
2441 * sysdeps/s390/multiarch/strcpy.c: Move to ...
2442 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
2443 * sysdeps/s390/ifunc-strcpy.h: New file.
2444 * sysdeps/s390/s390-64/strcpy.S: Move to ...
2445 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
2446 for 31/64bit and ifunc handling.
2447 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
2448 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2449 * sysdeps/s390/s390-32/strcpy.S: Likewise.
2451 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2453 * sysdeps/s390/multiarch/Makefile
2454 (sysdep_routines): Remove strnlen variants.
2455 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
2456 * sysdeps/s390/multiarch/ifunc-impl-list.c
2457 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
2458 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
2459 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
2460 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
2461 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
2462 * sysdeps/s390/multiarch/strnlen.c: Move to ...
2463 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
2464 * sysdeps/s390/ifunc-strnlen.h: New file.
2466 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2468 * sysdeps/s390/multiarch/Makefile
2469 (sysdep_routines): Remove strlen variants.
2470 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
2471 * sysdeps/s390/multiarch/ifunc-impl-list.c
2472 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
2473 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
2474 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
2475 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
2476 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
2477 * sysdeps/s390/multiarch/strlen.c: Move to ...
2478 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
2479 * sysdeps/s390/ifunc-strlen.h: New file.
2481 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2483 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
2484 * sysdeps/s390/multiarch/ifunc-impl-list.c
2485 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
2486 * sysdeps/s390/ifunc-memmem.h: New file.
2487 * sysdeps/s390/memmem.c: Likewise.
2488 * sysdeps/s390/memmem-c.c: Likewise.
2489 * sysdeps/s390/memmem-vx.c: Likewise.
2491 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2493 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
2494 * sysdeps/s390/multiarch/ifunc-impl-list.c
2495 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
2496 * sysdeps/s390/ifunc-strstr.h: New file.
2497 * sysdeps/s390/strstr.c: Likewise.
2498 * sysdeps/s390/strstr-c.c: Likewise.
2499 * sysdeps/s390/strstr-vx.c: Likewise.
2501 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2503 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
2504 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
2505 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
2506 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
2508 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
2509 * sysdeps/s390/memmove-c.c: New file.
2510 * sysdeps/s390/memmove.c: Likewise.
2511 * sysdeps/s390/multiarch/ifunc-impl-list.c
2512 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
2514 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2516 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
2517 * sysdeps/s390/configure.ac: Add check for z13 support.
2518 * sysdeps/s390/configure: Regenerated.
2520 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2522 * sysdeps/s390/memcopy.h: New file.
2524 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2526 * sysdeps/s390/s390-32/bcopy.S: Remove.
2527 * sysdeps/s390/s390-64/bcopy.S: Likewise.
2529 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2531 * sysdeps/s390/ifunc-memcpy.h: New File.
2532 * sysdeps/s390/memcpy.S: Move to ...
2533 * sysdeps/s390/memcpy-z900.S ... here.
2534 Move implementations from memcpy-s390x.s to here.
2535 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
2536 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2537 Remove memcpy/mempcpy variants.
2538 * sysdeps/s390/Makefile (sysdep_routines):
2539 Add memcpy/mempcpy variants.
2540 * sysdeps/s390/multiarch/ifunc-impl-list.c
2541 (__libc_ifunc_impl_list): Adjust ifunc variants for
2543 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
2545 * sysdeps/s390/memcpy.c: ... here.
2546 Adjust ifunc variants for memcpy.
2547 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
2548 * sysdeps/s390/mempcpy.c: ... here.
2549 Adjust ifunc variants for mempcpy.
2550 * sysdeps/s390/mempcpy.S: Delete file.
2552 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2554 * sysdeps/s390/s390-64/memcpy.S: Move to ...
2555 * sysdeps/s390/memcpy.S: ... here.
2556 Adjust to be usable for 31/64bit.
2557 * sysdeps/s390/s390-32/memcpy.S: Delete File.
2558 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
2559 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
2560 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2561 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
2562 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
2563 Adjust to be usable for 31/64bit.
2564 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
2565 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
2566 * sysdeps/s390/multiarch/memcpy.c: ... here.
2567 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
2569 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2571 * sysdeps/s390/ifunc-memcmp.h: New File.
2572 * sysdeps/s390/memcmp.S: Move to ...
2573 * sysdeps/s390/memcmp-z900.S ... here.
2574 Move implementations from memcmp-s390x.s to here.
2575 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
2576 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2577 Remove memcmp variants.
2578 * sysdeps/s390/Makefile (sysdep_routines):
2579 Add memcmp variants.
2580 * sysdeps/s390/multiarch/ifunc-impl-list.c
2581 (__libc_ifunc_impl_list): Adjust ifunc variants for
2583 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
2585 * sysdeps/s390/memcmp.c: ... here.
2586 Adjust ifunc variants for memcmp.
2588 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2590 * sysdeps/s390/s390-64/memcmp.S: Move to ...
2591 * sysdeps/s390/memcmp.S: ... here.
2592 Adjust to be usable for 31/64bit.
2593 * sysdeps/s390/s390-32/memcmp.S: Delete File.
2594 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
2595 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2597 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2598 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
2599 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
2600 Adjust to be usable for 31/64bit.
2601 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
2602 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
2603 * sysdeps/s390/multiarch/memcmp.c: ... here.
2604 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
2606 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2608 * sysdeps/s390/s390-32/bzero.S: Delete file.
2609 * sysdeps/s390/s390-64/bzero.S: Likewise.
2610 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
2611 * sysdeps/s390/bzero.c: New file.
2612 * sysdeps/s390/memset-z900.S: Add bzero entry points.
2613 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
2614 * sysdeps/s390/multiarch/ifunc-impl-list.c
2615 (__libc_ifunc_impl_list): Add bzero ifunc variants.
2617 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2619 * sysdeps/s390/ifunc-memset.h: New File.
2620 * sysdeps/s390/memset.S: Move to ...
2621 * sysdeps/s390/memset-z900.S ... here.
2622 Move implementations from memset-s390x.s to here.
2623 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
2624 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
2625 Remove memset variants.
2626 * sysdeps/s390/Makefile (sysdep_routines):
2627 Add memset variants.
2628 * sysdeps/s390/multiarch/ifunc-impl-list.c
2629 (__libc_ifunc_impl_list): Adjust ifunc variants for
2631 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
2633 * sysdeps/s390/memset.c: ... here.
2634 Adjust ifunc variants for memset.
2636 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2638 * sysdeps/s390/s390-64/memset.S: Move to ...
2639 * sysdeps/s390/memset.S: ... here.
2640 Adjust to be usable for 31/64bit.
2641 * sysdeps/s390/s390-32/memset.S: Delete File.
2642 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
2643 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2645 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
2646 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
2647 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
2648 Adjust to be usable for 31/64bit.
2649 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
2650 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
2651 * sysdeps/s390/multiarch/memset.c: ... here.
2652 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
2654 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2656 * sysdeps/s390/multiarch/ifunc-resolve.h
2657 (s390_libc_ifunc_init, s390_libc_ifunc,
2658 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
2660 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
2662 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
2663 * sysdeps/s390/configure.ac: Add check for z10 support.
2664 * sysdeps/s390/configure: Regenerated.
2666 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
2668 * sysdeps/i386/atomic-machine.h: Merged with ...
2669 * sysdeps/x86_64/atomic-machine.h: To ...
2670 * sysdeps/x86/atomic-machine.h: This. New file.
2672 2018-12-18 Florian Weimer <fweimer@redhat.com>
2674 Rewrite locale/gen-translit.pl in Python.
2675 * locale/Makefile (generated): Add C-translit.h.
2676 (before-compile): Add $(objpfx)C-translit.h.
2677 (C-translit.h): Move to $(objpfx). Create target directory.
2678 Build using Python script.
2679 * locale/gen-translit.py: New file.
2680 * locale/gen-translit.pl: Remove file.
2681 * locale/C-translit.h.in: Change comment character to '#' for
2682 easier parsing without a C preprocessor.
2683 * locale/C-translit.h: Remove generated file.
2684 * manual/install.texi (Tools for Compilation): Do not mention
2686 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2687 Remove locale/C-translit.h.
2688 * scripts/update-copyrights: Likewise.
2689 * INSTALL: Regenerate.
2691 2018-12-18 Florian Weimer <fweimer@redhat.com>
2694 * localedata/locales/bi_VU: Remove executable bit from file.
2696 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
2699 (__localtime64): Add.
2700 * manual/maint.texi: Document Y2038 symbol handling.
2702 (__localtime64): Add.
2703 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
2705 2018-12-17 Joseph Myers <joseph@codesourcery.com>
2707 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
2710 * scripts/glibcextract.py (compare_macro_consts): Take parameters
2711 to allow extra macros from first or second sources.
2712 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
2713 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
2714 (tests-special): Add $(objpfx)tst-mman-consts.out.
2715 ($(objpfx)tst-mman-consts.out): New makefile target.
2717 2018-12-17 Mao Han <han_mao@c-sky.com>
2719 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
2720 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
2721 without stat64 system call support.
2722 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2723 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
2724 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2725 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
2726 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
2727 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
2728 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
2729 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
2730 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
2731 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
2732 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
2734 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
2736 regex: fix storage-exhaustion error
2738 * posix/regexec.c (get_subexp):
2739 Do not continue if storage is exhausted.
2741 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
2743 regex: fix heap-use-after-free error
2745 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
2746 https://debbugs.gnu.org/32592
2747 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
2748 call extend_buffers which reallocates the re_string_t internal buffer.
2749 Local variable 'buf' was not updated in such case, resulting in
2751 * posix/regexec.c (get_subexp): Update 'buf' after call to
2754 2018-12-15 Florian Weimer <fweimer@redhat.com>
2756 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
2757 (minimum_stride_size): Use it.
2758 (support_blob_repeat_allocate): Likewise.
2760 2018-12-14 Joseph Myers <joseph@codesourcery.com>
2762 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
2767 2018-12-14 Florian Weimer <fweimer@redhat.com>
2769 * manual/process.texi (Process Creation Concepts): Remove
2770 documentation of process (ID) lifetime. List more process
2771 creation functions. Reference Process Identification section.
2772 (Process Identification): Add information about process ID
2773 lifetime. Describe Linux thread/task IDs.
2774 * manual/signal.texi (Signaling Another Process): Mention that the
2775 signal is always sent to the process.
2777 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2779 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
2780 and tst-ldbl-efgcvt.
2781 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
2782 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
2783 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
2784 (fcvt_tests, output_error, output_r_error, do_test): Use the
2785 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
2786 select the type of floating-point variables and arguments; to
2787 produce extra tests for double and conversion specifiers for
2788 printf; and to set the names of called functions.
2789 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
2790 in tst-efgcvt-template.c.
2791 * misc/tst-ldbl-efgcvt.c: Likewise.
2793 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
2795 * nss/Makefile (tst-nss-test3.out): New rule.
2797 2018-12-13 Joseph Myers <joseph@codesourcery.com>
2799 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
2802 2018-12-13 fanjinke <fanjinke@hygon.cn>
2804 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
2807 2018-12-13 Andreas Schwab <schwab@suse.de>
2810 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
2811 (__pthread_rwlock_rdlock_full): Update expected value for
2812 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
2813 * nptl/tst-rwlock-pwn.c: New file.
2814 * nptl/Makefile (tests): Add tst-rwlock-pwn.
2816 2018-12-12 Joseph Myers <joseph@codesourcery.com>
2818 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
2821 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2823 * benchtests/scripts/compare_bench.py (do_compare): write to
2824 stderr in casestat is not present.
2825 * benchtests/scripts/compare_bench.py (plot_graphs): write to
2826 stderr in case timings field is not present. Also string showing
2827 the output filename goes into the stderr.
2829 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2831 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
2832 and ZeroDivisorError exceptions.
2833 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
2834 argument to loop through user provided statistics.
2835 * benchtests/scripts/compare_bench.py (main): Include the --stats
2838 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
2840 * benchtests/scripts/compare_bench.py (compare_runs): Continue
2843 2018-12-12 Florian Weimer <fweimer@redhat.com>
2845 * sysdeps/posix/timespec_get.c: Add missing “any later version”
2846 clause to copyright header.
2848 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2851 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
2852 registers saved in the stack frame.
2853 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
2854 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
2856 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2858 * include/bits/monetary-ldbl.h: New file.
2859 * include/bits/printf-ldbl.h: Likewise.
2860 * include/bits/stdio-ldbl.h: Likewise.
2861 * include/bits/stdlib-ldbl.h: Likewise.
2862 * include/bits/syslog-ldbl.h: Likewise.
2863 * include/bits/wchar-ldbl.h: Likewise.
2865 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2867 * libio/libio.h: Remove redirection for _IO_vfprintf.
2869 2018-12-11 Andreas Schwab <schwab@suse.de>
2871 * Makerules: Remove all references to abilist-pattern.
2872 (update-all-abi): Simplify find expression.
2874 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2877 * math/auto-libm-test-in: Add new test case.
2878 * math/auto-libm-test-out-pow: Regenerated.
2879 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
2881 2018-12-10 DJ Delorie <dj@redhat.com>
2884 * support/test-container.c: Move postclean step to before we
2887 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2889 * scripts/gen-as-const.py (main): Handle --python option.
2890 * scripts/gen-py-const.awk: Remove.
2891 * Makerules (py-const-script): Use gen-as-const.py.
2892 ($(py-const)): Likewise.
2893 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
2894 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
2895 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
2896 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
2897 ~PTHREAD_MUTEX_NO_ELISION_NP.
2898 * manual/README.pretty-printers: Update reference to
2901 * scripts/glibcextract.py: New file.
2902 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
2903 or tempfile. Import glibcexctract.
2904 (compute_c_consts): Remove. Moved to glibcextract.py.
2905 (gen_test): Update reference to compute_c_consts.
2907 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
2908 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
2909 * sysdeps/unix/sysv/linux/Makefile
2910 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
2911 Redirect stderr as well as stdout.
2913 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
2916 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
2917 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
2918 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
2919 ALWAYS_USE_VSYSCALL.
2920 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
2921 ALWAYS_USE_VSYSCALL.
2922 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
2923 ALWAYS_USE_VSYSCALL.
2925 2018-12-10 Florian Weimer <fweimer@redhat.com>
2928 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
2929 offset instead of count for clarity. Fix typo in comment.
2930 (__old_getdents64): Keep track of previous offset. Use it to call
2932 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
2933 that d_off is never zero.
2935 2018-12-10 Andreas Schwab <schwab@suse.de>
2937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
2938 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
2939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
2940 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
2941 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
2943 2018-12-10 Joseph Myers <joseph@codesourcery.com>
2945 * timezone/private.h: Update from tzcode 2018g.
2946 * timezone/tzfile.h: Likewise.
2947 * timezone/tzselect.ksh: Likewise.
2948 * timezone/zdump.c: Likewise.
2949 * timezone/zic.c: Likewise.
2951 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2954 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
2955 (do_test): Adjust buffer size and fix format.
2957 2018-12-07 DJ Delorie <dj@redhat.com>
2960 * malloc/tst-tcfree3.c: New.
2961 * malloc/Makefile: Add it.
2963 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2965 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
2967 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2969 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
2970 used as a mask for the mode argument of __vfscanf_internal and
2971 __vfwscanf_internal.
2972 * stdio-common/vfscanf-internal.c
2973 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
2974 (__strtof128_internal): Define to __wcstof128_internal.
2975 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
2976 __strtof128_internal or __wcstof128_internal when the format of
2977 long double is the same as _Float128.
2979 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
2981 * include/unistd.h (__confstr): Add prototype and hidden prototype.
2982 * posix/confstr.c (confstr): Rename to __confstr.
2983 (__confstr): Add hidden def.
2984 (confstr): Add weak alias for __confstr.
2985 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
2988 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
2990 * NEWS: Mention getcpu.
2991 * include/sched.h (__getcpu): New libc_hidden_proto.
2992 * manual/resource.texi: Document getcpu.
2993 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
2994 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
2995 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
2996 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2997 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2998 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2999 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3000 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3001 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3002 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3003 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3004 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3005 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3007 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3008 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3009 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
3016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
3018 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3019 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3020 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3021 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3022 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3023 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3024 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3025 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3026 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
3027 * sysdeps/unix/sysv/linux/getcpu.c: New file.
3028 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
3031 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3033 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
3035 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
3037 2018-12-07 Florian Weimer <fweimer@redhat.com>
3040 * posix/Makefile (routines): Add spawn_faction_addfchdir.
3041 * posix/Versions (GLIBC_2.29): Export
3042 posix_spawn_file_actions_addfchdir_np.
3043 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
3044 * posix/spawn_faction_destroy.c
3045 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
3046 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
3047 and the field action.fchdir_action.
3048 * posix/tst-spawn-chdir.c (add_chdir): New function.
3049 (do_test): Add do_fchdir loop. Call add_chdir.
3050 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
3051 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3052 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3053 posix_spawn_file_actions_addfchdir_np.
3054 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3056 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3058 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3059 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3061 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3063 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3065 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3067 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3069 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3071 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3072 (GLIBC_2.29): Likewise.
3073 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3074 (GLIBC_2.29): Likewise.
3075 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3076 (GLIBC_2.29): Likewise.
3077 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3078 (GLIBC_2.29): Likewise.
3079 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3082 (GLIBC_2.29): Likewise.
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3084 (GLIBC_2.29): Likewise.
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3086 (GLIBC_2.29): Likewise.
3087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3088 (GLIBC_2.29): Likewise.
3089 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3091 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3093 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3095 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3096 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3098 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3100 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3102 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3105 2018-12-06 Joseph Myers <joseph@codesourcery.com>
3107 * manual/texinfo.tex: Update to version 2018-09-21.20 with
3108 trailing whitespace removed.
3109 * scripts/config.guess: Update to version 2018-11-28.
3110 * scripts/config.sub: Update to version 2018-11-28.
3111 * scripts/install-sh: Update to version 2018-03-11.20.
3112 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
3113 * scripts/move-if-change: Update to version 2018-03-07 03:47.
3115 2018-12-07 Florian Weimer <fweimer@redhat.com>
3119 * inet/tst-if_index-long.c: New file.
3120 * inet/Makefile (tests): Add tst-if_index-long.
3122 2018-12-07 Florian Weimer <fweimer@redhat.com>
3124 * support/check.h (support_record_failure_is_failed): Declare.
3125 * support/descriptors.h: New file.
3126 * support/support_descriptors.c: Likewise.
3127 * support/tst-support_descriptors.c: Likewise.
3128 * support/support_record_failure.c
3129 (support_record_failure_is_failed): New function.
3130 * support/Makefile (libsupport-routines): Add support_descriptors.
3131 (tests): Add tst-support_descriptors.
3133 2018-12-05 Zack Weinberg <zackw@panix.com>
3134 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3136 * stdio-common/vfprintf-internal.c
3137 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
3138 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
3139 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
3140 and __no_long_double.
3141 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
3142 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
3143 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
3144 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
3145 and __nldbl_*syslog* functions.
3146 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
3147 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
3148 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
3149 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
3150 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
3151 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
3152 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
3153 (__nldbl_vwprintf, __nldbl_wprintf):
3154 Directly call the appropriate __v*printf_internal routine, passing
3155 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
3157 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
3158 (__nldbl___printf_chk, __nldbl___snprintf_chk)
3159 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
3160 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
3161 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
3162 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3163 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
3164 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
3165 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
3166 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
3167 Likewise, and also pass PRINTF_FORTIFY when appropriate.
3168 (__nldbl_syslog, __nldbl_vsyslog):
3169 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
3170 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3172 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
3175 2018-12-05 Zack Weinberg <zackw@panix.com>
3176 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3179 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
3180 Moved here from debug/vsprintf_chk.c.
3181 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
3182 and completion logic for the strfile to match exactly what
3183 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
3184 _IO_str_init_static_internal instead of maxlen-1.
3185 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3186 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
3187 __vsprintf_internal.
3189 * debug/vsprintf_chk.c (__vsprintf_chk)
3190 * debug/sprintf_chk.c (__sprintf_chk):
3191 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
3192 'flags' argument is positive, and slen as maxlen. No need to lock
3193 the FILE and/or construct a temporary FILE. Minimize and normalize
3194 header inclusions and variable names. Do not libc_hidden_def anything.
3196 * debug/asprintf_chk.c (__asprintf_chk)
3197 * debug/dprintf_chk.c (__dprintf_chk)
3198 * debug/fprintf_chk.c (__fprintf_chk)
3199 * debug/fwprintf_chk.c (__fwprintf_chk)
3200 * debug/printf_chk.c (__printf_chk)
3201 * debug/snprintf_chk.c (__snprintf_chk)
3202 * debug/swprintf_chk.c (__swprintf_chk)
3203 * debug/vasprintf_chk.c (__vasprintf_chk)
3204 * debug/vdprintf_chk.c (__vdprintf_chk)
3205 * debug/vfprintf_chk.c (__vfprintf_chk)
3206 * debug/vfwprintf_chk.c (__vfwprintf_chk)
3207 * debug/vprintf_chk.c (__vprintf_chk)
3208 * debug/vsnprintf_chk.c (__vsnprintf_chk)
3209 * debug/vswprintf_chk.c (__vswprintf_chk)
3210 * debug/vwprintf_chk.c (__vwprintf_chk)
3211 * debug/wprintf_chk.c (__wprintf_chk):
3212 Directly call the corresponding vxxprintf_internal function, passing
3213 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
3214 the FILE and/or construct a temporary FILE. Minimize and normalize
3215 header inclusions and variable names. Do not libc_hidden_def anything.
3217 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
3218 __obstack_vprintf_internal.
3219 (__obstack_vprintf_chk): Convert into a wrapper that calls
3220 __obstack_vprintf_internal (these two functions already had the
3221 same code) and move to new file...
3222 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
3224 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
3225 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
3226 * debug/Makefile (routines): Add vobprintf_chk.
3228 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
3229 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
3230 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
3231 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
3232 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
3233 (__nldbl___obstack_vfprintf_chk):
3234 Directly call the corresponding vxxprintf_internal function,
3235 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
3236 duplicate comparison of slen with 0 or maxlen from the corresponding
3237 non-__nldbl function.
3239 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
3240 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
3241 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
3242 Remove libc_hidden_proto.
3244 * stdio-common/vfprintf-internal.c
3245 (__vfprintf_internal, __vfwprintf_internal):
3246 Do not check _IO_FLAGS2_FORTIFY.
3247 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
3248 * libio/libioP.h: Update prototype of __vsprintf_internal and add
3249 a comment explaining why it has the maxlen argument.
3250 (_IO_acquire_lock_clear_flags2_fct): Remove.
3251 (_IO_acquire_lock_clear_flags2): Remove.
3252 (_IO_release_lock): Remove conditional statement which will
3254 (_IO_acquire_lock): Remove variable which is now unused.
3255 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3256 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
3258 * stdio-common/Makefile (tests): Add tst-bz11319 and
3259 tst-bz11319-fortify2.
3260 (CFLAGS-tst-bz11319-fortify2.c): New macro.
3261 * stdio-common/tst-bz11319-fortify2.c: New file.
3262 * stdio-common/tst-bz11319.c: Likewise.
3264 2018-12-05 Zack Weinberg <zackw@panix.com>
3265 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3267 * misc/syslog.c: Include libioP.h, not iolibio.h.
3268 (__vsyslog_internal): New function with the former body of
3269 __vsyslog_chk; takes mode_flags argument same as
3270 __v*printf_internal. Call __vfprintf_internal directly.
3272 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
3273 Remove libc_hidden_def.
3274 (__syslog, __syslog_chk): Use __vsyslog_internal.
3275 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
3277 * include/sys/syslog.h: Add multiple inclusion guard.
3278 Add prototype for __vsyslog_internal.
3279 Remove declaration and libc_hidden_proto for __vsyslog_chk.
3281 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
3282 Use __vsyslog_internal.
3284 2018-12-05 Zack Weinberg <zackw@panix.com>
3285 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3287 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
3288 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
3289 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
3291 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
3292 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
3294 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
3295 Include wctype.h here if COMPILE_WPRINTF is defined.
3296 Define __vfprintf_internal or __vfwprintf_internal, depending
3298 Temporarily, on entry to this function, update mode_flags
3299 according to the environmental settings corresponding to
3300 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
3301 Throughout, check mode_flags instead of __ldbl_is_dbl and
3302 _IO_FLAGS2_FORTIFY on the destination FILE.
3303 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
3304 Include vfprintf-internal.c. Don't include wctype.h.
3305 * stdio-common/vfprintf.c: New file. Just define __vfprintf
3306 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
3308 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
3309 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
3311 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
3313 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
3314 and add mode_flags argument; use __vfprintf_internal.
3315 (__vdprintf): New function. Alias vdprintf to this.
3316 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
3317 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
3318 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
3319 (__obstack_printf): Use __obstack_printf_internal.
3320 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
3321 public aliases __vsnprintf and vsnprintf.
3322 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
3324 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
3325 public aliases _IO_vsprintf and vsprintf.
3326 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
3327 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
3328 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
3329 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
3330 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
3332 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
3333 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
3334 * stdio-common/fprintf.c, stdio-common/fxprintf.c
3335 * stdio-common/printf.c: Use __vfprintf_internal.
3337 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
3338 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
3339 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
3341 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
3342 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
3343 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
3344 __vfwprintf_internal.
3346 * libio/libio.h: Remove libc_hidden_proto and declaration for
3348 Remove declaration of _IO_vfwprintf.
3349 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
3351 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
3353 * include/stdio.h: Add prototype for __vasprintf.
3354 (__vsnprintf): Remove declaration, because there are no more
3356 * include/wchar.h (__vfwprintf, __vswprintf): Remove
3357 declaration, because there are no more internal calls.
3359 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
3360 __vsnprintf_internal, instead of _IO_vsnprintf.
3361 * argp/argp-help.c (__argp_error, __argp_failure): Use
3362 __vasprintf_internal, instead of _IO_vasprintf.
3363 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
3364 redefine, because there are no more internal calls.
3366 2018-12-05 Zack Weinberg <zackw@panix.com>
3367 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3369 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
3370 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
3371 Include libio/strfile.h instead of libioP.h.
3372 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
3373 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
3374 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
3375 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
3376 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
3377 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
3378 necessary. Do not set __no_long_double. Normalize variable names.
3379 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
3380 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
3381 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
3382 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
3383 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
3384 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
3385 Call __vfscanf_internal / __vfwscanf_internal directly, passing
3386 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
3387 Do not set __no_long_double. Normalize variable names.
3389 2018-12-05 Zack Weinberg <zackw@panix.com>
3390 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3392 * stdio-common/isoc99_scanf.c
3393 * stdio-common/isoc99_fscanf.c
3394 * stdio-common/isoc99_sscanf.c
3395 * stdio-common/isoc99_vscanf.c
3396 * stdio-common/isoc99_vfscanf.c
3397 * stdio-common/isoc99_vsscanf.c
3398 * wcsmbs/isoc99_wscanf.c
3399 * wcsmbs/isoc99_fwscanf.c
3400 * wcsmbs/isoc99_swscanf.c
3401 * wcsmbs/isoc99_vwscanf.c
3402 * wcsmbs/isoc99_vfwscanf.c
3403 * wcsmbs/isoc99_vswscanf.c:
3404 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
3405 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
3406 No need to lock and unlock the FILE passed to that function.
3408 * stdio-common/vfscanf-internal.c
3409 (__vfscanf_internal, __vfwscanf_internal):
3410 Don't look at _IO_FLAGS2_SCANF_STD.
3411 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
3412 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
3413 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
3415 2018-12-05 Zack Weinberg <zackw@panix.com>
3416 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3418 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
3419 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
3420 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
3421 * libio/strfile.h: Add multiple inclusion guard.
3422 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
3424 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
3425 consistency with the other version of this file.
3426 (ldbl_compat_symbol): New macro.
3427 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
3430 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
3431 Define __vfscanf_internal or __vfwscanf_internal, depending on
3432 COMPILE_WSCANF; don't define any other public symbols.
3433 Remove errval and code to set errp.
3434 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
3435 as the mode_flags argument.
3436 (encode_error, conv_error, input_error): Don't set errval.
3437 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
3438 Include vfscanf-internal.c.
3439 * stdio-common/vfscanf.c: New file defining the public entry
3440 point vfscanf, which calls __vfscanf_internal.
3441 * stdio-common/vfwscanf.c: New file defining the public entry
3442 point vfwscanf, which calls __vfwscanf_internal.
3444 * stdio-common/iovfscanf.c: New file.
3445 * stdio-common/iovfwscanf.c: Likewise.
3447 * stdio-common/Makefile (routines): Add vfscanf-internal,
3448 vfwscanf-internal, iovfscanf, iovfwscanf.
3449 * stdio-common/Versions: Mention GLIBC_2.29, so that
3450 it can be used in SHLIB_COMPAT expressions.
3451 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
3452 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
3453 Call __vfscanf_internal, instead of _IO_vfscanf.
3454 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
3456 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
3459 * libio/iovsscanf.c: Clean up includes, when possible. Use
3460 _IO_strfile_read or _IO_strfile_readw, when needed. Call
3461 __vfscanf_internal or __vfwscanf_internal directly.
3462 * libio/iovswscanf.c: Likewise.
3463 * libio/swscanf.c: Likewise.
3464 * libio/vscanf.c: Likewise.
3465 * libio/vwscanf.c: Likewise.
3466 * libio/wscanf.c: Likewise.
3467 * stdio-common/isoc99_fscanf.c: Likewise.
3468 * stdio-common/isoc99_scanf.c: Likewise.
3469 * stdio-common/isoc99_sscanf.c: Likewise.
3470 * stdio-common/isoc99_vfscanf.c: Likewise.
3471 * stdio-common/isoc99_vscanf.c: Likewise.
3472 * stdio-common/isoc99_vsscanf.c: Likewise.
3473 * stdio-common/scanf.c: Likewise.
3474 * stdio-common/sscanf.c: Likewise.
3475 * wcsmbs/isoc99_fwscanf.c: Likewise.
3476 * wcsmbs/isoc99_swscanf.c: Likewise.
3477 * wcsmbs/isoc99_vfwscanf.c: Likewise.
3478 * wcsmbs/isoc99_vswscanf.c: Likewise.
3479 * wcsmbs/isoc99_vwscanf.c: Likewise.
3480 * wcsmbs/isoc99_wscanf.c: Likewise.
3482 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
3485 (__tz_compute): Replace time_t with __time64_t.
3486 (__tz_convert): Replace time_t* with __time64_t.
3487 (__offtime): Replace time_t* with __time64_t.
3489 (__gmtime_r): Adjust call to __tz_convert.
3492 (__localtime_r): Likewise.
3493 (localtime): Likewise.
3494 * time/offtime.c: Replace time_t with __time64_t.
3495 * time/tzset.c: Likewise.
3497 2018-12-04 Joseph Myers <joseph@codesourcery.com>
3499 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
3500 dynamic linker unless [$(run-built-tests) = yes].
3502 2018-12-03 DJ Delorie <dj@delorie.com>
3504 * support/test-container.c (check_for_unshare_hints): New.
3505 (main): Call it if unshare fails. Add support for "su" scriptlet
3508 2018-12-03 Joseph Myers <joseph@codesourcery.com>
3510 * scripts/gen-as-const.py (compute_c_consts): Take an argument
3511 'START' to indicate that start text should be output.
3512 (gen_test): Likewise.
3513 (main): Generate 'START' for first symbol or '--' line, or at end
3514 of input if not previously generated.
3516 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
3519 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
3520 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
3521 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
3522 ALWAYS_USE_VSYSCALL.
3524 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3527 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
3530 2018-12-03 Carlos O'Donell <carlos@redhat.com>
3533 * locale/programs/localedef.c: Declare boolean hard_links default true.
3534 (options): Add --no-hard-links option.
3535 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
3536 * locale/programs/localedef.h: Declare prototype for hard_links.
3537 * locale/programs/locfile.c (write_locale_data): Don't use hard
3538 links if hard_links is false.
3540 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
3542 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
3544 (__cache_sysconf): Likewise.
3545 (init_cacheinfo): Likewise.
3546 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
3547 populate COMMON_CPUID_INDEX_80000007 and
3548 COMMON_CPUID_INDEX_80000008.
3549 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
3550 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
3551 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
3552 (init_cpu_features): Use _Static_assert on
3553 index_arch_Fast_Unaligned_Load.
3554 __get_cpuid_registers and __get_arch_feature. Updated for
3555 cpu_features_basic. Set stepping in cpu_features.
3556 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
3557 (FEATURE_INDEX_2): New.
3558 (FEATURE_INDEX_MAX): Changed to enum.
3559 (COMMON_CPUID_INDEX_D_ECX_1): New.
3560 (COMMON_CPUID_INDEX_80000007): Likewise.
3561 (COMMON_CPUID_INDEX_80000008): Likewise.
3562 (cpuid_registers): Likewise.
3563 (cpu_features_basic): Likewise.
3564 (CPU_FEATURE_USABLE): Likewise.
3565 (bit_arch_XXX_Usable): Likewise.
3566 (cpu_features): Use cpuid_registers and cpu_features_basic.
3567 (bit_arch_XXX): Reweritten.
3568 (bit_cpu_XXX): Likewise.
3569 (index_cpu_XXX): Likewise.
3570 (reg_XXX): Likewise.
3571 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
3573 (CHECK_CPU_FEATURE): New.
3574 (CHECK_CPU_FEATURE_USABLE): Likewise.
3575 (cpu_kinds): Likewise.
3576 (do_test): Print vendor, family, model and stepping. Check
3577 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
3578 (TEST_FUNCTION): Removed.
3579 Include <support/test-driver.c> instead of
3580 "../../test-skeleton.c".
3581 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
3582 Check POPCNT instead of POPCOUNT.
3583 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
3585 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3587 * scripts/gen-as-const.py (main): Avoid emitting empty line when
3588 there is no element in `consts'.
3590 2018-12-01 Florian Weimer <fweimer@redhat.com>
3592 * support/support_capture_subprocess.c
3593 (support_capture_subprocess): Check that pipe descriptors have
3594 expected values. Close original pipe descriptors in subprocess.
3596 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
3599 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
3600 attr with __pthread_default_barrierattr.
3601 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
3602 attr with __pthread_default_condattr.
3603 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
3604 attr with __pthread_default_mutexattr.
3605 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
3606 attr with __pthread_default_rwlockattr.
3608 2018-12-01 Kemi Wang <kemi.wang@intel.com>
3610 * manual/tunables.texi (POSIX Thread Tunables): New node.
3611 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
3612 * nptl/nptl-init.c: Include pthread_mutex_conf.h
3613 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
3614 __pthread_tunables_init.
3615 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
3616 (max_adaptive_count): Define.
3617 * nptl/pthread_mutex_conf.c: New file.
3618 * nptl/pthread_mutex_conf.h: New file.
3619 * sysdeps/generic/adaptive_spin_count.h: New file.
3620 * sysdeps/nptl/dl-tunables.list: New file.
3621 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3622 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
3623 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
3626 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
3629 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
3630 * stdlib/on_exit.c (__on_exit): Likewise.
3631 * stdlib/Makefile (tests): Add tst-bz20544.
3632 * stdlib/tst-bz20544.c: New test.
3634 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
3637 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
3638 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
3641 2018-11-30 Florian Weimer <fweimer@redhat.com>
3643 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
3644 Extend error logging.
3645 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
3648 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3650 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
3651 __sigismember instead of sigismember.
3652 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
3653 cancel_handler): New definitions.
3654 (do_system): Use posix_spawn instead of fork and execl and remove
3656 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
3657 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
3658 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
3659 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3660 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3661 * sysdeps/unix/sysv/linux/system.c: Likewise.
3665 * NEWS: Add new semantic for atfork with popen and system.
3666 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
3669 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3672 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
3673 modification order when accessing reloc_result->addr.
3674 * include/link.h (reloc_result): Add field init.
3675 * nptl/Makefile (tests): Add tst-audit-threads.
3676 (modules-names): Add tst-audit-threads-mod1 and
3677 tst-audit-threads-mod2.
3678 Add rules to build tst-audit-threads.
3679 * nptl/tst-audit-threads-mod1.c: New file.
3680 * nptl/tst-audit-threads-mod2.c: Likewise.
3681 * nptl/tst-audit-threads.c: Likewise.
3682 * nptl/tst-audit-threads.h: Likewise.
3684 2018-11-30 Joseph Myers <joseph@codesourcery.com>
3686 * scripts/gen-as-const.py: New file.
3687 * scripts/gen-as-const.awk: Remove.
3688 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
3690 ($(objpfx)test-as-const-%.c): Likewise.
3692 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3694 * elf/dl-exception.c: Include <_itoa.h>.
3696 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3698 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
3699 returned by __f_setlk.
3701 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
3702 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3704 * elf/Makefile (tests-internal): Add tst-create_format1.
3705 * elf/dl-exception.c (_dl_exception_create_format): Support
3707 * elf/tst-create_format1.c: New file.
3709 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
3711 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
3712 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
3714 * argp/argp-help.c (__argp_failure): Likewise.
3716 2018-11-29 Mao Han <han_mao@c-sky.com>
3718 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
3719 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
3720 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
3721 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
3722 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
3723 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
3724 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
3725 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
3726 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
3727 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
3728 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
3729 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
3730 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
3731 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
3732 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
3733 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
3734 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
3735 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
3736 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
3737 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
3738 (R_CKCORE_TLS_TPOFF32): New defines.
3740 2018-11-29 Florian Weimer <fweimer@redhat.com>
3742 * posix/Makefile (before-compile): Remove testcases.h and
3744 (generated): Add testcases.h and ptestcases.h.
3745 (testcases.h, ptestcases.h): Move to $(objpfx).
3746 (runtests.o): Add dependency on testcases.h.
3747 (runptests.o): Add dependency on ptestcases.h.
3748 * posix/testcases.h, posix/ptestcases.h: Remove files.
3749 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
3750 not touch posix/testcases.h and posix/ptestcases.h.
3752 2018-11-28 Florian Weimer <fweimer@redhat.com>
3754 support: Add signal support to support_capture_subprocess_check.
3755 * support/capture_subprocess.h (support_capture_subprocess_check):
3756 Adjust comment and rename parameter.
3757 * support/support_capture_subprocess_check.c
3758 (print_actual_status): New function.
3759 (support_capture_subprocess_check): Support negative
3760 status_or_signal. Call print_actual_status.
3761 * support/tst-support_capture_subprocess.c (do_test): Call
3762 support_capture_subprocess_check.
3763 * libio/tst-vtables-common.c (termination_status)
3764 (init_termination_status): Remove.
3765 (check_for_termination): Adjust support_capture_subprocess_check
3767 (do_test): Remove call to init_termination_status.
3769 2018-11-28 Joseph Myers <joseph@codesourcery.com>
3771 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
3772 source directory instead of a copy.
3773 (CommandList.create_copy_dir): Remove.
3775 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
3777 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3779 2018-11-28 Florian Weimer <fweimer@redhat.com>
3781 * support/support.h (support_quote_string): Do not use str
3784 2018-11-27 Joseph Myers <joseph@codesourcery.com>
3786 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
3787 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
3789 2018-11-27 Florian Weimer <fweimer@redhat.com>
3791 * support/support.h (support_quote_string): Declare.
3792 * support/support_quote_string.c: New file.
3793 * support/tst-support_quote_string.c: Likewise.
3794 * support/Makefile (libsupport-routines): Add
3795 support_quote_string.
3796 (tests): Add tst-support_quote_string.
3798 2018-11-27 Florian Weimer <fweimer@redhat.com>
3802 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
3803 descriptor leak in case of ENODEV error.
3805 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
3808 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
3809 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
3810 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
3812 2018-11-26 Carlos O'Donell <carlos@redhat.com>
3814 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
3815 Error for unknown lines.
3817 2018-11-26 Joseph Myers <joseph@codesourcery.com>
3819 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
3820 Touch additional files.
3822 2018-11-26 Florian Weimer <fweimer@redhat.com>
3825 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
3828 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
3831 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
3832 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
3833 SHARED. Include sysdep.h.
3834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3835 ALWAYS_USE_VSYSCALL.
3836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3837 ALWAYS_USE_VSYSCALL.
3839 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
3842 * nptl/Makefile (tests-static): Add tst-cond11-static.
3844 * nptl/tst-cond11-static.c: New File.
3845 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
3846 tst-affinity-static.
3848 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
3850 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
3851 (USE_VSYSCALL): Likewise.
3852 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
3853 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
3855 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
3857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
3860 2018-11-23 Joseph Myers <joseph@codesourcery.com>
3863 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3864 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
3867 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
3869 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
3870 (tst-cet-legacy-1a-ARGS): New.
3871 ($(objpfx)tst-cet-legacy-1a): New target.
3872 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
3874 2018-11-22 Joseph Myers <joseph@codesourcery.com>
3876 * conform/conformtest.py (CompileSubTest.__init__): Set
3877 self.run_early to False.
3878 (ExecuteSubTest.__init__): Likewise.
3879 (HeaderTests.run): Try running all non-optional, non-XFAILed
3880 compilation tests in a single execution of the compiler.
3882 * conform/conformtest.py (CompileSubTest): New class.
3883 (ExecuteSubTest): Likewise.
3884 (ElementTest.run): Rename to gen_subtests. Append tests to
3885 self.subtests instead of running them.
3886 (ConstantTest.run): Likewise.
3887 (SymbolTest.run): Likewise.
3888 (TypeTest.run): Likewise.
3889 (TagTest.run): Likewise.
3890 (FunctionTest.run): Likewise.
3891 (VariableTest.run): Likewise.
3892 (MacroFunctionTest.run): Likewise.
3893 (MacroStrTest.run): Likewise.
3894 (HeaderTests.handle_test_line): Generate subtests for tests.
3895 (HeaderTests.run): Run subtests for tests.
3897 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3899 * math/Versions (GLIBC_2.29): Add pow.
3900 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
3902 * math/w_pow.c: New file.
3903 * sysdeps/i386/fpu/w_pow.c: New file.
3904 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
3905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
3906 and add necessary aliases.
3907 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
3908 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
3909 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3910 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3911 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3912 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3913 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3914 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3915 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3916 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3917 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3918 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3919 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3920 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3921 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3926 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3927 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3928 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3929 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3930 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3931 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3932 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3933 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
3935 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
3936 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
3937 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
3939 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3941 * math/Versions (GLIBC_2.29): Add log2.
3942 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
3944 * math/w_log2.c: New file.
3945 * sysdeps/i386/fpu/w_log2.c: New file.
3946 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
3947 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
3948 and add necessary aliases.
3949 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
3950 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
3951 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3952 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3953 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3954 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3955 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3956 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3957 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3958 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3959 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3960 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3961 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3962 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
3963 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
3968 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
3969 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
3970 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
3971 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
3972 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
3973 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
3974 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
3976 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3978 * math/Versions (GLIBC_2.29): Add log.
3979 * math/w_log_compat.c (__log_compat): Change to versioned compat
3981 * math/w_log.c: New file.
3982 * sysdeps/i386/fpu/w_log.c: New file.
3983 * sysdeps/ia64/fpu/e_log.S: Update.
3984 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
3985 and add necessary aliases.
3986 * sysdeps/ieee754/dbl-64/w_log.c: New file.
3987 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
3988 * sysdeps/mach/hurd/i386/libm.abilist: Update.
3989 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
3990 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
3991 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
3992 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
3993 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3994 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
3995 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
3996 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
3997 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
3998 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
3999 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4000 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4005 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4006 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4007 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4008 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4009 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4010 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4011 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4012 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
4014 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
4015 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
4016 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
4017 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
4019 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
4021 * math/Versions (GLIBC_2.29): Add exp and exp2.
4022 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
4023 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
4024 * math/w_exp_compat.c (__exp_compat): Likewise.
4025 * math/w_exp.c: New file.
4026 * math/w_exp2.c: New file.
4027 * sysdeps/i386/fpu/w_exp.c: New file.
4028 * sysdeps/i386/fpu/w_exp2.c: New file.
4029 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
4030 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
4031 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
4032 and add necessary aliases.
4033 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
4034 and add necessary aliases.
4035 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
4036 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
4037 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
4038 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
4039 * sysdeps/mach/hurd/i386/libm.abilist: Update.
4040 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
4041 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
4042 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
4043 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
4044 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
4045 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
4046 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
4047 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
4048 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
4049 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
4050 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
4051 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
4052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
4053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
4054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
4055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
4056 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
4057 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
4058 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
4059 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
4060 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
4061 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
4062 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
4063 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
4064 (__ieee754_exp): Rename to __exp.
4065 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
4066 (__ieee754_exp): Rename to __exp.
4067 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
4068 (__ieee754_exp): Rename to __exp.
4069 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
4071 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
4073 2018-11-20 DJ Delorie <dj@redhat.com>
4075 * malloc/malloc.c (tcache_entry): Add key field.
4076 (tcache_put): Set it.
4077 (tcache_get): Likewise.
4078 (_int_free): Check for double free in tcache.
4079 * malloc/tst-tcfree1.c: New.
4080 * malloc/tst-tcfree2.c: New.
4081 * malloc/Makefile: Run the new tests.
4082 * manual/probes.texi: Document memory_tcache_double_free probe.
4084 * dlfcn/dlerror.c (check_free): Prevent double frees.
4086 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
4088 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
4090 2018-11-20 Joseph Myers <joseph@codesourcery.com>
4092 * conform/conformtest.py (ElementTest.run): Use unique identifiers
4093 in tests. Use names for format arguments.
4094 (ConstantTest.run): Likewise.
4095 (SymbolTest.run): Likewise.
4096 (TypeTest.run): Likewise.
4097 (TagTest.run): Likewise.
4098 (FunctionTest.run): Likewise.
4099 (VariableTest.run): Likewise.
4100 (MacroFunctionTest.run): Likewise.
4101 (MacroStrTest.run): Likewise.
4102 (HeaderTests.__init__): Set self.num_tests.
4103 (HeaderTests.handle_test_line): Set test.num. Increment
4106 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4108 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
4109 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
4112 2018-11-19 Mao Han <han_mao@c-sky.com>
4114 * scripts/config.guess: Update to version 2018-08-29.
4115 * scripts/config.sub: Update to version 2018-08-29.
4117 2018-11-19 Florian Weimer <fweimer@redhat.com>
4119 support: Print timestamps in timeout handler.
4120 * support/support_test_main.c (print_timestamp): New function.
4121 (signal_handler): Use it to print the termination time and the
4122 time of the last write to standard output.
4124 2018-11-16 Zack Weinberg <zackw@panix.com>
4125 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4127 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
4128 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
4130 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
4131 and add flags argument. Check flags instead of __ldbl_is_dbl when
4132 deciding whether to set is_long_double.
4133 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
4134 passing zero for flags argument.
4135 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
4137 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4138 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
4139 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
4140 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
4141 variable names. Remove libc_hidden_def/libc_hidden_proto from
4142 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
4143 longer called from within the library.
4144 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
4145 for __nldbl___vstrfmon_l, declare it explicitly.
4147 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
4149 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
4151 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
4153 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
4154 F_SETLK64, F_SETLKW64, respectively.
4155 * sysdeps/mach/hurd/f_setlk.c: New file.
4156 * sysdeps/mach/hurd/f_setlk.h: New file.
4157 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
4159 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
4160 (__libc_fcntl): Move non-flock operations to...
4161 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
4162 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
4164 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
4166 mktime: DEBUG_MKTIME cleanup
4167 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
4168 And it’s no longer needed now that glibc and Gnulib both have
4169 their own testing mechanisms for mktime.
4170 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
4172 mktime: fix non-EOVERFLOW errno handling
4174 mktime was not properly reporting failures when the underlying
4175 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
4176 them like EOVERFLOW failures, and set errno to EOVERFLOW.
4177 The problem could happen on non-glibc platforms, with Gnulib.
4178 * time/mktime.c (guess_time_tm): Remove, replacing with ...
4179 (tm_diff): ... this simpler function, which does not change errno.
4180 All callers changed to deal with errno themselves.
4181 (ranged_convert, __mktime_internal): Return failure immediately if
4182 the underlying function reports any failure other than EOVERFLOW.
4183 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
4186 mktime: fix bug with Y2038 DST transition
4188 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
4189 mishandle a DST transition that jumps over the Y2038 boundary.
4190 No such DST transitions are known so this is only a theoretical
4191 bug, but we might as well do things right.
4193 mktime: make more room for overflow
4195 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
4196 This is so that we can add tm_diff results to a previous guess,
4197 which will be useful in a later patch.
4199 mktime: simplify offset guess
4201 * time/mktime.c (__mktime_internal): Omit excess precision.
4203 mktime: new test for mktime failure
4205 Based on a test suggested by Albert Aribaud in:
4206 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
4207 * time/Makefile (tests): Add bug-mktime4.
4208 * time/bug-mktime4.c: New file.
4210 mktime: fix EOVERFLOW bug
4212 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
4213 Include libc-config.h, not config.h, for __set_errno.
4214 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
4216 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
4218 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
4219 __attribute_copy__ to copy attributes from name. Drop static qualifier
4220 to avoid warnings about leaf attribute not having effect on static
4223 2018-11-13 Florian Weimer <fweimer@redhat.com>
4225 * malloc/malloc.c (fastbin_push_entry): New function.
4226 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
4227 (REMOVE_FB): Remove macro.
4228 (_int_malloc): Use fastbin_pop_entry and reindent.
4229 (_int_free): Use fastbin_push_entry.
4230 (malloc_consolidate): Use atomic_exchange_acquire.
4232 2018-11-13 Joseph Myers <joseph@codesourcery.com>
4234 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
4235 alias attribute, not with strong_alias.
4237 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
4238 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
4239 with additional parameter thread.
4240 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
4241 in terms of __hidden_ver2.
4242 (hidden_tls_def): New macro.
4243 (libc_hidden_tls_def): Likewise.
4244 (rtld_hidden_tls_def): Likewise.
4245 (libm_hidden_tls_def): Likewise.
4246 (libmvec_hidden_tls_def): Likewise.
4247 (libresolv_hidden_tls_def): Likewise.
4248 (librt_hidden_tls_def): Likewise.
4249 (libdl_hidden_tls_def): Likewise.
4250 (libnss_files_hidden_tls_def): Likewise.
4251 (libnsl_hidden_tls_def): Likewise.
4252 (libnss_nisplus_hidden_tls_def): Likewise.
4253 (libutil_hidden_tls_def): Likewise.
4254 (libutil_hidden_tls_def): Likweise.
4255 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
4256 libc_hidden_tls_def.
4257 (__sim_disabled_exceptions_thread): Likewise.
4258 (__sim_round_mode_thread): Likewise.
4260 * sysdeps/sparc/sparc-ifunc.h [SHARED]
4261 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
4262 copy attributes from name.
4264 2018-11-12 Joseph Myers <joseph@codesourcery.com>
4266 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
4267 Use __attribute_copy__ to copy attributes from name.
4269 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
4270 with __hidden_ver1 call.
4271 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
4272 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
4273 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
4274 (__cosf): Do not declare here.
4275 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
4276 (__sincosf): Do not declare here.
4277 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
4278 (__sinf): Do not declare here.
4280 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
4281 (__BIG_ENDIAN): Likewise.
4282 (__BYTE_ORDER): Likewise.
4283 (strong_alias): Likewise.
4284 (_strong_alias): Likewise.
4286 2018-11-12 Florian Weimer <fweimer@redhat.com>
4288 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
4289 function. Move after the definition of in_smallbin_range. Do not
4290 use __builtin_expect for paths that lead to a noreturn function.
4291 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
4292 because it is unclear whether this is in fact an unlikely
4294 (_int_malloc, _int_free): Adjust.
4295 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
4297 * malloc/arena.c (heap_trim): Likewise.
4299 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4301 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
4302 it, free it if needed.
4303 (reauthenticate): Test and use ccwdir.
4304 (child_init_port): In non-resetids case, test and use ccwdir.
4305 (child_chdir): New nested function to set ccwdir.
4306 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
4307 * hurd/hurd/port.h (_hurd_port_move): New function.
4308 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
4309 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
4310 * hurd/Versions (_hurd_port_move): Export function.
4311 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
4313 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
4314 of dtablesize for allocating dtable_cloexec.
4316 2018-11-09 Martin Sebor <msebor@redhat.com>
4318 * include/libc-symbols.h (__attribute_copy__): Define macro unless
4319 it's already defined.
4320 (_strong_alias): Use __attribute_copy__.
4321 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
4322 * misc/sys/cdefs.h (__attribute_copy__): New macro.
4323 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
4324 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
4325 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
4326 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
4327 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
4328 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
4329 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
4330 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
4331 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
4332 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
4333 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
4334 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
4335 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
4336 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
4337 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
4338 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
4339 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
4341 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4343 * misc/tst-efgcvt.c: Include support/check.h and
4344 support/test-driver.c. Do not include test-skeleton.c.
4345 (error_count): Remove.
4346 (output_error): Replace increments to error_count with calls to
4347 support_record_failure.
4348 (output_r_error): Likewise.
4349 (special): Likewise.
4350 (do_test): Unconditionally return zero.
4351 (TEST_FUNCTION): Remove.
4353 2018-11-09 Joseph Myers <joseph@codesourcery.com>
4355 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
4357 ($(linknamespace-header-tests)): Likewise.
4359 * conform/conformtest.py: New file.
4360 * conform/conformtest.pl: Remove.
4361 * conform/GlibcConform.pm: Likewise.
4362 * conform/glibcconform.py (KEYWORDS_C90): New constant.
4363 (KEYWORDS_C99): Likewise.
4364 (KEYWORDS): Likewise.
4365 * conform/Makefile ($(conformtest-header-tests)): Use
4366 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
4367 option. Use --header instead of --headers.
4368 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
4370 * conform/data/spawn.h-data: Likewise.
4371 * conform/data/fcntl.h-data (openat): Add space after function
4373 * conform/data/wchar.h-data (wcscasecmp): Likewise.
4374 (wcscasecmp_l): Likewise.
4375 * conform/data/termios.h-data (c_cc): Add space after element
4378 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4380 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
4381 instead of manually comparing and reporting mismatching strings.
4382 * misc/tst-ldbl-error.c (do_one_test): Likewise.
4383 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
4385 2018-11-08 Joseph Myers <joseph@codesourcery.com>
4387 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
4388 __ASSUME_SOCKETCALL.
4389 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4390 (__ASSUME_SOCKETCALL): Remove.
4391 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4392 (__ASSUME_SOCKETCALL): Likewise.
4393 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4394 (__ASSUME_SOCKETCALL): Likewise.
4395 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4396 (__ASSUME_SOCKETCALL): Likewise.
4397 * sysdeps/unix/sysv/linux/s390/kernel-features.h
4398 (__ASSUME_SOCKETCALL): Likewise.
4399 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4400 (__ASSUME_SOCKETCALL): Likewise.
4401 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4402 (__ASSUME_SOCKETCALL): Likewise.
4404 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
4407 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
4408 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
4409 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
4410 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
4411 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
4414 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
4417 * resolv/tst-resolv-network.c: Add test for getnetbyname.
4419 2018-11-07 Joseph Myers <joseph@codesourcery.com>
4422 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4423 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4424 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4425 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
4427 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4429 * support/support_test_compare_string.c
4430 (support_test_compare_string): Fix printf format.
4432 2018-11-07 Florian Weimer <fweimer@redhat.com>
4434 Implement TEST_COMPARE_STRING.
4435 * support/check.h (TEST_COMPARE_STRING): Define.
4436 (support_test_compare_string): Declare.
4437 * support/Makefile (libsupport-routines): Add
4438 support_test_compare_string.
4439 (tests): Add tst-test_compare_string.
4440 * support/support_test_compare_string.c: New file.
4441 * support/tst-test_compare_string.c: Likewise.
4443 2018-11-07 Andreas Schwab <schwab@suse.de>
4446 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
4447 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
4450 2018-11-06 Joseph Myers <joseph@codesourcery.com>
4453 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4454 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
4455 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
4456 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
4459 2018-11-06 Florian Weimer <fweimer@redhat.com>
4462 * posix/Makefile (routines): Add spawn_faction_addchdir.
4463 (tests): Add tst-spawn-chdir.
4464 * posix/Versions (GLIBC_2.29): Add
4465 posix_spawn_file_actions_addchdir_np.
4466 * posix/spawn_faction_addchdir.c: New file.
4467 * posix/spawn_faction_destroy.c
4468 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
4469 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
4470 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
4472 * posix/tst-spawn-chdir.c: New file.
4473 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
4474 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4475 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
4476 posix_spawn_file_actions_addchdir_np.
4477 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
4479 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
4481 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
4482 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
4484 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
4486 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
4488 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
4490 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
4492 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
4494 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4495 (GLIBC_2.29): Likewise.
4496 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4497 (GLIBC_2.29): Likewise.
4498 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4499 (GLIBC_2.29): Likewise.
4500 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4501 (GLIBC_2.29): Likewise.
4502 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
4504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4505 (GLIBC_2.29): Likewise.
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4507 (GLIBC_2.29): Likewise.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4509 (GLIBC_2.29): Likewise.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4511 (GLIBC_2.29): Likewise.
4512 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
4514 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
4516 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
4518 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
4519 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
4521 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
4523 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
4525 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
4528 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4530 * misc/Makefile (tests): Add tst-ldbl-error.
4531 * misc/tst-ldbl-error.c: New file.
4533 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4535 * misc/Makefile (tests): Add tst-ldbl-warn.
4536 * misc/tst-ldbl-warn.c: New file.
4538 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4540 * argp/Makefile (tests): Add tst-ldbl-argp.
4541 * argp/tst-ldbl-argp.c: New file.
4543 2018-11-05 Arjun Shankar <arjun@redhat.com>
4545 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
4546 __gconv_path_elem and call __gconv_get_path unconditionally.
4548 2018-11-05 Andreas Schwab <schwab@suse.de>
4551 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
4552 creating the first helper thread failed.
4554 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
4556 * sysdeps/mach/hurd/msync.c: New file.
4558 2018-11-02 Florian Weimer <fweimer@redhat.com>
4560 * support/shell-container.c (copy_func): Call
4561 support_copy_file_range instead of copy_file_range to support
4562 cross-device copies.
4564 2018-11-02 Florian Weimer <fweimer@redhat.com>
4566 * support/test-container.c: Include <libc-pointer-arith.h> for
4569 2018-11-01 Zong Li <zong@andestech.com>
4571 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
4572 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
4573 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
4574 (__FP_FRAC_SET_8): Add implementation for RV32 use.
4576 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
4577 variable to avoid overlap arguments.
4579 2018-11-01 Joseph Myers <joseph@codesourcery.com>
4581 * posix/bug-regex22.c (main): Use puts with distinct error
4582 messages for unexpected success of re_compile_pattern, not printf
4583 with NULL argument to %s.
4585 * stdio-common/bug22.c: Include <libc-diag.h>.
4586 (do_test): Disable -Wformat-overflow= warnings around fprintf
4587 calls outputting more than INT_MAX characters.
4588 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
4589 around printf call with NULL %s argument.
4592 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
4593 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
4595 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4596 (__ASSUME_RECVMSG_SYSCALL): Likewise.
4597 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4598 (__ASSUME_SENDTO_SYSCALL): Likewise.
4599 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4600 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
4602 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4603 (__ASSUME_CONNECT_SYSCALL): Likewise.
4604 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
4605 (__ASSUME_RECVFROM_SYSCALL): Likewise.
4606 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
4608 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
4610 [__LINUX_KERNEL_VERSION >= 0x040400]
4611 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4612 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
4615 (setsockopt): Likewise.
4617 2018-11-01 Fredrik Noring <noring@nocrew.org>
4619 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
4620 with the ISA override.
4622 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
4624 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
4627 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
4629 * manual/errno.texi (EIEIO): Document how translators should
4630 translate the error message.
4631 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
4632 printing trailing whitespaces refused by git.
4633 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
4634 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4635 * hurd/Makefile (user-interfaces): Add pci.
4637 2018-10-30 Joseph Myers <joseph@codesourcery.com>
4639 * conform/linknamespace.py: New file.
4640 * conform/linknamespace.pl: Remove file.
4641 * conform/Makefile ($(linknamespace-header-tests)): Use
4642 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
4645 2018-10-30 Florian Weimer <fweimer@redhat.com>
4647 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
4650 2018-10-30 Florian Weimer <fweimer@redhat.com>
4652 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
4654 2018-10-30 Florian Weimer <fweimer@redhat.com>
4656 * stdlib/tst-strtod-overflow.c (do_test): Switch to
4657 support_blob_repeat.
4659 2018-10-30 Florian Weimer <fweimer@redhat.com>
4661 Avoid spurious test failures in stdlib/test-bz22786.
4662 * support/Makefile (libsupport-routines): Add blob_repeat.
4663 (tests): Add tst-support_blob_repeat.
4664 * support/blob_repeat.h: New file.
4665 * support/blob_repeat.c: Likewise.
4666 * support/tst-support_blob_repeat.c: Likewise.
4667 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
4668 support_blob_repeat_allocate.
4670 2018-10-30 Andreas Schwab <schwab@suse.de>
4673 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
4674 Don't use tail call.
4675 * elf/tst-unwind-main.c: New file.
4676 * elf/Makefile (tests): Add tst-unwind-main.
4677 (CFLAGS-tst-unwind-main.c): Define.
4679 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
4682 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
4684 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
4686 2018-10-29 Joseph Myers <joseph@codesourcery.com>
4688 * conform/glibcconform.py: Do not import shutil.
4689 (list_exported_functions): Use tempfile.TemporaryDirectory instead
4692 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
4693 critic_missing for versions before 3.4.
4694 * configure: Regenerated.
4695 * manual/install.texi (Tools for Compilation): Document
4696 requirement for Python to build glibc.
4697 * INSTALL: Regenerated.
4698 * Rules [PYTHON]: Make code unconditional.
4699 * benchtests/Makefile [PYTHON]: Likewise.
4700 * conform/Makefile [PYTHON]: Likewise.
4701 * manual/Makefile [PYTHON]: Likewise.
4702 * math/Makefile [PYTHON]: Likewise.
4704 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4706 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
4707 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
4708 answer to interrupt_operation, return EIEIO instead of EINTR.
4709 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
4710 _hurd_intr_rpc_msg_about_to global point to start of controlled
4711 assembly snippet. Make it check canceled flag.
4712 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
4713 the _hurd_intr_rpc_msg_about_to point.
4714 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
4715 issue, remove cancel flag check.
4717 2018-10-26 Joseph Myers <joseph@codesourcery.com>
4719 * scripts/build-many-glibcs.py: Remove compatibility for missing
4720 os.cpu_count and re.fullmatch.
4722 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4725 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
4726 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
4727 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
4729 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4731 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
4734 2018-10-25 Florian Weimer <fweimer@redhat.com>
4738 XFAIL siginfo_t si_band conform test on sparc64.
4739 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4740 (__SI_BAND_TYPE): Only override long int default type on sparc64.
4741 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4742 (conformtest-xfail-conds): Add sparc64-linux.
4743 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
4745 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
4747 2018-10-25 Joseph Myers <joseph@codesourcery.com>
4749 * elf/elf.h (NT_MIPS_DSP): New macro.
4750 (NT_MIPS_FP_MODE): Likewise.
4752 2018-10-25 Zong Li <zong@andestech.com>
4754 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
4755 name by adding the file extension (.so).
4757 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
4759 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
4760 (test-xfail-ISO11/threads.h/linknamespace,
4761 test-xfail-ISO11/threads.h/conform): Add.
4763 2018-10-24 Joseph Myers <joseph@codesourcery.com>
4765 * math/gen-libm-test.py: Import os.
4766 (ALL_FLOATS_MANUAL): New constant.
4767 (ALL_FLOATS_SUFFIX): Likewise.
4768 (Ulps.all_functions): New function.
4769 (real_all_ulps): Likewise.
4770 (generate_err_table_sub): Likewise.
4771 (generate_err_table): Likewise.
4772 (main): Handle -s and -m options.
4773 * manual/libm-err-tab.pl: Remove.
4774 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
4775 instead of libm-err-tab.pl.
4776 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
4778 * manual/install.texi (Tools for Compilation): Document
4779 requirement for Python to build manual.
4780 * INSTALL: Regenerated.
4782 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4784 * bits/time64.h: New file.
4785 * include/time.h: Replace internal_time_t with __time64_t.
4786 * posix/bits/types (__time64_t): Add.
4787 * stdlib/Makefile: Add bits/time64.h to includes.
4788 * time/tzfile.c: Replace internal_time_t with __time64_t.
4790 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4792 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
4793 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
4794 __posix_spawn_file_actions_init, __posix_spawnattr_init,
4795 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
4796 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
4798 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
4799 * posix/spawn_faction_addclose.c
4800 (__posix_spawn_file_actions_addclose): Add hidden definition.
4801 * posix/spawn_faction_adddup2.c
4802 (__posix_spawn_file_actions_adddup2): Likewise.
4803 * posix/spawn_faction_destroy.c
4804 (__posix_spawn_file_actions_destroy): Likewise.
4805 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
4807 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
4808 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
4809 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
4811 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
4812 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
4815 2018-10-24 Andreas Schwab <schwab@suse.de>
4818 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
4820 * elf/cache.c (print_cache): Likewise.
4822 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
4824 * bits/timesize.h: New file.
4825 * stdlib/Makefile (headers): Add bits/timesize.h.
4826 * sysdeps/unix/sysv/linux/bits/msq-pad.h
4827 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
4828 * sysdeps/unix/sysv/linux/bits/sem-pad.h
4829 (__SEM_PAD_AFTER_TIME): Likewise.
4830 * sysdeps/unix/sysv/linux/bits/shm-pad.h
4831 (__SHM_PAD_AFTER_TIME): Likewise.
4832 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
4833 (__MSQ_PAD_BEFORE_TIME): Likewise.
4834 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
4835 (__SEM_PAD_BEFORE_TIME): Likewise.
4836 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
4837 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4838 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
4839 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
4840 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
4841 (__MSQ_PAD_BEFORE_TIME): Likewise.
4842 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
4843 (__SEM_PAD_BEFORE_TIME): Likewise.
4844 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
4845 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
4846 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
4847 (__MSQ_PAD_BEFORE_TIME): Likewise.
4848 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
4849 (__SEM_PAD_BEFORE_TIME): Likewise.
4850 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
4851 (__SHM_PAD_BEFORE_TIME): Likewise.
4852 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
4853 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
4854 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
4856 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
4858 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
4859 USE_RDTSCP is defined.
4860 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
4861 USE_RDTSCP is defined.
4863 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4865 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
4869 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
4870 independently of other flags.
4872 2018-10-23 Florian Weimer <fweimer@redhat.com>
4874 * time/tst-mktime2.c (N_STRINGS): Remove.
4875 (set_timezone): New function.
4876 (spring_forward_gap): Call it. Use FAIL_EXIT1.
4877 (mktime_test1): Report localtime failure and check errno value.
4879 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
4880 (do_test): Remove alarm call. Use set_timezone and array_length.
4882 2018-10-23 Andreas Schwab <schwab@suse.de>
4884 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
4885 (__start_context): Use END instead of PSEUDO_END.
4887 2018-10-22 Joseph Myers <joseph@codesourcery.com>
4889 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4892 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4896 * wcsmbs/c32rtomb.c: New file.
4897 * wcsmbs/mbrtoc32.c: Likewise.
4898 * wcsmbs/tst-c32-state.c: Likewise.
4899 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
4900 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
4901 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
4902 (tests): Add tst-c32-state.
4903 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
4906 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
4908 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
4909 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
4911 2018-10-19 Joseph Myers <joseph@codesourcery.com>
4914 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
4915 pair and return 0 in that case, and use saved character to
4916 interpret following character.
4917 * wcsmbs/tst-c16-surrogate.c: New file.
4918 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
4919 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
4920 Depend on $(gen-locales)
4922 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
4925 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4926 (struct siginfo_t): Use correct type for si_band.
4928 2018-10-19 Florian Weimer <fweimer@redhat.com>
4931 * resource/bits/types/struct_rusage.h (struct rusage): Update
4932 comment on struct. Remove extraneous field comment.
4934 2018-10-18 David S. Miller <davem@davemloft.net>
4936 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
4937 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
4938 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
4939 sysdep_routines in subdir elf.
4940 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
4941 version for __vdso_clock_gettime.
4942 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
4944 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4945 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4947 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4949 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
4951 * sysdeps/i386/init-arch.h: Removed.
4952 * sysdeps/i386/i586/init-arch.h: Likewise.
4953 * sysdeps/i386/i686/init-arch.h: Likewise.
4954 * sysdeps/i386/i686/hp-timing.h: Likewise.
4955 * sysdeps/x86_64/hp-timing.h: Likewise.
4956 * sysdeps/i386/isa.h: New file.
4957 * sysdeps/i386/i586/isa.h: Likewise.
4958 * sysdeps/i386/i686/isa.h: Likewise.
4959 * sysdeps/x86_64/isa.h: Likewise.
4960 * sysdeps/x86/hp-timing.h: New file.
4961 * sysdeps/x86/init-arch.h: Include <isa.h>.
4963 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4965 * math/libm-test-pow.inc (pow_test_data): Do not allow
4966 divide-by-zero exception for pow(+/- 0, -Inf).
4968 2018-10-17 Zack Weinberg <zackw@panix.com>
4970 * manual/job.texi (Job Control is Optional): Remove node, as
4971 job control has not been optional in quite some time.
4972 (Job Control): Mention briefly that systems older than
4973 POSIX.1-2001 might not support job control.
4974 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
4975 defined on systems conforming to POSIX.1-2001.
4977 2018-10-17 Arjun Shankar <arjun@redhat.com>
4980 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
4982 * (__gconv_read_conf): Mark function static.
4983 * (once): New static variable.
4984 * (__gconv_load_conf): New function.
4985 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
4986 * iconv/gconv_db.c (once): Remove static variable.
4987 * (__gconv_compare_alias): Use __gconv_load_conf instead of
4989 * (__gconv_find_transform): Likewise.
4990 * iconv/tst-iconv-mt.c: New test.
4991 * iconv/Makefile: Add tst-iconv_mt.
4993 2018-10-17 Joseph Myers <joseph@codesourcery.com>
4995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4997 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
4998 (shmatt_t): Define as __syscall_ulong_t.
4999 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
5000 and [__SHM_PAD_AFTER_TIME].
5001 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
5002 Define shm_segsz and associated padding based on
5003 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
5004 Use __syscall_ulong_t instead of unsigned long int.
5005 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
5007 [__USE_MISC] (struct shm_info): Likewise.
5008 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
5009 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
5010 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
5011 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
5012 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
5013 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
5014 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
5015 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
5016 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5017 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5018 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5022 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
5023 (SHMLBA): Remove macro.
5024 (__getpagesize): Remove function declaration.
5025 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
5027 (SHMLBA): Remove macro.
5028 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
5030 (SHMLBA): Remove macro.
5031 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
5033 (SHMLBA): Remove macro.
5034 (__getpagesize): Remove function declaration.
5035 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
5037 (SHMLBA): Remove macro.
5038 (__getshmlba): Remove function declaration.
5039 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
5040 (SHMLBA): Remove macro.
5041 (__getpagesize): Remove function declaration.
5042 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
5043 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
5044 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5045 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
5046 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
5047 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
5048 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
5049 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
5050 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
5051 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
5053 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
5056 * nptl/tst-mutex10.c: New File.
5057 * nptl/Makefile (tests): Add tst-mutex10.
5058 (tst-mutex10-ENV): New variable.
5059 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
5060 Ensure that elision path is used if elision is available.
5061 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
5063 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
5065 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
5066 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
5067 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
5068 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
5070 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
5071 (__pthread_mutex_cond_lock_adjust): Likewise.
5072 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5074 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
5075 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5076 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5077 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
5079 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5080 Use atomic_load_relaxed and atomic_store_relaxed.
5081 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
5082 Use atomic_store_relaxed.
5084 2018-10-17 Andreas Schwab <schwab@suse.de>
5086 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
5087 * crypt/badsalttest.c (TIMEOUT): Likewise.
5088 * crypt/sha256c-test.c (TIMEOUT): Likewise.
5089 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
5090 * io/test-lfs.c (TIMEOUT): Likewise.
5091 * libio/tst-atime.c (TIMEOUT): Likewise.
5092 * localedata/tst-leaks.c (TIMEOUT): Likewise.
5093 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
5094 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
5095 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
5096 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
5097 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
5098 * nptl/tst-cond11.c (TIMEOUT): Likewise.
5099 * nptl/tst-cond14.c (TIMEOUT): Likewise.
5100 * nptl/tst-cond15.c (TIMEOUT): Likewise.
5101 * nptl/tst-cond24.c (TIMEOUT): Likewise.
5102 * nptl/tst-cond25.c (TIMEOUT): Likewise.
5103 * nptl/tst-kill2.c (TIMEOUT): Likewise.
5104 * nptl/tst-kill3.c (TIMEOUT): Likewise.
5105 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
5106 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
5107 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
5108 * nptl/tst-once2.c (TIMEOUT): Likewise.
5109 * nptl/tst-once3.c (TIMEOUT): Likewise.
5110 * nptl/tst-once4.c (TIMEOUT): Likewise.
5111 * nptl/tst-robust8.c (TIMEOUT): Likewise.
5112 * nptl/tst-robust9.c (TIMEOUT): Likewise.
5113 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
5114 * nptl/tst-sem14.c (TIMEOUT): Likewise.
5115 * nptl/tst-sem6.c (TIMEOUT): Likewise.
5116 * nptl/tst-signal3.c (TIMEOUT): Likewise.
5117 * nptl/tst-spin4.c (TIMEOUT): Likewise.
5118 * nptl/tst-tls3.c (TIMEOUT): Likewise.
5119 * nptl/tst-tls4.c (TIMEOUT): Likewise.
5120 * posix/tst-chmod.c (TIMEOUT): Likewise.
5121 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
5122 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
5123 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
5124 * posix/tst-regex2.c (TIMEOUT): Likewise.
5125 * posix/tst-waitid.c (TIMEOUT): Likewise.
5126 * rt/tst-aio.c (TIMEOUT): Likewise.
5127 * rt/tst-aio10.c (TIMEOUT): Likewise.
5128 * rt/tst-aio4.c (TIMEOUT): Likewise.
5129 * rt/tst-aio5.c (TIMEOUT): Likewise.
5130 * rt/tst-aio6.c (TIMEOUT): Likewise.
5131 * rt/tst-aio64.c (TIMEOUT): Likewise.
5132 * rt/tst-aio7.c (TIMEOUT): Likewise.
5133 * rt/tst-aio9.c (TIMEOUT): Likewise.
5134 * rt/tst-clock.c (TIMEOUT): Likewise.
5135 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
5136 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
5137 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
5138 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
5139 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
5140 * rt/tst-timer4.c (TIMEOUT): Likewise.
5141 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
5142 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
5143 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
5144 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
5145 * time/tst-ftime.c (TIMEOUT): Likewise.
5146 * timezone/tst-tzset.c (TIMEOUT): Likewise.
5148 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
5150 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
5151 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
5154 2018-10-15 Joseph Myers <joseph@codesourcery.com>
5156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5158 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
5159 instead of <bits/wordsize.h>.
5160 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
5161 and [__SEM_PAD_AFTER_TIME].
5162 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
5163 __syscall_ulong_t instead of unsigned long int.
5164 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
5165 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
5166 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
5167 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
5168 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
5169 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
5170 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
5171 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
5172 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5173 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5174 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5176 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
5178 regex: simplify by using intprops.h
5180 * posix/regex_internal.h [_LIBC]: Include intprops.h.
5181 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
5182 intprops.h defines them.
5184 regex: __builtin_expect → __glibc_unlikely
5186 This refactoring was prompted by a problem when the regex code is
5187 used as part of Gnulib and when the builder’s compiler does not grok
5188 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
5189 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
5190 Although this refactoring does not fix the problem directly,
5191 we might as well have Gawk use the now-preferred glibc style for when
5192 __builtin_expect is unavailable.
5193 * posix/regex_internal.h (BE): Remove.
5194 All uses replaced by __glibc_unlikely or __glibc_likely.
5196 2018-10-11 Joseph Myers <joseph@codesourcery.com>
5198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5200 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
5201 instead of <bits/wordsize.h>.
5202 (msgqnum_t): Define as __syscall_ulong_t.
5203 (msglen_t): Likewise.
5204 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
5205 and [__MSQ_PAD_AFTER_TIME].
5206 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
5207 __syscall_ulong_t instead of unsigned long int.
5208 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
5209 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
5210 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
5211 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
5212 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
5213 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
5214 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
5215 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
5216 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5217 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5218 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5220 2018-10-10 Joseph Myers <joseph@codesourcery.com>
5222 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
5223 (struct shmid_ds): Condition padding after time fields on
5225 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
5226 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
5227 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5229 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
5230 (struct semid_ds): Condition padding after time fields on
5232 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
5233 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
5234 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
5235 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5237 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
5238 (struct msqid_ds): Condition padding after time fields on
5240 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
5241 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
5242 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
5243 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5245 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5247 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
5249 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
5251 * libio/tst-readline.c (TIMEOUT): Define.
5253 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
5255 mktime fix for Gnulib + coreutils
5257 This fix affects only Gnulib. Problem discovered when
5258 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
5260 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
5261 Do not define since it is not used. Defining an unused static
5262 function prompts a warning from GCC when Coreutils is configured
5263 with --enable-gcc-warnings.
5265 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
5267 * benchtests/scripts/compare_bench.py (main): set float type on
5270 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
5273 * localedata/locales/kl_GL (mon): Update, the relative case.
5274 (alt_mon): Add, fill with month names in the nominative case.
5275 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
5276 (d_fmt): Set to "%b %d %Y".
5278 2018-10-04 Joseph Myers <joseph@codesourcery.com>
5280 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5281 <bits/mman-linux.h>.
5282 (PROT_READ): Don't define here.
5283 (PROT_WRITE): Likewise.
5284 (PROT_EXEC): Likewise.
5285 (PROT_NONE): Likewise.
5286 (PROT_GROWSDOWN): Likewise.
5287 (PROT_GROWSUP): Likewise.
5288 (MAP_SHARED): Likewise.
5289 (MAP_PRIVATE): Likewise.
5290 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
5291 [__USE_MISC] (MAP_FILE): Likewise.
5292 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
5293 [__USE_MISC] (MAP_ANON): Likewise.
5294 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
5295 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
5296 (MCL_CURRENT): Likewise.
5297 (MCL_FUTURE): Likewise.
5298 (MCL_ONFAULT): Likewise.
5299 [__USE_MISC] (MADV_NORMAL): Likewise.
5300 [__USE_MISC] (MADV_RANDOM): Likewise.
5301 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
5302 [__USE_MISC] (MADV_WILLNEED): Likewise.
5303 [__USE_MISC] (MADV_DONTNEED): Likewise.
5304 [__USE_MISC] (MADV_FREE): Likewise.
5305 [__USE_MISC] (MADV_REMOVE): Likewise.
5306 [__USE_MISC] (MADV_DONTFORK): Likewise.
5307 [__USE_MISC] (MADV_DOFORK): Likewise.
5308 [__USE_MISC] (MADV_HWPOISON): Likewise.
5309 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
5310 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
5311 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
5312 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
5313 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
5314 (__MAP_ANONYMOUS): New macro.
5315 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
5316 <bits/mman-linux.h> inclusion.
5317 (MAP_FIXED): Likewise.
5318 (MS_SYNC): Likewise.
5319 (MS_ASYNC): Likewise.
5320 (MS_INVALIDATE): Likewise.
5321 [__USE_MISC] (MADV_MERGEABLE): Likewise.
5322 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
5323 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
5324 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
5325 [__USE_MISC] (MADV_DONTDUMP): Likewise.
5326 [__USE_MISC] (MADV_DODUMP): Likewise.
5327 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5328 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5331 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
5333 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
5334 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
5335 Add test-nldbl-redirect.
5336 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
5337 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
5338 $(objpfx)libnldbl_nonshared.a.
5340 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
5342 * support/support.h (support_objdir_elf_ldso): New variable.
5343 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
5344 * support/Makefile (CFLAGS-support_paths.c): Add definition
5345 for OBJDIR_ELF_LDSO_PATH.
5346 * support/test-container.c (main): Search for the ld.so
5347 which is also used by the testsuite.
5349 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
5352 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
5353 should be "sap" rather than "sab".
5354 (day): Fix spelling of Sunday, should be "sapaat" rather than
5357 2018-10-02 Joseph Myers <joseph@codesourcery.com>
5359 * math/libm-test-fma.inc (fma_test_data): Add more tests.
5361 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
5364 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
5365 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
5366 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
5368 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5370 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
5372 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
5374 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
5376 (CFLAGS-elision-unlock.c): Likewise.
5377 (CFLAGS-elision-timed.c): Likewise.
5378 (CFLAGS-elision-trylock.c): Likewise.
5379 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
5381 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5384 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
5385 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
5386 new fd_to_filename interface.
5387 * libio/freopen64.c (freopen64): Likewise.
5388 * libio/tst-memstream.h: New file.
5389 * libio/tst-memstream4.c: Likewise.
5390 * libio/tst-wmemstream4.c: Likewise.
5391 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
5392 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
5393 and remove internal dynamic allocation.
5395 2018-10-01 Joseph Myers <joseph@codesourcery.com>
5397 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5398 (MREMAP_MAYMOVE): Do not define here.
5399 [__USE_GNU] (MREMAP_FIXED): Likewise.
5400 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
5401 (MREMAP_MAYMOVE): Define here instead.
5402 [__USE_GNU] (MREMAP_FIXED): Likewise.
5403 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
5404 (MREMAP_MAYMOVE): Remove.
5405 [__USE_GNU] (MREMAP_FIXED): Likewise.
5407 2018-09-28 Joseph Myers <joseph@codesourcery.com>
5409 * math/fromfp.h: Do not include <math_private.h>.
5410 * math/s_cacosh_template.c: Likewise.
5411 * math/s_casin_template.c: Likewise.
5412 * math/s_casinh_template.c: Likewise.
5413 * math/s_ccos_template.c: Likewise.
5414 * math/s_cproj_template.c: Likewise.
5415 * math/s_fdim_template.c: Likewise.
5416 * math/s_fmaxmag_template.c: Likewise.
5417 * math/s_fminmag_template.c: Likewise.
5418 * math/s_iseqsig_template.c: Likewise.
5419 * math/s_ldexp_template.c: Likewise.
5420 * math/s_nextdown_template.c: Likewise.
5421 * math/w_log1p_template.c: Likewise.
5422 * math/w_scalbln_template.c: Likewise.
5423 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5424 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5425 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5426 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5427 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
5428 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
5429 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
5430 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
5431 * sysdeps/i386/fpu/s_atanl.c: Likewise.
5432 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
5433 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
5434 * sysdeps/i386/fpu/s_fdim.c: Likewise.
5435 * sysdeps/i386/fpu/s_logbl.c: Likewise.
5436 * sysdeps/i386/fpu/s_rintl.c: Likewise.
5437 * sysdeps/i386/fpu/s_significandl.c: Likewise.
5438 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
5439 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
5440 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5441 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5442 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5443 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5444 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5445 * sysdeps/ieee754/k_standardf.c: Likewise.
5446 * sysdeps/ieee754/k_standardl.c: Likewise.
5447 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5448 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5449 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5454 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5455 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5456 * sysdeps/ieee754/s_signgam.c: Likewise.
5457 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5458 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
5459 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
5460 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5461 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5462 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5463 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5464 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5465 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5466 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5467 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5468 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5469 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5470 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5471 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5472 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5473 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5474 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5475 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5476 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5477 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5478 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5479 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5480 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5481 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5482 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5483 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5484 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5485 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5486 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5487 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5488 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5489 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5490 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5491 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5492 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5493 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
5495 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
5497 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
5500 * sysdeps/i386/dl-cet.c: Removed.
5501 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
5503 (_dl_runtime_profile_shstk): Likewise.
5504 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
5505 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
5507 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5510 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
5511 do_test_with_invalid_iov): New tests.
5512 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
5513 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
5514 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
5516 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
5517 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
5518 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
5520 2018-09-27 Joseph Myers <joseph@codesourcery.com>
5522 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5523 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
5524 (MATH_REDIRECT_BINARY_ARGS): New macro.
5525 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
5526 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
5527 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
5529 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5531 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
5532 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5533 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5535 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
5540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
5542 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
5543 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
5544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
5546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
5548 * sysdeps/generic/math_private_calls.h
5549 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
5550 Do not declare and define as an inline function.
5551 * math/divtc3.c (__divtc3): Use copysign functions instead of
5552 __copysign variants.
5553 * math/multc3.c (__multc3): Likewise.
5554 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
5555 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
5556 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5557 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5559 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5560 (__ieee754_yn): Likewise.
5561 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5562 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
5563 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5564 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5565 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
5567 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
5568 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5570 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5572 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5574 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5575 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5577 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5578 (__ieee754_ynf): Likewise.
5579 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5580 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5581 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
5582 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5584 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5585 (__ieee754_ynl): Likewise.
5586 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5587 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5588 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5590 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5591 (__ieee754_ynl): Likewise.
5592 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
5593 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5594 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5595 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5597 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5599 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
5600 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5601 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
5602 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
5603 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5605 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5606 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
5607 using MATH_REDIRECT.
5608 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
5610 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5612 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5613 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
5614 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5615 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
5618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
5619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
5620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
5621 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5622 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5623 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5624 (round): Redirect to __round.
5625 (__roundl): Call round instead of __round.
5626 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
5628 [_ARCH_PWR5X] (__roundf): Likewise.
5629 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
5630 functions instead of __round variants.
5631 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5632 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
5634 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
5636 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
5638 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
5639 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
5641 (__ieee754_expl): Call roundl instead of __roundl.
5643 2018-09-27 Andreas Schwab <schwab@suse.de>
5646 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
5647 (do_test): Make st1 static.
5649 2018-09-26 Andreas Schwab <schwab@suse.de>
5652 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
5653 * elf/Makefile (tests): Add tst-unwind-ctor.
5654 (modules-names): Add tst-unwind-ctor-lib.
5655 ($(objpfx)tst-unwind-ctor): Depend on
5656 $(objpfx)tst-unwind-ctor-lib.so.
5658 2018-09-26 Joseph Myers <joseph@codesourcery.com>
5660 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
5661 file. Most contents moved from ....
5662 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
5663 and include <bits/mman-map-flags-generic.h>.
5664 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5665 (sysdep_headers): Add bits/mman-map-flags-generic.h.
5666 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
5667 <bits/mman-map-flags-generic.h>.
5668 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
5669 macros defined in <bits/mman-map-flags-generic.h>.
5670 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
5671 <bits/mman-map-flags-generic.h>.
5672 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
5673 defined in <bits/mman-map-flags-generic.h>.
5675 2018-09-26 Andreas Schwab <schwab@suse.de>
5677 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
5680 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
5681 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5682 Fangrui Song <maskray@google.com>
5685 * config.make.in (have-textrel_ifunc): New define.
5686 * configure.ac: Add check if linker supports textrel relocation with
5688 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
5690 (CFLAGS-tst-ifunc-textrel.c): New rule.
5691 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
5692 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
5693 * elf/tst-ifunc-textrel.c: New file.
5695 2018-09-25 Joseph Myers <joseph@codesourcery.com>
5697 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5698 <bits/procfs-prregset.h>.
5699 (prgregset_t): Define using __prgregset_t.
5700 (prfpregset_t): Define using __prfpregset_t.
5701 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5702 (sysdep_headers): Add bits/procfs-prregset.h.
5703 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
5704 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
5705 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
5706 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
5708 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
5709 <bits/procfs-id.h> and <bits/procfs-extra.h>.
5710 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
5712 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5713 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
5714 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
5715 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
5716 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
5717 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
5718 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
5719 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
5720 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
5721 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
5722 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
5723 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
5724 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
5725 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
5726 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
5727 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
5728 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
5729 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
5730 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
5731 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
5732 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
5733 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
5734 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5735 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
5737 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
5738 AArch64 version. Include <bits/procfs.h>.
5739 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5740 (sysdep_headers): Add bits/procfs.h.
5741 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
5742 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
5743 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
5744 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
5745 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
5746 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
5747 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
5748 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
5749 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
5750 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
5751 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
5752 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
5753 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
5754 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
5755 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
5756 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5757 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
5759 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5761 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
5764 2018-09-25 Arjun Shankar <arjun@redhat.com>
5766 * iconv/gconv_int.h (__gconv_path_elem): Remove.
5767 (__gconv_max_path_elem_len): Likewise.
5768 (__gconv_nmodules): Likewise.
5769 (__gconv_get_path): Likewise.
5770 (path_elem): Move to ...
5771 * iconv/gconv_conf.c: ... here.
5772 (__gconv_get_path): Mark function static.
5773 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
5774 * iconv/gconv_open.c: ... here.
5776 2018-09-24 Andreas Schwab <schwab@suse.de>
5778 * scripts/haveversions.awk: New file.
5779 * Makerules ($(common-objpfx)Versions.def)
5780 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5781 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5783 * Makeconfig ($(common-objpfx)Versions.def)
5784 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
5785 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
5787 ($(common-objpfx)Versions.mk): New rule. Include it.
5788 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
5789 Emit error if build-obsolete-nsl = yes.
5790 * manual/install.texi (Configuring and compiling): Describe
5791 --enable-obsolete-nsl as unavaiable after version 2.28.
5792 * INSTALL: Regenerate.
5794 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5796 * NEWS: Add note about new TLE support on powerpc64le.
5797 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
5798 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
5800 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
5801 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
5802 * sysdeps/powerpc/powerpc32/sysdep.h,
5803 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
5804 ABORT_TRANSACTION): Remove macros.
5805 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
5806 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
5807 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
5808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
5809 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5810 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
5812 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
5814 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
5817 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
5818 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
5819 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
5820 which is the same as in it_IT.
5821 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
5822 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
5824 2018-09-20 Joseph Myers <joseph@codesourcery.com>
5826 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
5827 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
5828 using MATH_REDIRECT.
5829 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
5831 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
5832 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5833 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
5834 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5835 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5836 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
5838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
5839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
5840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
5841 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5842 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5843 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5844 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5845 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
5846 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
5847 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
5848 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5849 (ceil): Redirect to __ceil.
5850 (floor): Redirect to __floor.
5851 (trunc): Redirect to __trunc.
5852 (__truncl): Call trunc instead of __trunc.
5853 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
5855 [_ARCH_PWR5X] (__truncf): Likewise.
5856 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
5857 trunc functions instead of __trunc variants.
5858 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5860 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5862 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5864 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5867 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
5868 [__i586__ || __pentium__].
5869 [__i486__]: Handle explicitly.
5870 (HAS_CPUID): Define to 1 if above macros are undefined.
5871 (HAS_I586): Likewise.
5872 (HAS_I686): Likewise.
5874 2018-09-20 Florian Weimer <fweimer@redhat.com>
5876 * misc/tst-gethostid.c: New file.
5877 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
5878 (tst-gethostid): Link with -ldl.
5880 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
5882 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
5883 value from gethostbyname_r.
5885 2018-09-19 Carlos O'Donell <carlos@redhat.com>
5887 * stdlib/tst-setcontext9.c (f1): Rename to...
5889 (f1b): New function implementing lower half of f1 in alternate stack.
5891 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
5893 Fix mktime localtime offset confusion
5895 * include/time.h (__mktime_internal): The localtime offset is now
5896 of type long int instead of time_t. This is the longstanding type
5897 in glibc, and it is more than enough to represent difference
5898 between localtime and gmtime even if it is 32 bits and time_t is
5899 64. Changing it now will let us avoid an unnecessary change when
5900 time_t is widened to 64 bits on 32-bit platforms.
5901 * time/mktime-internal.h (mktime_offset_t): Now long int.
5903 Merge mktime, timegm from upstream Gnulib
5904 [BZ #23603][BZ #16346]
5905 This fixes some obscure problems with integer overflow.
5906 Although it looks scary, it is almost all a byte-for-byte copy
5907 from Gnulib, and the Gnulib code has been tested reasonably well.
5908 * include/intprops.h: New file, copied from Gnulib.
5909 * include/verify.h, time/mktime-internal.h:
5910 New tiny files, simplified from Gnulib.
5911 * time/mktime.c: Copy from Gnulib. This has the following changes:
5912 Do not include config.h if DEBUG_MKTIME is nonzero.
5913 Include stdbool.h, intprops.h, verify.h.
5914 Include string.h only if needed.
5915 Include stdlib.h on MS-Windows.
5916 Include mktime-internal.h.
5917 (DEBUG_MKTIME): Default to 0, and simplify later uses.
5918 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
5919 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
5920 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
5921 simplify later conditionals; default the others to zero. Use
5922 these conditionals to express only the code needed on the current
5923 platform. In uses of these conditionals, explicitly spell out how
5924 _LIBC affects things, so it’s easier to review from a glibc
5926 (WRAPV): Remove; no longer needed now that we have
5927 systematic overflow checking.
5928 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
5929 compartmentalize tzset issues. Move system-dependent tzsettish
5930 code here from mktime.
5931 (verify): Remove; now done by verify.h. All uses changed.
5932 (long_int): Use a more-conservative definition, to avoid
5934 (SHR): Remove, replacing with ...
5935 (shr): New function, which means we needn’t worry about side
5936 effects in args, and conversion analysis is simpler.
5937 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
5938 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
5939 (time_t_avg, time_t_add_ok): Remove.
5940 (mktime_min, mktime_max): New constants.
5941 (leapyear, isdst_differ): Use bool for booleans.
5942 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
5943 Use long_int, not time_t, for mktime differences.
5944 (long_int_avg): New function, replacing time_t_avg.
5945 INT_ADD_WRAPV replaces time_t_add_ok.
5946 (guess_time_tm): 6th arg is now long_int, not time_t const *.
5948 (convert_time): New function.
5949 (ranged_convert): Use it.
5950 (__mktime_internal): Last arg now points to mktime_offset_t, not
5951 time_t. All uses changed. This is a no-op on glibc, where
5952 mktime_offset_t is always time_t. Use int, not time_t, for UTC
5953 offset guess. Directly check for integer overflow instead of
5954 using a heuristic that works only 99.9...% of the time.
5955 Access *OFFSET only once, to avoid an unlikely race if the
5956 compiler delays a load and if this cascades into a signed integer
5958 (mktime): Move tzsettish code to my_tzset, and move
5959 localtime_offset to within mktime so that it doesn’t
5960 need a separate ifdef.
5961 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
5962 instead of localtime.
5963 * time/timegm.c: Copy from Gnulib. This has the following changes:
5964 Include mktime-internal.h.
5965 [!_LIBC]: Include config.h and time.h. Do not include
5966 timegm.h or time_r.h. Make __mktime_internal a macro,
5967 and include mktime-internal.h to get its declaration.
5968 (timegm): Temporary is now mktime_offset_t, not time_t.
5969 This affects only Gnulib.
5971 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
5974 * string/test-strstr.c (pr23637): New function.
5975 (test_main): Add tests with longer needles.
5976 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
5977 * string/strstr.c (AVAILABLE): Likewise.
5979 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5981 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
5983 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
5985 * NEWS: Mention pow improvements.
5986 * math/Makefile (type-double-routines): Add e_pow_log_data.
5987 * sysdeps/generic/math_private.h (__exp1): Remove.
5988 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
5989 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
5990 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
5992 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
5993 (exp_inline): Remove.
5994 (__ieee754_exp): Only single double input is handled.
5995 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
5996 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
5997 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
5998 (__pow_log_data): Define.
5999 * sysdeps/ieee754/dbl-64/upow.h: Remove.
6000 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
6001 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
6002 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
6004 (CFLAGS-e_pow-fma4.c): Likewise.
6006 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
6008 Simplify tzfile fstat failure code
6010 * time/tzfile.c (__tzfile_read): Simplify slightly.
6012 Fix tzfile low-memory assertion failure
6014 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
6015 when registering time zone abbreviations.
6017 2018-09-18 Joseph Myers <joseph@codesourcery.com>
6019 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
6020 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
6021 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
6022 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
6023 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
6024 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
6025 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
6026 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6027 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6029 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
6031 (__ceill): Call ceil instead of __ceil.
6032 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
6034 (__floorl): Call floor instead of __floor.
6036 2018-09-17 Joseph Myers <joseph@codesourcery.com>
6038 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6039 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
6040 using MATH_REDIRECT.
6041 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
6043 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
6044 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6045 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6046 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
6047 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6048 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6049 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6050 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
6051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
6052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
6053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
6054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
6055 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6056 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
6058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
6059 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
6060 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
6061 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
6063 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
6064 functions instead of __ceil variants.
6065 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6066 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
6068 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
6070 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6071 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
6073 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6074 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6077 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
6079 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
6080 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
6081 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
6082 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
6083 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
6084 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
6085 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
6086 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
6087 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
6088 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
6089 (ILL_BADIADDR): Remove constant.
6090 (TRAP_BRANCH): Likewise.
6091 (TRAP_HWBKPT): Likewise.
6093 2018-09-14 Joseph Myers <joseph@codesourcery.com>
6096 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
6097 Remove [_MIPS_SIM = _ABIN32] conditional case.
6098 (struct elf_prpsinfo): Likewise.
6101 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
6102 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
6103 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
6105 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
6106 elf_prpsinfo): Likewise.
6107 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
6108 elf_prpsinfo): Likewise.
6109 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
6112 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6113 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
6114 using MATH_REDIRECT.
6115 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
6117 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
6118 * sysdeps/alpha/fpu/s_rint.c: Likewise.
6119 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
6120 * sysdeps/i386/fpu/s_rintl.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6123 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
6124 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6127 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
6128 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
6129 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
6130 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
6131 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
6132 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6133 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6134 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
6135 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
6136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
6137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
6138 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
6139 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
6140 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
6141 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
6142 * sysdeps/x86_64/fpu/math_private.h: Remove file.
6143 * math/e_scalb.c (invalid_fn): Use rint functions instead of
6145 * math/e_scalbf.c (invalid_fn): Likewise.
6146 * math/e_scalbl.c (invalid_fn): Likewise.
6147 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6149 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6151 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
6152 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
6153 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6155 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6157 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6159 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
6160 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
6162 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
6163 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
6165 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6166 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
6167 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6168 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
6169 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6170 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
6171 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6172 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
6173 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
6174 && !NO_MATH_REDIRECT] (floor): Likewise.
6175 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
6177 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6180 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
6181 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6182 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6184 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
6185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
6186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
6187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
6188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
6189 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6190 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
6192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
6193 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
6194 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
6195 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
6197 [_ARCH_PWR5X] (__floorf): Likewise.
6198 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
6200 [__SSE4_1__] (__floorf): Likewise.
6201 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
6202 instead of __floor variants.
6203 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
6204 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
6205 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
6206 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
6207 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
6208 * math/w_tgamma_compat.c (__tgamma): Likewise.
6209 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
6210 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
6211 * math/w_tgammal_compat.c (__tgammal): Likewise.
6212 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
6213 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6215 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6216 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
6217 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6218 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6220 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6221 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
6223 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6224 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
6226 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6227 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
6229 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6230 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6231 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
6232 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
6233 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
6234 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6236 2018-09-12 Joseph Myers <joseph@codesourcery.com>
6238 * elf/Makefile (modules-names-tests): New variable.
6240 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6242 * NEWS: Mention log2 improvements.
6243 * math/Makefile (type-double-routines): Add e_log2_data.
6244 * sysdeps/i386/fpu/e_log2_data.c: New file.
6245 * sysdeps/ia64/fpu/e_log2_data.c: New file.
6246 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
6247 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
6248 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
6249 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
6250 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
6252 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
6254 * NEWS: Mention log improvement.
6255 * math/Makefile (type-double-routines): Add e_log_data.
6256 * sysdeps/i386/fpu/e_log_data.c: New file.
6257 * sysdeps/ia64/fpu/e_log_data.c: New file.
6258 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
6259 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
6260 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
6261 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
6262 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
6263 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
6265 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
6266 Xuepeng Guo <xuepeng.guo@intel.com>
6269 * sysdeps/i386/start.S: Include <sysdep.h>
6270 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
6271 enabled. Add cfi_undefined (eip).
6273 2018-09-11 Joseph Myers <joseph@codesourcery.com>
6275 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
6277 (EXTRACT_WORDS64): Likewise.
6278 (INSERT_WORDS64): Likewise.
6279 (GET_FLOAT_WORD): Likewise.
6280 (SET_FLOAT_WORD): Likewise.
6282 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
6284 (Config.build_gcc): Use --disable-libsanitizer for first GCC
6285 build, but not for second build if --full-gcc. Use
6286 --enable-languages=all for second build if --full-gcc.
6287 (get_parser): Add --full-gcc option.
6288 (main): Update call to Context.
6290 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
6293 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
6294 Single Quotation Mark).
6295 (thousands_sep): Likewise.
6296 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
6297 * localedata/locales/it_IT (thousands_sep): Use ".".
6298 (grouping): Use "3;3".
6300 2018-09-10 Joseph Myers <joseph@codesourcery.com>
6302 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
6303 x86_64 and i686 configs using --enable-obsolete-rpc
6304 --enable-obsolete-nsl.
6306 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6308 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6310 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
6312 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
6313 Increment size of new_argv by one.
6315 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
6318 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
6319 * localedata/locales/ar_IN (d_fmt): Likewise.
6320 * localedata/locales/bhb_IN (d_fmt): Likewise.
6321 * localedata/locales/bho_IN (d_fmt): Likewise.
6322 * localedata/locales/bn_BD (d_fmt): Likewise.
6323 * localedata/locales/bn_IN (d_fmt): Likewise.
6324 * localedata/locales/doi_IN (d_fmt): Likewise.
6325 * localedata/locales/gu_IN (d_fmt): Likewise.
6326 * localedata/locales/hi_IN (d_fmt): Likewise.
6327 * localedata/locales/hne_IN (d_fmt): Likewise.
6328 * localedata/locales/kn_IN (d_fmt): Likewise.
6329 * localedata/locales/mag_IN (d_fmt): Likewise.
6330 * localedata/locales/mai_IN (d_fmt): Likewise.
6331 * localedata/locales/mjw_IN (d_fmt): Likewise.
6332 * localedata/locales/ml_IN (d_fmt): Likewise.
6333 * localedata/locales/mni_IN (d_fmt): Likewise.
6334 * localedata/locales/mr_IN (d_fmt): Likewise.
6335 * localedata/locales/pa_IN (d_fmt): Likewise.
6336 * localedata/locales/raj_IN (d_fmt): Likewise.
6337 * localedata/locales/sat_IN (d_fmt): Likewise.
6338 * localedata/locales/sd_IN (d_fmt): Likewise.
6339 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
6340 * localedata/locales/ta_IN (d_fmt): Likewise.
6341 * localedata/locales/ta_LK (d_fmt): Likewise.
6342 * localedata/locales/tcy_IN (d_fmt): Likewise.
6343 * localedata/locales/ur_IN (d_fmt): Likewise.
6345 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
6346 * localedata/locales/ks_IN (d_fmt): Likewise.
6347 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
6349 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
6350 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
6351 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
6352 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
6354 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
6356 * NEWS: Mention exp and exp2 improvements.
6357 * math/Makefile (libm-support): Remove t_exp.
6358 (type-double-routines): Add math_err and e_exp_data.
6359 * sysdeps/aarch64/libm-test-ulps: Update.
6360 * sysdeps/arm/libm-test-ulps: Update.
6361 * sysdeps/i386/fpu/e_exp_data.c: New file.
6362 * sysdeps/i386/fpu/math_err.c: New file.
6363 * sysdeps/i386/fpu/t_exp.c: Remove.
6364 * sysdeps/ia64/fpu/e_exp_data.c: New file.
6365 * sysdeps/ia64/fpu/math_err.c: New file.
6366 * sysdeps/ia64/fpu/t_exp.c: Remove.
6367 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
6368 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
6369 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
6370 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
6371 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
6372 * sysdeps/ieee754/dbl-64/math_config.h: New file.
6373 * sysdeps/ieee754/dbl-64/math_err.c: New file.
6374 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
6375 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
6376 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
6377 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
6378 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
6379 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
6380 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
6381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6384 2018-09-05 Joseph Myers <joseph@codesourcery.com>
6386 * sysdeps/alpha/fpu/math_private.h: Remove.
6388 * sysdeps/generic/math_private.h
6389 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
6390 Move this inline function ....
6391 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
6392 * include/math.h [!_ISOMAC]: To here....
6394 2018-09-04 Joseph Myers <joseph@codesourcery.com>
6396 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
6398 [!FE_HAVE_ROUNDING_MODES]: And this code ....
6399 * include/fenv.h [!_ISOMAC]: ... to here.
6400 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
6401 (feraiseexcept): Likewise.
6402 * math/fromfp.h: Do not include <fenv_private.h>.
6403 * math/s_cexp_template.c: Likewise.
6404 * math/s_csin_template.c: Likewise.
6405 * math/s_csinh_template.c: Likewise.
6406 * math/s_ctan_template.c: Likewise.
6407 * math/s_ctanh_template.c: Likewise.
6408 * math/s_iseqsig_template.c: Likewise.
6409 * math/w_acos_compat.c: Likewise.
6410 * math/w_acosf_compat.c: Likewise.
6411 * math/w_acosl_compat.c: Likewise.
6412 * math/w_asin_compat.c: Likewise.
6413 * math/w_asinf_compat.c: Likewise.
6414 * math/w_asinl_compat.c: Likewise.
6415 * math/w_j0_compat.c: Likewise.
6416 * math/w_j0f_compat.c: Likewise.
6417 * math/w_j0l_compat.c: Likewise.
6418 * math/w_j1_compat.c: Likewise.
6419 * math/w_j1f_compat.c: Likewise.
6420 * math/w_j1l_compat.c: Likewise.
6421 * math/w_jn_compat.c: Likewise.
6422 * math/w_jnf_compat.c: Likewise.
6423 * math/w_log10_compat.c: Likewise.
6424 * math/w_log10f_compat.c: Likewise.
6425 * math/w_log10l_compat.c: Likewise.
6426 * math/w_log2_compat.c: Likewise.
6427 * math/w_log2f_compat.c: Likewise.
6428 * math/w_log2l_compat.c: Likewise.
6429 * math/w_log_compat.c: Likewise.
6430 * math/w_logf_compat.c: Likewise.
6431 * math/w_logl_compat.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6436 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6437 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6438 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6439 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6440 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6441 * sysdeps/ieee754/k_standardl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6454 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6455 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6459 * math/w_ilogb_template.c: Include <fenv.h> instead of
6461 * math/w_llogb_template.c: Likewise.
6462 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6463 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6465 2018-09-03 Joseph Myers <joseph@codesourcery.com>
6467 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
6468 * math/fromfp.h: Include <fenv_private.h>.
6469 * math/math-narrow.h: Likewise.
6470 * math/s_cexp_template.c: Likewise.
6471 * math/s_csin_template.c: Likewise.
6472 * math/s_csinh_template.c: Likewise.
6473 * math/s_ctan_template.c: Likewise.
6474 * math/s_ctanh_template.c: Likewise.
6475 * math/s_iseqsig_template.c: Likewise.
6476 * math/w_acos_compat.c: Likewise.
6477 * math/w_acosf_compat.c: Likewise.
6478 * math/w_acosl_compat.c: Likewise.
6479 * math/w_asin_compat.c: Likewise.
6480 * math/w_asinf_compat.c: Likewise.
6481 * math/w_asinl_compat.c: Likewise.
6482 * math/w_ilogb_template.c: Likewise.
6483 * math/w_j0_compat.c: Likewise.
6484 * math/w_j0f_compat.c: Likewise.
6485 * math/w_j0l_compat.c: Likewise.
6486 * math/w_j1_compat.c: Likewise.
6487 * math/w_j1f_compat.c: Likewise.
6488 * math/w_j1l_compat.c: Likewise.
6489 * math/w_jn_compat.c: Likewise.
6490 * math/w_jnf_compat.c: Likewise.
6491 * math/w_llogb_template.c: Likewise.
6492 * math/w_log10_compat.c: Likewise.
6493 * math/w_log10f_compat.c: Likewise.
6494 * math/w_log10l_compat.c: Likewise.
6495 * math/w_log2_compat.c: Likewise.
6496 * math/w_log2f_compat.c: Likewise.
6497 * math/w_log2l_compat.c: Likewise.
6498 * math/w_log_compat.c: Likewise.
6499 * math/w_logf_compat.c: Likewise.
6500 * math/w_logl_compat.c: Likewise.
6501 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
6502 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
6503 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
6504 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6516 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
6517 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6518 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6519 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6522 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6524 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6526 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6527 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6528 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6529 * sysdeps/ieee754/float128/float128_private.h: Likewise.
6530 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6531 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6532 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6533 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6534 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6535 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6536 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6537 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6538 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6539 * sysdeps/ieee754/k_standardl.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6547 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6548 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6550 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6551 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6552 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6553 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6554 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6555 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6557 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6559 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6560 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6561 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6562 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6563 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6564 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6565 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6566 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6567 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6568 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
6570 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
6571 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6572 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
6576 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6577 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6578 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
6579 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
6580 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
6581 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
6582 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
6583 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
6584 * sysdeps/riscv/rvd/s_finite.c: Likewise.
6585 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
6586 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
6587 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
6588 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
6589 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
6590 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
6591 * sysdeps/riscv/rvf/fegetround.c: Likewise.
6592 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
6593 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
6594 * sysdeps/riscv/rvf/fesetround.c: Likewise.
6595 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
6596 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
6597 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
6598 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
6599 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
6600 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
6601 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
6602 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
6603 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
6604 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
6605 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
6606 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
6607 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
6608 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
6609 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
6610 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
6612 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6615 * include/stdio.h (__libc_fatal): Mention newline in comment.
6616 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
6617 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
6618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6619 * nss/nsswitch.c (__nss_next2): Likewise.
6620 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
6621 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
6622 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
6623 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
6624 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
6625 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
6626 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
6627 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
6628 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
6629 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
6630 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
6631 * sysdeps/unix/sysv/linux/netlink_assert_response.c
6632 (__netlink_assert_response): Likewise.
6634 2018-08-31 Joseph Myers <joseph@codesourcery.com>
6636 * conform/glibcconform.py: New file.
6637 * conform/list-header-symbols.py: Likewise.
6638 * conform/list-header-symbols.pl: Remove.
6639 * conform/Makefile (tests-special): Only add linknamespace tests
6641 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
6643 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
6646 * support/Makefile (libsupport-routines): Add
6647 support_copy_file_range and xcopy_file_range.
6648 * support/support.h: Include <sys/types.h>.
6649 (support_copy_file_range): New prototype.
6650 * support/support_copy_file_range.c: New file. Copied and
6651 modified from io/copy_file_range-compat.c.
6652 * support/test-container.c (copy_one_file): Call xcopy_file_rang
6653 instead of copy_file_range.
6654 * support/xcopy_file_range.c: New file.
6655 * support/xunistd.h (xcopy_file_range): New prototype.
6657 2018-08-30 Carlos O'Donell <carlos@redhat.com>
6659 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
6660 xpthread_create and xpthread_join.
6662 2018-08-30 Florian Weimer <fweimer@redhat.com>
6664 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
6666 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
6668 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
6671 2018-08-29 Joseph Myers <joseph@codesourcery.com>
6673 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
6674 and minus_oflow as non-finite.
6676 2018-08-28 Joseph Myers <joseph@codesourcery.com>
6678 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
6679 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
6680 moved to fenv_private.h except for ...
6681 (TOINT_INTRINSICS): Kept in math_private.h.
6682 (roundtoint): Likewise.
6683 (converttoint): Likewise.
6684 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
6685 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6686 * sysdeps/arm/math_private.h: Remove.
6687 * sysdeps/generic/fenv_private.h: New file. Contents moved from
6689 * sysdeps/generic/math_private.h: ... this file. Include
6690 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
6691 Include <fenv_private.h>. Remove functions and macros moved to
6693 * sysdeps/i386/fpu/math_private.h: Remove.
6694 * sysdeps/mips/math_private.h: Move to ....
6695 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
6696 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
6697 [__mips_hard_float] conditional. Include next <fenv_private.h>.
6698 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
6699 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6700 * sysdeps/powerpc/fpu/math_private.h: Do not include
6702 * sysdeps/riscv/rvf/math_private.h: Move to ....
6703 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
6704 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
6706 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
6707 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
6708 * sysdeps/sparc/fpu/math_private.h: Remove.
6709 * sysdeps/i386/fpu/fenv_private.h: Move to ....
6710 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
6711 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
6713 * sysdeps/x86_64/fpu/math_private.h: Do not include
6714 <sysdeps/i386/fpu/fenv_private.h>.
6716 2018-08-28 Florian Weimer <fweimer@redhat.com>
6719 * posix/tst-regcomp-truncated.c: New file.
6720 * posix/Makefile (tests): Add it.
6721 (tst-regcomp-truncated.out): Depend on generated locales.
6723 2018-08-28 Florian Weimer <fweimer@redhat.com>
6725 * support/test-container.c (main): Treat unshare failure with
6726 EPERM as an unsupported test.
6728 2018-08-28 Florian Weimer <fweimer@redhat.com>
6731 nscd: Fix use-after-free in addgetnetgrentX and its callers.
6732 * nscd/netgroupcache.c
6733 (addgetnetgrentX): Add tofreep parameter. Do not free
6734 heap-allocated buffer.
6735 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
6736 (addgetnetgrentX_ignore): New function.
6737 (addgetnetgrent): Call it.
6738 (readdgetnetgrent): Likewise.
6740 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6742 * string/memmem.c: Use memcmp for first match.
6744 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
6747 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
6749 2018-08-27 DJ Delorie <dj@redhat.com>
6751 * support/Makefile (others): Don't list programs explicitly as a
6752 dependency of "others".
6754 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6756 * sysdeps/generic/math-tests-trap-force.h: New file.
6757 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
6758 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
6759 * sysdeps/powerpc/math-tests.h: Remove file.
6760 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
6762 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
6763 Torvald Riegel <triegel@redhat.com>
6766 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
6767 Update r to include the set wake-request flag if waiters are
6768 remaining after spinning.
6770 2018-08-27 Joseph Myers <joseph@codesourcery.com>
6772 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
6774 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
6777 regex: fix uninitialized memory access
6778 I introduced this bug into gnulib in commit
6779 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
6780 eventually it was merged into glibc. The bug was found by
6781 project-repo <bugs@feusi.co> and reported here:
6782 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
6783 Diagnosis and draft fix reported by Assaf Gordon here:
6784 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
6785 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
6786 * posix/regex_internal.c (build_wcs_upper_buffer):
6787 Fix bug when mbrtowc returns 0.
6789 2018-08-24 Carlos O'Donell <carlos@redhat.com>
6791 * po/be.po: Update translation.
6793 2018-08-24 DJ Delorie <dj@delorie.com>
6795 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
6798 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6801 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
6802 create temporary files in source tree.
6804 2018-08-24 Joseph Myers <joseph@codesourcery.com>
6806 * sysdeps/generic/math-tests-trap.h: New file.
6807 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
6808 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
6809 * sysdeps/aarch64/math-tests.h: Remove file.
6810 * sysdeps/arm/math-tests.h: Likewise.
6811 * sysdeps/riscv/math-tests.h: Likewise.
6812 * sysdeps/aarch64/math-tests-trap.h: New file.
6813 * sysdeps/arm/math-tests-trap.h: Likewise.
6814 * sysdeps/riscv/math-tests-trap.h: Likewise.
6816 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
6818 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
6819 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
6820 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
6821 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
6822 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
6823 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
6824 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6825 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
6826 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
6827 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6828 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6829 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6830 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6831 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
6832 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
6833 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
6834 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6835 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6837 2018-08-23 Joseph Myers <joseph@codesourcery.com>
6839 * sysdeps/generic/math-tests-exceptions.h: New file.
6840 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
6841 (EXCEPTION_TESTS_float): Do not define here.
6842 (EXCEPTION_TESTS_double): Likewise.
6843 (EXCEPTION_TESTS_long_double): Likewise.
6844 (EXCEPTION_TESTS_float128): Likewise.
6845 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
6847 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
6848 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
6849 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
6850 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
6851 * sysdeps/mips/math-tests.h: Likewise.
6852 * sysdeps/nios2/math-tests.h: Likewise.
6853 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6854 (EXCEPTION_TESTS_float): Do not define here.
6855 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
6856 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
6857 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
6859 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6861 * NEWS: Move optimized sinf entry to 2.29.
6863 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
6865 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
6867 2018-08-22 DJ Delorie <dj@redhat.com>
6869 * Makefile (testroot.pristine): New rules to initialize the
6870 test-in-container "testroot".
6871 * Makerules (all-testsuite): Add tests-container.
6872 * Rules (tests-expected): Add tests-container.
6873 (binaries-all-tests): Likewise.
6874 (tests-container): New, run these tests in the testroot container.
6875 * support/Makefile (others): Add *-container, support_paths.c,
6876 xmkdirp, and links-dso-program.
6877 * support/links-dso-program-c.c: New.
6878 * support/links-dso-program.cc: New.
6879 * support/test-container.c: New.
6880 * support/shell-container.c: New.
6881 * support/echo-container.c: New.
6882 * support/true-container.c: New.
6883 * support/xmkdirp.c: New.
6884 * support/xsymlink.c: New.
6885 * support/support_paths.c: New.
6886 * support/support.h: Add support paths prototypes.
6887 * support/xunistd.h: Add xmkdirp () and xsymlink ().
6889 * nss/tst-nss-test3.c: Convert to test-in-container.
6890 * nss/tst-nss-test3.root/: New.
6892 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
6894 regex: port Gnulib code to z/OS POSIX environment
6895 Problem reported by Arnold Robbins in:
6896 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
6897 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
6900 2018-08-22 Joseph Myers <joseph@codesourcery.com>
6902 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
6903 (ROUNDING_TESTS_double): Remove.
6904 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
6905 (ROUNDING_TESTS_double): Remove.
6906 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
6907 (ROUNDING_TESTS_double): Remove.
6908 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
6909 (ROUNDING_TESTS_float): Remove.
6910 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
6911 (ROUNDING_TESTS_float): Remove.
6912 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
6913 (ROUNDING_TESTS_float): Remove.
6914 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
6916 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6917 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6919 * sysdeps/generic/math-tests-rounding.h: New file.
6920 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
6921 (ROUNDING_TESTS_float): Do not define here.
6922 (ROUNDING_TESTS_double): Likewise.
6923 (ROUNDING_TESTS_long_double): Likewise.
6924 (ROUNDING_TESTS_float128): Likewise.
6925 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
6926 (ROUNDING_TESTS_double): Undefine before defining.
6927 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
6928 (ROUNDING_TESTS_double): Undefine before defining.
6929 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
6930 (ROUNDING_TESTS_double): Undefine before defining.
6931 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
6932 (ROUNDING_TESTS_float): Undefine before defining.
6933 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
6934 (ROUNDING_TESTS_float): Undefine before defining.
6935 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
6936 (ROUNDING_TESTS_float): Undefine before defining.
6937 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
6938 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
6940 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
6941 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
6942 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
6943 * sysdeps/riscv/math-tests.h [!__riscv_flen]
6944 (ROUNDING_TESTS_float): Do not define here.
6945 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
6946 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
6947 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
6948 (ROUNDING_TESTS_float): Likewise.
6949 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
6950 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
6951 * sysdeps/mips/math-tests.h [__mips_soft_float]
6952 (ROUNDING_TESTS_float): Likewise.
6953 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
6954 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
6955 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
6956 (ROUNDING_TESTS_double): Likewise.
6957 (ROUNDING_TESTS_long_double): Likewise.
6959 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
6961 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
6962 (PF_XDP): New macro.
6963 (AF_XDP): New macro.
6964 (SOL_XDP): New macro.
6966 2018-08-21 Joseph Myers <joseph@codesourcery.com>
6968 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
6969 (TCP_INQ): Likewise.
6970 (TCP_CM_INQ): Likewise.
6971 (TCP_REPAIR_ON): Likewise.
6972 (TCP_REPAIR_OFF): Likewise.
6973 (TCP_REPAIR_OFF_NO_WP): Likewise.
6974 (struct tcp_zerocopy_receive): New type.
6976 2018-08-21 Florian Weimer <fweimer@redhat.com>
6978 * support/support.h (support_descriptor_supports_holes): Declare.
6979 * support/Makefile (libsupport-routines): Add
6980 support_descriptor_supports_holes.
6981 * support/support_descriptor_supports_holes.c: New file.
6982 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
6983 and stop testing if holes are not supported.
6984 * io/test-lfs.c (do_prepare): Likewise.
6985 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
6987 * timezone/tst-tzset.c (create_tz_file): Likewise.
6988 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
6990 (do_prepare): Set it.
6991 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
6993 2018-08-21 Florian Weimer <fweimer@redhat.com>
6996 * Makeconfig (+cflags): Do not sort (and deduplicate).
6998 2018-08-21 Florian Weimer <fweimer@redhat.com>
7000 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
7001 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
7003 2018-08-20 Florian Weimer <fweimer@redhat.com>
7005 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
7006 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
7008 2018-08-20 Joseph Myers <joseph@codesourcery.com>
7010 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
7011 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
7012 and ssi_arch members.
7014 * elf/elf.c (NT_VMCOREDD): New macro.
7015 (AT_MINSIGSTKSZ): Likewise.
7017 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7020 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
7021 s_cosf-ppc64 and s_cosf-power8.
7022 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
7023 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7024 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7025 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
7027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
7028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
7029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
7030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
7031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
7032 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
7033 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
7035 2018-08-17 Florian Weimer <fweimer@redhat.com>
7037 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7039 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
7041 * malloc/malloc.c (_int_malloc): Additional binning code checks.
7043 2018-08-16 Florian Weimer <fweimer@redhat.com>
7045 * configure.ac: Add --with-nonshared-cflags option.
7046 * config.make.in (extra-nonshared-cflags): Set variable.
7047 * Makeconfig (CFLAGS-.oS): Use it.
7048 * manual/install.texi (Configuring and compiling): Document
7049 --with-nonshared-cflags.
7050 * configure: Regenerate.
7051 * INSTALL: Likewise.
7053 2018-08-16 Florian Weimer <fweimer@redhat.com>
7055 * Makeconfig (ASFLAGS): Always append required assembler flags.
7057 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
7059 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
7060 (malloc_consolidate): Likewise.
7062 2018-08-16 Pochang Chen <johnchen902@gmail.com>
7064 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
7066 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7068 * benchtests/bench-strlen.c (do_test): Allocate buffers before
7071 * benchtests/bench-strlen.c: Print performance numbers in json.
7073 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7075 * sysdeps/powerpc/powerpc64/multiarch/Makefile
7076 (sysdep_routines): Build strcmp-power9 and strncmp-power9
7077 only for little endian.
7078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7079 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
7080 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
7081 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
7082 Add check for little endian.
7083 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7084 (__strcmp_power9): Add check for little endian.
7085 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
7086 Add check for little endian.
7087 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7088 (__strncmp_power9): Add check for little endian.
7089 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
7090 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
7091 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
7092 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
7093 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
7095 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
7097 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
7098 [!STRLEN](STRLEN): Set to __strlen.
7099 * sysdeps/aarch64/multiarch/strlen.c: New file.
7100 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
7101 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
7102 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
7103 (__libc_ifunc_impl_list): Add strlen.
7104 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
7105 strlen_generic and strlen_asimd.
7107 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7109 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
7110 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
7111 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7113 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
7115 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
7117 2018-08-14 Florian Weimer <fweimer@redhat.com>
7120 * include/stdio.h (__vfxprintf): Declare.
7121 * stdio-common/fxprintf.c (__vfxprintf): New function.
7122 (__fxprintf): Call it.
7123 * misc/err.c (convert_and_print): Remove function.
7124 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
7125 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
7126 * misc/Makefile (tests): Add tst-warn-wide.
7127 * misc/tst-warn-wide.c: New file.
7129 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
7130 Szabolcs Nagy <szabolcs.nagy@arm.com>
7132 * NEWS: Mention sinf, cosf, sincosf.
7133 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
7134 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
7135 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
7136 constants rather than including generic sincosf.h.
7137 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
7138 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
7139 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
7140 (reduced_cos): Remove.
7141 (sinf_poly): New function.
7142 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
7144 2018-08-14 Florian Weimer <fweimer@redhat.com>
7148 * nss/nss_files/files-alias.c (get_next_alias): During :include:
7149 processing, bail out if no room, and close the stream before
7151 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
7152 (tst-nss-files-alias-leak): Link with libdl.
7153 (tst-nss-files-alias-leak.out): Depend on nss_files.
7155 * nss/tst-nss-files-alias-leak.c: New file.
7157 2018-08-14 Florian Weimer <fweimer@redhat.com>
7159 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
7160 server_user, stat_user.
7162 2018-08-13 Joseph Myers <joseph@codesourcery.com>
7164 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7166 (io_pgetevents): New syscall.
7169 * manual/install.texi (Configuring and compiling): Do not list
7170 tools used for testing pretty printers here.
7171 (Tools for Compilation): List Python, PExpect and GDB here.
7172 Update descriptions of uses of Perl and Python.
7173 * INSTALL: Regenerate.
7175 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7178 2018-08-13 Florian Weimer <fweimer@redhat.com>
7180 * misc/error.c (error): Add missing va_end call.
7181 (error_at_line): Likewise.
7183 2018-08-13 Florian Weimer <fweimer@redhat.com>
7185 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
7187 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
7189 * benchtests/scripts/benchout.schema.json (properties): Add
7192 * benchtests/bench-skeleton.c (main): Add duration and
7193 iterations attributes.
7195 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
7197 regex: Gnulib unibyte RRI uses bytes not chars
7198 Adjust the non-glibc code to agree with what Gawk needs for
7199 rational range interpretation (RRI) for regular expression ranges.
7200 In unibyte locales, Gawk wants ranges to use the underlying byte
7201 rather than the character code point. This change does not affect
7203 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
7204 In unibyte locales, use the byte value rather than
7205 running it through btowc.
7207 2018-08-10 Joseph Myers <joseph@codesourcery.com>
7209 * sysdeps/generic/math-tests-snan.h: New file.
7210 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
7211 (SNAN_TESTS_float): Do not define here.
7212 (SNAN_TESTS_double): Likewise.
7213 (SNAN_TESTS_long_double): Likewise.
7214 (SNAN_TESTS_float128): Likewise.
7215 * sysdeps/i386/fpu/math-tests-snan.h: New file.
7216 * sysdeps/i386/fpu/math-tests.h: Remove file.
7217 * sysdeps/ia64/math-tests-snan.h: New file.
7218 * sysdeps/ia64/math-tests.h: Remove file.
7219 * sysdeps/x86/math-tests.h: Likewise.
7220 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
7222 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7223 Szabolcs Nagy <szabolcs.nagy@arm.com>
7225 * math/Makefile: Add s_sincosf_data.c.
7226 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
7227 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
7228 (sincosf_poly): Likewise.
7229 (reduce_small): Likewise.
7230 (reduce_large): Likewise.
7231 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
7232 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
7233 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
7234 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
7236 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
7237 Szabolcs Nagy <szabolcs.nagy@arm.com>
7239 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
7240 (converttoint): Use lround.
7241 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
7242 document the semantics when TOINT_INTRINSICS is set.
7243 (converttoint): Likewise.
7244 (TOINT_RINT): Remove.
7245 (TOINT_SHIFT): Remove.
7246 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
7249 2018-08-10 Florian Weimer <fweimer@redhat.com>
7252 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
7254 (__old_getdents64): Use getdents64. Convert entries without
7256 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
7257 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
7258 tst-readdir64-compat.
7260 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7262 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
7265 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7267 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
7268 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
7269 code to s390x-mcount.h and #include it.
7270 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
7271 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7274 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7276 * stdlib/Versions: Remove __fentry__.
7277 * sysdeps/i386/Versions: Add __fentry__.
7278 * sysdeps/x86_64/Versions: Add __fentry__.
7280 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7282 * sysdeps/s390/Makefile: Register the new tests.
7283 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
7284 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
7285 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
7286 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
7287 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
7288 * sysdeps/s390/tst-dl-runtime.c: New file.
7290 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7292 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7295 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7297 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7300 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7302 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7305 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7307 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7310 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7312 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7313 Use symbolic offsets for stack variables.
7315 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7317 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
7318 Use symbolic offsets for stack variables.
7320 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7322 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7323 Use symbolic offsets for stack variables.
7325 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
7327 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7328 Use symbolic offsets for stack variables.
7330 2018-08-09 Joseph Myers <joseph@codesourcery.com>
7332 * math/gen-libm-test.py: New file.
7333 * math/gen-libm-test.pl: Remove.
7334 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
7335 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
7337 ($(libm-test-c-noauto-obj)): Likewise.
7338 ($(libm-test-c-auto-obj)): Likewise.
7339 ($(libm-test-c-narrow-obj)): Likewise.
7340 (regen-ulps): Likewise.
7341 * math/README.libm-test: Update references to gen-libm-test.pl.
7342 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
7343 referencing gen-libm-test.pl.
7344 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
7345 * math/libm-test-support.c: Likewise.
7346 * math/libm-test-support.h: Likewise.
7347 * sysdeps/generic/libm-test-ulps: Likewise.
7349 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
7351 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
7354 2018-08-08 Joseph Myers <joseph@codesourcery.com>
7356 * math/libm-test-nextdown.inc (do_test): Move comment to ....
7357 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
7359 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7361 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
7363 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
7364 __pthread_setspecific): Add hidden proto.
7365 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
7366 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
7368 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7370 * benchtests/bench-string.h (buf1_size, buf2_size): New
7372 (init_sizes): New function.
7373 (test_init): Use it.
7374 (alloc_buf, exit_error): New functions.
7375 (alloc_bufs): Use ALLOC_BUF.
7376 (realloc_bufs): Remove.
7377 * benchtests/bench-memcmp.c (do_test): Adjust.
7378 * benchtests/bench-memset-large.c (do_test): Likewise.
7379 * benchtests/bench-memset-walk.c (do_test): Likewise.
7380 * benchtests/bench-memset.c (do_test): Likewise.
7381 * benchtests/bench-strncmp.c (do_test): Likewise.
7383 2018-08-06 Andreas Schwab <schwab@suse.de>
7385 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
7386 of CONST_THREAD_AREA.
7388 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
7390 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
7391 (STATE_SAVE_MASK): Likewise.
7392 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
7393 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
7394 (STATE_SAVE_MASK): Likewise.
7395 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
7396 instead of <cpu-features.h>.
7398 2018-08-03 DJ Delorie <dj@redhat.com>
7400 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
7401 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
7403 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7405 2018-08-03 Joseph Myers <joseph@codesourcery.com>
7407 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
7409 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
7410 * math/libm-test-logb.inc (logb_test_data): Likewise.
7412 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
7414 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
7415 * string/strstr.c (AVAILABLE): Likewise.
7417 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7419 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
7421 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
7422 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
7423 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
7425 2018-08-03 Carlos O'Donell <carlos@redhat.com>
7427 * po/be.po: Update translation.
7429 * po/be.po: Update translation.
7431 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
7433 * sysdeps/x86/cpu-features-offsets.sym
7434 (rtld_global_ro_offsetof): Removed.
7435 (CPU_FEATURES_SIZE): Likewise.
7436 (CPUID_OFFSET): Likewise.
7437 (CPUID_SIZE): Likewise.
7438 (CPUID_EAX_OFFSET): Likewise.
7439 (CPUID_EBX_OFFSET): Likewise.
7440 (CPUID_ECX_OFFSET): Likewise.
7441 (CPUID_EDX_OFFSET): Likewise.
7442 (FAMILY_OFFSET): Likewise.
7443 (MODEL_OFFSET): Likewise.
7444 (FEATURE_OFFSET): Likewise.
7445 (FEATURE_SIZ): Likewise.
7446 (COMMON_CPUID_INDEX_1): Likewise.
7447 (COMMON_CPUID_INDEX_7): Likewise.
7448 (FEATURE_INDEX_1): Likewise.
7449 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
7451 2018-08-02 Carlos O'Donell <carlos@redhat.com>
7453 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
7454 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
7455 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
7456 (install-locales): Depend on install-locale-archive.
7457 (install-locale-archive): Define.
7458 (install-locale-files): Define.
7459 (build-one-locale): Define macro.
7460 * manual/install.texi (Running make install): Document.
7461 * manual/INSTALL: Regenerate.
7463 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7465 * benchtests/scripts/compare_strings.py: Import traceback.
7466 (parse_file): Pretty-print error.
7468 * NEWS: Mention the change.
7469 * elf/dl-tunables.list: Rename tune namespace to cpu.
7470 * sysdeps/powerpc/dl-tunables.list: Likewise.
7471 * sysdeps/x86/dl-tunables.list: Likewise.
7472 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
7474 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
7475 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
7476 * manual/README.tunables: Likewise.
7477 * manual/tunables.texi: Likewise.
7478 * sysdeps/powerpc/cpu-features.c: Likewise.
7479 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
7480 (init_cpu_features): Likewise.
7481 * sysdeps/x86/cpu-features.c: Likewise.
7482 * sysdeps/x86/cpu-features.h: Likewise.
7483 * sysdeps/x86/cpu-tunables.c: Likewise.
7484 * sysdeps/x86_64/Makefile: Likewise.
7485 * sysdeps/x86/dl-cet.c: Likewise.
7487 2018-08-02 Joseph Myers <joseph@codesourcery.com>
7490 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
7491 [__mips_hard_float].
7492 (FE_UNDERFLOW): Likewise.
7493 (FE_OVERFLOW): Likewise.
7494 (FE_DIVBYZERO): Likewise.
7495 (FE_INVALID): Likewise.
7496 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
7497 (FE_TOWARDZERO): Define only if [__mips_hard_float].
7498 (FE_UPWARD): Likewise.
7499 (FE_DOWNWARD): Likewise.
7500 (__FE_UNDEFINED): Define if [!__mips_hard_float]
7501 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
7502 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
7503 [__mips_hard_float].
7504 (FP_ROUNDMODE): Likewise.
7505 (FP_RND_NEAREST): Likewise.
7506 (FP_RND_ZERO): Likewise.
7507 (FP_RND_PINF): Likewise.
7508 (FP_RND_MINF): Likewise.
7509 (FP_EX_INVALID): Likewise.
7510 (FP_EX_OVERFLOW): Likewise.
7511 (FP_EX_UNDERFLOW): Likewise.
7512 (FP_EX_DIVZERO): Likewise.
7513 (FP_EX_INEXACT): Likewise.
7514 (FP_INIT_ROUNDMODE): Likewise.
7515 * sysdeps/mips/nofpu/fesetenv.c: New file.
7516 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
7518 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7520 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
7521 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
7522 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
7523 conditional on [FE_UPWARD].
7525 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
7527 regex: fix memory leak in Gnulib
7528 Problem and fix reported by Assaf Gordon in:
7529 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
7530 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
7531 range_ends members too, as they are defined in 'struct
7532 re_charset_t' even if not _LIBC. This affects only Gnulib.
7534 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
7536 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
7538 (get_common_indices): This.
7539 (init_cpu_features): Updated.
7541 2018-08-01 Joseph Myers <joseph@codesourcery.com>
7543 * sysdeps/generic/math-tests-snan-payload.h: New file.
7544 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
7545 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
7546 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
7547 * sysdeps/generic/math-tests.h: Include
7548 <math-tests-snan-payload.h>.
7549 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7550 * sysdeps/hppa/math-tests.h: Remove file.
7551 * sysdeps/mips/math-tests.h [!__mips_nan2008]
7552 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
7553 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
7556 * sysdeps/generic/math-tests-snan-cast.h: New file.
7557 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
7558 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
7559 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
7560 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
7562 2018-08-01 Carlos O'Donel <carlos@redhat.com>
7564 * version.h (RELEASE): Set to "development".
7565 (VERSION): Set to "2.28.9000".
7566 * NEWS (2.29): New section.
7568 * version.h (RELEASE): Set to "stable".
7569 (VERSION): Set to "2.28".
7570 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
7571 * NEWS: Add the list of bugs fixed in 2.28.
7573 * po/ca.po: Update to latest version.
7574 * po/cs.po: Likewise
7575 * po/da.po: Likewise
7576 * po/el.po: Likewise
7577 * po/eo.po: Likewise
7578 * po/es.po: Likewise
7579 * po/fi.po: Likewise
7580 * po/fr.po: Likewise
7581 * po/gl.po: Likewise
7582 * po/hu.po: Likewise
7583 * po/ia.po: Likewise
7584 * po/id.po: Likewise
7585 * po/it.po: Likewise
7586 * po/ja.po: Likewise
7587 * po/ko.po: Likewise
7588 * po/lt.po: Likewise
7589 * po/nb.po: Likewise
7590 * po/nl.po: Likewise
7591 * po/pt_BR.po: Likewise
7592 * po/ru.po: Likewise
7593 * po/rw.po: Likewise
7594 * po/sk.po: Likewise
7595 * po/sl.po: Likewise
7596 * po/tr.po: Likewise
7597 * po/zh_CN.po: Likewise
7598 * po/zh_TW.po: Likewise
7600 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7602 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
7604 (init): ... before initializing libpthread.
7606 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
7607 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
7608 (__mach_setup_tls): ... new function.
7609 (mach_setup_tls): New alias.
7610 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
7611 __mach_setup_thread.
7612 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
7613 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
7614 * mach/Versions [libc] (mach_setup_tls): Add symbol.
7615 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
7617 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7619 * manual/install.texi: Update versions.
7620 * INSTALL: Regenerate.
7622 * manual/contrib.texi (Contributors): Update contributions.
7624 2018-07-31 Carlos O'Donell <carlos@redhat.com>
7626 * po/be.po: Update translations.
7628 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7630 * sysdeps/sh/libm-test-ulps: Update.
7632 2018-07-30 Carlos O'Donell <carlos@redhat.com>
7634 * po/bg.po: Update translations.
7635 * po/de.po: Likewise.
7636 * po/hr.po: Likewise.
7637 * po/pt_BR.po: Likewise.
7638 * po/sv.po: Likewise.
7639 * po/vi.po: Likewise.
7641 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7644 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7645 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
7646 (CFLAGS-tst-cet-property-1.o): New.
7647 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
7648 ($(objpfx)tst-cet-property-2): Likewise.
7649 ($(objpfx)tst-cet-property-2.out): Likewise.
7650 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
7651 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
7652 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
7653 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
7654 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
7656 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
7659 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
7661 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7663 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
7664 __sbrk): Do not set attribute_hidden.
7665 * sysdeps/mach/hurd/not-errno.h: New file.
7666 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7667 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
7669 2018-07-27 Carlos O'Donell <carlos@redhat.com>
7671 * po/uk.po: Update translations.
7672 * po/cs.po: Likewise.
7673 * po/pl.po: Likewise.
7675 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
7677 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
7678 parse beyond the note end.
7680 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7682 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
7683 kernel does not support OFD locks.
7684 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
7686 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7688 * sysdeps/mach/hurd/Versions (libc): Make __access and
7689 __access_noerrno external so they can override the ld symbols.
7690 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
7691 __writev, __open64, __access_noerrno extern so they can be overrided.
7692 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
7693 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
7695 2018-07-26 Carlos O'Donell <carlos@redhat.com>
7697 * po/libc.pot: Regenerate.
7699 2018-07-26 Joseph Myers <joseph@codesourcery.com>
7701 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7703 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7706 * sysdeps/x86/cpu-features.c (get_extended_indices): New
7708 (init_cpu_features): Call get_extended_indices for both Intel
7710 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
7711 Remove "for AMD" comment.
7713 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
7716 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
7717 COMMON_CPUID_INDEX_80000001.
7719 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
7721 * string/tst-xbzero-opt.c (use_test_buffer): New function.
7722 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
7724 2018-07-26 Florian Weimer <fweimer@redhat.com>
7726 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
7727 aliases for symbols not in the implementation namespace.
7729 2018-07-25 Carlos O'Donell <carlos@redhat.com>
7732 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
7733 lowercase in LATIN script.
7734 * localedata/Makefile (test-input): Add en_US.UTF-8.
7735 * localedata/en_US.UTF-8.in: New file.
7736 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
7737 and restore old tests.
7738 * posix/tst-regexloc.c (do_test): Add back range expression test.
7740 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7742 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
7744 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7746 * nptl/threads.h: Move to ...
7747 * sysdeps/nptl/threads.h: ... here.
7748 * sysdeps/hurd/stdc-predef.h: New file.
7750 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7752 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
7753 tst-cet-setcontext-1 if CET is enabled.
7754 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
7755 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
7757 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7759 * include/threads.h: Move to ...
7760 * sysdeps/nptl/threads.h: ... here.
7761 * sysdeps/htl/threads.h: New file.
7762 * conform/Makefile (linknamespace-libs-ISO11): Use
7763 static-thread-library instead of linking libpthread.
7764 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
7766 2018-07-25 Florian Weimer <fweimer@redhat.com>
7768 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
7769 nanoseconds into seconds.
7770 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
7771 (do_test): Likewise.
7772 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
7773 (do_test): Likewise. Avoid nanosecond overflow and spurious
7774 timeouts due to system load.
7775 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
7776 (child_wait): Increment it.
7777 (do_test): Wait as long as necessary until all expected threads
7780 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
7781 H.J. Lu <hongjiu.lu@intel.com>
7783 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
7785 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
7786 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
7787 (__push___start_context): New.
7788 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
7790 (__getcontext): Record the current shadow stack base. Save the
7791 caller's shadow stack pointer and base.
7792 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
7793 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
7794 (__push___start_context): New prototype.
7795 (__makecontext): Call __push___start_context to allocate a new
7796 shadow stack, push __start_context onto the new stack as well
7797 as the new shadow stack.
7798 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
7800 (__setcontext): Restore the target shadow stack.
7801 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
7803 (__swapcontext): Record the current shadow stack base. Save
7804 the caller's shadow stack pointer and base. Restore the target
7806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7807 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
7808 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
7810 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7812 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
7813 tst-setcontext8 and tst-setcontext9.
7814 * stdlib/tst-setcontext6.c: New file.
7815 * stdlib/tst-setcontext7.c: Likewise.
7816 * stdlib/tst-setcontext8.c: Likewise.
7817 * stdlib/tst-setcontext9.c: Likewise.
7819 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7821 * stdlib/Makefile ((tests): Add tst-setcontext5.
7822 * stdlib/tst-setcontext5.c: New file.
7824 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7826 * stdlib/Makefile (tests): Add tst-setcontext4.
7827 * stdlib/tst-setcontext4.c: New file.
7829 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7831 * stdlib/Makefile (tests): Add tst-swapcontext1.
7832 * stdlib/tst-swapcontext1.c: New test.
7834 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7836 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
7837 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
7838 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
7839 and tst-cet-legacy-4c.
7840 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
7841 and tst-cet-legacy-mod-4.
7842 (CFLAGS-tst-cet-legacy-2.c): New.
7843 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
7844 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
7845 (CFLAGS-tst-cet-legacy-3.c): Likewise.
7846 (CFLAGS-tst-cet-legacy-4.c): Likewise.
7847 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
7848 ($(objpfx)tst-cet-legacy-1): Likewise.
7849 ($(objpfx)tst-cet-legacy-2): Likewise.
7850 ($(objpfx)tst-cet-legacy-2.out): Likewise.
7851 ($(objpfx)tst-cet-legacy-2a): Likewise.
7852 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
7853 ($(objpfx)tst-cet-legacy-4): Likewise.
7854 ($(objpfx)tst-cet-legacy-4.out): Likewise.
7855 ($(objpfx)tst-cet-legacy-4a): Likewise.
7856 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
7857 (tst-cet-legacy-4a-ENV): Likewise.
7858 ($(objpfx)tst-cet-legacy-4b): Likewise.
7859 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
7860 (tst-cet-legacy-4b-ENV): Likewise.
7861 ($(objpfx)tst-cet-legacy-4c): Likewise.
7862 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
7863 (tst-cet-legacy-4c-ENV): Likewise.
7864 * sysdeps/x86/tst-cet-legacy-1.c: New file.
7865 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
7866 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
7867 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
7868 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
7869 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
7870 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
7871 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
7872 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
7873 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
7874 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
7876 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
7878 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7879 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7881 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
7882 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
7885 2018-07-25 Andreas Schwab <schwab@suse.de>
7888 * locale/weightwc.h (findidx): Handle the case where usrc is a
7889 prefix of cp but one character too short.
7891 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7893 * NEWS: Add ISO C threads addition.
7895 2018-07-24 Florian Weimer <fweimer@redhat.com>
7897 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7898 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
7899 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
7902 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
7904 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
7905 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
7906 <sys/prctl.h> and <asm/prctl.h>.
7907 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
7908 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
7910 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
7911 ARCH_CET_LEGACY_BITMAP.
7912 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
7913 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
7914 * sysdeps/x86/libc-start.c: Include <startup.h>.
7916 2018-07-24 Florian Weimer <fweimer@redhat.com>
7918 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
7919 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
7921 2018-07-24 Rical Jasan <rj@2c3t.io>
7922 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7923 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7926 * manual/debug.texi: Update adjacent chapter name.
7927 * manual/probes.texi: Likewise.
7928 * manual/threads.texi (ISO C Threads): New section.
7929 (POSIX Threads): Convert to a section.
7931 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7932 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
7935 * nptl/Makefile (tests): Add new test files.
7936 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
7937 * nptl/tst-cnd-basic.c: Likewise.
7938 * nptl/tst-cnd-broadcast.c: Likewise.
7939 * nptl/tst-cnd-timedwait.c: Likewise.
7940 * nptl/tst-mtx-basic.c: Likewise.
7941 * nptl/tst-mtx-recursive.c: Likewise.
7942 * nptl/tst-mtx-timedlock.c: Likewise.
7943 * nptl/tst-mtx-trylock.c: Likewise.
7944 * nptl/tst-thrd-basic.c: Likewise.
7945 * nptl/tst-thrd-detach.c: Likewise.
7946 * nptl/tst-thrd-sleep.c: Likewise.
7947 * nptl/tst-tss-basic.c: Likewise.
7949 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7952 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7953 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
7955 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7956 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7957 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7958 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7959 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7960 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7961 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7962 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7963 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7964 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7965 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7966 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
7973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7974 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7975 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7976 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7977 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7978 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7979 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7980 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7981 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7982 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
7983 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
7984 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
7985 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
7986 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
7988 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
7989 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
7990 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
7991 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
7992 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
7993 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
7994 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
7995 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
7996 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
7997 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
7998 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
7999 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8006 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
8007 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
8008 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
8009 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
8010 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
8011 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
8012 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
8013 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
8016 * conform/data/threads.h-data (thread_local): New macro.
8017 (TSS_DTOR_ITERATIONS): Likewise.
8019 (tss_dtor_t): Likewise.
8020 (tss_create): New function.
8021 (tss_get): Likewise.
8022 (tss_set): Likewise.
8023 (tss_delete): Likewise.
8024 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
8025 tss_get, and tss_set objects.
8026 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8027 * nptl/tss_create.c: New file.
8028 * nptl/tss_delete.c: Likewise.
8029 * nptl/tss_get.c: Likewise.
8030 * nptl/tss_set.c: Likewise.
8031 * sysdeps/nptl/threads.h (thread_local): New define.
8032 (TSS_DTOR_ITERATIONS): Likewise.
8033 (tss_t): New typedef.
8034 (tss_dtor_t): Likewise.
8035 (tss_create): New prototype.
8036 (tss_get): Likewise.
8037 (tss_set): Likewise.
8038 (tss_delete): Likewise.
8041 * conform/data/threads.h-data (cnd_t): New type.
8042 (cnd_init): New function.
8043 (cnd_signal): Likewise.
8044 (cnd_broadcast): Likewise.
8045 (cnd_wait): Likewise.
8046 (cnd_timedwait): Likewise.
8047 (cnd_destroy): Likewise.
8048 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
8049 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
8051 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
8052 * nptl/cnd_broadcast.c: New file.
8053 * nptl/cnd_destroy.c: Likewise.
8054 * nptl/cnd_init.c: Likewise.
8055 * nptl/cnd_signal.c: Likewise.
8056 * nptl/cnd_timedwait.c: Likewise.
8057 * nptl/cnd_wait.c: Likewise.
8058 * sysdeps/nptl/threads.h (cnd_t): New type.
8059 (cnd_init): New prototype.
8060 (cnd_signa): Likewise.
8061 (cnd_broadcast): Likewise.
8062 (cnd_wait): Likewise.
8063 (cnd_timedwait): Likewise.
8064 (cnd_destroy): Likewise.
8067 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
8068 (once_flag): New type.
8069 (call_once): New function.
8070 * nptl/Makefile (libpthread-routines): Add call_once object.
8071 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
8072 * nptl/call_once.c: New file.
8073 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
8074 (once_flag): New type.
8075 (call_once): New prototype.
8078 * conform/data/threads.h-data (mtx_plain): New constant.
8079 (mtx_recursive): Likewise.
8080 (mtx_timed): Likewise.
8082 (mtx_init): New function.
8083 (mtx_lock): Likewise.
8084 (mtx_timedlock): Likewise.
8085 (mtx_trylock): Likewise.
8086 (mtx_unlock): Likewise.
8087 (mtx_destroy): Likewise.
8088 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
8089 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
8090 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
8091 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
8092 * nptl/mtx_destroy.c: New file.
8093 * nptl/mtx_init.c: Likewise.
8094 * nptl/mtx_lock.c: Likewise.
8095 * nptl/mtx_timedlock.c: Likewise.
8096 * nptl/mtx_trylock.c: Likewise.
8097 * nptl/mtx_unlock.c: Likewise.
8098 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
8099 (mtx_recursive): Likewise.
8100 (mtx_timed): Likewise.
8102 (mtx_init): New prototype.
8103 (mtx_lock): Likewise.
8104 (mtx_timedlock): Likewise.
8105 (mtx_trylock): Likewise.
8106 (mtx_unlock): Likewise.
8107 (mtx_destroy): Likewise.
8110 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
8111 (linknamespace-libs-ISO11): Add libpthread.a.
8112 * conform/data/threads.h-data: New file: add C11 thrd_* types and
8114 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
8115 * nptl/Makefile (headers): Add threads.h.
8116 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
8117 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
8119 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
8120 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
8121 thrd_join, thrd_sleep, and thrd_yield symbols.
8122 * nptl/descr.h (struct pthread): Add c11 field.
8123 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
8124 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
8125 routine with expected function prototype.
8126 (__pthread_create_2_1): Add C11 threads check based on attribute
8128 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
8129 * nptl/thrd_create.c: New file.
8130 * nptl/thrd_current.c: Likewise.
8131 * nptl/thrd_detach.c: Likewise.
8132 * nptl/thrd_equal.c: Likewise.
8133 * nptl/thrd_exit.c: Likewise.
8134 * nptl/thrd_join.c: Likewise.
8135 * nptl/thrd_priv.h: Likewise.
8136 * nptl/thrd_sleep.c: Likewise.
8137 * nptl/thrd_yield.c: Likewise.
8138 * include/threads.h: Likewise.
8140 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8142 * bits/indirect-return.h: New file.
8143 * misc/sys/cdefs.h (__glibc_has_attribute): New.
8144 * sysdeps/x86/bits/indirect-return.h: Likewise.
8145 * stdlib/Makefile (headers): Add bits/indirect-return.h.
8146 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
8147 (swapcontext): Add __INDIRECT_RETURN.
8148 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
8149 (prepare_test_buffer): Use it.
8151 2018-07-24 Andreas Schwab <schwab@suse.de>
8154 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
8155 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
8157 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8159 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
8160 Redefine if shadow stack is enabled.
8161 (SYSCALL_ERROR_LABEL): Likewise.
8162 (__vfork): Pop shadow stack and jump back to to caller directly
8163 when shadow stack is in use.
8164 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
8165 Redefine if shadow stack is enabled.
8166 (SYSCALL_ERROR_LABEL): Likewise.
8167 (__vfork): Pop shadow stack and jump back to to caller directly
8168 when shadow stack is in use.
8170 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
8172 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
8175 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
8178 2018-07-20 Joseph Myers <joseph@codesourcery.com>
8180 * scripts/build-many-glibcs.py (Context.checkout): Default
8181 binutils version to 2.31 branch.
8183 2018-07-20 Zong Li <zong@andestech.com>
8185 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
8186 URL of gcc's tarball.
8188 2018-07-20 Florian Weimer <fweimer@redhat.com>
8191 * posix/regcomp.c (build_equiv_class): When comparing weights, do
8192 not compare an extra byte after the end of the weights.
8194 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
8196 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
8198 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
8200 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
8201 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
8202 * scripts/check-execstack.awk: Consider `xfail' variable containing a
8203 list of libraries whose stack executability is expected.
8204 * elf/Makefile ($(objpfx)check-execstack.out): Pass
8205 $(check-execstack-xfail) to check-execstack.awk through `xfail'
8207 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
8208 libc.so libpthread.so.
8210 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
8212 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
8214 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
8216 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
8218 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
8220 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8222 * benchtests/scripts/compare_bench.py (__main__): use the argparse
8223 library to improve command line parsing.
8224 (__main__): make schema file as optional parameter (--schema),
8225 defaulting to benchtests/scripts/benchout.schema.json.
8226 (main): move out of the parsing stuff to __main_ and leave it
8227 only as caller of main comparison functions.
8229 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
8231 * NEWS: Add a note for Intel CET status.
8232 * manual/install.texi: Likewise.
8233 * INSTALL: Regenerated.
8235 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
8238 * localedata/locales/oc_FR (mon): Rename to...
8239 (alt_mon): This, then update October (typo fix).
8240 (mon): New content (genitive case, month names preceded by
8244 * localedata/locales/oc_FR (abday): Update all items.
8245 (day): Update Wednesday and Saturday (typo fixes).
8246 (abmon): Update all items, except May.
8247 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
8248 (LC_IDENTIFICATION): Bump the revision number and date.
8249 Keep the "category" entries in alphabetic order.
8250 (LC_ADDRESS): Remove no longer needed comment.
8251 (LC_COLLATE): Use “copy "ca_ES"”.
8252 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
8255 2018-07-18 Joseph Myers <joseph@codesourcery.com>
8257 * grp/tst_fgetgrent.c: Include <unistd.h>.
8258 (main): Use mkstemp instead of tmpnam.
8259 * io/test-utime.c (main): Likewise.
8260 * posix/annexc.c (macrofile): Change to modifiable array.
8261 (main): Remove macrofile here.
8262 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8264 (check_header): Do not remove macrofile here.
8265 * posix/bug-getopt1.c: Include <stdlib.h>.
8266 (do_test): Use mkstemp instead of tmpnam.
8267 * posix/bug-getopt2.c: Include <stdlib.h>.
8268 (do_test): Use mkstemp instead of tmpnam.
8269 * posix/bug-getopt3.c: Include <stdlib.h>.
8270 (do_test): Use mkstemp instead of tmpnam.
8271 * posix/bug-getopt4.c: Include <stdlib.h>.
8272 (do_test): Use mkstemp instead of tmpnam.
8273 * posix/bug-getopt5.c: Include <stdlib.h>.
8274 (do_test): Use mkstemp instead of tmpnam.
8275 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
8276 (main): Use mkstemp instead of tmpnam.
8277 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
8278 (main): Use mkstemp instead of tmpnam.
8279 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
8280 (main): use mkstemp instead of tmpnam.
8281 * stdlib/isomac.c (macrofile): Change to modifiable array.
8282 (main): Remove macrofile here.
8283 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
8285 (check_header): Do not remove macrofile here.
8287 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8289 * manual/tunables.texi: Document glibc.tune.x86_ibt and
8290 glibc.tune.x86_shstk.
8292 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8294 * NEWS: Mention --enable-cet.
8295 * manual/install.texi: Document --enable-cet.
8296 * INSTALL: Regenerated.
8298 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8300 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
8301 Add _CET_NOTRACK before indirect jump to jump table.
8303 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8305 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
8306 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8309 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8311 * sysdeps/i386/i686/multiarch/strcat-sse2.S
8312 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8315 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8317 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
8318 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8321 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8323 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
8324 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8327 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8329 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
8330 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8332 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
8334 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8336 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
8337 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8340 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8342 * sysdeps/i386/i686/multiarch/memset-sse2.S
8343 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8346 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8348 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
8349 indirect jump to jump table.
8351 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8353 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
8354 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8358 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8360 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
8361 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8365 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8367 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8368 _CET_NOTRACK before indirect jump to jump table.
8370 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8372 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
8373 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
8376 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
8378 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
8379 indirect jump to jump table.
8381 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
8384 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
8385 (LOCALES): Likewise.
8386 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
8387 * localedata/locales/sah_RU: New file.
8388 * localedata/sah_RU.UTF-8.in: New file.
8390 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8392 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
8394 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8395 _CET_ENDBR to indirect jump targets and adjust jump destination
8397 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
8399 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
8400 _CET_ENDBR to indirect jump targets and adjust jump destination
8402 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
8404 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
8405 _CET_ENDBR to indirect jump targets and adjust jump destination
8408 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8410 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
8413 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8415 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
8417 (_dl_tlsdesc_undefweak): Likewise.
8418 (_dl_tlsdesc_dynamic): Likewise.
8419 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
8420 (_dl_tlsdesc_resolve_rel): Likewise.
8421 (_dl_tlsdesc_resolve_rela): Likewise.
8422 (_dl_tlsdesc_resolve_hold): Likewise.
8423 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
8424 (_dl_tlsdesc_undefweak): Likewise.
8425 (_dl_tlsdesc_dynamic): Likewise.
8426 (_dl_tlsdesc_resolve_rela): Likewise.
8427 (_dl_tlsdesc_resolve_hold): Likewise.
8429 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8431 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
8433 * sysdeps/x86_64/crti.S (_init): Likewise.
8436 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
8439 * localedata/locales/os_RU (mon): Rename to...
8441 (mon): Import from CLDR (genitive case).
8443 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
8445 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
8446 cet-tunables.h> when CET is enabled.
8448 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
8451 * configure.ac: Add --enable-cet.
8452 * configure: Regenerated.
8453 * elf/Makefille (all-built-dso): Add a comment.
8454 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
8455 Include <dl-prop.h>.
8456 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
8458 * elf/dl-open.c: Include <dl-prop.h>.
8459 (dl_open_worker): Call _dl_open_check.
8460 * elf/rtld.c: Include <dl-prop.h>.
8461 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
8463 * sysdeps/generic/dl-prop.h: New file.
8464 * sysdeps/i386/dl-cet.c: Likewise.
8465 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
8466 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
8467 * sysdeps/x86/cet-tunables.h: Likewise.
8468 * sysdeps/x86/check-cet.awk: Likewise.
8469 * sysdeps/x86/configure: Likewise.
8470 * sysdeps/x86/configure.ac: Likewise.
8471 * sysdeps/x86/dl-cet.c: Likewise.
8472 * sysdeps/x86/dl-procruntime.c: Likewise.
8473 * sysdeps/x86/dl-prop.h: Likewise.
8474 * sysdeps/x86/libc-start.h: Likewise.
8475 * sysdeps/x86/link_map.h: Likewise.
8476 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
8478 (_dl_runtime_profile): Likewise.
8479 (_dl_runtime_resolve_shstk): New.
8480 (_dl_runtime_profile_shstk): Likewise.
8481 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
8483 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
8484 (CFLAGS-.os): Likewise.
8485 (CFLAGS-.op): Likewise.
8486 (CFLAGS-.oS): Likewise.
8487 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
8489 (tests-special): Add $(objpfx)check-cet.out.
8490 (cet-built-dso): New.
8491 (+$(cet-built-dso:=.note)): Likewise.
8492 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
8493 ($(objpfx)check-cet.out): New.
8494 (generated): Add check-cet.out.
8495 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
8497 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
8498 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8499 (init_cpu_features): Call get_cet_status to check CET status
8500 and update dl_x86_feature_1 with CET status. Call
8501 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
8502 (set_x86_shstk). Disable and lock CET in libc.a.
8503 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
8504 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
8505 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
8506 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
8507 (_CET_ENDBR): Define if not defined.
8508 (ENTRY): Add _CET_ENDBR.
8509 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
8511 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
8513 (_dl_runtime_profile): Likewise.
8515 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
8518 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
8519 restore r2 on longjmp.
8520 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
8522 Added rules to build test tst-setjmp-bug21895-static.
8523 Added module setjmp-bug21895 and rules to build a shared object from it.
8524 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
8525 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
8527 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
8529 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
8530 * benchtests/bench-strstr.c: Likewise.
8531 * string/memmem.c (FASTSEARCH): Define.
8532 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
8533 Add support for FASTSEARCH.
8534 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
8535 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
8536 (FASTSEARCH): Define.
8537 * string/test-strcasestr.c: Rename __strnlen to strnlen.
8538 * string/test-strstr.c: Likewise.
8540 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
8542 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
8543 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
8545 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
8546 H.J. Lu <hongjiu.lu@intel.com>
8548 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
8549 (__longjmp): Restore shadow stack pointer if shadow stack is
8550 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8551 isn't defined for __longjmp_cancel.
8552 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
8553 (_setjmp): Save shadow stack pointer if shadow stack is enabled
8554 and SHADOW_STACK_POINTER_OFFSET is defined.
8555 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
8556 (setjmp): Save shadow stack pointer if shadow stack is enabled
8557 and SHADOW_STACK_POINTER_OFFSET is defined.
8558 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
8559 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8560 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8561 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
8563 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8564 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8565 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
8566 Remove jmp_buf-ssp.sym.
8567 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8569 (____longjmp_chk): Restore shadow stack pointer if shadow stack
8570 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8571 * sysdeps/x86/Makefile (gen-as-const-headers): Add
8573 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
8574 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
8575 (__longjmp): Restore shadow stack pointer if shadow stack is
8576 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
8577 isn't defined for __longjmp_cancel.
8578 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
8579 (__sigsetjmp): Save shadow stack pointer if shadow stack is
8580 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
8582 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
8585 * nptl/pthread_create.c: Include <tls-setup.h>.
8586 (__pthread_create_2_1): Call tls_setup_tcbhead.
8587 * sysdeps/generic/tls-setup.h: New file.
8588 * sysdeps/x86/nptl/tls-setup.h: Likewise.
8589 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
8590 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
8592 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
8594 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8595 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
8596 (X86_FEATURE_1_SHSTK): Likewise.
8597 (CET_ENABLED): Likewise.
8598 (IBT_ENABLED): Likewise.
8599 (SHSTK_ENABLED): Likewise.
8601 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
8604 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
8605 (LOCALES): Likewise.
8606 * localedata/dsb_DE.UTF-8.in: New file.
8607 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
8609 2018-07-12 Florian Weimer <fweimer@redhat.com>
8611 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
8612 __mprotect, not mprotect.
8614 2018-07-11 Florian Weimer <fweimer@redhat.com>
8616 * io/Makefile (headers): Add bits/statx.h.
8618 2018-07-10 Mike FABIAN <mfabian@redhat.com>
8620 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
8621 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
8623 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
8624 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
8627 2018-07-10 Florian Weimer <fweimer@redhat.com>
8629 * io/Makefile (routines): Add statx.
8630 (tests-internal): Add tst-statx.
8631 * io/Versions (GLIBC_2.28): Export statx.
8632 * io/bits/statx.h: New file.
8633 * io/sys/stat.h [__USE_GNU]: Include it.
8634 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
8635 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
8637 * io/statx.c: New file.
8638 * io/statx_generic.: Likewise.
8639 * io/tst-statx.: Likewise.
8640 * include/bits/statx.h: Likewise.
8641 * sysdeps/unix/sysv/linux/kernel-features.h
8642 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
8643 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8644 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
8645 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
8647 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8648 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
8649 * sysdeps/unix/sysv/linux/statx.c: New file.
8650 * manual/filesys.texi: Note that statx is undocumented.
8651 * sysdeps/**/libc*.abilist: Update.
8653 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8655 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
8656 a kernel issue which lead to test failure in some cases.
8658 2018-07-10 Florian Weimer <fweimer@redhat.com>
8661 * posix/regexec.c (check_node_accept_bytes): When comparing
8662 weights, do not compare an extra byte after the end of the
8665 2018-07-10 Florian Weimer <fweimer@redhat.com>
8667 * libio/readline.c: Fix copyright year.
8668 * libio/tst-readline.c Likewise.
8669 * nss/tst-nss-files-hosts-getent.c: Likewise.
8671 2018-07-06 Florian Weimer <fweimer@redhat.com>
8674 * nss/nss_files/files-XXX.c (internal_getent): Use
8675 __libc_readline_unlocked. Seek back to the start of the line if
8676 parsing failes with ERANGE.
8677 (get_contents_ret, get_contents): Remove.
8678 * nss/tst-nss-files-hosts-getent.c: New file.
8679 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
8680 (tst-nss-files-hosts-getent): Link with -ldl.
8682 2018-07-06 Florian Weimer <fweimer@redhat.com>
8684 * include/stdio.h (__libc_readline_unlocked): Declare.
8685 (__ftello64, __fseeko64): Declare aliases.
8686 * libio/readline.c: New file.
8687 * libio/tst-readline.c: Likewise.
8688 (routines): Add readline.
8689 (tests-internal): Add tst-readlime.
8690 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
8691 __libc_readline_unlocked.
8692 * libio/fseeko.c (__fseeko): Rename from fseeko.
8693 (fseeko): Add alias.
8694 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
8695 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
8696 (fseeko64): Add alias.
8697 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
8698 * libio/ftello64.c (__ftello64): Rename from ftello64.
8699 (ftello64): Add alias.
8701 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8703 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
8706 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8708 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
8709 Use dl_hwcap without masking.
8710 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
8713 2018-07-06 Florian Weimer <fweimer@redhat.com>
8715 * conform/conformtest.pl (checknamespace): Escape literal braces
8716 in regular expressions.
8718 2018-07-06 Amit Pawar <amit.pawar@amd.com>
8720 * sysdeps/x86/cpu-features.c (get_common_indeces):
8721 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
8722 * sysdeps/x86/cpu-features.c (init_cpu_features):
8723 AVX_Fast_Unaligned_Load is disabled for Excavator core.
8725 2018-07-05 Florian Weimer <fweimer@redhat.com>
8727 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
8729 (CFLAGS-elf-init.oS): Likewise.
8731 2018-07-05 Florian Weimer <fweimer@redhat.com>
8732 Carlos O'Donell <carlos@redhat.com>
8734 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
8735 $(no-stack-protector). stack_chk_fail_local.c can be compiled
8736 with stack protector enabled because there is no risk of infinite
8739 2018-07-05 Maciej W. Rozycki <macro@mips.com>
8743 * libc-abis (ABSOLUTE): New ABI.
8744 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
8745 * NEWS: Mention the new ABI.
8747 2018-07-05 Florian Weimer <fweimer@redhat.com>
8750 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
8751 (RENAME_WHITEOUT): Define.
8752 [__USE_GNU] (renameat2): Declare.
8753 * stdio-common/Makefile (routines): Add renameat2.
8754 (tests): Add tst-renameat2.
8755 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
8756 * stdio-common/renameat2.c: New file.
8757 * stdio-common/tst-renameat2.c: Likewise.
8758 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
8759 * manual/filesys.texi (Temporary Files): Note that renameat2 is
8761 * sysdeps/unix/sysv/linux/kernel-features.h
8762 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
8763 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8764 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8765 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8766 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
8767 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8768 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
8769 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8770 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
8771 * include/stdio.h (__renameat): Add alias for renameat.
8772 * stdio-common/renameat.c (__renameat): Rename from renameat.
8773 Add hidden definition and alias.
8774 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8775 * sysdeps/mach/hurd/renameat.c: Likewise.
8776 * sysdeps/**/libc*.abilist: Add renameat2.
8778 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8780 * posix/bug-regex33.c: Fix build after regex sync.
8782 2018-07-04 Carlos O'Donell <carlos@redhat.com>
8785 * localedata/tst-langinfo-setlocale.c: New file.
8786 * localedata/tst-langinfo-setlocale-static.c: New file.
8787 * localedata/tst-langinfo-newlocale.c: New file.
8788 * localedata/tst-langinfo-newlocale-static.c: New file.
8789 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
8790 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
8791 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
8792 (tests-static): Remove tst-langinfo-static. Add
8793 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
8794 (tests-special): Remove $(objpfx)tst-langinfo.out,
8795 $(objpfx)tst-langinfo-static.out. Add
8796 $(objpfx)tst-langinfo-setlocale.out,
8797 $(objpfx)tst-langinfo-newlocale.out,
8798 $(objpfx)tst-langinfo-setlocale-static.out,
8799 $(objpfx)tst-langinfo-newlocale-static.out.
8800 ($(objpfx)tst-langinfo.out): Remove.
8801 ($(objpfx)tst-langinfo-static.out): Remove.
8802 ($(objpfx)tst-langinfo-newlocale.out): New target.
8803 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
8804 (test-xfail-tst-langinfo-newlocale-static): Add.
8805 ($(objpfx)tst-langinfo-setlocale.out): New target.
8806 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
8807 * localedata/tst-langinfo.c: Call test_locale.
8808 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
8811 2018-07-04 Florian Weimer <fweimer@redhat.com>
8813 testrun.sh: Implement --tool=strace, --tool=valgrind
8814 * Makefile (testrun-script): Define variable.
8815 (testrun.sh): Use variable.
8816 * manual/install.texi (Tools for Compilation): make 4.0 or later
8818 * configure.ac: Check for make 4.0 or later.
8819 * INSTALL: Regenerate.
8820 * configure: Likewise.
8822 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8828 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
8829 * posix/PCRE.tests: Remove invalid test.
8830 * posix/bug-regex28.c: Fix expected values for used syntax.
8831 * posix/bug-regex37.c: New file.
8832 * posix/bug-regex38.c: Likewise.
8833 * posix/regcomp.c: Sync with gnulib.
8834 * posix/regex.c: Likewise.
8835 * posix/regex.h: Likewise.
8836 * posix/regex_internal.c: Likewise.
8837 * posix/regex_internal.h: Likewise.
8838 * posix/regexec.c: Likewise.
8840 2018-06-26 Mike FABIAN <mfabian@redhat.com>
8843 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
8844 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
8845 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
8846 * localedata/unicode-gen/PropList.txt: likewise.
8847 * localedata/unicode-gen/UnicodeData.txt: likewise.
8848 * localedata/charmaps/UTF-8: Regenerate.
8849 * localedata/locales/i18n_ctype: likewise.
8850 * localedata/locales/tr_TR: likewise.
8851 * localedata/locales/translit_circle: likewise.
8852 * localedata/locales/translit_cjk_compat: likewise.
8853 * localedata/locales/translit_combining: likewise.
8854 * localedata/locales/translit_compat: likewise.
8855 * localedata/locales/translit_font: likewise.
8856 * localedata/locales/translit_fraction: likewise.
8858 2018-07-03 Florian Weimer <fweimer@redhat.com>
8861 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
8862 * stdio-common/tst-printf.sh: Adjust expected output.
8865 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8867 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
8870 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8872 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
8873 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
8874 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
8875 * stdio-common/tst-printfsz-islongdouble.c: New file.
8876 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
8877 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
8878 [subdir == stdio-common] (routines): Add ieee128-printf_size.
8879 [subdir == stdio-common] (tests-internal): Add
8880 test-printf-size-ieee128, and test-printf-size-ibm128.
8881 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
8882 (CFLAGS-test-printf-size-ibm128.c): New variables.
8883 [subdir == stdio-common] (tests-special): Add
8884 $(objpfx)test-printf-size-ieee128.out and
8885 $(objpfx)test-printf-size-ibm128.out.
8886 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
8887 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
8888 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
8889 __printf_sizeieee128.
8890 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
8892 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
8894 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
8897 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
8899 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
8900 (exp2f_inline): Likewise.
8901 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
8902 (__math_uflowf): Likewise.
8903 (__math_may_uflowf): Likewise.
8904 (__math_divzerof): Likewise.
8905 (__math_invalidf): Likewise.
8906 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
8907 (__math_oflowf): Likewise.
8908 (__math_uflowf): Likewise.
8909 (__math_may_uflowf): Likewise.
8910 (__math_divzerof): Likewise.
8911 (__math_invalidf): Likewise.
8913 2018-06-29 DJ Delorie <dj@redhat.com>
8914 Carlos O'Donell <carlos@redhat.com>
8917 * include/libc-symbols.h: Comment the freeres framework.
8918 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
8919 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
8920 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
8921 * dlfcn/dlerror.c: Include libc-symbols.h
8922 (__dlerror_main_freeres): New function.
8923 * dlfcn/dlfreeres.c: New file.
8924 * dlfcn/sdlfreeres.c: New file.
8925 * include/dlfcn.h: Declare __dlerror_main_freeres.
8926 * malloc/set-freeres.c: Declare __libdl_freeres, and
8927 __libpthread_freeres.
8928 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
8929 the releavant libraries are loaded.
8930 * malloc/thread-freeres.c: Add comments.
8931 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
8932 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
8933 * nptl/allocatestack.c (__nptl_free_stacks): New function.
8934 (__free_stacks): Rename to...
8935 (free_stacks): ...this. Mark static.
8936 (queue_stack): Call free_stacks.
8937 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
8938 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
8939 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
8940 ptr_freeres element from struct.
8941 (pthread_functions): Remove .ptr_freeres from struct initializer.
8942 [SHARED] (nptl_freeres): Remove.
8943 * nptl/nptlfreeres.c: New file.
8945 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
8946 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
8948 (__free_stacks): Rename to...
8949 (__nptl_stacks_freeres): ...this.
8950 (__shm_directory_freeres): Declare.
8951 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
8952 (__nptl_unwind_freeres): ...this.
8953 * resolv/res-close.c: Add comment.
8954 * resolv/resolv_conf.c: Include libc-symbols.h.
8955 * string/strerror_l.c: Include libc-symbols.h.
8956 * sunrpc/rpc_thread.c: Include libc-symbols.h.
8957 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
8958 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
8959 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
8961 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8963 * stdlib/tst-strfmon_l.c: Add tests for long double.
8965 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
8968 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
8969 * localedata/locales/dsb_DE: New file.
8971 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
8974 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
8976 (alt_mon): New entry, import from CLDR (nominative case).
8978 2018-06-29 Sylvain Lesage <severo@rednegra.net>
8981 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
8983 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
8985 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
8986 Use vector registers.
8988 * sysdeps/aarch64/multiarch/memmove_falkor.S
8989 (__memcpy_falkor): Use vector registers.
8991 2018-06-29 Martin Sebor <msebor@redhat.com>
8993 * manual/stdio.texi (Customizing Printf): Mention interaction
8996 2018-06-29 Maciej W. Rozycki <macro@mips.com>
8999 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
9000 `st_value' is 0 if `st_shndx' is SHN_ABS.
9001 * elf/tst-absolute-zero.c: New file.
9002 * elf/tst-absolute-zero-lib.c: New file.
9003 * elf/tst-absolute-zero-lib.lds: New file.
9004 * elf/Makefile (tests): Add `tst-absolute-zero'.
9005 (modules-names): Add `tst-absolute-zero-lib'.
9006 (LDLIBS-tst-absolute-zero-lib.so): New variable.
9007 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
9008 ($(objpfx)tst-absolute-zero: New dependency.
9010 2018-06-29 Zack Weinberg <zackw@panix.com>
9012 * configure.ac: New command-line option --disable-crypt.
9013 Force --disable-nss-crypt when --disable-crypt is given, with a
9014 warning if it was explicitly enabled.
9015 * configure: Regenerate.
9016 * config.make.in: New boolean substitution variable $(build-crypt).
9017 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
9018 when $(build-crypt).
9019 * manual/install.texi: Document --disable-crypt.
9020 * INSTALL: Regenerate.
9022 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
9024 * conform/Makefile: Only include libcrypt.a in
9025 linknamespace-libs-xsi and linknamespace-libs-XPG4
9026 when $(build-crypt).
9027 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
9028 USE_CRYPT to 1 when $(build-crypt).
9029 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
9030 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
9031 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
9033 2018-06-29 Zack Weinberg <zackw@panix.com>
9035 * crypt/crypt.h, posix/unistd.h: Update comments and
9036 prototypes for crypt and crypt_r.
9038 * manual/crypt.texi (Cryptographic Functions): New initial
9040 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
9041 (Unpredictable Bytes): Improve initial exposition. Clarify error
9042 behavior of getentropy and getrandom.
9043 * manual/examples/genpass.c: Generate a salt using getentropy
9044 instead of the current time. Use hash $5$ (SHA-2-256).
9045 * manual/examples/testpass.c: Demonstrate validation against
9046 hashes generated with three different one-way functions.
9048 * manual/intro.texi: crypt.texi does not need an overview
9051 * manual/nss.texi, manual/memory.texi, manual/socket.texi
9052 * manual/terminal.texi: Consistently refer to "passphrases"
9053 * instead of "passwords", and to the "user database" instead
9054 * of the "password database".
9055 * manual/users.texi: Similarly. Add notes about how actual
9056 passphrase hashes are now stored in the shadow database.
9057 Remove 20-year-old junk todo note.
9059 2018-06-29 Zack Weinberg <zackw@panix.com>
9061 * manual/crypt.texi: Use a normal top-level @node declaration.
9062 Move most of the introductory text to the 'crypt' section.
9063 Move the example programs below the @deftypefun for 'crypt_r'.
9064 Move the 'getpass' section...
9065 * manual/terminal.texi: ...here.
9067 2018-06-29 Zack Weinberg <zackw@panix.com>
9068 Florian Weimer <fweimer@redhat.com>
9070 * posix/unistd.h: Do not declare encrypt.
9071 (_XOPEN_CRYPT): Remove macro definition.
9072 (crypt): Declare only for _USE_MISC.
9073 * stdlib/stdlib.h: Do not declare setkey.
9074 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
9075 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
9077 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
9078 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
9079 into compat symbols. Don't define initial_perm if it's not
9081 * crypt/cert.c: Link explicitly with the expected versions for
9082 setkey and encrypt. If they are not available at all, mark
9083 the test as unsupported.
9085 * sunrpc/des_crypt.c: Unconditionally block linkage with
9086 cbc_crypt and ecb_crypt for new binaries.
9087 * sunrpc/des_soft.c: Unconditionally block linkage with
9088 des_setparity for new binaries.
9090 * manual/crypt.texi: Remove the entire "DES Encryption"
9091 section. Also remove the paragraph talking about FIPS 140-2
9092 from the introduction.
9093 * manual/string.texi (strfry, memfrob): Revise. Recommend use
9094 of libgcrypt for "real" encryption, not DES.
9095 * manual/conf.texi (Constants for Sysconf): Mention that
9096 _XOPEN_CRYPT is no longer impelemented.
9098 * conform/data/unistd.h-data: Remove crypt function declaration.
9100 2018-06-29 Florian Weimer <fweimer@redhat.com>
9103 * malloc/hooks.c: Update comments on restoring of dumped heaps.
9104 (disallow_malloc_check): Remove variable.
9105 (__malloc_check_init): Adjust.
9106 (malloc_set_state): Update comment.
9107 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
9110 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
9113 * localedata/locales/ast_ES (mon): Rename to...
9115 (mon): Import from CLDR (genitive case).
9117 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
9118 Jakub Sitnicki <jkbs@redhat.com>
9121 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
9124 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
9126 * manual/llio.texi: Remove spurious space.
9128 2018-06-28 Florian Weimer <fweimer@redhat.com>
9131 * time/bits/types/struct_timespec.h: Change header inclusion guard to
9134 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9136 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
9137 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
9138 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
9139 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
9140 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
9141 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
9142 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
9144 2018-06-27 Maciej W. Rozycki <macro@mips.com>
9147 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
9148 Copy and null-terminate entries that are not terminated, in
9149 addition to empty ones.
9151 2018-06-27 Florian Weimer <fweimer@redhat.com>
9154 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
9155 (extend_alloca_account): Remove.
9156 * manual/stdio.texi (Variable Arguments Output): Update comment.
9158 2018-06-27 Joseph Myers <joseph@codesourcery.com>
9160 * nptl/sockperf.c: Remove file.
9162 2018-06-27 Florian Weimer <fweimer@redhat.com>
9165 * elf/dl-deps.c (_dl_map_object_deps): Use struct
9166 scratch_buffer instead of extend_alloca.
9168 2018-06-27 Florian Weimer <fweimer@redhat.com>
9171 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
9172 scratch_buffer instead of extend_alloca. Update comments.
9174 2018-06-27 Florian Weimer <fweimer@redhat.com>
9177 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
9178 instead of extend_alloca.
9180 2018-06-26 Joseph Myers <joseph@codesourcery.com>
9183 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
9184 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
9186 * scripts/test-installation.pl: Put temporary files in build
9187 directory, not /tmp.
9188 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
9189 (CFLAGS-bug4.c): Likewise.
9190 (CFLAGS-bug5.c): Likewise.
9191 (CFLAGS-test-fseek.c): Likewise.
9192 (CFLAGS-test-popen.c): Likewise.
9193 (CFLAGS-test_rdwr.c): Likewise.
9194 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
9196 * stdio-common/bug4.c (main): Likewise.
9197 * stdio-common/bug5.c (main): Likewise.
9198 * stdio-common/test-fseek.c (TESTFILE): Likewise.
9199 * stdio-common/test-popen.c (do_test): Likewise.
9200 * stdio-common/test_rdwr.c (main): Likewise.
9202 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
9204 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
9205 (sem_open): Set sem.newsem.pad to zero for valgrind.
9207 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9210 * NEWS: Mention fcntl64 addition.
9211 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
9212 * login/utmp_file.c: Likewise.
9213 * sysdeps/posix/fdopendir.c: Likewise.
9214 * sysdeps/posix/opendir.c: Likewise.
9215 * sysdeps/unix/pt-fcntl.c: Likewise.
9216 * include/fcntl.h (__libc_fcntl64, __fcntl64,
9217 __fcntl64_nocancel_adjusted): New prototype.
9218 (__fcntl_nocancel_adjusted): Remove prototype.
9219 * io/Makefile (routines): Add fcntl64.
9220 (CFLAGS-fcntl64.c): New rule.
9221 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
9222 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
9223 * io/fcntl.h (fcntl64): Add prototype and redirect if
9224 __USE_FILE_OFFSET64 is defined.
9225 * io/fcntl64.c: New file.
9226 * manual/llio.text: Add a note for which commands fcntl acts a
9228 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
9229 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
9230 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
9232 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
9233 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
9235 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
9236 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
9237 to __fcntl64_nocancel.
9238 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
9239 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
9240 to __fcntl64_nocancel.
9241 * sysdeps/generic/not-cancel.h: Likewise.
9242 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
9243 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
9244 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
9245 (fcntl64): New symbol.
9246 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9247 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9248 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9251 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9252 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9253 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9254 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9255 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9256 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
9258 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9259 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
9260 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9261 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9262 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9263 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9264 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9265 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9266 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9271 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9272 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9273 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9275 2018-06-26 Florian Weimer <fweimer@redhat.com>
9277 Run thread shutdown functions in an explicit order.
9278 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
9280 (__libc_thread_freeres): Call thread shutdown functions
9282 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
9283 * include/string.h (__strerror_thread_freeres): Declare.
9284 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
9285 arena_thread_freeres. No longer static. Remove thread shutdown
9287 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
9289 * resolv/res-close.c (__res_thread_freeres): Renamed from
9290 res_thread_freeres. No longer static. Remove thread shutdown
9292 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
9293 * resolv/resolv_conf.c (freeres): Remove incorrect section
9294 attribute and use libc_freeres_fn.
9295 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
9296 strerror_thread_freeres. No longer static. Remove thread
9297 shutdown hook registration.
9298 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
9299 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
9300 shutdown hook registration.
9301 * Makerules (shlib.lds): Do not provide section boundary symbols
9302 for __libc_thread_subfreeres.
9303 * manual/memory.texi (Basic Allocation): Update comment.
9305 2018-06-26 Florian Weimer <fweimer@redhat.com>
9307 Remove always-defined _RPC_THREAD_SAFE_ macro.
9308 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
9309 Do not define _RPC_THREAD_SAFE_.
9310 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
9312 * sunrpc/clnt_perr.c: Likewise.
9313 * sunrpc/clnt_raw.c: Likewise.
9314 * sunrpc/clnt_simp.c: Likewise.
9315 * sunrpc/key_call.c: Likewise.
9316 * sunrpc/rpc_common.c: Likewise.
9317 * sunrpc/rpc_main.c: Likewise.
9318 * sunrpc/rpc_thread.c: Likewise.
9319 * sunrpc/svc.c: Likewise.
9320 * sunrpc/svc_raw.c: Likewise.
9321 * sunrpc/svc_simple.c: Likewise.
9322 * sumrpc/svcauth_des.c: Likewise.
9324 2018-06-26 Florian Weimer <fweimer@redhat.com>
9326 * libio/Makefile (tests-internal): Add tst-vtables,
9327 tst-vtables-interposed.
9328 * libio/tst-vtables.c: New file.
9329 * libio/tst-vtables-common.c: Likewise.
9330 * libio/tst-vtables-interposed.c: Likewise.
9332 2018-06-26 Florian Weimer <fweimer@redhat.com>
9334 * support/support_test_main.c (support_test_main): Only call
9335 setvbuf if not disables.
9336 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
9337 * support/test-driver.h (struct test_config): Add no_setvbuf member.
9339 2018-06-26 Florian Weimer <fweimer@redhat.com>
9342 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
9344 2018-06-25 Florian Weimer <fweimer@redhat.com>
9347 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9348 Use struct scratch_buffer instead of extend_alloca.
9350 2018-06-25 Florian Weimer <fweimer@redhat.com>
9353 * nss/getent.c (initgroups_keys): Use dynarray instead of
9356 2018-06-25 Florian Weimer <fweimer@redhat.com>
9359 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
9360 Use struct scratch_buffer instead of extend_alloca.
9362 2018-06-25 Florian Weimer <fweimer@redhat.com>
9365 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
9366 back to malloc directly, without stack allocations.
9368 2018-06-25 Florian Weimer <fweimer@redhat.com>
9371 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
9374 2018-06-25 Florian Weimer <fweimer@redhat.com>
9377 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
9379 * nscd/hstcache.c (addhstbyX): Likewise.
9380 * nscd/pwdcache.c (addpwbyX): Likewise.
9381 * nscd/servicescache.c (addservbyX): Likewise.
9383 2018-06-25 Florian Weimer <fweimer@redhat.com>
9386 * nscd/connections.c (read_cmdline): New function.
9387 (restart): Use it. Update comment.
9389 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9392 * localedata/locales/csb_PL (mon): Rename to...
9394 (abmon): Rename to...
9396 (mon): Add with proper genitive forms, copy from Wikipedia.
9399 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
9402 * localedata/locales/csb_PL (mon): Fix typos:
9403 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
9404 (yesstr): Add, value is "jo".
9405 (nostr): Add, value is "nié".
9407 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9409 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
9410 all log1p and significand functions on m680x0.
9411 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
9412 of s_significand.c..
9413 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
9414 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
9415 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
9416 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
9417 s_log1p.c and include it..
9419 2018-06-21 Vincent Chen <vincentc@andestech.com>
9421 * elf/elf.h (R_NDS32_NONE): New define.
9422 (R_NDS32_32_RELA): Likewise.
9423 (R_NDS32_COPY): Likewise.
9424 (R_NDS32_GLOB_DAT): Likewise.
9425 (R_NDS32_JUMP_SLOT): Likewise.
9426 (R_NDS32_RELATIVE): Likewise.
9427 (R_NDS32_TLS_TPOFF): Likewise.
9428 (R_NDS32_TLS_DESC): Likewise.
9430 2018-06-21 Mark Wielaard <mark@klomp.org>
9432 * elf/elf.h (R_BPF_MAP_FD): Removed.
9433 (R_BPF_64_64, R_BPF_64_32): New.
9435 2018-06-21 Florian Weimer <fweimer@redhat.com>
9438 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
9439 Renamed from libc_feholdsetround_ctx.
9440 (default_libc_feresetround_ctx): Renamed from
9441 libc_feresetround_ctx.
9442 (default_libc_feholdsetround_noex_ctx): Renamed from
9443 libc_feholdsetround_noex_ctx.
9444 (default_libc_feresetround_noex_ctx): Renamed from
9445 libc_feresetround_noex_ctx.
9446 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
9447 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
9448 forwardning to the old implementations under the new names.
9449 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
9450 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
9451 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
9452 (libc_feresetround_ctx): Forward to default implements for i386
9453 and MATH_SET_BOTH_ROUNDING_MODES.
9454 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
9455 Add -DMATH_SET_BOTH_ROUNDING_MODES.
9457 2018-06-20 Joseph Myers <joseph@codesourcery.com>
9459 * string/tst-cmp.c: Include <libc-diag.h>.
9460 (strncmp_max): Disable -Wstringop-overflow= around call to
9462 (strncasecmp_max): Disable -Wstringop-overflow= around call to
9465 * string/bug-strpbrk1.c: Include <libc-diag.h>.
9466 (main): Disable -Wunused-value around call to strpbrk.
9467 * string/bug-strspn1.c: Include <libc-diag.h>.
9468 (main): Disable -Wunused-value around call to strspn.
9470 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9471 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9473 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
9474 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
9476 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9478 * math/Makefile (libm-calls): Move s_significandF to...
9479 (gen-libm-calls): ... here.
9480 * math/s_significand_template.c: New file.
9481 * math/s_significand.c: Removed.
9482 * math/s_significandf.c: Removed.
9483 * math/s_significandl.c: Removed.
9484 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
9485 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
9487 * math/e_exp2_template.c (declare_mgen_finite_alias,
9488 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
9489 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
9490 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
9492 2018-06-20 Florian Weimer <fweimer@redhat.com>
9494 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
9496 2018-06-19 Joseph Myers <joseph@codesourcery.com>
9499 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
9500 floating-point number to strtod functions rather than possibly
9501 negating result of those functions.
9502 * stdio-common/tst-scanf-round.c: New file.
9503 * stdio-common/Makefile (tests): Add tst-scanf-round.
9504 ($(objpfx)tst-scanf-round): Depend on $(libm).
9506 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
9508 * sysdeps/mach/hurd/localplt.data: Move to...
9509 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
9510 R_386_GLOB_DAT like on Linux i386.
9512 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9514 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
9515 (SHM_STAT_ANY): New macro.
9516 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
9517 (SHM_STAT_ANY): Likewise.
9518 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
9519 (SHM_STAT_ANY): Likewise.
9520 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
9521 (SHM_STAT_ANY): Likewise.
9522 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
9523 (SHM_STAT_ANY): Likewise.
9524 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
9525 (SHM_STAT_ANY): Likewise.
9526 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
9527 (SHM_STAT_ANY): Likewise.
9528 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
9529 (SHM_STAT_ANY): Likewise.
9530 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
9531 (SHM_STAT_ANY): Likewise.
9532 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
9533 (SHM_STAT_ANY): Likewise.
9534 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
9535 (SHM_STAT_ANY): Likewise.
9536 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
9537 (SHM_STAT_ANY): Likewise.
9539 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
9540 (SEM_STAT_ANY): New macro.
9541 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
9542 (SEM_STAT_ANY): Likewise.
9543 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
9544 (SEM_STAT_ANY): Likewise.
9545 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
9546 (SEM_STAT_ANY): Likewise.
9547 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
9548 (SEM_STAT_ANY): Likewise.
9549 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
9550 (SEM_STAT_ANY): Likewise.
9551 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
9552 (SEM_STAT_ANY): Likewise.
9553 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
9554 (SEM_STAT_ANY): Likewise.
9555 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
9556 (SEM_STAT_ANY): Likewise.
9557 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
9558 (SEM_STAT_ANY): Likewise.
9560 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
9561 (MSG_STAT_ANY): New macro.
9562 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
9563 (MSG_STAT_ANY): Likewise.
9564 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
9565 (MSG_STAT_ANY): Likewise.
9566 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
9567 (MSG_STAT_ANY): Likewise.
9568 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
9569 (MSG_STAT_ANY): Likewise.
9570 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
9571 (MSG_STAT_ANY): Likewise.
9572 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
9573 (MSG_STAT_ANY): Likewise.
9574 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
9575 (MSG_STAT_ANY): Likewise.
9576 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
9577 (MSG_STAT_ANY): Likewise.
9578 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
9579 (MSG_STAT_ANY): Likewise.
9581 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9582 (MAP_TYPE): Change value to 0x2b.
9584 2018-06-18 Florian Weimer <fweimer@redhat.com>
9587 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
9588 socket with SOCK_CLOEXEC.
9590 2018-06-18 Joseph Myers <joseph@codesourcery.com>
9593 * sysdeps/powerpc/powerpc64/le/Makefile
9594 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
9595 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
9596 (gnulib-tests): Also add $(f128-loader-link) for
9597 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
9599 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
9601 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
9602 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
9604 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
9605 (sendfile64): New strong alias.
9606 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
9607 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
9608 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
9609 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
9611 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
9612 ___pthread_get_cleanup_stack.
9613 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
9614 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
9615 * mach/shortcut.awk: Make syscall stubs include
9616 <mach-shortcuts-hidden.h> and add hidden definition.
9617 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
9618 (__mach_msg): Add hidden prototype.
9619 * mach/msg.c: Include <mach.h>.
9620 (__mach_msg): Add hidden definition.
9621 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
9622 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
9623 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
9624 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
9625 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
9626 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
9627 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
9628 prototype and definition.
9629 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
9630 hidden target for _hurd_self_sigstate.
9632 2018-06-15 Joseph Myers <joseph@codesourcery.com>
9635 * stdlib/tst-strtod-nan-sign-main.c: New file.
9636 * stdlib/tst-strtod-nan-sign.c: Likewise.
9637 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
9638 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
9639 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
9640 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
9641 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
9643 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
9646 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
9649 2018-06-14 Florian Weimer <fweimer@redhat.com>
9652 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
9653 that the result stays within the ISO-8859-1 range.
9654 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
9655 characters are defined in IBM273.
9657 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
9659 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
9660 __mach_task_self): Remove attribute_hidden.
9662 2018-06-14 Joseph Myers <joseph@codesourcery.com>
9664 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
9665 ignore -Wrestrict for one test.
9667 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
9668 Szabolcs Nagy <szabolcs.nagy@arm.com>
9670 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
9672 2018-06-14 Florian Weimer <fweimer@redhat.com>
9674 * scripts/update-abilist.sh: Accept empty list of files to patch.
9676 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
9678 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
9679 test-xfail-check-abi-libmachuser): Add.
9680 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
9681 __libc_read and __libc_write to __read and __write.
9682 * sysdeps/hurd/include/hurd/port.h: New file.
9683 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
9684 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
9685 __thread_switch, __evc_wait): Move declarations to...
9686 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
9688 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
9689 use PLT to call _hurd_self_sigstate.
9691 2018-06-13 Joseph Myers <joseph@codesourcery.com>
9694 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
9695 MAX_EXP as overflowing.
9696 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
9698 (round_str): Output also whether result overflows in each rounding
9700 * stdlib/tst-strtod-round-data: Add more tests.
9701 * stdlib/tst-strtod-round-data.h: Regenerated.
9702 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
9703 (TEST): Handle extra arguments for overflow flags.
9704 (struct test_overflow): New type.
9705 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
9706 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
9707 (test_in_one_mode): Take argument with overflow information.
9708 (do_test): Update calls to test_in_one_mode.
9710 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9712 * elf/dl-load (_dl_dst_substitute): Correct comment.
9713 (_dl_dst_count): Likewise.
9715 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
9716 lll_futex_timed_wait.
9718 2018-06-12 Joseph Myers <joseph@codesourcery.com>
9721 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
9723 * math/test-nan-const.c: New file.
9724 * math/Makefile (tests): Add test-nan-const.
9725 (CFLAGS-test-nan-const.c): New variable.
9727 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9729 * benchtests/scripts/compare_strings.py (process_results): Add
9730 funcs argument. Compare only functions which are selected.
9731 (main): Check if base function is among selected functions.
9732 Pass selected functions to process_results.
9733 (__main__): Add -f/--functions argument.
9735 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
9736 Hongbo Zhang <hongbo.zhang@linaro.org>
9738 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
9739 __memcpy_falkor for phecda core.
9740 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
9741 __memmove_falkor for phecda core.
9742 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
9743 __memset_falkor for phecda core.
9744 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
9746 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
9747 macro to identify phecda core.
9749 2018-06-12 Carlos O'Donell <carlos@redhat.com>
9750 Andreas Schwab <schwab@suse.de>
9751 Dmitry V. Levin <ldv@altlinux.org>
9752 Florian Weimer <fweimer@redhat.com>
9759 * elf/dl-dst.h: Remove DL_DST_COUNT.
9760 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
9761 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
9762 (is_dst): Comment. Support ELF gABI.
9763 (_dl_dst_count): Comment. Simplify and count DSTs.
9764 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
9765 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
9768 2018-06-12 Zack Weinberg <zackw@panix.com>
9770 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
9771 * sysdeps/unix/sysv/linux/dl-sysdep.c
9772 Include not-cancel.h. Use __close_nocancel instead of __close,
9773 __open64_nocancel instead of __open, __read_nocancel instead of
9774 __libc_read, and __write_nocancel instead of __libc_write.
9776 * csu/check_fds.c (check_one_fd)
9777 * sysdeps/posix/fdopendir.c (__fdopendir)
9778 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
9779 instead of __fcntl and/or __libc_fcntl.
9781 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
9782 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
9783 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
9784 Use __open64_nocancel instead of __open_nocancel.
9786 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
9787 hidden_proto declarations to the end and issue them if either
9788 IS_IN(libc) or IS_IN(rtld).
9789 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
9790 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
9791 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
9792 read_nocancel, waitpid_nocancel, write_nocancel.
9794 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
9795 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
9796 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
9798 * nptl/pt-fcntl.c: New file.
9799 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
9800 (libpthread-routines): Add pt-fcntl.
9801 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
9802 (__libc_fcntl): Remove attribute_hidden.
9803 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
9804 __fcntl_nocancel_adjusted, not fcntl_common.
9805 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
9806 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
9807 to fcntl_nocancel.c.
9808 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
9809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9811 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
9813 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
9814 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
9815 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
9816 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
9817 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
9818 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
9819 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
9820 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
9821 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
9822 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
9823 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
9824 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
9825 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
9826 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
9827 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
9828 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
9829 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
9830 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
9831 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
9832 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
9834 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
9835 libpthread-routines.
9836 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
9839 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
9840 __libc_read, and __write instead of __libc_write. Define
9841 __open64 in addition to __open.
9843 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
9847 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
9848 to _private_tm[3] and add __glibc_reserved2.
9849 Add _Static_assert of offset of __private_ss == 0x30.
9850 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
9851 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
9853 2018-06-12 Florian Weimer <fweimer@redhat.com>
9855 x86: Make strncmp usable from rtld.
9856 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
9857 __strncmp_ia32 if in libc (and not in rtld).
9858 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
9859 strncmp if not in libc (and not to __strncmp_sse2).
9861 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
9864 * localedata/locales/gd_GB (mon): Rename to...
9866 (mon): Import from CLDR (genitive case).
9867 * localedata/locales/hsb_DE (mon): Rename to...
9869 (mon): Import from CLDR (genitive case).
9870 * localedata/locales/wa_BE (mon): Rename to...
9872 (mon): Add, fill with the proper genitive forms, but CLDR data
9873 is incomplete; completed according to the comments in this file.
9874 (d_t_fmt): Do not use "di" before the month name, no longer needed.
9876 * localedata/locales/wa_BE (country_name): Reword
9877 "Beljike" -> "Beldjike".
9879 2018-06-11 Joseph Myers <joseph@codesourcery.com>
9882 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
9883 cases of non-finite arguments.
9884 * math/libm-test-fma.inc (fma_test_data): Add more tests.
9886 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
9889 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
9891 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9894 * include/unistd.h (__execvpex): New prototype.
9895 * posix/Makefile (tests): Add tst-spawn4.
9896 (tests-internal): Add tst-spawn4-compat.
9897 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
9898 * posix/tst-spawn4-compat.c: New file.
9899 * posix/tst-spawn4.c: Likewise.
9900 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
9901 binaries as shell scripts.
9902 * sysdeps/posix/spawni.c (__spawni): Likewise.
9904 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
9907 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
9908 ($(all-built-dso:=.dynsym): New target.
9909 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
9910 ($(objpfx)check-initfini.out): New target.
9911 (generated): Add check-initfini.out.
9912 * scripts/check-initfini.awk: New file.
9913 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
9915 * sysdeps/alpha/crti.S (_init): Mark as hidden.
9917 * sysdeps/arm/crti.S (_init): Mark as hidden.
9919 * sysdeps/hppa/crti.S (_init): Mark as hidden.
9921 * sysdeps/i386/crti.S (_init): Mark as hidden.
9923 * sysdeps/ia64/crti.S (_init): Mark as hidden.
9925 * sysdeps/m68k/crti.S (_init): Mark as hidden.
9927 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
9929 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
9931 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
9933 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
9935 * sysdeps/nios2/crti.S (_init): Mark as hidden.
9937 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
9939 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
9941 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
9943 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
9945 * sysdeps/sh/crti.S (_init): Mark as hidden.
9947 * sysdeps/sparc/crti.S (_init): Mark as hidden.
9949 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
9952 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9954 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
9955 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
9956 and TF redirection to KFtype and KF only when the default
9957 long double type is not the IEEE 128-bit floating point type.
9959 2018-06-05 Joseph Myers <joseph@codesourcery.com>
9961 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
9963 (HWCAP_USCAT): Likewise.
9964 (HWCAP_ILRCPC): Likewise.
9965 (HWCAP_FLAGM): Likewise.
9966 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
9968 (_dl_aarch64_cap_flags): Add new flag names.
9970 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
9971 (MAP_FIXED_NOREPLACE): New macro.
9972 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
9973 (MAP_FIXED_NOREPLACE): Likewise.
9974 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
9975 (MAP_FIXED_NOREPLACE): Likewise.
9976 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9977 (MAP_FIXED_NOREPLACE): Likewise.
9978 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
9979 (MAP_FIXED_NOREPLACE): Likewise.
9980 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
9981 (MAP_FIXED_NOREPLACE): Likewise.
9982 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
9983 (MAP_FIXED_NOREPLACE): Likewise.
9984 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
9985 (MAP_FIXED_NOREPLACE): Likewise.
9986 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
9987 (MAP_FIXED_NOREPLACE): Likewise.
9988 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
9989 (MAP_FIXED_NOREPLACE): Likewise.
9990 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
9991 (MAP_FIXED_NOREPLACE): Likewise.
9992 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
9993 (MAP_FIXED_NOREPLACE): Likewise.
9994 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
9995 (MAP_FIXED_NOREPLACE): Likewise.
9996 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
9997 (MAP_FIXED_NOREPLACE): Likewise.
9998 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
9999 (MAP_FIXED_NOREPLACE): Likewise.
10001 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10004 2018-06-04 Joseph Myers <joseph@codesourcery.com>
10006 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10009 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10011 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
10013 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
10015 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10017 * benchtests/scripts/compare_string.py: (process_results) Catch
10018 exception in non-existent base_func and catch exception in
10019 non-existent attribute.
10020 (parse_file) Catch exception if input file does not exist.
10022 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10024 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
10025 options to avoid diff calculation and omit header, respectively.
10026 (main): process --no-diff and --no-header
10028 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10029 H.J. Lu <hongjiu.lu@intel.com>
10031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10032 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
10034 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10035 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
10036 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
10037 and __wcsncmp_sse2.
10038 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
10039 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
10040 AVX unaligned load is fast and vzeroupper is preferred.
10041 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
10042 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
10043 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
10044 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
10045 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
10046 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
10047 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
10048 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
10049 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
10050 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
10053 2018-06-01 Florian Weimer <fweimer@redhat.com>
10055 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
10056 configuring with --disable-multi-arch, building with
10057 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
10060 2018-06-01 Florian Weimer <fweimer@redhat.com>
10062 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
10063 results from building with “-march=x86-64 -mtune=generic
10064 -mfpmath=sse” and running on a Haswell-era CPU.
10066 2018-06-01 Joseph Myers <joseph@codesourcery.com>
10069 * soft-fp/sqrttf2.c: Remove file.
10070 * soft-fp/sqrtdf2.c: Move to ....
10071 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
10073 (__sqrtdf2): Make conditional on
10074 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10076 * soft-fp/sqrtsf2.c: Move to ....
10077 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
10079 (__sqrtsf2): Make conditional on
10080 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
10082 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
10083 (gcc-double-routines): Remove sqrtdf2.
10084 (gcc-quad-routines): Remove sqrttf2.
10085 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10086 Do not filter out sqrtsf2 and sqrtdf2.
10087 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10088 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
10090 2018-06-01 Florian Weimer <fweimer@redhat.com>
10092 * sysdeps/generic/libcidn.abilist: Remove file.
10094 2018-06-01 Florian Weimer <fweimer@redhat.com>
10097 * libio/strfile.h (struct _IO_str_fields): Rename members to
10098 discourage their use and add comment.
10099 (_IO_STR_DYNAMIC): Remove unused macro.
10100 * libio/strops.c (_IO_str_init_static_internal): Do not use
10101 callback pointers. Call malloc and free.
10102 (_IO_str_overflow): Do not use callback pointers. Call malloc
10104 (enlarge_userbuf): Likewise.
10105 (_IO_str_finish): Call free.
10106 * libio/wstrops.c (_IO_wstr_init_static): Initialize
10107 _allocate_buffer_unused.
10108 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
10110 (enlarge_userbuf): Likewise.
10111 (_IO_wstr_finish): Call free.
10112 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
10113 _allocate_buffer_unused, _free_buffer_unused.
10114 * libio/memstream.c (__open_memstream): Likewise.
10115 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10116 * libio/wmemstream.c (open_wmemstream): Likewise.
10118 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10120 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
10123 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10125 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
10126 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
10127 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
10129 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
10131 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
10133 2018-05-29 Florian Weimer <fweimer@redhat.com>
10135 * support/Makefile (libsupport-routines): Add
10136 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
10137 xpthread_barrierattr_setpshared.
10138 * support/xpthread_barrierattr_destroy.c: New file.
10139 * support/xpthread_barrierattr_init.c: Likewise.
10140 * support/xpthread_barrierattr_setpshared.c: Likewise.
10142 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
10145 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
10146 _r_debug and update DT_DEBUG for debugger.
10148 2018-05-29 Florian Weimer <fweimer@redhat.com>
10150 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
10151 (tst-strtod5i.out): Likewise.
10153 2018-05-25 Joseph Myers <joseph@codesourcery.com>
10155 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
10156 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
10157 (sparc64-quad-routines): New variable. Moved from ....
10158 [$(subdir) = soft-fp] (sysdep_routines): Add
10159 $(sparc64-quad-routines). Moved from ....
10160 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
10161 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
10162 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
10164 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
10165 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
10166 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
10167 * sysdeps/sparc/sparc64/qp_add.c: ... here.
10168 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
10169 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
10170 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
10171 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
10172 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
10173 * sysdeps/sparc/sparc64/qp_div.c: ... here.
10174 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
10175 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
10176 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
10177 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
10178 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
10179 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
10180 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
10181 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
10182 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
10183 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
10184 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
10185 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
10186 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
10187 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
10188 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
10189 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
10190 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
10191 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
10192 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
10193 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
10194 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
10195 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
10196 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
10197 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
10198 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
10199 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
10200 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
10201 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
10202 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
10203 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
10204 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
10205 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
10206 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
10207 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
10208 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
10209 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
10210 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
10211 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
10212 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
10213 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
10214 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
10215 * sysdeps/sparc/sparc64/qp_util.c: ... here.
10216 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
10217 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
10218 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
10219 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
10220 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
10221 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
10223 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
10224 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
10225 (sparc32-quad-routines): New variable. Moved from ....
10226 [$(subdir) = soft-fp] (sysdep_routines): Add
10227 $(sparc32-quad-routines). Moved from ....
10228 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
10229 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
10231 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
10232 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
10233 * sysdeps/sparc/sparc32/q_add.c: ... here.
10234 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
10235 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
10236 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
10237 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
10238 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
10239 * sysdeps/sparc/sparc32/q_div.c: ... here.
10240 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
10241 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
10242 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
10243 * sysdeps/sparc/sparc32/q_feq.c: ... here.
10244 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
10245 * sysdeps/sparc/sparc32/q_fge.c: ... here.
10246 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
10247 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
10248 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
10249 * sysdeps/sparc/sparc32/q_fle.c: ... here.
10250 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
10251 * sysdeps/sparc/sparc32/q_flt.c: ... here.
10252 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
10253 * sysdeps/sparc/sparc32/q_fne.c: ... here.
10254 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
10255 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
10256 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
10257 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
10258 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
10259 * sysdeps/sparc/sparc32/q_mul.c: ... here.
10260 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
10261 * sysdeps/sparc/sparc32/q_neg.c: ... here.
10262 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
10263 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
10264 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
10265 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
10266 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
10267 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
10268 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
10269 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
10270 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
10271 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
10272 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
10273 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
10274 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
10275 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
10276 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
10277 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
10278 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
10279 * sysdeps/sparc/sparc32/q_sub.c: ... here.
10280 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
10281 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
10282 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
10283 * sysdeps/sparc/sparc32/q_util.c: ... here.
10284 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
10285 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
10286 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
10287 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
10289 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10290 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10292 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
10293 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
10294 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
10295 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
10297 2018-05-24 Joseph Myers <joseph@codesourcery.com>
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10303 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
10304 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
10306 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10309 * math/math.h [C++] (iseqsig): Fix parameter type for the long
10312 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10314 * sysdeps/sh/Implies: Remove sh/soft-fp.
10315 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
10316 * sysdeps/sh/sfp-machine.h: ... here.
10318 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10320 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10321 (__mempcpy_erms): Skip zero length.
10322 (__memmove_erms): Likewise.
10323 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10324 (__memset_erms): Likewise.
10326 2018-05-23 Joseph Myers <joseph@codesourcery.com>
10328 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
10329 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
10330 Add functions moved from ....
10331 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
10332 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
10333 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
10335 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
10336 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
10337 * sysdeps/alpha/e_sqrtl.c: ... here.
10338 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
10339 * sysdeps/alpha/local-soft-fp.h: ... here.
10340 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
10341 * sysdeps/alpha/ots_add.c: ... here.
10342 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
10343 * sysdeps/alpha/ots_cmp.c: ... here.
10344 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
10345 * sysdeps/alpha/ots_cmpe.c: ... here.
10346 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
10347 * sysdeps/alpha/ots_cvtqux.c: ... here.
10348 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
10349 * sysdeps/alpha/ots_cvtqx.c: ... here.
10350 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
10351 * sysdeps/alpha/ots_cvttx.c: ... here.
10352 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
10353 * sysdeps/alpha/ots_cvtxq.c: ... here.
10354 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
10355 * sysdeps/alpha/ots_cvtxt.c: ... here.
10356 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
10357 * sysdeps/alpha/ots_div.c: ... here.
10358 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
10359 * sysdeps/alpha/ots_mul.c: ... here.
10360 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
10361 * sysdeps/alpha/ots_nintxq.c: ... here.
10362 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
10363 * sysdeps/alpha/ots_sub.c: ... here.
10364 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
10365 * sysdeps/alpha/sfp-machine.h: ... here.
10367 2018-05-23 Florian Weimer <fweimer@redhat.com>
10375 Switch to extern IDNA implementation (libidn2).
10376 * libidn: Remove subdirectory.
10377 * LICENSES: Do not mention licensing conditions for the removed
10379 * config.h.in (HAVE_LIBIDN): Remove.
10380 * include/dlfcn.h (__libc_dlopen): Update comment.
10381 * include/idna.h: Remove file.
10382 * inet/Makefile (routines): Add idna.
10383 (tests-static, tests-internal): Add tst-idna_name_classify.
10384 (LOCALES): Generate locales for tests.
10385 (tst-idna_name_classify.out): Depend on generated locales.
10386 * inet/idna_name_classify.c: New file.
10387 * inet/tst-idna_name_classify.c: Likewise.
10388 * inet/net-internal.h (__idna_to_dns_encoding)
10389 (__idna_from_dns_encoding): Declare.
10390 * inet/net-internal.h (enum idna_name_classification): Define.
10391 (__idna_name_classify): Declare.
10392 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
10393 __idna_from_dns_encoding.
10394 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
10395 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
10396 name as a fallback in case of encoding errors.
10397 (getnameinfo): Use DEPRECATED_NI_IDN.
10398 * inet/idna.c: New file.
10399 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
10400 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
10401 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
10402 (modules-names): Add tst-no-libidn2.
10403 (extra-test-objs): Add tst-no-libidn2.os.
10404 (LDFLAGS-tst-no-libidn2.so): Set soname.
10405 (LOCALES): Set, and generate locales.
10406 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
10407 (tst-resolv-ai_idn-latin1): Likewise.
10408 (tst-resolv-ai_idn-nolibidn2): Likewise.
10409 (tst-resolv-ai_idn.out): Depend on locales.
10410 (tst-resolv-ai_idn-latin1.out): Depend on locales.
10411 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
10413 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
10414 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
10415 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
10416 * resolv/tst-resolv-ai_idn.c: New file.
10417 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
10418 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
10419 * resolv/tst-no-libidn2.c: Likewise.
10420 * support/support_format_addrinfo.c (format_ai_flags): Do not
10421 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
10422 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
10423 (gaih_inet): Call __idna_to_dns_encoding and
10424 __idna_from_dns_encoding, and use the original (punycode) name if
10425 __idna_from_dns_encoding fails due to an encoding error.
10426 (getaddrinfo): Use DEPRECATED_AI_IDN.
10427 * sysdeps/unix/inet/Subdirs (libidn): Remove.
10428 * sysdeps/unix/inet/configure: Remove file.
10429 * sysdeps/unix/inet/configure.ac: Likewise.
10431 2018-05-23 Florian Weimer <fweimer@redhat.com>
10433 Implement allocate_once.
10434 * include/allocate_once.h: New file.
10435 * misc/allocate_once.c: Likewise.
10436 * misc/tst-allocate_once.c: Likewise.
10437 * misc/Makefile (routines): Add allocate_once.
10438 (tests-internal): Add tst-allocate_once.
10439 (generated): Add tst-allocate_once.mtrace,
10440 tst-allocate_once-mem.out.
10441 (tests-special): Add tst-allocate_once-mem.out.
10442 (tst-allocate_once-ENV): Set MALLOC_TRACE.
10443 (tst-allocate_once-mem.out): Call mtrace.
10444 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
10446 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
10449 * string/test-memcpy.c (do_test1): New function.
10450 (test_main): Call it.
10452 2018-05-23 Andreas Schwab <schwab@suse.de>
10456 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
10457 (L(preloop_large)): Save initial destination pointer in %r11 and
10458 use it instead of %rax after the loop.
10459 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
10461 2018-05-22 Joseph Myers <joseph@codesourcery.com>
10463 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
10464 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
10465 -I../soft-fp. Moved from ....
10466 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
10467 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
10468 * sysdeps/aarch64/e_sqrtl.c: ... here.
10469 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
10470 * sysdeps/aarch64/sfp-machine.h: ... here.
10472 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
10473 -Wmaybe-uninitialized around access to fq[0].
10474 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10478 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
10479 aliases for non-libc case of versioned symbols.
10480 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
10481 (llseek): Define as compat symbol if
10482 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
10484 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
10485 Make into a compat symbol, disabled for minimum symbol version
10486 GLIBC_2.28 and later.
10487 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
10489 2018-05-22 Florian Weimer <fweimer@redhat.com>
10491 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
10492 not add -mpreferred-stack-boundary=4.
10493 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
10494 (stack-align-test-flags): Likewise.
10495 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
10497 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
10498 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
10499 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
10500 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
10501 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
10502 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
10503 (CFLAGS-tst-align2.c): Likewise.
10505 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10507 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
10508 (index_arch_Prefer_FSRM): Likewise.
10509 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
10510 Also check Prefer_FSRM.
10511 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
10512 Also return OPTIMIZE (erms) for Prefer_FSRM.
10514 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
10516 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
10517 (index_cpu_FSRM): Likewise.
10518 (reg_FSRM): Likewise.
10520 2018-05-18 Joseph Myers <joseph@codesourcery.com>
10522 * math/gen-tgmath-tests.py: Import sys.
10523 (Tests.__init__): Initialize macros_seen.
10524 (Tests.add_tests): Add macro to macros_seen. Only generate tests
10525 if requested to do so for this macro.
10526 (Tests.add_all_tests): Take argument for macro for which to
10528 (Tests.check_macro_list): New function.
10529 (main): Handle check-list argument and argument specifying macro
10530 for which to generate tests.
10531 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
10532 [PYTHON] (tgmath3-macro-tests): Likewise.
10533 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
10534 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
10535 not test-tgmath3.c.
10536 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
10537 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
10539 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
10540 [PYTHON] ($(foreach
10541 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
10543 [PYTHON] (tests-special): Add
10544 $(objpfx)test-tgmath3-macro-list.out.
10545 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
10547 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
10548 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
10552 * time/tzset.c (SECSPERDAY): Cast to time_t.
10553 * time/tst-y2039.c: New file.
10554 * time/Makefile (tests): Add tst-y2039.
10556 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
10558 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10559 (PREFETCH_ONE_SET): Remove duplicate line.
10561 2018-05-17 Florian Weimer <fweimer@redhat.com>
10563 * sysdeps/generic/math-type-macros-double.h: Include
10564 <math-nan-payload-double.h> after <libm-alias-double.h>.
10565 * sysdeps/generic/math-type-macros-float.h: Include
10566 <math-nan-payload-float.h> after <libm-alias-float.h>.
10567 * sysdeps/generic/math-type-macros-float128.h: Include
10568 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
10569 * sysdeps/generic/math-type-macros-ldouble.h: Include
10570 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
10572 2018-05-17 Andreas Schwab <schwab@suse.de>
10574 * resolv/res_send.c (__res_context_send): Don't set errno when
10575 returing error after malloc failure.
10577 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
10579 * nptl/allocatestack.c (allocate_stack): Remove the
10580 !__ASSUME_PRIVATE_FUTEX paths.
10581 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
10582 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10584 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
10585 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10586 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10587 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
10588 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
10589 !__ASSUME_PRIVATE_FUTEX path.
10590 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
10591 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
10592 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
10593 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
10594 !__ASSUME_PRIVATE_FUTEX macros.
10595 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
10596 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
10597 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
10598 * sysdeps/unix/sysv/linux/kernel-features.h
10599 (__ASSUME_PRIVATE_FUTEX): Removed.
10601 2018-05-17 Joseph Myers <joseph@codesourcery.com>
10603 * math/Makefile (libm-narrow-fns): Add div.
10604 (libm-test-funcs-narrow): Likewise.
10605 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
10606 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
10607 * math/gen-auto-libm-tests.c (test_functions): Add div.
10608 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
10609 (NARROW_DIV_ROUND_TO_ODD): Likewise.
10610 (NARROW_DIV_TRIVIAL): Likewise.
10611 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
10613 (__ddivl): Likewise.
10614 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
10616 (CFLAGS-nldbl-ddiv.c): New variable.
10617 (CFLAGS-nldbl-fdiv.c): Likewise.
10618 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10620 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
10622 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
10623 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
10624 * math/auto-libm-test-in: Add tests of div.
10625 * math/auto-libm-test-out-narrow-div: New generated file.
10626 * math/libm-test-narrow-div.inc: New file.
10627 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
10629 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
10630 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
10631 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
10632 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
10633 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
10634 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
10635 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
10636 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
10637 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
10638 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
10639 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
10640 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
10641 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
10642 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
10643 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
10644 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
10645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10646 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10648 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10649 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10650 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10651 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10652 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10653 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10654 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10655 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10657 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10658 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10663 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10664 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10665 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10666 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10667 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10668 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10669 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10670 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10672 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10675 * nscd/nscd-client.h (sendfileall): Remove prototype.
10676 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
10677 (handle_request): Use writeall instead of sendfileall.
10678 * nscd/aicache.c (addhstaiX): Likewise.
10679 * nscd/grpcache.c (cache_addgr): Likewise.
10680 * nscd/hstcache.c (cache_addhst): Likewise.
10681 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10682 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
10683 * nscd/pwdcache.c (cache_addpw): Likewise.
10684 * nscd/servicescache.c (cache_addserv): Likewise.
10685 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
10686 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
10687 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
10690 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
10692 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
10693 Include <string/strncat.c>.
10694 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
10696 (__GI___strncat): New hidden alias.
10698 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10700 * sysdeps/mips/mips32/libm-test-ulps: Update.
10701 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10703 2018-05-16 Florian Weimer <fweimer@redhat.com>
10705 * support/Makefile (libsupport-routines): Add support_quote_blob,
10706 support_test_compare_blob.
10707 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
10708 * support/check.h (TEST_COMPARE_BLOB): Define.
10709 (support_test_compare_blob): Declare.
10710 * support/support.h (support_quote_blob): Declare.
10711 * support/support_quote_blob.c: New file.
10712 * support/support_test_compare_blob.c: Likewise.
10713 * support/tst-support_quote_blob.c: Likewise.
10714 * support/tst-test_compare_blob.c: Likewise.
10716 2018-05-16 Florian Weimer <fweimer@redhat.com>
10718 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
10719 of <strtod_nan_double.h>.
10720 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
10721 instead of SET_MANTISSA.
10722 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
10723 of include <strtod_nan_float.h>.
10724 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
10725 instead of <strtod_nan_ldouble.h>.
10726 * stdlib/strtod_nan_double.h: Move to ...
10727 * sysdeps/generic/math-nan-payload-double.h: ... here.
10728 (FLOAT): Remove definition.
10729 (SET_MANTISSA): Rename to ...
10730 (SET_NAN_PAYLOAD): ... this.
10731 * stdlib/strtod_nan_float.h: Move to ...
10732 * sysdeps/generic/math-nan-payload-float.h: ... here.
10733 (FLOAT): Remove definition.
10734 (SET_MANTISSA): Rename to ...
10735 (SET_NAN_PAYLOAD): ... this.
10736 * sysdeps/generic/math-type-macros-double.h: Include
10737 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
10738 instead of <math-svid-compat.h>.
10739 * sysdeps/generic/math-type-macros-float.h: Include
10740 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
10741 instead of <math-svid-compat.h>.
10742 * sysdeps/generic/math-type-macros-float128.h: Include
10743 <math-nan-payload-float128.h>.
10744 * sysdeps/generic/math-type-macros-ldouble.h: Include
10745 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
10746 instead of <math-svid-compat.h>.
10747 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
10748 check for definition.
10749 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
10750 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
10751 Include <ieee754_float128.h>.
10752 (FLOAT): Remove definition.
10753 (SET_MANTISSA): Rename to ...
10754 (SET_NAN_PAYLOAD): ... this.
10755 * sysdeps/ieee754/float128/strtof128_nan.c: Include
10756 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
10757 Do not include <float128_private.h>.
10758 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
10760 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
10761 (FLOAT): Remove definition.
10762 (SET_MANTISSA): Rename to ...
10763 (SET_NAN_PAYLOAD): ... this.
10764 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
10765 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
10766 (FLOAT): Remove definition.
10767 (SET_MANTISSA): Rename to ...
10768 (SET_NAN_PAYLOAD): ... this.
10769 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
10770 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
10771 (FLOAT): Remove definition.
10772 (SET_MANTISSA): Rename to ...
10773 (SET_NAN_PAYLOAD): ... this.
10774 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
10775 of "../stdlib/strtod_nan_double.h".
10776 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
10777 of "../stdlib/strtod_nan_float.h".
10778 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
10779 instead of "../stdlib/strtod_nan_ldouble.h".
10780 * manual/arith.texi (Parsing of Floats): Adjust comment.
10782 2018-05-16 Joseph Myers <joseph@codesourcery.com>
10784 * math/Makefile (libm-narrow-fns): Add mul.
10785 (libm-test-funcs-narrow): Likewise.
10786 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
10787 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
10788 * math/gen-auto-libm-tests.c (test_functions): Add mul.
10789 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
10790 (NARROW_MUL_ROUND_TO_ODD): Likewise.
10791 (NARROW_MUL_TRIVIAL): Likewise.
10792 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
10793 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
10795 (__dmull): Likewise.
10796 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
10798 (CFLAGS-nldbl-dmul.c): New variable.
10799 (CFLAGS-nldbl-fmul.c): Likewise.
10800 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
10802 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
10804 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
10805 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
10806 * math/auto-libm-test-in: Add tests of mul.
10807 * math/auto-libm-test-out-narrow-mul: New generated file.
10808 * math/libm-test-narrow-mul.inc: New file.
10809 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
10810 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
10811 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
10812 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
10813 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
10814 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
10815 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
10816 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
10818 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
10819 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
10820 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
10821 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
10822 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
10823 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
10824 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
10825 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
10826 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
10827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10828 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
10829 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10830 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10831 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10832 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10833 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10834 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10835 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10836 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10837 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10838 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10839 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10840 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
10842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10845 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10846 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10847 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10848 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10849 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10850 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10851 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10852 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10854 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10856 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10857 with *%eax in call.
10859 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10861 * sysdeps/i386/ldsodefs.h: Removed.
10862 * sysdeps/x86_64/ldsodefs.h: Moved to ...
10863 * sysdeps/x86/ldsodefs.h: This.
10864 (La_i86_regs): New.
10865 (La_i86_retval): Likewise.
10866 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
10867 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
10869 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
10871 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
10874 2018-05-13 Alan Modra <amodra@gmail.com>
10876 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
10877 R_PARISC_TLS_DTPOFF32 reloc addend.
10879 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10881 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
10882 * math/math.h: Restrict the prototype definition for the functions
10883 issignaling(_Float128) and iszero(_Float128); and template
10884 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
10885 __HAVE_FLOAT128_UNLIKE_LDBL.
10886 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
10887 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
10888 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
10889 __f128() constants; define the type _Float128 as long double;
10890 and reuse long double in __CFLOAT128.
10892 2018-05-11 Joseph Myers <joseph@codesourcery.com>
10894 * sysdeps/generic/math_private.h: Do not include
10896 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
10898 * math/fromfp.h: Include <math-barriers.h>.
10899 * math/math-narrow.h: Likewise.
10900 * math/s_nextafter.c: Likewise.
10901 * math/s_nexttowardf.c: Likewise.
10902 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
10903 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
10904 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
10905 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
10906 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10907 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10908 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10921 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10922 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10923 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10924 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10925 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10926 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10927 * sysdeps/ieee754/k_standardl.c: Likewise.
10928 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10929 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10930 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10931 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10933 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10934 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10936 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10937 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10938 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10939 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10940 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10941 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10942 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10943 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10944 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10945 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10946 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10947 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10948 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
10949 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
10951 2018-05-11 Florian Weimer <fweimer@redhat.com>
10953 Use 64-bit epoch values in the time zone file parser.
10954 * include/time.h (internal_time_t): Define.
10955 (__tzfile_compute): Use it.
10956 * time/tzfile.c (struct leap): Use internal_time_t for epoch
10958 (transitions): Switch to internal_time_t.
10959 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
10961 (__tzfile_compute): Use internal_time_t for timer argument. Check
10962 for truncation before calling __offtime.
10964 2018-05-11 Florian Weimer <fweimer@redhat.com>
10967 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
10968 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
10970 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
10971 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
10972 export without --enable-obsolete-rpc.
10973 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
10974 symbol. This should not have been exported, ever.
10976 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
10979 * localedata/locales/gd_GB (abmon): Fix typo in May:
10980 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
10982 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10984 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
10985 Use multiple registers to copy data in loop tail.
10987 * sysdeps/aarch64/multiarch/memmove_falkor.S
10988 (__memmove_falkor): Use multiple registers to move data in
10991 2018-05-10 Joseph Myers <joseph@codesourcery.com>
10993 * math/math-underflow.h: New file.
10994 * sysdeps/generic/math_private.h: Do not include <float.h>.
10995 (fabs_tg): Remove macro. Moved to math-underflow.h.
10996 (min_of_type_f): Likewise.
10997 (min_of_type_): Likewise.
10998 (min_of_type_l): Likewise.
10999 (min_of_type_f128): Likewise.
11000 (min_of_type): Likewise.
11001 (math_check_force_underflow): Likewise.
11002 (math_check_force_underflow_nonneg): Likewise.
11003 (math_check_force_underflow_complex): Likewise.
11004 * math/e_exp2_template.c: Include <math-underflow.h>.
11005 * math/k_casinh_template.c: Likewise.
11006 * math/s_catan_template.c: Likewise.
11007 * math/s_catanh_template.c: Likewise.
11008 * math/s_ccosh_template.c: Likewise.
11009 * math/s_cexp_template.c: Likewise.
11010 * math/s_clog10_template.c: Likewise.
11011 * math/s_clog_template.c: Likewise.
11012 * math/s_csin_template.c: Likewise.
11013 * math/s_csinh_template.c: Likewise.
11014 * math/s_csqrt_template.c: Likewise.
11015 * math/s_ctan_template.c: Likewise.
11016 * math/s_ctanh_template.c: Likewise.
11017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11018 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11019 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11020 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11021 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11022 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11023 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11024 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11032 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11033 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11034 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11035 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11036 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11037 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11038 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11039 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11040 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11041 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11042 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11043 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11044 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11045 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11046 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11047 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11048 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11049 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11052 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11053 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11054 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11055 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11056 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11057 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11058 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11059 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11060 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11061 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11062 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11063 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11065 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11066 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11067 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11068 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11069 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11070 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11071 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11072 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11073 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11074 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11075 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11076 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11077 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11082 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11085 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11086 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11087 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11092 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11093 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11094 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11095 * sysdeps/x86/fpu/powl_helper.c: Likewise.
11096 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
11097 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11102 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11104 * sysdeps/generic/math-barriers.h: New file.
11105 * sysdeps/generic/math_private.h [!math_opt_barrier]
11106 (math_opt_barrier): Move to math-barriers.h.
11107 [!math_opt_barrier] (math_force_eval): Likewise.
11108 * sysdeps/aarch64/fpu/math-barriers.h: New file.
11109 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
11111 (math_force_eval): Likewise.
11112 * sysdeps/alpha/fpu/math-barriers.h: New file.
11113 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
11115 (math_force_eval): Likewise.
11116 * sysdeps/x86/fpu/math-barriers.h: New file.
11117 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
11119 (math_force_eval): Likewise.
11120 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
11121 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
11122 multiple-include guard for rename.
11123 * sysdeps/powerpc/fpu/math-barriers.h: New file.
11124 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
11126 (math_force_eval): Likewise.
11128 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
11132 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
11134 * stdlib/Makefile (test-bz22786): New test.
11135 * stdlib/test-bz22786.c: New test.
11137 2018-05-09 Joseph Myers <joseph@codesourcery.com>
11139 * include/math-narrow-eval.h: New file. Contents moved from ....
11140 * sysdeps/generic/math_private.h: ... here.
11141 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
11142 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11143 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
11144 * stdlib/strtod_l.c: Likewise.
11145 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11146 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11147 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11150 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11151 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11152 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11153 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11154 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11156 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
11157 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11158 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11159 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11160 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11161 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11162 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11163 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11164 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11166 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11167 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11168 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11169 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11170 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11171 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11172 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11175 2018-05-08 Andreas Schwab <schwab@suse.de>
11177 * sysdeps/nptl/internaltypes.h: Fix comment.
11179 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
11181 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11182 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
11185 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11187 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
11188 of I into loop header.
11189 * benchtests/bench-memmove-walk.c
11190 (test_main): Likewise.
11192 2018-05-07 Alexandre Oliva <oliva@gnu.org>
11195 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11196 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11198 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11201 * elf/dl-load.c (open_verify): Fix stack overflow.
11202 * elf/Makefile (tst-big-note): New test.
11203 * elf/tst-big-note-lib.S: New.
11204 * elf/tst-big-note.c: New.
11206 2018-05-04 Joseph Myers <joseph@codesourcery.com>
11208 * scripts/abilist.awk: Ignore absolute symbols.
11209 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
11210 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
11211 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
11212 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
11213 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
11214 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
11215 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11216 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
11217 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
11218 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
11219 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
11220 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
11221 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
11222 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
11223 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
11224 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11225 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
11226 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
11227 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11228 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
11229 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11230 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
11231 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
11232 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
11233 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
11234 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
11235 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
11236 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
11237 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
11240 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11241 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
11242 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11243 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
11244 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
11245 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
11246 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
11247 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
11248 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
11249 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
11250 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11251 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
11252 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
11253 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11254 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
11255 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11256 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
11257 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
11258 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
11259 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
11260 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
11261 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
11262 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
11263 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11264 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
11265 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
11268 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11269 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
11270 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
11271 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
11272 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
11273 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
11274 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
11275 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
11276 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11277 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
11278 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
11279 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11280 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
11281 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11282 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
11283 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
11284 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
11285 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
11286 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
11287 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
11288 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
11289 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11290 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
11291 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
11297 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
11298 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
11300 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11302 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
11303 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
11306 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11307 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
11308 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11309 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
11312 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
11313 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11316 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
11317 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11318 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
11319 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
11320 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11321 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
11322 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11323 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
11324 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
11325 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
11326 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
11327 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
11328 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
11329 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
11330 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11331 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
11332 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
11333 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11334 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
11335 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11336 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
11337 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
11338 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
11339 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
11340 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11341 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
11342 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11344 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
11345 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
11346 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
11347 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
11348 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11349 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
11350 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
11351 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
11352 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
11353 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
11354 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
11355 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
11356 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
11357 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11358 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
11359 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
11360 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
11361 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
11362 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11363 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11365 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
11366 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
11367 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
11368 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11369 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
11370 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11371 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
11372 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
11373 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
11374 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
11375 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11376 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
11377 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
11378 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11379 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
11380 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
11381 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
11382 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
11383 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11384 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
11385 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
11386 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11387 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
11388 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11389 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
11390 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
11391 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
11392 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
11396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
11407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
11422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
11423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
11434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
11435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
11443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
11444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
11445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
11452 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
11455 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
11456 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11457 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
11458 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
11459 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11462 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
11463 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
11464 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
11465 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
11466 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
11467 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
11468 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11470 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11471 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
11472 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
11473 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11474 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
11475 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11476 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
11477 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
11478 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
11479 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
11480 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
11481 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11483 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11484 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
11485 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
11486 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11487 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
11488 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11489 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
11490 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
11491 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
11492 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
11493 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
11494 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
11495 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
11496 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11497 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
11498 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
11499 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11500 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
11501 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11502 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
11503 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
11507 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11509 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
11510 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11511 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
11512 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
11513 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11514 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
11515 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11516 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
11517 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
11518 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
11519 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
11520 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
11521 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11523 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
11524 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11525 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
11527 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11528 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
11529 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
11531 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
11532 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
11533 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
11536 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11538 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
11539 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
11540 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11541 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
11542 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11543 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
11544 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
11545 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
11546 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
11547 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11548 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
11549 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
11550 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
11551 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11552 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
11553 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
11554 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11555 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
11556 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11557 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
11558 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
11559 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
11560 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
11562 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
11565 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
11566 Use atomic_load_acquire to load __tid.
11568 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11570 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
11571 Restore the pointer into %rdx, after syscall and use %rdx,
11572 instead of %rsi, to restore context.
11574 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11576 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
11577 Pop the pointer into %rdx after syscall and use %rdx, instead
11578 of %rsi, to restore context.
11580 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
11582 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
11583 handlers after setjmp.
11584 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
11586 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
11587 <libc-pointer-arith.h>.
11588 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
11589 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
11590 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
11591 _JUMP_BUF_SIGSET_BITS_PER_WORD.
11592 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
11593 * sysdeps/x86/__longjmp_cancel.S: New file.
11594 * sysdeps/x86/longjmp.c: Likewise.
11595 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
11597 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11599 * NEWS: Add ustat.h deprecation entry.
11600 * bits/ustat.h: Remove file.
11601 * misc/sys/ustat.h: Likewise.
11602 * misc/ustat.h: Likewise.
11603 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
11604 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
11605 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
11606 compatibility mode.
11607 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
11608 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
11609 generic Linux implementation.
11611 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11613 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
11614 * math/w_expl_compat.c: Likewise.
11615 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
11617 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
11619 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
11621 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11623 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
11624 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
11625 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
11627 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11629 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11630 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
11631 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
11634 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11636 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
11638 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
11639 * math/w_asin_template.c: Likewise.
11640 * math/w_atanh_template.c: Likewise.
11642 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
11644 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
11645 to powerpc/powerpc64/be for big-endian.
11646 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
11649 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
11650 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
11651 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
11652 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
11653 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11654 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
11655 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
11656 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
11657 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
11658 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11659 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
11660 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
11661 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
11662 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
11663 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
11664 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
11665 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
11666 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
11667 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
11668 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
11669 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
11670 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11671 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
11672 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
11673 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
11674 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11675 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
11676 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
11677 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
11678 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11679 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11680 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11682 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
11683 adjusted to imply powerpc64 and older processors on powerpc64/be.
11684 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
11685 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
11686 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
11687 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
11688 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
11689 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
11690 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
11691 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
11692 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
11693 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
11694 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
11695 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
11696 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
11697 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
11698 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
11699 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
11700 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
11701 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
11702 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
11703 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
11704 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
11705 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
11706 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
11707 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
11708 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
11709 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
11710 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
11711 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
11712 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
11713 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
11714 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
11716 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
11717 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
11718 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
11719 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
11721 * sysdeps/powerpc/powerpc64/be/Implies: New file.
11722 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
11723 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
11724 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
11726 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
11727 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
11728 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
11729 * sysdeps/powerpc/powerpc64le/configure: Likewise.
11730 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
11731 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
11732 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
11733 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
11734 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
11735 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
11736 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
11738 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
11739 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
11740 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
11741 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
11742 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
11743 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
11744 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
11745 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
11746 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
11747 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
11748 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
11750 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
11751 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
11752 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
11753 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
11754 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
11755 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
11756 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
11757 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
11758 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
11759 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
11760 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
11761 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
11763 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
11764 and adjusted to imply olders processors.
11765 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
11766 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
11767 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
11768 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
11769 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
11770 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
11771 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
11772 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
11773 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
11774 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
11775 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
11779 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
11782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
11784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
11785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
11787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
11789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
11791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
11793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
11794 powerpc64 and adjusted.
11795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
11797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
11800 2018-04-27 Joseph Myers <joseph@codesourcery.com>
11802 * sysdeps/tile: Remove.
11803 * sysdeps/unix/sysv/linux/tile: Likewise.
11804 * README (tilegx-*-linux-gnu): Remove from list of supported
11806 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
11807 contribution of support for generic Linux kernel syscall
11809 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
11810 tilegx configurations.
11811 (Config.install_linux_headers): Do not handle tile.
11812 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
11814 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
11815 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
11816 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11817 conditional undefine and redefine.
11818 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
11820 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
11821 conditional undefine and redefine.
11823 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
11825 * signal/tst-sigaction.c: New file to test BZ #23069.
11826 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
11828 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
11831 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
11832 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
11833 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
11834 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11836 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11838 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
11839 _DIRENT_MATCHES_DIRENT64 is not defined.
11840 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
11841 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
11843 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
11844 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
11846 2018-04-25 Joseph Myers <joseph@codesourcery.com>
11848 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
11849 version to GCC 8 branch.
11851 2018-04-24 Joseph Myers <joseph@codesourcery.com>
11853 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
11854 (check_no_hidden): Use type of original function when declaring
11857 * sysdeps/unix/sysv/linux/sys/ptrace.h
11858 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
11859 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
11860 (struct __ptrace_seccomp_metadata): New type.
11861 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11862 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11863 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
11864 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11865 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
11866 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11867 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11868 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11869 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11870 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11871 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11872 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11873 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
11874 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11875 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
11876 (PTRACE_SECCOMP_GET_METADATA): Likewise.
11878 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11880 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
11882 * dirent/versionsort.c (versionsort): Likewise.
11883 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
11884 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
11885 * dirent/versionsort64.c (versionsort64): Likewise.
11886 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
11887 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
11888 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
11889 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
11890 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
11891 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
11892 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
11893 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11894 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
11895 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
11896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
11898 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
11899 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
11901 2018-04-23 Joseph Myers <joseph@codesourcery.com>
11903 * elf/elf.h (NT_PPC_PKEY): New macro.
11905 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
11908 * localedata/locales/hr_HR: fix thousands_sep and
11911 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11913 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
11914 (XTABS): Define to TAB3.
11916 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11918 * sysdeps/hppa/fpu/libm-test-ulps: Update.
11920 * dirent/scandir-tail-common.c: New file.
11921 * dirent/scandir-tail.c: Use scandir-tail-common.c.
11922 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
11923 * dirent/scandir.c: Use scandir-tail-common.c.
11924 * dirent/scandirat.c: Likewise.
11925 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
11926 * dirent/scandir64.c (scandir64): Always build and alias to scandir
11927 if _DIRENT_MATCHES_DIRENT64 is defined.
11928 * dirent/scandirat64.c (scandirat64): Likewise.
11929 * include/dirent.h (__scandir_tail): Only define iff
11930 _DIRENT_MATCHES_DIRENT64 is not defined.
11931 (__scandir64_tail): Define regardless.
11932 (__scandirat, scandirat64): Remove libc_hidden_proto.
11933 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
11934 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
11935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
11936 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
11937 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11938 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
11939 * sysdeps/unix/sysv/linux/scandir64.c: New file.
11941 2018-04-20 Joseph Myers <joseph@codesourcery.com>
11943 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
11945 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
11947 (_dl_aarch64_cap_flags): Add asimdfhm.
11949 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
11951 * sysdeps/nios2/libm-test-ulps: Update.
11953 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11955 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
11956 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
11958 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
11960 (_DIRENT_MATCHES_DIRENT64): Undef
11961 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
11962 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
11963 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
11964 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
11965 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
11966 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
11967 use getdents64 syscalls as base.
11968 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
11969 symbol if required.
11970 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
11971 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11972 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
11973 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
11974 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
11975 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
11976 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
11977 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
11978 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11979 (__get_clockfreq_via_proc_openprom): Use __getdents64.
11980 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
11982 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11984 * scripts/test_printers_common.py (init_test): Disable lock elision.
11986 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
11988 * math/test-tgmath.c (count_double, count_float,
11989 count_ldouble, count_cdouble, count_cfloat,
11990 count_cldouble): Use volatile int.
11992 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11994 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11995 (conformtest-xfail-conds): Add i386-gnu.
11996 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
11998 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
11999 ipc_perm.cuid, ipc_perm.cgid): Likewise.
12000 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
12001 msqid_ds.msg_lrpid): Likewise.
12002 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
12004 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
12005 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
12006 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
12007 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
12009 (struct statvfs64): Likewise.
12010 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
12012 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
12013 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
12014 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
12015 instead of wait_queue.
12016 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
12017 instead of vm_area_struct.
12018 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
12019 struct sched_param definition to it.
12020 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12021 * bits/types/struct_sched_param.h: New file.
12022 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
12023 <bits/types/struct_sched_param.h> instead of <sched.h>.
12024 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
12025 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
12026 generic version but include <bits/pthreadtypes.h> to make struct
12027 sigevent's sigev_notify_attributes field a pthread_attr_t*.
12028 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
12030 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
12031 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
12032 [__USE_XOPEN] (OFDEL): New macro.
12033 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
12034 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
12035 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
12037 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
12038 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
12039 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
12041 * sysdeps/i386/sys/ucontext.h: Likewise.
12042 * sysdeps/m68k/sys/ucontext.h: Likewise.
12043 * sysdeps/mips/sys/ucontext.h: Likewise.
12044 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
12045 * sysdeps/mach/hurd/i386/Makefile
12046 (test-xfail-POSIX/fcntl.h/conform): Add.
12047 (test-xfail-POSIX/signal.h/conform): Add.
12048 (test-xfail-POSIX/semaphore.h/conform): Add.
12049 (test-xfail-POSIX/regex.h/conform): Add.
12050 (test-xfail-POSIX/aio.h/conform): Add.
12051 (test-xfail-POSIX/mqueue.h/conform): Add.
12052 (test-xfail-POSIX/sys/types.h/conform): Add.
12053 (test-xfail-UNIX98/fcntl.h/conform): Add.
12054 (test-xfail-UNIX98/netdb.h/conform): Add.
12055 (test-xfail-UNIX98/signal.h/conform): Add.
12056 (test-xfail-UNIX98/semaphore.h/conform): Add.
12057 (test-xfail-UNIX98/regex.h/conform): Add.
12058 (test-xfail-UNIX98/aio.h/conform): Add.
12059 (test-xfail-UNIX98/ftw.h/conform): Add.
12060 (test-xfail-UNIX98/mqueue.h/conform): Add.
12061 (test-xfail-UNIX98/netinet/in.h/conform): Add.
12062 (test-xfail-UNIX98/sys/wait.h/conform): Add.
12063 (test-xfail-UNIX98/sys/sem.h/conform): Add.
12064 (test-xfail-UNIX98/sys/uio.h/conform): Add.
12065 (test-xfail-UNIX98/sys/socket.h/conform): Add.
12066 (test-xfail-UNIX98/sys/types.h/conform): Add.
12067 (test-xfail-UNIX98/stdlib.h/conform): Add.
12068 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
12069 (test-xfail-POSIX2008/fcntl.h/conform): Add.
12070 (test-xfail-POSIX2008/netdb.h/conform): Add.
12071 (test-xfail-POSIX2008/signal.h/conform): Add.
12072 (test-xfail-POSIX2008/semaphore.h/conform): Add.
12073 (test-xfail-POSIX2008/regex.h/conform): Add.
12074 (test-xfail-POSIX2008/aio.h/conform): Add.
12075 (test-xfail-POSIX2008/mqueue.h/conform): Add.
12076 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
12077 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
12078 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
12079 (test-xfail-POSIX2008/sys/types.h/conform): Add.
12080 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
12081 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
12082 (test-xfail-XOPEN2K/netdb.h/conform): Add.
12083 (test-xfail-XOPEN2K/signal.h/conform): Add.
12084 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
12085 (test-xfail-XOPEN2K/regex.h/conform): Add.
12086 (test-xfail-XOPEN2K/aio.h/conform): Add.
12087 (test-xfail-XOPEN2K/ftw.h/conform): Add.
12088 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
12089 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
12090 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
12091 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
12092 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
12093 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
12094 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
12095 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
12096 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
12097 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
12098 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
12099 (test-xfail-XOPEN2K8/signal.h/conform): Add.
12100 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
12101 (test-xfail-XOPEN2K8/regex.h/conform): Add.
12102 (test-xfail-XOPEN2K8/aio.h/conform): Add.
12103 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
12104 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
12105 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
12106 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
12107 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
12108 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
12109 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
12110 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
12111 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
12112 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
12113 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
12115 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
12116 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
12118 2018-04-18 Joseph Myers <joseph@codesourcery.com>
12120 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
12121 --enable-obsolete for powerpc-linux-gnuspe.
12123 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12125 * conform/data/sys/un.h-data: Allow sun_ prefix.
12126 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
12128 * sysdeps/mach/include/mach.h: Likewise.
12129 * sysdeps/mach/include/mach/mig_support.h: Likewise.
12130 * sysdeps/mach/include/mach_error.h: Likewise.
12132 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12134 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
12135 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
12136 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
12137 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
12139 2018-04-16 Andreas Schwab <schwab@suse.de>
12142 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
12144 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
12146 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
12147 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
12149 2018-04-12 DJ Delorie <dj@redhat.com>
12151 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12154 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12156 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
12157 (struct kernel_sigaction): Use the same definition on 31bit as is used
12160 2018-04-09 Florian Weimer <fweimer@redhat.com>
12163 * resolv/res_send.c (send_dg): Use designated initializers instead
12164 of assignment to zero-initialize other fields of struct mmsghdr.
12166 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12168 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
12169 __READDIR_ALIAS): Undefine after usage.
12170 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
12171 __READDIR_R_ALIAS): Likewise.
12172 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
12173 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
12174 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
12175 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
12176 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
12177 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
12178 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12179 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12180 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
12181 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
12182 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
12183 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
12184 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12185 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
12186 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
12187 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
12188 * sysdeps/unix/sysv/linux/readdir.c: New file.
12189 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
12190 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
12191 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
12193 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12195 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
12197 * manual/charset.texi (Converting a Character): Fix typo.
12199 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12203 * sysdeps/arm/libm-test-ulps: Update.
12205 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
12206 as base implementation.
12207 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12208 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12209 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12210 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12211 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12212 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
12213 remove unrequired definitions and update comments.
12214 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
12215 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
12216 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
12217 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
12218 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
12219 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
12220 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
12221 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
12222 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
12223 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
12224 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
12225 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12226 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12227 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
12228 and RESET_SA_RESTORER hooks.
12230 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
12232 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12234 2018-04-05 Florian Weimer <fweimer@redhat.com>
12236 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
12237 integer overflow, memory leak on error, and indeterminate errno
12238 value. Add a null wide character to terminate the result string.
12239 * manual/charset.texi (Converting a Character): Mention embedded
12240 null bytes in the mbrtowc input string. Explain what happens in
12241 the -2 result case. Do not claim that mbrtowc is simple or
12242 obvious to use. Adjust the description of the code example. Use
12243 @code, not @var, for concrete variables.
12245 2018-04-05 Florian Weimer <fweimer@redhat.com>
12247 * manual/examples/mbstouwcs.c: New file.
12248 * manual/charset.texi (Converting a Character): Include it.
12250 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12252 * include/dirent.h (dirfd): Add hidden proto.
12253 * dirent/dirfd.c (dirfd): Add hidden def.
12254 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
12255 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
12257 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12259 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
12260 sin, cos and sincos to 1 ULP.
12262 2018-04-04 Maciej W. Rozycki <macro@mips.com>
12265 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
12267 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
12268 * elf/tst-absolute-sym.c: New file.
12269 * elf/tst-absolute-sym-lib.c: New file.
12270 * elf/tst-absolute-sym-lib.lds: New file.
12271 * elf/Makefile (tests): Add `tst-absolute-sym'.
12272 (modules-names): Add `tst-absolute-sym-lib'.
12273 (LDLIBS-tst-absolute-sym-lib.so): New variable.
12274 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
12275 ($(objpfx)tst-absolute-sym): New dependency.
12278 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
12280 (SYMBOL_ADDRESS): New macro.
12281 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
12282 SYMBOL_ADDRESS for symbol address calculation.
12283 * elf/dl-runtime.c (_dl_fixup): Likewise.
12284 (_dl_profile_fixup): Likewise.
12285 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
12286 * elf/rtld.c (dl_main): Likewise.
12287 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
12288 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
12289 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
12290 (elf_machine_rela): Likewise.
12291 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
12292 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
12293 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12294 (elf_machine_rela): Likewise.
12295 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12296 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
12297 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
12298 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
12300 (elf_machine_reloc): Likewise.
12301 (elf_machine_got_rel): Likewise.
12302 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
12303 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
12304 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12306 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12308 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
12309 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12311 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12313 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12314 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12316 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12318 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
12319 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12321 2018-04-04 Zack Weinberg <zackw@panix.com>
12323 * sysdeps/generic/internal-signals.h: Include signal.h,
12324 sigsetops.h, and stdbool.h.
12325 (__libc_signal_block_all): Actually block all signals.
12326 (__libc_signal_block_app): Likewise.
12327 (__libc_signal_restore_set): Actually restore the signal mask.
12329 2018-04-04 Florian Weimer <fweimer@redhat.com>
12331 inet: Actually build and run tst-deadline.
12332 * inet/Makefile (tests-internal): Add tst-deadline and do not
12333 overwrite the variable.
12334 (tests-static-internal): Remove variable.
12336 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
12339 * bits/uio-ext.h (RWF_APPEND): New.
12340 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
12341 * manual/llio.texi: Document RWF_APPEND.
12342 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
12343 (RWF_SUPPORTED): Add RWF_APPEND.
12345 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12348 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
12349 check for internal nptl signals.
12350 * nptl/sigaction.c (__sigaction): Likewise.
12351 * signal/sigaddset.c (sigaddset): Likewise.
12352 * signal/sigdelset.c (sigdelset): Likewise.
12353 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12354 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
12356 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
12357 to filter out internal nptl signals.
12358 * signal/tst-sigset.c (do_test): Check ech signal indidually and
12359 also check realtime signals using standard macros.
12360 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
12361 __is_internal_signal, __libc_signal_block_all,
12362 __libc_signal_block_app, __libc_signal_restore_set): New functions.
12363 * sysdeps/nptl/sigfillset.c: Remove file.
12364 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
12365 Change return to bool.
12366 (__clear_internal_signals): Remove SIGTIMER clean since it is
12367 equal to SIGCANEL on Linux.
12368 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
12369 signal set was constructed using standard functions.
12371 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12373 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
12374 ifname is too long.
12375 * hurd/hurdsig.c (interrupted_reply_port_location): Use
12376 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
12377 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
12379 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
12380 * signal/sigaddset.c: Include <sigsetopts.h>.
12381 * signal/sigdelset.c: Likewise.
12383 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12385 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
12387 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
12388 logic as sin and cos.
12390 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12392 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
12393 inputs. Return correct sign.
12394 (do_sincos): Remove small input check before do_sin, let do_sin set
12399 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12401 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
12402 (do_cos_slow): Likewise.
12403 (do_sin_slow): Likewise.
12404 (reduce_and_compute): Likewise.
12409 (sloww1): Likewise.
12410 (sloww2): Likewise.
12412 (bslow1): Likewise.
12413 (bslow2): Likewise.
12414 (cslow2): Likewise.
12416 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12418 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
12419 (do_cos): Remove corp parameter and calculations.
12420 (do_sin): Likewise.
12421 (do_sincos): Remove cor variable.
12422 (__sin): Use do_sincos for huge inputs.
12424 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12425 (reduce_and_compute_sincos): Remove unused function.
12427 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12429 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
12430 reduce_sincos, improve accuracy to 136 bits.
12431 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
12432 (__sin): Use improved reduction and simplified do_sincos calculation.
12434 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
12436 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12438 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
12439 (do_sincos_2): Likewise.
12440 (__sin): Remove middle range reduction case.
12442 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
12445 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
12447 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
12448 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
12451 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
12453 2018-04-03 Joseph Myers <joseph@codesourcery.com>
12455 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12458 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12460 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
12461 Remove definitions.
12462 (opendir_oflags): Use O_DIRECTORY regardless.
12463 (__opendir, __opendirat): Remove need_isdir_precheck usage.
12464 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
12466 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12468 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
12469 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
12471 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
12472 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
12473 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
12474 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
12475 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
12476 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
12478 * htl/Makefile: Bump licence to LGPL 2.1+.
12479 * htl/alloca_cutoff.c: Likewise.
12480 * htl/cthreads-compat.c: Likewise.
12481 * htl/lockfile.c: Likewise.
12482 * htl/pt-alloc.c: Likewise.
12483 * htl/pt-cancel.c: Likewise.
12484 * htl/pt-cleanup.c: Likewise.
12485 * htl/pt-create.c: Likewise.
12486 * htl/pt-dealloc.c: Likewise.
12487 * htl/pt-detach.c: Likewise.
12488 * htl/pt-exit.c: Likewise.
12489 * htl/pt-getattr.c: Likewise.
12490 * htl/pt-initialize.c: Likewise.
12491 * htl/pt-internal.h: Likewise.
12492 * htl/pt-join.c: Likewise.
12493 * htl/pt-self.c: Likewise.
12494 * htl/pt-setcancelstate.c: Likewise.
12495 * htl/pt-setcanceltype.c: Likewise.
12496 * htl/pt-sigmask.c: Likewise.
12497 * htl/pt-spin-inlines.c: Likewise.
12498 * htl/pt-testcancel.c: Likewise.
12499 * htl/pt-yield.c: Likewise.
12500 * htl/tests/test-1.c: Likewise.
12501 * htl/tests/test-10.c: Likewise.
12502 * htl/tests/test-11.c: Likewise.
12503 * htl/tests/test-12.c: Likewise.
12504 * htl/tests/test-13.c: Likewise.
12505 * htl/tests/test-14.c: Likewise.
12506 * htl/tests/test-15.c: Likewise.
12507 * htl/tests/test-16.c: Likewise.
12508 * htl/tests/test-17.c: Likewise.
12509 * htl/tests/test-2.c: Likewise.
12510 * htl/tests/test-3.c: Likewise.
12511 * htl/tests/test-4.c: Likewise.
12512 * htl/tests/test-5.c: Likewise.
12513 * htl/tests/test-6.c: Likewise.
12514 * htl/tests/test-7.c: Likewise.
12515 * htl/tests/test-8.c: Likewise.
12516 * htl/tests/test-9.c: Likewise.
12517 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
12518 * sysdeps/htl/bits/cancelation.h: Likewise.
12519 * sysdeps/htl/bits/pthread-np.h: Likewise.
12520 * sysdeps/htl/bits/pthread.h: Likewise.
12521 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
12522 * sysdeps/htl/bits/semaphore.h: Likewise.
12523 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
12524 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
12525 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
12526 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
12527 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
12528 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
12529 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
12530 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
12531 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
12532 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
12533 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
12534 * sysdeps/htl/old_pt-atfork.c: Likewise.
12535 * sysdeps/htl/pt-atfork.c: Likewise.
12536 * sysdeps/htl/pt-attr-destroy.c: Likewise.
12537 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
12538 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
12539 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
12540 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
12541 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
12542 * sysdeps/htl/pt-attr-getscope.c: Likewise.
12543 * sysdeps/htl/pt-attr-getstack.c: Likewise.
12544 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
12545 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
12546 * sysdeps/htl/pt-attr-init.c: Likewise.
12547 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
12548 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
12549 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
12550 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
12551 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
12552 * sysdeps/htl/pt-attr-setscope.c: Likewise.
12553 * sysdeps/htl/pt-attr-setstack.c: Likewise.
12554 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
12555 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
12556 * sysdeps/htl/pt-attr.c: Likewise.
12557 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
12558 * sysdeps/htl/pt-barrier-init.c: Likewise.
12559 * sysdeps/htl/pt-barrier-wait.c: Likewise.
12560 * sysdeps/htl/pt-barrier.c: Likewise.
12561 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
12562 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
12563 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
12564 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
12565 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
12566 * sysdeps/htl/pt-cond-destroy.c: Likewise.
12567 * sysdeps/htl/pt-cond-init.c: Likewise.
12568 * sysdeps/htl/pt-cond-signal.c: Likewise.
12569 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
12570 * sysdeps/htl/pt-cond-wait.c: Likewise.
12571 * sysdeps/htl/pt-cond.c: Likewise.
12572 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
12573 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
12574 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
12575 * sysdeps/htl/pt-condattr-init.c: Likewise.
12576 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
12577 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
12578 * sysdeps/htl/pt-destroy-specific.c: Likewise.
12579 * sysdeps/htl/pt-equal.c: Likewise.
12580 * sysdeps/htl/pt-getconcurrency.c: Likewise.
12581 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
12582 * sysdeps/htl/pt-getschedparam.c: Likewise.
12583 * sysdeps/htl/pt-getspecific.c: Likewise.
12584 * sysdeps/htl/pt-init-specific.c: Likewise.
12585 * sysdeps/htl/pt-key-create.c: Likewise.
12586 * sysdeps/htl/pt-key-delete.c: Likewise.
12587 * sysdeps/htl/pt-key.h: Likewise.
12588 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
12589 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
12590 * sysdeps/htl/pt-mutex-init.c: Likewise.
12591 * sysdeps/htl/pt-mutex-lock.c: Likewise.
12592 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
12593 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
12594 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
12595 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
12596 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
12597 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
12598 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
12599 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
12600 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
12601 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
12602 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
12603 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
12604 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
12605 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
12606 * sysdeps/htl/pt-mutexattr.c: Likewise.
12607 * sysdeps/htl/pt-once.c: Likewise.
12608 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
12609 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
12610 * sysdeps/htl/pt-rwlock-init.c: Likewise.
12611 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
12612 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
12613 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
12614 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
12615 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
12616 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
12617 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
12618 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
12619 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
12620 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
12621 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
12622 * sysdeps/htl/pt-setconcurrency.c: Likewise.
12623 * sysdeps/htl/pt-setschedparam.c: Likewise.
12624 * sysdeps/htl/pt-setschedprio.c: Likewise.
12625 * sysdeps/htl/pt-setspecific.c: Likewise.
12626 * sysdeps/htl/pt-spin.c: Likewise.
12627 * sysdeps/htl/pt-startup.c: Likewise.
12628 * sysdeps/htl/pthread.h: Likewise.
12629 * sysdeps/htl/sem-close.c: Likewise.
12630 * sysdeps/htl/sem-destroy.c: Likewise.
12631 * sysdeps/htl/sem-getvalue.c: Likewise.
12632 * sysdeps/htl/sem-init.c: Likewise.
12633 * sysdeps/htl/sem-open.c: Likewise.
12634 * sysdeps/htl/sem-post.c: Likewise.
12635 * sysdeps/htl/sem-timedwait.c: Likewise.
12636 * sysdeps/htl/sem-trywait.c: Likewise.
12637 * sysdeps/htl/sem-unlink.c: Likewise.
12638 * sysdeps/htl/sem-wait.c: Likewise.
12639 * sysdeps/hurd/htl/pt-kill.c: Likewise.
12640 * sysdeps/i386/htl/pt-machdep.h: Likewise.
12641 * sysdeps/mach/htl/pt-block.c: Likewise.
12642 * sysdeps/mach/htl/pt-spin.c: Likewise.
12643 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
12644 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
12645 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
12646 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
12647 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
12648 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
12649 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
12650 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
12651 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
12652 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
12653 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
12654 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
12655 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
12656 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
12657 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
12658 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
12659 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
12660 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
12661 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
12662 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
12663 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
12664 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
12665 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
12666 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
12667 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
12668 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
12669 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
12670 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
12671 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
12672 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
12673 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
12674 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
12675 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
12676 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
12677 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
12678 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
12679 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
12680 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
12681 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
12682 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
12683 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
12684 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
12685 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
12687 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
12688 * README: Remove the mention of out-of-tree patches needed for
12691 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
12692 (UTIME_NOW, UTIME_OMIT): Define macros.
12694 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
12695 instead of pthread_detach.
12696 (__cthread_fork): Call __pthread_create instead of pthread_create.
12697 (__cthread_keycreate): Call __pthread_key_create instead of
12698 pthread_key_create.
12699 (__cthread_getspecific): Call __pthread_getspecific instead of
12700 pthread_getspecific.
12701 (__cthread_setspecific): Call __pthread_setspecific instead of
12702 pthread_setspecific.
12703 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
12704 __pthread_mutex_unlock instead of pthread_mutex_lock and
12705 pthread_mutex_unlock.
12706 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
12707 ___pthread_get_cleanup_stack.
12708 (__pthread_get_cleanup_stack): New strong alias.
12709 * htl/pt-create.c: Include <pthreadP.h>.
12710 (entry_point): Call __pthread_exit instead of pthread_exit.
12711 (pthread_create): Rename to __pthread_create.
12712 (pthread_create): New strong alias.
12713 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
12714 (pthread_detach): New strong alias.
12715 (__pthread_detach): Call __pthread_cond_broadcast instead of
12716 pthread_cond_broadcast.
12717 * htl/pt-exit.c: Include <pthreadP.h>.
12718 (__pthread_exit): Call __pthread_setcancelstate and
12719 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
12720 __pthread_get_cleanup_stack.
12721 * htl/pt-testcancel.c: Include <pthreadP.h>.
12722 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
12723 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
12724 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
12725 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
12726 pthread_attr_getstacksize.
12727 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
12728 Rename to __pthread_attr_getstackaddr.
12729 (pthread_attr_getstackaddr): New strong alias.
12730 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
12731 Rename to __pthread_attr_getstacksize.
12732 (pthread_attr_getstacksize): New strong alias.
12733 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
12734 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
12735 (pthread_attr_setstack): New strong alias.
12736 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
12737 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
12738 pthread_attr_getstacksize, pthread_attr_setstacksize and
12739 pthread_attr_setstackaddr.
12740 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
12741 Rename to __pthread_attr_setstackaddr.
12742 (pthread_attr_setstackaddr): New strong alias.
12743 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
12744 Rename to __pthread_attr_setstacksize.
12745 (pthread_attr_setstacksize): New strong alias.
12746 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
12747 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
12749 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
12750 (__pthread_key_create): New hidden def.
12751 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
12752 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
12753 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
12754 __pthread_exit, __pthread_key_create, __pthread_getspecific,
12755 __pthread_setspecific, __pthread_setcancelstate,
12756 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
12757 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
12758 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
12760 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
12761 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
12762 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
12763 (pthread_attr_setstackaddr): New strong alias.
12764 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
12765 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
12766 (pthread_attr_setstacksize): New strong alias.
12767 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
12768 (call_exit): Call __pthread_exit instead of pthread_exit.
12769 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
12770 (_pthread_mutex_init): New hidden definition.
12771 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
12772 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
12773 instead of pthread_attr_init and pthread_attr_setstack.
12775 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
12776 __vm_deallocate instead of vm_allocate and vm_deallocate.
12777 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
12779 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
12781 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
12783 * hurd/siginfo.c: Include <libioP.h>.
12784 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
12785 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
12787 * mach/devstream.c: Include <libioP.h>.
12788 (dealloc_ref): Call __mach_port_deallocate instead of
12789 mach_port_deallocate.
12790 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
12791 Call __mach_port_deallocate instead of mach_port_deallocate.
12792 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
12794 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
12796 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
12797 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
12798 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
12800 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
12802 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
12803 instead of sysconf.
12804 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
12805 __clock_gettime instead of clock_gettime.
12806 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
12807 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12808 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
12809 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12810 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
12812 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
12813 __clock_gettime and __nanosleep instead of clock_gettime and
12815 * hurd/catch-signal.c (hurd_catch_signal): Rename to
12816 __hurd_catch_signal.
12817 (hurd_catch_signal): New strong alias.
12818 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
12819 __hurd_catch_signal instead of hurd_catch_signal.
12820 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
12821 * hurd/hurdexec.c (_hurd_init): Add hidden def.
12822 * hurd/hurdinit.c (_hurd_init): Add hidden def.
12823 * hurd/hurdsig.c: Include <mach/mig_support.h>.
12824 (_hurd_thread_sigstate): Add hidden def.
12825 (_hurd_internal_post_signal): Use __mutex_unlock instead of
12827 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
12828 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
12829 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
12830 __hurd_file_name_path_lookup.
12831 (hurd_file_name_path_lookup): New strong alias.
12832 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
12833 hurd_file_name_path_lookup.
12834 * mach/errstring.c (mach_error_type): Add hidden def.
12835 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
12836 * mach/mutex-init.c (__mutex_init): Add hidden def.
12837 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
12838 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
12839 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
12840 * sysdeps/mach/hurd/getcwd.c
12841 (_hurd_canonicalize_directory_name_internal): Rename to
12842 __hurd_canonicalize_directory_name_internal.
12843 (_hurd_canonicalize_directory_name_internal): New strong alias.
12844 (__canonicalize_directory_name_internal, __getcwd): Call
12845 __hurd_canonicalize_directory_name_internal instead of
12846 _hurd_canonicalize_directory_name_internal.
12847 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
12848 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
12850 * sysdeps/hurd/include/hurd.h: New file.
12851 * sysdeps/hurd/include/hurd/fd.h: New file.
12852 * sysdeps/hurd/include/hurd/signal.h: New file.
12853 * sysdeps/mach/include/lock-intern.h: New file.
12854 * sysdeps/mach/include/mach.h: New file.
12855 * sysdeps/mach/include/mach/mig_support.h: New file.
12856 * sysdeps/mach/include/mach_error.h: New file.
12857 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
12859 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
12860 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
12861 _HEADER_H_HIDDEN_DEF macro.
12862 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
12863 _hurd_fd_error_signal): Add hidden prototype.
12864 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
12866 * libio/iolibio.h (_IO_puts): New hidden prototype.
12867 * libio/ioputs.c (_IO_puts): New hidden def.
12868 * sysdeps/mach/hurd/localplt.data: New file.
12870 2018-04-02 Agustina Arzille <avarzille@riseup.net>
12871 Amos Jeffries <squid3@treenet.co.nz>
12872 David Michael <fedora.dm0@gmail.com>
12873 Marco Gerards <marco@gnu.org>
12874 Marcus Brinkmann <marcus@gnu.org>
12875 Neal H. Walfield <neal@gnu.org>
12876 Pino Toscano <toscano.pino@tiscali.it>
12877 Richard Braun <rbraun@sceen.net>
12878 Roland McGrath <roland@gnu.org>
12879 Samuel Thibault <samuel.thibault@ens-lyon.org>
12880 Thomas DiModica <ricinwich@yahoo.com>
12881 Thomas Schwinge <tschwinge@gnu.org>
12883 * htl: New directory.
12884 * sysdeps/htl: New directory.
12885 * sysdeps/hurd/htl: New directory.
12886 * sysdeps/i386/htl: New directory.
12887 * sysdeps/mach/htl: New directory.
12888 * sysdeps/mach/hurd/htl: New directory.
12889 * sysdeps/mach/hurd/i386/htl: New directory.
12890 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
12891 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
12892 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
12894 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12896 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
12897 signals in thread created for runing timers.
12899 2018-04-01 Florian Weimer <fweimer@redhat.com>
12901 * support/support_format_addrinfo.c (support_format_addrinfo):
12902 Include unknown error number in formatted result.
12904 2018-03-29 Florian Weimer <fweimer@redhat.com>
12906 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
12909 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12911 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
12912 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
12913 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12914 (__ASSUME_CLONE_BACKWARDS): Define.
12916 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
12919 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
12920 early when linux sentinel value is set.
12922 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12924 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
12926 2018-03-27 Andreas Schwab <schwab@suse.de>
12929 * resolv/res_send.c (__res_context_send): Return ENOMEM if
12930 allocation of private copy of nsaddr_list fails.
12932 2018-03-26 Joseph Myers <joseph@codesourcery.com>
12935 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
12936 * sysdeps/unix/sysv/linux/umount.c: ... here.
12937 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
12938 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
12939 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
12940 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
12941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
12942 * sysdeps/unix/sysv/linux/umount.S: Likewise.
12943 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
12945 2018-03-26 Andreas Schwab <schwab@suse.de>
12947 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
12948 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
12949 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
12950 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
12951 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
12952 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
12953 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
12954 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
12955 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
12956 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
12957 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
12958 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
12959 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
12960 (R_RISCV_NUM): Define.
12962 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
12964 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
12965 TLS declaration of errno.
12966 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
12968 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
12969 (ARCH_SETUP_TLS): Likewise.
12970 * sysdeps/mach/hurd/libc-start.h: New file copied from
12971 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
12972 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
12973 instead of __libc_setup_tls.
12974 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
12975 __libc_setup_tls before initializing libpthread and running _hurd_init
12976 which starts the signal thread.
12977 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
12979 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12981 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
12984 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
12985 after it is defined.
12987 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
12988 Max Horn <max@quendi.de>
12992 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
12994 * string/test-memmove.c (do_test2): New testcase.
12996 2018-03-22 Joseph Myers <joseph@codesourcery.com>
12998 * sysdeps/generic/frame.h: Remove file.
12999 * sysdeps/arm/frame.h: Likewise.
13000 * sysdeps/hppa/frame.h: Likewise.
13001 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
13003 (GET_FRAME): Likewise.
13004 (GET_STACK): Likewise.
13005 (CALL_SIGHANDLER): Likewise.
13006 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
13008 (GET_FRAME): Likewise.
13009 (GET_STACK): Likewise.
13010 (CALL_SIGHANDLER): Likewise.
13011 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
13012 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13013 (GET_FRAME): Likewise.
13014 (GET_STACK): Likewise.
13015 (CALL_SIGHANDLER): Likewise.
13016 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
13017 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13018 (GET_FRAME): Likewise.
13019 (GET_STACK): Likewise.
13020 (ADVANCE_STACK_FRAME): Likewise.
13021 (CALL_SIGHANDLER): Likewise.
13022 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
13023 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13024 (GET_FRAME): Likewise.
13025 (GET_STACK): Likewise.
13026 (CALL_SIGHANDLER): Likewise.
13027 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
13028 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13029 (GET_FRAME): Likewise.
13030 (GET_STACK): Likewise.
13031 (CALL_SIGHANDLER): Likewise.
13032 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
13033 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13034 (GET_FRAME): Likewise.
13035 (GET_STACK): Likewise.
13036 (CALL_SIGHANDLER): Likewise.
13037 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
13038 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13039 (GET_FRAME): Likewise.
13040 (GET_STACK): Likewise.
13041 (CALL_SIGHANDLER): Likewise.
13042 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
13043 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13044 (GET_FRAME): Likewise.
13045 (GET_STACK): Likewise.
13046 (CALL_SIGHANDLER): Likewise.
13047 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
13048 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13049 (GET_FRAME): Likewise.
13050 (GET_STACK): Likewise.
13051 (CALL_SIGHANDLER): Likewise.
13052 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
13053 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13054 (GET_FRAME): Likewise.
13055 (GET_STACK): Likewise.
13056 (CALL_SIGHANDLER): Likewise.
13057 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
13058 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13059 (GET_FRAME): Likewise.
13060 (GET_STACK): Likewise.
13061 (CALL_SIGHANDLER): Likewise.
13062 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
13063 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13064 (GET_FRAME): Likewise.
13065 (GET_STACK): Likewise.
13066 (CALL_SIGHANDLER): Likewise.
13067 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
13068 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13069 (FIRST_FRAME_POINTER): Likewise.
13070 (ADVANCE_STACK_FRAME): Likewise.
13071 (GET_STACK): Likewise.
13072 (GET_FRAME): Likewise.
13073 (CALL_SIGHANDLER): Likewise.
13074 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
13075 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13076 (ADVANCE_STACK_FRAME): Likewise.
13077 (GET_STACK): Likewise.
13078 (GET_FRAME): Likewise.
13079 (CALL_SIGHANDLER): Likewise.
13080 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
13081 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13082 (GET_FRAME): Likewise.
13083 (GET_STACK): Likewise.
13084 (CALL_SIGHANDLER): Likewise.
13085 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
13086 (SIGCONTEXT_EXTRA_ARGS): Likewise.
13087 (GET_FRAME): Likewise.
13088 (GET_STACK): Likewise.
13089 (CALL_SIGHANDLER): Likewise.
13091 2018-03-21 Joseph Myers <joseph@codesourcery.com>
13093 * sysdeps/x86_64/backtrace.c: Move to ....
13094 * debug/backtrace.c: ... here.
13095 * sysdeps/aarch64/backtrace.c: Remove file.
13096 * sysdeps/alpha/backtrace.c: Likewise.
13097 * sysdeps/hppa/backtrace.c: Likewise.
13098 * sysdeps/ia64/backtrace.c: Likewise.
13099 * sysdeps/mips/backtrace.c: Likewise.
13100 * sysdeps/nios2/backtrace.c: Likewise.
13101 * sysdeps/riscv/backtrace.c: Likewise.
13102 * sysdeps/sh/backtrace.c: Likewise.
13103 * sysdeps/tile/backtrace.c: Likewise.
13105 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13108 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
13111 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
13114 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
13115 possibly overflowing computations.
13117 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
13119 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
13120 values from Linux-specific section now that it is in the GNU section.
13121 * sysdeps/gnu/errlist.c: Regenerate.
13123 2018-03-20 Joseph Myers <joseph@codesourcery.com>
13125 * math/Makefile (libm-narrow-fns): Add sub.
13126 (libm-test-funcs-narrow): Likewise.
13127 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
13128 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
13129 * math/gen-auto-libm-tests.c (test_functions): Add sub.
13130 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
13131 (NARROW_SUB_ROUND_TO_ODD): Likewise.
13132 (NARROW_SUB_TRIVIAL): Likewise.
13133 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
13135 (__dsubl): Likewise.
13136 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
13138 (CFLAGS-nldbl-dsub.c): New variable.
13139 (CFLAGS-nldbl-fsub.c): Likewise.
13140 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13142 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
13144 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
13145 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
13146 * math/auto-libm-test-in: Add tests of sub.
13147 * math/auto-libm-test-out-narrow-sub: New generated file.
13148 * math/libm-test-narrow-sub.inc: New file.
13149 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
13150 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
13151 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
13152 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
13153 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
13154 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
13155 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
13156 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
13157 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
13158 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
13159 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
13160 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
13161 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
13162 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
13163 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
13164 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
13165 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
13166 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
13167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13168 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13169 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13170 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13171 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13172 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13173 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13174 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13175 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13176 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13177 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13178 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13179 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13180 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13185 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13186 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13187 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13188 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13189 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13190 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13191 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13192 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13193 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13194 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13196 2018-03-19 Joseph Myers <joseph@codesourcery.com>
13199 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
13201 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
13203 * benchtests/bench-timing.h (attribute_hidden): Undefine.
13205 2018-03-18 Richard Braun <rbraun@sceen.net>
13207 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
13210 2018-03-18 Agustina Arzille <avarzille@riseup.net>
13212 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
13213 (__libc_cleanup_fct): Define function.
13214 (__libc_cleanup_region_start, __libc_cleanup_region_end,
13215 __libc_cleanup_end): Rewrite implementation using
13216 __attribute__ ((__cleanup__)).
13217 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
13218 * hurd/Makefile (routines): Add hurdlock.
13219 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
13221 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
13222 * hurd/hurdpid.c: Include <lowlevellock.h>
13223 (_S_msg_proc_newids): Use lll_wait to synchronize.
13224 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
13225 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
13226 * mach/Makefile (lock-headers): Remove machine-lock.h.
13227 * mach/lock-intern.h: Include <lowlevellock.h> instead of
13229 (__spin_lock_t): New type.
13230 (__SPIN_LOCK_INITIALIZER): New macro.
13231 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
13232 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
13233 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
13234 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
13235 (__mutex_init): Initialize with lll.
13236 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
13237 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
13239 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13240 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
13241 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
13242 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
13243 (__setpgid): Use lll for synchronization.
13244 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
13245 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
13246 instead of <cthreads.h>.
13247 (_IO_lock_inexpensive): New macro
13248 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
13249 (__libc_lock_self0): New declaration.
13250 (__libc_lock_owner_self): New macro.
13251 (__libc_key_t): Remove type.
13252 (_LIBC_LOCK_INITIALIZER): New macro.
13253 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
13254 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
13255 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
13256 __libc_lock_define_initialized_recursive,
13257 __rtld_lock_define_initialized_recursive,
13258 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
13259 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
13260 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
13261 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
13262 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
13263 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
13264 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
13266 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
13267 * hurd/hurdlock.c: New file.
13268 * hurd/hurdlock.h: New file.
13269 * mach/lowlevellock.h: New file
13271 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13273 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
13274 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
13275 when opening a symlink with O_NOFOLLOW.
13276 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
13277 path when flags contains O_NOFOLLOW.
13278 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
13279 if flags contains O_DIRECTORY and the result is a directory.
13280 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
13281 oneself when the pointer given in D is nul (as set by ext2fs).
13282 * sysdeps/mach/hurd/mlockall.c: New file.
13283 * sysdeps/mach/hurd/munlockall.c: New file.
13285 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13287 * hurd/hurdsig.c: Include <pthread.h>.
13288 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
13289 get the signal thread stack layout.
13290 * hurd/Makefile (headers): Remove threadvar.h.
13291 (inline-headers): Remove threadvar.h.
13292 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
13293 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
13294 __hurd_threadvar_max, __hurd_errno_location.
13295 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
13296 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
13297 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
13298 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
13299 unless TLS is not initialized yet, in which case we do not need a
13300 critical section yet anyway.
13301 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
13303 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
13305 (__hurd_threadvar_index): Remove enum.
13306 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
13307 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
13309 (__hurd_reply_port0): New variable declaration.
13310 (__hurd_local_reply_port): New macro.
13311 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
13312 (interrupted_reply_port_location): Add thread_t parameter. Use it
13313 with THREAD_TCB to access thread-local variables.
13314 (_hurdsig_abort_rpcs): Pass ss->thread to
13315 interrupted_reply_port_location.
13316 (_hurd_internal_post_signal): Likewise.
13317 (_hurdsig_init): Use presence of cthread_fork instead of
13318 __hurd_threadvar_stack_mask to start signal thread by hand.
13319 Remove signal thread threadvar initialization.
13320 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
13321 * hurd/sigunwind.c: Include <hurd/threadvar.h>
13322 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
13324 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
13326 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
13327 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
13328 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
13329 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
13330 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
13331 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
13332 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
13334 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
13335 <hurd/threadvar.h>.
13336 [IS_IN(rtld)] (rtld_errno): New variable.
13337 [IS_IN(rtld)] (__errno_location): New weak function.
13338 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
13339 * sysdeps/mach/hurd/errno.c: Remove file.
13340 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
13341 (__fork): Remove THREADVAR_SPACE macro and its use.
13342 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
13344 (init): Do not initialize threadvar.
13345 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
13347 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
13348 __hurd_local_reply_port instead of threadvar.
13349 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
13350 _hurd_sigstate fields.
13351 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
13352 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
13353 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
13354 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
13355 instead of threadvar.
13356 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
13357 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
13358 (use_threadvar, global_reply_port): Remove variables.
13359 (__hurd_reply_port0): New variable.
13360 (__mig_get_reply_port): Use __hurd_local_reply_port and
13361 __hurd_reply_port0 instead of threadvar.
13362 (__mig_dealloc_reply_port): Likewise.
13363 (__mig_init): Do not initialize threadvar.
13364 * sysdeps/mach/hurd/profil.c: Fix comment.
13365 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
13366 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
13367 cthread_keycreate, cthread_getspecific, cthread_setspecific to
13368 __cthread_fork, __cthread_detach, __pthread_getattr_np,
13369 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
13370 __cthread_setspecific.
13371 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
13372 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
13373 __cthread_t instead of cthread_fork, cthread_detach,
13374 pthread_getattr_np, pthread_attr_getstack.
13375 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
13376 __cthread_keycreate.
13377 (cthread_getspecific): Rename to __cthread_getspecific.
13378 (cthread_setspecific): Rename to __cthread_setspecific.
13379 (__libc_getspecific): Use __cthread_getspecific instead of
13380 cthread_getspecific.
13381 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
13382 __cthread_keycreate instead of cthread_keycreate.
13383 (__libc_setspecific): Use __cthread_setspecific instead of
13384 cthread_setspecific.
13385 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
13387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
13388 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
13389 testing whether it is defined.
13391 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13393 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
13395 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
13396 * sysdeps/mach/i386/thread_state.h
13397 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
13399 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
13401 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
13403 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
13404 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
13406 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
13408 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
13409 descriptor instead of creating a new one.
13410 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
13412 * mach/setup-thread.c: Include <ldsodefs.h>.
13413 (__mach_setup_thread): Call _dl_allocate_tls, pass
13414 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
13415 MACHINE_THREAD_STATE_FLAVOR, before getting
13416 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
13417 MACHINE_THREAD_STATE_FLAVOR with the result.
13418 * hurd/hurdfault.c (_hurdsig_fault_init): Call
13419 MACHINE_THREAD_STATE_FIX_NEW.
13420 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
13421 too. Add original thread parameter.
13423 2018-03-16 Joseph Myers <joseph@codesourcery.com>
13425 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
13426 Remove inline function.
13428 * sysdeps/i386/fpu/libm-test-ulps: Update.
13429 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
13431 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
13433 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
13436 2018-03-15 Joseph Myers <joseph@codesourcery.com>
13438 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
13439 (__sincos_code): Remove define and undefine.
13440 [__FAST_MATH__] (__sincos): Remove inline function.
13441 [__FAST_MATH__] (__sincosf): Remove inline function.
13442 [__FAST_MATH__] (__sincosl): Remove inline function.
13443 (__atan2l): Remove inline functions.
13444 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
13445 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
13447 (floor): Remove inline function.
13449 [__FAST_MATH__] (__ldexp_code): Remove macro.
13450 [__FAST_MATH__] (ldexp): Remove inline function.
13451 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
13452 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
13453 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
13454 [__USE_ISOC99] (__lrint_code): Remove macro.
13455 [__USE_ISOC99] (__llrint_code): Likewise.
13456 [__USE_ISOC99] (lrintf): Remove inline function.
13457 [__USE_ISOC99] (lrint): Likewise.
13458 [__USE_ISOC99] (lrintl): Likewise.
13459 [__USE_ISOC99] (llrint): Likewise.
13460 [__USE_ISOC99] (llrintf): Likewise.
13461 [__USE_ISOC99] (llrintl): Likewise.
13463 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13465 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
13466 (__ieee754_sqrtf): Remove.
13467 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
13468 (__ieee754_sqrtf): Remove.
13469 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
13470 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13471 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
13472 (__ieee754_sqrtf): Remove.
13473 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
13474 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
13477 (__ieee754_sqrt): Remove.
13478 (__ieee754_sqrtf): Remove.
13479 (__ieee754_sqrtl): Remove.
13480 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
13481 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
13482 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
13483 (__ieee754_sqrtf): Remove.
13484 (__ieee754_sqrtl): Remove.
13486 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13488 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
13489 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13490 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13491 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
13492 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
13493 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13494 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13495 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13497 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
13498 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
13499 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13500 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13501 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13502 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
13503 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13504 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
13505 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13506 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13507 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
13508 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13509 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
13510 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
13511 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
13512 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13513 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13514 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13515 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
13516 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
13517 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13518 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13519 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
13520 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
13521 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
13522 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
13523 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13525 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
13526 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
13527 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13528 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
13529 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13530 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
13531 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13532 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13533 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
13534 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
13535 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13536 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
13538 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13540 * include/math.h (sqrt): Declare with asm redirect.
13543 (sqrtf128): Likewise.
13544 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
13545 nonlib and libnldbl with -fmath-errno.
13546 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
13547 * math/w_sqrt_template.c: Likewise.
13548 * math/w_sqrtf_compat.c: Likewise.
13549 * math/w_sqrtl_compat.c: Likewise.
13550 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
13551 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
13552 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
13555 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
13557 * benchtests/Makefile: Define _ISOMAC.
13558 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
13559 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
13560 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
13561 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
13562 * benchtests/bench-timing.h: Define attribute_hidden.
13564 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13566 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
13569 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13572 * localedata/locales/cs_CZ (mon): Rename to...
13574 (mon): Import from CLDR (genitive case).
13576 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13579 * localedata/locales/el_CY (abmon): Rename to...
13580 (ab_alt_mon): This.
13581 (abmon): Import from CLDR (abbreviated genitive case).
13582 * localedata/locales/el_GR (abmon): Rename to...
13583 (ab_alt_mon): This.
13584 (abmon): Import from CLDR (abbreviated genitive case).
13586 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
13589 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
13591 2018-03-15 Robert Buj <robert.buj@gmail.com>
13594 * localedata/locales/ca_ES (abmon): Rename to...
13595 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
13596 (mon): Rename to...
13598 (abmon): Import from CLDR (genitive case, month names preceded by
13601 (abday): Synchronize with CLDR.
13602 (d_t_fmt): Likewise.
13606 (LC_TIME): Improve indentation.
13607 (LC_TELEPHONE): Likewise.
13608 (LC_NAME): Likewise.
13609 (LC_ADDRESS): Likewise.
13611 2018-03-14 Joseph Myers <joseph@codesourcery.com>
13613 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
13614 (lrintf): Remove definitions used only with old GCC.
13615 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
13616 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
13617 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
13618 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
13619 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
13620 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
13621 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
13622 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
13623 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
13624 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
13625 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
13626 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
13627 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
13628 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
13629 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
13630 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
13631 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
13632 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
13633 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
13634 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
13635 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
13636 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
13637 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
13638 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
13639 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
13640 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
13641 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
13642 [__FAST_MATH__] (__M_SQRT2): Remove macro.
13644 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
13646 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
13647 instruction to unbreak builds with binutils 2.26 and older.
13649 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
13651 * sysdeps/aarch64/strncmp.S (count): New macro.
13652 (strncmp): Store misaligned length in SRC1 in COUNT.
13653 (mutual_align): Adjust.
13654 (misaligned8): Load dword at a time when it is safe.
13656 2018-03-12 Zack Weinberg <zackw@panix.com>
13660 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
13661 if the _IO_EOF_SEEN bit is already set; update commentary.
13662 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
13663 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13665 * support/support_openpty.c, support/tty.h: New files.
13666 * support/Makefile (libsupport-routines): Add support_openpty.
13668 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
13670 * libio/Makefile (tests): Add tst-fgetc-after-eof.
13671 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
13673 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
13675 * po/pt_BR.po: Update translations.
13677 2018-03-12 David Michael <fedora.dm0@gmail.com>
13679 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
13680 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
13681 get a port to the startup server.
13683 2018-03-11 Zack Weinberg <zackw@panix.com>
13685 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
13686 before nldbl-compat.h.
13688 2018-03-10 Zack Weinberg <zackw@panix.com>
13690 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
13691 math.h or math_private.h.
13693 * sysdeps/alpha/fpu/s_isnan.c
13694 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
13695 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
13696 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
13697 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
13698 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
13699 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
13700 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
13701 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
13702 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
13703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
13704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
13705 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
13706 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
13707 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
13708 Include math_private.h.
13710 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
13711 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
13712 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
13713 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
13714 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
13715 * sysdeps/powerpc/power7/fpu/s_logb.c:
13716 Include math.h and math_private.h.
13718 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
13719 uses of $at in .set noat / .set at.
13721 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
13723 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
13724 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
13725 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
13726 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
13729 2018-03-09 Florian Weimer <fweimer@redhat.com>
13731 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
13734 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
13737 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
13738 Add nop before __startcontext, add explaining comments.
13740 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13743 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
13745 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
13746 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
13747 Do not build hardware transactional code for __SPE__.
13748 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13749 (__lll_trylock_elision): Likewise.
13750 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13751 (__lll_unlock_elision): Likewise.
13753 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
13754 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
13755 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13756 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
13757 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
13758 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
13759 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
13760 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
13761 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
13762 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
13763 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
13764 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
13765 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
13766 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
13767 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
13768 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
13769 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
13770 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
13771 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
13772 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
13773 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
13774 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13775 (__ASSUME_CLONE_BACKWARDS): Define.
13776 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
13777 __clone2 if __NR_clone2 is defined.
13778 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13779 (__ASSUME_CLONE_BACKWARDS): Likewise.
13780 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13781 (__ASSUME_CLONE_BACKWARDS): Likewise.
13782 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13783 (__ASSUME_CLONE2): Likewise.
13784 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13785 (__ASSUME_CLONE_BACKWARDS3): Likewise.
13786 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
13787 variants and the define architecture can use.
13788 (__ASSUME_CLONE_DEFAULT): Define as default.
13789 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13790 (__ASSUME_CLONE_BACKWARDS): Likewise.
13791 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13792 (__ASSUME_CLONE_BACKWARDS): Likewise.
13793 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13794 (__ASSUME_CLONE_BACKWARDS2): Likewise.
13796 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
13798 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
13800 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
13803 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
13804 (do_test_limit): Likewise.
13806 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
13807 for every implementation.
13808 (do_test): Likewise.
13810 * benchtests/bench-strncmp.c: Convert output to json.
13812 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13814 * io/futimens.c: Add missing start-of-file descriptive comment.
13815 * io/utime.c: Likewise.
13816 * misc/futimesat.c: Likewise.
13817 * misc/utimes.c: Likewise.
13818 * sysdeps/mach/hurd/futimesat.c: Likewise.
13819 * sysdeps/mach/hurd/utimes.c: Likewise.
13820 * sysdeps/posix/utime.c: Likewise.
13821 * sysdeps/posix/utimes.c: Likewise.
13822 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
13823 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13824 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
13825 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
13827 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13829 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
13831 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
13832 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
13833 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
13834 (__futimens): Move implementation to...
13835 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
13836 utime_tvalue_from_tspec): ... new helper functions.
13837 (hurd_futimens): New function.
13838 * sysdeps/mach/hurd/futimesat.c: New file.
13839 * sysdeps/mach/hurd/utimensat.c: New file.
13841 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
13843 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
13844 UTIME_OMIT): New macros.
13845 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
13846 before reverting to converting time spec to time value and calling
13848 * sysdeps/mach/hurd/utime-helper.c: New file.
13849 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
13850 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
13851 reverting to utime_tvalue_from_tval and __file_utimes.
13852 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
13853 (__lutimes): Just call hurd_futimens after lookup.
13854 * sysdeps/mach/hurd/utimes.c: Likewise.
13856 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
13858 * bits/sigaction.h: Add include guard.
13859 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
13860 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
13861 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
13862 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
13863 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
13864 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
13865 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
13866 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
13867 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
13869 2018-03-05 Joseph Myers <joseph@codesourcery.com>
13871 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
13872 -Wmaybe-uninitialized for -Os.
13873 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
13876 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13878 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
13879 __INO_T_MATCHES_INO64_T is defined.
13880 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
13881 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
13883 * dirent/alphasort64.c: Likewise.
13884 * dirent/scandir.c: Likewise.
13885 * dirent/scandir64-tail.c: Likewise.
13886 * dirent/scandir64.c: Likewise.
13887 * dirent/scandirat.c: Likewise.
13888 * dirent/scandirat64.c: Likewise.
13889 * dirent/versionsort.c: Likewise.
13890 * dirent/versionsort64.c: Likewise.
13891 * include/dirent.h: Likewise.
13893 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
13894 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
13895 for socketpair endpoint.
13896 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
13897 WRITE_BUFFER_SIZE as buffer size for sending socket.
13898 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
13899 issue on system where send is implemented with sendto syscall.
13900 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
13901 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
13902 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
13903 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
13906 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
13907 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
13908 sa_restorer for vDSO case.
13909 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
13911 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
13913 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
13914 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
13915 * hurd/hurd/ioctl.h: Include <mach/port.h>
13916 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
13917 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
13918 <mach/mach_types.h> and <mach/message.h>.
13919 (headers): Move mach/param.h to bits/mach/param.h.
13920 * sysdeps/mach/i386/mach/param.h: Move file to ...
13921 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
13922 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
13924 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
13925 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
13926 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
13927 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
13928 trivial, for C++ conformity.
13929 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
13930 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
13931 Process mig output through $(migheadersed).
13932 * hurd/Makefile (migheadersed): Define variable.
13933 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
13934 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
13936 * hurd/hurd.h: Include <bits/types/sigset_t.h>
13937 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
13938 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
13939 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
13940 <bits/types/sigset_t.h>.
13941 [!defined __USE_GNU]: Do not #error out.
13942 (struct hurd_sigstate): Use _NSIG instead of NSIG.
13943 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
13944 Include <stddef.h> and <bits/types/sigset_t.h>
13945 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
13946 instead of sighandler_t.
13947 * stdlib/errno.h (error_t): Move definition to...
13948 * bits/types/error_t.h: ... new header.
13949 * stdlib/Makefile (headers): Add bits/types/error_t.h.
13950 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
13951 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
13952 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
13953 * hurd/hurd.h: Include <bits/types/error_t.h>
13954 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
13955 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
13956 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
13957 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
13958 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
13959 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
13960 * sysdeps/mach/hurd/futimens.c: New file.
13962 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
13965 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
13966 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
13967 * nscd/gai.c (__nss_hosts_database): Readd definition.
13968 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
13969 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
13970 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
13972 2018-03-02 Joseph Myers <joseph@codesourcery.com>
13974 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
13975 (ifunc_one): Likewise.
13977 2018-03-01 DJ Delorie <dj@delorie.com>
13980 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
13983 2018-03-01 Maciej W. Rozycki <macro@mips.com>
13985 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
13986 `match_pid' parameter.
13987 (td_ta_thr_iter): Update accordingly.
13989 2018-03-01 Florian Weimer <fweimer@redhat.com>
13991 * nptl/Makefile (install-lib-ldscripts): Remove.
13992 (install): Remove rule.
13993 ($(inst_libdir)/libpthread.so): Likewise.
13995 2018-03-01 Mike FABIAN <mfabian@redhat.com>
13998 * localedata/locales/an_ES: update month and day names,
13999 improve d_fmt, improve postal_fmt, add country_post,
14002 2018-03-01 Mike FABIAN <mfabian@redhat.com>
14004 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
14005 Ukrainian instead of Bulgarian.
14007 2018-03-01 Florian Weimer <fweimer@redhat.com>
14009 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
14012 2018-03-01 Florian Weimer <fweimer@redhat.com>
14014 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
14015 * nptl/Makefile (routines): Add pthread_atfork.
14016 (static-only-routines): Set to pthread_atfork.
14017 (libpthread-routines): Remove pthread_atfork.
14018 (libpthread-static-only-routines): Remove.
14019 (install): Update comment.
14020 (libpthread.so): Do not install libpthread_nonshared.a.
14021 (tests): Do not link with libpthread_nonshared.a.
14022 (generated): Remove libpthread_nonshared.a.
14023 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
14024 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
14025 with libpthread_nonshared.a.
14027 2018-02-28 Joseph Myers <joseph@codesourcery.com>
14030 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
14031 (libc_feholdexcept_setroundf128): New macro.
14032 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
14035 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
14037 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
14038 * include/inttypes.h: New file.
14040 2018-02-27 Joseph Myers <joseph@codesourcery.com>
14042 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
14043 -Os in two more places.
14045 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14047 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
14048 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
14049 be sorted correctly at the moment because of a bug.
14051 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14053 [BZ #22550] - es_ES locale (and other es_* locales): collation should
14054 treat ñ as a primary different character, sync the collation
14055 for Spanish with CLDR.
14056 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
14057 * localedata/Makefile: Add new test files.
14058 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
14059 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
14061 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
14062 * localedata/am_ET.UTF-8.in: New test file.
14063 * localedata/az_AZ.UTF-8.in: Likewise.
14064 * localedata/be_BY.UTF-8.in: Likewise.
14065 * localedata/ber_DZ.UTF-8.in: Likewise.
14066 * localedata/ber_MA.UTF-8.in: Likewise.
14067 * localedata/bg_BG.UTF-8.in: Likewise.
14068 * localedata/br_FR.UTF-8.in: Likewise.
14069 * localedata/cmn_TW.UTF-8.in: Likewise.
14070 * localedata/crh_UA.UTF-8.in: Likewise.
14071 * localedata/csb_PL.UTF-8.in: Likewise.
14072 * localedata/cv_RU.UTF-8.in: Likewise.
14073 * localedata/cy_GB.UTF-8.in: Likewise.
14074 * localedata/dz_BT.UTF-8.in: Likewise.
14075 * localedata/eo.UTF-8.in: Likewise.
14076 * localedata/es_ES.UTF-8.in: Likewise.
14077 * localedata/fa_IR.UTF-8.in: Likewise.
14078 * localedata/fi_FI.UTF-8.in: Likewise.
14079 * localedata/fil_PH.UTF-8.in: Likewise.
14080 * localedata/fur_IT.UTF-8.in: Likewise.
14081 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
14082 * localedata/ha_NG.UTF-8.in: Likewise.
14083 * localedata/ig_NG.UTF-8.in: Likewise.
14084 * localedata/ik_CA.UTF-8.in: Likewise.
14085 * localedata/kk_KZ.UTF-8.in: Likewise.
14086 * localedata/ku_TR.UTF-8.in: Likewise.
14087 * localedata/ky_KG.UTF-8.in: Likewise.
14088 * localedata/ln_CD.UTF-8.in: Likewise.
14089 * localedata/mi_NZ.UTF-8.in: Likewise.
14090 * localedata/ml_IN.UTF-8.in: Likewise.
14091 * localedata/mn_MN.UTF-8.in: Likewise.
14092 * localedata/mr_IN.UTF-8.in: Likewise.
14093 * localedata/mt_MT.UTF-8.in: Likewise.
14094 * localedata/nb_NO.UTF-8.in: Likewise.
14095 * localedata/om_KE.UTF-8.in: Likewise.
14096 * localedata/os_RU.UTF-8.in: Likewise.
14097 * localedata/ps_AF.UTF-8.in: Likewise.
14098 * localedata/ro_RO.UTF-8.in: Likewise.
14099 * localedata/ru_RU.UTF-8.in: Likewise.
14100 * localedata/sc_IT.UTF-8.in: Likewise.
14101 * localedata/se_NO.UTF-8.in: Likewise.
14102 * localedata/sq_AL.UTF-8.in: Likewise.
14103 * localedata/sv_SE.UTF-8.in: Likewise.
14104 * localedata/szl_PL.UTF-8.in: Likewise.
14105 * localedata/tg_TJ.UTF-8.in: Likewise.
14106 * localedata/tk_TM.UTF-8.in: Likewise.
14107 * localedata/tt_RU.UTF-8.in: Likewise.
14108 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
14109 * localedata/ug_CN.UTF-8.in: Likewise.
14110 * localedata/uz_UZ.UTF-8.in: Likewise.
14111 * localedata/vi_VN.UTF-8.in: Likewise.
14112 * localedata/yi_US.UTF-8.in: Likewise.
14113 * localedata/yo_NG.UTF-8.in: Likewise.
14114 * localedata/zh_CN.UTF-8.in: Likewise.
14115 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
14116 file and fix bugs in the collation.
14117 * localedata/locales/az_AZ: Likewise.
14118 * localedata/locales/be_BY: Likewise.
14119 * localedata/locales/ber_DZ: Likewise.
14120 * localedata/locales/ber_MA: Likewise.
14121 * localedata/locales/bg_BG: Likewise.
14122 * localedata/locales/br_FR: Likewise.
14123 * localedata/locales/br_FR@euro: Likewise.
14124 * localedata/locales/ca_ES: Likewise.
14125 * localedata/locales/cns11643_stroke: Likewise.
14126 * localedata/locales/crh_UA: Likewise.
14127 * localedata/locales/cs_CZ: Likewise.
14128 * localedata/locales/csb_PL: Likewise.
14129 * localedata/locales/cv_RU: Likewise.
14130 * localedata/locales/cy_GB: Likewise.
14131 * localedata/locales/da_DK: Likewise.
14132 * localedata/locales/dz_BT: Likewise.
14133 * localedata/locales/en_CA: Likewise.
14134 * localedata/locales/eo: Likewise.
14135 * localedata/locales/es_CU: Likewise.
14136 * localedata/locales/es_EC: Likewise.
14137 * localedata/locales/es_ES: Likewise.
14138 * localedata/locales/es_US: Likewise.
14139 * localedata/locales/et_EE: Likewise.
14140 * localedata/locales/fa_IR: Likewise.
14141 * localedata/locales/fi_FI: Likewise.
14142 * localedata/locales/fil_PH: Likewise.
14143 * localedata/locales/fur_IT: Likewise.
14144 * localedata/locales/gez_ER@abegede: Likewise.
14145 * localedata/locales/ha_NG: Likewise.
14146 * localedata/locales/hr_HR: Likewise.
14147 * localedata/locales/hsb_DE: Likewise.
14148 * localedata/locales/hu_HU: Likewise.
14149 * localedata/locales/ig_NG: Likewise.
14150 * localedata/locales/ik_CA: Likewise.
14151 * localedata/locales/is_IS: Likewise.
14152 * localedata/locales/iso14651_t1_pinyin: Likewise.
14153 * localedata/locales/kk_KZ: Likewise.
14154 * localedata/locales/ku_TR: Likewise.
14155 * localedata/locales/ky_KG: Likewise.
14156 * localedata/locales/ln_CD: Likewise.
14157 * localedata/locales/lt_LT: Likewise.
14158 * localedata/locales/lv_LV: Likewise.
14159 * localedata/locales/mi_NZ: Likewise.
14160 * localedata/locales/ml_IN: Likewise.
14161 * localedata/locales/mn_MN: Likewise.
14162 * localedata/locales/mr_IN: Likewise.
14163 * localedata/locales/mt_MT: Likewise.
14164 * localedata/locales/nb_NO: Likewise.
14165 * localedata/locales/om_KE: Likewise.
14166 * localedata/locales/os_RU: Likewise.
14167 * localedata/locales/pl_PL: Likewise.
14168 * localedata/locales/ps_AF: Likewise.
14169 * localedata/locales/ro_RO: Likewise.
14170 * localedata/locales/ru_RU: Likewise.
14171 * localedata/locales/ru_UA: Likewise.
14172 * localedata/locales/sc_IT: Likewise.
14173 * localedata/locales/se_NO: Likewise.
14174 * localedata/locales/si_LK: Likewise.
14175 * localedata/locales/sq_AL: Likewise.
14176 * localedata/locales/sv_FI: Likewise.
14177 * localedata/locales/sv_FI@euro: Likewise.
14178 * localedata/locales/sv_SE: Likewise.
14179 * localedata/locales/szl_PL: Likewise.
14180 * localedata/locales/tg_TJ: Likewise.
14181 * localedata/locales/ti_ER: Likewise.
14182 * localedata/locales/tk_TM: Likewise.
14183 * localedata/locales/tl_PH: Likewise.
14184 * localedata/locales/tr_TR: Likewise.
14185 * localedata/locales/tt_RU: Likewise.
14186 * localedata/locales/tt_RU@iqtelif: Likewise.
14187 * localedata/locales/ug_CN: Likewise.
14188 * localedata/locales/uk_UA: Likewise.
14189 * localedata/locales/uz_UZ: Likewise.
14190 * localedata/locales/uz_UZ@cyrillic: Likewise.
14191 * localedata/locales/vi_VN: Likewise.
14192 * localedata/locales/yi_US: Likewise.
14193 * localedata/locales/yo_NG: Likewise.
14195 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14197 * gen-locales.mk: Make test files which contain @ modifiers in their
14199 * localedata/gen-locale.sh: Likewise.
14201 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14203 * posix/tst-fnmatch.input: Fix results for range expressions
14205 * posix/tst-regexloc.c: Do not use a range expression for
14206 de_DE.ISO-8859-1 locale.
14208 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14210 * posix/bug-regex5.c: Fix test case because with the new
14211 iso14651_t1_common file, the da_DK locale now has 6 collating elements
14212 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
14215 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14217 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
14218 downloaded from ISO, the collation order of @-. and space has changed.
14219 Therefore, this test file needed to be adapted.
14220 * localedata/fr_CA.UTF-8.in: Likewise.
14221 * localedata/fr_FR.UTF-8.in: Likewise.
14222 * localedata/uk_UA.UTF-8.in: Likewise.
14224 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14226 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
14227 order of ȥ in the new iso14651_t1_common file.
14228 * localedata/pl_PL.UTF-8.in: Likewise.
14230 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14232 * localedata/locales/iso14651_t1_common: Add sections for various
14233 scripts to the iso14651_t1_common file.
14235 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14237 * localedata/locales/iso14651_t1_common: Use the code point of a
14238 character in the fourth collation level instead of IGNORE for all
14239 entries which have IGNORE on all 4 levels.
14241 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14243 * localedata/locales/iso14651_t1_common: Add some convenient collation
14244 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
14245 rules similar to those in CLDR.
14247 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14249 * localedata/locales/iso14651_t1_common: The new version of this
14250 file downloaded from ISO contained several syntax errors which
14251 are fixed by this patch.
14253 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14255 * localedata/locales/iso14651_t1_common: replace all <U.....>
14256 with <U000.....> because glibc understands only 4 digit or 8 digit
14258 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14260 * localedata/locales/iso14651_t1_common: Necessary changes
14261 to make the file downloaded from ISO usable by glibc.
14263 2018-02-27 Mike FABIAN <mfabian@redhat.com>
14266 * localedata/locales/iso14651_t1_common: Update file to
14267 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
14269 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14271 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
14272 of <nptl/pthreadP.h>
14273 (thread_attr_compare): Move function to...
14274 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
14275 * sysdeps/nptl/timer_routines.h: ... new header.
14276 * sysdeps/mach/hurd/gai_misc.h: New file.
14278 2018-02-26 Joseph Myers <joseph@codesourcery.com>
14280 * string/strcoll_l.c: Include <libc-diag.h>.
14281 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
14282 declarations of seq1 and seq2.
14285 * stdlib/atoi.c (atoi): Use libc_hidden_def.
14286 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
14288 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
14292 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
14293 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
14294 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
14295 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
14296 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
14297 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
14299 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14301 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
14302 macros used in __ptrace_request.
14304 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
14307 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
14309 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
14310 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
14311 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
14314 2018-02-23 Joseph Myers <joseph@codesourcery.com>
14317 * ctype/ctype.c (tolower): Use libc_hidden_def.
14318 (toupper): Likewise.
14319 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
14320 [!_ISOMAC] (toupper): Likewise.
14322 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14324 * localedata/Makefile: Remove --quiet argument when
14327 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14330 * localedata/locales/pt_BR (LC_TIME): use / instead of -
14332 * localedata/locales/pt_PT (LC_TIME): likewise
14334 2018-02-23 Mike FABIAN <mfabian@redhat.com>
14337 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
14338 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
14339 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
14341 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14345 * nptl/Makefile (routines): Remove unregister-atfork.
14346 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
14347 (fork_handler_alloc): Remove function.
14348 (fork_handlers, fork_handler_init): New variables.
14349 (__fork_lock): Rename to atfork_lock.
14350 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
14351 to use a dynamic array to add/remove atfork handlers.
14352 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14353 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
14354 Remove declaration.
14355 (fork_handler): Remove next, refcntr, and need_signal member.
14356 (__run_fork_handler_type): New enum.
14357 (__run_fork_handlers): New prototype.
14358 * nptl/register-atfork.c: Remove file.
14359 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
14361 * sysdeps/nptl/nptl-signals.h: Move to ...
14362 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
14364 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
14365 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
14366 unnecessary check for SIGTIMER.
14367 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
14368 remove unnecessary removal of SIGTIMER.
14369 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
14370 include-signals.h rename.
14371 * nptl/pthreadP.h: Likewise.
14372 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
14373 __is_internal_signal instead of __nptl_is_internal_signal.
14375 2018-02-22 Andrew Waterman <andrew@sifive.com>
14378 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
14379 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
14380 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
14381 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
14383 2018-02-22 DJ Delorie <dj@delorie.com>
14385 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
14387 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
14389 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
14390 do_misaligned, not misaligned8.
14392 2018-02-22 Steve Ellcey <sellcey@cavium.com>
14394 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
14395 Add memcpy_thunderx2.
14396 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
14398 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
14399 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
14400 and IS_THUNDERX2PA checks.
14401 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
14402 Use macro to set name appropriately.
14403 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
14404 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
14405 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
14407 (IS_THUNDERX2): New macro.
14409 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14411 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14413 2018-02-21 Zack Weinberg <zackw@panix.com>
14415 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
14416 Define here, unconditionally.
14417 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
14418 * libio/libioP.h: Remove #if 0 blocks.
14419 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
14420 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
14421 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
14423 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
14424 Assume weak_alias is always defined.
14426 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
14427 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
14428 Remove #if 0 and #ifdef TODO blocks.
14429 Assume text_set_element is always defined.
14431 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
14432 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
14433 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
14435 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
14436 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
14437 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
14438 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
14439 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
14440 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
14441 Reformat bit flags for _flags field to make occupancy clearer.
14443 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
14444 Keep definitions consistent with those in libio/libio.h.
14446 * libio/libio.h (_IO_file_flags): Remove macro.
14447 All uses changed to _flags.
14449 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
14450 (__HAVE_COLUMN, _IO_BE): Don't define.
14451 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
14452 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
14453 * libio/libioP.h (EOF): Don't define.
14454 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
14455 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
14456 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
14457 testing _IO_UNIFIED_JUMPTABLES.
14459 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
14460 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
14461 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
14462 (_IO_size_t): Delete; all uses changed to size_t.
14463 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
14464 (_IO_off_t): Delete; all uses changed to off_t.
14465 (_IO_off64_t): Delete; all uses changed to off64_t.
14466 (_IO_pid_t): Delete; all uses changed to pid_t.
14467 (_IO_uid_t): Delete; all uses changed to uid_t.
14468 (_IO_wint_t): Delete; all uses changed to wint_t.
14469 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
14470 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
14471 (_IO_cookie_io_functions_t): Delete; all uses changed to
14472 cookie_io_functions_t.
14473 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
14474 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
14475 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
14476 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
14478 * libio/iofopncook.c: Remove unnecessary forward declarations.
14479 * libio/iolibio.h: Correct outdated commentary.
14480 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
14481 * stdio-common/fxprintf.c (__fxprintf_nocancel):
14482 Remove unnecessary casts.
14483 * stdio-common/getline.c: Use _IO_getdelim directly.
14484 Don't redefine ssize_t.
14485 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
14486 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
14487 Remove outdated comments.
14488 * stdio-common/vfscanf.c: Don't redefine va_list.
14490 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
14491 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
14492 Remove preprocessor conditionals on _LIBC and __USE_GNU,
14493 which are always true, and __cplusplus, which is always false.
14495 2018-02-21 Joseph Myers <joseph@codesourcery.com>
14499 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
14500 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
14501 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
14502 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
14504 [!_ISOMAC] (putc_unlocked): Likewise.
14505 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
14506 define inline if [__USE_EXTERN_INLINES].
14507 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
14512 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
14513 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
14514 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
14515 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
14516 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
14518 * time/tzfile.c (__tzfile_read): Likewise.
14520 2018-02-21 Mike FABIAN <mfabian@redhat.com>
14523 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
14525 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14527 * io/fcntl.h: Fix a typo in a comment.
14529 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
14532 * include/features.h: Add _ISOC11_SOURCE to test for whether to
14533 define _DEFAULT_SOURCE.
14534 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
14536 2018-02-21 Florian Weimer <fweimer@redhat.com>
14539 * elf/cache.c (save_cache): Call fsync on temporary file before
14541 (save_aux_cache): Call fdatasync on temporary file before renaming
14544 2018-02-21 Florian Weimer <fweimer@redhat.com>
14547 * include/caller.h: Remove file.
14548 * elf/dl-caller.c: Likewise.
14549 * elf/Makefile (dl-routines): Remove dl-caller.
14550 (shared-only-routines): Do not add dl-caller.
14551 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
14553 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
14555 (dl_open_worker): Do not call __check_caller.
14556 (_dl_open): Do not set caller_dl_open member.
14557 * elf/rtld.c (_rtld_global_ro): Do not initialize
14558 _dl_check_caller member.
14559 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
14560 _dl_check_caller member.
14561 (_dl_check_caller): Remove declaration.
14562 * sysdeps/unix/sysv/linux/dl-execstack.c
14563 (_dl_make_stack_executable): Do not call __check_caller.
14565 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14567 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
14568 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
14570 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14572 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
14575 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
14578 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
14579 of 199606L, 200112L, and 200809L.
14580 (_XOPEN_SOURCE): Document special values of 600 and 700.
14581 (_ISOC11_SOURCE): Document macro.
14582 (_ATFILE_SOURCE): Likewise.
14583 (_FORTIFY_SOURCE): Likewise.
14585 2018-02-19 Joseph Myers <joseph@codesourcery.com>
14589 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
14590 and define as weak alias of __ferror_unlocked. Use
14592 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
14594 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
14595 function if [__USE_EXTERN_INLINES].
14596 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
14599 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
14602 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
14604 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14607 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
14608 the GLIBC_2.1 version.
14610 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
14613 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
14614 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
14615 intl/tst-gettext-de.po from po/de.po by removing the
14616 POT-Creation-Date line.
14617 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
14619 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
14622 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
14624 * mach/Makefile (headers): Add mach/param.h.
14625 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
14626 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
14627 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
14628 (__ptsname_r): Move implementation to...
14629 (__ptsname_internal): ... new function. Add filling the STP
14632 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
14634 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
14637 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
14639 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
14642 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14644 * nptl/Makefile (tst-mutex8-ENV): Delete.
14645 * nptl/tst-mutex8.c (check_type):
14646 Add runtime check if mutex will be elided.
14648 2018-02-15 Joseph Myers <joseph@codesourcery.com>
14652 * manual/install.texi (Configuring and compiling): Describe
14653 passing CC and CFLAGS on configure command line, not as
14654 environment variables. Use @code markup on those variables.
14655 Specify what options go in CC and what go in CFLAGS. Note the
14656 requirement to compile with optimization.
14657 * INSTALL: Regenerated.
14660 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
14661 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
14662 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
14663 __sigprocmask instead of sigprocmask.
14664 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
14666 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
14667 __sigsetjmp and sigprocmask.
14670 * include/argz.h (argz_next): Use libc_hidden_proto.
14671 (__argz_next): Likewise.
14672 * string-argz-next.c (__argz_next): Use libc_hidden_def.
14673 (argz_next): Use libc_hidden_weak.
14676 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
14678 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
14682 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
14684 * libio/iofputs.c (fputs): Use libc_hidden_weak.
14688 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
14689 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
14690 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
14691 (__feof_unlocked): New declaration, and inline function if
14692 [__USE_EXTERN_INLINES].
14693 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
14694 instead of feof_unlocked.
14695 * intl/localealias.c [_LIBC] (FEOF): Likewise.
14696 * nss/nsswitch.c (nss_parse_file): Likewise.
14697 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
14699 * time/getdate.c (__getdate_r): Likewise.
14700 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
14701 Define as macro to call __feof_unlocked.
14703 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14705 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
14707 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
14709 * math/Makefile: Remove mpexp.c and mplog.c
14710 * sysdeps/i386/fpu/mpexp.c: Delete file.
14711 * sysdeps/i386/fpu/mplog.c: Likewise.
14712 * sysdeps/ia64/fpu/mpexp.c: Likewise.
14713 * sysdeps/ia64/fpu/mplog.c: Likewise.
14714 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
14715 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
14716 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
14717 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14718 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
14719 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
14720 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
14721 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
14722 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
14723 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14724 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
14725 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
14726 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14727 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
14728 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
14729 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14731 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14733 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14735 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14737 * sysdeps/sh/libm-test-ulps: Update.
14739 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14741 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
14744 2018-02-12 Zack Weinberg <zackw@panix.com>
14747 * posix/sys/types.h: Don't include sys/sysmacros.h.
14748 * misc/sys/sysmacros.h: Remove the conditional deprecation
14749 warnings for the macros defined by this header.
14751 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14753 * manual/probes.texi: Remove slowexp probes.
14754 * math/Makefile: Remove slowexp.
14755 * sysdeps/generic/math_private.h (__slowexp): Remove.
14756 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
14757 document error bounds.
14758 * sysdeps/i386/fpu/slowexp.c: Remove.
14759 * sysdeps/ia64/fpu/slowexp.c: Remove.
14760 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
14761 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
14762 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
14763 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
14764 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
14765 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
14766 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
14767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
14768 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
14769 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
14770 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
14772 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
14775 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
14776 * benchtests/pow-inputs: Update comment for slow path cases.
14777 * manual/probes.texi (slowpow_p10): Delete removed probe.
14778 (slowpow_p10): Likewise.
14779 * math/Makefile: Remove halfulp.c and slowpow.c.
14780 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
14781 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
14782 (__halfulp): Remove.
14783 (__slowpow): Remove.
14784 * sysdeps/i386/fpu/halfulp.c: Delete file.
14785 * sysdeps/i386/fpu/slowpow.c: Likewise.
14786 * sysdeps/ia64/fpu/halfulp.c: Likewise.
14787 * sysdeps/ia64/fpu/slowpow.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
14789 improve comments and add error analysis.
14790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
14791 (power1): Remove function:
14792 (log1): Remove error argument, add error analysis.
14793 (my_log2): Remove function.
14794 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
14795 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14796 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
14797 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
14798 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
14799 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
14800 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
14801 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
14802 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
14803 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
14804 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
14805 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14806 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
14807 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14809 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
14811 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
14812 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
14814 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
14817 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
14818 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
14819 and PTRACE_SETHBPREGS.
14821 2018-02-10 Zack Weinberg <zackw@panix.com>
14824 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
14826 * malloc/tst-malloc-stats-cancellation.c: New test case.
14827 * malloc/Makefile: Add new test case.
14829 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
14831 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
14833 2018-02-10 Joseph Myers <joseph@codesourcery.com>
14835 * math/Makefile (libm-narrow-fns): Add add.
14836 (libm-test-funcs-narrow): Likewise.
14837 * math/Versions (GLIBC_2.28): Add narrowing add functions.
14838 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
14839 * math/gen-auto-libm-tests.c (test_functions): Add add.
14840 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
14841 (NARROW_ADD_ROUND_TO_ODD): Likewise.
14842 (NARROW_ADD_TRIVIAL): Likewise.
14843 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
14845 (__daddl): Likewise.
14846 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
14848 (CFLAGS-nldbl-dadd.c): New variable.
14849 (CFLAGS-nldbl-fadd.c): Likewise.
14850 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14852 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
14854 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
14855 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
14856 * math/auto-libm-test-in: Add tests of add.
14857 * math/auto-libm-test-out-narrow-add: New generated file.
14858 * math/libm-test-narrow-add.inc: New file.
14859 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14860 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
14861 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
14862 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
14863 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
14864 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
14865 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
14866 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
14867 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
14868 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
14869 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
14870 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
14871 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
14872 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
14873 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
14874 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
14875 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
14876 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
14877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14878 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14880 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14881 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14882 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14883 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14884 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14885 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14886 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14887 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14889 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14890 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14895 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14896 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14900 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
14902 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
14903 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14904 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14906 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
14907 (f128-pairs): New variable.
14908 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
14909 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
14911 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
14912 Also make tests add $(f128-loader-link) to gnulib-tests.
14914 2018-02-09 DJ Delorie <dj@redhat.com>
14917 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
14918 64-bit ELF type for 64-bit ELF objects.
14920 2018-02-09 Joseph Myers <joseph@codesourcery.com>
14922 * math/libm-test-driver.c (snan_tests_arg): New variable.
14923 * math/libm-test-support.h (snan_tests_arg): New declaration.
14924 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
14926 * math/Makefile (test-type-pairs): New variable.
14927 (test-type-pairs-f64xf128-yes): Likewise.
14928 (tests): Add test-narrow-macros.
14929 (libm-test-funcs-narrow): New variable.
14930 (libm-test-c-narrow): Likewise.
14931 (generated): Add $(libm-test-c-narrow).
14932 (libm-tests-base-narrow): New variable.
14933 (libm-tests-narrow): Likewise.
14934 (libm-tests): Add $(libm-tests-narrow).
14935 (libm-tests-for-type): Handle $(libm-tests-narrow).
14936 (libm-test-c-narrow-obj): New variable.
14937 ($(libm-test-c-narrow-obj)): New rule.
14938 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
14939 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
14940 $(o-iterator) to set dependencies and CFLAGS.
14941 * math/gen-auto-libm-tests.c: Document use for narrowing
14943 (output_for_one_input_case): Take argument NARROW.
14944 (generate_output): Likewise. Update call to
14945 output_for_one_input_case.
14946 (main): Take --narrow option. Update call to generate_output.
14947 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
14948 (apply_lit): Update call to _apply_lit.
14949 (apply_arglit): New function.
14950 (parse_args): Handle "a" arguments.
14951 (parse_auto_input): Handle format names using ":".
14952 * math/README.libm-test: Document "a" parameter type.
14953 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
14954 (ARG_TYPE_TRUE_MIN): Likewise.
14955 (ARG_TYPE_MAX): Likwise.
14956 (ARG_MIN_EXP): Likewise.
14957 (ARG_MAX_EXP): Likewise.
14958 (ARG_MANT_DIG): Likewise.
14959 (TEST_COND_arg_ibm128): Likewise.
14960 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
14961 (TEST_COND_arg_fmt): New macro.
14962 (init_max_error): Update prototype.
14963 * math/libm-test-support.c (test_ibm128): New variable.
14964 (init_max_error): Take argument testing_ibm128 and set test_ibm128
14965 instead of using [TEST_COND_ibm128] conditional.
14966 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
14967 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
14968 [TEST_NARROW] (TEST_MSG): New definition.
14969 (arg_plus_zero): New macro.
14970 (arg_minus_zero): Likewise.
14971 (arg_plus_infty): Likewise.
14972 (arg_minus_infty): Likewise.
14973 (arg_qnan_value_pl): Likewise.
14974 (arg_qnan_value): Likewise.
14975 (arg_snan_value_pl): Likewise.
14976 (arg_snan_value): Likewise.
14977 (arg_max_value): Likewise.
14978 (arg_min_value): Likewise.
14979 (arg_min_subnorm_value): Likewise.
14980 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
14981 (RUN_TEST_LOOP_aa_f): New macro.
14982 (TEST_SUFF): New macro.
14983 (TEST_SUFF_STR): Likewise.
14984 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
14985 (TEST_COND_any_ibm128): New macro.
14986 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
14987 this_func. Update call to init_max_error.
14988 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
14989 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
14990 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
14991 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
14992 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
14993 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
14994 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
14995 * math/test-math-scalar.h (TEST_NARROW): Likewise.
14996 * math/test-math-vector.h (TEST_NARROW): Likewise.
14997 * math/test-arg-double.h: New file.
14998 * math/test-arg-float128.h: Likewise.
14999 * math/test-arg-float32x.h: Likewise.
15000 * math/test-arg-float64.h: Likewise.
15001 * math/test-arg-float64x.h: Likewise.
15002 * math/test-arg-ldouble.h: Likewise.
15003 * math/test-math-narrow.h: Likewise.
15004 * math/test-narrow-macros.c: Likewise.
15005 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
15006 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
15007 test-narrow-macros-ldbl-64.
15008 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
15010 * math/bits/mathcalls-narrow.h: New file.
15011 * include/bits/mathcalls-narrow.h: Likewise.
15012 * math/math-narrow.h: Likewise.
15013 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
15014 (__MATHCALL_NARROW_ARGS_2): Likewise.
15015 (__MATHCALL_NARROW_ARGS_3): Likewise.
15016 (__MATHCALL_NARROW_NORMAL): Likewise.
15017 (__MATHCALL_NARROW_REDIR): Likewise.
15018 (__MATHCALL_NARROW): Likewise.
15019 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
15020 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
15022 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
15023 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
15024 (libm-narrow-fns): New variable.
15025 (libm-narrow-types-basic): Likewise.
15026 (libm-narrow-types-ldouble-yes): Likewise.
15027 (libm-narrow-types-float128-yes): Likewise.
15028 (libm-narrow-types-float128-alias-yes): Likewise.
15029 (libm-narrow-types): Likewise.
15030 (libm-routines): Add narrowing functions.
15031 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
15032 (libc_feholdexcept_setroundf128): New macro.
15033 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
15034 * sysdeps/ieee754/float128/float128_private.h: Include
15035 <math/math-narrow.h>.
15036 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
15037 Undefine and redefine.
15038 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
15039 (libm_alias_float_ldouble): Undefine and redefine.
15040 (libm_alias_double_ldouble): Likewise.
15042 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
15044 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
15046 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
15049 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
15051 * manual/creature.texi: Convert references to gcc.info to gcc.
15052 * manual/stdio.texi: Likewise.
15053 * manual/string.texi: Likewise.
15055 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15058 * posix/bits/types.h (__int_least8_t): New typedef.
15059 (__uint_least8_t): Likewise.
15060 (__int_least16_t): Likewise.
15061 (__uint_least16_t): Likewise.
15062 (__int_least32_t): Likewise.
15063 (__uint_least32_t): Likewise.
15064 (__int_least64_t): Likewise.
15065 (__uint_least64_t): Likewise.
15066 * sysdeps/generic/stdint.h (int_least8_t): Define using
15068 (int_least16_t): Define using __int_least16_t.
15069 (int_least32_t): Define using __int_least32_t.
15070 (int_least64_t): Define using __int_least64_t.
15071 (uint_least8_t): Define using __uint_least8_t.
15072 (uint_least16_t): Define using __uint_least16_t.
15073 (uint_least32_t): Define using __uint_least32_t.
15074 (uint_least64_t): Define using __uint_least64_t.
15075 * wcsmbs/uchar.h: Include <bits/types.h>.
15076 (char16_t): Define using __uint_least16_t conditional only on
15078 (char32_t): Define using __uint_least32_t conditional only on
15080 * wcsmbs/test-char-types.c: New file.
15081 * wcsmbs/Makefile (tests): Add test-char-types.
15083 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
15086 2018-02-07 Zack Weinberg <zackw@panix.com>
15088 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
15089 Delete all contents except for definitions of _G_HAVE_MMAP and
15090 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
15091 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
15092 sysdeps/unix/sysv/linux/_G_config.h. Make same content
15095 * libio/libio.h: Don't include bits/_G_config.h here.
15096 Include stddef.h with __need_wchar_t defined. Include
15097 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
15098 Define _IO_iconv_t here, directly.
15099 Don't define _IO_HAVE_ST_BLKSIZE.
15100 * libio/libioP.h: Include _G_config.h here. Move include of
15101 shlib-compat.h up with rest of includes. Simplify conditionals
15102 controlling definition of _IO_JUMPS_OFFSET.
15104 * csu/init.c: Remove always-true #if around entire file.
15105 Don't include stdio.h. Set _IO_stdin_used to hardwired
15106 constant 0x20001, and update commentary.
15107 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
15108 Replace all uses of _G_va_list with __gnuc_va_list.
15109 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
15110 instead of #if _IO_HAVE_ST_BLKSIZE.
15111 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
15112 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
15115 * libio/bits/libio.h: Move back to libio/libio.h and adjust
15116 multiple-include guard to match.
15117 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
15119 Remove preprocessor conditionals that are always true and/or
15120 redundant to other preprocessor conditionals in the same nest.
15121 Include shlib-compat.h unconditionally.
15122 Error out if _LIBC is not defined, or if _ISOMAC is defined,
15123 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
15124 defined after including stdio.h.
15125 Use __BEGIN_DECLS/__END_DECLS.
15127 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
15128 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
15129 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
15131 2018-02-07 Zack Weinberg <zackw@panix.com>
15133 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
15134 New single-type headers split from _G_config.h.
15135 * libio/bits/types/cookie_io_functions_t.h
15136 * libio/bits/types/struct_FILE.h
15137 New single-type headers split from libio.h.
15139 * libio/Makefile: Install the above new headers. Don't install
15140 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
15142 * libio/_G_config.h, libio/libio.h: Delete file.
15144 * libio/bits/libio.h: Remove improper-inclusion guard.
15145 Include stdio.h and don't repeat anything that it does.
15146 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
15147 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
15148 __io_read_fn as cookie_read_function_t,
15149 __io_write_fn as cookie_write_function_t,
15150 __io_seek_fn as cookie_seek_function_t,
15151 __io_close_fn as cookie_close_function_t,
15152 and _IO_cookie_io_functions_t as cookie_io_functions_t.
15153 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
15154 here, in the "compatibility defines" section. Remove an #if 0
15155 block. Use the "body" macros from bits/types/struct_FILE.h to
15156 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
15157 and _IO_ferror_unlocked.
15158 Move prototypes of __uflow and __overflow...
15160 * libio/stdio.h: ...here. Don't include bits/libio.h.
15161 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
15162 directly from stdarg.h. Include bits/types/__fpos_t.h,
15163 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
15164 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
15165 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
15166 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
15167 cookie_io_functions_t, not _IO_cookie_io_functions_t;
15168 __ssize_t, not _IO_ssize_t. Unconditionally define
15169 BUFSIZ as 8192 and EOF as (-1).
15171 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
15172 macros from bits/types/struct_FILE.h instead of _IO_* macros
15173 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
15174 instead of _IO_ssize_t.
15175 * libio/bits/stdio2.h: Similarly.
15177 * libio/iolibio.h: Add multiple-include guard.
15178 Include bits/libio.h after stdio.h.
15179 * libio/libioP.h: Add multiple-include guard.
15180 Include stdio.h and bits/libio.h before iolibio.h.
15182 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
15183 * include/bits/types/cookie_io_functions_t.h
15184 * include/bits/types/struct_FILE.h: New wrappers.
15186 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
15187 Get definitions of _G_fpos_t and _G_fpos64_t from
15188 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
15189 respectively. Remove improper-inclusion guards.
15191 * conform/data/stdio.h-data: Update expectations of va_list.
15192 * scripts/check-installed-headers.sh: Remove special case for
15193 libio.h and _G_config.h.
15195 2018-02-07 Joseph Myers <joseph@codesourcery.com>
15199 * include/sys/sysmacros.h [!_ISOMAC]
15200 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
15201 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
15202 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
15203 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
15205 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
15206 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
15208 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
15209 Undefine and redefine to add use __gnu_dev_ prefix.
15210 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
15212 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
15213 and define as hidden inline function.
15214 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
15216 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
15218 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
15219 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
15220 (gnu_dev_minor): Likewise.
15221 (gnu_dev_makedev): Likewise.
15222 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
15224 * posix/wordexp.c (exec_comm_child): Likewise.
15225 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
15226 instead of minor and __gnu_dev_major instead of major.
15227 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
15228 __gnu_dev_major instead of major.
15229 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
15230 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
15231 instead of gnu_dev_minor.
15232 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
15233 (SLAVE_P): Likewise.
15234 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
15235 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
15239 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
15241 * locale/weightwc.h (findidx): Likewise.
15243 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
15245 * manual/probes.texi (slowlog): Delete documentation of removed probe.
15246 (slowlog_inexact): Likewise
15247 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
15248 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
15250 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
15253 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
15254 missing second underscore to parameter name.
15256 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15262 * bits/byteswap.h: Update file comment. Do not include
15263 <bits/byteswap-16.h>.
15264 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
15266 (__bswap_16): Define as inline function.
15267 (__bswap_constant_32): Reformat definition.
15268 (__bswap_32): Always define as inline function, not macro, using
15269 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
15270 otherwise __bswap_constant_32.
15271 (__bswap_constant_64): Reformat definition. Do not use
15272 __extension__ here.
15273 (__bswap_64): Always define as inline function, not macro. Use
15274 __extension__ on function definition. Use __builtin_bswap64 if
15275 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
15276 * string/test-endian-file-scope.c: New file.
15277 * string/test-endian-sign-conversion.c: Likewise.
15278 * string/Makefile (headers): Remove bits/byteswap-16.h.
15279 (tests): Add test-endian-file-scope and
15280 test-endian-sign-conversion.
15281 (CFLAGS-test-endian-sign-conversion.c): New variable.
15282 * bits/byteswap-16.h: Remove file.
15283 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
15284 * sysdeps/ia64/bits/byteswap.h: Likewise.
15285 * sysdeps/m68k/bits/byteswap.h: Likewise.
15286 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15287 * sysdeps/s390/bits/byteswap.h: Likewise.
15288 * sysdeps/tile/bits/byteswap.h: Likewise.
15289 * sysdeps/x86/bits/byteswap-16.h: Likewise.
15290 * sysdeps/x86/bits/byteswap.h: Likewise.
15293 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
15294 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
15295 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
15296 199901L] (__restrict): Define to restrict.
15299 * string/testcopy.c: Include <support/support.h>. Do not include
15300 <malloc.h>. Use <support/test-driver.c>.
15301 (main): Rename to do_test. Make static. Use xmalloc instead of
15305 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
15306 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
15307 (SSIZE_MAX): Define to INT_MAX.
15308 * posix/test-ssize-max.c: New file.
15309 * posix/Makefile (tests): Add test-ssize-max.
15312 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
15313 <support/support.h>. Do not include <malloc.h>.
15314 (query_auxv): Use xmalloc instead of malloc.
15317 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
15318 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
15321 2018-02-06 Florian Weimer <fweimer@redhat.com>
15324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15325 Use scratch_buffer instead of extend_alloca.
15327 2018-02-06 Zack Weinberg <zackw@panix.com>
15329 * libio/stdio.h: Don't define getc or putc as macros.
15330 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
15331 not _IO_getc and _IO_putc.
15333 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
15334 * stdio-common/tstgetln.c: Don't redefine ssize_t.
15336 2018-02-06 Joseph Myers <joseph@codesourcery.com>
15338 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
15339 (TCP_FASTOPEN_NO_COOKIE): Likewise.
15341 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
15344 * elf/elf.h (NT_PRFPREG): New macro.
15345 (NT_S390_VXRS_LOW): Likewise.
15346 (NT_S390_VXRS_HIGH): Likewise.
15347 (NT_S390_GS_CB): Likewise.
15348 (NT_S390_GS_BC): Likewise.
15349 (NT_S390_RI_CB): Likewise.
15351 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
15352 (MAP_SYNC): New macro.
15353 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
15355 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
15356 (MAP_SYNC): Likewise.
15357 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
15358 (MAP_SYNC): Likewise.
15359 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
15360 (MAP_SYNC): Likewise.
15361 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
15362 (MAP_SYNC): Likewise.
15363 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
15364 (MAP_SYNC): Likewise.
15365 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
15366 (MAP_SYNC): Likewise.
15367 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
15369 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
15372 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
15373 (MAP_SHARED_VALIDATE): New macro.
15374 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15375 (MAP_SHARED_VALIDATE): Likewise.
15377 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15379 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
15380 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
15381 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15383 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15385 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
15386 (DT_NUM): Updated to 35.
15388 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15390 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
15391 __builtin_expect with __glibc_likely and __glibc_unlikely.
15392 (elf_machine_rela): Likewise.
15393 (elf_machine_lazy_rel): Likewise.
15395 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15397 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
15398 __builtin_expect with __glibc_likely and __glibc_unlikely.
15399 (elf_machine_lazy_rel): Likewise.
15401 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
15404 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
15406 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
15408 2018-02-05 Andreas Schwab <schwab@suse.de>
15411 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
15414 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15416 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
15417 not check against PTHREAD_STACK_MIN.
15419 2018-02-02 Sean McKean <smckean83@gmail.com>
15422 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
15424 2018-02-02 Florian Weimer <fweimer@redhat.com>
15427 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
15428 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15429 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15430 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
15431 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15432 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15433 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15434 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
15435 * manual/llio.texi (Scatter-Gather): Mention offset -1.
15436 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
15437 * misc/tst-preadvwritev2.c (do_test): Call it.
15438 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
15440 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
15442 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
15444 * benchtests/bench-memcmp.c: Print json instead of plain text.
15446 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
15449 2018-02-01 Joseph Myers <joseph@codesourcery.com>
15451 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15453 (s390_sthyi): New syscall.
15455 * sysdeps/generic/ldbl-classify-compat.h: New file.
15456 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
15457 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
15458 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
15459 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
15460 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
15461 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
15462 * sysdeps/ieee754/dbl-64/s_finite.c: Include
15463 <ldbl-classify-compat.h>.
15464 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15465 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
15466 <ldbl-classify-compat.h>.
15467 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15468 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
15469 <ldbl-classify-compat.h>.
15470 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15471 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
15472 <ldbl-classify-compat.h>.
15473 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15474 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
15475 <ldbl-classify-compat.h>.
15476 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15477 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
15478 <ldbl-classify-compat.h>.
15479 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
15480 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
15481 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15482 * sysdeps/m68k/coldfire/math_private.h: Remove file.
15483 * sysdeps/microblaze/math_private.h: Likewise.
15484 * sysdeps/nios2/math_private.h: Likewise.
15485 * sysdeps/sh/math_private.h: Likewise.
15487 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
15488 * sysdeps/m68k/coldfire/math_private.h: ... here.
15489 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
15490 * sysdeps/tile/math_private.h: Likewise.
15491 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
15493 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
15496 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
15498 (libc_fetestexcept): Likewise.
15499 (libc_feupdateenv_test): Likewise.
15500 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
15501 (libc_fetestexcept): Likewise.
15502 (libc_feupdateenv_test): Likewise.
15503 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
15504 (libc_fetestexcept): Likewise.
15505 (libc_feupdateenv_test): Likewise.
15506 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
15507 (libc_fetestexcept): Likewise.
15508 (libc_feupdateenv_test): Likewise.
15510 * sysdeps/generic/math_private.h
15511 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
15512 New inline function.
15513 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
15516 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
15517 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
15518 * sysdeps/generic/math_private.h
15519 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
15521 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
15523 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
15525 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
15527 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
15529 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
15531 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
15532 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
15533 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
15534 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
15535 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
15536 (__fegetenv): Likewise.
15537 (fesetenv): Likewise.
15538 (__fesetenv): Likewise.
15539 (feupdateenv): Likewise.
15540 (__feupdateenv): Likewise.
15541 (fegetround): Likewise.
15542 (__fegetround): Likewise.
15543 (fesetround): Likewise.
15544 (__fesetround): Likewise.
15546 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
15547 (feraiseexcept): New macro.
15548 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
15549 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
15551 (__feraiseexcept): Likewise.
15552 (feclearexcept): Likewise.
15553 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
15554 (__feraiseexcept): Likewise.
15555 (feclearexcept): Likewise.
15556 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
15557 (__feraiseexcept): Likewise.
15558 (feclearexcept): Likewise.
15559 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
15560 (__feraiseexcept): Likewise.
15561 (feclearexcept): Likewise.
15562 (fetestexcept): Likewise.
15564 * sysdeps/m68k/coldfire/math-tests.h: New file.
15566 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
15567 * sysdeps/m68k/bits/fenv.h: ... here.
15568 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
15570 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
15572 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
15574 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
15576 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
15578 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
15580 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
15581 (__FE_UNDEFINED): New enum constant.
15582 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
15584 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
15586 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
15588 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
15589 to match generic bits/fenv.h.
15590 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
15593 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
15595 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
15596 * soft-fp/half.h (union _FP_UNION_H): Likewise.
15597 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
15598 * soft-fp/single.h (union _FP_UNION_S): Likewise.
15600 2018-02-01 Carlos O'Donell <carlos@redhat.com>
15601 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
15602 Joseph Myers <joseph@codesourcery.com>
15605 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
15606 (__log1p): Disable -Wmaybe-uninitialized for -Os around
15607 computation using c.
15608 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
15609 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
15610 computation using c.
15612 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15614 * version.h (RELEASE): Set to "development".
15615 (VERSION): Set to "2.27.9000".
15616 * NEWS (2.28): New section.
15618 * version.h (RELEASE): Set to "stable".
15619 (VERSION): Set to "2.27".
15620 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
15622 * NEWS: Add the list of bugs fixed in 2.27.
15624 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15626 * stdlib/test-atexit-race-common.c (do_test): Check stack size
15627 against PTHREAD_STACK_MIN.
15629 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
15631 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
15633 (Rafal Luzynski, Andreas Schwab): Update.
15635 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
15638 * NEWS: List the languages which actually use the alternative
15639 months feature in this release. Also explain that "alt_mon" and
15640 "ab_alt_mon" are optional.
15642 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
15645 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
15647 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
15649 * manual/install.texi (Tools for Compilation): Update the newest
15650 versions of gcc, binutils, texinfo, gawk, bison, and sed.
15651 * INSTALL: Regenerated.
15653 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15655 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15656 instead of __builtin_expect.
15658 2018-01-30 Florian Weimer <fweimer@redhat.com>
15660 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
15662 * nss/tst-nss-getpwent.c (do_test): Likewise.
15664 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
15667 * localedata/locales/hr_HR (mon): Rename to...
15669 (mon): Import from CLDR (genitive case).
15670 (d_t_fmt): Update the comment.
15672 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
15674 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
15675 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
15676 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
15678 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15680 * mach/Versions: Fix version when __mach_host_self_ was added.
15681 * hurd/Versions: Fix version when _hurd_exec_paths was added.
15682 * sysdeps/mach/hurd/i386/ld.abilist: New file.
15683 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
15684 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
15685 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15686 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
15687 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
15688 * sysdeps/mach/hurd/i386/libm.abilist: New file.
15689 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
15690 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
15691 * sysdeps/mach/hurd/i386/librt.abilist: New file.
15692 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
15693 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
15694 || to respect codestyle.
15695 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
15696 (do_test_bz20181): Rename accordingly.
15697 * malloc/malloc.c: Include <assert.h>.
15698 (assert): Do not define.
15699 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
15700 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
15701 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
15702 * sysdeps/mach/hurd/hp-timing.h: New file.
15703 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
15705 2018-01-29 Darius Rad <darius@bluespec.com>
15707 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
15709 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
15711 * sysdeps/init_array/crti.S (.section .init_array): Add
15712 PREINIT_FUNCTION when defined.
15713 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
15714 * config.h.in: Regenerate.
15715 * manual/platform.texi: Add RISC-V documenation for
15716 __riscv_flush_icache.
15717 * sysdeps/riscv/__longjmp.S: New file.
15718 * sysdeps/riscv/backtrace.c: Likewise.
15719 * sysdeps/riscv/bits/endian.h: Likewise.
15720 * sysdeps/riscv/bits/setjmp.h: Likewise.
15721 * sysdeps/riscv/bits/wordsize.h: Likewise.
15722 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
15723 * sysdeps/riscv/bsd-setjmp.c: Likewise.
15724 * sysdeps/riscv/dl-trampoline.S: Likewise.
15725 * sysdeps/riscv/gccframe.h: Likewise.
15726 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
15727 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
15728 * sysdeps/riscv/machine-gmon.h: Likewise.
15729 * sysdeps/riscv/memusage.h: Likewise.
15730 * sysdeps/riscv/setjmp.S: Likewise.
15731 * sysdeps/riscv/sys/asm.h: Likewise.
15732 * sysdeps/riscv/tls-macros.h: Likewise.
15733 * sysdeps/riscv/dl-tls.h: New file.
15734 * sysdeps/riscv/libc-tls.c: Likewise.
15735 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
15736 * sysdeps/riscv/nptl/tls.h: Likewise.
15737 * sysdeps/riscv/stackinfo.h: Likewise.
15738 * sysdeps/riscv/bits/fenv.h: New file.
15739 * sysdeps/riscv/e_sqrtl.c: Likewise.
15740 * sysdeps/riscv/fpu_control.h: Likewise.
15741 * sysdeps/riscv/math-tests.h: Likewise.
15742 * sysdeps/riscv/nofpu/Implies: Likewise.
15743 * sysdeps/riscv/sfp-machine.h: Likewise.
15744 * sysdeps/riscv/tininess.h: Likewise.
15745 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
15746 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
15747 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
15748 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
15749 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
15750 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
15751 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
15752 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
15753 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
15754 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
15755 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
15756 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
15757 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
15758 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
15759 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
15760 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
15761 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
15762 * sysdeps/riscv/rvd/s_finite.c: Likewise.
15763 * sysdeps/riscv/rvd/s_fma.c: Likewise.
15764 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
15765 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
15766 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
15767 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
15768 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
15769 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
15770 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
15771 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
15772 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
15773 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
15774 * sysdeps/riscv/rvf/fegetround.c: Likewise.
15775 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
15776 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
15777 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
15778 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
15779 * sysdeps/riscv/rvf/fesetround.c: Likewise.
15780 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
15781 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
15782 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
15783 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
15784 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
15785 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
15786 * sysdeps/riscv/rvf/math_private.h: Likewise.
15787 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
15788 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
15789 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
15790 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
15791 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
15792 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
15793 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
15794 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
15795 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
15796 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
15797 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
15798 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
15799 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
15800 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
15801 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
15802 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
15803 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
15804 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
15805 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
15806 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
15807 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
15808 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
15809 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
15810 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
15811 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
15812 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
15813 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
15814 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
15815 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
15816 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
15817 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
15818 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
15819 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
15820 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
15821 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
15822 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
15823 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
15824 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
15825 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
15826 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
15827 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
15828 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
15829 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
15830 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
15831 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
15832 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
15833 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
15834 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
15835 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
15836 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
15837 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
15838 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
15839 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
15840 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
15841 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
15842 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
15843 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
15844 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
15845 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
15846 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
15847 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15848 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15849 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15850 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15851 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15852 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15853 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15854 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15855 * sysdeps/riscv/Implies: New file.
15856 * sysdeps/riscv/Makefile: Likewise.
15857 * sysdeps/riscv/configure: Likewise.
15858 * sysdeps/riscv/configure.ac: Likewise.
15859 * sysdeps/riscv/nptl/Makefile: Likewise.
15860 * sysdeps/riscv/preconfigure: Likewise.
15861 * sysdeps/riscv/rv64/Implies-after: Likewise.
15862 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
15863 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
15864 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
15865 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
15866 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
15867 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
15868 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
15869 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
15870 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
15871 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
15872 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
15873 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
15874 (Config): Likewise.
15876 2018-01-29 Florian Weimer <fweimer@redhat.com>
15879 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
15880 libnsl_hidden_proto.
15881 * include/rpcsvc/yp.h (yp_xdrall): Declare with
15882 libnsl_hidden_proto.
15883 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
15884 * nis/Makefile (libnsl-routines): Add nss-default only for
15885 build-obsolete-nsl.
15886 * nis/nis_defaults.c (__nis_default_ttl): Add
15887 libnsl_hidden_nolink_def.
15888 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
15890 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
15891 * nis/ypclnt.c (yp_maplist): Likewise.
15893 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
15895 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15896 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
15898 2018-01-29 Joseph Myers <joseph@codesourcery.com>
15900 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
15901 clean -dxfq for git updates when replacing sources.
15903 * scripts/build-many-glibcs.py (Config.build_gcc): Use
15904 --disable-libcilkrts unconditionally, not just for the final GCC
15907 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15910 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15913 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
15916 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15919 * localedata/locales/be_BY (mon): Rename to...
15920 (alt_mon): This, then synchronize with CLDR (nominative case).
15921 (abmon): Rename to...
15922 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
15923 (mon): Import from CLDR (genitive case).
15925 * localedata/locales/be_BY@latin (mon): Rename to...
15927 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
15929 * localedata/locales/be_BY@latin (lang_name): Reworded to
15930 "biełaruskaja mova".
15932 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15935 * localedata/locales/el_CY (mon): Renamed to...
15937 (mon): Import from CLDR (genitive case).
15938 * localedata/locales/el_GR: Likewise.
15940 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
15943 * localedata/locales/ru_RU (mon): Rename to...
15945 (abmon): Rename to...
15946 (ab_alt_mon): This.
15947 (mon): Import from CLDR (genitive case).
15948 (abmon): Copy from the old content except the 5th month which is
15949 now in the genitive case, even when abbreviated.
15950 * localedata/locales/ru_UA: Likewise.
15951 * time/tst-strptime.c (day_tests): Add an actual example of
15952 a difference between %b and %Ob in Russian.
15954 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15956 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
15957 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
15959 * resolv/res-close.c: Include <stdlib.h>.
15960 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
15961 <sys/wait.h>, <time.h>, <sys/uio.h>.
15962 (NOT_CANCEL_H): Add inclusion guard.
15963 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
15964 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
15965 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
15967 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
15968 vm_address_t * to ElfW(Addr) * for dl_main parameter.
15969 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
15971 * sysdeps/pthread/timer_create.c (timer_create): Do not use
15972 timer_ptr2id to cast struct timer_node * to void *.
15973 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
15974 --disable-libcilkrts to gcc configure.
15975 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
15976 and make them the default for now.
15977 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
15978 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
15979 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
15980 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
15981 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
15983 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
15984 __task_terminate would ever return successfully.
15985 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
15987 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
15988 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
15989 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
15990 critical section to make code simpler and avoid warning.
15991 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
15992 critical section to make code simpler and avoid warning.
15993 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
15994 const char * instead of char *.
15995 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
15996 __hurd_file_name_split, hurd_file_name_split,
15997 __hurd_directory_name_split, hurd_directory_name_split,
15998 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
15999 hurd_file_name_path_lookup): Make lookup function parameter take a
16000 const char *name instead of char *name.
16001 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
16002 __hurd_directory_name_split): Likewise.
16003 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
16004 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
16005 * sysdeps/mach/hurd/check_native.c: New file.
16006 * sysdeps/mach/hurd/check_pf.c: New file.
16007 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
16008 (__freeifaddrs): Define macro to freeifaddrs.
16009 * sysdeps/mach/hurd/libhurduser.abilist: New file.
16010 * sysdeps/mach/libmachuser.abilist: New file.
16011 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
16012 (do_test_bz20181): Rename accordingly.
16013 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
16014 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
16016 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
16017 version only if __USE_EXTERN_INLINES is defined.
16018 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
16019 __hurd_sockfail): Likewise.
16020 (_hurd_fd_get): Always declare functions, and provide inline versions
16021 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
16022 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
16023 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
16024 _hurd_port_set): Always declare functions, and provide inline versions
16025 only if __USE_EXTERN_INLINES and _LIBC are defined and
16027 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
16028 _hurd_critical_section_unlock): Likewise.
16029 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
16030 * __hurd_threadvar_location): Likewise.
16031 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
16032 _hurd_userlink_clear): Likewise.
16033 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
16034 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
16035 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
16036 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
16037 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
16038 __spin_lock_locked): Likewise.
16039 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
16040 __spin_lock_locked): Likewise.
16041 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
16042 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
16043 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
16044 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
16045 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
16046 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
16047 _POSIX_NO_TRUNC): Define to 0.
16048 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
16049 check size against PTHREAD_STACK_MIN.
16050 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
16051 IS_IN(libpthread)]: Include <sigsetops.h>.
16052 * mach/Makefile (user-interfaces): Add mach/gnumach.
16053 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
16054 * sysdeps/mach/configure (mach_interface_list): Regenerate.
16055 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
16056 instead of invalid -1.
16057 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
16058 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
16059 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
16062 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
16064 * hurd/fcntl-internal.h: New file.
16066 2018-01-27 James Clarke <jrtc27@jrtc27.com>
16068 * sysdeps/hppa/fpu/libm-test-ulps: Update.
16070 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16072 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
16075 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
16076 Build only shared objects.
16078 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16080 * README: Update for hppa.
16082 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16084 * sysdeps/sparc/fpu/libm-test-ulps: Update
16085 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
16087 2018-01-26 Carlos O'Donell <carlos@redhat.com>
16091 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16094 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16095 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
16096 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
16097 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
16100 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
16103 * bits/types/__cancel_jmp_buf_tag.h: New file.
16104 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
16105 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
16106 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
16107 * nptl/Makefile (headers): Add
16108 bits/types/__cancel_jmp_buf_tag.h.
16109 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
16110 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
16111 * sysdeps/nptl/pthread.h: Include
16112 <bits/types/__cancel_jmp_buf_tag.h>.
16113 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
16115 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
16117 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
16120 * localedata/locales/uk_UA (mon): Renamed to...
16122 (alt_digits): "0" removed and then renamed to...
16124 (date_fmt): Definition changed not to use the alternative
16127 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
16129 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
16130 FLAG_RISCV_FLOAT_ABI_DOUBLE.
16131 * elf/elf.h (EF_RISCV_RVC): New define.
16132 (EF_RISCV_FLOAT_ABI): Likewise.
16133 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
16134 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
16135 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16136 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
16137 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
16139 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
16141 2018-01-25 Andreas Schwab <schwab@suse.de>
16143 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
16145 * sysdeps/gnu/configure: Regenerate.
16146 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
16147 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16149 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
16150 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
16151 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
16152 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
16153 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
16155 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16157 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
16158 URL, and run autoconf, make it the default for now.
16160 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16162 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16163 soft-float ColdFire configuration.
16165 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
16166 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
16167 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
16169 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
16172 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
16174 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
16176 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
16179 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
16180 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
16181 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
16184 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
16187 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
16188 Rename to __reserved and add comment.
16189 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
16190 Rename to __reserved.
16192 2018-01-24 Joseph Myers <joseph@codesourcery.com>
16194 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
16195 i686-gnu configurations.
16196 (Context.run_builds): Include mig, gnumach and hurd in components
16198 (Context.checkout): Add mig, gnumach and hurd to components.
16199 (Context.checkout_tar): Add URL mappings for mig, gnumach and
16201 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
16202 (Config.build): Install gnumach headers, build mig and install
16203 hurd headers for 'gnu' OS.
16204 (Config.install_gnumach_headers): New function.
16205 (Config.install_hurd_headers): Likewise.
16206 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
16207 when building for 'gnu' OS.
16209 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
16211 * manual/tunables.texi (Hardware Capability Tunables): Fix
16214 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
16216 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
16217 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
16218 (ALTMON_11, ALTMON_12): Improve documentation.
16219 * manual/time.texi (strftime): Likewise.
16221 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16224 * localedata/locales/pl_PL: Alternative month names added,
16225 primary month names are genitive now.
16226 * time/tst-strptime.c (day_tests): Actually use a genitive case
16227 of a month name in Polish language.
16229 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16232 * manual/locale.texi: Document ALTMON_1..12 constants for
16233 nl_langinfo. Specify when to use ALTMON instead of MON.
16234 * manual/time.texi (strftime, strptime): Document GNU extension
16235 permitting O modifier with %B and %b. Specify when to use
16238 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16241 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
16242 names, define them as the same as abbreviated month names explicitly.
16243 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
16244 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
16245 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
16246 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
16247 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
16248 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
16249 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
16250 _NL_WABALTMON_12): New enum constants.
16251 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
16252 wab_alt_mon, and ab_alt_mon_defined members.
16253 (time_output): Output ab_alt_mon and wab_alt_mon members.
16254 (time_read): Read them, initialize them as copies of abmon and wabmon
16255 respectively if they are missing, initialize ab_alt_mon_defined.
16256 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
16257 * locale/programs/locfile-kw.h: Regenerate.
16258 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
16259 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
16261 * time/strftime_l.c (a_altmonth, aam_len): New macros.
16262 [!COMPILE_WIDE] (ABALTMON_1): New macro.
16263 (__strftime_internal): Handle %Ob and %Oh formats.
16264 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
16265 (__strptime_internal): Handle %Ob and %Oh formats.
16266 * time/tst-strptime.c (day_tests): Add more tests to parse different
16267 forms of month names including the new %Ob format specifier.
16269 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
16272 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
16273 define them as the same as primary full month names explicitly.
16274 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
16275 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
16276 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
16277 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
16278 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
16279 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
16280 _NL_WALTMON_12): New enum constants.
16281 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
16282 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
16284 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
16285 walt_mon, and alt_mon_defined members.
16286 (time_output): Output alt_mon and walt_mon members.
16287 (time_read): Read them, initialize them as copies of mon and wmon
16288 respectively if they are missing, initialize alt_mon_defined.
16289 * locale/programs/locfile-kw.gperf (alt_mon): Define.
16290 * locale/programs/locfile-kw.h: Regenerate.
16291 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
16292 * localedata/tst-langinfo.c (map): Add tests for the new constants
16293 ALTMON_1 .. ALTMON_12.
16294 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
16296 * time/strftime_l.c (f_altmonth): New macro.
16297 (__strftime_internal): Handle %OB format.
16298 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
16299 (__strptime_internal): Handle %OB format.
16300 * time/tst-strptime.c (day_tests): Add tests to parse different forms
16301 of month names including the new %OB format specifier.
16303 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16306 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
16307 from ABORT_TRANSACTION.
16308 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
16309 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
16310 ABORT_TRANSACTION_IMPL): Likewise.
16311 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
16312 Linux code, but remove the code that aborts transactions.
16314 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
16316 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
16318 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
16320 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
16321 in date: "2004-14-09" should be "2004-09-14".
16322 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
16323 "2003-15-09" should be "2003-09-15".
16325 2018-01-18 Arjun Shankar <arjun@redhat.com>
16331 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
16333 (_int_memalign): check for integer overflow before calling
16335 * malloc/tst-malloc-too-large.c: New test.
16336 * malloc/Makefile: Add tst-malloc-too-large.
16338 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
16340 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
16341 in date: "2017-24-07" should be "2017-07-24".
16342 * localedata/locales/mai_IN: Likewise.
16343 * localedata/locales/mai_NP: Likewise.
16345 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
16347 * po/ru.po: Update translations.
16349 2018-01-17 Joseph Myers <joseph@codesourcery.com>
16352 * sysdeps/hppa/backtrace.c: New file.
16354 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
16357 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
16358 align La_x86_64_retval to VEC_SIZE.
16360 2018-01-16 Joseph Myers <joseph@codesourcery.com>
16362 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
16363 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
16365 2018-01-16 Florian Weimer <fweimer@redhat.com>
16367 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
16368 Move tst-thread-exit-clobber ...
16369 [$(CXX)] (tests-unsupported): ... to here.
16371 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16373 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
16374 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
16375 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16376 (_dl_aarch64_cap_flags): Update.
16377 (_DL_HWCAP_COUNT): Update.
16379 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
16381 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
16382 (_DL_HWCAP_LAST): Remove.
16383 (_DL_HWCAP_COUNT): Move to ...
16384 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
16385 (_DL_HWCAP_COUNT): ... here.
16387 2018-01-16 Florian Weimer <fweimer@redhat.com>
16389 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
16390 mode with GNU extensions.
16392 2018-01-15 Alan Hayward <alan.hayward@arm.com>
16394 * elf/elf.h (NT_ARM_SVE): Define.
16396 2018-01-15 Florian Weimer <fweimer@redhat.com>
16399 * nptl/tst-minstack-throw.cc: New file.
16400 * nptl/Makefile (tests): Add tst-minstack-throw.
16401 (LDLIBS-tst-minstack-throw): Link with libstdc++.
16402 [!CXX] (tests-unsupported): Add tst-minstack-throw.
16404 2018-01-15 Joseph Myers <joseph@codesourcery.com>
16406 * scripts/build-many-glibcs.py (Context.checkout): Default
16407 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
16410 2018-01-13 Carlos O'Donell <carlos@redhat.com>
16413 * elf/elf.h (DF_1_STUB): Define.
16414 (DF_1_PIE): Define.
16416 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16419 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
16420 Do not add 0.5 to integer or out-of-range arguments.
16422 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16424 * po/bg.po: Update translations.
16425 * po/cs.po: Likewise.
16426 * po/de.po: Likewise.
16427 * po/ko.po: Likewise.
16428 * po/pl.po: Likewise.
16429 * po/sv.po: Likewise.
16430 * po/uk.po: Likewise.
16431 * po/vi.po: Likewise.
16433 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16435 * aarch64/start.S (_start): Use __wrap_main.
16436 (__wrap_main): New local symbol.
16438 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
16442 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
16443 generic_getcwd if the path returned by getcwd syscall is not absolute.
16444 * io/tst-getcwd-abspath.c: New test.
16445 * io/Makefile (tests): Add tst-getcwd-abspath.
16447 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
16449 * malloc/malloc.c (malloc_consolidate): Add size check.
16451 2018-01-12 Florian Weimer <fweimer@redhat.com>
16453 * support/write_message.c (write_message): Preserve errno.
16454 * support/check.c (print_failure): Likewise.
16455 * support/support_test_verify_impl.c (support_test_verify_impl):
16457 * support/support_test_compare_failure.c
16458 (support_test_compare_failure): Likewise.
16460 2018-01-12 Florian Weimer <fweimer@redhat.com>
16463 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
16464 Prevent installation of libnsl.so.
16465 (libnsl-inhibit-o): Do not build (or install) static libraries.
16467 2018-01-12 Egmont Koblinger <egmont@gmail.com>
16470 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
16471 before the day number which may produce a double space.
16472 (date_fmt): Likewise.
16474 2018-01-12 Joseph Myers <joseph@codesourcery.com>
16476 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
16477 instead of fegetenv.
16479 2018-01-11 Joseph Myers <joseph@codesourcery.com>
16482 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
16483 comment to say exceptions are discarded.
16484 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
16486 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
16489 2018-01-11 Florian Weimer <fweimer@redhat.com>
16491 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
16494 2018-01-11 Florian Weimer <fweimer@redhat.com>
16497 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
16498 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
16500 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16503 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
16504 negative arguments in test for NaN or infinity argument.
16506 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
16508 * po/libc.pot: Regenerate.
16510 2018-01-10 Florian Weimer <fweimer@redhat.com>
16513 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
16514 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
16516 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
16518 * hurd/hurd/fd.h: Include <fcntl.h>
16519 (__hurd_at_flags): New function.
16520 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
16521 with call to __hurd_at_flags.
16522 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
16523 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
16525 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
16526 (__access_noerrno): Use __faccessat_common instead of access_common.
16527 (__access): Likewise.
16528 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
16529 with a call to __faccessat.
16530 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
16531 (__faccessat_common): ... this. Move implementation of __access into it when
16532 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
16533 reauthenticate_cwdir_at helper to implement AT mechanism.
16534 (__faccessat_noerrno): New function, just calls __faccessat_common.
16535 (__faccessat): New function, just calls __faccessat_common.
16536 (faccessat): Define weak alias.
16538 2018-01-10 Joseph Myers <joseph@codesourcery.com>
16541 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16542 (CFLAGS-s_fmaxmagl.c): New variable.
16543 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
16546 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
16547 long int for arguments of possibly overflowing addition or
16549 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16551 2018-01-09 Joseph Myers <joseph@codesourcery.com>
16554 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16555 (CFLAGS-e_remainderl.c): New variable.
16558 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
16560 (CFLAGS-s_cacoshl.c): Likewise.
16561 (CFLAGS-s_casinhl.c): Likewise.
16562 (CFLAGS-s_catanl.c): Likewise.
16563 (CFLAGS-s_catanhl.c): Likewise.
16564 (CFLAGS-s_cexpl.c): Likewise.
16565 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
16566 (CFLAGS-s_csinhl.c): Likewise.
16567 (CFLAGS-s_clogl.c): Likewise.
16568 (CFLAGS-s_clog10l.c): Likewise.
16569 (CFLAGS-s_csinl.c): Likewise.
16570 (CFLAGS-s_csqrtl.c): Likewise.
16572 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
16573 2017-01-09 Svante Signell <svante.signell@gmail.com>
16575 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
16576 (_hurd_exec_paths): New function.
16577 * hurd/hurd.h (_hurd_exec): Deprecate function.
16578 (_hurd_exec_paths): Declare function.
16579 * hurd/Versions: Export _hurd_exec_paths.
16580 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
16581 (__execve): Use __getcwd to build absolute path, and use
16582 _hurd_exec_paths instead of _hurd_exec.
16583 * sysdeps/mach/hurd/spawni.c: Likewise.
16584 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
16587 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
16589 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
16590 test instead of failing in case of ENOENT returned by posix_openpt.
16592 2018-01-08 Florian Weimer <fweimer@redhat.com>
16594 resolv: Support binary labels in test framework.
16595 * support/resolv_test.c (struct to_be_freed): Remove.
16596 (struct compressed_name): New.
16597 (allocate_compressed_name, ascii_tolower)
16598 (compare_compressed_name): New functions.
16599 (struct resolv_response_builder): Update type of
16600 compression_offsets for use with tsearch. Rempve to_be_freed.
16601 (response_push_pointer_to_free): Remove function.
16602 (resolv_response_add_name): Rewrite using struct compressed_name
16603 and tsearch instead of hsearch_r.
16604 (response_builder_allocate): Remove initialization of
16605 compression_offsets.
16606 (response_builder_free): Update for removal of to_be_freed. Use
16607 tdestroy instead of hdestroy_r.
16608 * resolv/Makefile (tests): Add tst-resolv-binary.
16609 (tst-resolv-binary): Link with -lresolv -lpthread.
16611 2018-01-08 Florian Weimer <fweimer@redhat.com>
16613 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
16614 time. Pass positive flag instead of negative flag to
16615 support_test_compare_failure.
16616 (support_test_compare_failure): Change negative parameter to
16618 * support/support_test_compare_failure.c (report)
16619 (support_test_compare_failure): Likewise.
16620 * support/tst-test_compare.c (return_ssize_t, return_int): New.
16621 (do_test): Check int/size_t, ssize_t/size_t comparisons.
16623 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
16626 * nptl/descr.h (stackblock, stackblock_size): Update comments.
16627 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
16628 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
16630 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16632 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
16634 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16635 Add s_sincosf-sse2 and s_sincosf-fma.
16636 (CFLAGS-s_sincosf-fma.c): New.
16637 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
16638 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
16639 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
16640 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
16641 __sincosf is defined.
16643 2018-01-08 Florian Weimer <fweimer@redhat.com>
16645 * nptl/tst-thread-exit-clobber.cc: New file.
16646 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
16648 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
16649 (tests): Add tst-thread-exit-clobber.
16650 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
16652 2018-01-08 Florian Weimer <fweimer@redhat.com>
16654 * support/check.h (support_static_assert): Define.
16655 (TEST_COMPARE): Use it.
16657 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
16659 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
16660 [!__RLIM_T_MATCHES_RLIM64_T]
16661 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
16662 __getrlimit64. Add libc_hidden_weak.
16664 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
16666 * elf/elf.h (R_RISCV_NONE): New define.
16667 (R_RISCV_32): Likewise.
16668 (R_RISCV_64): Likewise.
16669 (R_RISCV_RELATIVE): Likewise.
16670 (R_RISCV_COPY): Likewise.
16671 (R_RISCV_JUMP_SLOT): Likewise.
16672 (R_RISCV_TLS_DTPMOD32): Likewise.
16673 (R_RISCV_TLS_DTPMOD64): Likewise.
16674 (R_RISCV_TLS_DTPREL32): Likewise.
16675 (R_RISCV_TLS_DTPREL64): Likewise.
16676 (R_RISCV_TLS_TPREL32): Likewise.
16677 (R_RISCV_TLS_TPREL64): Likewise.
16678 * Makerules (make-link-multidir): Make directories before linking into
16680 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
16682 (VDSO_HASH_LINUX_4_15): Likewise.
16683 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
16684 in subdirectories of lib.
16685 * nptl/Makefile (/librt.so): Always depend on
16686 "$(shared-thread-library)".
16688 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16690 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
16691 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
16692 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
16694 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
16695 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
16697 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
16698 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
16699 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
16700 * sysdeps/gnu/glob-lstat-compat.c: New file.
16701 * sysdeps/gnu/glob64-lstat-compat.c: New file.
16702 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
16704 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16706 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
16707 Reserve 16 chars to reloc_addr before calling _itoa_word.
16709 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16712 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
16713 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
16715 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
16716 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
16718 * resource/tst-getrlimit.c: Add copyright header.
16720 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16721 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16723 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16724 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
16725 Define __GI_getrlimit64 as weak alias of __getrlimit64.
16726 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
16728 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
16729 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
16730 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
16731 RLIM64_INFINITY): Fix values to match the kernel ones.
16732 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
16733 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
16734 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
16735 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
16736 getrlimit64@@GLIBC_2_27.
16737 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
16739 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
16740 getrlimit, setrlimit, getrlimit64 and setrlimit64.
16741 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
16742 setrlimit, getrlimit64 and setrlimit64.
16744 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
16747 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
16748 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
16750 2018-01-04 Joseph Myers <joseph@codesourcery.com>
16752 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
16753 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
16754 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
16756 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16760 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
16761 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
16765 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
16766 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
16767 * sysdeps/alpha/fpu/s_floor.c: Likewise.
16768 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
16770 2018-01-04 Florian Weimer <fweimer@redhat.com>
16773 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16774 Align the stack before calling exit.
16775 * stdlib/tst-makecontext-align.c: New file.
16776 * stdlib/Makefile (tests): Add tst-makecontext-align.
16778 2018-01-04 Florian Weimer <fweimer@redhat.com>
16780 Add support for calling dlvsym from libc.so.
16781 * include/dlfcn.h (__libc_dlvsym): Declare.
16782 * elf/Makefile (tests-static-internal): Add
16783 tst-libc_dlvsym-static.
16784 (tests-internal): Add tst-libc_dlvsym.
16785 (modules-names): Add tst-libc_dlvsym-dso.
16786 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
16787 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
16788 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
16789 object tst-libc_dlvsym-dso.so needs to be built before running
16791 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
16792 * elf/Versions: Export __libc_dlvsym.
16793 * elf/dl-libc.c (struct do_dlvsym_args): New.
16794 (do_dlvsym, __libc_dlvsym): New functions.
16795 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
16796 (_dl_open_hook2): New variable.
16797 (__libc_register_dl_open_hook): Set it.
16798 * elf/tst-libc_dlvsym-dso.c: New file.
16799 * elf/tst-libc_dlvsym-static.c: Likewise.
16800 * elf/tst-libc_dlvsym.c: Likewise.
16801 * elf/tst-libc_dlvsym.h: Likewise.
16803 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16805 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
16806 include <sys/mount.h>.
16808 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
16810 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
16811 Add __NO_MATH_ERRNO__ check.
16813 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16815 * sysdeps/mips/mips32/libm-test-ulps: Update.
16816 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16818 2018-01-02 Florian Weimer <fweimer@redhat.com>
16820 * misc/tst-pselect.c: Add copyright header.
16822 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16824 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
16826 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
16828 (settrlimit): Rename into setrlimit.
16829 (__sttrlimit): Rename into __setrlimit.
16831 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
16832 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
16833 never defined in that case.
16835 2018-01-02 Joseph Myers <joseph@codesourcery.com>
16837 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
16839 * sysdeps/arm/libm-test-ulps: Update.
16841 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
16842 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
16844 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16846 * NEWS: Add cosf and sincosf to list of optimized functions.
16848 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
16851 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
16852 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
16853 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
16854 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
16856 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
16859 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
16861 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
16862 making a copy of it.
16864 2018-01-01 Joseph Myers <joseph@codesourcery.com>
16866 * manual/texinfo.tex: Update to version 2017-12-26.21 with
16867 trailing whitespace removed.
16868 * scripts/config.guess: Update to version 2018-01-01.
16869 * scripts/config.sub: Update to version 2018-01-01.
16870 * scripts/move-if-change: Update from gnulib.
16872 * NEWS: Update copyright dates.
16873 * catgets/gencat.c (print_version): Likewise.
16874 * csu/version.c (banner): Likewise.
16875 * debug/catchsegv.sh: Likewise.
16876 * debug/pcprofiledump.c (print_version): Likewise.
16877 * debug/xtrace.sh (do_version): Likewise.
16878 * elf/ldconfig.c (print_version): Likewise.
16879 * elf/ldd.bash.in: Likewise.
16880 * elf/pldd.c (print_version): Likewise.
16881 * elf/sotruss.sh: Likewise.
16882 * elf/sprof.c (print_version): Likewise.
16883 * iconv/iconv_prog.c (print_version): Likewise.
16884 * iconv/iconvconfig.c (print_version): Likewise.
16885 * locale/programs/locale.c (print_version): Likewise.
16886 * locale/programs/localedef.c (print_version): Likewise.
16887 * login/programs/pt_chown.c (print_version): Likewise.
16888 * malloc/memusage.sh (do_version): Likewise.
16889 * malloc/memusagestat.c (print_version): Likewise.
16890 * malloc/mtrace.pl: Likewise.
16891 * manual/libc.texinfo: Likewise.
16892 * nptl/version.c (banner): Likewise.
16893 * nscd/nscd.c (print_version): Likewise.
16894 * nss/getent.c (print_version): Likewise.
16895 * nss/makedb.c (print_version): Likewise.
16896 * posix/getconf.c (main): Likewise.
16897 * scripts/test-installation.pl: Likewise.
16898 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16900 * All files with FSF copyright notices: Update copyright dates
16901 using scripts/update-copyrights.
16902 * locale/programs/charmap-kw.h: Regenerated.
16903 * locale/programs/locfile-kw.h: Likewise.
16905 2017-12-31 Zack Weinberg <zackw@panix.com>
16907 * libio/bits/libio-ldbl.h: Correct check for improper
16908 inclusion. Add own multiple include guard.
16910 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
16911 Dmitry V. Levin <ldv@altlinux.org>
16915 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
16916 string token expansion. Check for NULL pointer or empty string possibly
16917 returned by expand_dynamic_string_token.
16918 (decompose_rpath): Check for empty path after dynamic string
16921 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
16924 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
16926 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
16927 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
16928 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
16929 and PTRACE_SYSCALL.
16930 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
16931 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16932 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16933 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16935 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16937 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
16938 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16939 __ptrace_peeksiginfo_flags, ptrace): Move to ...
16940 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
16941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16942 bits/ptrace-shared.h.
16943 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
16944 <bits/ptrace-shared.h>.
16945 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
16946 __ptrace_peeksiginfo_flags, ptrace): Remove.
16947 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16948 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16949 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16950 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16951 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
16953 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16956 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
16957 end of the loop. Improve comments.
16959 2017-12-29 Zack Weinberg <zackw@panix.com>
16962 * manual/errno.texi (Checking for Errors): Explicitly say that errno
16963 might be set on success.
16965 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
16968 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
16969 is unchanged on success.
16971 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
16973 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
16975 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
16976 expand_dynamic_string_token): Likewise.
16977 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
16980 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
16983 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
16984 is set and name contains ':', and all code depending on these checks.
16986 2017-12-24 Zack Weinberg <zackw@panix.com>
16988 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
16989 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
16991 * libio/libio.h: Rename the original version of this file to
16992 libio/bits/libio.h. Error out if not included by stdio.h or the
16994 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
16995 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
16996 if not included by bits/libio.h or the stub _G_config.h.
16997 * sysdeps/unix/sysv/linux/_G_config.h: Move to
16998 sysdeps/unix/sysv/linux/bits. Error out if not included by
16999 bits/libio.h or the stub _G_config.h.
17000 * libio/stdio.h: Include bits/libio.h, not libio.h.
17001 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
17002 well as libio.h and _G_config.h.
17004 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
17005 * libio/strfile.h, stdio-common/vfscanf.c
17006 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
17007 Include stdio.h, not _G_config.h nor libio.h.
17008 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
17009 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
17011 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
17013 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
17016 * stdlib/getrandom.c (getrandom): Fix comment.
17017 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
17019 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
17022 * manual/arith.texi (strtoul): Fix a typo.
17025 * manual/arith.texi (finite): Fix the description of the return
17028 2017-12-22 Eric Blake <ebb9@byu.net>
17030 Avoid gcc warnings on cygwin
17031 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
17032 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
17033 Avoid unused variable.
17035 2017-12-22 Florian Weimer <fweimer@redhat.com>
17037 * io/Makefile (routines): Add copy_file_range.
17038 (tests): Add tst-copy_file_range.
17039 (tests-static, tests-internal): Add tst-copy_file_range-compat.
17040 * io/Versions (GLIBC_2.27): Export copy_file_range.
17041 * io/copy_file_range-compat.c: New file.
17042 * io/copy_file_range.c: Likewise.
17043 * io/tst-copy_file_range-compat.c: Likewise.
17044 * io/tst-copy_file_range.c: Likewise.
17045 * manual/llio.texi (Copying File Data): New section.
17046 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
17047 * support/Makefile (libsupport-routines): Add support-xfstat,
17048 xftruncate, xlseek.
17049 * support/support-xfstat.c: New file.
17050 * support/xftruncate.c: Likewise.
17051 * support/xlseek.c: Likewise.
17052 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
17053 * sysdeps/unix/sysv/linux/**.abilist: Update.
17054 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
17056 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
17058 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17059 disable-multi-arch variant to aarch64-linux-gnu.
17061 2017-12-20 Joseph Myers <joseph@codesourcery.com>
17063 * manual/texinfo.tex: Update to version 2017-12-18.20 with
17064 trailing whitespace removed.
17065 * scripts/config.guess: Update to version 2017-12-17.
17066 * scripts/config.sub: Update to version 2017-11-23.
17067 * scripts/install-sh: Update to version 2017-09-23.17.
17068 * scripts/move-if-change: Update to version 2017-09-13 06:45.
17070 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17072 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
17073 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17074 * sysdeps/tile/_mcount.S (__mcount): Likewise.
17075 * sysdeps/tile/crti.S (_init, _fini): Likewise.
17076 * sysdeps/tile/crtn.S: Likewise.
17077 * sysdeps/tile/dl-start.S (_start): Likewise.
17078 * sysdeps/tile/dl-trampoline.S: Likewise.
17079 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
17080 * sysdeps/tile/start.S (_start): Likewise.
17081 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
17082 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
17083 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
17084 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
17085 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
17086 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
17087 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
17089 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
17091 * sysdeps/tile/preconfigure: Remove tilegx folder.
17092 * sysdeps/tile/tilegx/Implies: Move definitions to ...
17093 * sysdeps/tile/Implies: ... here.
17094 * sysdeps/tile/tilegx/Makefile: Move rules to ...
17095 * sysdeps/tile/Makefile: ... here.
17096 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
17097 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
17098 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
17099 * sysdeps/tile/bits/wordsize.h: ... here.
17100 * sysdeps/tile/tilegx/*: Move to ...
17101 * sysdeps/tile/*: ... here.
17102 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
17103 * sysdeps/tile/tilegx32/Implies: ... here.
17104 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
17105 * sysdeps/tile/tilegx64/Implies: ... here.
17106 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
17108 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
17109 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
17110 * sysdeps/unix/sysv/linux/tile/*: ... here.
17111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
17112 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
17113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
17114 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
17116 * README: Remove tilepro-*-linux-gnu from supported architecture.
17117 * scripts/build-many-glibcs.py: Likewise.
17118 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
17119 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
17120 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
17121 elf_machine_matches_host, elf_machine_dynamic,
17122 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
17123 howto, elf_machine_rela): Likewise.
17124 * sysdeps/tile/dl-start.S (_start): Likewise.
17125 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
17126 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
17127 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
17128 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
17129 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
17130 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17132 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
17133 * sysdeps/tile/preconfigure: Likewise.
17134 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
17135 POINTER_CHK_GUARD): Likewise.
17136 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
17137 * sysdeps/tile/start.S (_start): Likewise.
17138 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
17140 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
17141 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
17143 * sysdeps/unix/sysv/linux/tile/bits/environments.h
17144 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
17145 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
17147 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
17148 * sysdeps/tile/tilepro/Implies: Remove file.
17149 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
17150 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
17151 * sysdeps/tile/tilepro/memchr.c: Likewise.
17152 * sysdeps/tile/tilepro/memcpy.S: Likewise.
17153 * sysdeps/tile/tilepro/memset.c: Likewise.
17154 * sysdeps/tile/tilepro/memusage.h: Likewise.
17155 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
17156 * sysdeps/tile/tilepro/strchr.c: Likewise.
17157 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
17158 * sysdeps/tile/tilepro/strlen.c: Likewise.
17159 * sysdeps/tile/tilepro/strrchr.c: Likewise.
17160 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
17161 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
17162 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
17163 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
17164 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
17165 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17167 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
17168 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17169 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
17170 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
17171 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17172 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
17173 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
17174 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
17175 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
17176 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
17177 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
17178 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
17179 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
17180 tilepro mention in comment.
17182 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
17183 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
17184 * nptl/pthread_join_common.c: New file: common function used on
17185 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
17186 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
17187 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
17188 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
17189 (cleanup): Move definition to pthread_join_common.c.
17190 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
17191 Remove superflous checks.
17192 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
17195 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
17197 * sysdeps/aarch64/libm-test-ulps: Update.
17199 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17201 * sysdeps/aarch64/memset.S (MEMSET): Define.
17203 2017-12-20 Florian Weimer <fweimer@redhat.com>
17206 nptl: Provide full implementation of pthread_self in libc.so.
17207 * nptl/Makefile (routines): Add pthread_self.
17208 (libpthread-routines): Replace pthread_self with
17209 compat-pthread_self.
17210 * nptl/forward.c (pthread_self): Remove.
17211 * nptl/nptl-init.c (pthread_functions): Do not initialize
17213 * nptl/pthread_self.c (pthread_self): Remove weak alias.
17214 * nptl/compat-pthread_self.c: New file.
17215 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
17216 Remove ptr_pthread_self.
17218 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
17220 * posix/regcomp.c: Fix spelling in comments.
17221 * posix/regex.h: Likewise.
17222 * posix/regex_internal.c: Likewise.
17223 * posix/regexec.c: Likewise.
17225 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17228 * math/Makefile [C++] (tests): Add test for iseqsig.
17229 * math/math.h [C++] (iseqsig): New implementation, which does
17230 not rely on __MATH_TG/__builtin_types_compatible_p.
17231 * math/test-math-iseqsig.cc: New file.
17232 * sysdeps/powerpc/powerpc64le/Makefile
17233 (CFLAGS-test-math-iseqsig.cc): New variable.
17235 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
17237 * elf/dl-load.c (is_trusted_path): Remove.
17238 (fillin_rpath): Remove check_trusted argument and its use,
17239 all callers changed.
17241 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17244 * Makeconfig (link-pie-before-libc): Replace -pie with
17245 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
17246 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
17247 (tst-dlopen-aout-no-pie): New.
17248 (LDFLAGS-tst-prelink): Removed.
17249 (tst-prelink-no-pie): New.
17250 (LDFLAGS-tst-main1): Removed.
17251 (tst-main1-no-pie): New.
17252 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
17253 (tst-gmon-no-pie): New.
17255 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17257 * manual/install.texi: Document that --enable-static-pie
17259 * INSTALL: Regenerated.
17261 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
17264 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
17267 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17271 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17275 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17277 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17278 <errno.h>. Include "eexp.tbl".
17279 (half): New constant.
17281 (__ieee754_exp): Rewrite.
17282 (__slowexp): Remove prototype.
17283 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17284 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17285 * sysdeps/i386/fpu/slowexp.c: Likewise.
17286 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17287 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17288 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17289 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17290 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17291 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17292 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17294 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17295 (CPPFLAGS-slowexp.c): Remove variable.
17296 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17297 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17298 (CFLAGS-slowexp-fma.c): Remove variable.
17299 (CFLAGS-slowexp-fma4.c): Likewise.
17300 (CFLAGS-slowexp-avx.c): Likewise.
17301 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17303 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17304 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17305 * math/Makefile (type-double-routines): Remove slowexp.
17306 * manual/probes.texi (slowexp_p6): Remove.
17307 (slowexp_p32): Likewise.
17309 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17311 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
17314 * lib/glob.c (glob): Do not pass NULL to mempcpy.
17316 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17318 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17320 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17322 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
17323 <errno.h>. Include "eexp.tbl".
17324 (half): New constant.
17326 (__ieee754_exp): Rewrite.
17327 (__slowexp): Remove prototype.
17328 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
17329 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
17330 * sysdeps/i386/fpu/slowexp.c: Likewise.
17331 * sysdeps/ia64/fpu/slowexp.c: Likewise.
17332 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
17333 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
17334 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
17335 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17336 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
17337 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
17339 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
17340 (CPPFLAGS-slowexp.c): Remove variable.
17341 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17342 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
17343 (CFLAGS-slowexp-fma.c): Remove variable.
17344 (CFLAGS-slowexp-fma4.c): Likewise.
17345 (CFLAGS-slowexp-avx.c): Likewise.
17346 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
17348 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
17349 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
17350 * math/Makefile (type-double-routines): Remove slowexp.
17351 * manual/probes.texi (slowexp_p6): Remove.
17352 (slowexp_p32): Likewise.
17354 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17355 James Clarke <jrtc27@jrtc27.com>
17358 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
17361 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17364 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
17367 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17370 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17371 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
17372 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
17373 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
17376 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
17379 * bits/types/__cancel_jmp_buf_tag.h: New file.
17380 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
17381 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
17382 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
17383 * nptl/Makefile (headers): Add
17384 bits/types/__cancel_jmp_buf_tag.h.
17385 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
17386 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
17387 * sysdeps/nptl/pthread.h: Include
17388 <bits/types/__cancel_jmp_buf_tag.h>.
17389 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
17391 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
17393 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17395 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
17396 --enable-static-pie variants to x86_64, x32 and i686.
17398 2017-12-19 Joseph Myers <joseph@codesourcery.com>
17401 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
17402 argument for attrubutes. All callers changed.
17403 (__inline_mathop1): Likewise. All callers changed.
17404 (__inline_mathop): Likewise. All callers changed.
17405 [__USE_MISC] (scalbn): Use __inline_forward instead of
17406 __inline_forward_c.
17407 [__USE_ISOC99] (scalbln): Likewise.
17408 [__USE_ISOC99] (nearbyint): Likewise.
17409 [__USE_ISOC99] (lrint): Likewise.
17410 [__USE_MISC] (scalbnf): Likewise.
17411 [__USE_ISOC99] (scalblnf): Likewise.
17412 [__USE_ISOC99] (nearbyintf): Likewise.
17413 [__USE_ISOC99] (lrintf): Likewise.
17414 [__USE_MISC] (scalbnl): Likewise.
17415 [__USE_ISOC99] (scalblnl): Likewise.
17416 [__USE_ISOC99] (nearbyintl): Likewise.
17417 [__USE_ISOC99] (lrintl): Likewise.
17418 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
17419 __inline_mathop and __m81_defun changed.
17421 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
17422 CPU or FPU for ARM hard-float configurations.
17424 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17426 * nptl/tst-attr3.c: Include <libc-diag.h>.
17427 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
17429 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
17431 * string/tester.c (test_strncat): Also disable -Warray-bounds
17432 warnings for two tests.
17434 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
17437 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
17438 $(cc-pie-default) == yes.
17439 * config.make.in (cc-pie-default): New.
17440 * configure.ac (libc_cv_pie_default): Renamed to ...
17441 (libc_cv_cc_pie_default): This.
17442 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
17443 * configure: Regenerated.
17445 2017-12-18 Florian Weimer <fweimer@redhat.com>
17448 ld.so: Harden dl-libc/libdl hooks.
17449 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
17450 (rtld_active): New function.
17451 * dlfcn/dladdr.c (__dladdr): Call it.
17452 * dlfcn/dladdr1.c (__dladdr1): Likewise.
17453 * dlfcn/dlclose.c (__dlcose): Likewise.
17454 * dlfcn/dlerror.c (__dlerror): Likewise.
17455 * dlfcn/dlinfo.c (__dlinfo): Likewise.
17456 * dlfcn/dlmopen.c (__dlmopen): Likewise.
17457 * dlfcn/dlopen.c (__dlopen): Likewise.
17458 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17459 * dlfcn/dlsym.c (__dlsym): Likewise.
17460 * dlfcn/dlvsym.c (__dlvsym): Likewise.
17461 * libio/vtables.c (_IO_vtable_check): Likewise.
17462 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
17463 (__libc_dlclose): Likewise.
17464 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
17467 2017-12-18 Joseph Myers <joseph@codesourcery.com>
17470 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
17471 buffers for readlink input and output.
17473 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
17476 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
17477 inhibit_stack_protector.
17480 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
17481 inhibit_stack_protector.
17483 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
17486 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
17487 code and invocation.
17489 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
17491 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
17493 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
17496 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
17498 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17500 * sysdeps/s390/fpu/libm-test-ulps: Update.
17502 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17506 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17508 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
17509 constants to s_sincosf.h file.
17510 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17511 * sysdeps/ieee754/flt-32/s_sincosf.c: New
17513 * sysdeps/ieee754/flt-32/s_sincosf.h:
17516 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17519 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
17522 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
17525 * INSTALL: Regenerated.
17526 * Makeconfig (real-static-start-installed-name): New.
17527 (pic-default): Updated for --enable-static-pie.
17528 (pie-default): New for --enable-static-pie.
17529 (default-pie-ldflag): Likewise.
17530 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
17531 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
17532 Replace $(static-start-installed-name) with
17533 $(real-static-start-installed-name).
17534 (+prectorT): Updated for --enable-static-pie.
17535 (+postctorT): Likewise.
17536 (CFLAGS-.o): Add $(pie-default).
17537 (CFLAGS-.op): Likewise.
17538 * NEWS: Mention --enable-static-pie.
17539 * config.h.in (ENABLE_STATIC_PIE): New.
17540 * configure.ac (--enable-static-pie): New configure option.
17541 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
17542 (have-static-pie): Likewise.
17543 Enable static PIE if linker supports --no-dynamic-linker.
17544 (ENABLE_STATIC_PIE): New AC_DEFINE.
17545 (enable-static-pie): New LIBC_CONFIG_VAR.
17546 * configure: Regenerated.
17547 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
17548 gr$(start-installed-name) for --enable-static-pie.
17549 (extra-objs): Likewise.
17550 (install-lib): Likewise.
17551 (extra-objs): Add static-reloc.o and static-reloc.os
17552 ($(objpfx)$(start-installed-name)): Also depend on
17553 $(objpfx)static-reloc.o.
17554 ($(objpfx)r$(start-installed-name)): New.
17555 ($(objpfx)g$(start-installed-name)): Also depend on
17556 $(objpfx)static-reloc.os.
17557 ($(objpfx)gr$(start-installed-name)): New.
17558 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
17560 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
17562 * csu/static-reloc.c: New file.
17563 * elf/Makefile (routines): Add dl-reloc-static-pie.
17564 (elide-routines.os): Likewise.
17565 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
17566 (tst-tls1-static-non-pie-no-pie): New.
17567 * elf/dl-reloc-static-pie.c: New file.
17568 * elf/dl-support.c (_dl_get_dl_main_map): New function.
17569 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
17570 STATIC_PIE_BOOTSTRAP.
17571 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
17572 * gmon/Makefile (tests): Add tst-gmon-static-pie.
17573 (tests-static): Likewise.
17574 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
17575 (tst-gmon-static-no-pie): New.
17576 (CFLAGS-tst-gmon-static-pie.c): Likewise.
17577 (CRT-tst-gmon-static-pie): Likewise.
17578 (tst-gmon-static-pie-ENV): Likewise.
17579 (tests-special): Likewise.
17580 ($(objpfx)tst-gmon-static-pie.out): Likewise.
17581 (clean-tst-gmon-static-pie-data): Likewise.
17582 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
17583 * gmon/tst-gmon-static-pie.c: New file.
17584 * manual/install.texi: Document --enable-static-pie.
17585 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
17586 (_dl_get_dl_main_map): Likewise.
17587 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
17588 * sysdeps/x86_64/configure.ac: Likewise.
17589 * sysdeps/i386/configure: Regenerated.
17590 * sysdeps/x86_64/configure: Likewise.
17591 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
17592 (ASFLAGS-.op): Likewise.
17594 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17596 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
17597 * posix/tst-mmap-offset.c (fname): Use /tmp.
17598 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
17600 2017-12-15 Steve Ellcey <sellcey@cavium.com>
17602 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
17604 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
17606 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
17609 2017-12-15 Joseph Myers <joseph@codesourcery.com>
17611 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
17612 --with-float=hard for arm-linux-gnueabihf configurations.
17615 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
17616 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
17617 ($(mo-installed)): Use $(objpfx)%.mo.
17618 (realclean): Remove rule.
17620 * po/Makefile (linguas): Remove rule and dependencies.
17621 (linguas.mo): Likewise.
17622 (.PHONY): Do not depend on linguas and linguas.mo.
17623 (podir): Remove variable.
17624 (pofiles): Likewise.
17625 [$(pofiles)] (%.po): Remove rule.
17627 * sysdeps/sparc/sparc32/Makefile
17628 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
17629 start-of-line whitespace in argument of echo.
17630 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
17631 with whitespace. Generate __wrap_.udiv alias.
17632 * sysdeps/sparc/sparc32/rem.S: Regenerated.
17633 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17634 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17635 * sysdeps/sparc/sparc32/urem.S: Likewise.
17637 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17639 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
17640 for aligned inputs.
17642 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17644 * benchtests/bench-strcmp.c: Print output in JSON format.
17646 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
17648 2017-12-14 Florian Weimer <fweimer@redhat.com>
17652 * elf/dl-load.c (_dl_init_paths): Compute number of components in
17653 the expanded path string.
17655 2017-12-14 Florian Weimer <fweimer@redhat.com>
17659 * elf/dl-load.c (system_dirs): Update comment.
17660 (nsystem_dirs_len): Use array_length.
17661 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
17663 2017-12-14 Florian Weimer <fweimer@redhat.com>
17665 Simplify compiling most of support/ outside of glibc.
17666 * support/check_addrinfo.c: Include <string.h>.
17667 * support/check_dns_packet.c: Likewise.
17668 * support/check_hostent.c: Likewise.
17669 * support/support_can_chroot.c: Include <support/xunistd.h>.
17670 * support/support_format_addrinfo.c: Include <stdlib.h>
17671 * support/support_format_dns_packet.c: Include <stdbool.h>.
17672 * support/support_format_hostent.c: Include <stdlib.h>.
17673 * support/support_format_netent.c: Likewise.
17674 * support/support_write_string.c: Include <support/xunistd.h>.
17675 * support/xdlfcn.c: Include <stddef.h>.
17677 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
17679 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
17681 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
17682 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17684 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17685 (sysdeps_routines): Add memset-niagara7.
17686 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
17688 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
17690 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
17691 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17692 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
17693 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
17694 Add niagara7 option.
17695 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
17698 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
17699 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
17700 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
17702 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
17704 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
17705 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
17706 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
17707 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
17708 and __memmove_niagara7.
17709 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
17710 Add niagara7 option.
17711 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
17712 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
17713 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
17714 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
17715 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
17717 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
17719 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
17720 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
17721 * sysdeps/sparc/sparc64/memmove.S: Likewise.
17722 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
17724 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
17725 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
17726 _dl_sparc_cap_flags array.
17727 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
17729 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17731 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
17732 time whenever possible.
17734 2017-12-12 Carlos O'Donell <carlos@redhat.com>
17736 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
17737 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
17739 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17741 * soft-fp/fmadf4.c: Move to ....
17742 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
17743 * soft-fp/fmasf4.c: Move to ....
17744 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
17745 * soft-fp/fmatf4.c: Move to ....
17746 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
17747 * sysdeps/ieee754/soft-fp/Makefile: New file.
17748 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
17749 * sysdeps/arm/preconfigure: Regenerated.
17750 * sysdeps/arm/nofpu/Implies: New file.
17751 * sysdeps/arm/s_fma.c: Remove file.
17752 * sysdeps/arm/s_fmaf.c: Likewise.
17753 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
17754 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
17755 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17756 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
17757 * sysdeps/microblaze/s_fma.c: Remove file.
17758 * sysdeps/microblaze/s_fmaf.c: Likewise.
17759 * sysdeps/mips/mips32/nofpu/Implies: New file.
17760 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
17761 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
17762 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
17763 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
17764 * sysdeps/mips/ieee754/s_fma.c: Remove file.
17765 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
17766 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
17768 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
17769 * sysdeps/nios2/s_fma.c: Remove file.
17770 * sysdeps/nios2/s_fmaf.c: Likewise.
17771 * sysdeps/sh/nofpu/Implies: New file.
17772 * sysdeps/sh/s_fma.c: Remove file.
17773 * sysdeps/sh/s_fmaf.c: Likewise.
17774 * sysdeps/tile/Implies: Add ieee754/soft-fp.
17775 * sysdeps/tile/s_fma.c: Remove file.
17776 * sysdeps/tile/s_fmaf.c: Likewise.
17778 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
17780 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17781 Add s_cosf-sse2 and s_cosf-fma.
17782 (CFLAGS-s_cosf-fma.c): New.
17783 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
17784 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
17785 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
17787 2017-12-12 Steve Ellcey <sellcey@cavium.com>
17789 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
17791 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17793 * libio/Makefile (tests): Add tst-bz22415.
17794 (tst-bz22415-ENV): New rule.
17795 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
17796 (tests-special): Add tst-bz22415-mem.out.
17797 ($(objpfx)tst-bz22415-mem.out): New rule.
17798 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
17799 in case of a successful seek operation.
17800 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17801 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
17802 buffer is required.
17803 * libio/tst-bz22415.c: New test.
17805 * sysdeps/ia64/fpu/libm-test-ulps: Update.
17807 2017-12-12 James Clarke <jrtc27@jrtc27.com>
17809 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
17810 __IPC_64 to 0 to avoid IPC_64 being set.
17812 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17815 * math/bits/mathcalls.h (nextafter): Remove const.
17816 (nexttoward): Likewise.
17818 2017-12-12 Joseph Myers <joseph@codesourcery.com>
17820 * configure.ac (--with-fp): Remove configure option.
17821 (with_fp_cond): New variable.
17822 (libc_cv_with_fp): New configure test. Use this variable instead
17824 * configure: Regenerated.
17825 * config.make.in (with-fp): Use @libc_cv_with_fp@.
17826 * manual/install.texi (Configuring and compiling): Remove
17828 * INSTALL: Regenerated.
17829 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
17830 * sysdeps/mips/preconfigure (with_fp_cond): Define.
17831 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
17832 * sysdeps/sh/preconfigure (with_fp_cond): Define.
17833 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
17834 use --without-fp to configure glibc.
17836 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
17838 * manual/locale.texi (nl_langinfo): Fix a typo.
17840 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
17843 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
17845 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
17847 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
17848 (CFLAGS-argp-parse.c): Likewise.
17849 (CFLAGS-argp-fmtstream.c): Likewise.
17850 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
17851 (CPPFLAGS-sha512-crypt.c): Likewise.
17852 (CPPFLAGS-md5-crypt.c): Likewise.
17853 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
17854 (CFLAGS-stack_chk_fail_local.c): Likewise.
17855 (CFLAGS-backtrace.c): Likewise.
17856 (CFLAGS-sprintf_chk.c): Likewise.
17857 (CFLAGS-snprintf_chk.c): Likewise.
17858 (CFLAGS-vsprintf_chk.c): Likewise.
17859 (CFLAGS-vsnprintf_chk.c): Likewise.
17860 (CFLAGS-asprintf_chk.c): Likewise.
17861 (CFLAGS-vasprintf_chk.c): Likewise.
17862 (CFLAGS-obprintf_chk.c): Likewise.
17863 (CFLAGS-dprintf_chk.c): Likewise.
17864 (CFLAGS-vdprintf_chk.c): Likewise.
17865 (CFLAGS-printf_chk.c): Likewise.
17866 (CFLAGS-fprintf_chk.c): Likewise.
17867 (CFLAGS-vprintf_chk.c): Likewise.
17868 (CFLAGS-vfprintf_chk.c): Likewise.
17869 (CFLAGS-gets_chk.c): Likewise.
17870 (CFLAGS-fgets_chk.c): Likewise.
17871 (CFLAGS-fgets_u_chk.c): Likewise.
17872 (CFLAGS-fread_chk.c): Likewise.
17873 (CFLAGS-fread_u_chk.c): Likewise.
17874 (CFLAGS-swprintf_chk.c): Likewise.
17875 (CFLAGS-vswprintf_chk.c): Likewise.
17876 (CFLAGS-wprintf_chk.c): Likewise.
17877 (CFLAGS-fwprintf_chk.c): Likewise.
17878 (CFLAGS-vwprintf_chk.c): Likewise.
17879 (CFLAGS-vfwprintf_chk.c): Likewise.
17880 (CFLAGS-fgetws_chk.c): Likewise.
17881 (CFLAGS-fgetws_u_chk.c): Likewise.
17882 (CFLAGS-read_chk.c): Likewise.
17883 (CFLAGS-pread_chk.c): Likewise.
17884 (CFLAGS-pread64_chk.c): Likewise.
17885 (CFLAGS-recv_chk.c): Likewise.
17886 (CFLAGS-recvfrom_chk.c): Likewise.
17887 (CFLAGS-tst-longjmp_chk.c): Likewise.
17888 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
17889 (CFLAGS-tst-longjmp_chk2.c): Likewise.
17890 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
17891 (CFLAGS-tst-longjmp_chk3.c): Likewise.
17892 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17893 (CFLAGS-tst-chk1.c): Likewise.
17894 (CFLAGS-tst-chk2.c): Likewise.
17895 (CFLAGS-tst-chk3.c): Likewise.
17896 (CFLAGS-tst-chk4.cc): Likewise.
17897 (CFLAGS-tst-chk5.cc): Likewise.
17898 (CFLAGS-tst-chk6.cc): Likewise.
17899 (CFLAGS-tst-lfschk1.c): Likewise.
17900 (CFLAGS-tst-lfschk2.c): Likewise.
17901 (CFLAGS-tst-lfschk3.c): Likewise.
17902 (CFLAGS-tst-lfschk4.cc): Likewise.
17903 (CFLAGS-tst-lfschk5.cc): Likewise.
17904 (CFLAGS-tst-lfschk6.cc): Likewise.
17905 (CFLAGS-tst-ssp-1.c): Likewise.
17906 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
17907 (CFLAGS-scandir64.c): Likewise.
17908 (CFLAGS-scandir-tail.c): Likewise.
17909 (CFLAGS-scandir64-tail.c): Likewise.
17910 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
17911 (CFLAGS-dl-tunables.c): Likewise.
17912 (CFLAGS-dl-runtime.c): Likewise.
17913 (CFLAGS-dl-lookup.c): Likewise.
17914 (CFLAGS-dl-iterate-phdr.c): Likewise.
17915 (CFLAGS-vismain.c): Likewise.
17916 (CFLAGS-tst-linkall-static.c): Likewise.
17917 (CFLAGS-tst-linkall-static.c): Likewise.
17918 (CPPFLAGS-dl-load.c): Likewise.
17919 (CFLAGS-ldconfig.c): Likewise.
17920 (CFLAGS-dl-cache.c): Likewise.
17921 (CFLAGS-cache.c): Likewise.
17922 (CFLAGS-rtld.c): Likewise.
17923 (CFLAGS-multiload.c): Likewise.
17924 (CFLAGS-filtmod1.c): Likewise.
17925 (CFLAGS-tst-align.c): Likewise.
17926 (CFLAGS-tst-align2.c): Likewise.
17927 (CFLAGS-tst-alignmod.c): Likewise.
17928 (CFLAGS-tst-alignmod2.c): Likewise.
17929 (CPPFLAGS-tst-execstack.c): Likewise.
17930 (CFLAGS-tst-ptrguard1-static.c): Likewise.
17931 (CFLAGS-tst-latepthreadmod.c): Likewise.
17932 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
17933 (CFLAGS-getgrnam_r.c): Likewise.
17934 (CFLAGS-getgrent_r.c): Likewise.
17935 (CFLAGS-getgrent.c): Likewise.
17936 (CFLAGS-fgetgrent.c): Likewise.
17937 (CFLAGS-fgetgrent_r.c): Likewise.
17938 (CFLAGS-putgrent.c): Likewise.
17939 (CFLAGS-initgroups.c): Likewise.
17940 (CFLAGS-getgrgid.c): Likewise.
17941 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
17942 (CFLAGS-getsgent.c): Likewise.
17943 (CFLAGS-fgetsgent.c): Likewise.
17944 (CFLAGS-fgetsgent_r.c): Likewise.
17945 (CFLAGS-putsgent.c): Likewise.
17946 (CFLAGS-getsgnam.c): Likewise.
17947 (CFLAGS-getsgnam_r.c): Likewise.
17948 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
17949 (CFLAGS-iconv_charmap.c): Likewise.
17950 (CFLAGS-dummy-repertoire.c): Likewise.
17951 (CFLAGS-charmap.c): Likewise.
17952 (CFLAGS-linereader.c): Likewise.
17953 (CFLAGS-simple-hash.c): Likewise.
17954 (CFLAGS-gconv_conf.c): Likewise.
17955 (CFLAGS-iconvconfig.c): Likewise.
17956 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17957 (CFLAGS-gethstbyad.c): Likewise.
17958 (CFLAGS-gethstbynm_r.c): Likewise.
17959 (CFLAGS-gethstbynm.c): Likewise.
17960 (CFLAGS-gethstbynm2_r.c): Likewise.
17961 (CFLAGS-gethstbynm2.c): Likewise.
17962 (CFLAGS-gethstent_r.c): Likewise.
17963 (CFLAGS-gethstent.c): Likewise.
17964 (CFLAGS-rcmd.c): Likewise.
17965 (CFLAGS-getnetbynm_r.c): Likewise.
17966 (CFLAGS-getnetbynm.c): Likewise.
17967 (CFLAGS-getnetbyad_r.c): Likewise.
17968 (CFLAGS-getnetbyad.c): Likewise.
17969 (CFLAGS-getnetent_r.c): Likewise.
17970 (CFLAGS-getnetent.c): Likewise.
17971 (CFLAGS-getaliasent_r.c): Likewise.
17972 (CFLAGS-getaliasent.c): Likewise.
17973 (CFLAGS-getrpcent_r.c): Likewise.
17974 (CFLAGS-getrpcent.c): Likewise.
17975 (CFLAGS-getservent_r.c): Likewise.
17976 (CFLAGS-getservent.c): Likewise.
17977 (CFLAGS-getprtent_r.c): Likewise.
17978 (CFLAGS-getprtent.c): Likewise.
17979 (CFLAGS-either_ntoh.c): Likewise.
17980 (CFLAGS-either_hton.c): Likewise.
17981 (CFLAGS-getnetgrent.c): Likewise.
17982 (CFLAGS-getnetgrent_r.c): Likewise.
17983 (CFLAGS-tst-checks-posix.c): Likewise.
17984 (CFLAGS-tst-sockaddr.c): Likewise.
17985 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
17986 (CFLAGS-tst-translit.c): Likewise.
17987 (CFLAGS-tst-gettext2.c): Likewise.
17988 (CFLAGS-tst-codeset.c): Likewise.
17989 (CFLAGS-tst-gettext3.c): Likewise.
17990 (CFLAGS-tst-gettext4.c): Likewise.
17991 (CFLAGS-tst-gettext5.c): Likewise.
17992 (CFLAGS-tst-gettext6.c): Likewise.
17993 * io/Makefile (CFLAGS-open.c): Likewise.
17994 (CFLAGS-open64.c): Likewise.
17995 (CFLAGS-creat.c): Likewise.
17996 (CFLAGS-creat64.c): Likewise.
17997 (CFLAGS-fcntl.c): Likewise.
17998 (CFLAGS-poll.c): Likewise.
17999 (CFLAGS-ppoll.c): Likewise.
18000 (CFLAGS-lockf.c): Likewise.
18001 (CFLAGS-statfs.c): Likewise.
18002 (CFLAGS-fstatfs.c): Likewise.
18003 (CFLAGS-statvfs.c): Likewise.
18004 (CFLAGS-fstatvfs.c): Likewise.
18005 (CFLAGS-fts.c): Likewise.
18006 (CFLAGS-fts64.c): Likewise.
18007 (CFLAGS-ftw.c): Likewise.
18008 (CFLAGS-ftw64.c): Likewise.
18009 (CFLAGS-lockf.c): Likewise.
18010 (CFLAGS-posix_fallocate.c): Likewise.
18011 (CFLAGS-posix_fallocate64.c): Likewise.
18012 (CFLAGS-fallocate.c): Likewise.
18013 (CFLAGS-fallocate64.c): Likewise.
18014 (CFLAGS-read.c): Likewise.
18015 (CFLAGS-write.c): Likewise.
18016 (CFLAGS-test-stat.c): Likewise.
18017 (CFLAGS-test-lfs.c): Likewise.
18018 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18019 (CFLAGS-fputc.c): Likewise.
18020 (CFLAGS-fputwc.c): Likewise.
18021 (CFLAGS-freopen64.c): Likewise.
18022 (CFLAGS-freopen.c): Likewise.
18023 (CFLAGS-fseek.c): Likewise.
18024 (CFLAGS-fseeko64.c): Likewise.
18025 (CFLAGS-fseeko.c): Likewise.
18026 (CFLAGS-ftello64.c): Likewise.
18027 (CFLAGS-ftello.c): Likewise.
18028 (CFLAGS-fwide.c): Likewise.
18029 (CFLAGS-genops.c): Likewise.
18030 (CFLAGS-getc.c): Likewise.
18031 (CFLAGS-getchar.c): Likewise.
18032 (CFLAGS-getwc.c): Likewise.
18033 (CFLAGS-getwchar.c): Likewise.
18034 (CFLAGS-iofclose.c): Likewise.
18035 (CFLAGS-iofflush.c): Likewise.
18036 (CFLAGS-iofgetpos64.c): Likewise.
18037 (CFLAGS-iofgetpos.c): Likewise.
18038 (CFLAGS-iofgets.c): Likewise.
18039 (CFLAGS-iofgetws.c): Likewise.
18040 (CFLAGS-iofputs.c): Likewise.
18041 (CFLAGS-iofputws.c): Likewise.
18042 (CFLAGS-iofread.c): Likewise.
18043 (CFLAGS-iofsetpos64.c): Likewise.
18044 (CFLAGS-iofsetpos.c): Likewise.
18045 (CFLAGS-ioftell.c): Likewise.
18046 (CFLAGS-iofwrite.c): Likewise.
18047 (CFLAGS-iogetdelim.c): Likewise.
18048 (CFLAGS-iogetline.c): Likewise.
18049 (CFLAGS-iogets.c): Likewise.
18050 (CFLAGS-iogetwline.c): Likewise.
18051 (CFLAGS-ioputs.c): Likewise.
18052 (CFLAGS-ioseekoff.c): Likewise.
18053 (CFLAGS-ioseekpos.c): Likewise.
18054 (CFLAGS-iosetbuffer.c): Likewise.
18055 (CFLAGS-iosetvbuf.c): Likewise.
18056 (CFLAGS-ioungetc.c): Likewise.
18057 (CFLAGS-ioungetwc.c): Likewise.
18058 (CFLAGS-oldfileops.c): Likewise.
18059 (CFLAGS-oldiofclose.c): Likewise.
18060 (CFLAGS-oldiofgetpos64.c): Likewise.
18061 (CFLAGS-oldiofgetpos.c): Likewise.
18062 (CFLAGS-oldiofsetpos64.c): Likewise.
18063 (CFLAGS-oldiofsetpos.c): Likewise.
18064 (CFLAGS-peekc.c): Likewise.
18065 (CFLAGS-putc.c): Likewise.
18066 (CFLAGS-putchar.c): Likewise.
18067 (CFLAGS-putwc.c): Likewise.
18068 (CFLAGS-putwchar.c): Likewise.
18069 (CFLAGS-rewind.c): Likewise.
18070 (CFLAGS-wfileops.c): Likewise.
18071 (CFLAGS-wgenops.c): Likewise.
18072 (CFLAGS-oldiofopen.c): Likewise.
18073 (CFLAGS-iofopen.c): Likewise.
18074 (CFLAGS-iofopen64.c): Likewise.
18075 (CFLAGS-oldtmpfile.c): Likewise.
18076 (CFLAGS-tst_putwc.c): Likewise.
18077 * locale/Makefile (CFLAGS-md5.c): Likewise.
18078 (CFLAGS-charmap.c): Likewise.
18079 (CFLAGS-locfile.c): Likewise.
18080 (CFLAGS-charmap-dir.c): Likewise.
18081 * login/Makefile (CFLAGS-grantpt.c): Likewise.
18082 (CFLAGS-getpt.c): Likewise.
18083 (CFLAGS-pt_chown.c): Likewise.
18084 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
18085 (CFLAGS-obstack.c): Likewise.
18086 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
18087 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
18088 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
18089 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
18090 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
18091 (CFLAGS-test-tgmath.c): Likewise.
18092 (CFLAGS-test-tgmath2.c): Likewise.
18093 (CFLAGS-test-tgmath-ret.c): Likewise.
18094 (CFLAGS-test-powl.c): Likewise.
18095 (CFLAGS-test-snan.c): Likewise.
18096 (CFLAGS-test-signgam-finite.c): Likewise.
18097 (CFLAGS-test-signgam-finite-c99.c): Likewise.
18098 (CFLAGS-test-signgam-finite-c11.c): Likewise.
18099 (CFLAGS-test-signgam-uchar.c): Likewise.
18100 (CFLAGS-test-signgam-uchar-init.c): Likewise.
18101 (CFLAGS-test-signgam-uchar-static.c): Likewise.
18102 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18103 (CFLAGS-test-signgam-uint.c): Likewise.
18104 (CFLAGS-test-signgam-uint-init.c): Likewise.
18105 (CFLAGS-test-signgam-uint-static.c): Likewise.
18106 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18107 (CFLAGS-test-signgam-ullong.c): Likewise.
18108 (CFLAGS-test-signgam-ullong-init.c): Likewise.
18109 (CFLAGS-test-signgam-ullong-static.c): Likewise.
18110 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18111 (CFLAGS-test-math-cxx11.cc): Likewise.
18112 (CFLAGS-test-math-isinff.cc): Likewise.
18113 (CFLAGS-test-math-iszero.cc): Likewise.
18114 (CFLAGS-test-math-issignaling.cc): Likewise.
18115 (CFLAGS-test-math-iscanonical.cc): Likewise.
18116 (CFLAGS-test-iszero-excess-precision.c): Likewise.
18117 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
18118 (CFLAGS-test-flt-eval-method.c): Likewise.
18119 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
18120 (CFLAGS-test-finite-macros.c): Likewise.
18121 * misc/Makefile (CFLAGS-select.c): Likewise.
18122 (CFLAGS-tsearch.c): Likewise.
18123 (CFLAGS-lsearch.c): Likewise.
18124 (CFLAGS-pselect.c): Likewise.
18125 (CFLAGS-readv.c): Likewise.
18126 (CFLAGS-writev.c): Likewise.
18127 (CFLAGS-preadv.c): Likewise.
18128 (CFLAGS-preadv64.c): Likewise.
18129 (CFLAGS-pwritev.c): Likewise.
18130 (CFLAGS-pwritev64.c): Likewise.
18131 (CFLAGS-preadv2.c): Likewise.
18132 (CFLAGS-preadv64v2.c): Likewise.
18133 (CFLAGS-pwritev2.c): Likewise.
18134 (CFLAGS-pwritev64v2.c): Likewise.
18135 (CFLAGS-usleep.c): Likewise.
18136 (CFLAGS-syslog.c): Likewise.
18137 (CFLAGS-error.c): Likewise.
18138 (CFLAGS-getpass.c): Likewise.
18139 (CFLAGS-mkstemp.c): Likewise.
18140 (CFLAGS-mkstemp64.c): Likewise.
18141 (CFLAGS-getsysstats.c): Likewise.
18142 (CFLAGS-getusershell.c): Likewise.
18143 (CFLAGS-err.c): Likewise.
18144 (CFLAGS-tst-tsearch.c): Likewise.
18145 (CFLAGS-msync.c): Likewise.
18146 (CFLAGS-fdatasync.c): Likewise.
18147 (CFLAGS-fsync.c): Likewise.
18148 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
18149 (CFLAGS-unwind.c): Likewise.
18150 (CFLAGS-unwind-forcedunwind.c): Likewise.
18151 (CFLAGS-pthread_cancel.c): Likewise.
18152 (CFLAGS-pthread_setcancelstate.c): Likewise.
18153 (CFLAGS-pthread_setcanceltype.c): Likewise.
18154 (CFLAGS-cancellation.c): Likewise.
18155 (CFLAGS-libc-cancellation.c): Likewise.
18156 (CFLAGS-pthread_exit.c): Likewise.
18157 (CFLAGS-forward.c): Likewise.
18158 (CFLAGS-pthread_testcancel.c): Likewise.
18159 (CFLAGS-pthread_join.c): Likewise.
18160 (CFLAGS-pthread_timedjoin.c): Likewise.
18161 (CFLAGS-pthread_once.c): Likewise.
18162 (CFLAGS-pthread_cond_wait.c): Likewise.
18163 (CFLAGS-sem_wait.c): Likewise.
18164 (CFLAGS-sem_timedwait.c): Likewise.
18165 (CFLAGS-fcntl.c): Likewise.
18166 (CFLAGS-lockf.c): Likewise.
18167 (CFLAGS-pread.c): Likewise.
18168 (CFLAGS-pread64.c): Likewise.
18169 (CFLAGS-pwrite.c): Likewise.
18170 (CFLAGS-pwrite64.c): Likewise.
18171 (CFLAGS-wait.c): Likewise.
18172 (CFLAGS-waitpid.c): Likewise.
18173 (CFLAGS-sigwait.c): Likewise.
18174 (CFLAGS-msgrcv.c): Likewise.
18175 (CFLAGS-msgsnd.c): Likewise.
18176 (CFLAGS-tcdrain.c): Likewise.
18177 (CFLAGS-open.c): Likewise.
18178 (CFLAGS-open64.c): Likewise.
18179 (CFLAGS-pause.c): Likewise.
18180 (CFLAGS-recv.c): Likewise.
18181 (CFLAGS-send.c): Likewise.
18182 (CFLAGS-accept.c): Likewise.
18183 (CFLAGS-sendto.c): Likewise.
18184 (CFLAGS-connect.c): Likewise.
18185 (CFLAGS-recvfrom.c): Likewise.
18186 (CFLAGS-recvmsg.c): Likewise.
18187 (CFLAGS-sendmsg.c): Likewise.
18188 (CFLAGS-close.c): Likewise.
18189 (CFLAGS-read.c): Likewise.
18190 (CFLAGS-write.c): Likewise.
18191 (CFLAGS-nanosleep.c): Likewise.
18192 (CFLAGS-sigsuspend.c): Likewise.
18193 (CFLAGS-msync.c): Likewise.
18194 (CFLAGS-fdatasync.c): Likewise.
18195 (CFLAGS-fsync.c): Likewise.
18196 (CFLAGS-pt-system.c): Likewise.
18197 (CFLAGS-tst-cleanup2.c): Likewise.
18198 (CFLAGS-tst-cleanupx2.c): Likewise.
18199 (CFLAGS-flockfile.c): Likewise.
18200 (CFLAGS-ftrylockfile.c): Likewise.
18201 (CFLAGS-funlockfile.c): Likewise.
18202 (CFLAGS-tst-initializers1.c): Likewise.
18203 (CFLAGS-tst-initializers1-c89.c): Likewise.
18204 (CFLAGS-tst-initializers1-c99.c): Likewise.
18205 (CFLAGS-tst-initializers1-c11.c): Likewise.
18206 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
18207 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
18208 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
18209 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
18210 (CFLAGS-nscd_getgr_r.c): Likewise.
18211 (CFLAGS-nscd_gethst_r.c): Likewise.
18212 (CFLAGS-nscd_getai.c): Likewise.
18213 (CFLAGS-nscd_initgroups.c): Likewise.
18214 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
18215 (CFLAGS-pause.c): Likewise.
18216 (CFLAGS-pread.c): Likewise.
18217 (CFLAGS-pread64.c): Likewise.
18218 (CFLAGS-pwrite.c): Likewise.
18219 (CFLAGS-pwrite64.c): Likewise.
18220 (CFLAGS-sleep.c): Likewise.
18221 (CFLAGS-wait.c): Likewise.
18222 (CFLAGS-waitid.c): Likewise.
18223 (CFLAGS-waitpid.c): Likewise.
18224 (CFLAGS-getopt.c): Likewise.
18225 (CFLAGS-wordexp.c): Likewise.
18226 (CFLAGS-sysconf.c): Likewise.
18227 (CFLAGS-pathconf.c): Likewise.
18228 (CFLAGS-fpathconf.c): Likewise.
18229 (CFLAGS-spawn.c): Likewise.
18230 (CFLAGS-spawnp.c): Likewise.
18231 (CFLAGS-spawni.c): Likewise.
18232 (CFLAGS-glob.c): Likewise.
18233 (CFLAGS-glob64.c): Likewise.
18234 (CFLAGS-getconf.c): Likewise.
18235 (CFLAGS-nanosleep.c): Likewise.
18236 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
18237 (CFLAGS-getpwent.c): Likewise.
18238 (CFLAGS-getpw.c): Likewise.
18239 (CFLAGS-fgetpwent_r.c): Likewise.
18240 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
18241 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
18242 (CFLAGS-mq_timedreceive.c): Likewise.
18243 (CFLAGS-mq_timedsend.c): Likewise.
18244 (CFLAGS-clock_nanosleep.c): Likewise.
18245 (CFLAGS-librt-cancellation.c): Likewise.
18246 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
18247 (CFLAGS-getspent.c): Likewise.
18248 (CFLAGS-fgetspent.c): Likewise.
18249 (CFLAGS-fgetspent_r.c): Likewise.
18250 (CFLAGS-putspent.c): Likewise.
18251 (CFLAGS-getspnam.c): Likewise.
18252 (CFLAGS-getspnam_r.c): Likewise.
18253 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
18254 (CFLAGS-sigsuspend.c): Likewise.
18255 (CFLAGS-sigtimedwait.c): Likewise.
18256 (CFLAGS-sigwait.c): Likewise.
18257 (CFLAGS-sigwaitinfo.c): Likewise.
18258 (CFLAGS-sigreturn.c): Likewise.
18259 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18260 (CFLAGS-vfwprintf.c): Likewise.
18261 (CFLAGS-tmpfile.c): Likewise.
18262 (CFLAGS-tmpfile64.c): Likewise.
18263 (CFLAGS-tempname.c): Likewise.
18264 (CFLAGS-psignal.c): Likewise.
18265 (CFLAGS-vprintf.c): Likewise.
18266 (CFLAGS-cuserid.c): Likewise.
18267 (CFLAGS-errlist.c): Likewise.
18268 (CFLAGS-siglist.c): Likewise.
18269 (CFLAGS-scanf15.c): Likewise.
18270 (CFLAGS-scanf17.c): Likewise.
18271 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
18272 (CFLAGS-msort.c): Likewise.
18273 (CFLAGS-qsort.c): Likewise.
18274 (CFLAGS-system.c): Likewise.
18275 (CFLAGS-fmtmsg.c): Likewise.
18276 (CFLAGS-strfmon.c): Likewise.
18277 (CFLAGS-strfmon_l.c): Likewise.
18278 (CFLAGS-strfromd.c): Likewise.
18279 (CFLAGS-strfromf.c): Likewise.
18280 (CFLAGS-strfroml.c): Likewise.
18281 (CFLAGS-tst-bsearch.c): Likewise.
18282 (CFLAGS-tst-qsort.c): Likewise.
18283 (CFLAGS-tst-makecontext2.c): Likewise.
18284 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
18285 (CFLAGS-xnlm_prot.c): Likewise.
18286 (CFLAGS-xrstat.c): Likewise.
18287 (CFLAGS-xyppasswd.c): Likewise.
18288 (CFLAGS-xklm_prot.c): Likewise.
18289 (CFLAGS-xrex.c): Likewise.
18290 (CFLAGS-xsm_inter.c): Likewise.
18291 (CFLAGS-xmount.c): Likewise.
18292 (CFLAGS-xrusers.c): Likewise.
18293 (CFLAGS-xspray.c): Likewise.
18294 (CFLAGS-xnfs_prot.c): Likewise.
18295 (CFLAGS-xrquota.c): Likewise.
18296 (CFLAGS-xkey_prot.c): Likewise.
18297 (CFLAGS-auth_unix.c): Likewise.
18298 (CFLAGS-key_call.c): Likewise.
18299 (CFLAGS-pmap_rmt.c): Likewise.
18300 (CFLAGS-clnt_perr.c): Likewise.
18301 (CFLAGS-openchild.c): Likewise.
18302 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
18303 (CFLAGS-msgsnd.c): Likewise.
18304 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
18305 * time/Makefile (CFLAGS-tzfile.c): Likewise.
18306 (CFLAGS-tzset.c): Likewise.
18307 (CFLAGS-getdate.c): Likewise.
18308 (CFLAGS-test_time.c): Likewise.
18309 (CPPFLAGS-tst-tzname.c): Likewise.
18310 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
18311 (CFLAGS-zic.c): Likewise.
18312 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
18313 (CFLAGS-wcswidth.c): Likewise.
18314 (CFLAGS-wcstol.c): Likewise.
18315 (CFLAGS-wcstoul.c): Likewise.
18316 (CFLAGS-wcstoll.c): Likewise.
18317 (CFLAGS-wcstoull.c): Likewise.
18318 (CFLAGS-wcstod.c): Likewise.
18319 (CFLAGS-wcstold.c): Likewise.
18320 (CFLAGS-wcstof128.c): Likewise.
18321 (CFLAGS-wcstof.c): Likewise.
18322 (CFLAGS-wcstol_l.c): Likewise.
18323 (CFLAGS-wcstoul_l.c): Likewise.
18324 (CFLAGS-wcstoll_l.c): Likewise.
18325 (CFLAGS-wcstoull_l.c): Likewise.
18326 (CFLAGS-wcstod_l.c): Likewise.
18327 (CFLAGS-wcstold_l.c): Likewise.
18328 (CFLAGS-wcstof128_l.c): Likewise.
18329 (CFLAGS-wcstof_l.c): Likewise.
18330 (CPPFLAGS-tst-wchar-h.c): Likewise.
18331 (CPPFLAGS-wcstold_l.c): Likewise.
18333 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
18335 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
18337 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18338 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18340 * manual/tunables.texi (Hardware Capability Tunables): Document
18341 glibc.tune.cached_memopt.
18342 * sysdeps/powerpc/cpu-features.c: New file.
18343 * sysdeps/powerpc/cpu-features.h: New file.
18344 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
18345 _dl_powerpc_cpu_features.
18346 * sysdeps/powerpc/dl-tunables.list: New file.
18347 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
18348 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18349 (INIT_ARCH): Initialize use_aligned_memopt.
18350 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
18351 IS_IN(rtld))]: Restrict dl_platform_init availability and
18352 initialize CPU features used by tunables.
18353 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
18354 Add memcpy-power8-cached.
18355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
18356 __memcpy_power8_cached.
18357 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18358 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
18361 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
18363 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
18364 (CFLAGS-noinl-tester.c): Likewise.
18365 (CFLAGS-tst-strlen.c): Likewise.
18366 (CFLAGS-stratcliff.c): Likewise.
18367 (CFLAGS-test-ffs.c): Likewise.
18368 (CFLAGS-tst-inlcall.c): Likewise.
18369 (CFLAGS-tst-xbzero-opt.c): Likewise.
18370 (CFLAGS-memcpy.c): Likewise.
18371 (CFLAGS-wordcopy.c): Likewise.
18373 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18375 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
18376 Store r15 on stack and add cfi rule.
18377 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
18380 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
18383 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
18386 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18388 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18389 Add s_sinf-sse2 and s_sinf-fma.
18390 (CFLAGS-s_sinf-fma.c): New.
18391 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
18392 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
18393 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
18395 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
18397 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
18399 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18402 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
18403 part of result to imaginary part of argument if it is zero and the
18404 real part of the argument is not finite.
18405 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
18406 of result to real part of argument if it is zero and the imaginary
18407 part of the argument is not finite.
18409 2017-12-07 Mike FABIAN <mfabian@redhat.com>
18412 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
18413 and to the list of locales to be built for testing.
18414 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
18415 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
18416 and build the collation rules upon that.
18418 2017-12-07 Joseph Myers <joseph@codesourcery.com>
18420 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
18421 * manual/math.texi (Mathematics): Document support for _Float32.
18422 * math/Makefile (test-types): Add float32.
18423 * math/Versions (GLIBC_2.27): Add _Float32 functions.
18424 * stdlib/Versions (GLIBC_2.27): Likewise.
18425 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18426 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18427 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18428 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18429 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18430 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18431 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18432 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18433 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18434 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18435 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18436 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18437 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18438 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18439 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18440 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18441 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18442 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18443 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18444 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18445 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18446 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18448 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18449 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18450 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18451 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18452 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18470 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18471 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18472 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18473 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18474 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18475 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18476 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18477 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18478 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18479 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18488 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18489 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18490 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18491 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18492 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18493 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18494 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18495 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18497 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18499 * stdlib/strtof.c: Include <bits/floatn.h>
18500 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
18501 and later undefine as macro. Define as weak alias if
18503 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
18504 and later undefine as macro. Define as weak alias if
18506 * stdlib/strtof_l.c: Include <bits/floatn.h>
18507 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
18508 and later undefine as macro. Define as weak alias if
18510 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
18511 and later undefine as macro. Define as weak alias if
18514 * stdlib/strfromf.c: Include <bits/floatn.h>.
18515 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
18516 and later undefine as macro and define as weak alias.
18518 * math/test-float32.h: New file.
18520 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
18521 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
18522 (libm_alias_float_other_r): Create f32 alias.
18523 (libm_alias_float_r): Use semicolon before call to
18524 libm_alias_float_other_r.
18526 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
18527 second argument to libm_alias_float_other.
18528 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
18529 second argument to libm_alias_float_other.
18530 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
18531 argument to libm_alias_float_other.
18534 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
18535 real part of result for argument 0 + i * NaN.
18536 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
18537 results for tests of 0 + i * NaN.
18539 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18541 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18543 2017-12-06 David S. Miller <davem@davemloft.net>
18545 * sysdeps/sparc/fpu/libm-test-ulps: Update
18546 exp_{downward,towardzero,upward} ulps.
18548 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18550 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
18553 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
18555 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
18557 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
18559 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
18562 2017-12-06 Mike FABIAN <mfabian@redhat.com>
18565 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
18566 and to the list of locales to be built for testing.
18567 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
18568 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
18569 and build the collation rules upon that.
18571 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18573 * NEWS: Add sinf to list of optimized functions.
18575 2017-12-06 Joseph Myers <joseph@codesourcery.com>
18577 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
18578 (__HAVE_FLOAT32X): Likewise.
18579 * manual/math.texi (Mathematics): Document support for _Float64
18581 * math/Makefile (test-types): Add float64 and float32x.
18582 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
18584 * stdlib/Versions (GLIBC_2.27): Likewise.
18585 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18586 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18587 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18588 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18589 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18590 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18591 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18592 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18593 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18594 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18595 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18596 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18597 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18598 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18599 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18600 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18601 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18602 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18603 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18604 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18605 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18606 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
18608 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18609 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18610 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18611 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18612 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18629 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18630 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18631 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18632 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18633 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18634 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18635 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18636 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18637 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18638 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18647 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18648 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18649 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18650 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18651 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18652 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18653 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18654 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18656 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18658 * bits/floatn-common.h: Include <bits/long-double.h>.
18659 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18660 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
18661 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18662 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
18663 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
18664 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
18665 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18666 (__builtin_huge_valf64): Use __builtin_huge_vall.
18667 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18668 (__builtin_inff64): Use __builtin_infl.
18669 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18670 (__builtin_nanf64): Use __builtin_nanl.
18671 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
18672 (__builtin_nansf64): Use __builtin_nansl.
18674 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
18675 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
18676 Carlos O'Donnell <carlos@redhat.com>
18678 * elf/dl-tunables.list: Add elision parameters.
18679 * manual/tunables.texi: Add entries about elision tunable.
18680 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
18681 Add callback functions to dynamically enable/disable elision.
18682 Add multiple callbacks functions to set elision parameters.
18683 Deleted __libc_enable_secure check.
18684 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
18685 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
18686 * configure: Regenerated.
18687 * configure.ac: Option enable_lock_elision was deleted.
18688 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
18689 * config.make.in: Remove references to enable_lock_elision.
18690 * manual/install.texi: Elision configure option was removed.
18691 * INSTALL: Regenerated to remove enable_lock_elision.
18693 Disable elision so it can verify error case for destroying a mutex.
18694 * sysdeps/powerpc/nptl/elide.h:
18695 Cleanup ENABLE_LOCK_ELISION check.
18696 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
18697 * sysdeps/s390/configure: Regenerated.
18698 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
18699 * nptl/tst-mutex8.c:
18700 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
18701 * sysdeps/powerpc/powerpc32/sysdep.h:
18702 Deleted all ENABLE_LOCK_ELISION checks.
18703 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
18704 * sysdeps/powerpc/sysdep.h: Likewise.
18705 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
18706 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
18707 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18708 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18709 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18710 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
18711 enable-lock-elision.
18713 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18715 * stdlib/strtod.c: Include <bits/floatn.h>.
18716 (BUILD_DOUBLE): New macro.
18717 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18718 (strtof64): Define and later undefine as macro. Define as weak
18719 alias if [!USE_WIDE_CHAR].
18720 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18721 (wcstof64): Define and later undefine as macro. Define as weak
18722 alias if [USE_WIDE_CHAR].
18723 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18724 (strtof32x): Define and later undefine as macro. Define as weak
18725 alias if [!USE_WIDE_CHAR].
18726 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18727 (wcstof32x): Define and later undefine as macro. Define as weak
18728 alias if [USE_WIDE_CHAR].
18729 * stdlib/strtod_l.c: Include <bits/floatn.h>.
18730 (BUILD_DOUBLE): New macro.
18731 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18732 (strtof64_l): Define and later undefine as macro. Define as weak
18733 alias if [!USE_WIDE_CHAR].
18734 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
18735 (wcstof64_l): Define and later undefine as macro. Define as weak
18736 alias if [USE_WIDE_CHAR].
18737 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18738 (strtof32x_l): Define and later undefine as macro. Define as weak
18739 alias if [!USE_WIDE_CHAR].
18740 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
18741 (wcstof32x_l): Define and later undefine as macro. Define as weak
18742 alias if [USE_WIDE_CHAR].
18744 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18746 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
18747 (reduced): Use ones as double instead of integer.
18749 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
18751 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
18753 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18755 * stdlib/strfromd.c: Include <bits/floatn.h>.
18756 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
18757 and later undefine as macro and define as weak alias.
18758 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
18761 * math/test-float32x.h: New file.
18762 * math/test-float64.h: Likewise.
18764 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
18765 (libm_alias_double_other_r_f64): New macro.
18766 (libm_alias_double_other_r_f32x): Likewise.
18767 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18768 libm_alias_double_other_r_f32x.
18769 (libm_alias_double_r): Use semicolon before call to
18770 libm_alias_double_other_r.
18771 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
18773 (libm_alias_double_other_r_f64): New macro.
18774 (libm_alias_double_other_r_f32x): Likewise.
18775 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
18776 libm_alias_double_other_r_f32x.
18778 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
18780 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
18782 (SINF_FUNC): Likewise. Replace floor with simple casts.
18784 2017-12-05 Mike FABIAN <mfabian@redhat.com>
18787 * localedata/Makefile: Add et_EE.UTF-8 to test-input
18788 and to the list of locales to be built for testing.
18789 * localedata/et_EE.UTF-8.in: New file for testing the collation.
18790 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
18791 and build the collation rules upon that.
18793 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
18795 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
18796 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
18797 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
18798 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
18799 instead of __insn__xxx.
18800 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
18801 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
18802 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
18803 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
18804 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
18805 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
18807 2017-12-05 Florian Weimer <fweimer@redhat.com>
18809 Linux: Implement interfaces for memory protection keys
18810 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
18812 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
18813 * support/xunistd.h (xsysconf): Declare.
18814 * support/xraise.c: New file.
18815 * support/xsigaction.c: Likewise.
18816 * support/xsignal.c: Likewise.
18817 * support/xsysconf.c: Likewise.
18818 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
18819 pkey_set, pkey_get, pkey_mprotect.
18820 [misc] (tests): Add tst-pkey.
18821 (tst-pkey): Link with -lpthread.
18822 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
18823 pkey_free, pkey_set, pkey_get, pkey_mprotect.
18824 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
18825 (PKEY_DISABLE_WRITE): Define.
18826 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
18828 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
18829 (SEGV_PKUERR): Add.
18830 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
18831 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
18832 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
18833 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
18835 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
18836 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
18837 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
18838 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
18839 * sysdeps/unix/sysv/linux/**.abilist: Update.
18841 2017-12-05 Florian Weimer <fweimer@redhat.com>
18843 * support/tst-test_compare.c (subprocess): Use long long instead
18844 of long argument for consistent type width across 32-bit and
18845 64-bit architectures.
18846 (do_test): Adjust expected output.
18848 2017-12-05 Joseph Myers <joseph@codesourcery.com>
18850 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
18851 (cosf): Define using libm_alias_float.
18852 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
18853 (fabsf): Define using libm_alias_float.
18854 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
18855 (fmaf): Define using libm_alias_float.
18856 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
18857 (rintf): Define using libm_alias_float.
18858 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
18859 (sinf): Define using libm_alias_float.
18860 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
18861 <libm-alias-float.h>.
18862 (modff): Define using libm_alias_float.
18863 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
18864 <libm-alias-float.h>.
18865 (logbf): Define using libm_alias_float.
18866 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
18867 <libm-alias-float.h>.
18868 (ceilf): Define using libm_alias_float.
18869 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
18870 <libm-alias-float.h>.
18871 (copysignf): Define using libm_alias_float.
18872 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
18873 <libm-alias-float.h>.
18874 (floorf): Define using libm_alias_float.
18875 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18876 <libm-alias-float.h>.
18877 (llrintf): Define using libm_alias_float.
18878 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18879 <libm-alias-float.h>.
18880 (llroundf): Define using libm_alias_float.
18881 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
18882 <libm-alias-float.h>.
18883 (lrintf): Define using libm_alias_float.
18884 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
18885 <libm-alias-float.h>.
18886 (lroundf): Define using libm_alias_float.
18887 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
18888 <libm-alias-float.h>.
18889 (nearbyintf): Define using libm_alias_float.
18890 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
18891 <libm-alias-float.h>.
18892 (rintf): Define using libm_alias_float.
18893 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
18894 <libm-alias-float.h>.
18895 (roundf): Define using libm_alias_float.
18896 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
18897 <libm-alias-float.h>.
18898 (truncf): Define using libm_alias_float.
18899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
18900 Include <libm-alias-float.h>.
18901 (ceilf): Define using libm_alias_float.
18902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
18903 Include <libm-alias-float.h>.
18904 (copysignf): Define using libm_alias_float.
18905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
18906 Include <libm-alias-float.h>.
18907 (floorf): Define using libm_alias_float.
18908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
18909 Include <libm-alias-float.h>.
18910 (llrintf): Define using libm_alias_float.
18911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
18912 Include <libm-alias-float.h>.
18913 (llroundf): Define using libm_alias_float.
18914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
18915 Include <libm-alias-float.h>.
18916 (logbf): Define using libm_alias_float.
18917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
18918 Include <libm-alias-float.h>.
18919 (lrintf): Define using libm_alias_float.
18920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
18921 Include <libm-alias-float.h>.
18922 (lroundf): Define using libm_alias_float.
18923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
18924 Include <libm-alias-float.h>.
18925 (modff): Define using libm_alias_float.
18926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
18927 Include <libm-alias-float.h>.
18928 (roundf): Define using libm_alias_float.
18929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
18930 Include <libm-alias-float.h>.
18931 (truncf): Define using libm_alias_float.
18932 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
18933 <libm-alias-float.h>.
18934 (llrintf): Define using libm_alias_float.
18935 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
18936 <libm-alias-float.h>.
18937 (llroundf): Define using libm_alias_float.
18938 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
18939 <libm-alias-float.h>.
18940 (ceilf): Define using libm_alias_float.
18941 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
18942 <libm-alias-float.h>.
18943 (floorf): Define using libm_alias_float.
18944 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
18945 <libm-alias-float.h>.
18946 (llroundf): Define using libm_alias_float.
18947 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
18948 <libm-alias-float.h>.
18949 (lroundf): Define using libm_alias_float.
18950 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
18951 <libm-alias-float.h>.
18952 (roundf): Define using libm_alias_float.
18953 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
18954 <libm-alias-float.h>.
18955 (truncf): Define using libm_alias_float.
18956 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
18957 <libm-alias-float.h>.
18958 (copysignf): Define using libm_alias_float.
18959 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
18960 <libm-alias-float.h>.
18961 (llrintf): Define using libm_alias_float.
18962 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
18963 <libm-alias-float.h>.
18964 (llroundf): Define using libm_alias_float.
18965 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
18966 <libm-alias-float.h>.
18967 (lrintf): Define using libm_alias_float.
18968 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
18969 <libm-alias-float.h>.
18970 (lroundf): Define using libm_alias_float.
18971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
18972 <libm-alias-float.h>.
18973 (ceilf): Define using libm_alias_float.
18974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
18975 <libm-alias-float.h>.
18976 (copysignf): Define using libm_alias_float.
18977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
18978 <libm-alias-float.h>.
18979 (cosf): Define using libm_alias_float.
18980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
18981 <libm-alias-float.h>.
18982 (floorf): Define using libm_alias_float.
18983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
18984 <libm-alias-float.h>.
18985 (llrintf): Define using libm_alias_float.
18986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
18987 <libm-alias-float.h>.
18988 (llroundf): Define using libm_alias_float.
18989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
18990 <libm-alias-float.h>.
18991 (logbf): Define using libm_alias_float.
18992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
18993 <libm-alias-float.h>.
18994 (modff): Define using libm_alias_float.
18995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
18996 <libm-alias-float.h>.
18997 (roundf): Define using libm_alias_float.
18998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
18999 <libm-alias-float.h>.
19000 (sinf): Define using libm_alias_float.
19001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
19002 <libm-alias-float.h>.
19003 (truncf): Define using libm_alias_float.
19004 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
19005 <libm-alias-float.h>.
19006 (ceilf): Define using libm_alias_float.
19007 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19008 <libm-alias-float.h>.
19009 (copysignf): Define using libm_alias_float.
19010 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
19011 <libm-alias-float.h>.
19012 (floorf): Define using libm_alias_float.
19013 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19014 <libm-alias-float.h>.
19015 (llrintf): Define using libm_alias_float.
19016 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
19017 <libm-alias-float.h>.
19018 (llroundf): Define using libm_alias_float.
19019 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
19020 <libm-alias-float.h>.
19021 (nearbyintf): Define using libm_alias_float.
19022 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
19023 <libm-alias-float.h>.
19024 (rintf): Define using libm_alias_float.
19025 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
19026 <libm-alias-float.h>.
19027 (roundf): Define using libm_alias_float.
19028 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
19029 <libm-alias-float.h>.
19030 (truncf): Define using libm_alias_float.
19031 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
19032 <libm-alias-float.h>.
19033 (ceilf): Define using libm_alias_float.
19034 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
19035 <libm-alias-float.h>.
19036 (floorf): Define using libm_alias_float.
19037 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19038 <libm-alias-float.h>.
19039 (llroundf): Define using libm_alias_float.
19040 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
19041 <libm-alias-float.h>.
19042 (roundf): Define using libm_alias_float.
19043 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
19044 <libm-alias-float.h>.
19045 (truncf): Define using libm_alias_float.
19046 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19047 <libm-alias-float.h>.
19048 (copysignf): Define using libm_alias_float.
19049 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19050 <libm-alias-float.h>.
19051 (llrintf): Define using libm_alias_float.
19052 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19053 <libm-alias-float.h>.
19054 (llroundf): Define using libm_alias_float.
19055 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
19056 <libm-alias-float.h>.
19057 (cosf): Define using libm_alias_float.
19058 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19059 <libm-alias-float.h>.
19060 (llrintf): Define using libm_alias_float.
19061 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19062 <libm-alias-float.h>.
19063 (llroundf): Define using libm_alias_float.
19064 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
19065 <libm-alias-float.h>.
19066 (sinf): Define using libm_alias_float.
19068 2017-12-04 Florian Weimer <fweimer@redhat.com>
19070 * support/check.h (TEST_COMPARE): Define.
19071 (support_test_compare_failure): Declare.
19072 * support/Makefile (libsupport-routines): Add
19073 support_test_compare_failure.
19074 (tests): Add tst-test_compare.
19075 * support /support_test_compare_failure.c: New file.
19076 * support/tst-test_compare.c: Likewise.
19078 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19081 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
19082 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
19083 available, this rewrite of the collation rules does reproduce
19084 the test file in the same order.
19086 2017-12-04 Mike FABIAN <mfabian@redhat.com>
19089 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
19090 digraphs in the month and day names. Using single code points for
19091 digraphs is deprecated. While there are dedicated Unicode
19092 codepoints, for the digraphs, these are included for backwards
19093 compatibility and modern texts use a sequence of Basic Latin
19094 characters. See: https://www.unicode.org/faq/ligature_digraph.html
19095 This makes the month and day names agree exactly with CLDR now,
19096 CLDR does not use the single code points for the digraphs either.
19098 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
19100 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
19102 2017-12-04 Joseph Myers <joseph@codesourcery.com>
19104 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
19107 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
19109 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
19110 Define only for libc.so.
19112 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
19114 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19115 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
19116 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
19117 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
19118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19120 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19123 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
19125 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
19128 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
19129 PREINIT_FUNCTION_WEAK is nonzero.
19130 (gmon_initializer): New function. Put procedure label for it in
19131 .init_array section.
19132 (_init): Don't call PREINIT_FUNCTION.
19133 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
19134 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
19135 value when map argument is null.
19137 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
19138 depi instruction from PIC pc-relative sequence.
19139 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
19140 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
19141 (elf_machine_load_address): Likewise.
19142 (elf_machine_runtime_setup): Likewise.
19144 2017-12-02 Joseph Myers <joseph@codesourcery.com>
19146 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
19147 <libm-alias-double.h>.
19148 (logb): Define using libm_alias_double.
19149 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
19150 <libm-alias-double.h>.
19151 (copysign): Define using libm_alias_double.
19152 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
19153 <libm-alias-double.h>.
19154 (llrint): Define using libm_alias_double.
19155 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
19156 <libm-alias-double.h>.
19157 (llround): Define using libm_alias_double.
19158 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
19159 <libm-alias-double.h>.
19160 (lrint): Define using libm_alias_double.
19161 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
19162 <libm-alias-double.h>.
19163 (lround): Define using libm_alias_double.
19164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19165 Include <libm-alias-double.h>.
19166 (copysign): Define using libm_alias_double.
19167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
19168 Include <libm-alias-double.h>.
19169 (llrint): Define using libm_alias_double.
19170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
19171 Include <libm-alias-double.h>.
19172 (llround): Define using libm_alias_double.
19173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
19174 <libm-alias-double.h>.
19175 (logb): Define using libm_alias_double.
19176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
19177 Include <libm-alias-double.h>.
19178 (lrint): Define using libm_alias_double.
19179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
19180 Include <libm-alias-double.h>.
19181 (lround): Define using libm_alias_double.
19182 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
19183 <libm-alias-double.h>.
19184 (llrint): Define using libm_alias_double.
19185 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
19186 <libm-alias-double.h>.
19187 (llround): Define using libm_alias_double.
19188 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
19189 <libm-alias-double.h>.
19190 (llround): Define using libm_alias_double.
19191 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
19192 <libm-alias-double.h>.
19193 (lround): Define using libm_alias_double.
19194 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
19195 <libm-alias-double.h>.
19196 (copysign): Define using libm_alias_double.
19197 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
19198 <libm-alias-double.h>.
19199 (llrint): Define using libm_alias_double.
19200 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
19201 <libm-alias-double.h>.
19202 (llround): Define using libm_alias_double.
19203 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
19204 <libm-alias-double.h>.
19205 (lrint): Define using libm_alias_double.
19206 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
19207 <libm-alias-double.h>.
19208 (lround): Define using libm_alias_double.
19209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
19210 <libm-alias-double.h>.
19211 (copysign): Define using libm_alias_double.
19212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
19213 <libm-alias-double.h>.
19214 (llrint): Define using libm_alias_double.
19216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
19217 <libm-alias-double.h>.
19218 (llround): Define using libm_alias_double.
19219 (lround): Likewise.
19220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
19221 <libm-alias-double.h>.
19222 (logb): Define using libm_alias_double.
19223 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
19224 <libm-alias-double.h>.
19225 (copysign): Define using libm_alias_double.
19226 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
19227 <libm-alias-double.h>.
19228 (llrint): Define using libm_alias_double.
19230 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
19231 <libm-alias-double.h>.
19232 (llround): Define using libm_alias_double.
19233 (lround): Likewise.
19234 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
19235 <libm-alias-double.h>.
19236 (llround): Define using libm_alias_double.
19237 (lround): Likewise.
19238 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
19239 <libm-alias-double.h>.
19240 (copysign): Define using libm_alias_double.
19241 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
19242 <libm-alias-double.h>.
19243 (llrint): Define using libm_alias_double.
19245 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
19246 <libm-alias-double.h>.
19247 (llround): Define using libm_alias_double.
19248 (lround): Likewise.
19249 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
19250 <libm-alias-double.h>.
19251 (llrint): Define using libm_alias_double.
19253 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
19254 <libm-alias-double.h>.
19255 (llround): Define using libm_alias_double.
19256 (lround): Likewise.
19258 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19261 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
19262 compat symbol based on llround.
19264 * sysdeps/powerpc/power7/fpu/s_logb.c
19265 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
19266 symbol based on __logb, not on logb.
19267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
19268 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
19270 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
19272 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
19273 (rint): Define using libm_alias_double.
19274 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
19275 <libm-alias-double.h>.
19276 (modf): Define using libm_alias_double.
19277 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
19278 <libm-alias-double.h>.
19279 (ceil): Define using libm_alias_double.
19280 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
19281 <libm-alias-double.h>.
19282 (floor): Define using libm_alias_double.
19283 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
19284 <libm-alias-double.h>.
19285 (nearbyint): Define using libm_alias_double.
19286 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
19287 <libm-alias-double.h>.
19288 (rint): Define using libm_alias_double.
19289 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
19290 <libm-alias-double.h>.
19291 (round): Define using libm_alias_double.
19292 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
19293 <libm-alias-double.h>.
19294 (trunc): Define using libm_alias_double.
19295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
19296 <libm-alias-double.h>.
19297 (ceil): Define using libm_alias_double.
19298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
19299 Include <libm-alias-double.h>.
19300 (floor): Define using libm_alias_double.
19301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
19302 <libm-alias-double.h>.
19303 (modf): Define using libm_alias_double.
19304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
19305 Include <libm-alias-double.h>.
19306 (round): Define using libm_alias_double.
19307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
19308 Include <libm-alias-double.h>.
19309 (trunc): Define using libm_alias_double.
19310 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
19311 <libm-alias-double.h>.
19312 (ceil): Define using libm_alias_double.
19313 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
19314 <libm-alias-double.h>.
19315 (floor): Define using libm_alias_double.
19316 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
19317 <libm-alias-double.h>.
19318 (round): Define using libm_alias_double.
19319 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
19320 <libm-alias-double.h>.
19321 (trunc): Define using libm_alias_double.
19322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
19323 <libm-alias-double.h>.
19324 (ceil): Define using libm_alias_double.
19325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
19326 <libm-alias-double.h>.
19327 (floor): Define using libm_alias_double.
19328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
19329 <libm-alias-double.h>.
19330 (modf): Define using libm_alias_double.
19331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
19332 <libm-alias-double.h>.
19333 (round): Define using libm_alias_double.
19334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
19335 <libm-alias-double.h>.
19336 (trunc): Define using libm_alias_double.
19337 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
19338 <libm-alias-double.h>.
19339 (ceil): Define using libm_alias_double.
19340 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
19341 <libm-alias-double.h>.
19342 (floor): Define using libm_alias_double.
19343 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
19344 <libm-alias-double.h>.
19345 (nearbyint): Define using libm_alias_double.
19346 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
19347 <libm-alias-double.h>.
19348 (rint): Define using libm_alias_double.
19349 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
19350 <libm-alias-double.h>.
19351 (round): Define using libm_alias_double.
19352 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
19353 <libm-alias-double.h>.
19354 (trunc): Define using libm_alias_double.
19355 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
19356 <libm-alias-double.h>.
19357 (ceil): Define using libm_alias_double.
19358 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
19359 <libm-alias-double.h>.
19360 (floor): Define using libm_alias_double.
19361 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
19362 <libm-alias-double.h>.
19363 (round): Define using libm_alias_double.
19364 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
19365 <libm-alias-double.h>.
19366 (trunc): Define using libm_alias_double.
19368 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
19369 (fabs): Define using libm_alias_double.
19370 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
19371 (fma): Define using libm_alias_double.
19372 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
19373 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
19374 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
19375 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
19377 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19379 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
19381 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
19382 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
19383 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
19385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
19386 due redirect macro.
19388 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
19390 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
19392 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19394 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
19395 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
19396 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
19397 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
19399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19400 (libm-sysdep_routines): Add s_nearbyintf-generic and
19401 s_nearbyint-generic.
19402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
19404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
19405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
19407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
19409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
19411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19415 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
19416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
19418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
19419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
19421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
19422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
19423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19426 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
19427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
19429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
19430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
19432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
19433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
19434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
19436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19437 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
19438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
19440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
19441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
19443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
19444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
19445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19448 (sysdep_calls): New rule.
19449 (sysdep_routines): Use sysdep_calls as base.
19450 (libm-sysdep_routines): Add generic rule for symbols shared with
19451 libc. Add s_copysign-generic and s_copysign-generic objects.
19452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
19454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
19455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
19457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
19458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
19459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
19461 2017-12-01 Mike FABIAN <mfabian@redhat.com>
19464 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
19465 the list of locales to be built for testing.
19466 * localedata/is_IS.UTF-8.in: New file.
19467 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
19470 2017-12-01 Joseph Myers <joseph@codesourcery.com>
19472 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
19473 <libm-alias-float.h>.
19474 (fabsf): Define using libm_alias_float.
19476 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19478 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
19480 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19482 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
19483 <libm-alias-float.h>.
19484 (fabsf): Define using libm_alias_float.
19485 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
19486 <libm-alias-float.h>.
19487 (lrintf): Define using libm_alias_float.
19488 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
19489 <libm-alias-float.h>.
19490 (rintf): Define using libm_alias_float.
19492 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
19493 <libm-alias-double.h>.
19494 (fabs): Define using libm_alias_double.
19495 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
19496 <libm-alias-double.h>.
19497 (lrint): Define using libm_alias_double.
19498 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
19499 <libm-alias-double.h>.
19500 (rint): Define using libm_alias_double.
19502 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
19503 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
19504 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
19505 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
19506 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
19507 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
19508 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
19509 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
19510 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
19511 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
19512 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
19513 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
19514 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
19515 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
19516 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
19517 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
19518 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
19519 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
19521 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
19522 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
19523 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
19525 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
19526 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
19527 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
19529 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
19530 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
19531 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
19532 s_expm1_template.c.
19533 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
19534 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
19535 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
19537 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
19538 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
19539 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
19540 s_floor_template.c.
19541 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
19542 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
19543 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
19544 s_frexp_template.c.
19545 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
19546 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
19547 s_lrint_template.c.
19548 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
19549 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
19550 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
19552 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
19553 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
19554 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
19555 s_nearbyint_template.c.
19556 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
19557 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
19558 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
19559 s_remquo_template.c.
19560 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
19561 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
19562 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
19564 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
19565 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
19566 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
19568 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
19569 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
19570 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
19571 s_sincos_template.c.
19572 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
19573 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
19574 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
19576 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
19577 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
19578 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
19580 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
19581 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
19582 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
19583 s_trunc_template.c.
19584 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
19585 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
19586 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
19587 s_atan.c instead of including s_atan.c.
19588 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
19589 s_atanf.c instead of including s_atanf.c.
19590 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
19591 s_atanl.c instead of including s_atanl.c.
19592 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
19593 instead of s_atan.c.
19594 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
19595 instead of s_atanf.c.
19596 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
19597 instead of s_atanl.c.
19599 * scripts/update-copyrights: Do not handle intl/plural.c
19602 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
19605 * configure.ac (BISON): Require to be present.
19606 * configure: Regenerated.
19607 * intl/Makefile (generated): Add plural.c.
19608 [$(BISON) != no]: Make code unconditional.
19609 (plural.c): Change rule to $(objpfx)plural.c.
19610 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
19611 * intl/plural.c: Remove.
19612 * manual/install.texi (Tools for Compilation): Document bison as
19614 * INSTALL: Regenerated.
19616 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19618 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
19619 <libm-alias-double.h>.
19620 (llrint): Define using libm_alias_double.
19621 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
19622 <libm-alias-float.h>.
19623 (llrintf): Define using libm_alias_float.
19624 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
19625 <libm-alias-ldouble.h>.
19626 (llrintl): Define using libm_alias_ldouble.
19628 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
19629 declare_mgen_alias instead of weak_alias.
19630 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
19631 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
19632 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
19634 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19636 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19638 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
19639 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
19640 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
19642 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19643 Add submul_1-generic.
19644 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
19645 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
19646 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
19648 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19649 Add addmul_1-generic.
19650 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
19651 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
19652 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
19654 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19656 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
19657 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
19658 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
19660 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
19662 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
19663 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
19664 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
19666 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19668 According to CLDR, collation rules for Serbian and Bosnian
19669 should be the same as for Croatian.
19672 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
19673 and to the list of locales to be built for testing.
19674 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19675 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
19676 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
19677 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
19679 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19681 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
19682 to make test case pass.
19683 * localedata/hr_HR.UTF-8.in: Add more test strings.
19685 2017-11-30 Mike FABIAN <mfabian@redhat.com>
19687 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
19689 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19691 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
19692 the list of locales to built for testing.
19693 * localedata/hr_HR.UTF-8.in: New file.
19695 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
19698 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
19700 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
19701 CLDR (except use ligatures for the digraphs, CLDR does not use
19702 the ligatures), add first_workday, some fixes in the date and time
19704 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
19706 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
19707 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
19708 Add int_p_cs_precedes and int_n_cs_precedes.
19709 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
19710 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
19712 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
19713 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
19715 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
19716 and lang_lib. Change postal_fmt.
19718 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
19720 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
19722 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19723 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
19724 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
19725 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
19726 * sysdeps/generic/setjmpP.h: New file.
19727 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
19728 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
19729 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
19730 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
19731 Add jmp_buf-ssp.sym.
19732 (tests): Add tst-saved_mask-1.
19734 2017-11-30 Arjun Shankar <arjun@redhat.com>
19738 * malloc/malloc.c (__libc_malloc): Use checked_request2size
19739 instead of request2size.
19741 2017-11-30 Joseph Myers <joseph@codesourcery.com>
19743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
19744 (__lllrint): Remove alias.
19745 (lllrint): Likewise.
19746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
19747 (__lllrintf): Likewise.
19748 (lllrintf): Likewise.
19750 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
19751 <libm-alias-float.h>.
19752 (copysignf): Define using libm_alias_float.
19753 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
19754 <libm-alias-float.h>.
19755 (fabsf): Define using libm_alias_float.
19756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19757 Include <libm-alias-float.h>.
19758 (copysignf): Define using libm_alias_float.
19759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
19760 <libm-alias-float.h>.
19761 (fabsf): Define using libm_alias_float.
19762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
19763 <libm-alias-float.h>.
19764 (fdimf): Define using libm_alias_float.
19765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
19766 <libm-alias-float.h>.
19767 (fmaf): Define using libm_alias_float.
19768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
19769 <libm-alias-float.h>.
19770 (llrintf): Define using libm_alias_float.
19771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
19772 Include <libm-alias-float.h>.
19773 (nearbyintf): Define using libm_alias_float.
19774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
19775 <libm-alias-float.h>.
19776 (rintf): Define using libm_alias_float.
19777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
19778 <libm-alias-float.h>.
19779 (llrintf): Define using libm_alias_float.
19780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
19781 <libm-alias-float.h>.
19782 (lrintf): Define using libm_alias_float.
19783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
19784 <libm-alias-float.h>.
19785 (nearbyintf): Define using libm_alias_float.
19786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
19787 <libm-alias-float.h>.
19788 (rintf): Define using libm_alias_float.
19789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
19790 <libm-alias-float.h>.
19791 (ceilf): Define using libm_alias_float.
19792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
19793 <libm-alias-float.h>.
19794 (floorf): Define using libm_alias_float.
19795 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
19796 <libm-alias-float.h>.
19797 (fmaf): Define using libm_alias_float.
19798 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
19799 <libm-alias-float.h>.
19800 (lrintf): Define using libm_alias_float.
19801 (llrintf): Likewise.
19802 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
19803 <libm-alias-float.h>.
19804 (nearbyintf): Define using libm_alias_float.
19805 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
19806 <libm-alias-float.h>.
19807 (rintf): Define using libm_alias_float.
19808 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
19809 <libm-alias-float.h>.
19810 (truncf): Define using libm_alias_float.
19811 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
19812 <libm-alias-float.h>.
19813 (copysignf): Define using libm_alias_float.
19814 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
19815 <libm-alias-float.h>.
19816 (fabsf): Define using libm_alias_float.
19817 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
19818 <libm-alias-float.h>.
19819 (lrintf): Define using libm_alias_float.
19820 (llrintf): Likewise.
19821 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
19822 <libm-alias-float.h>.
19823 (nearbyintf): Define using libm_alias_float.
19824 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
19825 <libm-alias-float.h>.
19826 (rintf): Define using libm_alias_float.
19828 2017-11-29 Joseph Myers <joseph@codesourcery.com>
19830 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
19831 <libm-alias-double.h>.
19832 (copysign): Define using libm_alias_double.
19833 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
19834 <libm-alias-double.h>.
19835 (fabs): Define using libm_alias_double.
19836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19837 Include <libm-alias-double.h>.
19838 (copysign): Define using libm_alias_double.
19839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
19840 <libm-alias-double.h>.
19841 (fabs): Define using libm_alias_double.
19842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
19843 <libm-alias-double.h>.
19844 (fdim): Define using libm_alias_double.
19845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
19846 <libm-alias-double.h>.
19847 (fma): Define using libm_alias_double.
19848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
19849 <libm-alias-double.h>.
19850 (llrint): Define using libm_alias_double.
19851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
19852 Include <libm-alias-double.h>.
19853 (nearbyint): Define using libm_alias_double.
19854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
19855 <libm-alias-double.h>.
19856 (rint): Define using libm_alias_double.
19857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19858 <libm-alias-double.h>.
19859 (fabs): Define using libm_alias_double.
19860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
19861 <libm-alias-double.h>.
19862 (llrint): Define using libm_alias_double.
19863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
19864 <libm-alias-double.h>.
19865 (nearbyint): Define using libm_alias_double.
19866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
19867 <libm-alias-double.h>.
19868 (rint): Define using libm_alias_double.
19869 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
19870 <libm-alias-double.h>.
19871 (ceil): Define using libm_alias_double.
19872 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
19873 <libm-alias-double.h>.
19874 (floor): Define using libm_alias_double.
19875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
19876 <libm-alias-double.h>.
19877 (fma): Define using libm_alias_double.
19878 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
19879 <libm-alias-double.h>.
19880 (lrint): Define using libm_alias_double.
19881 (llrint): Likewise.
19882 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
19883 <libm-alias-double.h>.
19884 (nearbyint): Define using libm_alias_double.
19885 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
19886 <libm-alias-double.h>.
19887 (rint): Define using libm_alias_double.
19888 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
19889 <libm-alias-double.h>.
19890 (trunc): Define using libm_alias_double.
19891 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
19892 <libm-alias-double.h>.
19893 (copysign): Define using libm_alias_double.
19894 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
19895 <libm-alias-double.h>.
19896 (fabs): Define using libm_alias_double.
19897 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
19898 <libm-alias-double.h>.
19899 (lrint): Define using libm_alias_double.
19900 (llrint): Likewise.
19901 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
19902 <libm-alias-double.h>.
19903 (nearbyint): Define using libm_alias_double.
19904 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
19905 <libm-alias-double.h>.
19906 (rint): Define using libm_alias_double.
19909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
19911 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
19913 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19914 SPARC --disable-multi-arch glibc variants.
19916 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
19917 <libm-alias-float.h>.
19918 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19920 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
19921 <libm-alias-float.h>.
19922 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19924 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
19925 <libm-alias-float.h>.
19926 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19928 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
19929 <libm-alias-float.h>.
19930 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19932 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
19933 <libm-alias-float.h>.
19934 (exp2f): Define using libm_alias_float, or libm_alias_float_other
19936 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
19937 <libm-alias-float.h>.
19938 (ceilf): Define using libm_alias_float.
19939 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
19940 <libm-alias-float.h>.
19941 (floorf): Define using libm_alias_float.
19942 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
19943 <libm-alias-float.h>.
19944 (fmaf): Define using libm_alias_float.
19945 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
19946 <libm-alias-float.h>.
19947 (nearbyintf): Define using libm_alias_float.
19948 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
19949 <libm-alias-float.h>.
19950 (rintf): Define using libm_alias_float.
19951 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
19952 <libm-alias-float.h>.
19953 (truncf): Define using libm_alias_float.
19954 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
19955 (copysignf): Define using libm_alias_float.
19956 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
19957 (cosf): Define using libm_alias_float.
19958 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19959 (fabsf): Define using libm_alias_float.
19960 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
19961 (fmaxf): Define using libm_alias_float.
19962 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
19963 (fminf): Define using libm_alias_float.
19964 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
19965 (llrintf): Define using libm_alias_float.
19966 [!__ILP32__] (lrintf): Likewise.
19967 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
19968 (sincosf): Define using libm_alias_float.
19969 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
19970 (sinf): Define using libm_alias_float.
19971 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
19972 (lrintf): Define using libm_alias_float.
19974 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
19975 <libm-alias-double.h>.
19976 (atan): Define using libm_alias_double.
19977 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
19978 <libm-alias-double.h>.
19979 (ceil): Define using libm_alias_double.
19980 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
19981 <libm-alias-double.h>.
19982 (floor): Define using libm_alias_double.
19983 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
19984 <libm-alias-double.h>.
19985 (fma): Define using libm_alias_double.
19986 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
19987 <libm-alias-double.h>.
19988 (nearbyint): Define using libm_alias_double.
19989 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
19990 <libm-alias-double.h>.
19991 (rint): Define using libm_alias_double.
19992 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
19993 <libm-alias-double.h>.
19994 (sin): Define using libm_alias_double.
19996 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
19997 <libm-alias-double.h>.
19998 (tan): Define using libm_alias_double.
19999 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
20000 <libm-alias-double.h>.
20001 (trunc): Define using libm_alias_double.
20002 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
20003 (copysign): Define using libm_alias_double.
20004 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
20005 (fabs): Define using libm_alias_double.
20006 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
20007 (fmax): Define using libm_alias_double.
20008 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
20009 (fmin): Define using libm_alias_double.
20010 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
20011 (llrint): Define using libm_alias_double.
20012 [!__ILP32__] (lrint): Likewise.
20013 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
20014 (lrint): Define using libm_alias_double.
20016 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20018 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20019 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
20021 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
20022 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
20023 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
20024 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
20025 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
20026 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20028 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20029 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
20031 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
20032 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
20033 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
20034 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
20035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
20036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20038 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
20039 (libm-sysdep_routines): Add s_nearbyint-generic and
20040 s_nearbyintf-generic objects.
20041 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
20042 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
20043 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
20044 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
20045 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
20046 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
20048 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20049 Add s_finitef-generic and s_finite-generic objects.
20050 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
20051 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
20052 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
20053 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
20054 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
20055 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
20057 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20058 Add s_isinff-generic and s_isinf-generic objects.
20059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
20060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
20061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
20062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
20063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
20064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20066 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
20067 Add s_isnanf-generic and s_isnan-generic objects.
20068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
20069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
20070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
20071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
20072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
20073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20075 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
20077 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
20079 (sysdep_routines): Use sysdep_calls as base.
20080 (libm-sysdep_routines): Add generic rule for symbols shared with
20081 libc. Add s_signbit-generic and s_signbitf-generic objects.
20082 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
20083 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
20084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
20085 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
20086 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
20087 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20089 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20091 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
20092 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
20093 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
20094 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
20095 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
20096 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
20097 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
20098 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
20099 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
20100 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
20101 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
20102 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
20103 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
20104 libm_alias_float_r.
20105 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
20106 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
20108 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
20109 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
20110 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
20111 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
20112 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
20113 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
20114 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
20115 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
20116 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
20117 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
20119 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
20121 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
20122 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
20123 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
20124 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
20125 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
20126 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
20127 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
20128 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
20129 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
20130 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
20131 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
20132 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
20133 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
20134 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
20135 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
20136 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
20137 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
20138 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
20139 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
20141 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
20142 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
20143 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
20144 * sysdeps/ia64/fpu/w_lgammaf_main.c
20145 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
20146 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
20148 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20149 Alexandre Oliva <aoliva@redhat.com>
20152 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
20153 * localedata/fr_CA.UTF-8.in: New file with test data for backward
20155 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
20157 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
20158 * localedata/locales/de_DE (LC_COLLATE): Likewise.
20159 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
20160 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
20161 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
20162 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
20163 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
20164 instead of “ifdef DIACRIT_BACKWARD”.
20166 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20168 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
20169 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
20170 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
20171 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
20172 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
20173 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
20174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
20175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
20176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
20177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
20178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
20179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
20180 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
20181 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
20182 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
20183 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
20184 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
20185 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
20186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
20187 ($(have-as-vis3) == yes): Remove conditional.
20188 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
20190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
20192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
20194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
20196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
20198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
20199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
20200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
20201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
20202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
20203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
20204 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
20205 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
20207 2017-11-29 Joseph Myers <joseph@codesourcery.com>
20209 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
20210 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
20211 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
20212 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
20213 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
20214 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
20215 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
20216 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
20217 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
20218 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
20219 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
20220 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
20221 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
20222 libm_alias_double_r.
20223 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
20225 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
20226 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
20227 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
20228 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
20229 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
20230 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
20231 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
20232 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
20233 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
20234 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
20235 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
20237 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
20239 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
20240 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
20241 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
20242 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
20243 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
20244 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
20245 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
20246 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
20247 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
20248 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
20249 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
20250 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
20251 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
20252 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
20253 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
20254 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
20255 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
20256 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
20258 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
20259 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
20260 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
20261 * sysdeps/ia64/fpu/w_lgamma_main.c
20262 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
20263 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
20265 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
20267 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
20268 address of $global$ into %dp register earlier. Use pc-relative
20269 instruction sequence for PIC case.
20271 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20273 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
20274 (asinhf): Define using libm_alias_float.
20275 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
20276 (atanf): Define using libm_alias_float.
20277 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
20278 (cbrtf): Define using libm_alias_float.
20279 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
20280 (ceilf): Define using libm_alias_float.
20281 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
20282 (copysignf): Define using libm_alias_float.
20283 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
20284 (expm1f): Define using libm_alias_float.
20285 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
20286 (fabsf): Define using libm_alias_float.
20287 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
20288 (floorf): Define using libm_alias_float.
20289 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20290 (fmaxf): Define using libm_alias_float.
20291 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
20292 (fminf): Define using libm_alias_float.
20293 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
20294 (frexpf): Define using libm_alias_float.
20295 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
20296 (llrintf): Define using libm_alias_float.
20297 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
20298 (logbf): Define using libm_alias_float.
20299 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
20300 (lrintf): Define using libm_alias_float.
20301 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
20302 (nearbyintf): Define using libm_alias_float.
20303 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
20304 (remquof): Define using libm_alias_float.
20305 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
20306 (rintf): Define using libm_alias_float.
20307 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
20308 (truncf): Define using libm_alias_float.
20309 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
20310 <libm-alias-float.h>.
20311 (exp2f): Define using libm_alias_float, or libm_alias_float_other
20313 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
20314 <libm-alias-float.h>.
20315 (expf): Define using libm_alias_float, or libm_alias_float_other
20317 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
20318 <libm-alias-float.h>.
20319 (log2f): Define using libm_alias_float, or libm_alias_float_other
20321 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
20322 <libm-alias-float.h>.
20323 (logf): Define using libm_alias_float, or libm_alias_float_other
20325 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
20326 <libm-alias-float.h>.
20327 (powf): Define using libm_alias_float, or libm_alias_float_other
20329 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
20330 <libm-alias-float.h>.
20331 (cosf): Define using libm_alias_float.
20332 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
20333 <libm-alias-float.h>.
20334 (sincosf): Define using libm_alias_float.
20335 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
20336 <libm-alias-float.h>.
20337 (sinf): Define using libm_alias_float.
20338 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
20339 (fmaxf): Define using libm_alias_float.
20340 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
20341 (fminf): Define using libm_alias_float.
20342 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20343 <libm-alias-float.h>.
20344 (fmaf): Define using libm_alias_float.
20346 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
20347 (asinh): Define using libm_alias_double.
20348 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
20349 (atan): Define using libm_alias_double.
20350 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
20351 (cbrt): Define using libm_alias_double.
20352 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
20353 (ceil): Define using libm_alias_double.
20354 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
20355 (copysign): Define using libm_alias_double.
20356 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
20357 (expm1): Define using libm_alias_double.
20358 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
20359 (fabs): Define using libm_alias_double.
20360 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
20361 (fdim): Define using libm_alias_double.
20362 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
20363 (floor): Define using libm_alias_double.
20364 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
20365 (fmax): Define using libm_alias_double.
20366 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
20367 (fmin): Define using libm_alias_double.
20368 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
20369 (frexp): Define using libm_alias_double.
20370 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
20371 (llrint): Define using libm_alias_double.
20372 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
20373 (logb): Define using libm_alias_double.
20374 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
20375 (lrint): Define using libm_alias_double.
20376 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
20377 (nearbyint): Define using libm_alias_double.
20378 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
20379 (remquo): Define using libm_alias_double.
20380 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
20381 (rint): Define using libm_alias_double.
20382 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
20383 (trunc): Define using libm_alias_double.
20384 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
20385 (fmax): Define using libm_alias_double.
20386 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
20387 (fmin): Define using libm_alias_double.
20388 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
20389 (fma): Define using libm_alias_double.
20391 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
20394 * elf/dl-hwcaps.c (ROUND): Removed.
20395 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
20396 and ELF_NOTE_NEXT_OFFSET.
20397 * elf/dl-load.c (ROUND): Removed.
20398 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20399 * elf/readelflib.c (ROUND): Removed.
20400 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
20401 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
20402 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
20403 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
20405 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20407 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20408 [!__fmaf] (fmaf): Define using libm_alias_float.
20410 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
20411 [!__fma] (fma): Define using libm_alias_double.
20412 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
20414 2017-11-28 Mike FABIAN <mfabian@redhat.com>
20417 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
20418 and implement the collation rules for cs from CLDR on top of that.
20419 * Makefile: Add cs_CZ.UTF-8 to test-input.
20420 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
20422 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
20424 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
20426 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20427 Icarus Sparry <icarus.w.sparry@intel.com>
20429 * benchtests/Makefile:Add BENCHSET to allow subsets of
20430 benchmarks to be run.
20431 * benchtests/README: Add documentation for: Running subsets of
20434 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
20436 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
20437 range of tests names.
20439 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
20440 result from property and remove "max", min" and "mean" from
20441 required properties based on benchtests/bench-skeleton.c.
20443 2017-11-28 Florian Weimer <fweimer@redhat.com>
20446 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
20447 due to Internet requirement.
20448 * posix/Makefile (tests): Remove tst-getaddrinfo4,
20450 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
20452 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20454 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20455 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
20456 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20457 (sysdep_routines): Add memset-ultra1.
20458 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
20460 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
20461 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
20462 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
20463 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
20464 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
20465 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
20466 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
20467 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20469 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
20471 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
20472 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
20473 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
20474 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
20475 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
20476 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
20477 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
20479 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20480 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
20481 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
20482 (sysdep_routines): Add memcpy-ultra1.
20483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
20484 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
20486 2017-11-28 Joseph Myers <joseph@codesourcery.com>
20488 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
20489 (cfloat_versions): Take function argument without trailing 'f'.
20490 Call libm_alias_float_other.
20491 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
20492 * sysdeps/alpha/fpu/cargf.c: Likewise.
20493 * sysdeps/alpha/fpu/cimagf.c: Likewise.
20494 * sysdeps/alpha/fpu/conjf.c: Likewise.
20495 * sysdeps/alpha/fpu/crealf.c: Likewise.
20496 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
20497 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
20498 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
20499 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
20500 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
20501 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
20502 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
20503 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
20504 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
20505 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
20506 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
20507 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
20508 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
20509 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
20510 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
20511 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
20512 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
20513 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
20514 (clog10f): Use libm_alias_float_other.
20515 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20516 (ceilf): Define using libm_alias_float.
20517 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
20518 (copysignf): Define using libm_alias_float.
20519 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
20520 (fabsf): Define using libm_alias_float.
20521 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
20522 (floorf): Define using libm_alias_float.
20523 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
20524 (fmaxf): Define using libm_alias_float.
20525 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
20526 (fminf): Define using libm_alias_float.
20527 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20528 (lrintf): Define using libm_alias_float.
20529 (llrintf): Likewise.
20530 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20531 (lroundf): Define using libm_alias_float.
20532 (llroundf): Likewise.
20533 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
20534 (rintf): Define using libm_alias_float.
20535 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
20536 (truncf): Define using libm_alias_float.
20538 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
20539 (ceilf): Define using libm_alias_float.
20540 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
20541 (floorf): Define using libm_alias_float.
20542 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
20543 (fmaf): Define using libm_alias_float.
20544 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
20545 (fmaxf): Define using libm_alias_float.
20546 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
20547 (fminf): Define using libm_alias_float.
20548 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
20549 (llrintf): Define using libm_alias_float.
20550 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
20551 (llroundf): Define using libm_alias_float.
20552 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
20553 (lrintf): Define using libm_alias_float.
20554 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
20555 (lroundf): Define using libm_alias_float.
20556 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
20557 <libm-alias-float.h>.
20558 (nearbyintf): Define using libm_alias_float.
20559 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
20560 (rintf): Define using libm_alias_float.
20561 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
20562 (roundf): Define using libm_alias_float.
20563 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
20564 (truncf): Define using libm_alias_float.
20566 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
20567 (ceil): Define using libm_alias_double.
20568 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
20569 (copysign): Define using libm_alias_double.
20570 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
20571 (fabs): Define using libm_alias_double.
20572 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
20573 (floor): Define using libm_alias_double.
20574 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
20575 (fmax): Define using libm_alias_double.
20576 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
20577 (fmin): Define using libm_alias_double.
20578 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
20579 (lrint): Define using libm_alias_double.
20580 (llrint): Likewise.
20581 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
20582 (lround): Define using libm_alias_double.
20583 (llround): Likewise.
20584 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
20585 (rint): Define using libm_alias_double.
20586 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
20587 (trunc): Define using libm_alias_double.
20589 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
20590 (libm_alias_double_r): Add semicolon after weak_alias call.
20592 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20594 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
20595 (ceil): Define using libm_alias_double.
20596 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
20597 (floor): Define using libm_alias_double.
20598 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
20599 (fma): Define using libm_alias_double.
20600 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
20601 (fmax): Define using libm_alias_double.
20602 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
20603 (fmin): Define using libm_alias_double.
20604 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
20605 (llrint): Define using libm_alias_double.
20606 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
20607 (llround): Define using libm_alias_double.
20608 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
20609 (lrint): Define using libm_alias_double.
20610 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
20611 (lround): Define using libm_alias_double.
20612 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
20613 (nearbyint): Define using libm_alias_double.
20614 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
20615 (rint): Define using libm_alias_double.
20616 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
20617 (round): Define using libm_alias_double.
20618 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
20619 (trunc): Define using libm_alias_double.
20621 2017-11-27 Florian Weimer <fweimer@redhat.com>
20623 * sysdeps/unix/sysv/linux/mlock2.c: New file.
20624 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
20625 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
20626 (tests): Add tst-mlock2.
20627 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
20628 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
20629 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
20630 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
20631 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
20632 for mlock. Document mlock2.
20634 2017-11-27 Joseph Myers <joseph@codesourcery.com>
20636 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
20637 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
20639 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
20641 * sysdeps/x86/Makeconfig: New file.
20642 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
20643 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20644 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
20645 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20646 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20647 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20648 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
20650 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20651 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20652 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20653 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20654 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20655 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
20656 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
20657 * manual/math.texi (Mathematics): Document support for _Float64x.
20658 * math/Versions (GLIBC_2.27): Add _Float64x functions.
20659 * stdlib/Versions (GLIBC_2.27): Likewise.
20660 * wcsmbs/Versions (GLIBC_2.27): Likewise.
20661 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
20662 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20663 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20664 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20665 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20666 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20667 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20668 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20669 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20670 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20671 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
20674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20676 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20677 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20678 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20679 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20680 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20681 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20682 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20683 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20684 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20685 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20686 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20687 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20688 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20689 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
20691 2017-11-27 Andreas Schwab <schwab@suse.de>
20693 * elf/Makefile (dl-routines): Add dl-sort-maps.
20694 * elf/dl-sort-maps.c: New file.
20695 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
20696 (_dl_sort_maps): Declare.
20697 * elf/dl-fini.c (_dl_sort_fini): Remove.
20698 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
20699 * elf/dl-close.c (_dl_close_worker): Likewise.
20700 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
20702 * elf/dl-open.c (dl_open_worker): Likewise.
20704 2017-11-24 Joseph Myers <joseph@codesourcery.com>
20706 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
20707 using libm_alias_float128.
20708 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
20710 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
20712 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
20713 (setpayloadsigf128): Likewise.
20714 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
20716 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
20719 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
20720 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
20721 -mfloat128 to CFLAGS.
20723 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
20725 (CFLAGS-libm-test-support-float64x.c): New variable.
20726 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
20727 $(f128-loader-link) to gnulib-tests.
20729 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
20730 (libm_alias_float128_other_r): If
20731 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
20733 (libm_alias_float128_r): Add semicolon after weak_alias call.
20734 * sysdeps/generic/libm-alias-ldouble.h
20735 (libm_alias_ldouble_other_r_f128): New macro.
20736 (libm_alias_ldouble_other_r_f64x): Likewise.
20737 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20738 and libm_alias_ldouble_other_r_f64x.
20739 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
20740 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
20741 (libm_alias_ldouble_other_r_f128): New macro.
20742 (libm_alias_ldouble_other_r_f64x): Likewise.
20743 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
20744 and libm_alias_ldouble_other_r_f64x.
20746 * stdlib/strfroml.c: Always include <stdlib.h>.
20747 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
20748 undefine as macro and define as weak alias.
20749 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
20750 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
20752 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
20753 Define and later undefine as macro and define as weak alias.
20755 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20756 Define and later undefine as macro. Define as weak alias if
20758 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
20759 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20760 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
20761 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
20762 Define and later undefine as macro. Define as weak alias if
20764 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
20765 Define and later undefine as macro. Define as weak alias if
20767 * sysdeps/ieee754/float128/strtof128_l.c
20768 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
20769 Define and later undefine as macro. Define as weak alias if
20771 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
20772 Define and later undefine as macro. Define as weak alias if
20774 * sysdeps/ieee754/ldbl-128/strtold_l.c
20775 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20776 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20777 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20778 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20779 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
20780 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20781 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20782 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20783 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20784 * sysdeps/ieee754/ldbl-96/strtold_l.c
20785 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
20786 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
20787 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
20788 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
20790 * math/test-float64x.h: New file.
20791 * math/Makefile (type-float64x-yes): New variable.
20792 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
20794 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
20795 function-like macro.
20796 (min_of_type_): Likewise.
20797 (min_of_type_l): Likewise.
20798 (min_of_type_f128): Likewise.
20799 (min_of_type): Pass () as last argument of __MATH_TG.
20801 * stdlib/tst-strtod-round-skeleton.c
20802 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
20805 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
20806 for combinations of long double with _Float64 and _Float64x.
20808 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
20809 (__DECL_SIMD_cosf32): Likewise.
20810 (__DECL_SIMD_cosf64): Likewise.
20811 (__DECL_SIMD_cosf32x): Likewise.
20812 (__DECL_SIMD_cosf64x): Likewise.
20813 (__DECL_SIMD_cosf128x): Likewise.
20814 (__DECL_SIMD_sinf16): Likewise.
20815 (__DECL_SIMD_sinf32): Likewise.
20816 (__DECL_SIMD_sinf64): Likewise.
20817 (__DECL_SIMD_sinf32x): Likewise.
20818 (__DECL_SIMD_sinf64x): Likewise.
20819 (__DECL_SIMD_sinf128x): Likewise.
20820 (__DECL_SIMD_sincosf16): Likewise.
20821 (__DECL_SIMD_sincosf32): Likewise.
20822 (__DECL_SIMD_sincosf64): Likewise.
20823 (__DECL_SIMD_sincosf32x): Likewise.
20824 (__DECL_SIMD_sincosf64x): Likewise.
20825 (__DECL_SIMD_sincosf128x): Likewise.
20826 (__DECL_SIMD_logf16): Likewise.
20827 (__DECL_SIMD_logf32): Likewise.
20828 (__DECL_SIMD_logf64): Likewise.
20829 (__DECL_SIMD_logf32x): Likewise.
20830 (__DECL_SIMD_logf64x): Likewise.
20831 (__DECL_SIMD_logf128x): Likewise.
20832 (__DECL_SIMD_expf16): Likewise.
20833 (__DECL_SIMD_expf32): Likewise.
20834 (__DECL_SIMD_expf64): Likewise.
20835 (__DECL_SIMD_expf32x): Likewise.
20836 (__DECL_SIMD_expf64x): Likewise.
20837 (__DECL_SIMD_expf128x): Likewise.
20838 (__DECL_SIMD_powf16): Likewise.
20839 (__DECL_SIMD_powf32): Likewise.
20840 (__DECL_SIMD_powf64): Likewise.
20841 (__DECL_SIMD_powf32x): Likewise.
20842 (__DECL_SIMD_powf64x): Likewise.
20843 (__DECL_SIMD_powf128x): Likewise.
20845 * stdlib/Versions (libc): Move entries for wcstof128 and
20846 wcstof128_l to ....
20847 * wcsmbs/Versions (libc): ... here.
20848 Include <float128-abi.h>.
20850 2017-11-24 Florian Weimer <fweimer@redhat.com>
20852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20853 bits/mman-shared.h.
20854 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
20855 <bits/mman-shared.h>.
20856 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
20858 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
20859 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
20860 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
20861 <bits/mman-shared.h>.
20863 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20866 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
20867 posix_memalign/free.
20868 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
20870 2017-11-22 Mike FABIAN <mfabian@redhat.com>
20873 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
20874 and implement the collation rules for pl from CLDR on top of that.
20875 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
20876 of locales to be built for testing.
20877 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
20879 2017-11-23 Joseph Myers <joseph@codesourcery.com>
20881 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
20882 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
20883 libm_alias_ldouble_other.
20884 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
20885 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
20886 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
20887 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
20888 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
20889 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
20890 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
20891 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
20892 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
20893 libm_alias_ldouble_r.
20894 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
20895 libm_alias_ldouble_other.
20896 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
20897 (log10l): Likewise.
20898 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
20899 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
20900 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
20901 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
20902 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
20903 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
20904 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
20905 (atan2l): Likewise.
20906 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
20907 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
20908 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
20909 libm_alias_ldouble.
20910 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
20912 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
20913 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
20914 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
20916 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
20917 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
20918 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
20919 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
20920 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
20921 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
20922 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
20923 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
20924 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
20925 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
20926 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
20927 libm_alias_ldouble.
20928 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
20929 libm_alias_ldouble_other.
20930 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
20931 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
20932 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
20933 libm_alias_ldouble.
20934 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
20935 libm_alias_ldouble_other.
20936 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
20937 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
20938 * sysdeps/ia64/fpu/w_lgammal_main.c
20939 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
20940 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
20942 2017-11-23 Florian Weimer <fweimer@redhat.com>
20944 * malloc/malloc.c (tcache_thread_shutdown): Rename from
20945 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
20946 alike. Remove freeres marker.
20947 * malloc/arena.c (arena_thread_freeres): Call
20948 tcache_thread_shutdown.
20950 2017-11-23 Florian Weimer <fweimer@redhat.com>
20953 Export nscd hash function as __nss_hash.
20954 * include/nss.h (__nss_hash): Declare.
20955 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
20957 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
20958 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
20960 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
20961 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
20962 * nss/Makefiles (routines): Add nss_hash.
20963 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
20964 * nss/nss_hash.c: Rename from nis/nis_hash.c.
20965 (__nss_hash): Rename from __nis_hash. Define hidden alias.
20966 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
20968 2017-11-23 Florian Weimer <fweimer@redhat.com>
20971 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
20972 Return error code, not -1.
20973 * signal/tst-sigwait-eintr.c: New file.
20974 * signal/Makefile (tests): Add tst-sigwait-eintr.
20976 2017-11-23 Florian Weimer <fweimer@redhat.com>
20978 Linux: Add memfd_create system call wrapper
20979 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
20981 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
20982 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
20983 [__USE_GNU] (memfd_create): Declare.
20984 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
20985 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
20986 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
20987 * sysdeps/unix/sysv/linux/**.abilist: Update.
20988 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
20990 2017-11-22 Joseph Myers <joseph@codesourcery.com>
20992 * localedata/gen-locale.sh: Fix typo in variable name.
20994 * resolv/res_debug.c (p_secstodate): Condition definition on
20995 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
20996 directly as __p_secstodate, and as a compat symbol. Do not use
20997 libresolv_hidden_def.
20998 * resolv/resolv.h (p_secstodate): Remove macro and function
21000 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
21001 using p_secstodate.
21002 * include/resolv.h (__p_secstodate): Do not use
21003 libresolv_hidden_proto.
21004 * resolv/Makefile (tests): Move tst-p_secstodate to ....
21005 (tests-internal): ... here.
21006 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
21007 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
21008 and declare and use __p_secstodate and use compat_symbol_reference
21010 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
21011 implementation returning 77.
21014 * resolv/res_debug.c: Include <libc-diag.h>.
21015 (p_secstodate): Assert time_t at least as wide as u_long. On
21016 overflow, use integer seconds since the epoch as output, or use
21017 "<overflow>" as output and set errno to EOVERFLOW if integer
21018 seconds since the epoch would be 14 or more characters.
21019 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
21021 * resolv/tst-p_secstodate.c: New file.
21022 * resolv/Makefile (tests): Add tst-p_secstodate.
21023 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
21025 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
21026 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
21027 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
21029 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
21031 * posix/regcomp.c (init_word_char): Add comments.
21033 2017-11-22 Joseph Myers <joseph@codesourcery.com>
21036 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
21037 strlen to compute length of ut_user and set trailing NUL byte of
21040 2017-11-21 Mike FABIAN <mfabian@redhat.com>
21043 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
21044 using “copy "iso14651_t1"” and then implementing the
21045 collation rules for lv from CLDR on top of that.
21046 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
21047 of locales to be built for testing.
21048 * lv_LV.UTF-8.in: New file with test data to test the Latvian
21051 2017-11-21 Joseph Myers <joseph@codesourcery.com>
21053 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21054 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
21055 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
21056 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
21057 [__USE_MISC] (MADV_HWPOISON): New macro.
21058 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
21060 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21062 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
21063 -Wmissing-braces on GCC 4.9.
21065 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21067 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
21068 * sysdeps/s390/s390-32/start.S (_start): Likewise
21069 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
21070 (thread_start): Likewise.
21071 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
21072 (thread_start): Likewise.
21073 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
21074 (__makecontext_ret): Likewise.
21075 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
21076 (__makecontext_ret): Likewise.
21078 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
21080 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
21081 __wcschrnul): Remove attribute_hidden.
21083 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
21085 regex: don't assume uint64_t or uint32_t
21086 This avoids -Werror=overflow errors for 32-bit systems in
21087 the 64-bit case. Problem reported by Joseph Myers in:
21088 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
21089 Also, when this code is used in Gnulib it ports to platforms
21090 that lack uint64_t and uint32_t. The C standard doesn't guarantee
21091 them, and on some 32-bit compilers there is no uint64_t.
21092 Problem reported by Gianluigi Tiesi in:
21093 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
21094 * posix/regcomp.c (init_word_char): Don't assume that the types
21095 uint64_t and uint32_t exist. Adapted from Gnulib patch
21096 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
21097 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
21099 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
21101 * sysdeps/aarch64/memset-reg.h: New file.
21102 * sysdeps/aarch64/memset.S: Use it.
21103 (__memset): Rename to MEMSET macro.
21104 [ZVA_MACRO]: Use zva_macro.
21105 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
21106 Add memset_generic and memset_falkor.
21107 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
21108 (__libc_ifunc_impl_list): Add memset ifuncs.
21109 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
21110 local variable zva_size.
21111 * sysdeps/aarch64/multiarch/memset.c: New file.
21112 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
21113 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
21114 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
21115 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
21116 (DCZID_DZP_MASK): New macro.
21117 (DCZID_BS_MASK): Likewise.
21118 (init_cpu_features): Read and set zva_size.
21119 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
21120 (struct cpu_features): New member zva_size.
21122 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
21123 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
21124 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
21126 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
21127 backwards. Fix timing computation.
21128 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
21129 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
21130 on memset by N at a time. Fix timing computation.
21132 2017-11-20 Florian Weimer <fweimer@redhat.com>
21134 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
21135 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
21137 2017-11-19 Florian Weimer <fweimer@redhat.com>
21139 manual: Document mprotect
21140 * manual/memory.texi (Memory Protection): New section.
21141 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
21142 documentation of PROT_* flags and reference the Memory Protection
21145 2017-11-19 Florian Weimer <fweimer@redhat.com>
21147 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
21148 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
21149 (Scatter-Gather): ... to here. Remove misleading comment.
21151 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
21153 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
21156 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
21157 when /proc/<pid>/setgroups does not exist.
21159 2017-11-18 Florian Weimer <fweimer@redhat.com>
21161 * sysdeps/unix/sysv/linux/tst-ttyname.c
21162 (become_root_in_mount_ns): Remove.
21163 (do_in_chroot_1): Call support_enter_mount_namespace.
21164 (do_in_chroot_2): Likewise.
21165 (do_test): Call support_become_root early.
21167 2017-11-18 Florian Weimer <fweimer@redhat.com>
21169 * support/namespace.h (support_enter_mount_namespace): Declare.
21170 * support/support_enter_mount_namespace.c: New file.
21171 * support/Makefile (libsupport-routines): Add
21172 support_enter_mount_namespace.
21174 2017-11-18 Florian Weimer <fweimer@redhat.com>
21176 * support/temp_file.c (support_create_temp_directory): Use
21177 test_dir and do not rely on the presence of the XXXXXX suffix.
21178 * support/temp_file.h (support_create_temp_directory): Update
21180 * support/tst-xreadlink.c (do_test): Adjust.
21181 * support/support_chroot.c (support_chroot_create): Likewise.
21183 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21185 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
21187 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
21190 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21192 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21193 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21194 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21195 (ceill): Define using libm_alias_ldouble.
21196 * sysdeps/x86_64/fpu/s_copysignl.S: Include
21197 <libm-alias-ldouble.h>.
21198 (copysignl): Define using libm_alias_ldouble.
21199 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21200 (fabsl): Define using libm_alias_ldouble.
21201 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21202 (floorl): Define using libm_alias_ldouble.
21203 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21204 (fmaxl): Define using libm_alias_ldouble.
21205 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21206 (fminl): Define using libm_alias_ldouble.
21207 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21208 (llrintl): Define using libm_alias_ldouble.
21209 (lrintl): Likewise.
21210 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
21211 <libm-alias-ldouble.h>.
21212 (nearbyintl): Define using libm_alias_ldouble.
21213 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21214 (truncl): Define using libm_alias_ldouble.
21215 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
21216 <libm-alias-ldouble.h>.
21217 (lrintl): Define using libm_alias_ldouble.
21219 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
21220 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
21221 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
21222 (asinhl): Define using libm_alias_ldouble.
21223 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
21224 (atanl): Define using libm_alias_ldouble.
21225 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
21226 (cbrtl): Define using libm_alias_ldouble.
21227 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
21228 (ceill): Define using libm_alias_ldouble.
21229 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
21230 (copysignl): Define using libm_alias_ldouble.
21231 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
21232 (fabsl): Define using libm_alias_ldouble.
21233 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
21234 (floorl): Define using libm_alias_ldouble.
21235 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21236 (fmaxl): Define using libm_alias_ldouble.
21237 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21238 (fminl): Define using libm_alias_ldouble.
21239 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
21240 (frexpl): Define using libm_alias_ldouble.
21241 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
21242 (llrintl): Define using libm_alias_ldouble.
21243 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
21244 (logbl): Define using libm_alias_ldouble.
21245 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
21246 (lrintl): Define using libm_alias_ldouble.
21247 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
21248 (nearbyintl): Define using libm_alias_ldouble.
21249 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
21250 (nextafterl): Define using libm_alias_ldouble.
21251 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
21252 (remquol): Define using libm_alias_ldouble.
21253 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
21254 (rintl): Define using libm_alias_ldouble.
21255 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
21256 (truncl): Define using libm_alias_ldouble.
21257 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
21258 (fmaxl): Define using libm_alias_ldouble.
21259 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
21260 (fminl): Define using libm_alias_ldouble.
21262 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
21263 to C syntax instead of availability and properties of types.
21264 * bits/floatn.h [!__ASSEMBLER]: Likewise.
21265 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
21266 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
21267 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
21268 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
21269 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
21271 2017-11-17 Florian Weimer <fweimer@redhat.com>
21273 support_become_root: Enable file creation in namespaces.
21274 * support/support_become_root.c (setup_mapping): New function.
21275 (support_become_root): Call it.
21277 2017-11-17 Joseph Myers <joseph@codesourcery.com>
21279 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
21282 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21284 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
21285 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
21287 2017-11-16 Joseph Myers <joseph@codesourcery.com>
21289 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
21291 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21294 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
21296 * INSTALL: Fix botched up regeneration.
21298 * NEWS: Update sourceare link to https.
21299 * configure.ac: Likewise.
21300 * crypt/md5test-giant.c: Likewise.
21301 * dlfcn/bug-atexit1.c: Likewise.
21302 * dlfcn/bug-atexit2.c: Likewise.
21303 * localedata/README: Likewise.
21304 * malloc/tst-mallocfork.c: Likewise.
21305 * manual/install.texi: Likewise.
21306 * nptl/tst-pthread-getattr.c: Likewise.
21307 * stdio-common/tst-fgets.c: Likewise.
21308 * stdio-common/tst-fwrite.c: Likewise.
21309 * sunrpc/Makefile: Likewise.
21310 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
21311 * wcsmbs/tst-mbrtowc2.c: Likewise.
21312 * configure: Regenerate.
21313 * INSTALL: Regenerate.
21315 2017-11-15 Martin Sebor <msebor@redhat.com>
21317 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
21318 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
21319 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
21321 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21324 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
21325 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
21328 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
21329 Defer is_pty check until end of the function.
21330 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21333 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
21334 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
21335 (ttyname): Likewise.
21336 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
21337 (__ttyname_r): Likewise.
21339 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
21342 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
21344 * manual/terminal.texi (Is It a Terminal):
21345 Mention ENODEV for ttyname and ttyname_r.
21347 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21349 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
21350 constant and macro.
21352 * sysdeps/unix/sysv/linux/bits/mman-linux.h
21353 [__USE_MISC] (MADV_WIPEONFORK): New macro.
21354 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21355 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
21356 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
21357 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
21359 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21361 * signal/sigrelse.c (sigrelse): Optimize implementation.
21363 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
21364 (__sigpause): Rely on __sigsuspend to implement single thread
21365 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
21367 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21369 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
21370 kernel version to 4.14.
21372 2017-11-15 Steve Ellcey <sellcey@cavium.com>
21375 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
21376 Check if ifname is too long.
21378 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
21380 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
21382 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21384 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
21385 was accidentally lost.
21387 2017-11-15 Mike FABIAN <mfabian@redhat.com>
21389 * localedata/locales/az_IR: Add standard copyright header.
21391 2017-11-15 Florian Weimer <fweimer@redhat.com>
21394 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
21395 not just the top one. Output a new "subheaps" statistic.
21397 2017-11-15 Florian Weimer <fweimer@redhat.com>
21400 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
21401 under the per-arena lock.
21402 * malloc/Makefile (tests): Add tst-malloc_info.
21403 (tst-malloc_info): Link with libpthread.
21404 * malloc/tst-malloc_info.c: New file.
21406 2017-11-15 Joseph Myers <joseph@codesourcery.com>
21409 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
21410 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
21411 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
21412 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
21413 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
21414 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
21415 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
21416 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
21417 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
21418 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
21419 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
21420 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
21421 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
21422 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
21423 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
21424 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
21425 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
21426 (__floating_type): Likewise.
21427 (__real_integer_type): Likewise.
21428 (__complex_integer_type): Likewise.
21429 (__expr_is_real): Likewise.
21430 (__tgmath_real_type_sub): Likewise.
21431 (__tgmath_real_type): Likewise.
21432 (__tgmath_complex_type_sub): Likewise.
21433 (__tgmath_complex_type): Likewise.
21434 (__TGMATH_F128): Likewise.
21435 (__TGMATH_CF128): Likewise.
21436 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
21438 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
21439 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
21441 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
21443 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
21444 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
21445 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
21446 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
21448 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
21449 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
21451 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
21452 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
21453 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
21455 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
21456 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
21457 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
21461 2017-11-14 Joseph Myers <joseph@codesourcery.com>
21463 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
21464 for stpncpy calls for GCC 8.
21465 (test_strncat): Disable -Wstringop-truncation warning for strncat
21466 calls for GCC 8. Disable -Wstringop-overflow= warning for one
21467 strncat call for GCC 7.
21468 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
21470 (test_memcmp): Use memcpy instead of strncpy for calls not copying
21473 * string/bug-strncat1.c: Include <libc-diag.h>.
21474 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
21476 2017-11-13 Claude Paroz <claude@2xlibre.net>
21479 * localedata/locales/aa_DJ: Improved readibility by replacing
21480 <Uxxxx> sequences in the ASCII printable range by their ASCII
21481 character equivalents.
21482 * localedata/locales/aa_ER: Likewise.
21483 * localedata/locales/aa_ER@saaho: Likewise.
21484 * localedata/locales/aa_ET: Likewise.
21485 * localedata/locales/af_ZA: Likewise.
21486 * localedata/locales/agr_PE: Likewise.
21487 * localedata/locales/ak_GH: Likewise.
21488 * localedata/locales/am_ET: Likewise.
21489 * localedata/locales/anp_IN: Likewise.
21490 * localedata/locales/ar_AE: Likewise.
21491 * localedata/locales/ar_BH: Likewise.
21492 * localedata/locales/ar_DZ: Likewise.
21493 * localedata/locales/ar_EG: Likewise.
21494 * localedata/locales/ar_IN: Likewise.
21495 * localedata/locales/ar_IQ: Likewise.
21496 * localedata/locales/ar_JO: Likewise.
21497 * localedata/locales/ar_KW: Likewise.
21498 * localedata/locales/ar_LB: Likewise.
21499 * localedata/locales/ar_LY: Likewise.
21500 * localedata/locales/ar_MA: Likewise.
21501 * localedata/locales/ar_OM: Likewise.
21502 * localedata/locales/ar_QA: Likewise.
21503 * localedata/locales/ar_SA: Likewise.
21504 * localedata/locales/ar_SD: Likewise.
21505 * localedata/locales/ar_SS: Likewise.
21506 * localedata/locales/ar_SY: Likewise.
21507 * localedata/locales/ar_TN: Likewise.
21508 * localedata/locales/ar_YE: Likewise.
21509 * localedata/locales/as_IN: Likewise.
21510 * localedata/locales/ast_ES: Likewise.
21511 * localedata/locales/ayc_PE: Likewise.
21512 * localedata/locales/az_AZ: Likewise.
21513 * localedata/locales/az_IR: Likewise.
21514 * localedata/locales/be_BY: Likewise.
21515 * localedata/locales/be_BY@latin: Likewise.
21516 * localedata/locales/bem_ZM: Likewise.
21517 * localedata/locales/ber_DZ: Likewise.
21518 * localedata/locales/ber_MA: Likewise.
21519 * localedata/locales/bg_BG: Likewise.
21520 * localedata/locales/bhb_IN: Likewise.
21521 * localedata/locales/bho_IN: Likewise.
21522 * localedata/locales/bi_VU: Likewise.
21523 * localedata/locales/bn_BD: Likewise.
21524 * localedata/locales/bn_IN: Likewise.
21525 * localedata/locales/bo_CN: Likewise.
21526 * localedata/locales/bo_IN: Likewise.
21527 * localedata/locales/br_FR: Likewise.
21528 * localedata/locales/brx_IN: Likewise.
21529 * localedata/locales/bs_BA: Likewise.
21530 * localedata/locales/byn_ER: Likewise.
21531 * localedata/locales/ca_AD: Likewise.
21532 * localedata/locales/ca_ES: Likewise.
21533 * localedata/locales/ca_FR: Likewise.
21534 * localedata/locales/ca_IT: Likewise.
21535 * localedata/locales/ce_RU: Likewise.
21536 * localedata/locales/chr_US: Likewise.
21537 * localedata/locales/cmn_TW: Likewise.
21538 * localedata/locales/crh_UA: Likewise.
21539 * localedata/locales/cs_CZ: Likewise.
21540 * localedata/locales/csb_PL: Likewise.
21541 * localedata/locales/cv_RU: Likewise.
21542 * localedata/locales/cy_GB: Likewise.
21543 * localedata/locales/da_DK: Likewise.
21544 * localedata/locales/de_AT: Likewise.
21545 * localedata/locales/de_BE: Likewise.
21546 * localedata/locales/de_CH: Likewise.
21547 * localedata/locales/de_DE: Likewise.
21548 * localedata/locales/de_IT: Likewise.
21549 * localedata/locales/de_LI: Likewise.
21550 * localedata/locales/de_LU: Likewise.
21551 * localedata/locales/doi_IN: Likewise.
21552 * localedata/locales/dv_MV: Likewise.
21553 * localedata/locales/dz_BT: Likewise.
21554 * localedata/locales/el_CY: Likewise.
21555 * localedata/locales/el_GR: Likewise.
21556 * localedata/locales/en_AG: Likewise.
21557 * localedata/locales/en_AU: Likewise.
21558 * localedata/locales/en_BW: Likewise.
21559 * localedata/locales/en_CA: Likewise.
21560 * localedata/locales/en_DK: Likewise.
21561 * localedata/locales/en_GB: Likewise.
21562 * localedata/locales/en_HK: Likewise.
21563 * localedata/locales/en_IE: Likewise.
21564 * localedata/locales/en_IL: Likewise.
21565 * localedata/locales/en_IN: Likewise.
21566 * localedata/locales/en_NG: Likewise.
21567 * localedata/locales/en_NZ: Likewise.
21568 * localedata/locales/en_PH: Likewise.
21569 * localedata/locales/en_SG: Likewise.
21570 * localedata/locales/en_US: Likewise.
21571 * localedata/locales/en_ZA: Likewise.
21572 * localedata/locales/en_ZM: Likewise.
21573 * localedata/locales/en_ZW: Likewise.
21574 * localedata/locales/eo: Likewise.
21575 * localedata/locales/es_AR: Likewise.
21576 * localedata/locales/es_BO: Likewise.
21577 * localedata/locales/es_CL: Likewise.
21578 * localedata/locales/es_CO: Likewise.
21579 * localedata/locales/es_CR: Likewise.
21580 * localedata/locales/es_CU: Likewise.
21581 * localedata/locales/es_DO: Likewise.
21582 * localedata/locales/es_EC: Likewise.
21583 * localedata/locales/es_ES: Likewise.
21584 * localedata/locales/es_GT: Likewise.
21585 * localedata/locales/es_HN: Likewise.
21586 * localedata/locales/es_MX: Likewise.
21587 * localedata/locales/es_NI: Likewise.
21588 * localedata/locales/es_PA: Likewise.
21589 * localedata/locales/es_PE: Likewise.
21590 * localedata/locales/es_PR: Likewise.
21591 * localedata/locales/es_PY: Likewise.
21592 * localedata/locales/es_SV: Likewise.
21593 * localedata/locales/es_US: Likewise.
21594 * localedata/locales/es_UY: Likewise.
21595 * localedata/locales/es_VE: Likewise.
21596 * localedata/locales/et_EE: Likewise.
21597 * localedata/locales/eu_ES: Likewise.
21598 * localedata/locales/eu_ES@euro: Likewise.
21599 * localedata/locales/fa_IR: Likewise.
21600 * localedata/locales/ff_SN: Likewise.
21601 * localedata/locales/fi_FI: Likewise.
21602 * localedata/locales/fil_PH: Likewise.
21603 * localedata/locales/fo_FO: Likewise.
21604 * localedata/locales/fr_BE: Likewise.
21605 * localedata/locales/fr_CA: Likewise.
21606 * localedata/locales/fr_CH: Likewise.
21607 * localedata/locales/fr_FR: Likewise.
21608 * localedata/locales/fr_LU: Likewise.
21609 * localedata/locales/fur_IT: Likewise.
21610 * localedata/locales/fy_DE: Likewise.
21611 * localedata/locales/fy_NL: Likewise.
21612 * localedata/locales/ga_IE: Likewise.
21613 * localedata/locales/gd_GB: Likewise.
21614 * localedata/locales/gez_ER: Likewise.
21615 * localedata/locales/gez_ET: Likewise.
21616 * localedata/locales/gl_ES: Likewise.
21617 * localedata/locales/gu_IN: Likewise.
21618 * localedata/locales/gv_GB: Likewise.
21619 * localedata/locales/ha_NG: Likewise.
21620 * localedata/locales/hak_TW: Likewise.
21621 * localedata/locales/he_IL: Likewise.
21622 * localedata/locales/hi_IN: Likewise.
21623 * localedata/locales/hif_FJ: Likewise.
21624 * localedata/locales/hne_IN: Likewise.
21625 * localedata/locales/hr_HR: Likewise.
21626 * localedata/locales/hsb_DE: Likewise.
21627 * localedata/locales/ht_HT: Likewise.
21628 * localedata/locales/hu_HU: Likewise.
21629 * localedata/locales/hy_AM: Likewise.
21630 * localedata/locales/i18n: Likewise.
21631 * localedata/locales/ia_FR: Likewise.
21632 * localedata/locales/id_ID: Likewise.
21633 * localedata/locales/ig_NG: Likewise.
21634 * localedata/locales/ik_CA: Likewise.
21635 * localedata/locales/is_IS: Likewise.
21636 * localedata/locales/it_CH: Likewise.
21637 * localedata/locales/it_IT: Likewise.
21638 * localedata/locales/iu_CA: Likewise.
21639 * localedata/locales/ja_JP: Likewise.
21640 * localedata/locales/ka_GE: Likewise.
21641 * localedata/locales/kk_KZ: Likewise.
21642 * localedata/locales/kl_GL: Likewise.
21643 * localedata/locales/kn_IN: Likewise.
21644 * localedata/locales/ko_KR: Likewise.
21645 * localedata/locales/kok_IN: Likewise.
21646 * localedata/locales/ks_IN: Likewise.
21647 * localedata/locales/ks_IN@devanagari: Likewise.
21648 * localedata/locales/ku_TR: Likewise.
21649 * localedata/locales/kw_GB: Likewise.
21650 * localedata/locales/ky_KG: Likewise.
21651 * localedata/locales/lb_LU: Likewise.
21652 * localedata/locales/lg_UG: Likewise.
21653 * localedata/locales/li_BE: Likewise.
21654 * localedata/locales/li_NL: Likewise.
21655 * localedata/locales/lij_IT: Likewise.
21656 * localedata/locales/ln_CD: Likewise.
21657 * localedata/locales/lo_LA: Likewise.
21658 * localedata/locales/lt_LT: Likewise.
21659 * localedata/locales/lv_LV: Likewise.
21660 * localedata/locales/lzh_TW: Likewise.
21661 * localedata/locales/mag_IN: Likewise.
21662 * localedata/locales/mai_IN: Likewise.
21663 * localedata/locales/mg_MG: Likewise.
21664 * localedata/locales/mhr_RU: Likewise.
21665 * localedata/locales/mi_NZ: Likewise.
21666 * localedata/locales/mk_MK: Likewise.
21667 * localedata/locales/ml_IN: Likewise.
21668 * localedata/locales/mn_MN: Likewise.
21669 * localedata/locales/mni_IN: Likewise.
21670 * localedata/locales/mr_IN: Likewise.
21671 * localedata/locales/ms_MY: Likewise.
21672 * localedata/locales/mt_MT: Likewise.
21673 * localedata/locales/my_MM: Likewise.
21674 * localedata/locales/nan_TW: Likewise.
21675 * localedata/locales/nan_TW@latin: Likewise.
21676 * localedata/locales/nb_NO: Likewise.
21677 * localedata/locales/nds_DE: Likewise.
21678 * localedata/locales/nds_NL: Likewise.
21679 * localedata/locales/ne_NP: Likewise.
21680 * localedata/locales/nhn_MX: Likewise.
21681 * localedata/locales/niu_NU: Likewise.
21682 * localedata/locales/niu_NZ: Likewise.
21683 * localedata/locales/nl_AW: Likewise.
21684 * localedata/locales/nl_BE: Likewise.
21685 * localedata/locales/nl_NL: Likewise.
21686 * localedata/locales/nn_NO: Likewise.
21687 * localedata/locales/nr_ZA: Likewise.
21688 * localedata/locales/nso_ZA: Likewise.
21689 * localedata/locales/oc_FR: Likewise.
21690 * localedata/locales/om_ET: Likewise.
21691 * localedata/locales/om_KE: Likewise.
21692 * localedata/locales/or_IN: Likewise.
21693 * localedata/locales/os_RU: Likewise.
21694 * localedata/locales/pa_IN: Likewise.
21695 * localedata/locales/pa_PK: Likewise.
21696 * localedata/locales/pap_AW: Likewise.
21697 * localedata/locales/pap_CW: Likewise.
21698 * localedata/locales/pl_PL: Likewise.
21699 * localedata/locales/ps_AF: Likewise.
21700 * localedata/locales/pt_BR: Likewise.
21701 * localedata/locales/pt_PT: Likewise.
21702 * localedata/locales/quz_PE: Likewise.
21703 * localedata/locales/raj_IN: Likewise.
21704 * localedata/locales/ro_RO: Likewise.
21705 * localedata/locales/ru_RU: Likewise.
21706 * localedata/locales/ru_UA: Likewise.
21707 * localedata/locales/rw_RW: Likewise.
21708 * localedata/locales/sa_IN: Likewise.
21709 * localedata/locales/sat_IN: Likewise.
21710 * localedata/locales/sc_IT: Likewise.
21711 * localedata/locales/sd_IN: Likewise.
21712 * localedata/locales/sd_IN@devanagari: Likewise.
21713 * localedata/locales/se_NO: Likewise.
21714 * localedata/locales/sgs_LT: Likewise.
21715 * localedata/locales/shs_CA: Likewise.
21716 * localedata/locales/si_LK: Likewise.
21717 * localedata/locales/sid_ET: Likewise.
21718 * localedata/locales/sk_SK: Likewise.
21719 * localedata/locales/sl_SI: Likewise.
21720 * localedata/locales/sm_WS: Likewise.
21721 * localedata/locales/so_DJ: Likewise.
21722 * localedata/locales/so_ET: Likewise.
21723 * localedata/locales/so_KE: Likewise.
21724 * localedata/locales/so_SO: Likewise.
21725 * localedata/locales/sq_AL: Likewise.
21726 * localedata/locales/sq_MK: Likewise.
21727 * localedata/locales/sr_ME: Likewise.
21728 * localedata/locales/sr_RS: Likewise.
21729 * localedata/locales/sr_RS@latin: Likewise.
21730 * localedata/locales/ss_ZA: Likewise.
21731 * localedata/locales/st_ZA: Likewise.
21732 * localedata/locales/sv_FI: Likewise.
21733 * localedata/locales/sv_SE: Likewise.
21734 * localedata/locales/sw_KE: Likewise.
21735 * localedata/locales/sw_TZ: Likewise.
21736 * localedata/locales/szl_PL: Likewise.
21737 * localedata/locales/ta_IN: Likewise.
21738 * localedata/locales/ta_LK: Likewise.
21739 * localedata/locales/tcy_IN: Likewise.
21740 * localedata/locales/te_IN: Likewise.
21741 * localedata/locales/tg_TJ: Likewise.
21742 * localedata/locales/th_TH: Likewise.
21743 * localedata/locales/the_NP: Likewise.
21744 * localedata/locales/ti_ER: Likewise.
21745 * localedata/locales/ti_ET: Likewise.
21746 * localedata/locales/tig_ER: Likewise.
21747 * localedata/locales/tk_TM: Likewise.
21748 * localedata/locales/tl_PH: Likewise.
21749 * localedata/locales/tn_ZA: Likewise.
21750 * localedata/locales/to_TO: Likewise.
21751 * localedata/locales/tpi_PG: Likewise.
21752 * localedata/locales/tr_CY: Likewise.
21753 * localedata/locales/tr_TR: Likewise.
21754 * localedata/locales/ts_ZA: Likewise.
21755 * localedata/locales/tt_RU: Likewise.
21756 * localedata/locales/tt_RU@iqtelif: Likewise.
21757 * localedata/locales/ug_CN: Likewise.
21758 * localedata/locales/uk_UA: Likewise.
21759 * localedata/locales/unm_US: Likewise.
21760 * localedata/locales/ur_IN: Likewise.
21761 * localedata/locales/ur_PK: Likewise.
21762 * localedata/locales/uz_UZ: Likewise.
21763 * localedata/locales/uz_UZ@cyrillic: Likewise.
21764 * localedata/locales/ve_ZA: Likewise.
21765 * localedata/locales/vi_VN: Likewise.
21766 * localedata/locales/wa_BE: Likewise.
21767 * localedata/locales/wae_CH: Likewise.
21768 * localedata/locales/wal_ET: Likewise.
21769 * localedata/locales/wo_SN: Likewise.
21770 * localedata/locales/xh_ZA: Likewise.
21771 * localedata/locales/yi_US: Likewise.
21772 * localedata/locales/yo_NG: Likewise.
21773 * localedata/locales/yue_HK: Likewise.
21774 * localedata/locales/yuw_PG: Likewise.
21775 * localedata/locales/zh_CN: Likewise.
21776 * localedata/locales/zh_HK: Likewise.
21777 * localedata/locales/zh_SG: Likewise.
21778 * localedata/locales/zh_TW: Likewise.
21779 * localedata/locales/zu_ZA: Likewise.
21781 2017-11-13 Florian Weimer <fweimer@redhat.com>
21783 * support/next_to_fault.h, support/next_to_fault.c: New files.
21784 * support/Makefile (libsupport-routines): Add next_to_fault.
21785 * resolv/tst-inet_pton.c (struct next_to_fault)
21786 (next_to_fault_allocate, next_to_fault_free): Remove.
21787 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
21789 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
21791 * elf/dl-support.c: Include <dl-procruntime.c>.
21792 * include/link.h: Include <link_map.h>.
21793 * sysdeps/generic/dl-procruntime.c: New file.
21794 * sysdeps/generic/link_map.h: Likewise.
21795 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
21796 the writable ld.so namespace.
21798 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
21800 timezone: pacify GCC -Wstringop-truncation
21801 Problem reported by Martin Sebor in:
21802 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
21803 * timezone/zic.c (writezone): Use memcpy, not strncpy.
21805 2017-11-12 Florian Weimer <fweimer@redhat.com>
21807 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
21809 (tests): Add tst-xreadlink.
21810 * support/support.h (xstrndup): Declare.
21811 * support/xunistd.h (xunlink, xreadlink): Declare.
21812 * support/temp_file.h (support_create_temp_directory): Declare.
21813 * support/temp_file.c (support_create_temp_directory): New function.
21814 * support/support_chroot.c (support_chroot_create): Use it.
21815 * support/xreadlink.c: New file.
21816 * support/xstrndup.c: Likewise.
21817 * support/xunlink.c: Likewise.
21818 * support/tst-xreadlink.c: Likewise.
21820 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
21822 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
21824 2017-11-11 Florian Weimer <fweimer@redhat.com>
21828 * resolv/res_comp.c (printable_string, binary_hnok)
21829 (binary_leading_dash): New functions.
21830 (res_hnok): Reimplement using these functions and ns_name_pton.
21831 (res_ownok): Likewise.
21832 (res_mailok): Reimplement using printable_string, ns_name_pton and
21834 (res_dnok): Reimplement using printable_string and ns_name_pton.
21835 * resolv/tst-res_hnok.c (tests): Add additional tests.
21836 (LETTERDIGITS, PRINTABLE): Define.
21837 (do_test): Adjust one_char results.
21839 2017-11-11 Florian Weimer <fweimer@redhat.com>
21842 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
21843 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
21845 2017-11-11 Florian Weimer <fweimer@redhat.com>
21847 * resolv/tst-ns_name_pton.c: New file.
21848 * resolv/Makefile (tests): Add tst-ns_name_pton.
21849 (tst-ns_name_pton): Link against libresolv.
21851 2017-11-11 Florian Weimer <fweimer@redhat.com>
21853 * resolv/tst-res_hnok.c: New file.
21854 * resolv/Makefile (tests): Add tst-res_hnok.
21855 (tst-res_hnok): Link against libresolv.
21857 2017-11-11 Florian Weimer <fweimer@redhat.com>
21859 * resolv/tst-resolv-network.c: Use test framework instead explicit
21862 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
21864 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
21865 <jmp_buf-macros.h>.
21866 [!_ISOMAC] (STR_HELPER): New.
21867 [!_ISOMAC] (STR): Likewise.
21868 [!_ISOMAC] (TEST_SIZE): Likewise.
21869 [!_ISOMAC] (TEST_ALIGN): Likewise.
21870 [!_ISOMAC] (TEST_OFFSET): Likewise.
21871 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
21872 field offsets of jmp_buf as well as sigjmp_buf.
21873 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
21874 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
21875 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
21876 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
21877 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
21878 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
21879 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
21880 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
21881 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
21882 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
21884 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
21886 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
21887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
21889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
21891 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
21892 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
21893 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
21894 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
21895 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
21896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
21898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
21900 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
21901 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
21902 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
21904 2017-11-07 Joseph Myers <joseph@codesourcery.com>
21907 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21908 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
21909 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21910 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
21911 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21912 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
21913 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21914 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
21915 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21916 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
21917 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21918 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
21919 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21920 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
21921 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21922 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
21923 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21924 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
21925 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21926 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
21927 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21928 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
21929 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21930 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
21931 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21932 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
21933 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21934 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
21935 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21936 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
21937 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21938 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
21939 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21940 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
21941 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21942 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
21943 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21944 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
21945 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21946 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
21947 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21948 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
21949 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21950 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
21951 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21952 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
21953 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21954 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
21955 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21956 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
21957 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21958 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
21959 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21960 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
21961 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21962 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
21963 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21964 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
21965 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21966 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
21967 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21968 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
21969 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21970 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
21971 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21972 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
21973 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21974 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
21975 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21976 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
21977 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21978 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
21979 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21980 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
21981 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21982 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
21983 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21984 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
21985 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21986 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
21987 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21988 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
21989 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21990 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
21991 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21992 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
21993 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
21994 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
21996 * stdlib/tst-strtod.h (F16): New macro.
22002 (IF_FLOAT16): Likewise.
22003 (IF_FLOAT32): Likewise.
22004 (IF_FLOAT64): Likewise.
22005 (IF_FLOAT32X): Likewise.
22006 (IF_FLOAT64X): Likewise.
22007 (IF_FLOAT128X): Likewise.
22008 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
22009 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
22010 (STRTOD_TEST_FOREACH): Likewise.
22011 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
22012 (CHOOSE_f64): Likewise.
22013 (CHOOSE_f32x): Likewise.
22014 (CHOOSE_f64x): Likewise.
22016 2017-11-07 Andreas Schwab <schwab@suse.de>
22018 * nptl/Makefile (tests-internal): Remove tst-typesizes.
22020 2017-11-07 Mike FABIAN <mfabian@redhat.com>
22023 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
22025 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
22028 2017-11-07 Claude Paroz <claude@2xlibre.net>
22031 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
22033 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
22035 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
22038 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22041 * nptl/allocatestack.c (allocate_stack): Check if
22042 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
22043 __PTHREAD_MUTEX_HAVE_PREV is defined.
22044 * nptl/descr.h (pthread): Likewise.
22045 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22047 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22048 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
22049 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
22050 * sysdeps/nptl/bits/thread-shared-types.h
22051 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22053 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
22054 of __WORDSIZE for internal layout.
22055 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
22056 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
22057 instead of __WORDSIZE whether to use an union for __spins and __list
22059 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
22061 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
22062 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
22064 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
22065 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22067 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
22068 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22070 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
22071 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22073 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
22074 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22076 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
22077 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22079 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
22080 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22082 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
22083 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22085 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
22086 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22088 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
22089 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22091 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
22092 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22094 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
22095 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22097 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
22098 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22100 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
22101 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22103 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
22104 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
22107 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
22109 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
22110 checks for expected input type size.
22111 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22112 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22114 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22115 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
22116 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22117 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
22118 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22119 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
22120 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
22121 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
22122 superflous runtime assert check.
22123 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
22125 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
22127 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
22129 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
22131 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
22133 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
22135 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
22136 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
22137 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22139 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22141 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22143 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
22145 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22147 * nptl/pthread_attr_setinheritsched.c
22148 (__pthread_attr_setinheritsched): Likewise.
22149 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
22151 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
22153 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
22154 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
22155 __old_pthread_attr_setstack): Likewise.
22156 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22158 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22160 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
22162 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22163 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22165 * nptl/tst-typesizes.c: Remove file.
22167 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
22168 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
22169 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
22170 checks for internal pthread_mutex_t offsets.
22171 * sysdeps/aarch64/nptl/pthread-offsets.h
22172 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
22173 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
22174 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
22175 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
22176 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
22177 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
22178 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
22179 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
22180 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
22181 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
22182 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
22183 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
22184 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
22185 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
22186 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
22187 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
22188 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
22189 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
22191 2017-11-07 Florian Weimer <fweimer@redhat.com>
22193 * bits/mman-linux.h: Move ...
22194 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
22196 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
22199 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22201 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
22202 Redefine STRNLEN as __strnlen_power8.
22204 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22206 * signal/sighold.c (sighold): Optimize implementation.
22208 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
22209 __NR_rt_sigqueueinfo.
22211 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
22213 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
22214 assume __NR_rt_sigtimedwait.
22215 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
22216 and add LIBC_CANCEL_HANDLED for cancellation marking.
22217 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22219 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22220 (sysdeps_routines): Add memchr_noneon.
22221 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
22222 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
22223 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
22224 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
22225 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
22226 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
22227 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
22229 * sysdeps/arm/arm-ifunc.h: New file.
22230 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
22231 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
22232 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
22233 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
22234 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
22235 (__memcpy_neon): Avoid create hidden alias.
22236 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
22237 (__memcpy_vfp): Likewise.
22238 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
22239 (sysdep_routines): Add memcpy_arm.
22240 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
22242 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
22245 * Makerules (make-link-multidir): New.
22246 * config.make.in (multidir): New.
22247 * configure.ac (libc_cv_multidir): New. AC_SUBST.
22248 * configure: Regenerated.
22249 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
22250 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
22251 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
22254 2017-11-06 Joseph Myers <joseph@codesourcery.com>
22257 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
22258 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
22260 2017-11-04 Mike FABIAN <mfabian@redhat.com>
22262 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
22265 2017-11-04 Florian Weimer <fweimer@redhat.com>
22267 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
22269 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22271 * math/math.h [__HAVE_DISTINCT_FLOAT16
22272 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22273 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22274 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22275 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
22276 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
22277 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
22278 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22279 (__MATH_TG_F32): New macro.
22280 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22281 (__MATH_TG_F64X): Likewise.
22282 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
22283 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
22285 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
22287 * po/de.po: Update translations.
22288 * po/ru.po: Likewise.
22290 2017-11-03 Florian Weimer <fweimer@redhat.com>
22292 * manual/filesys.texi (Hard Links): Document linkat.
22294 2017-11-03 Joseph Myers <joseph@codesourcery.com>
22296 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
22297 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
22298 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
22299 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
22300 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22301 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22302 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
22303 the same as _Float128.
22304 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
22305 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
22306 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
22309 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
22311 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
22313 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
22315 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22316 (strtof32x): Likewise.
22317 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22318 (strtof64x): Likewise.
22319 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22320 (strtof128x): Likewise.
22321 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22322 (strfromf16): Likewise.
22323 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22324 (strfromf32): Likewise.
22325 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22326 (strfromf64): Likewise.
22327 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22328 (strfromf32x): Likewise.
22329 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22330 (strfromf64x): Likewise.
22331 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22332 (strfromf128x): Likewise.
22333 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
22334 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
22335 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
22336 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
22337 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
22338 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
22340 2017-11-03 Richard Henderson <rth@twiddle.net>
22342 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
22344 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22346 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
22348 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22350 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
22351 DT_TLSDESC_GOT initialization.
22352 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
22353 (_dl_tlsdesc_resolve_hold): Likewise.
22354 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
22355 (_dl_tlsdesc_resolve_hold): Likewise.
22356 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
22357 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22359 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22361 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
22363 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22366 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
22367 non-lazily for R_ARM_TLS_DESC.
22369 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22372 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
22373 R_ARM_TLS_DESC case.
22374 (elf_machine_lazy_rel): Remove the prelink check.
22376 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22378 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
22379 DT_TLSDESC_GOT initialization.
22380 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
22381 (_dl_tlsdesc_resolve_rela): Likewise.
22382 (_dl_tlsdesc_resolve_hold): Likewise.
22383 (_dl_tlsdesc_undefweak): Remove ldar.
22384 (_dl_tlsdesc_dynamic): Likewise.
22385 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
22386 (_dl_tlsdesc_resolve_rela): Likewise.
22387 (_dl_tlsdesc_resolve_hold): Likewise.
22388 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
22389 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
22390 (_dl_tlsdesc_resolve_rela): Likewise.
22391 (_dl_tlsdesc_resolve_hold): Likewise.
22393 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22395 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
22396 binding and initialization non-lazily for R_AARCH64_TLSDESC.
22398 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
22400 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
22401 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22403 2017-11-02 Joseph Myers <joseph@codesourcery.com>
22405 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
22407 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
22408 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
22409 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
22410 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
22411 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
22412 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
22413 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
22414 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
22415 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
22416 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
22417 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
22419 2017-11-02 Mike FABIAN <mfabian@redhat.com>
22422 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
22423 * localedata/locales/tpi_PG: Add standard header.
22425 2017-11-02 Florian Weimer <fweimer@redhat.com>
22427 test-errno-linux: quotactl can fail with EPERM in containers.
22428 * sysdeps/unix/sysv/linux/test-errno-linux.c
22429 (LIST, LIST_FORWARD): New macros.
22430 (check_error_in_list): New function.
22431 (test_wrp_rv): Accept list of permitted error codes.
22432 (test_wrp_rv2): Remove.
22433 (test_wrp): Call test_wrp_rv with list of error codes.
22434 (test_wrp2): Accept list of error codes.
22435 (do_test): Adjust. Allow EPERM for quotactl.
22437 2017-11-02 Florian Weimer <fweimer@redhat.com>
22439 * stdio-common/bug16.c (do_test): Use array_length.
22440 * stdio-common/errlist.c (_sys_nerr): Likewise.
22441 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
22442 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
22443 * stdio-common/psiginfo.c (psiginfo): Use array_length.
22444 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
22445 (do_test): Use array_length.
22446 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
22447 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
22448 * stdio-common/tst-printf-round.c (do_test): Likewise.
22449 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
22450 (CHECK): Use array_length.
22451 * stdio-common/tstdiomisc.c (t3, F): Likewise.
22452 * stdio-common/tstscanf.c (main): Likewise.
22453 * stdio-common/vfprintf.c (process_string_arg): Likewise.
22455 2017-11-02 Florian Weimer <fweimer@redhat.com>
22457 Add array_length and array_end macros.
22458 * include/array_length.h: New file.
22460 2017-11-02 Florian Weimer <fweimer@redhat.com>
22463 * posix/tst-glob-tilde.c (do_noescape): New variable.
22464 (one_test): Process it.
22465 (do_test): Set do_noescape. Add unescaping test case.
22467 2017-11-01 Joseph Myers <joseph@codesourcery.com>
22470 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
22471 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
22472 with appropriate macros defined and undefined.
22473 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
22474 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22475 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
22476 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22477 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
22478 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22479 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
22480 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22481 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
22482 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
22485 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
22486 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
22487 that for long double. Do not condition define and undefine of
22488 _Mdouble_complex_ on [__CFLOAT128].
22490 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
22492 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22493 of <sysdeps/generic/sysdep.h>.
22494 (ALIGNARG): Removed.
22495 (ASM_SIZE_DIRECTIVE): Likewise.
22498 (ENTRY_CHK): Likewise.
22499 (END_CHK): Likewise.
22500 (syscall_error): Likewise.
22501 (mcount): Likewise.
22502 (PSEUDO_END): Likewise.
22504 (atom_text_section): Likewise.
22505 * sysdeps/x86/sysdep.h: New file.
22506 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
22507 of <sysdeps/generic/sysdep.h>.
22508 (ALIGNARG): Removed.
22509 (ASM_SIZE_DIRECTIVE): Likewise.
22512 (ENTRY_CHK): Likewise.
22513 (END_CHK): Likewise.
22514 (syscall_error): Likewise.
22515 (mcount): Likewise.
22516 (PSEUDO_END): Likewise.
22518 (atom_text_section): Likewise.
22520 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
22522 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
22523 category of LC_CTYPE set to "i18n:2012".
22524 * localedata/locales/i18n_ctype: Regenerate.
22526 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
22528 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
22529 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
22530 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22531 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22533 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
22534 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
22535 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
22536 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
22538 2017-10-31 Joseph Myers <joseph@codesourcery.com>
22541 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
22543 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
22545 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
22547 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22548 (CMPLXF32X): Likewise.
22549 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22550 (CMPLXF64X): Likewise.
22551 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22552 (CMPLXF128X): Likewise.
22555 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
22556 (__MATH_EVAL_FMT2): Define to add 0.0f.
22558 2017-10-31 Alan Modra <amodra@gmail.com>
22560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
22562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
22563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
22564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
22565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
22566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
22567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
22568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
22569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
22570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
22571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
22572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
22573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
22574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
22575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
22576 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
22577 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
22578 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
22579 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
22580 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
22581 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
22582 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
22583 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
22584 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
22585 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
22586 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22587 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
22588 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
22589 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
22590 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
22591 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
22592 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22593 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22594 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
22595 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
22596 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
22597 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
22598 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
22599 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
22600 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
22601 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22602 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
22603 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
22604 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
22605 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
22606 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
22607 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
22608 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
22609 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
22610 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22611 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22612 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
22613 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
22614 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
22615 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
22616 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22617 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
22618 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
22619 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
22620 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22621 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22622 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22623 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
22624 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
22625 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22626 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
22627 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
22628 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
22629 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
22630 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
22632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
22633 include sysdep.h and math_ldbl_opt.h.
22635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
22636 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
22637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
22638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
22639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
22640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
22641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
22642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
22643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
22644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
22645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
22646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
22647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
22648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
22649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
22650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
22651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
22652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
22653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
22654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
22655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
22656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
22657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
22658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
22659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
22660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
22662 2017-10-31 Alan Modra <amodra@gmail.com>
22664 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
22665 string/strncase_l.c, not string/strncase.c.
22666 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
22667 (libc_hidden_def): Redefine.
22669 2017-10-31 Alan Modra <amodra@gmail.com>
22671 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
22672 (__STRCMP, STRCMP, __strcasecmp_l): Define.
22673 (__strcasecmp): Don't define.
22675 2017-10-31 Alan Modra <amodra@gmail.com>
22677 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
22679 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
22680 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
22681 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
22683 2017-10-31 Alan Modra <amodra@gmail.com>
22685 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
22688 2017-10-31 Alan Modra <amodra@gmail.com>
22690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
22691 Redefine only when SHARED.
22693 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22695 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22696 Include <bits/math-finite.h> with appropriate macros defined and
22698 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22699 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22700 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22701 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22702 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22704 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
22705 [!_Mlong_double_] (_Mlong_double_): Likewise.
22706 [!_Mfloat16_] (_Mfloat16_): Likewise.
22707 [!_Mfloat32_] (_Mfloat32_): Likewise.
22708 [!_Mfloat64_] (_Mfloat64_): Likewise.
22709 [!_Mfloat128_] (_Mfloat128_): Likewise.
22710 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
22711 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
22712 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
22713 (_Mdouble_): Define without indirection through those macros.
22714 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
22715 [!_Mfloat128_] (_Mfloat128_): Likewise.
22716 [_Mlong_double_] (_Mlong_double_): Likewise.
22717 (_Mdouble_): Define without indirection through those macros.
22718 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
22719 not add -D_Mlong_double_=double.
22720 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
22721 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
22723 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22725 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
22727 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22729 * sysdeps/x86/libc-start.c: Reformat.
22731 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
22734 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
22735 (1): Renamed to ...
22738 (L(Src2)): Likewise.
22739 (L(1)): Renamed to ...
22742 2017-10-30 Joseph Myers <joseph@codesourcery.com>
22744 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
22745 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
22746 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
22747 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
22748 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
22749 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
22750 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
22751 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
22752 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
22753 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
22754 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
22755 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
22756 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
22757 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
22758 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
22759 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
22760 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
22761 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
22762 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
22763 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
22764 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
22765 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
22766 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
22767 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
22768 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
22769 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
22770 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
22771 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
22772 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
22773 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
22774 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
22775 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
22776 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
22777 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
22778 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
22779 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
22780 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
22781 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
22782 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
22783 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
22784 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
22785 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
22786 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
22787 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
22788 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
22789 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
22790 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
22791 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
22792 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
22793 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
22794 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
22795 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
22796 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
22797 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
22798 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
22799 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
22800 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
22801 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
22802 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
22803 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
22804 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
22805 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
22806 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
22807 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
22808 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
22809 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
22811 2017-10-30 Florian Weimer <fweimer@redhat.com>
22813 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
22815 * io/tst-mkdirat.c (do_test): Likewise.
22816 * io/tst-mkfifoat.c (do_test): Likewise.
22817 * io/tst-mknodat.c (do_test): Likewise.
22818 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
22819 * locale/programs/locale.c (select_dirs): Likewise.
22820 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
22821 * posix/bug-glob2.c (my_readdir): Likewise.
22822 * posix/tst-dir.c (main): Likewise.
22823 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
22824 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
22826 2017-10-30 Florian Weimer <fweimer@redhat.com>
22828 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
22831 2017-10-30 Florian Weimer <fweimer@redhat.com>
22833 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
22834 Convert to support/test-driver.c.
22835 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
22836 New macro parameters.
22837 (PRINTF): Remove macro. Use test_verbose conditionals instead.
22838 * posix/tst-gnuglob.c: New file.
22839 * posix/tst-gnuglob64.c: Likewise.
22840 * posix/Makefile (tests): Add tst-gnuglob64.
22842 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
22845 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
22846 and use a better translation for March in “mon”.
22847 * localedata/locales/csb_PL: Use more ASCII to improve the
22848 readability of the source.
22850 2017-10-30 Mike FABIAN <mfabian@redhat.com>
22853 * localedata/locales/km_KH: Use ASCII as much
22854 as possible for better readability of the source and
22855 remove useless comments.
22856 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
22857 was commented out and apparently wrong anyway because it was
22858 using Lao characters. If Buddhist era should be used
22859 for km_KH, a native speaker should write the correct formaat
22861 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
22862 (According to CLDR, the first weekday for Cambodia is Sunday).
22863 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
22864 (These were using Lao characters which must be wrong. If we get
22865 the correct data from a native speaker, we could add it back, until
22866 then it is better not to have name_mr and name_mrs at all than
22869 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
22871 * locale/loadlocale.c: Correct size of
22872 _nl_value_type_LC_<category> arrays.
22874 2017-10-27 Joseph Myers <joseph@codesourcery.com>
22876 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
22877 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
22878 with appropriate macros defined and undefined.
22879 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
22880 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
22881 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
22882 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
22883 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
22885 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
22887 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22890 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22892 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
22893 with lowercase letters to make it agree with CLDR.
22895 2017-10-27 Mike FABIAN <mfabian@redhat.com>
22898 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
22899 first letters of yesstr and nostr in yesexpr and noexpr,
22900 not for the full words.
22901 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
22902 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
22903 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
22904 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
22905 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
22906 first letters of yesstr and nostr in yesexpr and noexpr,
22907 until now only English was matched in yesexpr and noexpr.
22908 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
22909 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
22910 fil but not for tl. As tl and fil are very similar, using fil
22911 is probably better than using English.
22913 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
22916 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
22917 in yesstr and nostr.
22919 2017-10-26 Joseph Myers <joseph@codesourcery.com>
22921 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22922 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
22923 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
22925 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
22927 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
22929 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
22931 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22932 (SNANF128X): Likewise.
22934 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
22935 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
22936 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22937 (HUGE_VAL_F32): Likewise.
22938 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22939 (HUGE_VAL_F64): Likewise.
22940 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22941 (HUGE_VAL_F32X): Likewise.
22942 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22943 (HUGE_VAL_F64X): Likewise.
22944 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
22945 (HUGE_VAL_F128X): Likewise.
22947 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22949 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
22950 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
22951 for the br_FR locale.
22953 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
22956 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
22958 2017-10-25 Carlos O'Donell <carlos@redhat.com>
22960 * locale/programs/record-status.h: Define globals, and function
22961 prototypes. Move function bodies...
22962 * locale/programs/record-status.c: ... to here. New file.
22963 * iconv/Makefile (iconv_prog-modules): Add record-status.
22964 * locale/Makefile (lib-modules): Likewise.
22965 * iconv/iconv_prog.c: Remove verbose.
22966 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
22967 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
22968 record a warning about ASCII compatibility.
22969 * locale/programs/ld-monetary.c (monetary_finish): If
22970 warn_int_curr_symbol is true then record a warning about the symbol
22971 not being in our ISO 4217 list.
22972 * locale/programs/locale.c: Include record-status.h. Remove verbose.
22973 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
22974 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
22975 (OPT_NO_WARN): Define.
22976 (OPT_WARN): Define.
22977 (options): Add entry for --no-warnings, and --warnings.
22978 (set_warnings): New function to enable/disable warnings.
22979 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
22980 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
22981 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
22982 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
22983 Pass flags to generate_locale.
22984 (generate_locale): Accept new flag argument and pass it to localedef
22986 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
22987 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
22989 * localedata/Makefile (test-input-data): Use full file name.
22990 * localedata/da_DK.in: Rename to...
22991 * localedata/da_DK.ISO-8859-1.in: ...this.
22992 * localedata/de_DE.in: Rename to...
22993 * localedata/de_DE.ISO-8859-1.in: ...this.
22994 * localedata/en_US.in: Rename to...
22995 * localedata/en_US.ISO-8859-1.in: ...this.
22996 * localedata/fr_FR.in: Rename to...
22997 * localedata/fr_FR.UTF-8.in: ... this.
22998 * localedata/hr_HR.in: Rename to...
22999 * localedata/hr_HR.ISO-8859-2.in: ...this.
23000 * localedata/hu_HU.in: Rename to...
23001 * localedata/hu_HU.UTF-8.in: ...this.
23002 * localedata/si_LK.in: Rename to...
23003 * localedata/si_LK.UTF-8.in: ...this.
23004 * localedata/sv_SE.in: Rename to...
23005 * localedata/sv_SE.ISO-8859-1.in: ...this.
23006 * localedata/tr_TR.in: Rename to...
23007 * localedata/tr_TR.UTF-8.in: ...this.
23008 * localedata/uk_UA.in: Rename to...
23009 * localedata/uk_UA.UTF-8.in: ...this.
23010 * localedata/sort-test.sh: Test file is locale name with the
23013 * localedata/unicode-gen/Makefile (check_i18n): Rename to
23014 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
23016 * localedata/locales/i18n_ctype: Regenerate.
23017 * localedata/locales/tr_TR: Likewise.
23018 * localedata/locales/translit_circle: Likewise.
23019 * localedata/locales/translit_cjk_compat: Likewise.
23020 * localedata/locales/translit_combining: Likewise.
23021 * localedata/locales/translit_compat: Likewise.
23022 * localedata/locales/translit_font: Likewise.
23023 * localedata/locales/translit_fraction: Likewise.
23025 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23027 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
23028 lxvd2x/stxvd2x with lvx/stvx.
23029 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
23031 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
23033 * include/alloc_buffer.h: Replace "if if " with "if " in
23035 * sysdeps/mips/memcpy.S: Likkewise.
23036 * sysdeps/mips/memset.S: Likewise.
23037 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
23039 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
23041 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
23044 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23047 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
23048 yesexpr and noexpr.
23049 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23050 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23051 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23052 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23053 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23054 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23055 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23057 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23059 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
23060 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23061 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23062 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23063 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23064 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
23065 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23066 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23067 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23068 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23069 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23070 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23072 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23074 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
23075 as possible for better readability of the source.
23076 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
23077 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
23078 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
23079 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
23080 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
23081 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
23082 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
23083 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
23084 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
23085 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
23086 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
23087 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
23088 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
23089 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
23090 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
23091 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
23092 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
23093 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
23094 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
23095 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
23096 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
23097 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
23098 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
23099 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
23100 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
23101 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
23102 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
23103 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
23104 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
23105 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
23106 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
23107 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
23108 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
23109 * localedata/locales/en_US (LC_MESSAGES): Likewise.
23110 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
23111 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
23112 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
23113 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
23114 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
23115 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
23116 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
23117 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
23118 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
23119 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
23120 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
23121 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
23122 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
23123 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
23124 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
23125 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
23126 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
23127 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
23128 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
23129 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
23130 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
23131 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
23132 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
23133 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
23134 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
23135 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
23136 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
23137 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
23138 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
23139 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
23140 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
23141 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
23142 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
23143 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
23144 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
23145 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
23146 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
23147 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
23148 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
23149 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
23150 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
23151 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
23152 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
23153 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
23154 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
23155 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
23156 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
23157 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
23158 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
23159 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
23160 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
23161 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
23162 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
23163 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
23164 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
23165 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
23166 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
23167 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
23168 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
23169 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
23170 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
23171 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
23172 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
23173 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
23174 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
23175 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
23176 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
23177 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
23178 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
23179 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
23180 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
23181 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
23182 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
23183 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
23184 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
23185 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
23186 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
23187 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
23188 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
23189 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
23190 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
23191 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
23192 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
23193 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
23194 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
23195 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
23196 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
23197 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
23198 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
23199 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
23200 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
23201 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
23202 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
23203 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
23204 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
23205 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
23206 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
23207 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
23208 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
23209 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
23210 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
23211 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
23212 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
23213 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
23214 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
23215 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
23216 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
23217 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
23218 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
23219 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
23220 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
23221 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
23222 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
23223 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
23224 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
23225 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
23226 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
23227 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
23228 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
23229 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
23230 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
23231 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
23232 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
23233 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
23234 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
23235 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
23236 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
23237 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
23238 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
23239 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
23240 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
23241 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
23242 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
23243 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
23244 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
23245 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
23246 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
23247 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
23248 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
23249 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
23251 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23253 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
23254 (Use first letters of yesstr and nostr correctly instead of using
23257 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23259 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
23260 (Use first letters of yesstr and nostr correctly).
23262 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23264 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
23265 also check for the first characters of yesstr and nostr.
23266 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
23267 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
23269 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23271 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
23272 also check for Chinese characters.
23274 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23276 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
23277 match also for the contents of yesstr and nostr. As the first letter
23278 of yesstr and nostr is equal, checking only for the first letter
23281 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23283 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
23284 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
23286 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23288 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
23289 of main contributor.
23291 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23293 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
23294 instead of using English.
23296 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23298 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
23299 by including the first letters of nostr and yesexpr in the regexp.
23300 Also make it more readable by using ASCII where possible.
23302 2017-10-25 Mike FABIAN <mfabian@redhat.com>
23304 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
23305 the first letter of nostr in the regexp. It agrees with CLDR now.
23306 Also make it more readable by using ASCII where possible.
23308 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23310 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
23311 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
23312 these strings contain a U+17D6 (which somewhat looks like a colon)
23313 instead of a real colon to separate the full words for “yes”
23314 and “no” from the single letter responses.
23316 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23318 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
23319 it agree with CLDR (include the first letter of yesstr).
23320 Also make it more readable by using ASCII where possible.
23322 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23324 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
23325 and improve yesexpr and noexpr. The yesstr and nostr apparently
23326 came from CLDR. And CLDR has a bug there: these strings contain
23327 a U+0903 (which looks like a colon) instead of a real colon
23328 to separate the full words for “yes” and “no” from the single
23331 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23333 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
23334 letters of the full yesstr and nostr in yesexpr and noexpr.
23336 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23338 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
23339 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
23340 * localedata/locales/an_ES: Make source more readable by using ASCII
23343 2017-10-24 Mike FABIAN <mfabian@redhat.com>
23346 * localedata/locales/yuw_PG: New file.
23347 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
23348 * locale/iso-639.def: Add Yau (Uruwa).
23350 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23352 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
23354 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
23356 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
23357 (__libc_realloc): Likewise.
23358 (_mid_memalign): Likewise.
23359 (__libc_calloc): Likewise.
23361 2017-10-23 Mike FABIAN <mfabian@redhat.com>
23363 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
23364 by adding the generic +1 and -0 as in all other locales.
23365 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
23366 day names and make it more readable by using ASCII where possible.
23368 2017-10-24 Joseph Myers <joseph@codesourcery.com>
23370 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
23371 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
23373 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23375 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
23376 WNOHANG in waitpid call.
23378 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
23380 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
23381 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
23383 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
23384 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
23385 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
23386 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
23387 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
23388 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
23389 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
23390 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
23393 2017-10-23 Michael Collison <michael.collison@arm.com>
23395 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
23396 with __builtin_sqrt.
23397 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
23398 with __builtin_sqrtf.
23399 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
23400 with __builtin_ceil.
23401 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
23402 with __builtin_ceilf.
23403 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
23404 with __builtin_floor.
23405 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
23406 with __builtin_floorf.
23407 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
23408 with __builtin_fma.
23409 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
23410 with __builtin_fmaf.
23411 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
23412 with __builtin_fmax.
23413 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
23414 with __builtin_fmaxf.
23415 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
23416 with __builtin_fmin.
23417 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
23418 with __builtin_fminf.
23419 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
23420 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
23421 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
23422 with builtin_rint and conversion to int.
23423 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
23424 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
23425 with builtin_llround.
23426 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
23427 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
23428 with builtin_rint and conversion to long int.
23429 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
23430 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
23431 with builtin_lround.
23432 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
23433 with builtin_lroundf.
23434 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
23435 statements with __builtin_nearbyint.
23436 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
23437 statements with __builtin_nearbyintf.
23438 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
23439 with __builtin_rint.
23440 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
23441 with __builtin_rintf.
23442 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
23443 with __builtin_round.
23444 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
23445 with __builtin_roundf.
23446 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
23447 with __builtin_trunc.
23448 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
23449 with __builtin_truncf.
23450 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
23451 and s_l[l]round[f].c too.
23453 2017-10-23 Alan Modra <amodra@gmail.com>
23455 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
23456 Adjust stack after restoring regs. Add missing LR cfi_restore.
23458 2017-10-23 Alan Modra <amodra@gmail.com>
23460 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
23461 Move LR save and frame setup/teardown and LR restore to
23462 immediately around memset call. Provide cfi.
23464 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23466 * sysdeps/i386/fpu/e_powf.S: Removed.
23467 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
23468 * sysdeps/i386/fpu/w_powf.c: Likewise.
23469 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
23470 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23471 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23473 (CFLAGS-e_powf-sse2.c): New.
23474 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
23475 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
23477 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23479 * sysdeps/i386/fpu/e_log2f.S: Removed.
23480 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
23481 * sysdeps/i386/fpu/w_log2f.c: Likewise.
23482 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
23483 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23484 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23486 (CFLAGS-e_log2f-sse2.c): New.
23487 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
23488 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
23490 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23492 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23494 (CFLAGS-e_powf-fma.c): New.
23495 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
23496 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
23498 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23500 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23502 (CFLAGS-e_log2f-fma.c): New.
23503 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
23504 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
23506 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23508 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23510 (CFLAGS-e_logf-fma.c): New.
23511 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
23512 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
23514 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23516 * sysdeps/i386/fpu/e_logf.S: Removed.
23517 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
23518 * sysdeps/i386/fpu/w_logf.c: Likewise.
23519 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
23520 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
23521 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23522 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23524 (CFLAGS-e_logf-sse2.c): New.
23525 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
23526 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
23528 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23530 * sysdeps/i386/fpu/e_exp2f.S: Removed.
23531 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
23532 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
23533 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23534 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23536 (CFLAGS-e_exp2f-sse2.c): New.
23537 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
23538 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
23540 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23542 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23544 (CFLAGS-e_exp2f-fma.c): New.
23545 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
23546 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
23548 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23550 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
23551 * sysdeps/i386/fpu/e_expf.S: Likewise.
23552 * sysdeps/i386/fpu/math_errf.c: Likewise.
23553 * sysdeps/i386/fpu/w_expf.c: Likewise.
23554 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
23555 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
23556 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
23557 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
23558 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23559 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
23560 Remove e_expf-ia32.
23561 (CFLAGS-e_expf-sse2.c): New.
23562 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
23563 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
23565 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
23567 * sysdeps/x86_64/fpu/e_expf.S: Removed.
23568 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
23569 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
23570 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
23572 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
23574 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
23575 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
23577 (__redirect_expf): This.
23578 (SYMBOL_NAME): Changed to expf.
23579 (__ieee754_expf): Renamed to ...
23581 (__GI___expf): This.
23582 (__ieee754_expf): Add strong_alias.
23583 (__expf_finite): Likewise.
23585 Include <sysdeps/ieee754/flt-32/e_expf.c>.
23587 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
23590 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
23593 2017-10-21 Florian Weimer <fweimer@redhat.com>
23595 * posix/Makefile (tests): Add tst-glob-tilde.
23596 (tests-special): Add tst-glob-tilde-mem.out
23597 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
23598 (tst-glob-tilde-mem.out): Add mtrace check.
23599 * posix/tst-glob-tilde.c: New file.
23601 2017-10-20 Joseph Myers <joseph@codesourcery.com>
23603 * bits/floatn-common.h: New file.
23604 * math/Makefile (headers): Add bits/floatn-common.h.
23605 * bits/floatn.h: Include <bits/floatn-common.h>.
23606 * sysdeps/ia64/bits/floatn.h: Likewise.
23607 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23608 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
23609 * sysdeps/powerpc/bits/floatn.h: Likewise.
23610 * sysdeps/x86/bits/floatn.h: Likewise.
23612 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23614 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
23615 indicates whether compiler emits an warning for alias for
23616 functions with incompatible types.
23619 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
23620 the auxiliary process is terminated by a signal before calling _exit
23623 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23626 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
23628 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
23629 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
23630 and bit_arch_XSAVEC_Usable if needed.
23631 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
23632 and bit_arch_Use_dl_runtime_resolve_opt.
23633 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
23635 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
23636 (bit_arch_Prefer_No_AVX512): Updated.
23637 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
23638 (bit_arch_XSAVEC_Usable): New.
23639 (STATE_SAVE_OFFSET): Likewise.
23640 (STATE_SAVE_MASK): Likewise.
23641 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
23642 (cpu_features): Add xsave_state_size and xsave_state_full_size.
23643 (index_arch_Use_dl_runtime_resolve_opt): Removed.
23644 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
23645 (index_arch_XSAVEC_Usable): New.
23646 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
23647 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
23648 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
23650 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
23651 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
23652 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
23653 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
23654 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
23655 _dl_runtime_resolve_xsavec.
23656 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
23658 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
23659 instead of VEC_SIZE.
23660 (REGISTER_SAVE_BND0): Removed.
23661 (REGISTER_SAVE_BND1): Likewise.
23662 (REGISTER_SAVE_BND3): Likewise.
23663 (REGISTER_SAVE_RAX): Always defined to 0.
23665 (_dl_runtime_resolve_avx): Likewise.
23666 (_dl_runtime_resolve_avx_slow): Likewise.
23667 (_dl_runtime_resolve_avx_opt): Likewise.
23668 (_dl_runtime_resolve_avx512): Likewise.
23669 (_dl_runtime_resolve_avx512_opt): Likewise.
23670 (_dl_runtime_resolve_sse): Likewise.
23671 (_dl_runtime_resolve_sse_vex): Likewise.
23673 (_dl_runtime_resolve_fxsave): Likewise.
23674 (USE_XSAVE): Likewise.
23675 (_dl_runtime_resolve_xsave): Likewise.
23676 (USE_XSAVEC): Likewise.
23677 (_dl_runtime_resolve_xsavec): Likewise.
23678 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
23680 (_dl_runtime_resolve_avx512_opt): Likewise.
23681 (_dl_runtime_resolve_avx): Likewise.
23682 (_dl_runtime_resolve_avx_opt): Likewise.
23683 (_dl_runtime_resolve_sse): Likewise.
23684 (_dl_runtime_resolve_sse_vex): Likewise.
23685 (_dl_runtime_resolve_fxsave): New.
23686 (_dl_runtime_resolve_xsave): Likewise.
23687 (_dl_runtime_resolve_xsavec): Likewise.
23689 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
23693 * posix/glob.c (__glob): Fix one-byte overflow.
23695 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23697 * malloc/malloc.c (sysdep-cancel.h): Add include.
23699 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
23701 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
23703 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
23705 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
23706 (tests): Remove $(objpfx)ga_test depdendency.
23707 * resolv/ga_test.c: Remove file.
23709 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23712 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
23713 * localedata/locales/kab_DZ: New file.
23715 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23717 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
23718 _dl_relocate_static_pie instead of _dl_start to compute load
23719 address in static PIE.
23721 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
23723 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
23725 2017-10-20 Mike FABIAN <mfabian@redhat.com>
23728 * localedata/SUPPORTED: Add shn_MM/UTF-8.
23729 * localedata/locales/shn_MM: New file.
23731 2017-10-20 Florian Weimer <fweimer@redhat.com>
23734 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
23735 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
23736 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
23737 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
23738 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
23739 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
23741 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
23743 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23745 2017-10-19 Joseph Myers <joseph@codesourcery.com>
23747 * sysdeps/mips/ieee754/bits/floatn.h: New file.
23750 * sysdeps/mips/bits/long-double.h: Move to ....
23751 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
23753 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
23755 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
23757 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
23758 H.J. Lu <hongjiu.lu@intel.com>
23761 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23762 GLRO(dl_platform) to NULL.
23763 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
23764 (modules-names): Add tst-platformmod-1 and
23765 x86_64/tst-platformmod-2.
23766 (CFLAGS-tst-platform-1.c): New.
23767 (CFLAGS-tst-platformmod-1.c): Likewise.
23768 (CFLAGS-tst-platformmod-2.c): Likewise.
23769 (LDFLAGS-tst-platformmod-2.so): Likewise.
23770 ($(objpfx)tst-platform-1): Likewise.
23771 ($(objpfx)tst-platform-1.out): Likewise.
23772 (tst-platform-1-ENV): Likewise.
23773 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
23774 * sysdeps/x86_64/tst-platform-1.c: New file.
23775 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
23776 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
23778 2017-10-19 Mike FABIAN <mfabian@redhat.com>
23781 * locale/iso-639.def: Add Karbi.
23782 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
23783 * localedata/locales/mjw_IN: New file.
23785 2017-10-18 Joseph Myers <joseph@codesourcery.com>
23787 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
23788 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
23789 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
23790 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
23791 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23792 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23793 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
23795 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
23796 (libm_alias_ldouble_other_r): Also create _Float128 alias.
23797 * manual/math.texi (Mathematics): Document additional architecture
23798 support for _Float128.
23799 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23800 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23801 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23802 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23803 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23804 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23805 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23806 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23807 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23808 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23809 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23810 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23811 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23812 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23813 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23815 2017-10-18 Renlin Li <renlin.li@arm.com>
23817 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
23818 _DYNAMIC symbol to calculate load address.
23820 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
23822 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
23823 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
23825 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
23826 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
23828 2017-10-18 Mike FABIAN <mfabian@redhat.com>
23831 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
23832 and improve readability by using more ASCII.
23833 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
23834 and improve readability by using more ASCII.
23836 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
23838 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
23839 not all targets support atomics on bool.
23841 2017-10-17 Joseph Myers <joseph@codesourcery.com>
23843 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
23844 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
23846 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23847 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
23848 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23849 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
23850 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
23851 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
23853 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23855 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
23858 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23861 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
23862 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
23863 (do_check_remalloced_chunk): Fix build bug.
23864 (do_check_malloc_state): Add assert that checks arena->top.
23865 (malloc_consolidate): Remove initialization.
23866 (int_mallinfo): Remove call to malloc_consolidate.
23867 (__libc_mallopt): Clarify why malloc_consolidate is needed.
23869 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23871 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
23872 (have_fastchunks): Remove.
23873 (clear_fastchunks): Remove.
23874 (set_fastchunks): Remove.
23875 (malloc_state): Add have_fastchunks.
23876 (malloc_init_state): Use have_fastchunks.
23877 (do_check_malloc_state): Remove incorrect invariant checks.
23878 (_int_malloc): Use have_fastchunks.
23879 (_int_free): Likewise.
23880 (malloc_consolidate): Likewise.
23882 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
23884 * malloc/malloc.c (tcache_put): Inline.
23885 (tcache_get): Inline.
23887 2017-10-17 Jordi Mallach <jordi@gnu.org>
23889 Aurelien Jarno <aurelien@aurel32.net>
23891 * localedata/locales/ca_ES@valencia: New file.
23892 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
23894 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
23897 * math/math.h: Let signbit use the builtin in C++ mode with gcc
23900 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23902 * scripts/build-many-glibcs.py (Context.add_all_configs):
23903 Add arm-linux-gnueabihf multiarch extra_glibcs.
23905 * sysdeps/generic/ifunc-init.h: New file.
23906 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
23908 2017-10-17 Mike FABIAN <mfabian@redhat.com>
23911 * localedata/locales/el_GR: Set n_cs_precedes to 0.
23912 * localedata/locales/el_CY: copy "el_GR" because it is identical.
23913 * stdlib/tst-strfmon_l.c: adapt test case.
23915 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23917 * sysdeps/generic/float128-abi.h: New file.
23918 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
23919 non-__prefixed symbols to ....
23920 * math/Versions: ... here. Include <float128-abi.h>.
23921 * stdlib/Versions ... and here. Include <float128-abi.h>
23923 2017-10-16 Florian Weimer <fweimer@redhat.com>
23925 * version.h (VERSION): Switch to ".9000" as the development
23928 2017-10-16 Florian Weimer <fweimer@redhat.com>
23931 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
23932 compat_symbol_reference to access non-default version.
23934 2017-10-16 Florian Weimer <fweimer@redhat.com>
23936 * malloc/Makefile (others-extras): Set to mcheck-init.o.
23938 2017-10-16 Carlos O'Donell <carlos@redhat.com>
23940 * include/shlib-compat.h (compat_symbol_reference): Update
23943 2017-10-16 Joseph Myers <joseph@codesourcery.com>
23945 * math/Makefile (test-types): Add
23946 $(type-float128-$(float128-alias-fcts)).
23947 * math/test-float128.h (TYPE_STR): Define conditional on
23948 [FLT128_MANT_DIG == LDBL_MANT_DIG].
23949 (ULP_IDX): Likewise.
23950 (ULP_I_IDX): Likewise.
23952 * stdlib/strtold.c: Include <bits/floatn.h>
23953 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
23954 and later undefine as macro. Define as weak alias if
23956 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
23957 and later undefine as macro. Define as weak alias if
23959 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
23960 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
23961 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
23962 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23963 Define and later undefine as macro. Define as weak alias if
23965 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
23967 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
23968 Define and later undefine as macro. Define as weak alias if
23970 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
23971 Define and later undefine as macro. Define as weak alias if
23974 2017-10-15 Carlos O'Donell <carlos@redhat.com>
23976 * localedata/collate-test.c (allocate_arrays): Don't use \n in
23977 record_verbose messages.
23979 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
23982 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
23983 to silence -O3 -Wall warning with GCC 7.
23985 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
23987 * Makeconfig (+link-static-before-libc): Use the first of
23988 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
23989 * gmon/Makefile (tests): Add tst-gmon-static.
23990 (tests-static): Likewise.
23991 (CFLAGS-tst-gmon-static.c): New.
23992 (CRT-tst-gmon-static): Likewise.
23993 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
23994 (tst-gmon-static-ENV): Likewise.
23995 (tests-special): Likewise.
23996 ($(objpfx)tst-gmon-static.out): Likewise.
23997 (clean-tst-gmon-static-data): Likewise.
23998 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
23999 * gmon/tst-gmon-static-gprof.sh: New file.
24000 * gmon/tst-gmon-static.c: Likewise.
24002 2017-10-13 Carlos O'Donell <carlos@redhat.com>
24005 * locale/programs/linereader.c (get_string): Don't warn on
24006 non-symbolic character.
24009 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
24013 * locale/programs/record-status.h: New file
24014 * locale/programs/locale.c: Add comment.
24015 * locale/programs/charmap-dir.c: Don't include error.h.
24016 (charmap_opendir): Use record_error.
24017 * locale/programs/charmap.c: Don't include error.h.
24018 (charmap_read): Use record_error, and record_warning.
24019 (parse_charmap): Likewise.
24020 * locale/programs/ld-address.c: Don't include error.h.
24021 (address_finish): Use record_error, and record_warning.
24022 * locale/programs/ld-collate.c: Don't include error.h.
24023 (collate_finish): Use record_error, and record_error_at_line.
24024 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
24025 (ctype_class_new): Likewise.
24026 (ctype_map_new): Likewise.
24027 (set_one_default): Likewise.
24028 (set_class_defaults): Likewise.
24029 (translit_flatten): Likewise.
24030 (allocate_arrays): Use record_error, and record_verbose.
24031 * locale/programs/ld-identification.c: Don't include error.h.
24032 (indentation_finish): Use record_error and record_warning.
24033 * locale/programs/ld-measurement.c: Don't include error.h.
24034 (measurement_finish): Use record_error.
24035 * locale/programs/ld-messages.c
24036 (message_finish): Likewise.
24037 * locale/programs/ld-monetary.c
24038 (monetary_finish): Likewise.
24039 * locale/programs/ld-name.c (name_finish): Use record_error
24040 and record_warning.
24041 * locale/programs/ld-numeric.c
24042 (numeric_finish): Use record_error.
24043 * locale/programs/ld-paper.c: Don't include error.h.
24044 (paper_finish): Use record_error.
24045 * locale/programs/ld-telephone.c: Don't include error.h.
24046 (telephone_finish): Use record_error.
24047 * locale/programs/ld-time.c (time_finish): Likewise.
24048 * locale/programs/linereader.h (lr_error): Make inline func.
24049 * locale/programs/localedef.c: Define recorded_warning_count,
24050 and recorded_error_count.
24051 (main): Use record_error. Use recorded_error_count and
24052 recorded_warning_count to issue correct error returns.
24053 (add_to_readlist): Use record_error.
24054 (find_locale): Likewise.
24055 (load_locale): Likewise.
24056 * locale/programs/localedef.h: Remove be_quiet
24057 and WITH_CUR_LOCALE.
24058 * locale/programs/locarchive.c (compare_from_file): Use
24060 * locale/programs/locfile.c (write_locale_data): Use
24062 * locale/programs/repertoire.c: Dont include error.h.
24063 (repertoire_complain): Use record_error.
24064 * localedata/tst-fmon.sh: Expect failures from localedef.
24065 * localedata/tst-locale.sh: Likewise.
24066 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
24068 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
24069 (REPORTS): Likewise.
24071 (i18n): Rename to...
24072 (i18n_ctype): ...this.
24073 (i18n-report): Rename to...
24074 (i18n_ctype-report): ...this.
24075 * localedata/locales/i18n_ctype: Regenerate.
24076 * localedata/locales/i18n: copy i18n_ctype.
24078 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24080 * stdlib/strfroml.c: Include <bits/floatn.h>.
24081 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
24082 Define before include of <stdlib.h> and undefine afterwards, then
24083 define as weak alias.
24085 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
24086 Undefine and restore default definition. Use
24087 libm_alias_ldouble_other.
24089 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
24092 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
24095 2017-10-13 James Clarke <jrtc27@jrtc27.com>
24097 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24098 Assign sym_map to be map for local symbols, as TLS relocations
24099 use sym_map to determine whether the symbol is defined and to
24100 extract the TLS information.
24101 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24102 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24104 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24107 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
24108 (math_force_eval): Add powerpc version.
24111 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
24113 (do_test): Likewise.
24114 * stdio-common/tst-printf.sh: Likewise.
24115 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
24116 ifdef clause in order to set the carry bit right. Replace r0 by
24117 0 without changing the behavior.
24119 2017-10-13 Joseph Myers <joseph@codesourcery.com>
24121 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
24122 <libm-alias-ldouble.h>.
24123 (fabsl): Define using libm_alias_ldouble.
24124 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
24125 <libm-alias-ldouble.h>.
24126 (fabsl): Define using libm_alias_ldouble.
24128 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
24129 Remove conditional code.
24131 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
24132 Rename to __clog10_internal_l.
24133 (__clog10_internal_l): Define aliases using
24134 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
24137 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24139 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
24140 * benchtests/sincosf-inputs: New file.
24141 * benchtests/cosf-inputs: New file.
24142 * benchtests/sinf-inputs: New file.
24144 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24146 * posix/tst-spawn.c (do_test): Wait for both children.
24148 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
24151 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
24152 tests-pie): Add tst-gmon-pie.
24153 (CFLAGS-tst-gmon-pie.c): New.
24154 (CRT-tst-gmon-pie): Likewise.
24155 (tst-gmon-pie-ENV): Likewise.
24156 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
24157 ($(objpfx)tst-gmon-pie.out): Likewise.
24158 (clean-tst-gmon-pie-data): Likewise.
24159 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
24160 * gmon/gmon.c [PIC]: Include <link.h>.
24161 [PIC] (callback): New function.
24162 (write_hist): Add an argument for load address. Subtract load
24164 (write_call_graph): Likewise.
24165 (write_gmon): Call __dl_iterate_phdr to get load address, pass
24166 it to write_hist and write_call_graph.
24167 * gmon/tst-gmon-pie.c: New file.
24169 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24171 * math/Makefile (test-types-basic): New variable.
24172 (test-types): Likewise.
24173 (libm-test-support): Use $(test-types) instead of $(types).
24174 (libm-tests-base-normal): Likewise.
24175 (libm-tests-base-finite): Likewise.
24176 (libm-tests-base-inline): Likewise.
24177 (generated): Likewise.
24178 ($(objpfx)libm-test-support-$(t).c): Likewise.
24179 (libm-tests-for-type iterator): Likewise.
24180 (libm-test-support iterator): Likewise.
24181 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
24182 (ulp_idx): Use ULP_IDX.
24183 * math/test-ldouble.h: Include <float.h>.
24184 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
24185 (ULP_IDX): New macro.
24186 (ULP_I_IDX): Likewise.
24187 * math/test-double.h (ULP_IDX): Likewise.
24188 (ULP_I_IDX): Likewise.
24189 * math/test-float.h (ULP_IDX): Likewise.
24190 (ULP_I_IDX): Likewise.
24191 * math/test-float128.h (ULP_IDX): Likewise.
24192 (ULP_I_IDX): Likewise.
24194 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24196 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
24197 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
24198 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
24199 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
24200 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
24201 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
24202 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
24203 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
24204 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
24205 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24206 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
24207 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
24208 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
24209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24210 (SINGLE_THREAD_BY_GLOBAL): Define.
24211 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24213 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24215 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24217 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24219 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
24220 (SINGLE_THREAD_BY_GLOBAL): Likewise.
24221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
24224 2017-10-11 Andreas Schwab <schwab@suse.de>
24226 * nis/Makefile (aux): Remove.
24227 * nscd/Makefile (aux): Add nscd_hash.
24228 (nscd-modules): Likewise.
24229 ($(objpfx)nscd): Don't depend on libnsl.
24230 * nscd/nscd_hash.c: New file.
24231 * nscd/nscd_hash.h: Likewise.
24232 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
24233 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
24234 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
24235 instead of <nis/rpcsvc/nis.h>.
24236 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
24238 2017-10-11 Florian Weimer <fweimer@redhat.com>
24241 Avoid large NSS buffers with many addresses, aliases.
24242 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
24243 using dynarrays and struct alloc_buffer.
24244 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
24245 (tst-nss-files-hosts-multi): Link with -ldl.
24246 * nss/tst-nss-files-hosts-multi.c: New file.
24248 2017-10-11 Florian Weimer <fweimer@redhat.com>
24251 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
24252 scratch_buffer. Eliminate gotos.
24254 2017-10-11 Joseph Myers <joseph@codesourcery.com>
24256 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
24257 libm_alias_ldouble_other.
24258 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
24259 undefine and redefine.
24260 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24261 (exp10l): Do not define here.
24262 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
24263 (weak_alias): Undefine and redefine.
24264 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
24265 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24266 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
24267 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
24269 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
24270 [!__fma] (fma): Define using libm_alias_double.
24271 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
24272 [!__fmaf] (fmaf): Define using libm_alias_float.
24273 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
24274 (fmal): Define using libm_alias_ldouble.
24276 2017-10-10 Joseph Myers <joseph@codesourcery.com>
24278 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
24280 (libm_alias_double_other): Likewise.
24281 (libm_alias_double_r): Use libm_alias_double_other_r.
24282 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
24284 (libm_alias_float_other): Likewise.
24285 (libm_alias_float_r): Use libm_alias_float_other_r.
24286 * sysdeps/generic/libm-alias-float128.h
24287 (libm_alias_float128_other_r): New macro.
24288 (libm_alias_float128_other): Likewise.
24289 (libm_alias_float128_r): Use libm_alias_float128_other_r.
24290 * sysdeps/generic/libm-alias-ldouble.h
24291 (libm_alias_ldouble_other_r): New macro.
24292 (libm_alias_ldouble_other): Likewise.
24293 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24294 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24295 (libm_alias_double_other_r): New macro.
24296 (libm_alias_double_other): Likewise.
24297 (libm_alias_double_r): Use libm_alias_double_other_r.
24298 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24299 (libm_alias_ldouble_other_r): New macro.
24300 (libm_alias_ldouble_other): Likewise.
24301 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
24302 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
24303 [!USE_AS_COMPAT]: Use libm_alias_double_other.
24304 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
24305 [!USE_AS_COMPAT]: Use libm_alias_float_other.
24306 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
24307 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
24308 * math/w_exp2f.c: Use libm_alias_float_other.
24309 * math/w_expf.c: Likewise.
24310 * math/w_log2f.c: Likewise.
24311 * math/w_logf.c: Likewise.
24312 * math/w_powf.c: Likewise.
24313 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
24314 [!__exp2f]: Use libm_alias_float_other.
24315 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
24316 [!__expf]: Use libm_alias_float_other.
24317 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
24318 [!__log2f]: Use libm_alias_float_other.
24319 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
24320 [!__logf]: Use libm_alias_float_other.
24321 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
24322 [!__powf]: Use libm_alias_float_other.
24324 2017-10-10 Florian Weimer <fweimer@redhat.com>
24326 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
24328 (_nss_files_gethostbyname3_r): Call it.
24330 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24332 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
24333 error. Remove default definition of declare_mgen_alias.
24334 [!declare_mgen_alias_r]: Likewise.
24335 * sysdeps/generic/math-type-macros-double.h
24336 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
24337 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
24338 (declare_mgen_alias_r): Likewise.
24339 * sysdeps/generic/math-type-macros-float128.h
24340 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24341 * sysdeps/generic/math-type-macros-ldouble.h
24342 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
24343 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
24345 (declare_mgen_alias_r_s): Likewise.
24346 (declare_mgen_alias_r): Likewise.
24347 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
24348 (lgamma_r): Define using libm_alias_double_r.
24349 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
24350 (lgammaf_r): Define using libm_alias_float_r.
24351 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
24352 (lgammal_r): Define using libm_alias_ldouble_r.
24353 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
24354 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
24356 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24358 * lib/glob.c (__glob_pattern_type): Remove now-spurious
24359 extern declaration.
24361 2017-10-09 Joseph Myers <joseph@codesourcery.com>
24363 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
24365 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
24368 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
24369 [__cplusplus >= 201103] (__USE_ISOC99): Define.
24370 * math/Makefile (test-math-cxx11): New test.
24371 * math/test-math-cxx11.cc: New file.
24373 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
24375 * login/openpty.c (openpty): Close slave pty file descriptor on error.
24377 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
24378 call to allocate the slave pty file descriptor.
24380 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24382 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
24383 [!__fma] (fma): Define using libm_alias_double.
24384 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
24385 [!__fma] (fma): Define using libm_alias_double.
24387 * sysdeps/ieee754/float128/float128_private.h: Include
24388 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
24389 (libm_alias_ldouble_r): Undefine and redefine.
24390 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
24391 <libm-alias-ldouble.h>.
24392 (asinhl): Define using libm_alias_ldouble.
24393 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
24394 <libm-alias-ldouble.h>.
24395 (atanl): Define using libm_alias_ldouble.
24396 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
24397 <libm-alias-ldouble.h>.
24398 (cbrtl): Define using libm_alias_ldouble.
24399 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
24400 <libm-alias-ldouble.h>.
24401 (ceill): Define using libm_alias_ldouble.
24402 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
24403 <libm-alias-ldouble.h>.
24404 (copysignl): Define using libm_alias_ldouble.
24405 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
24406 <libm-alias-ldouble.h>.
24407 (cosl): Define using libm_alias_ldouble.
24408 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
24409 <libm-alias-ldouble.h>.
24410 (erfl): Define using libm_alias_ldouble.
24412 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
24413 <libm-alias-ldouble.h>.
24414 (expm1l): Define using libm_alias_ldouble.
24415 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
24416 <libm-alias-ldouble.h>.
24417 (fabsl): Define using libm_alias_ldouble.
24418 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
24419 <libm-alias-ldouble.h>.
24420 (floorl): Define using libm_alias_ldouble.
24421 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
24422 <libm-alias-ldouble.h>.
24423 (fmal): Define using libm_alias_ldouble.
24424 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
24425 <libm-alias-ldouble.h>.
24426 (frexpl): Define using libm_alias_ldouble.
24427 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
24428 libm_alias_ldouble.
24429 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
24430 <libm-alias-ldouble.h>.
24431 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
24432 libm_alias_ldouble.
24433 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
24434 <libm-alias-ldouble.h>.
24435 (getpayloadl): Define using libm_alias_ldouble.
24436 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
24437 <libm-alias-ldouble.h>.
24438 (llrintl): Define using libm_alias_ldouble.
24439 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
24440 <libm-alias-ldouble.h>.
24441 (llroundl): Define using libm_alias_ldouble.
24442 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
24443 <libm-alias-ldouble.h>.
24444 (logbl): Define using libm_alias_ldouble.
24445 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
24446 <libm-alias-ldouble.h>.
24447 (lrintl): Define using libm_alias_ldouble.
24448 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
24449 <libm-alias-ldouble.h>.
24450 (lroundl): Define using libm_alias_ldouble.
24451 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
24452 <libm-alias-ldouble.h>.
24453 (modfl): Define using libm_alias_ldouble.
24454 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
24455 <libm-alias-ldouble.h>.
24456 (nearbyintl): Define using libm_alias_ldouble.
24457 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
24458 <libm-alias-ldouble.h>.
24459 (nextafterl): Define using libm_alias_ldouble.
24460 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
24461 <libm-alias-ldouble.h>.
24462 (nextupl): Define using libm_alias_ldouble.
24463 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
24464 <libm-alias-ldouble.h>.
24465 (remquol): Define using libm_alias_ldouble.
24466 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
24467 <libm-alias-ldouble.h>.
24468 (rintl): Define using libm_alias_ldouble.
24469 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
24470 <libm-alias-ldouble.h>.
24471 (roundevenl): Define using libm_alias_ldouble.
24472 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
24473 <libm-alias-ldouble.h>.
24474 (roundl): Define using libm_alias_ldouble.
24475 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
24476 using libm_alias_ldouble.
24477 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
24478 <libm-alias-ldouble.h>.
24479 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
24480 Define using libm_alias_ldouble.
24481 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
24482 <libm-alias-ldouble.h>.
24483 (sincosl): Define using libm_alias_ldouble.
24484 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
24485 <libm-alias-ldouble.h>.
24486 (sinl): Define using libm_alias_ldouble.
24487 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
24488 <libm-alias-ldouble.h>.
24489 (tanhl): Define using libm_alias_ldouble.
24490 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
24491 <libm-alias-ldouble.h>.
24492 (tanl): Define using libm_alias_ldouble.
24493 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
24494 <libm-alias-ldouble.h>.
24495 (totalorderl): Define using libm_alias_ldouble.
24496 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
24497 <libm-alias-ldouble.h>.
24498 (totalordermagl): Define using libm_alias_ldouble.
24499 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
24500 <libm-alias-ldouble.h>.
24501 (truncl): Define using libm_alias_ldouble.
24502 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
24503 libm_alias_ldouble.
24504 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
24505 libm_alias_ldouble.
24506 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
24507 <libm-alias-ldouble.h>.
24508 (weak_alias): Do not undefine and redefine.
24509 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24510 (copysignl): Define with long_double_symbol only if [IS_IN
24512 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
24513 <libm-alias-ldouble.h>.
24514 (weak_alias): Do not undefine and redefine.
24515 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24516 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
24517 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
24518 <libm-alias-ldouble.h>.
24519 (weak_alias): Do not undefine and redefine.
24520 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
24521 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
24522 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
24523 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
24524 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
24525 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
24526 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
24527 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
24528 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
24529 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
24530 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
24531 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
24532 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
24533 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
24534 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
24535 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
24536 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
24537 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
24538 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
24539 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
24541 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
24542 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
24543 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
24544 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
24545 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
24547 2017-10-06 Carlos O'Donell <carlos@redhat.com>
24550 * malloc/malloc.c (tcache_shutting_down): Use bool type.
24551 (tcache_thread_freeres): Set tcache_shutting_down before
24552 freeing the tcache.
24553 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
24554 * malloc/tst-malloc-tcache-leak.c: New file.
24556 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24558 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
24559 back to powerpc32 file.
24560 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
24561 (memrchr): Add __memrchr_power8 to ifunc list.
24562 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
24563 extra bytes for unaligned inputs.
24565 2017-10-06 Joseph Myers <joseph@codesourcery.com>
24567 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
24568 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
24569 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
24570 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
24571 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
24573 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24575 * sysdeps/arm/libm-test-ulps: Update.
24577 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
24578 <libm-alias-ldouble.h>.
24579 (asinhl): Define using libm_alias_ldouble.
24580 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
24581 <libm-alias-ldouble.h>.
24582 (cbrtl): Define using libm_alias_ldouble.
24583 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
24584 <libm-alias-ldouble.h>.
24585 (copysignl): Define using libm_alias_ldouble.
24586 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
24587 <libm-alias-ldouble.h>.
24588 (cosl): Define using libm_alias_ldouble.
24589 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
24590 <libm-alias-ldouble.h>.
24591 (erfl): Define using libm_alias_ldouble.
24593 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
24594 <libm-alias-ldouble.h>.
24595 (fmal): Define using libm_alias_ldouble.
24596 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
24597 <libm-alias-ldouble.h>.
24598 (frexpl): Define using libm_alias_ldouble.
24599 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
24600 libm_alias_ldouble.
24601 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
24602 <libm-alias-ldouble.h>.
24603 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
24604 libm_alias_ldouble.
24605 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
24606 <libm-alias-ldouble.h>.
24607 (getpayloadl): Define using libm_alias_ldouble.
24608 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
24609 <libm-alias-ldouble.h>.
24610 (llrintl): Define using libm_alias_ldouble.
24611 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
24612 <libm-alias-ldouble.h>.
24613 (llroundl): Define using libm_alias_ldouble.
24614 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
24615 <libm-alias-ldouble.h>.
24616 (lrintl): Define using libm_alias_ldouble.
24617 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
24618 <libm-alias-ldouble.h>.
24619 (lroundl): Define using libm_alias_ldouble.
24620 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
24621 <libm-alias-ldouble.h>.
24622 (modfl): Define using libm_alias_ldouble.
24623 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
24624 <libm-alias-ldouble.h>.
24625 (nextupl): Define using libm_alias_ldouble.
24626 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
24627 <libm-alias-ldouble.h>.
24628 (remquol): Define using libm_alias_ldouble.
24629 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
24630 <libm-alias-ldouble.h>.
24631 (roundevenl): Define using libm_alias_ldouble.
24632 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
24633 <libm-alias-ldouble.h>.
24634 (roundl): Define using libm_alias_ldouble.
24635 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
24636 using libm_alias_ldouble.
24637 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
24638 <libm-alias-ldouble.h>.
24639 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
24640 <libm-alias-ldouble.h>.
24641 (setpayloadsigl): Define using libm_alias_ldouble.
24642 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
24643 <libm-alias-ldouble.h>.
24644 (sincosl): Define using libm_alias_ldouble.
24645 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
24646 <libm-alias-ldouble.h>.
24647 (sinl): Define using libm_alias_ldouble.
24648 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
24649 <libm-alias-ldouble.h>.
24650 (tanhl): Define using libm_alias_ldouble.
24651 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
24652 <libm-alias-ldouble.h>.
24653 (tanl): Define using libm_alias_ldouble.
24654 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
24655 <libm-alias-ldouble.h>.
24656 (totalorderl): Define using libm_alias_ldouble.
24657 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
24658 <libm-alias-ldouble.h>.
24659 (totalordermagl): Define using libm_alias_ldouble.
24660 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
24661 libm_alias_ldouble.
24662 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
24663 libm_alias_ldouble.
24665 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
24667 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
24669 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24670 (__libc_ifunc_impl_list): Likewise.
24671 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
24672 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
24674 * benchtests/bench-memmove-walk.c: New file.
24675 * benchtests/Makefile (string-benchset): Add it.
24677 * benchtests/bench-memset-walk.c: New file.
24678 * benchtests/Makefile (string-benchset): Add it.
24680 * benchtests/bench-memcpy-walk.c: New file.
24681 * benchtests/Makefile (string-benchset): Add it.
24683 2017-10-05 Florian Weimer <fweimer@redhat.com>
24685 nscd: Eliminate compilation time dependency in the build output.
24686 * nscd/nscd_stat.c (STATDATA_VERSION)
24687 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
24688 (STATDATA_VERSION_FULL): New macro definitions.
24689 (compilation): Remove.
24690 (struct statdata): Adjust version member.
24691 (send_stats): Set version from STATDATA_VERSION_FULL.
24692 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
24694 2017-10-05 Joseph Myers <joseph@codesourcery.com>
24696 * configure.ac (--enable-add-ons): Remove option.
24697 (machine): Do not mention add-ons in comment.
24698 (LIBC_PRECONFIGURE): Likewise.
24699 (add_ons): Remove variable and sanity checks and logic to locate
24701 (add_ons_automatic): Remove variable.
24702 (configured_add_ons): Likewise.
24703 (add_ons_sfx): Likewise.
24704 (add_ons_pfx): Likewise.
24705 (add_on_subdirs): Likewise.
24706 (sysnames_add_ons): Likewise. Remove loop over add-ons and
24707 consideration of add-ons in Implies handling.
24708 (sysdeps_add_ons): Likewise.
24709 * configure: Regenerated.
24710 * libidn/configure.ac: Remove.
24711 * libidn/configure: Likewise.
24712 * sysdeps/unix/inet/configure.ac: New file.
24713 * sysdeps/unix/inet/configure: New generated file.
24714 * sysdeps/unix/inet/Subdirs: Add libidn.
24715 * Makeconfig (sysdeps-srcdirs): Remove variable.
24716 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
24717 ($(common-objpfx)config.status): Do not depend on add-on files.
24718 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
24720 (all-subdirs): Do not include $(add-on-subdirs).
24721 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
24722 * config.make.in (add-ons): Remove variable.
24723 (add-on-subdirs): Likewise.
24724 (sysdeps-add-ons): Likewise.
24725 * manual/Makefile (add-chapters): Remove.
24726 ($(objpfx)texis): Do not depend on $(add-chapters).
24727 (nonexamples): Do not handle $(add-chapters).
24728 (examples): Do not handle $(add-ons).
24729 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
24731 * manual/install.texi (Installation): Do not mention add-ons.
24732 (--enable-add-ons): Do not document configure option.
24733 * INSTALL: Regenerated.
24734 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
24735 * manual/maint.texi (Hierarchy Conventions): Do not mention
24737 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
24739 * scripts/gen-sorted.awk: Do not handle Subdirs files from
24741 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
24742 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
24744 2017-10-05 Andreas Schwab <schwab@suse.de>
24747 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
24748 (_IO_flush_all_lockp): Always lock list_all_lock.
24749 (_IO_flush_all_linebuffered): Likewise.
24750 (_IO_unbuffer_all): Likewise.
24752 2017-10-05 Florian Weimer <fweimer@redhat.com>
24755 Do not flush stdio streams on abort.
24756 * stdlib/abort.c (fflush): Remove macro definition.
24757 (abort): Remove stages related to stdio flushing.
24759 2017-10-05 Florian Weimer <fweimer@redhat.com>
24761 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
24763 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
24765 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24767 2017-10-05 Florian Weimer <fweimer@redhat.com>
24769 * support/support_format_hostent.c (support_format_hostent): Add
24770 more error information for NETDB_INTERNAL.
24772 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24774 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
24775 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
24776 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
24777 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
24778 AC_DEFINE if multi-arch is enabled.
24779 * sysdeps/i386/configure: Regenerated.
24781 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24783 * Makeconfig (+link-static-before-libc): Use
24784 $(DEFAULT-LDFLAGS-$(@F)).
24785 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
24786 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
24787 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
24789 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24791 * elf/Makefile (tests): Add tst-main1.
24792 (modules-names): Add tst-main1mod.
24793 ($(objpfx)tst-main1): New.
24794 (CRT-tst-main1): Likewise.
24795 (LDFLAGS-tst-main1): Likewise.
24796 (LDLIBS-tst-main1): Likewise.
24797 (tst-main1mod.so-no-z-defs): Likewise.
24798 * elf/tst-main1.c: New file.
24799 * elf/tst-main1mod.c: Likewise.
24801 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
24803 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
24805 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24807 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
24808 (fma): Define using libm_alias_double.
24809 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
24810 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
24812 (fmal): Do not define as compat symbol here.
24813 * sysdeps/alpha/fpu/s_fma.c: New file.
24815 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24817 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
24819 2017-10-04 Joseph Myers <joseph@codesourcery.com>
24822 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
24824 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24826 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
24827 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24828 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
24829 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
24830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24831 Include <math_ldbl_opt.h>
24832 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
24834 (compat_symbol): Undefine and redefine.
24835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
24837 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
24838 (compat_symbol): Undefine and redefine.
24839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
24840 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
24841 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
24842 GLIBC_2_1 for libm.
24843 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
24844 GLIBC_2.0 copysignl symbol.
24845 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24846 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
24848 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
24850 2017-10-04 Florian Weimer <fweimer@redhat.com>
24852 * scripts/check-local-headers.sh: Ignore nspr4 header file
24853 directory in addition to nspr.
24855 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
24858 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
24859 * configure: Regenerate.
24860 * crypt/Makefile (nss-cpp-flags): New variable.
24861 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
24862 (CPPFLAGS-md5-crypt.c): Use it.
24863 * scripts/check-local-headers.sh: Ignore nspr header file
24866 2017-10-04 Andreas Schwab <schwab@suse.de>
24868 * nis/Makefile (services): Remove compat.
24869 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
24870 ($(objpfx)libnss_compat.so): Remove rule.
24871 * nis/Versions (libnss_compat): Remove.
24872 * nss/Makefile (services): Add compat.
24873 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
24874 * nss/Versions (libnss_compat): Define.
24875 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
24876 Don't include <rpc/types.h>. Replace bool_t by bool.
24877 * nss/nss_compat/compat-initgroups.c: Likewise.
24878 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
24879 instead of <rpcsrv/ypclnt.h>.
24880 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
24881 yp_get_default_domain.
24882 * nss/nss_compat/compat-pwd.c: Likewise.
24883 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
24884 yp_get_default_domain.
24885 * nss/nss_compat/nisdomain.c: New file.
24886 * nss/nss_compat/nisdomain.h: Likewise.
24888 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24891 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
24892 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24894 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
24897 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
24898 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
24900 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24902 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
24903 "movl main@GOTOFF(%ebx), %eax".
24905 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24907 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
24908 allow undefined _DYNAMIC in PIE libc.a.
24909 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24912 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24914 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
24917 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24919 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
24922 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24924 * math/test-math-iscanonical.cc (error): Replace bool with int.
24926 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24928 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
24929 (modf): Define using libm_alias_double, only if [!__modf].
24930 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
24931 <libm-alias-double.h>.
24932 (modf): Define using libm_alias_double, only if [!__modf].
24933 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
24934 compat symbol here.
24935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
24936 (weak_alias): Do not undefine and redefine.
24937 (strong_alias): Likewise.
24938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
24939 (weak_alias): Likewise.
24940 (strong_alias): Likewise.
24942 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
24943 (logb): Define using libm_alias_double, only if [!__logb].
24944 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
24945 <libm-alias-double.h>.
24946 (logb): Define using libm_alias_double, only if [!__logb].
24947 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
24948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
24949 (weak_alias): Do not undefine and redefine.
24950 (strong_alias): Likewise.
24951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
24952 (weak_alias): Likewise.
24953 (strong_alias): Likewise.
24955 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
24957 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
24958 Check SHARED instead PIC.
24960 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24962 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
24963 [!__fmaf] (fmaf): Define using libm_alias_float.
24965 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
24966 (frexp): Define using libm_alias_double.
24967 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
24968 <libm-alias-double.h>.
24969 (frexp): Define using libm_alias_double.
24970 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
24971 compat symbol here.
24973 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24976 * math/math.h: Trivial fix for unbalanced parentheses in comment.
24977 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
24978 (CFLAGS-test-math-iscanonical.cc): New variable.
24979 * math/test-math-iscanonical.cc: New file.
24980 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
24981 Provide a C++ implementation based on function overloading,
24982 rather than using __MATH_TG, which uses C-only builtins.
24983 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
24985 * sysdeps/powerpc/powerpc64le/Makefile
24986 (CFLAGS-test-math-iscanonical.cc): New variable.
24988 2017-10-03 Joseph Myers <joseph@codesourcery.com>
24990 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
24991 (ceil): Define using libm_alias_double.
24992 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
24993 (floor): Define using libm_alias_double.
24994 * sysdeps/ieee754/dbl-64/s_llround.c: Include
24995 <libm-alias-double.h>.
24996 (llround): Define using libm_alias_double.
24997 * sysdeps/ieee754/dbl-64/s_lround.c: Include
24998 <libm-alias-double.h>.
24999 (lround): Define using libm_alias_double.
25000 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
25001 <libm-alias-double.h>.
25002 (nearbyint): Define using libm_alias_double.
25003 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
25004 <libm-alias-double.h>.
25005 (remquo): Define using libm_alias_double.
25006 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
25007 (rint): Define using libm_alias_double.
25008 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
25009 (round): Define using libm_alias_double.
25010 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
25011 (trunc): Define using libm_alias_double.
25012 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
25013 <libm-alias-double.h>.
25014 (ceil): Define using libm_alias_double.
25015 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
25016 <libm-alias-double.h>.
25017 (floor): Define using libm_alias_double.
25018 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
25019 <libm-alias-double.h>.
25020 (llround): Define using libm_alias_double.
25021 [_LP64] (lround): Likewise.
25022 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
25023 <libm-alias-double.h>.
25024 [!_LP64] (lround): Define using libm_alias_double.
25025 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
25026 <libm-alias-double.h>.
25027 (nearbyint): Define using libm_alias_double.
25028 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
25029 <libm-alias-double.h>.
25030 (remquo): Define using libm_alias_double.
25031 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
25032 <libm-alias-double.h>.
25033 (rint): Define using libm_alias_double.
25034 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
25035 <libm-alias-double.h>.
25036 (round): Define using libm_alias_double.
25037 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
25038 <libm-alias-double.h>.
25039 (trunc): Define using libm_alias_double.
25040 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
25041 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
25042 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
25043 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
25044 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
25045 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
25046 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
25047 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
25048 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
25050 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25052 * math/w_remainder.c: New file.
25053 * math/w_remainderf.c: New file.
25054 * math/w_remainderl.c: New file.
25056 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
25058 * elf/rtld.c (BOOTSTRAP_MAP): New.
25059 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
25060 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25062 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25064 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
25067 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
25069 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
25070 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
25071 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
25072 rtld_hidden_data_ver): Define to empty.
25073 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
25074 __assert_perror_fail): Likewise.
25075 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25076 (__rewinddir): Likewise.
25077 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25078 (__profile_frequency): Likewise.
25079 * include/setjmp.h (__sigsetjmp): Likewise.
25080 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
25081 __libc_sigaction): Likewise.
25082 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
25083 not set hidden attribute.
25084 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
25085 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
25086 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
25087 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
25088 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
25089 __fxstatat64): Likewise.
25090 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25091 (__uname): Likewise.
25092 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
25093 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
25094 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
25095 (NO_RTLD_HIDDEN): Set.
25096 * sysdeps/mach/hurd/configure: Refresh.
25097 * config.h.in: Refresh.
25099 2017-10-02 Joseph Myers <joseph@codesourcery.com>
25101 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
25102 (atan): Define using libm_alias_double.
25103 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
25104 (tan): Define using libm_alias_double.
25105 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
25106 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
25108 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
25109 define as weak alias of __atan. Do not define any aliases if
25111 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
25112 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
25113 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
25114 as weak alias of __tan. Do not define any aliases if [__tan].
25115 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
25116 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
25117 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
25119 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
25120 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
25121 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
25122 and define as weak alias of __atan.
25123 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
25125 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
25126 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
25127 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
25128 define as weak alias of __tan.
25130 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25132 * math/w_lgamma.c: New file.
25133 * math/w_lgammaf.c: New file.
25134 * math/w_lgammal.c: New file.
25136 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25138 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
25139 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
25140 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
25141 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
25142 * sysdeps/ieee754/flt-32/w_logf.c: New file.
25143 * sysdeps/ieee754/flt-32/w_powf.c: New file.
25144 * sysdeps/i386/fpu/w_log2f.c: New file.
25145 * sysdeps/i386/fpu/w_logf.c: New file.
25146 * sysdeps/i386/fpu/w_powf.c: New file.
25147 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
25148 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
25149 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
25151 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25152 H.J. Lu <hongjiu.lu@intel.com>
25154 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
25155 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
25156 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
25157 * sysdeps/ieee754/flt-32/w_expf.c: New file.
25158 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
25160 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
25161 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
25162 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
25163 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
25164 * sysdeps/i386/fpu/w_exp2f.c: New file.
25165 * sysdeps/i386/fpu/w_expf.c: New file.
25166 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
25167 * sysdeps/x86_64/fpu/w_expf.c: New file.
25169 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25171 * math/Versions (logf): New libm symbol at GLIBC_2.27.
25174 * math/w_log2f.c: New file.
25175 * math/w_logf.c: New file.
25176 * math/w_powf.c: New file.
25177 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
25178 * math/w_logf_compat.c (__logf_compat): Likewise.
25179 * math/w_powf_compat.c (__powf_compat): Likewise.
25180 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
25181 * sysdeps/ia64/fpu/e_logf.S: Likewise.
25182 * sysdeps/ia64/fpu/e_powf.S: Likewise.
25183 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
25184 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25185 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25186 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25187 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25188 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25189 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25190 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25191 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25192 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25193 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25194 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25203 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25204 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25205 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25206 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25207 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25212 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25213 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25214 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25216 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25218 * sysdeps/powerpc/powerpc64/multiarch/Makefile
25219 (sysdep_routines): Add memrchr_power8.
25220 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25221 (memrchr): Add __memrchr_power8 to list of memrchr functions.
25222 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
25224 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
25225 (memrchr): Add __memrchr_power8 to ifunc list.
25226 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
25228 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25231 * sysdeps/unix/sysv/linux/posix_fadvise64.c
25232 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
25234 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25235 (__posix_fallocate64_l64): Likewise.
25237 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25240 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25241 (__sched_setaffinity_new): Add libc_hidden_proto and
25244 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25247 * include/glob.h (__glob64): Add libc_hidden_proto.
25248 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
25251 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25254 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
25257 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25260 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
25262 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25265 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
25268 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25271 * csu/version.c (__libc_print_version): Add attribute_hidden.
25273 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25276 * include/libc-internal.h (__init_misc): Add attribute_hidden.
25278 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25281 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
25283 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25286 * nscd/nscd_helper.c (__nis_hash): New prototype.
25288 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25291 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
25292 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
25294 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25295 * termios/tcgetattr.c (__tcgetattr): Likewise.
25297 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25300 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
25301 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
25302 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
25303 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
25304 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
25306 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25309 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
25311 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25314 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
25315 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
25317 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25320 * intl/hash-string.h (__hash_string): Add attribute_hidden.
25322 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25325 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
25326 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
25328 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25331 * include/ifreq.h: New file.
25332 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
25333 (__ifreq): Likewise.
25334 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
25335 (__ifreq): Likewise.
25337 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25340 * include/idna.h: New file.
25341 * inet/getnameinfo.c: Include <idna.h> instead of
25343 (__idna_to_unicode_lzlz): Removed.
25344 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
25346 (__idna_to_ascii_lz): Removed.
25347 (__idna_to_unicode_lzlz): Likewise.
25349 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25352 * include/plural-exp.h: New file.
25353 * intl/plural-exp.c: Include <plural-exp.h> instead of
25356 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25359 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
25360 "getsourcefilter.h".
25361 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
25362 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
25363 "getsourcefilter.h".
25364 (__get_sol): Removed.
25366 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25369 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
25371 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
25373 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25376 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
25379 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25382 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
25384 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25387 * include/search.h (__tdestroy): Add libc_hidden_proto.
25388 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
25390 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25393 * include/assert.h (__assert_fail_base): Add attribute_hidden.
25395 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25398 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
25401 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25404 * include/signal.h (__kill): Add libc_hidden_proto.
25405 (__sigblock): Likewise.
25406 (__sigprocmask): Likewise.
25407 (__sigaltstack): Likewise.
25408 * signal/kill.c (__kill): Add libc_hidden_def.
25409 * signal/sigblock.c (__sigblock): Likewise.
25410 * signal/sigprocmask.c (__sigprocmask): Likewise.
25411 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
25412 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25413 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25414 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25415 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
25417 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25419 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25420 (__sigprocmask): Likewise.
25421 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
25423 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25424 (__sigprocmask): Likewise.
25425 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25428 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25431 * include/string.h (__strsep): Add libc_hidden_proto.
25432 * string/strsep.c (__strsep): Add libc_hidden_def.
25434 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25437 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
25439 (__spawni): Likewise.
25441 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25444 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
25445 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
25448 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25451 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
25453 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25456 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
25457 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
25458 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
25459 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
25460 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
25462 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
25463 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
25465 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25468 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
25469 (__dcigettext): Likewise.
25471 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25474 * include/sys/sysinfo.h (__get_nprocs_conf): Add
25476 (__get_nprocs): Likewise.
25477 (__get_phys_pages): Likewise.
25478 (__get_avphys_pages): Likewise.
25479 (__get_child_max): Add attribute_hidden.
25480 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
25481 (__get_nprocs): Likewise.
25482 (__get_phys_pages): Likewise.
25483 (__get_avphys_pages): Likewise.
25484 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
25486 (__get_nprocs): Likewise.
25487 (__get_phys_pages): Likewise.
25488 (__get_avphys_pages): Likewise.
25489 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
25491 (__get_nprocs_conf): Likewise.
25492 (__get_phys_pages): Likewise.
25493 (__get_avphys_pages): Likewise.
25495 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25498 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
25500 (__netlink_close): Likewise.
25501 (__netlink_free_handle): Likewise.
25502 (__netlink_request): Likewise.
25504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25507 * include/rpc/rpc.h (__rpc_thread_variables): Add
25509 (__rpc_thread_svc_cleanup): Likewise.
25510 (__rpc_thread_clnt_cleanup): Likewise.
25511 (__rpc_thread_key_cleanup): Likewise.
25513 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25516 * include/sys/uio.h (__readv): Add libc_hidden_proto.
25517 (__writev): Likewise.
25518 * misc/readv.c (__readv): Add libc_hidden_def.
25519 * misc/writev.c (__writev): Likewise.
25520 * sysdeps/posix/readv.c (__readv): Likewise.
25521 * sysdeps/posix/writev.c (__writev): Likewise.
25522 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
25523 (__readv): Likewise.
25524 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
25525 (__writev): Likewise.
25527 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25530 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
25531 (__regcomp): Add libc_hidden_proto.
25532 (__regexec): Likewise.
25533 (__regfree): Likewise.
25534 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
25535 (__regfree): Likewise.
25536 * posix/regexec.c (__regexec): Likewise.
25538 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25541 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
25542 (__getutent): Likewise.
25543 (__getutid): Likewise.
25544 (__getutline): Likewise.
25545 (__pututline): Likewise.
25546 (__getutent_r): Likewise.
25547 (__getutid_r): Likewise.
25548 (__getutline_r): Likewise.
25549 (__utmpname): Add attribute_hidden.
25550 (__setutent): Likewise.
25551 (__endutent): Likewise.
25552 * login/getutent.c (__getutent): Add libc_hidden_def.
25553 * login/getutent_r.c (__getutent_r): Likewise.
25554 (__pututline): Likewise.
25555 * login/getutid.c (__getutid): Likewise.
25556 * login/getutid_r.c (__getutid_r): Likewise.
25557 * login/getutline.c (__getutline): Likewise.
25558 * login/getutline_r.c (__getutline_r): Likewise.
25559 * login/updwtmp.c (__updwtmp): Likewise.
25561 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25564 * include/dirent.h (__opendir): Always add attribute_hidden.
25565 (__fdopendir): Likewise.
25566 (__closedir): Likewise.
25567 (__readdir): Likewise.
25568 (__readdir64): Add libc_hidden_proto.
25569 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
25570 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
25571 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
25572 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
25575 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25578 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
25579 * include/netdb.h (__gethostbyaddr_r): Likewise.
25580 (__gethostbyname_r): Likewise.
25581 (__gethostbyname2_r): Likewise.
25582 (__getnetbyaddr_r): Likewise.
25583 (__getnetbyname_r): Likewise.
25584 (__getservbyname_r): Likewise.
25585 (__getservbyport_r): Likewise.
25586 (__getprotobyname_r): Likewise.
25587 (__getprotobynumber_r): Likewise.
25588 (__getnetgrent_r): Likewise.
25589 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
25590 (__getrpcbynumber_r): Likewise.
25591 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
25593 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25596 * include/stdio.h (__fcloseall): Add attribute_hidden.
25597 (__getline): Likewise.
25598 (__path_search): Likewise.
25599 (__gen_tempname): Likewise.
25600 (__libc_message): Likewise.
25601 (__flockfile): Likewise.
25602 (__funlockfile): Likewise.
25603 (__fxprintf): Likewise.
25604 (__fxprintf_nocancel): Likewise.
25606 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25609 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
25610 (__sgetsgent_r): Likewise.
25612 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25615 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
25616 (__statfs64): Likewise.
25617 (__fstatfs64): Likewise.
25618 * include/sys/statvfs.h (__statvfs64): Likewise.
25619 (__fstatvfs64): Likewise.
25620 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
25621 (__statfs_filesize_max): Likewise.
25622 (__statfs_symlinks): Likewise.
25623 (__statfs_chown_restricted): Likewise.
25625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25628 * include/time.h (__tzstring): Add attribute_hidden.
25629 (__tzfile_read): Likewise.
25630 (__tzfile_compute): Likewise.
25631 (__tzfile_default): Likewise.
25632 (__tzset_parse_tz): Likewise.
25633 (__offtime): Likewise.
25634 (__asctime_r): Likewise.
25635 (__tzset): Likewise.
25636 (__tz_convert): Likewise.
25637 (__getdate_r): Likewise.
25638 (__getclktck): Likewise.
25640 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25643 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
25644 (__nscd_unmap): Likewise.
25645 (__nscd_cache_search): Likewise.
25646 (__nscd_get_nl_timestamp): Likewise.
25647 (__nscd_getpwnam_r): Likewise.
25648 (__nscd_getpwuid_r): Likewise.
25649 (__nscd_getgrnam_r): Likewise.
25650 (__nscd_getgrgid_r): Likewise.
25651 (__nscd_gethostbyname_r): Likewise.
25652 (__nscd_gethostbyname2_r): Likewise.
25653 (__nscd_gethostbyaddr_r): Likewise.
25654 (__nscd_getai): Likewise.
25655 (__nscd_getgrouplist): Likewise.
25656 (__nscd_getservbyname_r): Likewise.
25657 (__nscd_getservbyport_r): Likewise.
25658 (__nscd_innetgr): Likewise.
25659 (__nscd_setnetgrent): Likewise.
25661 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25664 * include/gmp.h: Declare internal functions only if _ISOMAC is
25666 (__mpn_extract_double): Add attribute_hidden.
25667 (__mpn_extract_long_double): Likewise.
25668 (__mpn_extract_float128): Likewise.
25669 (__mpn_construct_float): Likewise.
25670 (__mpn_construct_double): Likewise.
25671 (__mpn_construct_long_double): Likewise.
25672 (__mpn_construct_float128): Likewise.
25673 (mpn_add_1): Likewise.
25674 (mpn_addmul_1): Likewise.
25675 (mpn_add_n): Likewise.
25676 (mpn_cmp): Likewise.
25677 (mpn_divrem): Likewise.
25678 (mpn_lshift): Likewise.
25679 (mpn_mul): Likewise.
25680 (mpn_mul_1): Likewise.
25681 (mpn_rshift): Likewise.
25682 (mpn_sub_1): Likewise.
25683 (mpn_submul_1): Likewise.
25684 (mpn_sub_n): Likewise.
25686 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25689 * include/wchar.h (__wcsnlen): Add attribute_hidden.
25690 (__wcscat): Likewise.
25691 (__btowc): Likewise.
25692 (__wcrtomb): Likewise.
25693 (__mbsrtowcs): Likewise.
25694 (__wcsrtombs): Likewise.
25695 (__mbsnrtowcs): Likewise.
25696 (__wcsnrtombs): Likewise.
25697 (__wcsncpy): Likewise.
25698 (__wcpncpy): Likewise.
25699 (__wmemcpy): Likewise.
25700 (__wmempcpy): Likewise.
25701 (__wmemmove): Likewise.
25702 (__wcschrnul): Likewise.
25703 (__vfwscanf): Likewise.
25704 (__vswprintf): Likewise.
25705 (__fwprintf): Likewise.
25706 (__vfwprintf): Likewise.
25708 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25711 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
25712 (__getgrgid_r): Likewise.
25713 (__getgrnam_r): Likewise.
25714 * include/pwd.h (__getpwuid_r): Likewise.
25715 (__getpwnam_r): Likewise.
25716 (__fgetpwent_r): Likewise.
25717 * include/shadow.h (__getspnam_r): Likewise.
25718 (__sgetspent_r): Likewise.
25719 (__fgetspent_r): Likewise.
25721 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25724 * include/unistd.h (__access): Add attribute_hidden.
25725 (__lseek64): Likewise.
25726 (__libc_pread64): Likewise.
25727 (__pipe2): Likewise.
25728 (__sleep): Likewise.
25729 (__chdir): Likewise.
25730 (__fchdir): Likewise.
25731 (__getcwd): Likewise.
25732 (__rmdir): Likewise.
25733 (__execvpe): Likewise.
25734 (__execve): Likewise.
25735 (__setsid): Likewise.
25736 (__getuid): Likewise.
25737 (__geteuid): Likewise.
25738 (__getgid): Likewise.
25739 (__getegid): Likewise.
25740 (__getgroups): Likewise.
25741 (__group_member): Likewise.
25742 (__ttyname_r): Likewise.
25743 (__isatty): Likewise.
25744 (__readlink): Likewise.
25745 (__unlink): Likewise.
25746 (__gethostname): Likewise.
25747 (__profil): Likewise.
25748 (__getdtablesize): Likewise.
25750 (__ftruncate): Likewise.
25751 (__ftruncate64): Likewise.
25753 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25756 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
25757 * argp/argp-fs-xinl.c: Likewise.
25758 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
25759 * argp/argp-parse.c: Include <argp.h>.
25760 * argp/argp-xinl.c: Likewise.
25761 * include/argp-fmtstream.h: New file.
25762 * include/argp.h (__argp_error): Add attribute_hidden.
25763 (__argp_failure): Likewise.
25764 (__argp_input): Likewise.
25765 (__argp_state_help): Likewise.
25767 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25770 * include/wchar.h (____wcstof_l_internal): New prototype.
25771 (____wcstod_l_internal): Likewise.
25772 (____wcstold_l_internal): Likewise.
25773 (____wcstol_l_internal): Likewise.
25774 (____wcstoul_l_internal): Likewise.
25775 (____wcstoll_l_internal): Likewise.
25776 (____wcstoull_l_internal): Likewise.
25777 (____wcstof128_l_internal): Likewise.
25778 * sysdeps/ieee754/float128/wcstof128.c
25779 (____wcstof128_l_internal): Removed.
25780 * sysdeps/ieee754/float128/wcstof128_l.c
25781 (____wcstof128_l_internal): Likewise.
25782 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
25783 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
25784 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
25785 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
25786 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
25787 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
25788 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
25789 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
25790 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
25791 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
25793 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25796 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
25797 instead of <sys/statvfs.h>.
25798 (__internal_statvfs): Removed.
25799 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
25800 instead of <sys/statvfs.h>.
25801 (__internal_statvfs64): Removed.
25802 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
25803 "internal_statvfs.h" instead of <sys/statvfs.h>.
25804 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
25805 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
25806 instead of <sys/statvfs.h>.
25807 (__internal_statvfs): Removed.
25808 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
25809 instead of <sys/statvfs.h>.
25810 (__internal_statvfs64): Removed.
25812 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25815 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
25816 (__gconv_close): Likewise.
25817 (__gconv): Likewise.
25818 (__gconv_find_transform): Likewise.
25819 (__gconv_lookup_cache): Likewise.
25820 (__gconv_compare_alias_cache): Likewise.
25821 (__gconv_load_cache): Likewise.
25822 (__gconv_get_path): Likewise.
25823 (__gconv_close_transform): Likewise.
25824 (__gconv_release_cache): Likewise.
25825 (__gconv_find_shlib): Likewise.
25826 (__gconv_release_shlib): Likewise.
25827 (__gconv_get_builtin_trans): Likewise.
25828 (__gconv_compare_alias): Likewise.
25829 * include/dlfcn.h (_dlerror_run): Likewise.
25830 * include/stdio.h (__fortify_fail_abort): Likewise.
25831 * include/time.h (__tz_compute): Likewise.
25832 (__strptime_internal): Likewise.
25833 * intl/gettextP.h (_nl_find_domain): Likewise.
25834 (_nl_load_domain): Likewise.
25835 (_nl_find_msg): Likewise.
25836 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
25837 (EXTRACT_PLURAL_EXPRESSION): Likewise.
25838 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
25839 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
25840 (__gai_find_request): Likewise.
25841 (__gai_remove_request): Likewise.
25842 (__gai_notify): Likewise.
25843 (__gai_notify_only): Likewise.
25844 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
25845 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
25846 (_dl_non_dynamic_init): Likewise.
25847 (_dl_aux_init): Likewise.
25848 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
25849 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
25851 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
25852 (__wcsmbs_clone_conv): Likewise.
25853 (__wcsmbs_named_conv): Likewise.
25855 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25858 * include/stdlib.h (__random): Add attribute_hidden.
25859 (__random_r): Likewise.
25860 (__srandom_r): Likewise.
25861 (__initstate_r): Likewise.
25862 (__setstate_r): Likewise.
25863 (__erand48_r): Likewise.
25864 (__nrand48_r): Likewise.
25865 (__jrand48_r): Likewise.
25866 (__srand48_r): Likewise.
25867 (__seed48_r): Likewise.
25868 (__lcong48_r): Likewise.
25869 (__drand48_iterate): Likewise.
25870 (__setenv): Likewise.
25871 (__unsetenv): Likewise.
25872 (__clearenv): Likewise.
25873 (__ptsname_r): Likewise.
25874 (__posix_openpt): Likewise.
25875 (__add_to_environ): Likewise.
25876 (__realpath): Add libc_hidden_proto.
25877 (__ecvt_r): Likewise.
25878 (__fcvt_r): Likewise.
25879 (__qecvt_r): Likewise.
25880 (__qfcvt_r): Likewise.
25881 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
25882 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
25884 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
25887 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
25888 * include/time.h (__mktime_internal): Likewise.
25889 * libio/iolibio.h (__fopen_internal): Likewise.
25891 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
25893 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
25895 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
25896 Correct offset used to restore PIC register.
25898 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
25901 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
25902 code to load address of __getcontext_ret when generating PIC code.
25904 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
25906 * elf/Makefile (tests-static-internal): Add
25907 tst-tls1-static-non-pie.
25908 (LDFLAGS-tst-tls1-static-non-pie): New.
25909 * elf/tst-tls1-static-non-pie.c: New file.
25911 2017-09-29 Joseph Myers <joseph@codesourcery.com>
25913 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
25914 (asinh): Define using libm_alias_double.
25915 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
25916 (cbrt): Define using libm_alias_double.
25917 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
25918 <libm-alias-double.h>.
25919 (copysign): Define using libm_alias_double.
25920 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
25921 (erf): Define using libm_alias_double.
25923 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
25924 (expm1): Define using libm_alias_double.
25925 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
25926 (fabs): Define using libm_alias_double.
25927 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
25929 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
25930 <libm-alias-double.h>.
25931 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
25933 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
25934 <libm-alias-double.h>.
25935 (getpayload): Define using libm_alias_double.
25936 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
25937 <libm-alias-double.h>.
25938 (llrint): Define using libm_alias_double.
25939 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
25940 (lrint): Define using libm_alias_double.
25941 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
25942 <libm-alias-double.h>.
25943 (nextup): Define using libm_alias_double.
25944 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
25945 <libm-alias-double.h>.
25946 (roundeven): Define using libm_alias_double.
25947 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
25949 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
25950 <libm-alias-double.h>.
25951 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
25952 using libm_alias_double.
25953 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
25954 (cos): Define using libm_alias_double.
25956 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
25957 <libm-alias-double.h>.
25958 (sincos): Define using libm_alias_double.
25959 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
25960 (tanh): Define using libm_alias_double.
25961 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
25962 <libm-alias-double.h>.
25963 (totalorder): Define using libm_alias_double.
25964 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
25965 <libm-alias-double.h>.
25966 (totalordermag): Define using libm_alias_double.
25967 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
25969 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
25971 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
25972 <libm-alias-double.h>.
25973 (getpayload): Define using libm_alias_double.
25974 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
25975 <libm-alias-double.h>.
25976 (roundeven): Define using libm_alias_double.
25977 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
25978 <libm-alias-double.h>.
25979 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
25980 <libm-alias-double.h>.
25981 (totalorder): Define using libm_alias_double.
25982 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
25983 <libm-alias-double.h>.
25984 (totalordermag): Define using libm_alias_double.
25985 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
25986 libc compat symbol here.
25987 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
25988 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
25989 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
25990 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
25991 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
25992 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
25993 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
25994 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
25995 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
25996 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
25998 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26000 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
26001 _dl_relocate_static_pie instead of _dl_start to compute load
26002 address in static PIE. Return 0 if _DYNAMIC is undefined for
26005 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26007 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
26008 _DYNAMIC is undefined for static executable.
26010 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
26012 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
26014 2017-09-29 Joseph Myers <joseph@codesourcery.com>
26016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26018 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26020 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26021 (__ieee754_lgamma_r): Use fabs rather than __fabs.
26022 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26023 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26024 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26025 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
26026 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
26027 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
26028 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
26029 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26030 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
26031 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26032 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26033 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
26034 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26035 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26036 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
26038 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
26040 * math/bits/cmathcalls.h (cimag): Remove inline.
26041 (creal): Remove inline.
26042 (conj): Remove inline.
26044 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26046 * math/Makefile (type-float-routines): Add e_powf_log2_data.
26047 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
26048 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
26049 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
26050 (issignalingf_inline): Likewise.
26051 (POWF_LOG2_TABLE_BITS): Likewise.
26052 (POWF_LOG2_POLY_ORDER): Likewise.
26053 (POWF_SCALE_BITS): Likewise.
26054 (POWF_SCALE): Likewise.
26055 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
26056 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
26057 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
26059 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26061 * math/Makefile (type-float-routines): Add e_log2f_data.
26062 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
26063 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
26064 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
26065 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
26066 * sysdeps/i386/fpu/e_log2f_data.c: New file.
26067 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
26068 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
26070 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
26072 * math/Makefile (type-float-routines): Add e_logf_data.
26073 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
26074 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
26075 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
26076 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
26077 * sysdeps/i386/fpu/e_logf_data.c: New file.
26078 * sysdeps/ia64/fpu/e_logf_data.c: New file.
26079 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
26081 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
26083 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
26084 undefined _DYNAMIC in PIE libc.a.
26085 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
26088 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26090 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
26091 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
26092 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
26093 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
26094 (__signbit): Remove.
26095 (__signbitl): Remove.
26096 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
26097 (__signbit): Remove.
26098 (__signbitl): Remove.
26099 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
26100 (__signbit): Remove.
26101 (__signbitl): Remove.
26102 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
26103 (__signbit): Remove.
26104 (__signbitl): Remove.
26105 * sysdeps/tile/bits/mathinline.h: Delete file.
26106 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
26107 (__signbit): Remove.
26108 (__signbitl): Remove.
26110 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
26112 * math/math.h: Improve handling of C99 isgreater macros.
26113 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
26114 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
26115 * sysdeps/powerpc/bits/mathinline.h: Likewise.
26116 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26117 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
26119 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
26121 * sysdeps/aarch64/libm-test-ulps: Update.
26123 2017-09-28 Joseph Myers <joseph@codesourcery.com>
26126 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26127 math_opt_barrier on argument when doing arithmetic on it.
26128 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26129 Likewise. Use math_force_eval not math_opt_barrier after
26131 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
26132 math_opt_barrier on argument when doing arithmetic on it.
26133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26136 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
26138 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
26140 (__freeifaddrs): Likewise.
26142 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
26144 * include/dirent.h (__dirfd): New declaration.
26145 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
26147 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
26148 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
26149 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
26150 * include/unistd.h (__revoke): New declaration.
26151 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
26153 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26154 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
26156 * include/dirent.h (__seekdir): New declaration.
26157 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
26158 redefine as weak alias.
26159 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
26161 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
26162 and use libc_hidden_def on them.
26163 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
26165 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
26166 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
26167 instead of getifaddrs and freeifaddrs.
26169 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26172 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
26173 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
26174 (__dso_handle): Remove declaration.
26175 * dlfcn/tstatexit.c (__dso_handle): Removed.
26176 (main): Don't check __dso_handle.
26177 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
26178 (main): Don't check __dso_handle.
26179 * include/dso_handle.h: New file.
26180 * malloc/mtrace.c: Include <dso_handle.h>.
26181 (mtrace): Pass __dso_handle directly.
26182 * nptl/pthread_atfork.c: Include <dso_handle.h>.
26183 (__dso_handle): Remove declaration.
26184 (__pthread_atfork): Pass __dso_handle directly.
26185 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
26186 (__dso_handle): Removed.
26187 * posix/wordexp-test.c: Include <dso_handle.h>.
26188 (__dso_handle): Remove declaration.
26189 (__app_register_atfork): Pass __dso_handle directly.
26190 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
26191 (__dso_handle): Remove declaration.
26192 (at_quick_exit): Pass __dso_handle directly.
26193 * stdlib/atexit.c: Include <dso_handle.h>.
26194 (__dso_handle): Remove declaration.
26195 (atexit): Pass __dso_handle directly.
26196 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
26197 (__dso_handle): Removed.
26199 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26201 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
26204 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
26206 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
26207 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
26208 values to correct default value for given type.
26210 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
26213 * elf/Makefile (tests): Add tst-debug1.
26214 ($(objpfx)tst-debug1): New.
26215 ($(objpfx)tst-debug1.out): Likewise.
26216 ($(objpfx)tst-debug1mod1.so): Likewise.
26217 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
26218 with p_filesz == 0.
26219 * elf/tst-debug1.c: New file.
26221 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26223 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
26224 Define using __ifunc.
26226 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26228 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
26231 2017-09-26 Joseph Myers <joseph@codesourcery.com>
26234 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
26236 2017-09-26 Florian Weimer <fweimer@redhat.com>
26238 * resolv/Makefile (tests-internal): Fix typo in comment.
26240 2017-09-26 Florian Weimer <fweimer@redhat.com>
26242 * resolv/nss_dns/dns-host.c: Fix typo in comment.
26244 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26246 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
26247 Use an union instead of a max_align_t array for __space,
26248 so that __space is the same size on all platforms.
26249 * malloc/scratch_buffer_grow_preserve.c
26250 (__libc_scratch_buffer_grow_preserve): Likewise.
26253 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
26255 * posix/Makefile (routines): Add glob-lstat-compat and
26256 glob64-lstat-compat.
26257 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
26258 * posix/glob-lstat-compat.c: New file.
26259 * posix/glob64-lstat-compat.c: Likewise.
26260 * posix/tst-glob_lstat_compat.c: Likewise.
26261 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
26262 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
26263 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
26264 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
26266 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
26267 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26268 * posix/glob.c (glob_lstat): New function.
26269 (glob): Rename to __glob and add versioned symbol to 2.27.
26270 (glob_in_dir): Use glob_lstat.
26271 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
26272 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26273 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
26275 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
26276 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
26277 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
26278 gl_lstat on glob call.
26279 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
26280 and glob64 symbols.
26281 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26282 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26283 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26284 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26285 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26286 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26287 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26288 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26289 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26290 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26291 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26292 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26295 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
26296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26297 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26298 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26299 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26300 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26301 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26303 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26304 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26305 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26306 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26308 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
26310 * configure.ac (AS): Require binutils 2.25 or later.
26311 * configure: Regenerated.
26313 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26316 * stdlib/test-atexit-race-common.c (do_test): Minimize required
26319 2017-09-25 DJ Delorie <dj@redhat.com>
26322 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
26325 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
26327 * sysdeps/ieee754/dbl-64/sincos32.h
26328 [SINCCOS32_H]: Remove define.
26329 [SINCOS32_H]: Define.
26331 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26333 * math/Versions (expf): New libm symbol at GLIBC_2.27.
26335 * math/w_exp2f.c: New file.
26336 * math/w_expf.c: New file.
26337 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
26338 * math/w_expf_compat.c (__expf_compat): Likewise.
26339 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
26340 * sysdeps/ia64/fpu/e_expf.S: Likewise.
26341 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
26342 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26343 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26344 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26345 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26346 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26347 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26348 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26349 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26350 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26351 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26352 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26361 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26362 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26363 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26364 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26365 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26370 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26371 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26372 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26374 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
26376 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
26377 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
26378 (roundtoint, converttoint): Likewise.
26379 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
26380 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
26381 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
26382 * sysdeps/ieee754/flt-32/math_config.h: New file.
26383 * sysdeps/ieee754/flt-32/math_errf.c: New file.
26384 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
26385 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
26386 * sysdeps/i386/fpu/math_errf.c: New file.
26387 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
26388 * sysdeps/ia64/fpu/math_errf.c: New file.
26389 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
26390 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
26392 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
26394 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
26395 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
26396 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
26397 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
26398 to make sure that these symbols are defined.
26399 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
26401 (__need_NULL): Do not define.
26402 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
26404 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
26405 CMGROUP_MAX, cmsgcred): Do not define.
26406 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
26408 * bits/socket.h: Likewise.
26409 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
26410 __gettimeofday instead of gettimeofday.
26411 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
26412 instead of settimeofday.
26414 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26416 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
26417 (asinhf): Define using libm_alias_float.
26418 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
26419 (atanf): Define using libm_alias_float.
26420 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
26421 (cbrtf): Define using libm_alias_float.
26422 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
26423 (ceilf): Define using libm_alias_float.
26424 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
26425 <libm-alias-float.h>.
26426 (copysignf): Define using libm_alias_float.
26427 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
26428 (cosf): Define using libm_alias_float.
26429 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
26430 (erff): Define using libm_alias_float.
26432 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
26433 (expm1f): Define using libm_alias_float.
26434 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
26435 (fabsf): Define using libm_alias_float.
26436 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
26437 (floorf): Define using libm_alias_float.
26438 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
26439 (frexpf): Define using libm_alias_float.
26440 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
26442 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
26443 <libm-alias-float.h>.
26444 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
26446 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
26447 <libm-alias-float.h>.
26448 (getpayloadf): Define using libm_alias_float.
26449 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
26450 <libm-alias-float.h>.
26451 (llrintf): Define using libm_alias_float.
26452 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
26453 <libm-alias-float.h>.
26454 (llroundf): Define using libm_alias_float.
26455 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
26456 (logbf): Define using libm_alias_float.
26457 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
26458 (lrintf): Define using libm_alias_float.
26459 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
26460 (lroundf): Define using libm_alias_float.
26461 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
26462 (modff): Define using libm_alias_float.
26463 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
26464 <libm-alias-float.h>.
26465 (nearbyintf): Define using libm_alias_float.
26466 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
26467 <libm-alias-float.h>.
26468 (nextafterf): Define using libm_alias_float.
26469 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
26470 <libm-alias-float.h>.
26471 (nextupf): Define using libm_alias_float.
26472 * sysdeps/ieee754/flt-32/s_remquof.c: Include
26473 <libm-alias-float.h>.
26474 (remquof): Define using libm_alias_float.
26475 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
26476 (rintf): Define using libm_alias_float.
26477 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
26478 <libm-alias-float.h>.
26479 (roundevenf): Define using libm_alias_float.
26480 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
26481 (roundf): Define using libm_alias_float.
26482 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
26483 using libm_alias_float.
26484 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
26485 <libm-alias-float.h>.
26486 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
26487 Define using libm_alias_float.
26488 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
26489 <libm-alias-float.h>.
26490 (sincosf): Define using libm_alias_float.
26491 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
26492 (sinf): Define using libm_alias_float.
26493 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
26494 (tanf): Define using libm_alias_float.
26495 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
26496 (tanhf): Define using libm_alias_float.
26497 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
26498 <libm-alias-float.h>.
26499 (totalorderf): Define using libm_alias_float.
26500 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
26501 <libm-alias-float.h>.
26502 (totalordermagf): Define using libm_alias_float.
26503 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
26504 (truncf): Define using libm_alias_float.
26505 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
26507 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
26510 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26513 math/math.h: Let fpclassify use the builtin in C++ mode, even
26514 when optimazing for size.
26516 2017-09-22 Joseph Myers <joseph@codesourcery.com>
26518 * csu/Makefile (generated): Do not add version-info.h.
26519 (before-compile): Likewise.
26520 (all-Banner-files): Remove variable.
26521 ($(objpfx)version-info.h): Remove rule.
26522 * csu/version.c (banner): Do not include "version-info.h".
26523 * libidn/Banner: Remove.
26524 * manual/contrib.texi (Simon Josefsson): New entry.
26526 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26528 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26529 Remove conditionals on LDBL_MANT_DIG.
26530 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
26531 (__ieee754_lgammal_r): Likewise.
26533 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26535 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
26537 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
26538 _Float128 and L(). Replace _Float128 with long double and L(x)
26539 with xL, throughout the file.
26540 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26541 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26542 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26543 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26545 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26547 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
26548 sysdeps/ieee754/ldbl-128ibm.
26549 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
26550 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
26551 of including it. Keep _Float128 and L() intact. These will be
26552 reviewed by a separate patch.
26553 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
26554 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
26555 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
26556 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
26558 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
26561 (__finitef128): Define to __redirect___finitef128.
26562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
26563 (__isinff128): Define to __redirect___isinff128.
26564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
26565 (__isnanf128): Define to __redirect___isnanf128.
26567 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
26569 * sysdeps/powerpc/powerpc64le/Makefile
26570 (CFLAGS-tst-strtod-nan-locale.c): New variable.
26571 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
26573 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
26574 Carlos O'Donell <carlos@redhat.com>
26577 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
26578 * stdlib/test-dlclose-exit-race.c: New file.
26579 * stdlib/test-dlclose-exit-race-helper.c: New file.
26580 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
26582 2017-09-21 Joseph Myers <joseph@codesourcery.com>
26584 * crypt/Banner: Remove file.
26585 * nptl/Banner: Likewise.
26586 * resolv/Banner: Likewise.
26587 * soft-fp/Banner: Likewise.
26588 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
26589 ($(objpfx)version.d): Remove dependency on banner.h.
26590 ($(objpfx)version.os): Likewise.
26591 * nptl/version.c (banner): Do not include banner.h.
26592 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
26593 Jelinek and BIND code.
26595 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26596 Carlos O'Donell <carlos@redhat.com>
26598 * support/xdlfcn.h: New file.
26599 * support/xdlfcn.c: New file.
26600 * support/Makefile (libsupport-routines): Add xdlfcn.
26601 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
26603 2017-09-20 Joseph Myers <joseph@codesourcery.com>
26606 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26607 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
26608 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
26609 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
26610 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
26611 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
26612 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
26613 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
26615 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
26616 Ricky Zhou <rickyz@google.com>
26617 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26620 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
26622 (__new_exitfn): Fail registration when we finished at_exit processing.
26623 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26624 * stdlib/on_exit.c (__on_exit): Likewise.
26625 * stdlib/exit.c (__exit_funcs_done): New variable.
26626 (__run_exit_handlers): Use __exit_funcs_lock.
26627 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
26629 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
26630 (test-cxa_atexit-race, test-on_exit-race): New tests.
26631 * stdlib/test-atexit-race-common.c: New file.
26632 * stdlib/test-atexit-race.c: New file.
26633 * stdlib/test-at_quick_exit-race.c: New file.
26634 * stdlib/test-cxa_atexit-race.c: New file.
26635 * stdlib/test-on_exit-race.c: New file.
26637 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
26639 * benchtests/Makefile: Add exp2f and log2f benchmarks.
26640 * benchtests/exp2f-inputs: Copy of expf-inputs.
26641 * benchtests/log2f-inputs: Copy of logf-inputs.
26643 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26645 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
26646 Explicitly take address of first element of array arguments in
26647 call to INLINE_SYSCALL.
26649 2017-09-19 Andreas Schwab <schwab@suse.de>
26652 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
26654 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
26656 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
26657 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
26658 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26659 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
26660 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26661 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26662 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26663 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
26664 * posix/Makefile (tests): Add tst-fexecve.
26665 * posix/tst-fexecve.c: New file.
26667 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26669 * benchtests/Makefile: Add logf benchmark.
26670 * benchtests/logf-inputs: Add reduced trace from wrf_r.
26672 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26674 * benchtests/Makefile: Add expf benchmark.
26675 * benchtests/expf-inputs: Add reduced trace from wrf_r.
26677 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
26679 * csu/Makefile: Add -funwind-tables to libc-start.c.
26680 * debug/Makefile: Add -funwind-tables to backtrace.c.
26681 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
26682 * sysdeps/arm/Makefile: Likewise.
26683 * sysdeps/i386/Makefile: Likewise.
26684 * sysdeps/m68k/Makefile: Likewise.
26685 * sysdeps/mips/Makefile: Likewise.
26686 * sysdeps/nios2/Makefile: Likewise.
26687 * sysdeps/sh/Makefile: Likewise.
26688 * sysdeps/sparc/Makefile: Likewise.
26690 2017-09-19 Joseph Myers <joseph@codesourcery.com>
26692 * benchtests/Makefile (bench-math): Add trunc and truncf.
26693 (CFLAGS-bench-trunc.c): New variable.
26694 (CFLAGS-bench-truncf.c): Likewise.
26695 * benchtests/trunc-inputs: New file.
26696 * benchtests/truncf-inputs: Likewise.
26698 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26700 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
26702 2017-09-18 Joseph Myers <joseph@codesourcery.com>
26704 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
26705 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
26707 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
26708 (exp10l): Define as weak alias.
26709 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
26710 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
26712 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
26713 (remainderl): Define as weak alias.
26715 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
26716 (fmal): Define using libm_alias_ldouble.
26717 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
26718 (acoshl): Define using libm_alias_ldouble.
26719 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
26720 (acosl): Define using libm_alias_ldouble.
26721 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
26722 (asinl): Define using libm_alias_ldouble.
26723 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
26724 (atan2l): Define using libm_alias_ldouble.
26725 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
26726 (atanhl): Define using libm_alias_ldouble.
26727 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
26728 (coshl): Define using libm_alias_ldouble.
26729 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
26730 (exp10l): Define using libm_alias_ldouble.
26731 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
26732 (exp2l): Define using libm_alias_ldouble.
26733 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
26734 (expl): Define using libm_alias_ldouble.
26735 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
26736 (fmodl): Define using libm_alias_ldouble.
26737 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
26738 (hypotl): Define using libm_alias_ldouble.
26739 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
26740 (j0l): Define using libm_alias_ldouble.
26742 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
26743 (j1l): Define using libm_alias_ldouble.
26745 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
26746 (jnl): Define using libm_alias_ldouble.
26748 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
26749 (log10l): Define using libm_alias_ldouble.
26750 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
26751 (log2l): Define using libm_alias_ldouble.
26752 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
26753 (logl): Define using libm_alias_ldouble.
26754 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
26755 (powl): Define using libm_alias_ldouble.
26756 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
26757 (remainderl): Define using libm_alias_ldouble.
26758 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
26759 (sinhl): Define using libm_alias_ldouble.
26760 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
26761 (sqrtl): Define using libm_alias_ldouble.
26762 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
26763 (tgammal): Define using libm_alias_ldouble.
26764 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
26765 (exp10l): Do not use long_double_symbol here.
26766 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
26767 [LIBM_SVID_COMPAT] (remainderl): Likewise.
26768 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
26769 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26770 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26771 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26772 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26773 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26774 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26775 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
26776 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26777 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26778 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26779 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26780 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26781 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26782 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26783 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26784 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26785 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26786 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26787 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26789 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
26791 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
26792 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
26794 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
26796 * io/read.c (read): Add libc_hidden_weak.
26797 * sysdeps/mach/hurd/read.c (read): Likewise.
26798 * io/write.c (write): Likewise.
26799 * sysdeps/mach/hurd/write.c (write): Likewise.
26800 * io/pread64.c (__pread64): Likewise.
26801 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
26802 * posix/pread64.c (__pread64): Add libc_hidden_def.
26804 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
26806 * benchtests/scripts/compare_strings.py: New option -g.
26807 (draw_graph): Print a message that a graph is being generated.
26808 (process_results): Generate graph only if -g is passed.
26809 (main): Process option -g.
26811 * benchtests/scripts/compare_strings.py (process_results):
26812 Better spacing for output.
26814 * benchtests/scripts/compare_strings.py: Use argparse.
26815 * benchtests/README: Document existence of compare_strings.py.
26817 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26819 * math/s_fma.c: Include <libm-alias-double.h>.
26820 (fma): Define using libm_alias_double.
26821 * math/s_nextafter.c: Include <libm-alias-double.h>.
26822 (nextafter): Define using libm_alias_double.
26823 * math/w_acos_compat.c: Include <libm-alias-double.h>.
26824 (acos): Define using libm_alias_double.
26825 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
26826 (aocsh): Define using libm_alias_double.
26827 * math/w_asin_compat.c: Include <libm-alias-double.h>.
26828 (asin): Define using libm_alias_double.
26829 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
26830 (atan2): Define using libm_alias_double.
26831 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
26832 (atanh): Define using libm_alias_double.
26833 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
26834 (cosh): Define using libm_alias_double.
26835 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
26836 (exp10): Define using libm_alias_double.
26837 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
26838 (exp2): Define using libm_alias_double.
26839 * math/w_exp_compat.c: Include <libm-alias-double.h>.
26840 (exp): Define using libm_alias_double.
26841 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
26842 (fmod): Define using libm_alias_double.
26843 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
26844 (hypot): Define using libm_alias_double.
26845 * math/w_j0_compat.c: Include <libm-alias-double.h>.
26846 (j0): Define using libm_alias_double.
26848 * math/w_j1_compat.c: Include <libm-alias-double.h>.
26849 (j1): Define using libm_alias_double.
26851 * math/w_jn_compat.c: Include <libm-alias-double.h>.
26852 (jn): Define using libm_alias_double.
26854 * math/w_log10_compat.c: Include <libm-alias-double.h>.
26855 (log10): Define using libm_alias_double.
26856 * math/w_log2_compat.c: Include <libm-alias-double.h>.
26857 (log2): Define using libm_alias_double.
26858 * math/w_log_compat.c: Include <libm-alias-double.h>.
26859 (log): Define using libm_alias_double.
26860 * math/w_pow_compat.c: Include <libm-alias-double.h>.
26861 (pow): Define using libm_alias_double.
26862 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
26863 (remainder): Define using libm_alias_double.
26864 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
26865 (sinh): Define using libm_alias_double.
26866 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
26867 (sqrt): Define using libm_alias_double.
26868 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
26869 (tgamma): Define using libm_alias_double.
26870 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
26871 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
26872 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
26873 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
26874 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
26875 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
26876 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
26877 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
26878 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
26879 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
26880 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
26881 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
26882 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
26883 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
26884 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
26885 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
26886 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
26887 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
26888 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
26889 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
26890 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
26891 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
26892 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
26893 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
26894 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
26896 * math/e_acoshl.c: Remove.
26897 * math/e_acosl.c: Likewise.
26898 * math/e_asinl.c: Likewise.
26899 * math/e_atan2l.c: Likewise.
26900 * math/e_atanhl.c: Likewise.
26901 * math/e_coshl.c: Likewise.
26902 * math/e_expl.c: Likewise.
26903 * math/e_fmodl.c: Likewise.
26904 * math/e_gammal_r.c: Likewise.
26905 * math/e_hypotl.c: Likewise.
26906 * math/e_j0l.c: Likewise.
26907 * math/e_j1l.c: Likewise.
26908 * math/e_jnl.c: Likewise.
26909 * math/e_lgammal_r.c: Likewise.
26910 * math/e_log10l.c: Likewise.
26911 * math/e_log2l.c: Likewise.
26912 * math/e_logl.c: Likewise.
26913 * math/e_powl.c: Likewise.
26914 * math/e_rem_pio2l.c: Likewise.
26915 * math/e_sinhl.c: Likewise.
26916 * math/e_sqrtf128.c: Likewise.
26917 * math/e_sqrtl.c: Likewise.
26918 * math/k_cosl.c: Likewise.
26919 * math/k_sinl.c: Likewise.
26920 * math/k_tanl.c: Likewise.
26921 * math/s_asinhl.c: Likewise.
26922 * math/s_atanl.c: Likewise.
26923 * math/s_cbrtl.c: Likewise.
26924 * math/s_erfl.c: Likewise.
26925 * math/s_expm1l.c: Likewise.
26926 * math/s_log1pl.c: Likewise.
26927 * math/s_tanhl.c: Likewise.
26929 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
26933 [$(subdir) = math] (sysdep_calls): New variable. Has the
26934 previous contents of sysdep_routines, but re-sorted..
26935 [$(subdir) = math] (sysdep_routines): Re-use the contents from
26937 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
26938 defined in sysdep_calls and replace by the respective m_* names.
26939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
26940 (compat_symbol): Undefine to avoid duplicated compat symbols in
26943 2017-09-15 Joseph Myers <joseph@codesourcery.com>
26945 * math/s_fmaf.c: Include <libm-alias-float.h>.
26946 (fmaf): Define using libm_alias_float.
26947 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
26948 (acosf): Define using libm_alias_float.
26949 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
26950 (acoshf): Define using libm_alias_float.
26951 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
26952 (asinf): Define using libm_alias_float.
26953 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
26954 (atan2f): Define using libm_alias_float.
26955 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
26956 (atanhf): Define using libm_alias_float.
26957 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
26958 (coshf): Define using libm_alias_float.
26959 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
26960 (exp10f): Define using libm_alias_float.
26961 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
26962 (fmodf): Define using libm_alias_float.
26963 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
26964 (hypotf): Define using libm_alias_float.
26965 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
26966 (j0f): Define using libm_alias_float.
26968 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
26969 (j1f): Define using libm_alias_float.
26971 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
26972 (jnf): Define using libm_alias_float.
26974 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
26975 (log10f): Define using libm_alias_float.
26976 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
26977 (log2f): Define using libm_alias_float.
26978 * math/w_logf_compat.c: Include <libm-alias-float.h>.
26979 (logf): Define using libm_alias_float.
26980 * math/w_powf_compat.c: Include <libm-alias-float.h>.
26981 (powf): Define using libm_alias_float.
26982 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
26983 (remainderf): Define using libm_alias_float.
26984 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
26985 (sinhf): Define using libm_alias_float.
26986 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
26987 (sqrtf): Define using libm_alias_float.
26988 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
26989 (tgammaf): Define using libm_alias_float.
26991 2017-09-14 Joseph Myers <joseph@codesourcery.com>
26993 * include/math.h (roundeven): Change hidden_proto call to
26995 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
26997 [NO_LONG_DOUBLE] (__j0l): New strong alias.
26998 (y0): Rename to __y0 and define as weak alias.
26999 [NO_LONG_DOUBLE] (__y0l): New strong alias.
27000 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
27002 (y0f): Rename to __y0f and define as weak alias.
27003 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
27005 [NO_LONG_DOUBLE] (__j1l): New strong alias.
27006 (y1): Rename to __y1 and define as weak alias.
27007 [NO_LONG_DOUBLE] (__y1l): New strong alias.
27008 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
27010 (y1f): Rename to __y1f and define as weak alias.
27011 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
27013 [NO_LONG_DOUBLE] (__jnl): New strong alias.
27014 (yn): Rename to __yn and define as weak alias.
27015 [NO_LONG_DOUBLE] (__ynl): New strong alias.
27016 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
27018 (ynf): Rename to __ynf and define as weak alias.
27019 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
27020 (fromfp): Define as weak alias.
27021 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
27022 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
27023 (fromfpx): Define as weak alias.
27024 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
27025 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
27026 __getpayload and define as weak alias.
27027 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27028 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
27029 __roundeven and define as weak alias.
27030 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27031 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
27033 (setpayload): Define as weak alias.
27034 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
27035 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
27037 (setpayloadsig): Define as weak alias.
27038 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
27039 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
27040 __totalorder and define as weak alias.
27041 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27042 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
27043 to __totalordermag and define as weak alias.
27044 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27045 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
27046 (ufromfp): Define as weak alias.
27047 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
27048 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
27050 (ufromfpx): Define as weak alias.
27051 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
27052 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
27053 Rename to __getpayload and define as weak alias.
27054 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
27055 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
27056 Rename to __roundeven and define as weak alias.
27057 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
27058 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
27059 Rename to __totalorder and define as weak alias.
27060 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
27061 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
27062 (totalordermag): Rename to __totalordermag and define as weak
27064 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
27065 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
27067 (__roundevenl): Likewise.
27068 (__totalorderl): Likewise.
27069 (__totalordermagl): Likewise
27070 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
27072 (fromfpf128): Define as weak alias.
27073 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
27075 (fromfpxf128): Define as weak alias.
27076 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
27078 (setpayloadf128): Define as weak alias.
27079 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
27080 __setpayloadsigf128.
27081 (setpayloadsigf128): Define as weak alias.
27082 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
27084 (ufromfpf128): Define as weak alias.
27085 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
27087 (ufromfpxf128): Define as weak alias.
27088 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
27089 (fromfpf): Define as weak alias.
27090 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
27092 (fromfpxf): Define as weak alias.
27093 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
27094 __getpayloadf and define as weak alias.
27095 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
27096 __roundevenf and define as weak alias.
27097 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
27099 (setpayloadf): Define as weak alias.
27100 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
27102 (setpayloadsigf): Define as weak alias.
27103 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
27104 __totalorderf and define as weak alias.
27105 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
27106 Rename to __totalordermagf and define as weak alias.
27107 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
27109 (ufromfpf): Define as weak alias.
27110 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
27112 (ufromfpxf): Define as weak alias.
27113 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
27115 (fromfpl): Define as weak alias.
27116 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
27118 (fromfpxl): Define as weak alias.
27119 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
27120 to __getpayloadl and define as weak alias.
27121 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
27122 __roundevenl and define as weak alias.
27123 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
27125 (setpayloadl): Define as weak alias.
27126 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
27128 (setpayloadsigl): Define as weak alias.
27129 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
27130 to __totalorderl and define as weak alias.
27131 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
27132 Rename to __totalordermagl and define as weak alias.
27133 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
27135 (ufromfpl): Define as weak alias.
27136 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
27138 (ufromfpxl): Define as weak alias.
27139 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
27141 (fromfpl): Define as weak alias.
27142 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
27144 (fromfpxl): Define as weak alias.
27145 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
27146 Rename to __getpayloadl and define as weak alias.
27147 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
27148 to __roundevenl and define as weak alias. Call __roundeven
27149 instead of roundeven.
27150 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
27152 (setpayloadl): Define as weak alias.
27153 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
27155 (setpayloadsigl): Define as weak alias.
27156 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
27157 Rename to __totalorderl and define as weak alias.
27158 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
27159 Rename to __totalordermagl and define as weak alias.
27160 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
27162 (ufromfpl): Define as weak alias.
27163 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
27165 (ufromfpxl): Define as weak alias.
27166 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
27168 (fromfpl): Define as weak alias.
27169 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
27171 (fromfpxl): Define as weak alias.
27172 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
27173 __getpayloadl and define as weak alias.
27174 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
27175 __roundevenl and define as weak alias.
27176 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
27178 (setpayloadl): Define as weak alias.
27179 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
27181 (setpayloadsigl): Define as weak alias.
27182 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
27183 __totalorderl and define as weak alias.
27184 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
27185 Rename to __totalordermagl and define as weak alias.
27186 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
27188 (ufromfpl): Define as weak alias.
27189 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
27191 (ufromfpxl): Define as weak alias.
27193 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
27195 * benchtests/bench-string.h (realloc_bufs): New function.
27196 (test_init): Call it.
27197 * benchtests/bench-memset-large.c (do_test): Likewise.
27198 * benchtests/bench-memset.c (do_test): Likewise.
27200 * benchtests/bench-memset-large.c: Print output in JSON
27202 * benchtests/bench-memset.c: Likewise.
27204 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27207 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
27208 * iconvdata/Makefile: Add IBM858.
27209 * iconvdata/gconv-modules: Likewise.
27210 * iconvdata/tst-tables.sh: Likewise.
27211 * iconvdata/ibm858.c: New file.
27212 * localedata/charmaps/IBM858: Likewise.
27214 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
27217 * locales/niu_NZ (LC_TIME): copy "niu_NU".
27218 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
27220 2017-09-14 Mike FABIAN <mfabian@redhat.com>
27223 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
27224 and add tel_int_fmt.
27226 2017-09-14 Joseph Myers <joseph@codesourcery.com>
27228 * sysdeps/generic/libm-alias-float128.h: New file.
27229 * sysdeps/generic/math-type-macros-float128.h: Include
27230 <libm-alias-float128.h>.
27231 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27233 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27235 * sysdeps/generic/libm-alias-ldouble.h: New file.
27236 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
27237 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
27238 * sysdeps/generic/math-type-macros-ldouble.h: Include
27239 <libm-alias-ldouble.h>.
27240 [!declare_mgen_alias] (declare_mgen_alias): Define to use
27241 libm_alias_ldouble.
27243 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27245 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
27246 * math/w_exp_compat.c: ... here.
27247 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
27248 * math/w_expf_compat.c: ... here.
27249 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
27250 * math/w_expl_compat.c: ... here.
27251 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
27252 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
27253 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
27254 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
27256 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27258 * math/w_scalbln_template.c (strong_alias): Do not undefine and
27260 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
27262 (ldexpl): Only define as compat symbol for libc, not libm.
27263 (scalbnl): Define as compat symbol for libc here.
27264 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
27265 define for [IS_IN (libc)].
27266 (__ldexpl_2): Remove alias.
27267 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
27268 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
27269 name in long_double_symbol call.
27270 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
27271 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27272 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27273 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
27274 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
27276 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
27277 Define as compat symbol.
27279 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27281 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
27282 * sysdeps/unix/sysv/linux/alpha/Makefile
27283 [$(subdir) = csu] (sysdep_routines): Remove rule.
27285 2017-09-13 Joseph Myers <joseph@codesourcery.com>
27287 * sysdeps/generic/libm-alias-double.h: New file.
27288 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
27289 * sysdeps/generic/math-type-macros-double.h: Include
27290 <libm-alias-double.h>.
27291 [declare_mgen_alias] (declare_mgen_alias): Define to use
27293 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
27294 (M_LIBM_NEED_COMPAT): Remove macro.
27295 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
27296 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
27297 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
27299 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27300 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27301 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27302 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27303 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27304 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27305 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27306 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27307 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27308 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27309 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27310 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27311 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27312 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27313 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27314 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27315 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27316 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27317 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27318 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27319 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27320 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27321 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27322 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27323 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27324 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27325 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
27326 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
27327 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
27329 (declare_mgen_alias): New macro.
27330 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
27331 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
27332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
27333 (M_LIBM_NEED_COMPAT): Remove macro.
27334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
27335 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
27336 <first-versions.h>.
27337 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
27338 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
27340 2017-09-12 Joseph Myers <joseph@codesourcery.com>
27342 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
27343 (declare_mgen_alias_2): Remove.
27344 * sysdeps/generic/math-type-macros-double.h
27345 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
27347 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
27349 (ldexp): Define with declare_mgen_alias.
27350 (scalbn): Likewise.
27352 2017-09-12 Steve Ellcey <sellcey@cavium.com>
27354 * grp/initgroups.c: Include config.h.
27355 (DEFAULT_CONFIG): New macro.
27356 (internal_getgrouplist): Use DEFAULT_CONFIG.
27357 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27358 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
27359 (DEFAULT_DEFCONFIG): New macro.
27360 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
27361 * nss/grp-lookup.c: Include config.h
27362 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
27363 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
27364 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
27365 * manual/nss.texi: Update default values section.
27367 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
27370 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
27372 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
27373 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27374 Handle MathVec_Prefer_No_AVX512.
27375 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
27376 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
27379 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
27381 * posix/sched_primax.c (__sched_get_priority_max): Add
27383 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
27384 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
27385 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
27386 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
27387 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
27388 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
27389 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
27390 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
27393 2017-09-11 Joseph Myers <joseph@codesourcery.com>
27395 * sysdeps/generic/libm-alias-float.h: New file.
27396 * sysdeps/generic/math-type-macros-float.h: Include
27397 <libm-alias-float.h>.
27398 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
27400 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
27403 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
27404 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
27405 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
27406 (HWCAP_IMPORTANT): Likewise.
27407 (HWCAP_X86_64): New enum.
27408 (HWCAP_X86_AVX512_1): Updated.
27409 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
27410 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
27411 (modules-names): Add x86_64/tst-x86_64mod-1.
27412 (LDFLAGS-tst-x86_64mod-1.so): New.
27413 ($(objpfx)tst-x86_64-1): Likewise.
27414 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
27415 (tst-x86_64-1-clean): Likewise.
27416 * sysdeps/x86_64/tst-x86_64-1.c: New file.
27417 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
27419 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
27421 * po/sv.po: Update translations.
27422 * po/fr.po: Likewise.
27424 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27426 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
27428 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
27430 * elf/rtld-Rules: Fix $(error) use.
27432 2017-09-09 Mike FABIAN <mfabian@redhat.com>
27435 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
27436 * locale/iso-639.def: Change “Bengali” to “Bangla”.
27437 * localedata/locales/bn_BD: “Bengali” was still used in some
27438 comments. Change it to “Bangla”.
27440 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
27442 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
27444 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27446 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
27447 thunderx2t99p1 to list of cpu names.
27448 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
27449 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
27451 2017-09-08 Steve Ellcey <sellcey@cavium.com>
27453 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
27454 Use strcmp instead of tunable_is_name.
27456 2017-09-08 Joseph Myers <joseph@codesourcery.com>
27458 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27459 (F_GET_RW_HINT): New macro.
27460 [__USE_GNU] (F_SET_RW_HINT): Likewise.
27461 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
27462 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
27463 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
27464 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
27465 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
27466 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
27467 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
27468 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
27470 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
27471 (F_ADD_SEALS): New macro.
27472 [__USE_GNU] (F_GET_SEALS): Likewise.
27473 [__USE_GNU] (F_SEAL_SEAL): Likewise.
27474 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
27475 [__USE_GNU] (F_SEAL_GROW): Likewise.
27476 [__USE_GNU] (F_SEAL_WRITE): Likewise.
27478 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27480 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
27481 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
27482 * posix/glob_internal.h (__glob_pattern_type):
27483 * posix/glob.c (glob):
27484 * posix/glob_pattern_p.c (__glob_pattern_p):
27487 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
27488 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27489 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
27490 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
27491 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
27493 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
27494 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
27495 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27496 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27497 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27498 * sysdeps/wordsize-64/glob.c: Likewise.
27499 * sysdeps/wordsize-64/glob64.c: Likewise.
27500 * sysdeps/wordsize-64/globfree.c: Likewise.
27501 * sysdeps/wordsize-64/globfree64.c: Likewise.
27502 * sysdeps/unix/sysv/linux/glob.c: New file.
27503 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
27504 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
27505 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
27506 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
27507 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
27508 adds !GLOB_NO_OLD_VERSION as an extra condition.
27509 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
27510 using relative path instead of absolute one.
27511 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
27512 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27513 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27514 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
27515 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
27516 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
27519 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
27520 (glob): Use the same scratch buffer for both getlogin_r and
27521 getpwnam_r. Don’t require preallocation of the login name. This
27522 simplifies storage allocation, and corrects the handling of
27526 * posix/glob.c (glob): Port recent patches to platforms
27527 lacking getpwnam_r.
27528 (glob): Fix longstanding misuse of errno after getpwnam_r, which
27529 returns an error number rather than setting errno.
27531 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
27532 instead of GCC extension.
27533 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
27534 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
27535 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
27539 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
27540 * posix/bug-glob1.c: Remove file.
27541 * posix/tst-glob_symlinks.c: New file.
27542 * posix/glob.c (__lstat64): New macro.
27543 (is_dir): New function.
27544 (glob, glob_in_dir): Match symlinks even if they are dangling.
27545 (link_stat, link_exists_p): Remove. All uses removed.
27549 * posix/glob.c (struct readdir_result): Remove skip_entry member.
27550 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
27555 * posix/Makefile (routines): Add globfree, globfree64, and
27557 * posix/flexmember.h: New file.
27558 * posix/glob_internal.h: Likewise.
27559 * posix/glob_pattern_p.c: Likewise.
27560 * posix/globfree.c: Likewise.
27561 * posix/globfree64.c: Likewise.
27562 * sysdeps/gnu/globfree64.c: Likewise.
27563 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
27564 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
27565 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
27566 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
27567 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
27568 * sysdeps/wordsize-64/globfree.c: Likewise.
27569 * sysdeps/wordsize-64/globfree64.c: Likewise.
27570 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
27571 [NDEBUG): Remove comments.
27572 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
27573 (dirent_type): New type. Use uint_fast8_t not
27574 uint8_t, as C99 does not require uint8_t.
27575 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
27576 (struct readdir_result): Use dirent_type. Do not define skip_entry
27577 unless it is needed; this saves a byte on platforms lacking d_ino.
27578 (readdir_result_type, readdir_result_skip_entry):
27579 New functions, replacing ...
27580 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
27581 these functions, which were removed. This makes the callers
27582 easier to read. All callers changed.
27583 (D_INO_TO_RESULT): Now empty if there is no d_ino.
27584 (size_add_wrapv, glob_use_alloca): New static functions.
27585 (glob, glob_in_dir): Check for size_t overflow in several places,
27586 and fix some size_t checks that were not quite right.
27587 Remove old code using SHELL since Bash no longer
27589 (glob, prefix_array): Separate MS code better.
27590 (glob_in_dir): Remove old Amiga and VMS code.
27591 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
27593 (glob_in_dir): Do not rely on undefined behavior in accessing
27594 struct members beyond their bounds. Use a flexible array member
27596 (link_stat): Rename from link_exists2_p and return -1/0 instead of
27597 0/1. Caller changed.
27598 (glob): Fix memory leaks.
27599 * posix/glob64 (globfree64): Move to separate file.
27600 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
27601 (globfree64): Remove hidden alias.
27602 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
27604 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
27606 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
27608 Move compat code to separate file.
27609 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
27612 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
27614 * resolv/tst-resolv-qtypes.c (domain): Changed to
27615 "const char domain[] =".
27617 2017-09-07 Joseph Myers <joseph@codesourcery.com>
27619 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
27622 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
27623 (TCP_MD5SIG_EXT): Likewise.
27624 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
27625 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
27626 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
27628 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
27630 2017-09-07 Mike FABIAN <mfabian@redhat.com>
27632 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
27634 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
27637 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
27639 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
27641 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
27642 before assuming that the file is empty. Avoid testing buffer content
27645 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27648 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27650 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
27652 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
27654 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
27656 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
27658 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
27660 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
27663 2017-09-06 Florian Weimer <fweimer@redhat.com>
27665 * malloc/dynarray_emplace_enlarge.c
27666 (__libc_dynarray_emplace_enlarge): Add missing else.
27668 2017-09-06 Florian Weimer <fweimer@redhat.com>
27671 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
27672 case of failure to obtain the global conf object.
27674 2017-09-06 Florian Weimer <fweimer@redhat.com>
27677 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
27678 dynarray allocation failure.
27680 2017-09-06 Florian Weimer <fweimer@redhat.com>
27682 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
27683 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
27684 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
27686 (response): Call them. Add 'p', '6' flag processing.
27687 (test_reverse): New function.
27688 (test_get2_any): Call it.
27689 (test_no_inet6): Add 'p' test.
27690 (test_inet6): Likewise.
27692 2017-09-06 Florian Weimer <fweimer@redhat.com>
27694 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
27695 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
27697 (test_gai): Adjust query names. Add additional tests.
27698 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
27699 test_get2. Adjust query names. Add additional tests.
27700 (test_no_inet6): New function, extracted from threadfunc.
27701 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
27702 Add additional tests.
27704 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27707 * localedata/unicode-gen/utf8_gen.py: Set the width for
27708 characters with Prepended_Concatenation_Mark property to 1
27709 * localedata/charmaps/UTF-8: Updated using the improved script.
27711 2017-09-06 Mike FABIAN <mfabian@redhat.com>
27714 * localedata/unicode-gen/utf8_gen.py: Improve the script to
27715 use the range notation for all ranges of neighbouring characters
27716 with the same width.
27718 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27720 * sysdeps/generic/math-type-macros-double.h: Include
27721 <math-svid-compat.h>.
27722 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27723 * sysdeps/generic/math-type-macros-float.h: Include
27724 <math-svid-compat.h>.
27725 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27726 * sysdeps/generic/math-type-macros-ldouble.h: Include
27727 <math-svid-compat.h>.
27728 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
27729 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
27731 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
27732 * math/w_acosf_compat.c: Likewise.
27733 * math/w_acosh_compat.c: Likewise.
27734 * math/w_acoshf_compat.c: Likewise.
27735 * math/w_acoshl_compat.c: Likewise.
27736 * math/w_acosl_compat.c: Likewise.
27737 * math/w_asin_compat.c: Likewise.
27738 * math/w_asinf_compat.c: Likewise.
27739 * math/w_asinl_compat.c: Likewise.
27740 * math/w_atan2_compat.c: Likewise.
27741 * math/w_atan2f_compat.c: Likewise.
27742 * math/w_atan2l_compat.c: Likewise.
27743 * math/w_atanh_compat.c: Likewise.
27744 * math/w_atanhf_compat.c: Likewise.
27745 * math/w_atanhl_compat.c: Likewise.
27746 * math/w_cosh_compat.c: Likewise.
27747 * math/w_coshf_compat.c: Likewise.
27748 * math/w_coshl_compat.c: Likewise.
27749 * math/w_exp10_compat.c: Likewise.
27750 * math/w_exp10f_compat.c: Likewise.
27751 * math/w_exp10l_compat.c: Likewise.
27752 * math/w_exp2_compat.c: Likewise.
27753 * math/w_exp2f_compat.c: Likewise.
27754 * math/w_exp2l_compat.c: Likewise.
27755 * math/w_fmod_compat.c: Likewise.
27756 * math/w_fmodf_compat.c: Likewise.
27757 * math/w_fmodl_compat.c: Likewise.
27758 * math/w_hypot_compat.c: Likewise.
27759 * math/w_hypotf_compat.c: Likewise.
27760 * math/w_hypotl_compat.c: Likewise.
27761 * math/w_j0_compat.c: Likewise.
27762 * math/w_j0f_compat.c: Likewise.
27763 * math/w_j0l_compat.c: Likewise.
27764 * math/w_j1_compat.c: Likewise.
27765 * math/w_j1f_compat.c: Likewise.
27766 * math/w_j1l_compat.c: Likewise.
27767 * math/w_jn_compat.c: Likewise.
27768 * math/w_jnf_compat.c: Likewise.
27769 * math/w_jnl_compat.c: Likewise.
27770 * math/w_lgamma_r_compat.c: Likewise.
27771 * math/w_lgammaf_r_compat.c: Likewise.
27772 * math/w_lgammal_r_compat.c: Likewise.
27773 * math/w_log10_compat.c: Likewise.
27774 * math/w_log10f_compat.c: Likewise.
27775 * math/w_log10l_compat.c: Likewise.
27776 * math/w_log2_compat.c: Likewise.
27777 * math/w_log2f_compat.c: Likewise.
27778 * math/w_log2l_compat.c: Likewise.
27779 * math/w_log_compat.c: Likewise.
27780 * math/w_logf_compat.c: Likewise.
27781 * math/w_logl_compat.c: Likewise.
27782 * math/w_pow_compat.c: Likewise.
27783 * math/w_powf_compat.c: Likewise.
27784 * math/w_powl_compat.c: Likewise.
27785 * math/w_remainder_compat.c: Likewise.
27786 * math/w_remainderf_compat.c: Likewise.
27787 * math/w_remainderl_compat.c: Likewise.
27788 * math/w_sinh_compat.c: Likewise.
27789 * math/w_sinhf_compat.c: Likewise.
27790 * math/w_sinhl_compat.c: Likewise.
27791 * math/w_sqrt_compat.c: Likewise.
27792 * math/w_sqrtf_compat.c: Likewise.
27793 * math/w_sqrtl_compat.c: Likewise.
27794 * math/w_tgamma_compat.c: Likewise.
27795 * math/w_tgammaf_compat.c: Likewise.
27796 * math/w_tgammal_compat.c: Likewise.
27797 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
27798 [LIBM_SVID_COMPAT].
27799 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
27800 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
27801 [LIBM_SVID_COMPAT].
27802 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
27803 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
27804 [LIBM_SVID_COMPAT].
27805 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
27806 * sysdeps/i386/fpu/w_sqrt.c: New file.
27807 * sysdeps/ia64/fpu/w_acos.c: Likewise.
27808 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
27809 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
27810 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
27811 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
27812 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
27813 * sysdeps/ia64/fpu/w_asin.c: Likewise.
27814 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
27815 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
27816 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
27817 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
27818 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
27819 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
27820 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
27821 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
27822 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
27823 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
27824 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
27825 * sysdeps/ia64/fpu/w_exp.c: Likewise.
27826 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
27827 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
27828 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
27829 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
27830 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
27831 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
27832 * sysdeps/ia64/fpu/w_expf.c: Likewise.
27833 * sysdeps/ia64/fpu/w_expl.c: Likewise.
27834 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
27835 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
27836 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
27837 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
27838 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
27839 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
27840 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
27841 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
27842 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
27843 * sysdeps/ia64/fpu/w_log.c: Likewise.
27844 * sysdeps/ia64/fpu/w_log10.c: Likewise.
27845 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
27846 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
27847 * sysdeps/ia64/fpu/w_log2.c: Likewise.
27848 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
27849 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
27850 * sysdeps/ia64/fpu/w_logf.c: Likewise.
27851 * sysdeps/ia64/fpu/w_logl.c: Likewise.
27852 * sysdeps/ia64/fpu/w_pow.c: Likewise.
27853 * sysdeps/ia64/fpu/w_powf.c: Likewise.
27854 * sysdeps/ia64/fpu/w_powl.c: Likewise.
27855 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
27856 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
27857 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
27858 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
27859 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
27860 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
27861 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
27862 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
27863 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
27864 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
27865 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
27866 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
27867 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
27868 [LIBM_SVID_COMPAT].
27869 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27870 * sysdeps/ieee754/k_standard.c: Likewise.
27871 * sysdeps/ieee754/k_standardf.c: Likewise.
27872 * sysdeps/ieee754/k_standardl.c: Likewise.
27873 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27874 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27875 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27876 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
27877 long_double_symbol call on [LIBM_SVID_COMPAT].
27878 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
27879 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
27880 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
27881 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
27882 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
27883 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
27884 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
27885 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
27886 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
27887 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
27888 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
27889 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27890 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
27891 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
27892 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
27893 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
27894 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
27895 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
27896 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
27897 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
27898 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
27899 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
27901 2017-09-05 Steve Ellcey <sellcey@cavium.com>
27903 * include/shlib-compat.h (TEST_COMPAT): New Macro.
27904 * malloc/tst-mallocstate.c: Convert from test-skeleton
27905 to test-driver. Ifdef code using TEST_COMPAT macro.
27906 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
27907 * math/test-matherr.c: Likewise.
27909 2017-09-05 Joseph Myers <joseph@codesourcery.com>
27912 * debug/pcprofiledump.c (main): Use byte-swapped mask when
27913 comparing word with byte-swapped constant.
27915 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
27918 * locale/iso-639.def: add Miskito.
27919 * localedata/SUPPORTED: Add miq_NI/UTF-8.
27920 * localedata/locales/miq_NI: New file.
27922 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
27925 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
27926 (__mkdir): Likewise.
27927 * io/chmod.c (__chmod): Add libc_hidden_def.
27928 * io/mkdir.c (__mkdir): Likewise.
27929 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27930 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27931 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
27932 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
27934 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27936 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27940 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
27941 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
27943 2017-09-04 Florian Weimer <fweimer@redhat.com>
27945 * math/math.h: Issue warning if log is defined.
27947 2017-09-04 Joseph Myers <joseph@codesourcery.com>
27949 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27950 kernel version to 4.13.
27952 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
27954 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
27955 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
27957 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
27958 just <bits/types.h>.
27959 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
27960 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
27961 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
27962 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
27963 * misc/preadv2.c: Include <errno.h>.
27964 * misc/preadv64v2.c: Include <errno.h>.
27965 * misc/pwritev2.c: Include <errno.h>.
27966 * misc/pwritev64v2.c: Include <errno.h>.
27967 * sysdeps/posix/preadv2.c: Include <errno.h>.
27968 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
27969 Fix <unistd.h> inclusion.
27970 * sysdeps/posix/pwritev2.c: Include <errno.h>.
27971 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
27972 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
27973 __strtoul_internal): New functions.
27974 * sysdeps/posix/pause.c: Include <sigsetops.h>.
27975 * sysdeps/posix/system.c: Include <sigsetops.h>.
27976 * sysdeps/mach/hurd/i386/Makefile
27977 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
27978 [$(subdir) = csu] (sysdep-only-routines): Likewise.
27979 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
27980 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
27981 __feraiseexcept_renamed to feraiseexcept instead of
27982 __GI_feraiseexcept.
27983 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
27984 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
27985 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
27986 RWF_NOWAIT): Define to 0 if undefined already.
27987 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
27989 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
27990 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
27992 2017-09-01 Joseph Myers <joseph@codesourcery.com>
27994 * manual/math.texi (pow10): Do not document.
27995 (pow10f): Likewise.
27996 (pow10l): Likewise.
27997 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
27998 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
27999 * math/libm-test-exp10.inc (pow10_test): Remove.
28000 (do_test): Do not call pow10.
28001 * math/w_exp10_compat.c (pow10): Make into compat symbol.
28002 [NO_LONG_DOUBLE] (pow10l): Likewise.
28003 * math/w_exp10f_compat.c (pow10f): Likewise.
28004 * math/w_exp10l_compat.c (pow10l): Likewise.
28005 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
28006 (pow10): Make into compat symbol.
28007 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
28008 (pow10f): Make into compat symbol.
28009 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
28010 (pow10l): Make into compat symbol.
28011 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
28013 (CFLAGS-nldbl-pow10.c): Remove variable..
28014 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
28015 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
28016 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
28017 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
28018 Undefine and redefine.
28019 (pow10l): Make into compat symbol.
28020 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
28021 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
28022 * sysdeps/arm/libm-test-ulps: Likewise.
28023 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
28024 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
28025 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
28026 * sysdeps/microblaze/libm-test-ulps: Likewise.
28027 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28028 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28029 * sysdeps/nios2/libm-test-ulps: Likewise.
28030 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28031 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
28032 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28033 * sysdeps/sh/libm-test-ulps: Likewise.
28034 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28035 * sysdeps/tile/libm-test-ulps: Likewise.
28036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28038 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28040 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
28042 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28044 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
28045 "../ChangeLog.old/ChangeLog.8".
28046 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
28047 "../ChangeLog.old/ChangeLog.14".
28049 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28051 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
28054 2017-09-01 Joseph Myers <joseph@codesourcery.com>
28056 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
28058 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
28060 * csu/version.c (banner): Remove "by Roland McGrath et al.".
28061 * nptl/Banner: Remove "by Ulrich Drepper et al.".
28063 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
28065 * stdlib/tst-atexit-common.c (do_test): Test support for at least
28066 32 atexit handlers.
28068 2017-09-01 Zack Weinberg <zackw@panix.com>
28070 * math/math.h (HUGE_VAL): Improve commentary.
28072 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28073 Andreas Schwab <schwab@suse.de>
28076 * include/stdio.h (__gen_tempfd): New function.
28077 * stdio-common/Makefile (routines): Add gentempfd.
28078 * stdio-common/gentempfd.c: New file.
28079 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
28080 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
28081 unnamed file first.
28083 2017-09-01 Florian Weimer <fweimer@redhat.com>
28087 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
28088 result to determine success or failure, not the errno value.
28089 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
28090 (tst-nss-files-hosts-erange): Link with -ldl.
28091 * nss/tst-nss-files-hosts-erange.c: New file.
28092 * nss/tst-resolv-basic.c (response): Handle nodata.example.
28093 (do_test): Add NO_DATA tests.
28094 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
28095 (do_test): Call it.
28097 2017-09-01 Florian Weimer <fweimer@redhat.com>
28100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
28101 coming from gethostbyname2_r.
28103 2017-09-01 Florian Weimer <fweimer@redhat.com>
28105 * support/namespace.h (struct support_chroot_configuration): Add
28107 (struct support_chroot): Add path_hosts, path_host_conf.
28108 * support/support_chroot.c (write_file): New function.
28109 (support_chroot_create): Call it to process /etc/resolv.conf,
28110 /etc/hosts, /etc/host.conf.
28111 (support_chroot_free): Update.
28113 2017-09-01 Florian Weimer <fweimer@redhat.com>
28115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
28116 status indicates it is set.
28118 2017-09-01 Florian Weimer <fweimer@redhat.com>
28121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
28122 function lookup failures more reliable.
28124 2017-09-01 Florian Weimer <fweimer@redhat.com>
28126 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
28127 (getcanonname): Likewise.
28128 (gaih_inet): Likewise.
28130 2017-09-01 Florian Weimer <fweimer@redhat.com>
28132 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
28133 (getcanonname): Likewise.
28134 (gaih_inet): Likewise.
28136 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28137 Richard Henderson <rth@twiddle.net>
28139 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
28140 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
28141 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
28142 (IREG_SIZE, OREG_SIZE): New macros.
28143 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
28144 (IREG_SIZE, OREG_SIZE): New macros.
28145 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
28146 (IREG_SIZE): New macro.
28147 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
28148 (IREG_SIZE): New macro.
28149 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
28151 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
28152 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28153 (__CONCATX): Handle exceptions correctly on large values that may
28155 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
28156 Initialize if not already set.
28157 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
28159 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28161 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
28162 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
28164 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
28166 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
28168 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
28170 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
28172 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
28174 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
28176 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
28177 (NO_CANCELLATION): Likewise.
28178 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
28180 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
28182 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
28184 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
28185 (NO_CANCELLATION): Likewise.
28186 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
28187 (NO_CANCELLATION): Likewise.
28188 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
28190 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
28192 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
28194 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
28196 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
28198 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
28199 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
28201 2017-08-31 Steve Ellcey <sellcey@cavium.com>
28203 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
28206 2017-08-31 Florian Weimer <fweimer@redhat.com>
28208 * include/libc-symbols.h (internal_function): Remove.
28210 2017-08-31 Florian Weimer <fweimer@redhat.com>
28212 * stdlib/fmtmsg.c (internal_addseverity): Remove
28215 2017-08-31 Florian Weimer <fweimer@redhat.com>
28217 * stdio-common/printf_fp.c (group_number): Remove
28219 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
28221 2017-08-31 Florian Weimer <fweimer@redhat.com>
28223 * posix/fnmatch.c (internal_function): Remove definition.
28224 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
28225 * posix/regcomp.c (peek_token, init_word_char)
28226 (duplicate_node_closure, fetch_token, peek_token)
28227 (peek_token_bracket, build_range_exp, build_collating_symbol):
28229 * posix/regex_internal.c (re_string_construct_common)
28230 (create_ci_newstate, create_cd_newstate, re_string_allocate)
28231 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
28232 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
28233 (re_string_translate_buffer, re_string_reconstruct)
28234 (re_string_peek_byte_case, re_string_fetch_byte_case)
28235 (re_string_destruct, re_string_context_at, re_node_set_alloc)
28236 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
28237 (re_node_set_add_intersect, re_node_set_init_union)
28238 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
28239 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
28240 (re_dfa_add_node, calc_state_hash, re_acquire_state)
28241 (re_acquire_state_context): Likewise.
28242 * posix/regex_internal.h (internal_function): Remove definition.
28243 (re_string_realloc_buffers, build_wcs_buffer)
28244 (build_wcs_upper_buffer, build_upper_buffer)
28245 (re_string_translate_buffer, re_string_context_at)
28246 (re_string_char_size_at, re_string_wchar_at)
28247 (re_string_elem_size_at): Likewise.
28248 * posix/regexec.c (match_ctx_init, match_ctx_clean)
28249 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
28250 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
28251 (re_search_internal, re_search_2_stub, re_search_stub)
28252 (re_copy_regs, prune_impossible_nodes, check_matching)
28253 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
28254 (free_fail_stack_return, sift_states_iter_mb)
28255 (sift_states_backward, build_sifted_states)
28256 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
28257 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
28258 (check_subexp_limits, sift_states_bkref, merge_state_array)
28259 (find_recover_state, transit_state, merge_state_with_log)
28260 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
28261 (transit_state_mb, transit_state_bkref, get_subexp)
28262 (get_subexp_sub, find_subexp_node, check_arrival)
28263 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
28264 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
28265 (check_node_accept_bytes, find_collation_sequence_value)
28266 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
28267 (acquire_init_state_context, check_halt_node_context)
28268 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
28269 (sub_epsilon_src_nodes): Likewise.
28270 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
28271 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
28272 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
28273 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
28274 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
28275 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
28276 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
28277 * sysdeps/posix/ttyname.c (getttyname): Likewise.
28278 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28279 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
28280 (PREADV): Likewise.
28281 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
28282 (PREADV): Likewise.
28283 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
28284 (PWRITEV): Likewise.
28285 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
28286 (PWRITEV): Likewise.
28287 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
28288 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
28290 2017-08-31 Florian Weimer <fweimer@redhat.com>
28292 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
28293 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
28294 Remove internal_function.
28295 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28296 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
28297 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
28298 (__deallocate_stack, __libc_pthread_init)
28299 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
28300 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
28301 (__libc_disable_asynccancel, __librt_disable_asynccancel):
28303 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
28304 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
28305 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
28307 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
28308 (__pthread_mutex_unlock_usercnt): Likewise.
28310 2017-08-31 Florian Weimer <fweimer@redhat.com>
28312 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
28313 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
28314 (fts_safe_changedir): Remove internal_function.
28315 * io/ftw.c (internal_function): Remove definition.
28316 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
28318 2017-08-31 Florian Weimer <fweimer@redhat.com>
28320 * inet/deadline.c (__deadline_current_time)
28321 (__deadline_from_timeval, __deadline_to_ms): Remove
28323 * inet/getnameinfo.c (nrl_domainname): Likewise.
28324 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
28325 * inet/inet6_option.c (add_pad): Likewise.
28326 * inet/net-internal.h (__deadline_current_time)
28327 (__deadline_from_timeval, __deadline_to_ms): Likewise.
28328 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
28329 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
28330 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
28332 2017-08-31 Joseph Myers <joseph@codesourcery.com>
28334 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
28335 include <bits/nan.h>.
28336 * math/Makefile (headers): Remove bits/nan.h.
28337 * bits/nan.h: Remove.
28338 * sysdeps/ieee754/bits/nan.h: Likewise.
28339 * sysdeps/mips/bits/nan.h: Likewise.
28341 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
28342 not include <bits/inf.h>.
28343 * math/Makefile (headers): Remove bits/inf.h.
28344 * bits/inf.h: Remove.
28345 * sysdeps/ieee754/bits/inf.h: Likewise.
28347 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
28348 bits/huge_vall.h or bits/huge_val_flt128.h.
28349 (HUGE_VAL): Define directly here.
28350 [__USE_ISOC99] (HUGE_VALF): Likewise.
28351 [__USE_ISOC99] (HUGE_VALL): Likewise.
28352 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28353 (HUGE_VAL_F128): Likewise.
28354 * math/Makefile (headers): Remove bits/huge_val.h,
28355 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
28356 * bits/huge_val.h: Remove.
28357 * bits/huge_val_flt128.h: Likewise.
28358 * bits/huge_valf.h: Likewise.
28359 * bits/huge_vall.h: Likewise.
28360 * sysdeps/ia64/bits/huge_vall.h: Likewise.
28361 * sysdeps/ieee754/bits/huge_val.h: Likewise.
28362 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
28363 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
28364 * sysdeps/sh/bits/huge_val.h: Likewise.
28365 * sysdeps/sparc/bits/huge_vall.h: Likewise.
28366 * sysdeps/x86/bits/huge_vall.h: Likewise.
28368 2017-08-31 Florian Weimer <fweimer@redhat.com>
28370 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
28372 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
28374 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
28375 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
28376 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
28377 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
28378 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28379 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
28380 * elf/dl-libc.c (dlerror_run): Likewise.
28381 * elf/dl-load.c (add_name_to_object, decompose_rpath)
28382 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
28383 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
28384 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
28386 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
28387 (_dl_higher_prime_number, _dl_strtoul): Likewise.
28388 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
28389 * elf/dl-profile.c (_dl_start_profile): Likewise.
28390 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
28391 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
28393 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
28394 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
28395 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
28396 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
28397 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
28398 (_dl_allocate_tls_storage): Likewise.
28399 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
28400 (_dl_check_all_versions): Likewise.
28401 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28402 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
28403 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
28404 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28405 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
28406 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
28407 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
28408 internal_function from __dl_start.
28409 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
28410 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28411 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
28412 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
28413 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
28414 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
28415 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
28416 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
28417 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
28418 (_dl_next_ld_env_entry, _dl_important_hwcaps)
28419 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
28420 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
28421 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
28422 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
28423 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
28425 (struct rtld_global_ro): Remove internal_function from the
28426 _dl_lookup_symbol_x member.
28427 (_dl_symbol_value): Remove. No longer defined anywhere.
28428 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
28430 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28431 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
28432 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
28433 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
28434 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
28435 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
28436 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
28437 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
28438 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
28439 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28440 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
28441 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
28443 2017-08-31 Florian Weimer <fweimer@redhat.com>
28445 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
28446 Remove internal_function.
28447 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28449 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
28452 2017-08-31 Florian Weimer <fweimer@redhat.com>
28454 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
28455 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
28456 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
28458 2017-08-31 Florian Weimer <fweimer@redhat.com>
28460 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
28461 (__gai_enqueue_request): Remove internal_function.
28462 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
28463 (__gai_remove_request, __gai_notify, __gai_notify_only)
28464 (__gai_sigqueue): Likewise.
28465 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
28466 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28467 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
28468 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28471 2017-08-31 Florian Weimer <fweimer@redhat.com>
28473 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
28474 * include/dirent.h (__opendirat, __getdents, __getdents64)
28475 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
28476 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
28477 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28478 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
28480 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
28482 2017-08-31 Florian Weimer <fweimer@redhat.com>
28484 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
28486 (GETCWD_RETURN_TYPE): Likewise.
28488 2017-08-31 Florian Weimer <fweimer@redhat.com>
28490 * include/time.h (__tz_compute, __strptime_internal): Remove
28492 * time/strptime_l.c (__strptime_internal): Likewise.
28493 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
28495 2017-08-31 Florian Weimer <fweimer@redhat.com>
28497 * iconv/gconv.c (__gconv): Remove internal_function.
28498 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
28499 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
28500 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
28501 (__gconv_release_cache): Likewise.
28502 * iconv/gconv_close.c (__gconv_close): Likewise.
28503 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
28504 (read_conf_file, __gconv_get_path): Likewise.
28505 * iconv/gconv_db.c (derivation_lookup, add_derivation)
28506 (__gconv_release_step, gen_steps, increment_counter)
28507 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
28508 (__gconv_close_transform, free_modules_db): Likewise.
28509 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
28511 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
28512 (__gconv_find_transform, __gconv_lookup_cache)
28513 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
28514 (__gconv_close_transform, __gconv_release_cache)
28515 (__gconv_loaded_object, __gconv_release_shlib)
28516 (__gconv_compare_alias): Likewise.
28517 * iconv/gconv_open.c (__gconv_open): Likewise.
28518 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
28519 * iconv/iconvconfig.c (add_module): Likewise.
28520 * intl/dcigettext.c (plural_lookup, guess_category_value)
28521 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
28522 * intl/eval-plural.h (plural_eval): Likewise.
28523 * intl/finddomain.c (_nl_find_domain): Likewise.
28524 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
28525 (_nl_load_domain, _nl_find_msg): Likewise.
28526 (internal_function): Remove definition.
28527 * intl/loadinfo.h (internal_function): Likewise.
28528 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
28530 * intl/localealias.c (internal_function): Remove definition.
28531 (read_alias_file): Remove internal_function.
28532 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
28533 * intl/plural-exp.h (internal_function): Remove definition.
28534 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
28536 * intl/plural.c: Regenerate.
28537 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
28538 * locale/coll-lookup.c (__collidx_table_lookup)
28539 (__collseq_table_lookup): Likewise.
28540 * locale/coll-lookup.h (__collidx_table_lookup)
28541 (__collseq_table_lookup): Likewise.
28542 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
28543 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28544 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
28545 (_nl_unload_locale): Likewise.
28546 * locale/localeinfo.h (struct __locale_data): Remove
28547 internal_function from cleanup member.
28548 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
28549 (_nl_remove_locale, _nl_load_locale_from_archive)
28550 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
28551 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
28552 (_nl_cleanup_time): Remove internal_function.
28553 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
28554 (_nl_parse_alt_digit): Likewise.
28555 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
28556 (_nl_select_era_entry): Likewise.
28557 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
28558 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28559 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28560 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
28561 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
28563 2017-08-31 Florian Weimer <fweimer@redhat.com>
28565 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
28566 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
28567 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
28568 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
28570 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
28571 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
28572 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
28573 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28575 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
28577 2017-08-31 Florian Weimer <fweimer@redhat.com>
28579 * misc/getttyent.c (skip, value): Remove internal_function.
28580 * misc/syslog.c (openlog_internal): Likewise.
28581 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
28583 2017-08-31 Florian Weimer <fweimer@redhat.com>
28585 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
28586 (__nss_rewrite_field): Remove internal_function.
28587 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28588 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28589 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28590 * nss/nsswitch.c (nss_parse_file, nss_getline)
28591 (nss_parse_service_list, nss_new_service): Likewise.
28592 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
28593 * nss/valid_field.c (__nss_valid_field): Likewise.
28594 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28596 2017-08-31 Florian Weimer <fweimer@redhat.com>
28598 * malloc/arena.c (__malloc_fork_lock_parent)
28599 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
28600 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
28601 internal_function from defintions.
28602 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
28603 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
28604 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
28605 internal_function from declarations.
28606 * malloc/malloc.c (internal_function): Do not define.
28607 (mem2mem_check): Remove internal_function from declaration.
28608 (munmap_chunk, mremap_chunk): Remove internal_function.
28609 * malloc/mtrace.c (tr_where): Likewise.
28611 2017-08-31 Florian Weimer <fweimer@redhat.com>
28613 * include/rpc/pmap_clnt.h (__get_socket): Remove
28615 * sunrpc/auth_des.c (synchronize): Likewise.
28616 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
28617 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
28618 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
28619 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
28620 (key_call): Likewise.
28621 * sunrpc/pm_getport.c (__get_socket): Likewise.
28622 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
28623 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
28624 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
28625 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
28626 (invalidate): Likewise.
28627 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
28628 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
28629 (set_input_fragment, get_input_bytes): Likewise.
28631 2017-08-31 Florian Weimer <fweimer@redhat.com>
28633 * malloc/malloc.c (_int_free): Remove locked variable and related
28636 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
28639 * Makerules (build-module-helper-objlist): Filter out
28640 $(elf-objpfx)sofini.os.
28641 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
28644 2017-08-31 Florian Weimer <fweimer@redhat.com>
28646 * libio/fcloseall.c: Assume weak_alias is defined.
28647 * libio/feof.c: Likewise.
28648 * libio/fileno.c: Likewise.
28649 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
28650 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28652 (_IO_file_open): Call __open directly.
28653 (_IO_new_file_sync): Assume ESPIPE is defined.
28654 (_IO_file_seekoff_maybe_mmap): Call __read directly.
28655 (_IO_new_file_write): Call __write directly.
28656 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
28657 * libio/ftello64.c (__ftello64): Assume EIO is defined.
28658 * libio/genops.c: Assume _LIBC is defined.
28659 (save_for_backup): Remove internal_function.
28660 * libio/getc.c: Assume weak_alias is defined.
28661 * libio/getwc.c: Likewise.
28662 * libio/iofclose.c: Assume _LIBC is defined.
28663 * libio/iofdopen.c: Likewise.
28664 (_IO_fcntl): Remove macro definition.
28665 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
28666 Call __fcntl directly.
28667 * libio/iofflush.c: Assume weak_alias is defined.
28668 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
28670 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
28671 * libio/iofgets.c: Likewise.
28672 * libio/iofopen.c: Assume _LIBC is defined.
28673 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
28674 * libio/iofputs.c: Assume weak_alias is defined.
28675 * libio/iofread.c: Likewise.
28676 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
28677 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28678 * libio/ioftell.c: Assume weak_alias is defined.
28679 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
28680 * libio/iofwide.c: Assume _LIBC is defined.
28681 (_IO_fwide): Drop SHARED conditional because it is implied by
28683 * libio/iofwrite.c: Assume weak_alias is defined.
28684 * libio/iogetdelim.c: Likewise.
28685 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
28686 * libio/iogetwline.c (wmemcpy): Remove macro definition.
28687 (_IO_getwline): Call __wmemcpy directly.
28688 * libio/iopopen.c: Assume _LIBC is defined.
28689 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28690 (_IO_close): Remove macro definitions.
28691 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
28693 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
28695 * libio/ioputs.c: Assume weak_alias is defined.
28696 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
28697 * libio/iosetbuffer.c: Assume weak_alias is defined.
28698 * libio/iosetvbuf.c: Likewise.
28699 * libio/ioungetc.c: Likewise.
28700 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
28701 libc_hidden_def, libc_hidden_weak, NULL are defined.
28702 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
28703 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
28705 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
28707 (_IO_old_file_init_internal): Drop SHARED conditional because it
28708 is implied by SHLIB_COMPAT.
28709 (_IO_old_file_fopen): Call __open directly.
28710 (_IO_old_file_sync): Assume ESPIPE is defined.
28711 (_IO_old_file_write): Call __write directly.
28712 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
28713 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
28714 Call __fcntl directly.
28715 * libio/oldiofgetpos.c: Assume weak_alias is defined.
28716 (_IO_old_fgetpos): Assume EIO is defined.
28717 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
28718 (_IO_old_fgetpos64): Assume EIO is defined.
28719 * libio/oldiofsetpos.c: Assume weak_alias is defined.
28720 (_IO_old_fsetpos): Assume EIO is defined.
28721 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
28722 (_IO_old_fsetpos64): Assume EIO is defined.
28723 * libio/oldiopopen.c: Assume _LIBC is defined.
28724 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
28725 (_IO_close): Remove macro definitions.
28726 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
28728 (_IO_old_proc_close): Call __close, __waitpid directly.
28729 * libio/put.c: Assume weak_alias is defined.
28730 * libio/stdfiles.c: Assume _LIBC is defined.
28731 * libio/stdio.c: Likewise.
28732 * libio/wfileops.c: Likewise.
28733 (_IO_wfile_sync): Assume ESPIPE is defined.
28734 * libio/wgenops.c: Assume _LIBC is defined.
28735 (save_for_wbackup): Remove internal_function.
28737 2017-08-31 Florian Weimer <fweimer@redhat.com>
28739 * malloc/malloc.c (top_check): Change return type to void. Remove
28741 * malloc/hooks.c (top_check): Likewise.
28742 (malloc_check, realloc_check, memalign_check): Adjust.
28744 2017-08-30 Joseph Myers <joseph@codesourcery.com>
28747 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28748 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
28749 sigcontext and namespace requirements.
28750 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
28751 * sysdeps/m68k/sys/ucontext.h: Likewise.
28752 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
28753 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
28754 <bits/sigcontext.h>.
28755 (__ctx): Define earlier.
28756 (mcontext_t): Define structure contents rather than using struct
28758 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
28759 __glibc_reserved1 instead of __reserved.
28760 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
28761 <bits/sigcontext.h>.
28762 (__ctx): Define earlier.
28763 (mcontext_t): Define structure contents rather than using struct
28765 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
28766 mcontext_t instead of struct sigcontext.
28767 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
28768 <bits/sigcontext.h>.
28769 (__ctx): Define earlier.
28770 (mcontext_t): Define structure contents rather than using struct
28772 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
28773 <bits/sigcontext.h>.
28774 (__ctx): Define earlier.
28775 (mcontext_t): Define structure contents rather than using struct
28777 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
28778 mcontext_t instead of struct sigcontext.
28779 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
28780 mcontext_t instead of struct sigcontext.
28781 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
28782 <bits/sigcontext.h>.
28783 (__ctx): New macro.
28784 (struct __ia64_fpreg_mcontext): New type.
28785 (mcontext_t): Define structure contents rather than using struct
28787 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
28788 (uc_sigmask): Define using __ctx.
28789 (uc_stack): Likewise.
28790 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
28791 <bits/sigcontext.h>.
28792 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28793 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
28794 <bits/sigcontext.h>.
28795 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
28796 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
28797 <bits/sigcontext.h>.
28798 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
28799 <bits/sigcontext.h>.
28800 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
28801 <bits/sigcontext.h>.
28802 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
28803 <bits/sigcontext.h>.
28804 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
28805 <bits/sigcontext.h>.
28806 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
28807 <bits/sigcontext.h>.
28808 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
28809 <bits/sigcontext.h>.
28810 (__ctx): Define earlier.
28811 (mcontext_t): Define structure contents rather than using struct
28813 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
28814 <bits/sigcontext.h>. Include <bits/types.h>.
28815 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
28816 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
28817 (test-xfail-XPG42/ucontext.h/conform): Likewise.
28818 (test-xfail-UNIX98/signal.h/conform): Likewise.
28819 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28820 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28821 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28822 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28823 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28824 (test-xfail-POSIX2008/signal.h/conform): Likewise.
28825 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28826 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28827 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28829 2017-08-30 Florian Weimer <fweimer@redhat.com>
28831 * malloc/dynarray_emplace_enlarge.c
28832 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
28833 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
28834 * malloc/tst-dynarray.c (test_long_overflow): New function.
28835 (do_test): Call it.
28837 2017-08-30 Florian Weimer <fweimer@redhat.com>
28839 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
28840 (set_arena_corrupt): Remove definitions.
28841 (mtrim): Do not check for corrupt arena.
28842 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
28845 2017-08-30 Florian Weimer <fweimer@redhat.com>
28848 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
28850 (ptmalloc_init): Do not set or use check_action.
28851 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
28852 call to malloc_printerr. Remove return statement.
28853 (free_check): Likewise. Remove arena unlock.
28854 (top_check): Update comment. Adjust call to malloc_printerr.
28855 Remove heap repair code.
28856 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
28857 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
28858 (sysmalloc): Adjust call to malloc_printerr.
28859 (munmap_chunk, __libc_realloc): Likewise. Remove return
28861 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
28862 Remove errout label and corresponding gotos.
28863 (_int_free): Likewise. Remove arena unlock.
28864 (do_set_mallopt_check): Do not set check_action.
28865 (malloc_printerr): Adjust parameter list. Do not mark arena as
28867 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
28869 * manual/probes.texi (Memory Allocation Probes): Remove
28870 memory_mallopt_check_action.
28872 2017-08-30 Steve Ellcey <sellcey@cavium.com>
28874 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
28875 Use pointer to uint64_t instead of long int for sp.
28877 2017-08-30 Florian Weimer <fweimer@redhat.com>
28880 * malloc/malloc.c (malloc_printerr): Always terminate the process,
28881 without printing a backtrace. Do not leak any information in the
28883 * manual/memory.texi (Heap Consistency Checking): Update.
28884 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
28886 2017-08-30 Florian Weimer <fweimer@redhat.com>
28888 Do not scale NPTL tests with available number of CPUs.
28889 * nptl/tst-cond16.c (count): Set to constant value of 8.
28890 * nptl/tst-cond18.c (count): Likewise.
28892 2017-08-29 Joseph Myers <joseph@codesourcery.com>
28895 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
28896 Define to take a second argument that is a macro that
28897 concatentates a suffix, not the suffix itself.
28898 (__CONCAT_d): New macro.
28899 (__CONCAT_f): Likewise.
28900 (__CONCAT_l): Likewise.
28902 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
28904 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
28907 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28908 Aurelien Jarno <aurelien@aurel32.net>
28909 Maciej W. Rozycki <macro@imgtec.com>
28912 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
28913 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
28914 `mips16-syscall6' and `mips16-syscall7'.
28915 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
28916 (CFLAGS-mips16-syscall7.c): Remove.
28917 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
28918 Remove `__mips16_syscall5', `__mips16_syscall6' and
28919 `__mips16_syscall7'.
28920 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
28921 (__mips16_syscall0): Rename `__mips16_syscall_return' to
28922 `__mips_syscall_return'.
28923 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
28924 (__mips16_syscall1): Likewise.
28925 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
28926 (__mips16_syscall2): Likewise.
28927 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
28928 (__mips16_syscall3): Likewise.
28929 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
28930 (__mips16_syscall4): Likewise.
28931 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
28933 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
28935 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
28937 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
28938 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
28939 `__mips16_syscall5'. Remove prototype.
28940 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
28941 `__mips16_syscall6'. Remove prototype.
28942 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
28943 `__mips16_syscall7'. Remove prototype.
28944 (__nomips16, __mips16_syscall_return): Move to...
28945 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
28946 (__nomips16, __mips_syscall_return): ... here.
28947 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
28948 `__mips16_syscall_return' to `__mips_syscall_return'.
28949 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
28950 `internal_syscall##nr'.
28951 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
28952 `internal_syscall##nr'.
28953 (FORCE_FRAME_POINTER): Remove.
28954 (__mips_syscall5): New prototype.
28955 (internal_syscall5): Rewrite to call `__mips_syscall5'.
28956 (__mips_syscall6): New prototype.
28957 (internal_syscall6): Rewrite to call `__mips_syscall6'.
28958 (__mips_syscall7): New prototype.
28959 (internal_syscall7): Rewrite to call `__mips_syscall7'.
28960 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
28961 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
28962 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
28963 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
28964 (sysdep_routines): Add libc-do-syscall.
28965 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
28966 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
28968 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28971 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
28972 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
28973 (advise_stack_range): New function.
28974 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
28975 stack non required to advise_stack_range at allocatestack.c
28977 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
28979 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
28981 2017-08-29 Florian Weimer <fweimer@redhat.com>
28984 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
28985 __end_fct. Mangle __end_fct after setting it to NULL.
28986 * iconv/Makefile (tests): Add tst-gconv-init-failure.
28987 (modules-names, modules-names-tests): Add
28988 tst-gconv-init-failure-mod.
28989 (gconv-modules): New target.
28990 (tst-gconv-init-failure-mod.so): Link against libsupport.
28991 (tst-gconv-init-failure): Depend on gconv-modules,
28992 tst-gconv-init-failure-mod.so.
28993 * iconv/tst-gconv-init-failure-mod.c: New file.
28994 * iconv/tst-gconv-init-failure.c: Likewise.
28995 * iconv/test-gconv-modules: Likewise.
28997 2017-08-29 Florian Weimer <fweimer@redhat.com>
29000 * iconv/gconv_db.c (free_derivation): Remove redundant
29002 (gen_steps): Unconditionally mangle __btowc_fct after
29004 (increment_counter): Likewise. Do not call init_fct for internal
29007 2017-08-29 Joseph Myers <joseph@codesourcery.com>
29010 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29011 (_MSUF_): Remove macro.
29012 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
29014 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
29015 (__REDIRFROM_X): New macro.
29016 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
29018 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
29019 (__REDIRTO_X): Likewise.
29020 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
29022 (__MATH_REDIRCALL_2): Likewise.
29023 (__MATH_REDIRCALL_INTERNAL): Likewise.
29024 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29025 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
29026 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
29027 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29028 * math/test-finite-macros.c: New file.
29029 * math/Makefile (tests): Add test-finite-macros.
29030 (CFLAGS-test-finite-macros.c): New variable.
29032 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
29033 Jeff Law <law@redhat.com>
29036 Mangle NULL pointers in iconv/gconv.
29037 * iconv/gconv_cache.c (find_module): Demangle init_fct before
29038 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
29039 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
29040 is non-NULL before demangling the end_fct. Check for NULL
29041 end_fct after demangling.
29042 (__gconv_release_step): Demangle the end_fct before checking
29043 it for NULL. Remove assert on __shlibc_handle != NULL.
29044 (gen_steps): Don't check btowc_fct for NULL before mangling.
29045 Demangle init_fct before checking for NULL.
29046 (increment_counter): Likewise.
29047 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
29048 end_fct for NULL before mangling.
29049 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
29052 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
29055 * locale/iso-639.def: add Morisyen.
29057 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29060 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
29061 (iszero): New C++ implementation that does not use
29062 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
29063 signaling nans are enabled, since __builtin_types_compatible_p
29064 is a C-only feature.
29065 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
29066 defined, include ieee754_float128.h for access to the union and
29067 member ieee854_float128.ieee.
29068 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
29069 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
29070 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29071 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
29072 options of test-math-zero on powerpc64le.
29074 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
29076 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29077 Change double to float.
29079 2017-08-28 Joseph Myers <joseph@codesourcery.com>
29081 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
29083 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
29084 conditional code; define contents only for [LIBM_SVID_COMPAT].
29086 2017-08-28 Florian Weimer <fweimer@redhat.com>
29088 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
29089 (abi-lp64_be-options): Remove.
29090 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
29091 (abi-hard-options): Likewise.
29092 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
29093 (abi-o32_hard-options, abi-o32_soft_2008-options)
29094 (abi-o32_hard_2008-options, abi-n32_soft-options)
29095 (abi-n32_hard-options, abi-n32_soft_2008-options)
29096 (abi-n32_hard_2008-options, abi-n64_soft-options)
29097 (abi-n64_hard-options, abi-n64_soft_2008-options)
29098 (abi-n64_hard_2008-options): Likewise.
29099 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
29100 (abi-64-v1-options, abi-64-v2-options): Likewise.
29101 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
29102 (abi-64-options): Likewise.
29103 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
29104 (abi-64-options): Likewise.
29105 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
29106 (abi-64-options): Likewise.
29107 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
29108 (abi-64-options, abi-x32-options): Likewise.
29110 2017-08-28 Florian Weimer <fweimer@redhat.com>
29112 Store supported list of SYS_* system calls in the source tree.
29113 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
29114 (bits/syscall.h): Generate from list file.
29115 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
29116 [$(subdir) = misc] (tests): Add tst-syscall-list.
29117 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
29118 [$(subdir) = misc] (tst-syscall-list-macros.list)
29119 [$(subdir) = misc] (tst-syscall-list-nr.list)
29120 (tst-syscall-list-sys.list): Helper targets for new
29121 tst-syscall-list test.
29122 [$(subdir) = misc] (tst-syscall-list.out): Run test script
29123 tst-syscall-list.sh.
29124 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
29125 target. Do not include bits/syscall.d.
29126 [$(subdir) = misc] (generated): Do not update.
29127 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
29128 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
29129 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
29130 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
29132 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29134 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
29135 (tst-cxa_atexit, tst-on_exit): Likewise.
29136 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
29137 tst-cxa_atexit, and tst-on_exit.
29138 * stdlib/tst-atexit-common.c: New file.
29139 * stdlib/tst-atexit.c: New file.
29140 * stdlib/tst-at_quick_exit.c: New file.
29141 * stdlib/tst-cxa_atexit.c: New file.
29142 * stdlib/tst-on_exit.c: New file.
29144 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29146 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
29147 * mach/stack_chk_fail_local.c: New file.
29148 * hurd/stack_chk_fail_local.c: New file.
29149 * mach/Machrules ($(interface-library)-routines): Add
29150 stack_chk_fail_local.
29151 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
29152 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
29153 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
29154 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
29155 * hurd/Makefile (CFLAGS-hurdstartup.o,
29156 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
29158 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
29160 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29161 (index_cpu_*, index_arch_*): Removed.
29163 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29165 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
29166 Use uint64_t instead of unsigned long.
29168 2017-08-25 Joseph Myers <joseph@codesourcery.com>
29170 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
29171 [__HAVE_DISTINCT_FLOAT128].
29173 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
29174 of <bits/math-finite.h>.
29175 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
29176 inclusion of <bits/math-finite.h>.
29177 * math/bits/math-finite.h (__REDIRTO_X): Do not define
29178 conditionally on [__MATH_DECLARING_LDOUBLE && defined
29179 __NO_LONG_DOUBLE_MATH].
29180 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
29181 (__MATH_REDIRCALL_2): Likewise.
29182 (__MATH_REDIRCALL_INTERNAL): Likewise.
29183 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
29184 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
29185 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
29187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
29189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
29191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
29193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
29195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
29197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
29199 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29200 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29201 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29202 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
29204 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
29205 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
29206 w_sqrtf_compat-ppc32.
29208 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29210 * math/math.h [defined __cplusplus] (issignaling): In the long
29211 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
29212 is not defined. Call __issignaling, otherwise.
29214 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29216 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
29217 syscall definitions and replace __builtin_expect with __glibc_likely.
29218 * sysdeps/unix/syscall-template.S: Update comment about cancellable
29220 (SYSCALL_CANCELLABLE): Removedefinition
29221 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
29223 (PSEUDO_END): Likewise.
29224 [IS_IN (libpthread)] (CENABLE): Likewise.
29225 [IS_IN (libpthread)] (CDISABLE): Likewise.
29226 [IS_IN (libc)] (CENABLE): Likewise.
29227 [IS_IN (libc)] (CENABLE): Likewise.
29228 [IS_IN (librt)] (CDISABLE): Likewise.
29229 [IS_IN (librt)] (CDISABLE): Likewise.
29230 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29231 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
29233 (PSEUDO_END): Likewise.
29234 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
29235 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
29236 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29237 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
29238 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29239 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
29240 (CENABLE): Likewise.
29241 (CDISABLE): Likewise.
29242 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29243 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
29245 (PSEUDO_END): Likewise.
29246 [IS_IN (libpthread)] (CENABLE): Likewise.
29247 [IS_IN (libpthread)] (CDISABLE): Likewise.
29248 [IS_IN (libc)] (CENABLE): Likewise.
29249 [IS_IN (libc)] (CENABLE): Likewise.
29250 [IS_IN (librt)] (CDISABLE): Likewise.
29251 [IS_IN (librt)] (CDISABLE): Likewise.
29252 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29253 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
29255 (PSEUDO_END): Likewise.
29256 [IS_IN (libpthread)] (CENABLE): Likewise.
29257 [IS_IN (libpthread)] (CDISABLE): Likewise.
29258 [IS_IN (libc)] (CENABLE): Likewise.
29259 [IS_IN (libc)] (CENABLE): Likewise.
29260 [IS_IN (librt)] (CDISABLE): Likewise.
29261 [IS_IN (librt)] (CDISABLE): Likewise.
29262 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29263 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
29265 (PSEUDO_END): Likewise.
29266 [IS_IN (libpthread)] (CENABLE): Likewise.
29267 [IS_IN (libpthread)] (CDISABLE): Likewise.
29268 [IS_IN (libc)] (CENABLE): Likewise.
29269 [IS_IN (libc)] (CENABLE): Likewise.
29270 [IS_IN (librt)] (CDISABLE): Likewise.
29271 [IS_IN (librt)] (CDISABLE): Likewise.
29272 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29273 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
29275 (PSEUDO_END): Likewise.
29276 [IS_IN (libpthread)] (CENABLE): Likewise.
29277 [IS_IN (libpthread)] (CDISABLE): Likewise.
29278 [IS_IN (libc)] (CENABLE): Likewise.
29279 [IS_IN (libc)] (CENABLE): Likewise.
29280 [IS_IN (librt)] (CDISABLE): Likewise.
29281 [IS_IN (librt)] (CDISABLE): Likewise.
29282 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29283 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
29285 (PSEUDO_END): Likewise.
29286 [IS_IN (libpthread)] (CENABLE): Likewise.
29287 [IS_IN (libpthread)] (CDISABLE): Likewise.
29288 [IS_IN (libc)] (CENABLE): Likewise.
29289 [IS_IN (libc)] (CENABLE): Likewise.
29290 [IS_IN (librt)] (CDISABLE): Likewise.
29291 [IS_IN (librt)] (CDISABLE): Likewise.
29292 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29293 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
29295 (PSEUDO_END): Likewise.
29296 [IS_IN (libpthread)] (CENABLE): Likewise.
29297 [IS_IN (libpthread)] (CDISABLE): Likewise.
29298 [IS_IN (libc)] (CENABLE): Likewise.
29299 [IS_IN (libc)] (CENABLE): Likewise.
29300 [IS_IN (librt)] (CDISABLE): Likewise.
29301 [IS_IN (librt)] (CDISABLE): Likewise.
29302 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29303 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
29305 (PSEUDO_END): Likewise.
29306 [IS_IN (libpthread)] (CENABLE): Likewise.
29307 [IS_IN (libpthread)] (CDISABLE): Likewise.
29308 [IS_IN (libc)] (CENABLE): Likewise.
29309 [IS_IN (libc)] (CENABLE): Likewise.
29310 [IS_IN (librt)] (CDISABLE): Likewise.
29311 [IS_IN (librt)] (CDISABLE): Likewise.
29312 (SINGLE_THREAD_P): Likewise.
29313 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
29315 (PSEUDO_END): Likewise.
29316 [IS_IN (libpthread)] (CENABLE): Likewise.
29317 [IS_IN (libpthread)] (CDISABLE): Likewise.
29318 [IS_IN (libc)] (CENABLE): Likewise.
29319 [IS_IN (libc)] (CENABLE): Likewise.
29320 [IS_IN (librt)] (CDISABLE): Likewise.
29321 [IS_IN (librt)] (CDISABLE): Likewise.
29322 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29323 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
29325 (PSEUDO_END): Likewise.
29326 [IS_IN (libpthread)] (CENABLE): Likewise.
29327 [IS_IN (libpthread)] (CDISABLE): Likewise.
29328 [IS_IN (libc)] (CENABLE): Likewise.
29329 [IS_IN (libc)] (CENABLE): Likewise.
29330 [IS_IN (librt)] (CDISABLE): Likewise.
29331 [IS_IN (librt)] (CDISABLE): Likewise.
29332 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29333 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
29334 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29335 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
29336 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
29338 (PSEUDO_END): Likewise.
29339 [IS_IN (libpthread)] (CENABLE): Likewise.
29340 [IS_IN (libpthread)] (CDISABLE): Likewise.
29341 [IS_IN (libc)] (CENABLE): Likewise.
29342 [IS_IN (libc)] (CENABLE): Likewise.
29343 [IS_IN (librt)] (CDISABLE): Likewise.
29344 [IS_IN (librt)] (CDISABLE): Likewise.
29345 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29346 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
29348 (PSEUDO_END): Likewise.
29349 [IS_IN (libpthread)] (CENABLE): Likewise.
29350 [IS_IN (libpthread)] (CDISABLE): Likewise.
29351 [IS_IN (libc)] (CENABLE): Likewise.
29352 [IS_IN (libc)] (CENABLE): Likewise.
29353 [IS_IN (librt)] (CDISABLE): Likewise.
29354 [IS_IN (librt)] (CDISABLE): Likewise.
29355 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29356 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
29358 (PSEUDO_END): Likewise.
29359 [IS_IN (libpthread)] (CENABLE): Likewise.
29360 [IS_IN (libpthread)] (CDISABLE): Likewise.
29361 [IS_IN (libc)] (CENABLE): Likewise.
29362 [IS_IN (libc)] (CENABLE): Likewise.
29363 [IS_IN (librt)] (CDISABLE): Likewise.
29364 [IS_IN (librt)] (CDISABLE): Likewise.
29365 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29366 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
29367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29368 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
29369 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
29371 (PSEUDO_END): Likewise.
29372 [IS_IN (libpthread)] (CENABLE): Likewise.
29373 [IS_IN (libpthread)] (CDISABLE): Likewise.
29374 [IS_IN (libc)] (CENABLE): Likewise.
29375 [IS_IN (libc)] (CENABLE): Likewise.
29376 [IS_IN (librt)] (CDISABLE): Likewise.
29377 [IS_IN (librt)] (CDISABLE): Likewise.
29378 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29379 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
29381 (PSEUDO_END): Likewise.
29382 [IS_IN (libpthread)] (CENABLE): Likewise.
29383 [IS_IN (libpthread)] (CDISABLE): Likewise.
29384 [IS_IN (libc)] (CENABLE): Likewise.
29385 [IS_IN (libc)] (CENABLE): Likewise.
29386 [IS_IN (librt)] (CDISABLE): Likewise.
29387 [IS_IN (librt)] (CDISABLE): Likewise.
29388 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
29390 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
29392 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
29394 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29396 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29398 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29401 * string/stratcliff.c (do_test): Declare size, nchars, inner,
29402 middle and outer with size_t instead of int. Repleace %d and
29403 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
29404 "MAX (outer, nchars - 64)" to support unsigned outer and
29405 nchars. Also exit loop when outer == 0.
29407 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29409 * include/fcntl.h (__fcntl_nocancel): Remove definition.
29410 * include/signal.h (__sigsuspend_nocancel): Likewise.
29411 * include/time.h (__nanosleep_nocancel): Likewise.
29412 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
29413 * login/utmp_file.c: Include non cancellable syscall header.
29414 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
29417 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
29419 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
29420 .byte sequences with AVX512F instructions.
29421 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
29422 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
29423 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
29424 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
29426 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29429 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
29430 Steve Ellcey <sellcey@cavium.com>
29432 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
29433 Use PTR_REG macro in cmp instruction.
29435 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29437 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
29438 Change the return type of the ifunc resolver to match the return
29439 type of the target function.
29441 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29443 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
29444 (preadv64): Likewise.
29445 (pwrite64(: Likewise.
29446 (pwritev64): Likewise.
29448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29449 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
29450 (LOAD_ARGS_0): Likewise.
29451 (LOAD_ARGS_1): Likewise.
29452 (LOAD_ARGS_2): Likewise.
29453 (LOAD_ARGS_3): Likewise.
29454 (LOAD_ARGS_4): Likewise.
29455 (LOAD_ARGS_5): Likewise.
29456 (LOAD_ARGS_6): Likewise.
29457 (LOAD_REGS_0): Likewise.
29458 (LOAD_REGS_1): Likewise.
29459 (LOAD_REGS_2): Likewise.
29460 (LOAD_REGS_3): Likewise.
29461 (LOAD_REGS_4): Likewise.
29462 (LOAD_REGS_5): Likewise.
29463 (LOAD_REGS_6): Likewise.
29464 (ASM_ARGS_0): Likewise.
29465 (ASM_ARGS_1): Likewise.
29466 (ASM_ARGS_2): Likewise.
29467 (ASM_ARGS_3): Likewise.
29468 (ASM_ARGS_4): Likewise.
29469 (ASM_ARGS_5): Likewise.
29470 (ASM_ARGS_6): Likewise.
29471 (LOAD_ARGS_TYPES_1): Likewise.
29472 (LOAD_ARGS_TYPES_2): Likewise.
29473 (LOAD_ARGS_TYPES_3): Likewise.
29474 (LOAD_ARGS_TYPES_4): Likewise.
29475 (LOAD_ARGS_TYPES_5): Likewise.
29476 (LOAD_ARGS_TYPES_6): Likewise.
29477 (LOAD_REGS_TYPES_1): Likewise.
29478 (LOAD_REGS_TYPES_2): Likewise.
29479 (LOAD_REGS_TYPES_3): Likewise.
29480 (LOAD_REGS_TYPES_4): Likewise.
29481 (LOAD_REGS_TYPES_5): Likewise.
29482 (LOAD_REGS_TYPES_6): Likewise.
29483 (TYPEFY): New define.
29484 (ARGIFY): Likewise.
29485 (internal_syscall0): Likewise.
29486 (internal_syscall1): Likewise.
29487 (internal_syscall2): Likewise.
29488 (internal_syscall3): Likewise.
29489 (internal_syscall4): Likewise.
29490 (internal_syscall5): Likewise.
29491 (internal_syscall6): Likewise.
29492 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
29493 (INTERNAL_SYSCALL_NCS): Remove define.
29494 (internal_syscall1): Add define.
29496 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29498 * math/w_remainder_compat.c: Remove duplicate inclusion of
29499 math-svid-compat.h.
29500 * math/w_remainderf_compat.c: Likewise.
29501 * math/w_remainderl_compat.c: Likewise.
29503 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29507 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29510 * math/tgmath.h (__floating_type): Simplify definitions.
29511 (__real_integer_type): New macro.
29512 (__complex_integer_type): Likewise.
29513 (__expr_is_real): Likewise.
29514 (__tgmath_real_type_sub): Update comment to describe handling of
29516 (__tgmath_complex_type_sub): New macro.
29517 (__tgmath_complex_type): Likewise.
29518 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29519 (__TGMATH_CF128): Use __expr_is_real.
29520 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
29522 (__TGMATH_BINARY_REAL_IMAG): Likewise.
29523 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
29524 * math/gen-tgmath-tests.py (Type.create_type): Create complex
29527 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29529 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
29531 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
29533 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
29536 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
29537 nanosleep_not_cancel with __nanosleep_nocancel.
29538 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
29539 (__nanosleep_nocancel): New macro.
29540 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
29542 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
29544 (__nanosleep_nocancel): New prototype.
29546 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
29547 pause_not_cancel with __pause_nocancel.
29548 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
29549 (__pause_nocancel): New macro.
29550 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
29552 (__pause_nocancel): New prototype.
29553 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
29555 2017-08-22 Martin Sebor <msebor@redhat.com>
29557 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
29558 to return a pointer to the same type as the target function.
29560 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29564 * include/printf.h (__printf_fphex): Add attribute_hidden.
29565 (__guess_grouping): New prototype.
29566 * stdio-common/printf_fp.c (__guess_grouping): Removed.
29567 * stdio-common/reg-printf.c (__register_printf_specifier): Add
29568 libc_hidden_proto and libc_hidden_def.
29569 * stdlib/strfmon_l.c (__guess_grouping): Removed.
29570 (__vstrfmon_l): Remove the third argument passed to
29573 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29575 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
29576 definition for issignaling that does not rely on __MATH_TG,
29577 since __MATH_TG uses __builtin_types_compatible_p, which is only
29578 available in C mode.
29579 (CFLAGS-test-math-issignaling.cc): New variable.
29580 * math/Makefile [CXX] (tests): Add test-math-issignaling.
29581 * math/test-math-issignaling.cc: New test for C++ implementation
29582 of type-generic issignaling.
29583 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
29584 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
29585 options of test-math-issignaling on powerpc64le.
29587 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
29589 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29591 (hidden_proto): Likewise.
29592 (hidden_tls_proto): Likewise.
29593 (__hidden_proto): Likewise.
29595 2017-08-22 Florian Weimer <fweimer@redhat.com>
29597 math: Statically link tests of internal functionality.
29598 * math/Makefile (tests): Remove atest-exp, atest-sincos,
29600 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
29601 (gmp-objs): Remove assignment.
29602 (atest-exp, atest-sincos, atest-exp2): Remove targets.
29604 2017-08-22 Joseph Myers <joseph@codesourcery.com>
29607 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
29609 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
29611 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
29614 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
29615 variable definitions above inclusion of ../Rules.
29617 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29619 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
29620 case calling __builtin_unreachable.
29622 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29624 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
29625 __waitpid_nocancel.
29626 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
29627 (__waitpid_nocancel): New macro.
29628 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
29630 (__waitpid_nocancel): Replace macro with a function.
29631 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
29634 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
29636 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
29637 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
29639 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
29640 __writev_nocancel_nostatus.
29641 (write_call_graph): Likewise.
29642 (write_bb_counts): Likewise.
29643 * resolv/herror.c (herror): Likewise.
29644 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
29646 (__writev_nocancel_nostatus): New macro.
29647 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
29649 (__writev_nocancel_nostatus): New function.
29651 2017-08-21 Joseph Myers <joseph@codesourcery.com>
29654 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29656 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29658 (hidden_proto): Likewise.
29659 (hidden_tls_proto): Likewise.
29660 (__hidden_proto): Likewise.
29663 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
29664 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
29669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
29673 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
29674 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29675 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29676 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29677 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
29678 GLIBC_2.0 sqrtl symbol.
29680 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
29681 [__USE_MISC] (_LIB_VERSION): Likewise.
29682 [__USE_MISC] (struct exception): Likewise.
29683 [__USE_MISC] (matherr): Likewise.
29684 [__USE_MISC] (DOMAIN): Likewise.
29685 [__USE_MISC] (SING): Likewise.
29686 [__USE_MISC] (OVERFLOW): Likewise.
29687 [__USE_MISC] (UNDERFLOW): Likewise.
29688 [__USE_MISC] (TLOSS): Likewise.
29689 [__USE_MISC] (PLOSS): Likewise.
29690 [__USE_MISC] (HUGE): Likewise.
29691 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
29692 * math/math-svid-compat.h: New file.
29693 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
29695 * include/math.h [!_ISOMAC] (__matherr): Remove.
29696 * manual/arith.texi (FP Exceptions): Do not document matherr.
29697 * math/Makefile (tests): Change test-matherr to test-matherr-3.
29698 (tests-internal): New variable.
29699 (install-lib): Do not add libieee.a.
29700 (non-lib.a): Likewise.
29701 (extra-objs): Do not add libieee.a and ieee-math.o.
29702 (CPPFLAGS-s_lib_version.c): Remove variable.
29703 ($(objpfx)libieee.a): Remove rule.
29704 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
29705 * math/ieee-math.c: Remove.
29706 * math/libm-test-support.c (matherr): Remove.
29707 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
29708 and license notices. Include <math-svid-compat.h> and
29710 (matherr): Undefine as macro. Use compat_symbol_reference.
29711 (_LIB_VERSION): Likewise.
29712 * math/test-matherr-2.c: New file.
29713 * math/test-matherr-3.c: Likewise.
29714 * sysdeps/generic/math_private.h (__kernel_standard): Remove
29716 (__kernel_standard_f): Likewise.
29717 (__kernel_standard_l): Likewise.
29718 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
29719 <math_private.h>. Include <math-svid-compat.h>.
29720 (_LIB_VERSION): Undefine as macro.
29721 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
29722 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
29723 [LIBM_SVID_COMPAT], use compat_symbol.
29724 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
29725 <math_private.h>. Include <math-svid-compat.h>.
29726 (matherr): Undefine as macro.
29727 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
29729 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
29730 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
29731 compat_symbol_reference.
29732 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
29733 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
29734 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
29735 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
29736 (MATHERR_D): Remove declaration.
29737 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
29738 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
29739 [LIBM_BUILD] (pmatherrf): Likewise.
29740 [LIBM_BUILD] (pmatherr): Likewise.
29741 [LIBM_BUILD] (pmatherrl): Likewise.
29742 (DOMAIN): Likewise.
29744 (OVERFLOW): Likewise.
29745 (UNDERFLOW): Likewise.
29748 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
29749 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
29751 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
29752 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
29754 * math/lgamma-compat.h: Include <math-svid-compat.h>.
29755 * math/w_acos_compat.c: Likewise.
29756 * math/w_acosf_compat.c: Likewise.
29757 * math/w_acosh_compat.c: Likewise.
29758 * math/w_acoshf_compat.c: Likewise.
29759 * math/w_acoshl_compat.c: Likewise.
29760 * math/w_acosl_compat.c: Likewise.
29761 * math/w_asin_compat.c: Likewise.
29762 * math/w_asinf_compat.c: Likewise.
29763 * math/w_asinl_compat.c: Likewise.
29764 * math/w_atan2_compat.c: Likewise.
29765 * math/w_atan2f_compat.c: Likewise.
29766 * math/w_atan2l_compat.c: Likewise.
29767 * math/w_atanh_compat.c: Likewise.
29768 * math/w_atanhf_compat.c: Likewise.
29769 * math/w_atanhl_compat.c: Likewise.
29770 * math/w_cosh_compat.c: Likewise.
29771 * math/w_coshf_compat.c: Likewise.
29772 * math/w_coshl_compat.c: Likewise.
29773 * math/w_exp10_compat.c: Likewise.
29774 * math/w_exp10f_compat.c: Likewise.
29775 * math/w_exp10l_compat.c: Likewise.
29776 * math/w_exp2_compat.c: Likewise.
29777 * math/w_exp2f_compat.c: Likewise.
29778 * math/w_exp2l_compat.c: Likewise.
29779 * math/w_fmod_compat.c: Likewise.
29780 * math/w_fmodf_compat.c: Likewise.
29781 * math/w_fmodl_compat.c: Likewise.
29782 * math/w_hypot_compat.c: Likewise.
29783 * math/w_hypotf_compat.c: Likewise.
29784 * math/w_hypotl_compat.c: Likewise.
29785 * math/w_j0_compat.c: Likewise.
29786 * math/w_j0f_compat.c: Likewise.
29787 * math/w_j0l_compat.c: Likewise.
29788 * math/w_j1_compat.c: Likewise.
29789 * math/w_j1f_compat.c: Likewise.
29790 * math/w_j1l_compat.c: Likewise.
29791 * math/w_jn_compat.c: Likewise.
29792 * math/w_jnf_compat.c: Likewise.
29793 * math/w_jnl_compat.c: Likewise.
29794 * math/w_lgamma_main.c: Likewise.
29795 * math/w_lgamma_r_compat.c: Likewise.
29796 * math/w_lgammaf_main.c: Likewise.
29797 * math/w_lgammaf_r_compat.c: Likewise.
29798 * math/w_lgammal_main.c: Likewise.
29799 * math/w_lgammal_r_compat.c: Likewise.
29800 * math/w_log10_compat.c: Likewise.
29801 * math/w_log10f_compat.c: Likewise.
29802 * math/w_log10l_compat.c: Likewise.
29803 * math/w_log2_compat.c: Likewise.
29804 * math/w_log2f_compat.c: Likewise.
29805 * math/w_log2l_compat.c: Likewise.
29806 * math/w_log_compat.c: Likewise.
29807 * math/w_logf_compat.c: Likewise.
29808 * math/w_logl_compat.c: Likewise.
29809 * math/w_pow_compat.c: Likewise.
29810 * math/w_powf_compat.c: Likewise.
29811 * math/w_powl_compat.c: Likewise.
29812 * math/w_remainder_compat.c: Likewise.
29813 * math/w_remainderf_compat.c: Likewise.
29814 * math/w_remainderl_compat.c: Likewise.
29815 * math/w_scalb_compat.c: Likewise.
29816 * math/w_scalbf_compat.c: Likewise.
29817 * math/w_scalbl_compat.c: Likewise.
29818 * math/w_sinh_compat.c: Likewise.
29819 * math/w_sinhf_compat.c: Likewise.
29820 * math/w_sinhl_compat.c: Likewise.
29821 * math/w_sqrt_compat.c: Likewise.
29822 * math/w_sqrtf_compat.c: Likewise.
29823 * math/w_sqrtl_compat.c: Likewise.
29824 * math/w_tgamma_compat.c: Likewise.
29825 * math/w_tgammaf_compat.c: Likewise.
29826 * math/w_tgammal_compat.c: Likewise.
29827 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
29828 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
29829 * sysdeps/ieee754/k_standard.c: Likewise.
29830 * sysdeps/ieee754/k_standardf.c: Likewise.
29831 * sysdeps/ieee754/k_standardl.c: Likewise.
29832 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
29833 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
29834 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
29835 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
29836 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
29837 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
29838 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
29839 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
29840 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
29841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
29843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
29845 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
29846 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
29847 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
29848 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
29850 2017-08-21 Florian Weimer <fweimer@redhat.com>
29853 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
29854 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
29855 Move before inclusion of ../Rules.
29857 2017-08-21 Florian Weimer <fweimer@redhat.com>
29860 * assert/assert.h (assert): Use static_cast (bool) for C++.
29861 Use the ternary operator in the warning branch for GNU C.
29862 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
29863 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
29864 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
29865 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
29866 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
29868 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29871 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29872 (__syscall_clock_gettime): Add attribute_hidden.
29873 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
29874 (__start_context): Likewise.
29876 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29878 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
29880 (hidden_proto): Likewise.
29881 (hidden_tls_proto): Likewise.
29882 (__hidden_proto): Likewise.
29884 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29886 * include/libc-symbols.h (attribute_hidden): Enable hidden
29887 visibility in libc.a compiled with PIE.
29889 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29892 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
29893 Add attribute_hidden.
29895 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29898 * Makerules (all-nonlib): Add $(others-extras).
29899 * catgets/Makefile (others-extras): New.
29900 * elf/Makefile (others-extras): Likewise.
29901 * nss/Makefile (others-extras): Likewise.
29903 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29906 * csu/libc-start.c (__libc_multiple_libcs): Removed.
29907 * elf/dl-open.c: Include <libc-internal.h>.
29908 (__libc_multiple_libcs): Removed.
29909 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
29911 * include/libc-internal.h (__libc_multiple_libcs): New.
29912 * misc/sbrk.c: Include <libc-internal.h>.
29913 (__libc_multiple_libcs): Removed.
29915 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
29918 * grp/initgroups.c (__nss_group_database): Removed.
29919 (__nss_initgroups_database): Likewise.
29920 * nscd/gai.c (__nss_hosts_database): Likewise.
29921 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
29922 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
29923 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
29924 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
29925 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
29926 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
29928 * nss/nsswitch.c (__nss_database_custom): Define only if
29929 USE_NSCD is defined.
29930 (__nss_configure_lookup): Use __nss_database_custom only if
29931 USE_NSCD is defined.
29932 * nss/nsswitch.h (__nss_database_custom): Declare only if
29933 USE_NSCD is defined. Add attribute_hidden.
29934 (__nss_setent): Add attribute_hidden.
29935 (__nss_endent): Likewise.
29936 (__nss_getent_r): Likewise.
29937 (__nss_getent): Likewise.
29938 (DEFINE_DATABASE): Declare __nss_##arg##_database.
29940 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29943 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
29944 libc_hidden_proto and libc_hidden_def.
29946 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29949 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
29950 Add libc_hidden_proto.
29951 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
29952 Add libc_hidden_def.
29954 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29957 * gmon/Makefile (routines): Remove bb_init_func and
29959 (elide-routines.os): Removed.
29960 * gmon/bb_exit_func.c: Likewise.
29961 * gmon/bb_init_func.c: Likewise.
29962 * include/sys/gmon.h (__bb): Likewise.
29963 (__bb_init_func): Likewise.
29964 (__bb_exit_func): Likewise.
29965 * sysdeps/alpha/bb_init_func.S: Likewise.
29967 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
29969 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
29970 * include/setjmp.h (____longjmp_chk): Here. Add
29973 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
29976 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
29978 (__strspn_sse2): Likewise.
29980 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29982 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
29983 (close_not_cancel_no_status): Likewise.
29984 (__close_nocancel): New macro.
29985 (__close_nocancel_nostatus): Likewise.
29986 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
29988 (close_not_cancel): Likewise.
29989 (close_not_cancel_no_status): Likewise.
29990 (__close_nocancel): New prototype.
29991 (__close_nocancel_nostatus): New function.
29992 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
29993 * catgets/open_catalog.c (__open_catalog): Replace
29994 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
29995 * gmon/gmon.c (write_gmon): Likewise.
29996 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
29997 * intl/loadmsgcat.c (close): Likewise.
29998 * io/ftw.c (open_dir_stream): Likewise.
29999 (ftw_startup): Likewise.
30000 * libio/fileops.c (_IO_file_open): Likewise.
30001 (_IO_file_close_mmap): Likewise.
30002 (_IO_file_close): Likewise.
30003 * libio/iopopen.c (_IO_dup2): Likewise.
30004 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30005 * locale/loadlocale.c (_nl_load_locale): Likewise.
30006 * login/utmp_file.c (pututline_file): Likewise.
30007 (endutent_file): Likewise.
30008 * misc/daemon.c (daemon): Likewise.
30009 * nscd/nscd_getai.c (__nscd_getai): Likewise.
30010 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30011 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
30012 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30013 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30014 * nscd/nscd_helper.c (open_socket): Likewise.
30015 (__nscd_open_socket): Likewise.
30016 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30017 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
30018 (__nscd_innetgr): Likewise.
30019 * nss/nss_db/db-open.c (internal_setent): Likewise.
30020 * resolv/res-close.c (__res_iclose): Likewise.
30021 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
30022 * sysdeps/posix/closedir.c (__closedir): Likewise.
30023 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
30024 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30025 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30026 (opendir_tail): Likewise.
30027 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30028 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
30029 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30030 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30031 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30032 (gethostid): Likewise.
30033 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30034 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30036 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30037 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
30038 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30039 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30041 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
30042 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
30043 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30045 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
30046 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30048 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30050 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30051 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30052 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30055 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
30056 (openat_not_cancel_3): Likewise.
30057 (openat64_not_cancel_3): Likewise).
30058 (openat_not_cancel_3): Likewise).
30059 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
30061 (openat_not_cancel_3): Likewise.
30062 (openat64_not_cancel): Likewise.
30063 (openat64_not_cancel_3): Likewise.
30064 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
30065 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
30066 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
30067 __open{64}_nocancel.
30068 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30069 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30070 * sysdeps/posix/opendir.c (__opendirat): Likewise.
30072 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30075 * include/argz.h (__argz_create_sep): New function prototype.
30076 (__argz_append): Likewise.
30077 (__argz_add): Likewise.
30078 (__argz_add_sep): Likewise.
30079 (__argz_delete): Likewise.
30080 (__argz_insert): Likewise.
30081 (__argz_replace): Likewise.
30082 * string/argz.h (__argz_create_sep): Removed.
30083 (__argz_append): Likewise.
30084 (__argz_add): Likewise.
30085 (__argz_add_sep): Likewise.
30086 (__argz_delete): Likewise.
30087 (__argz_insert): Likewise.
30088 (__argz_replace): Likewise.
30090 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30092 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
30093 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
30094 (GNU_PROPERTY_STACK_SIZE): Likewie.
30095 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
30096 (GNU_PROPERTY_LOPROC): Likewise.
30097 (GNU_PROPERTY_HIPROC): Likewise.
30098 (GNU_PROPERTY_LOUSER): Likewise.
30099 (GNU_PROPERTY_HIUSER): Likewise.
30100 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
30101 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
30102 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
30103 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
30104 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
30105 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
30106 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
30107 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
30108 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
30109 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
30110 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
30111 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
30112 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
30113 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
30114 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
30115 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
30116 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
30117 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
30118 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
30119 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
30120 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
30121 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
30122 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
30124 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30126 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
30129 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30132 * math/math.h (isinf): Check if in C or C++ mode before using
30133 __builtin_types_compatible_p, since this is a C mode feature.
30135 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30137 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
30138 (__write_nocancel): New macro.
30139 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
30140 Rewrite as a function prototype.
30141 (write_not_cancel): Remove macro.
30142 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
30143 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
30144 (write_gmon): Likewise.
30145 * libio/fileops.c (_IO_new_file_write): Likewise.
30146 * login/utmp_file.c (pututline_file): Likewise.
30147 (updwtmp_file): Likewise.
30148 * stdio-common/psiginfo.c (psiginfo): Likewise.
30149 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30150 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30151 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30153 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30156 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
30157 (__read_nocancel): New macro.
30158 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30160 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
30162 (__read_nocancel): New prototype.
30163 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
30164 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
30165 with __read_nocancel.
30166 * intl/loadmsgcat.c (read): Likewise.
30167 * libio/fileops.c (_IO_file_read): Likewise.
30168 * locale/loadlocale.c (_nl_load_locale): Likewise.
30169 * login/utmp_file.c (getutent_r_file): Likewise.
30170 (internal_getut_r): Likewise.
30171 (getutline_r_file): Likewise.
30172 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30173 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30174 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30175 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30177 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
30178 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30179 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30181 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30183 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30185 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30187 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30189 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
30192 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
30193 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
30196 2017-08-17 DJ Delorie <dj@redhat.com>
30198 * bug17079.c: Update to new test harness.
30199 * test-digits-dots.c: Likewise.
30200 * test-netdb.c: Likewise.
30201 * tst-field.c: Likewise.
30202 * tst-nss-getpwent.c: Likewise.
30203 * tst-nss-static.c: Likewise.
30204 * tst-nss-test1.c: Likewise.
30205 * tst-nss-test2.c: Likewise.
30206 * tst-nss-test3.c: Likewise.
30207 * tst-nss-test4.c: Likewise.
30208 * tst-nss-test5.c: Likewise.
30210 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30212 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
30213 (open_not_cancel_2): Likewise.
30214 (open_nocancel): New macro.
30215 (open64_nocancel): Likewise.
30216 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
30217 (open_not_cancel_2): Likewise.
30218 (__open_nocancel): New prototype.
30219 (__open64_nocancel): Likewise.
30220 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
30222 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
30223 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
30224 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
30225 with __open_nocancel.
30226 * csu/check_fds.c (check_one_fd): Likewise.
30227 * gmon/gmon.c (write_gmon): Likewise.
30228 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
30229 * intl/loadmsgcat.c (open): Likewise.
30230 * libio/fileops.c (_IO_file_open): Likewise.
30231 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30232 * locale/loadlocale.c (_nl_load_locale): Likewise.
30233 * login/utmp_file.c (setutent_file): Likewise.
30234 * misc/daemon.c (daemon): Likewise.
30235 * nss/nss_db/db-open.c (internal_setent): Likewise.
30236 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
30237 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
30238 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
30239 (__opendir): Likewise.
30240 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
30241 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
30242 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
30243 (gethostid): Likewise.
30244 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
30245 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30247 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30248 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
30249 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
30250 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
30252 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
30254 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
30256 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30258 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
30260 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
30262 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
30263 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
30265 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
30267 * benchtests/bench-skeleton.c (main): Add support for
30268 latency benchmarking.
30269 * benchtests/scripts/bench.py: Add support for latency benchmarking.
30271 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
30273 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
30274 the startup object.
30276 2017-08-17 Florian Weimer <fweimer@redhat.com>
30278 * include/sys/socket.h (__opensock): Remove internal_function.
30279 * socket/opensock.c (__opensock): Likewise.
30280 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
30282 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30285 * signal/bits/types/__sigval_t.h: New file.
30286 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
30287 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
30288 and define sigval_t using __sigval_t.
30289 * include/bits/types/__sigval_t.h: New file.
30290 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
30291 instead of <bits/types/__sigval_t.h>.
30292 (struct sigevent): Use __sigval_t instead of sigval_t.
30293 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
30294 instead of <bits/types/__sigval_t.h>.
30295 (siginfo_t): Use __sigval_t instead of sigval_t.
30296 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
30297 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30298 (struct sigevent): Use __sigval_t instead of sigval_t.
30299 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
30300 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
30301 (siginfo_t): Use __sigval_t instead of sigval_t.
30302 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
30304 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30306 * NEWS: Remove "[Add new features here]" for 2.27.
30308 2017-08-16 Joseph Myers <joseph@codesourcery.com>
30310 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
30313 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30315 * NEWS: Mention x86-64 FMA optimization.
30317 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
30320 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30322 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
30323 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
30324 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
30326 2017-08-16 Andreas Schwab <schwab@suse.de>
30330 * elf/ldd.bash.in: Never run file directly.
30332 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
30335 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
30336 (L(SP_INF_0)): Likewise.
30338 2017-08-15 Florian Weimer <fweimer@redhat.com>
30340 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
30343 2017-08-15 Florian Weimer <fweimer@redhat.com>
30345 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
30346 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
30347 BROKEN_THREAD_SIGNALS code.
30348 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
30349 request_list): Remove caller_pid member used for
30350 BROKEN_THREAD_SIGNALS.
30351 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
30352 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
30353 Remove BROKEN_THREAD_SIGNALS support.
30354 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
30355 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
30357 2017-08-15 Florian Weimer <fweimer@redhat.com>
30359 * gmon/Makefile (tests): Add tst-gmon.
30360 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
30362 (tests-special): Add tst-gmon-prof.out.
30363 (tst-gmon.out): Depend on clean-tst-gmon-data.
30364 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
30365 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
30366 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
30368 * aclocal.m4 (GPROF): Set and substitute.
30369 * config.amke.in (GPROF): Set.
30370 * configure: Regenerate.
30372 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
30374 * elf/elf.h A (NT_PPC_TAR): New macro.
30375 (NT_PPC_PPR): Likewise.
30376 (NT_PPC_DSCR): Likewise.
30377 (NT_PPC_EBB): Likewise.
30378 (NT_PPC_PMU): Likewise.
30379 (NT_PPC_TM_CGPR): Likewise.
30380 (NT_PPC_TM_CFPR): Likewise.
30381 (NT_PPC_TM_CVMX): Likewise.
30382 (NT_PPC_TM_CVSX): Likewise.
30383 (NT_PPC_TM_SPR): Likewise.
30384 (NT_PPC_TM_CTAR): Likewise.
30385 (NT_PPC_TM_CPPR): Likewise.
30386 (NT_PPC_TM_CDSCR): Likewise.
30388 2017-08-15 Florian Weimer <fweimer@redhat.com>
30390 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
30391 regparm (2) instead of internal_function.
30392 (_MCOUNT_DECL): Adjust.
30394 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
30396 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
30397 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30399 2017-08-14 Joseph Myers <joseph@codesourcery.com>
30401 * conform/data/sys/wait.h-data (si_value): Do not expect for
30404 2017-08-14 Florian Weimer <fweimer@redhat.com>
30407 NSS: Create stubs for accidentally exported lookup functions.
30408 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
30409 Remove declaration.
30410 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
30411 (ether_hostton): Call __nss_ethers_lookup2 instead.
30412 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
30413 (ether_ntohost): Call __nss_ethers_lookup2 instead.
30414 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
30415 (setup): Call __nss_netgroup_lookup2 instead.
30416 * nss/Makefile (routines): Add compat-lookup.
30417 * nss/Versions (GLIBC_2.27): Add symbol version.
30418 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
30419 (DB_COMPAT_FCT): Remove.
30420 * nss/compat-lookup.c: New file.
30421 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
30422 from databases.def.
30423 * nss/service-lookup.c (NO_COMPAT): Remove definition.
30424 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
30425 (netname2user): Call __nss_publickey_lookup2 instead.
30426 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
30427 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
30430 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30431 Sergei Trofimovich <slyfox@inbox.ru>
30434 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
30435 Rename to MMAP2_PAGE_UNIT.
30436 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
30437 __OFF_T_MATCHES_OFF64_T is not defined.
30438 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
30440 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
30441 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
30443 2017-08-14 Florian Weimer <fweimer@redhat.com>
30445 i386: Do not set internal_function.
30446 * config.h.in (USE_REGPARMS, internal_function): Remove.
30447 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
30448 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
30450 2017-08-14 Florian Weimer <fweimer@redhat.com>
30452 * elf/dl-init.c (_dl_init): Remove internal_function.
30453 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
30454 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
30456 2017-08-14 Florian Weimer <fweimer@redhat.com>
30458 * elf/rtld.c (_dl_start): Remove internal_function.
30459 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
30462 2017-08-14 Florian Weimer <fweimer@redhat.com>
30464 * elf/dl-fini.c (_dl_fini): Remove internal_function
30465 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
30467 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
30469 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
30470 (bit_cpu_SHSTK): Likewise.
30471 (index_cpu_IBT): Likewise.
30472 (index_cpu_SHSTK): Likewise.
30473 (reg_IBT): Likewise.
30474 (reg_SHSTK): Likewise.
30475 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30476 Handle index_cpu_IBT and index_cpu_SHSTK.
30478 2017-08-14 Mike FABIAN <mfabian@redhat.com>
30481 * po/fr.po: Fix spelling mistake.
30483 2017-08-13 Florian Weimer <fweimer@redhat.com>
30485 * elf/dl-addr.c (_dl_addr): Remove internal_function.
30486 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
30487 (_dl_catch_error, _dl_receive_error): Likewise.
30488 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
30489 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
30490 (_dl_deallocate_tls): Likewise.
30491 * include/dlfcn.h (_dl_addr): Likewise.
30492 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
30493 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
30494 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
30497 2017-08-13 Florian Weimer <fweimer@redhat.com>
30499 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
30500 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
30502 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
30504 2017-08-13 Florian Weimer <fweimer@redhat.com>
30506 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
30508 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
30509 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
30510 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
30511 internal_function from _dl_make_stack_executable_hook member.
30512 (_dl_make_stack_executable): Remove internal_function.
30513 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
30515 * sysdeps/unix/sysv/linux/dl-execstack.c
30516 (_dl_make_stack_executable): Likewise.
30518 2017-08-13 Florian Weimer <fweimer@redhat.com>
30520 * sysdeps/unix/sysv/linux/netlinkaccess.h
30521 (__netlink_assert_response): Remove internal_function.
30522 * sysdeps/unix/sysv/linux/netlink_assert_response.c
30523 (__netlink_assert_response): Likewise.
30525 2017-08-13 Florian Weimer <fweimer@redhat.com>
30527 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
30529 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
30531 2017-08-13 Florian Weimer <fweimer@redhat.com>
30533 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
30535 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
30536 * inet/netgroup.h (__internal_setnetgrent)
30537 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30538 * inet/getnetgrent_r.c (__internal_setnetgrent)
30539 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
30540 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
30541 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
30542 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
30543 * nss/nsswitch.h (db_lookup_function): Likewise.
30545 2017-08-13 Florian Weimer <fweimer@redhat.com>
30547 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
30548 Remove internal_function.
30549 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
30550 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
30551 message argument on the stack.
30552 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
30555 2017-08-12 Mike FABIAN <mfabian@redhat.com>
30557 Adapt test case data to the changes in the thousands
30561 * localedata/tst-langinfo.sh: Adapt test case data.
30562 * stdlib/tst-strfmon_l.c: Likewise.
30563 * stdlib/tst-strtod4.c: Likewise.
30564 * stdlib/tst-strtod5i.c: Likewise.
30566 2017-08-11 Florian Weimer <fweimer@redhat.com>
30569 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
30570 Suppress pedantic warning resulting from statement expression.
30571 (__ASSERT_FUNCTION): Add missing __extension__.
30573 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30575 * benchtests/bench-memmove-large.c: Print output in JSON
30577 * benchtests/bench-memmove.c: Likewise.
30579 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
30580 * benchtests/bench-memchr.c (do_one_test): Likewise.
30581 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
30582 * benchtests/bench-memcpy.c (do_one_test): Likewise.
30583 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
30584 * benchtests/bench-memmove.c (do_one_test): Likewise.
30585 * benchtests/bench-memset-large.c (do_one_test): Likewise.
30586 * benchtests/bench-memset.c (do_one_test): Likewise.
30587 * benchtests/bench-string.h (test_init): Remove memsets.
30589 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30592 (Computing the Width of an Integer Data Type): Rename section to
30593 "Width of an Integer Type". Remove inaccurate statement regarding
30594 lack of C language facilities for determining width of integer
30595 types, and reorder content to improve flow and context of
30598 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
30600 * lang.texi (va_copy): Change standard from ISO to C99.
30601 (__va_copy): Add standard and header annotation.
30602 Update description for clarity of origins and current use.
30604 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
30607 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
30608 xssqrtqp requires operands to be in Vector Registers
30609 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
30610 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
30611 (__ieee754_sqrtf128): Likewise.
30613 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
30615 * sysdeps/aarch64/memcmp.S (memcmp):
30616 Rewrite of optimized memcmp.
30618 2017-08-10 Florian Weimer <fweimer@redhat.com>
30620 Introduce ld.so exceptions.
30621 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
30622 (_dl_exception_create, _dl_exception_create_format)
30623 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
30624 (_dl_catch_exception): Declare.
30625 (_dl_catch_error): Update comment.
30626 * elf/dl-error-skeleton.c (struct catch): Replace objname,
30627 errstring, malloced members with exception member.
30628 (_dl_out_of_memory): Remove.
30629 (fatal_error): New function, extracted from _dl_signal_error.
30630 (_dl_signal_exception, _dl_signal_cexception): New functions.
30631 (_dl_signal_error): Call _dl_exception_create to allocate an
30633 (_dl_catch_exception): New function, based on _dl_catch_error.
30634 (_dl_catch_error): Implement using _dl_catch_exception.
30635 * elf/dl-exception.c: New file.
30636 * elf/Makefile (dl-routines): Add dl-exception.
30637 (elide-routines.os): Likewise.
30638 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
30639 _dl_exception_create_format, _dl_exception_free.
30640 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
30641 _dl_signal_exception.
30642 * elf/dl-lookup.c (make_string): Remove.
30643 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
30644 _dl_signal_cexception, _dl_exception_free.
30645 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
30646 _dl_signal_exception.
30647 * elf/dl-sym.c (do_sym): Likewise.
30648 * elf/dl-version.c (make_string): Remove.
30649 (match_symbol): Use _dl_exception_create_format,
30650 _dl_signal_cexception, _dl_exception_free.
30651 (_dl_check_map_versions): Likewise.
30652 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
30653 _dl_catch_exception.
30654 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
30655 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
30656 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
30657 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
30658 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
30659 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
30660 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
30661 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
30663 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
30664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
30666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
30668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
30670 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
30671 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
30672 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
30674 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
30676 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
30678 2017-08-10 Florian Weimer <fweimer@redhat.com>
30680 * inet/net-internal.h (__inet6_scopeid_pton): Remove
30681 attribute_hidden, internal_function.
30682 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
30685 2017-08-10 Florian Weimer <fweimer@redhat.com>
30687 * malloc/malloc.c (get_max_fast): Reimplement as an inline
30688 function which calls __builtin_unreachable.
30690 2017-08-10 Mike FABIAN <mfabian@redhat.com>
30692 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
30693 Indian monetary formatting
30694 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
30697 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
30699 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
30700 Fix typo in comment.
30703 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
30704 PTRACE_SEIZE_DEVEL): Remove.
30705 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
30706 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30707 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30708 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30709 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30711 2017-08-09 Joseph Myers <joseph@codesourcery.com>
30713 * posix/bits/types.h (__qaddr_t): Remove.
30716 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
30717 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30719 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
30720 (ucontext_t): Use __ctx with uc_flags.
30721 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
30722 (__ctxt): Likewise.
30723 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30725 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
30726 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30728 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
30729 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30731 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
30733 (ucontext_t): Use __ctx with uc_flags.
30734 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
30735 (ucontext_t): Use __ctx with uc_flags.
30736 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
30737 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
30738 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
30739 (ucontext_t): Use __ctx with uc_flags.
30740 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
30741 undefine further down.
30742 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
30744 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
30745 undefine further down.
30746 (ucontext_t): Use __ctx with uc_flags.
30747 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
30748 undefine further down.
30749 (ucontext_t): Use __ctx with uc_flags.
30750 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
30751 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
30752 Rename uc_pad to __glibc_reserved1.
30753 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
30754 undefine further down.
30755 (ucontext_t): Use __ctx with uc_flags.
30756 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
30758 (ucontext_t): Use __ctx with uc_flags.
30759 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
30760 __ctx with uc_flags.
30761 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
30762 (ucontext_t): Use __ctx with uc_flags.
30763 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
30764 __ctx with uc_flags.
30766 2017-08-09 Florian Weimer <fweimer@redhat.com>
30769 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
30770 before early return.
30772 2017-08-09 Andreas Schwab <schwab@suse.de>
30775 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
30779 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
30780 tst-compat-forwarder.
30781 (modules-names): Add tst-compat-forwarder-mod.
30782 ($(objpfx)tst-compat-forwarder): Depend on
30783 $(objpfx)tst-compat-forwarder-mod.so.
30784 * nptl/tst-compat-forwarder.c: New file.
30785 * nptl/tst-compat-forwarder-mod.c: New file.
30787 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
30789 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
30792 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
30793 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30795 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
30797 (__libc_ifunc_impl_list): Add __memcpy_falkor.
30798 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
30799 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
30800 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30802 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
30805 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30808 * manual/setjmp.texi (getcontex): Document uc_stack value
30809 compatibility differences.
30811 2017-08-08 Joseph Myers <joseph@codesourcery.com>
30813 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
30814 (old_malloc_hook): Likewise.
30815 (old_memalign_hook): Likewise.
30816 (old_realloc_hook): Likewise.
30817 (struct hdr): Likewise.
30819 (freehook): Likewise.
30820 (mallochook): Likewise.
30821 (memalignhook): Likewise.
30822 (reallochook): Likewise.
30823 (mprobe): Likewise.
30824 * malloc/mtrace.c (mallwatch): Likewise.
30825 (tr_old_free_hook): Likewise.
30826 (tr_old_malloc_hook): Likewise.
30827 (tr_old_realloc_hook): Likewise.
30828 (tr_old_memalign_hook): Likewise.
30829 (tr_where): Likewise.
30830 (lock_and_info): Likewise.
30831 (tr_freehook): Likewise.
30832 (tr_mallochook): Likewise.
30833 (tr_reallochook): Likewise.
30834 (tr_memalignhook): Likewise.
30835 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
30836 * misc/mmap.c (__mmap): Likewise.
30837 * misc/mmap64.c (__mmap64): Likewise.
30838 * misc/mprotect.c (__mprotect): Likewise.
30839 * misc/msync.c (msync): Likewise.
30840 * misc/munmap.c (__munmap): Likewise.
30841 * posix/posix_madvise.c (posix_madvise): Likewise.
30842 * socket/send.c (__send): Likewise.
30843 * socket/sendto.c (__sendto): Likewise.
30844 * socket/setsockopt.c (__setsockopt): Likewise.
30845 * string/memcmp.c (__ptr_t): Remove macro.
30846 (MEMCMP): Use void * instead of ptr_t.
30847 * string/memrchr.c (__ptr_t): Remove macro.
30848 (__memrchr): Use void * instead of ptr_t.
30849 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
30850 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30851 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30852 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
30853 * sysdeps/mach/msync.c (msync): Likewise.
30854 * sysdeps/mach/munmap.c (__munmap): Likewise.
30855 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
30857 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
30858 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
30859 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
30860 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
30861 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
30862 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30863 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
30864 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
30866 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30867 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
30868 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
30869 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
30870 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
30871 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
30872 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
30873 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
30874 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
30876 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
30877 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
30878 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
30879 (MEMCMP): Use void * instead of ptr_t.
30880 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
30881 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
30883 2017-08-08 Florian Weimer <fweimer@redhat.com>
30885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
30888 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
30891 * csu/libc-tls.c: Include <startup.h> first.
30892 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
30893 * elf/dl-tunables.c: Include <startup.h> first.
30894 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
30895 * sysdeps/generic/startup.h: New file.
30896 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
30897 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
30898 (I386_USE_SYSENTER): New. Defined to 0.
30900 2017-08-08 Andreas Schwab <schwab@suse.de>
30903 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
30904 * nptl/pt-system.c (system): Likewise.
30906 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30909 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
30911 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
30912 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
30913 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
30914 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
30915 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
30916 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
30917 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
30919 2017-08-07 Joseph Myers <joseph@codesourcery.com>
30922 * bits/sigaction.h (struct sigaction): Define sa_handler and
30923 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
30924 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30925 [__USE_XOPEN_EXTENDED].
30926 (SA_RESTART): Likewise.
30927 (SA_NODEFER): Likewise.
30928 (SA_RESETHAND): Likewise.
30929 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
30930 (struct sigaction): Define sa_handler and sa_sigaction using union
30931 also for [__USE_XOPEN_EXTENDED].
30932 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30933 [__USE_XOPEN_EXTENDED].
30934 (SA_RESTART): Likewise.
30935 (SA_NODEFER): Likewise.
30936 (SA_RESETHAND): Likewise.
30937 * sysdeps/unix/sysv/linux/bits/sigaction.h
30938 (struct sigaction): Define sa_handler and sa_sigaction using union
30939 also for [__USE_XOPEN_EXTENDED].
30940 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30941 [__USE_XOPEN_EXTENDED].
30942 (SA_RESTART): Likewise.
30943 (SA_NODEFER): Likewise.
30944 (SA_RESETHAND): Likewise.
30945 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
30946 (struct sigaction): Define sa_handler and sa_sigaction using union
30947 also for [__USE_XOPEN_EXTENDED].
30948 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30949 [__USE_XOPEN_EXTENDED].
30950 (SA_RESTART): Likewise.
30951 (SA_NODEFER): Likewise.
30952 (SA_RESETHAND): Likewise.
30953 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
30954 (struct sigaction): Define sa_handler and sa_sigaction using union
30955 also for [__USE_XOPEN_EXTENDED].
30956 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30957 [__USE_XOPEN_EXTENDED].
30958 (SA_RESTART): Likewise.
30959 (SA_NODEFER): Likewise.
30960 (SA_RESETHAND): Likewise.
30961 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30962 (struct sigaction): Define sa_handler and sa_sigaction using union
30963 also for [__USE_XOPEN_EXTENDED].
30964 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30965 [__USE_XOPEN_EXTENDED].
30966 (SA_RESTART): Likewise.
30967 (SA_NODEFER): Likewise.
30968 (SA_RESETHAND): Likewise.
30969 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30970 (struct sigaction): Define sa_handler and sa_sigaction using union
30971 also for [__USE_XOPEN_EXTENDED].
30972 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30973 [__USE_XOPEN_EXTENDED].
30974 (SA_RESTART): Likewise.
30975 (SA_NODEFER): Likewise.
30976 (SA_RESETHAND): Likewise.
30977 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30978 (struct sigaction): Define sa_handler and sa_sigaction using union
30979 also for [__USE_XOPEN_EXTENDED].
30980 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30981 [__USE_XOPEN_EXTENDED].
30982 (SA_RESTART): Likewise.
30983 (SA_NODEFER): Likewise. Define directly rather than as alias.
30984 (SA_RESETHAND): Likewise.
30985 (SA_INTERRUPT): Define only for [__USE_MISC].
30986 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
30987 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
30989 (SA_STACK): Define only for [__USE_MISC].
30990 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
30991 (struct sigaction): Define sa_handler and sa_sigaction using union
30992 also for [__USE_XOPEN_EXTENDED].
30993 (SA_ONSTACK): Change [__USE_UNIX98] condition to
30994 [__USE_XOPEN_EXTENDED].
30995 (SA_RESTART): Likewise.
30996 (SA_NODEFER): Likewise.
30997 (SA_RESETHAND): Likewise.
30998 (SA_NOPTRACE): Define only for [__USE_MISC].
31000 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
31001 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
31002 (struct catalog_info): Likewise.
31003 * inet/htontest.c (lo): Likewise.
31005 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31006 * inet/inet_net.c (inet_network): Likewise.
31007 * inet/inet_netof.c (inet_netof): Likewise.
31008 * inet/rcmd.c (__ivaliduser): Likewise.
31009 (iruserok): Likewise.
31010 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
31011 * locale/programs/locale-spec.c (locale_special): Likewise.
31012 * nis/nis_findserv.c (struct findserv_req): Likewise.
31013 (__nis_findfastest_with_timeout): Likewise.
31014 * nss/test-netdb.c (test_network): Likewise.
31015 * resolv/inet_neta.c (inet_neta): Likewise.
31016 * resolv/ns_date.c (ns_datetosecs): Likewise.
31017 (SECS_PER_DAY): Likewise.
31018 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
31020 * resolv/res_comp.c (__putlong): Likewise.
31021 (__putshort): Likewise.
31022 (_getlong): Likewise.
31023 (_getshort): Likewise.
31024 * resolv/res_debug.c (p_time): Likewise.
31025 (precsize_ntoa): Likewise.
31026 (precsize_aton): Likewise.
31027 (latlon2ul): Likewise.
31028 (loc_aton): Likewise.
31029 (loc_ntoa): Likewise.
31030 * resolv/res_hconf.c (struct netaddr): Likewise.
31031 (_res_hconf_reorder_addrs): Likewise.
31032 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
31033 (clnttcp_control): Likewise.
31034 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31035 (clntudp_control): Likewise.
31036 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
31037 (clntunix_control): Likewise.
31038 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
31039 * sunrpc/rpc/auth.h (union des_block): Likewise.
31040 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
31041 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
31042 (xdrrec_create): Likewise.
31043 (xdrrec_endofrecord): Likewise.
31044 (flush_out): Likewise.
31045 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
31046 (xdrstdio_putlong): Likewise.
31047 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
31050 * misc/sys/cdefs.h (__long_double_t): Remove.
31051 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
31052 instead of __long_double_t,
31053 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
31055 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
31057 * benchtests/scripts/compare_strings.py: Avoid display error when
31058 running on a text terminal.
31060 * benchtests/scripts/compare_strings.py (main): Add an
31061 optional -base option.
31062 (process_results): New argument base_func.
31064 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
31066 * benchtests/bench-memcpy-large.c (test_name): Likewise.
31067 * benchtests/bench-memcpy-random.c (test_name): Likewise.
31069 2017-08-07 Andreas Schwab <schwab@suse.de>
31071 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
31072 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31073 * intl/Makefile ($(objpfx)tst-gettext.out)
31074 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
31075 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
31076 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31077 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31078 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
31079 * posix/Makefile ($(objpfx)globtest.out)
31080 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
31081 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
31082 ($(objpfx)tst-printf.out): Likewise.
31083 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
31084 ($(objpfx)tst-setcontext3.out): Likewise.
31086 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
31088 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31089 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
31090 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
31091 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
31092 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
31094 (CFLAGS-doasin-fma.c): New.
31095 (CFLAGS-dosincos-fma.c): Likewise.
31096 (CFLAGS-e_asin-fma.c): Likewise.
31097 (CFLAGS-e_atan2-fma.c): Likewise.
31098 (CFLAGS-e_exp-fma.c): Likewise.
31099 (CFLAGS-e_log-fma.c): Likewise.
31100 (CFLAGS-e_pow-fma.c): Likewise.
31101 (CFLAGS-halfulp-fma.c): Likewise.
31102 (CFLAGS-mpa-fma.c): Likewise.
31103 (CFLAGS-mpatan-fma.c): Likewise.
31104 (CFLAGS-mpatan2-fma.c): Likewise.
31105 (CFLAGS-mpexp-fma.c): Likewise.
31106 (CFLAGS-mplog-fma.c): Likewise.
31107 (CFLAGS-mpsqrt-fma.c): Likewise.
31108 (CFLAGS-mptan-fma.c): Likewise.
31109 (CFLAGS-s_atan-fma.c): Likewise.
31110 (CFLAGS-sincos32-fma.c): Likewise.
31111 (CFLAGS-slowexp-fma.c): Likewise.
31112 (CFLAGS-slowpow-fma.c): Likewise.
31113 (CFLAGS-s_sin-fma.c): Likewise.
31114 (CFLAGS-s_tan-fma.c): Likewise.
31115 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
31116 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
31117 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
31118 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
31119 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
31120 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
31121 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
31122 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
31123 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
31124 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
31125 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
31126 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
31127 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
31128 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
31129 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
31130 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
31131 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
31132 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
31133 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
31134 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
31135 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
31136 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
31137 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
31138 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
31139 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31140 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31141 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31142 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31143 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31144 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31145 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31147 2017-08-04 Joseph Myers <joseph@codesourcery.com>
31149 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
31150 (min_of_type_f): New macro.
31151 (min_of_type_): Likewise.
31152 (min_of_type_l): Likewise.
31153 (min_of_type_f128): Likewise.
31154 (min_of_type): Define using __MATH_TG and taking an expression
31156 (math_check_force_underflow): Pass expression instead of type to
31158 (math_check_force_underflow_nonneg): Likewise.
31160 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31162 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
31163 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
31164 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
31166 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31168 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31169 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
31170 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
31171 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
31172 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
31173 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
31174 memcpy_chk-nonshared, mempcpy_chk-nonshared,
31175 memmove_chk-nonshared and memset_chk-nonshared
31176 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
31177 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
31178 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
31179 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
31180 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
31181 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
31182 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
31183 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
31184 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
31185 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
31186 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
31187 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
31188 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
31189 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
31190 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
31191 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
31192 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
31193 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
31194 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
31195 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
31196 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
31197 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
31198 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
31199 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
31200 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
31201 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
31202 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
31203 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
31204 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
31205 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
31206 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
31207 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
31208 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
31209 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31210 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
31211 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
31212 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
31213 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
31214 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
31215 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
31216 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
31217 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
31218 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
31219 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
31220 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
31221 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
31222 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
31223 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
31224 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
31225 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
31226 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
31227 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
31228 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
31229 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
31230 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
31231 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
31232 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
31233 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
31234 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
31235 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
31236 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
31237 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
31238 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
31239 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
31240 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
31241 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
31242 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
31243 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
31244 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
31245 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
31246 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
31247 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31248 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31249 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31250 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31251 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31252 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31253 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31254 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31255 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31256 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31257 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31258 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31259 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31260 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31261 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31262 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31263 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31264 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31265 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31266 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31267 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31268 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31269 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31270 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31271 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31272 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31273 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31274 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31275 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31276 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31277 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31278 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31279 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31280 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31281 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31282 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31283 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31285 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31287 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
31288 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
31289 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
31290 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
31291 svml_d_log2_core-sse2, svml_d_log4_core-sse,
31292 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
31293 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
31294 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
31295 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
31296 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
31297 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
31298 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
31299 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
31300 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
31301 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
31302 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
31303 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
31304 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
31305 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
31306 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
31307 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
31308 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
31309 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
31310 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
31311 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
31312 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
31313 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
31314 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
31315 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
31316 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
31317 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
31318 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
31319 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
31320 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
31321 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
31322 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
31323 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
31324 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
31325 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
31326 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
31327 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
31328 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
31329 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
31330 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
31331 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
31332 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
31333 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
31334 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
31335 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
31336 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
31337 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
31338 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
31339 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
31340 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
31341 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
31342 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
31343 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
31344 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
31345 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
31347 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
31348 Don't include <sysdep.h> nor <init-arch.h>.
31349 (_ZGVbN2v_cos): Removed.
31350 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
31352 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
31353 Don't include <sysdep.h> nor <init-arch.h>.
31354 (_ZGVdN4v_cos): Removed.
31355 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
31357 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
31358 Don't include <sysdep.h> nor <init-arch.h>.
31359 (_ZGVeN8v_cos): Removed.
31360 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
31362 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
31363 Don't include <sysdep.h> nor <init-arch.h>.
31364 (_ZGVbN2v_exp): Removed.
31365 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
31367 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
31368 Don't include <sysdep.h> nor <init-arch.h>.
31369 (_ZGVdN4v_exp): Removed.
31370 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
31372 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
31373 Don't include <sysdep.h> nor <init-arch.h>.
31374 (_ZGVeN8v_exp): Removed.
31375 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
31377 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
31378 Don't include <sysdep.h> nor <init-arch.h>.
31379 (_ZGVbN2v_log): Removed.
31380 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
31382 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
31383 Don't include <sysdep.h> nor <init-arch.h>.
31384 (_ZGVdN4v_log): Removed.
31385 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
31387 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
31388 Don't include <sysdep.h> nor <init-arch.h>.
31389 (_ZGVeN8v_log): Removed.
31390 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
31392 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
31393 Don't include <sysdep.h> nor <init-arch.h>.
31394 (_ZGVbN2vv_pow): Removed.
31395 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
31397 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
31398 Don't include <sysdep.h> nor <init-arch.h>.
31399 (_ZGVdN4vv_pow): Removed.
31400 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
31402 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
31403 Don't include <sysdep.h> nor <init-arch.h>.
31404 (_ZGVeN8vv_pow): Removed.
31405 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
31407 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
31408 Don't include <sysdep.h> nor <init-arch.h>.
31409 (_ZGVbN2v_sin): Removed.
31410 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
31412 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
31413 Don't include <sysdep.h> nor <init-arch.h>.
31414 (_ZGVbN4v_sin): Removed.
31415 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
31417 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
31418 Don't include <sysdep.h> nor <init-arch.h>.
31419 (_ZGVbN8v_sin): Removed.
31420 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
31422 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
31423 Don't include <sysdep.h> nor <init-arch.h>.
31424 (_ZGVbN2vvv_sincos): Removed.
31425 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
31427 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
31428 Don't include <sysdep.h> nor <init-arch.h>.
31429 (_ZGVdN4vvv_sincos): Removed.
31430 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
31432 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
31433 Don't include <sysdep.h> nor <init-arch.h>.
31434 (_ZGVeN8vvv_sincos): Removed.
31435 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
31437 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
31438 Don't include <sysdep.h> nor <init-arch.h>.
31439 (_ZGVeN16v_cosf): Removed.
31440 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
31442 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
31443 Don't include <sysdep.h> nor <init-arch.h>.
31444 (_ZGVbN4v_cosf): Removed.
31445 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
31447 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
31448 Don't include <sysdep.h> nor <init-arch.h>.
31449 (_ZGVdN8v_cosf): Removed.
31450 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
31452 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
31453 Don't include <sysdep.h> nor <init-arch.h>.
31454 (_ZGVeN16v_expf): Removed.
31455 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
31457 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
31458 Don't include <sysdep.h> nor <init-arch.h>.
31459 (_ZGVbN4v_expf): Removed.
31460 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
31462 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
31463 Don't include <sysdep.h> nor <init-arch.h>.
31464 (_ZGVdN8v_expf): Removed.
31465 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
31467 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
31468 Don't include <sysdep.h> nor <init-arch.h>.
31469 (_ZGVeN16v_logf): Removed.
31470 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
31472 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
31473 Don't include <sysdep.h> nor <init-arch.h>.
31474 (_ZGVbN4v_logf): Removed.
31475 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
31477 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
31478 Don't include <sysdep.h> nor <init-arch.h>.
31479 (_ZGVdN8v_logf): Removed.
31480 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
31482 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
31483 Don't include <sysdep.h> nor <init-arch.h>.
31484 (_ZGVeN16vv_powf): Removed.
31485 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
31487 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
31488 Don't include <sysdep.h> nor <init-arch.h>.
31489 (_ZGVbN4vv_powf): Removed.
31490 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
31492 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
31493 Don't include <sysdep.h> nor <init-arch.h>.
31494 (_ZGVdN8vv_powf): Removed.
31495 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
31497 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
31498 Don't include <sysdep.h> nor <init-arch.h>.
31499 (_ZGVeN16vvv_sincosf): Removed.
31500 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
31502 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
31503 Don't include <sysdep.h> nor <init-arch.h>.
31504 (_ZGVbN4vvv_sincosf): Removed.
31505 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
31507 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
31508 Don't include <sysdep.h> nor <init-arch.h>.
31509 (_ZGVdN8vvv_sincosf): Removed.
31510 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
31512 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
31513 Don't include <sysdep.h> nor <init-arch.h>.
31514 (_ZGVeN16v_sinf): Removed.
31515 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
31517 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
31518 Don't include <sysdep.h> nor <init-arch.h>.
31519 (_ZGVbN4v_sinf): Removed.
31520 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
31522 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
31523 Don't include <sysdep.h> nor <init-arch.h>.
31524 (_ZGVdN8v_sinf): Removed.
31526 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31528 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31529 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
31530 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
31531 s_rint-sse4_1 and s_rintf-sse4_1.
31532 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
31533 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
31534 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
31535 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
31536 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
31537 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
31538 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
31539 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
31540 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
31541 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
31542 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
31543 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31545 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
31546 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
31547 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31548 (__ceilf): Removed.
31549 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
31550 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
31551 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31552 (__floor): Removed.
31553 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
31554 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
31555 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31556 (__floorf): Removed.
31557 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
31558 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
31559 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31560 (__nearbyint): Removed.
31561 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
31562 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
31563 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31564 (__nearbyintf): Removed.
31565 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
31566 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
31567 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31569 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
31570 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
31571 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
31572 (__rintf): Removed.
31574 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31576 * sysdeps/i386/start.S (_start): Check Check PIC instead of
31577 SHARED. Avoid dynamic relocation against main in static PIE.
31579 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31582 * elf/Makefile (CFLAGS-tst-prelink.c): New.
31583 (LDFLAGS-tst-prelink): Likewise.
31585 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31587 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
31588 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
31589 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
31590 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
31591 (INTERNAL_SYSCALL_NCS): Likewise.
31592 (LOADARGS_1): Likewise.
31593 (LOADARGS_5): Likewise.
31594 (RESTOREARGS_1): Likewise.
31595 (RESTOREARGS_5): Likewise.
31597 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31599 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
31600 (MEMPCPY_SYMBOL): Likewise.
31601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31602 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
31603 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
31605 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31606 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
31608 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
31609 (__hidden_ver1): Don't use in libc.a.
31610 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
31611 (__mempcpy): Don't create a weak alias in libc.a.
31612 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
31614 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
31615 (__hidden_ver1): Don't use in libc.a.
31617 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31619 * config.make.in (have-insert): New.
31620 * configure.ac (libc_cv_insert): New. Set to yes if linker
31621 supports INSERT in linker script.
31622 (AC_SUBST(libc_cv_insert): New.
31623 * configure: Regenerated.
31624 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
31625 if $(have-insert) == yes.
31627 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31629 * elf/Makefile (tests): Add vismain only if
31630 $(have-protected-data) == yes.
31631 (tests-pie): Likewise.
31633 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31636 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
31637 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
31639 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
31642 * sysdeps/i386/i586/memset.S
31643 (__memset_zero_constant_len_parameter): Removed.
31644 * sysdeps/i386/i686/memset.S
31645 (__memset_zero_constant_len_parameter): Likewise.
31646 * sysdeps/i386/i686/multiarch/memset_chk.S
31647 (__memset_zero_constant_len_parameter): Likewise.
31648 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
31651 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31653 * stdlib/getentropy.c (getentropy): Change return type to int.
31655 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
31657 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
31659 2017-08-03 Joseph Myers <joseph@codesourcery.com>
31661 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
31663 * math/s_nexttowardf.c (__nexttowardf): Likewise.
31664 * sysdeps/generic/math_private.h (ieee_double_shape_type):
31666 (ieee_float_shape_type): Likewise.
31667 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
31668 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
31669 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31670 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31671 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31672 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
31673 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
31674 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31675 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
31677 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31678 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31679 (__ieee754_yn): Likewise.
31680 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31681 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31682 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
31684 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31685 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
31686 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
31687 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
31688 (__erfc): Likewise.
31689 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
31690 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
31691 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
31692 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
31693 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
31694 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
31696 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31697 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
31698 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31699 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
31700 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31701 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
31702 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
31703 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
31704 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
31705 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
31706 (__issignaling): Likewise.
31707 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
31708 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
31709 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31711 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31712 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
31713 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
31714 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
31716 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
31718 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
31719 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
31720 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
31721 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31722 (__erfcf): Likewise.
31723 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31724 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31725 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
31726 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
31728 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
31729 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
31731 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31732 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
31733 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31734 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
31735 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
31736 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31737 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
31738 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
31740 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
31742 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31744 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
31745 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31747 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
31749 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31750 (__ieee754_ynl): Likewise.
31751 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
31752 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
31754 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
31756 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31757 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
31758 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31760 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31761 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
31762 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
31763 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
31764 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
31765 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31766 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
31767 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
31769 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
31770 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
31771 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
31773 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
31774 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
31775 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31776 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
31777 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
31778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31780 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31782 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31784 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31786 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
31787 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31788 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31789 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
31790 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31791 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
31792 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
31794 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31796 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31797 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31799 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
31800 (__ieee754_remainderl): Likewise.
31801 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31802 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31803 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31804 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31806 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31807 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31809 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31810 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
31811 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31812 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31813 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31814 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31816 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
31817 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
31818 (__ieee754_y0l): Likewise.
31821 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31822 (__ieee754_y1l): Likewise.
31825 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31826 (__ieee754_ynl): Likewise.
31827 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
31828 (__ieee754_lgammal_r): Likewise.
31829 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
31831 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31832 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
31833 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31834 (__erfcl): Likewise.
31835 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
31836 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
31838 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
31839 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
31840 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31841 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
31842 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
31843 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31844 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31846 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
31847 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31848 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
31849 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
31850 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31852 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
31853 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
31855 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
31856 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
31857 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
31858 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31859 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
31861 2017-08-03 Florian Weimer <fweimer@redhat.com>
31864 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
31865 on memory allocation failure.
31867 2017-08-03 Alan Modra <amodra@gmail.com>
31869 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
31870 tst-tlsopt-powerpc.c with function name change and no test harness.
31871 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
31872 Call tls_get_addr_opt_test.
31873 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
31874 (modules-names): Add mod-tlsopt-powerpc.
31875 (mod-tlsopt-powerpc.so-no-z-defs): Define.
31876 (tst-tlsopt-powerpc): Depend on .so.
31877 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
31878 define. Expand use in TLS_GD and TLS_LD.
31880 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31882 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
31884 * sysdeps/posix/shm_open.c: Include <pthread.h>.
31886 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31889 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
31890 comparing size with that of double.
31891 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31892 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31893 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31894 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31895 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31896 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
31897 unsigned __int128 types.
31899 2017-08-02 Steve Ellcey <sellcey@cavium.com>
31901 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
31902 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
31903 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
31904 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
31905 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
31907 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31909 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
31911 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31913 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
31915 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31916 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31917 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31918 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31919 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31920 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31921 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31923 2017-08-02 Joseph Myers <joseph@codesourcery.com>
31926 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
31927 bit-field expressions passed to sizeof or typeof.
31928 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31929 (__TGMATH_F128): Likewise.
31930 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31931 (__TGMATH_CF128): Likewise.
31932 (__TGMATH_UNARY_REAL_ONLY): Likewise.
31933 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
31934 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
31935 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
31936 (__TGMATH_BINARY_REAL_ONLY): Likewise.
31937 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
31938 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
31939 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
31940 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
31941 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
31942 (__TGMATH_UNARY_REAL_IMAG): Likewise.
31943 (__TGMATH_UNARY_IMAG): Likewise.
31944 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
31945 (__TGMATH_BINARY_REAL_IMAG): Likewise.
31946 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
31948 (define_vars_for_type): Handle bit_field type specially.
31949 (Tests.__init__): Declare structure with bit-field element.
31951 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
31954 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
31955 (MEMCPY_CHK): Define only if SHARED is defined.
31956 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
31958 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
31961 See ChangeLog.18 for earlier changes.